]> git.saurik.com Git - wxWidgets.git/blob - configure
added wxStreamBuffer::Truncate() (patch 1687081)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 CXXWARNINGS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
904 COND_TOOLKIT_
905 COND_TOOLKIT_COCOA
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB
909 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_ODBC_1
951 COND_USE_OPENGL_1
952 COND_USE_PCH_1
953 COND_USE_PLUGINS_0
954 COND_USE_RTTI_0
955 COND_USE_RTTI_1
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSION_0
960 COND_USE_SOVERSOLARIS_1
961 COND_USE_STC_1
962 COND_USE_THREADS_0
963 COND_USE_THREADS_1
964 COND_USE_XRC_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
967 COND_WXUNIV_0
968 COND_WXUNIV_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
976 SHARED
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
979 USE_GUI
980 AFMINSTALL
981 WIN32INSTALL
982 TOOLKIT
983 TOOLKIT_DIR
984 TOOLCHAIN_NAME
985 TOOLCHAIN_FULLNAME
986 cross_compiling
987 WIDGET_SET
988 WX_RELEASE
989 WX_VERSION
990 WX_SUBVERSION
991 WX_CHARTYPE
992 WX_DEBUGTYPE
993 WXCONFIG_CPPFLAGS
994 WXCONFIG_CFLAGS
995 WXCONFIG_CXXFLAGS
996 WXCONFIG_LIBS
997 WXCONFIG_RPATH
998 WXCONFIG_LDFLAGS_GUI
999 WXCONFIG_RESFLAGS
1000 EXE_LINKER
1001 GUIDIST
1002 DISTDIR
1003 SAMPLES_SUBDIRS
1004 LDFLAGS_GL
1005 OPENGL_LIBS
1006 DMALLOC_LIBS
1007 WX_VERSION_TAG
1008 RESCOMP
1009 RESFLAGS
1010 RESPROGRAMOBJ
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1013 LIBWXMACRES
1014 POSTLINK_COMMAND
1015 MACSETFILE
1016 GCC
1017 CPPUNIT_CONFIG
1018 LIBOBJS
1019 LTLIBOBJS'
1020 ac_subst_files=''
1021 ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 CXX
1031 CXXFLAGS
1032 CCC
1033 PKG_CONFIG
1034 DIRECTFB_CFLAGS
1035 DIRECTFB_LIBS
1036 XMKMF
1037 PANGOX_CFLAGS
1038 PANGOX_LIBS
1039 PANGOFT2_CFLAGS
1040 PANGOFT2_LIBS
1041 PANGOXFT_CFLAGS
1042 PANGOXFT_LIBS
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1045 GNOMEVFS_CFLAGS
1046 GNOMEVFS_LIBS
1047 HILDON_CFLAGS
1048 HILDON_LIBS
1049 CAIRO_CFLAGS
1050 CAIRO_LIBS
1051 GST_CFLAGS
1052 GST_LIBS'
1053 ac_subdirs_all='src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1638 --enable-gpe use GNOME PDA Environment features if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL for containers
1643 --enable-extended_rtti use extended RTTI (XTI)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-intl use internationalization system
1661 --enable-config use wxConfig (and derived) classes
1662 --enable-protocols use wxProtocol and derived classes
1663 --enable-ftp use wxFTP (requires wxProtocol
1664 --enable-http use wxHTTP (requires wxProtocol
1665 --enable-fileproto use wxFileProto class (requires wxProtocol
1666 --enable-sockets use socket/network classes
1667 --enable-ole use OLE classes (Win32 only)
1668 --enable-dataobj use data object classes
1669 --enable-ipc use interprocess communication (wxSocket etc.)
1670 --enable-apple_ieee use the Apple IEEE codec
1671 --enable-arcstream use wxArchive streams
1672 --enable-backtrace use wxStackWalker class for getting backtraces
1673 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1674 --enable-cmdline use wxCmdLineParser class
1675 --enable-datetime use wxDateTime class
1676 --enable-debugreport use wxDebugReport class
1677 --enable-dialupman use dialup network classes
1678 --enable-dynlib use wxLibrary class for DLL loading
1679 --enable-dynamicloader use (new) wxDynamicLibrary class
1680 --enable-exceptions build exception-safe library
1681 --enable-ffile use wxFFile class
1682 --enable-file use wxFile class
1683 --enable-filesystem use virtual file systems classes
1684 --enable-fontmap use font encodings conversion classes
1685 --enable-fs_archive use virtual archive filesystems
1686 --enable-fs_inet use virtual HTTP/FTP filesystems
1687 --enable-fs_zip now replaced by fs_archive
1688 --enable-geometry use geometry class
1689 --enable-log use logging system
1690 --enable-longlong use wxLongLong class
1691 --enable-mimetype use wxMimeTypesManager
1692 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1693 --enable-utf8 use UTF-8 representation for strings (Unix only)
1694 --enable-snglinst use wxSingleInstanceChecker class
1695 --enable-std_iostreams use standard C++ stream classes
1696 --enable-std_string use standard C++ string classes
1697 --enable-stdpaths use wxStandardPaths class
1698 --enable-stopwatch use wxStopWatch class
1699 --enable-streams use wxStream etc classes
1700 --enable-sysoptions use wxSystemOptions
1701 --enable-tarstream use wxTar streams
1702 --enable-textbuf use wxTextBuffer class
1703 --enable-textfile use wxTextFile class
1704 --enable-timer use wxTimer class
1705 --enable-unicode compile wxString with Unicode support
1706 --enable-sound use wxSound class
1707 --enable-mediactrl use wxMediaCtrl class
1708 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1709 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1710 --enable-zipstream use wxZip streams
1711 --enable-url use wxURL class
1712 --enable-variant use wxVariant class
1713 --enable-protocol use wxProtocol class
1714 --enable-protocol-http HTTP support in wxProtocol
1715 --enable-protocol-ftp FTP support in wxProtocol
1716 --enable-protocol-file FILE support in wxProtocol
1717 --enable-threads use threads
1718 --enable-docview use document view architecture
1719 --enable-help use help subsystem
1720 --enable-mshtmlhelp use MS HTML Help (win32)
1721 --enable-html use wxHTML sub-library
1722 --enable-htmlhelp use wxHTML-based help
1723 --enable-xrc use XRC resources sub-library
1724 --enable-aui use AUI docking library
1725 --enable-stc use wxStyledTextCtrl library
1726 --enable-constraints use layout-constraints system
1727 --enable-printarch use printing architecture
1728 --enable-mdi use multiple document interface architecture
1729 --enable-mdidoc use docview architecture with MDI
1730 --enable-loggui use standard GUI logger
1731 --enable-logwin use wxLogWindow
1732 --enable-logdialog use wxLogDialog
1733 --enable-webkit use wxWebKitCtrl (Mac)
1734 --enable-richtext use wxRichTextCtrl
1735 --enable-graphics_ctx use graphics context 2D drawing API
1736 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1737 --enable-clipboard use wxClipboard class
1738 --enable-dnd use Drag'n'Drop classes
1739 --enable-metafile use win32 metafiles
1740 --enable-controls use all usual controls
1741 --enable-accel use accelerators
1742 --enable-animatectrl use wxAnimationCtrl class
1743 --enable-button use wxButton class
1744 --enable-bmpbutton use wxBitmapButton class
1745 --enable-bmpcombobox use wxBitmapComboBox class
1746 --enable-calendar use wxCalendarCtrl class
1747 --enable-caret use wxCaret class
1748 --enable-checkbox use wxCheckBox class
1749 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1750 --enable-choice use wxChoice class
1751 --enable-choicebook use wxChoicebook class
1752 --enable-collpane use wxCollapsiblePane class
1753 --enable-colourpicker use wxColourPickerCtrl class
1754 --enable-combobox use wxComboBox class
1755 --enable-comboctrl use wxComboCtrl class
1756 --enable-datepick use wxDatePickerCtrl class
1757 --enable-dirpicker use wxDirPickerCtrl class
1758 --enable-display use wxDisplay class
1759 --enable-detect_sm use code to detect X11 session manager
1760 --enable-filepicker use wxFilePickerCtrl class
1761 --enable-fontpicker use wxFontPickerCtrl class
1762 --enable-gauge use wxGauge class
1763 --enable-grid use wxGrid class
1764 --enable-dataviewctrl use wxDataViewCtrl class
1765 --enable-hyperlink use wxHyperlinkCtrl class
1766 --enable-imaglist use wxImageList class
1767 --enable-listbook use wxListbook class
1768 --enable-listbox use wxListBox class
1769 --enable-listctrl use wxListCtrl class
1770 --enable-notebook use wxNotebook class
1771 --enable-odcombobox use wxOwnerDrawnComboBox class
1772 --enable-radiobox use wxRadioBox class
1773 --enable-radiobtn use wxRadioButton class
1774 --enable-sash use wxSashWindow class
1775 --enable-scrollbar use wxScrollBar class and scrollable windows
1776 --enable-searchctrl use wxSearchCtrl class
1777 --enable-slider use wxSlider class
1778 --enable-spinbtn use wxSpinButton class
1779 --enable-spinctrl use wxSpinCtrl class
1780 --enable-splitter use wxSplitterWindow class
1781 --enable-statbmp use wxStaticBitmap class
1782 --enable-statbox use wxStaticBox class
1783 --enable-statline use wxStaticLine class
1784 --enable-stattext use wxStaticText class
1785 --enable-statusbar use wxStatusBar class
1786 --enable-tabdialog use wxTabControl class
1787 --enable-textctrl use wxTextCtrl class
1788 --enable-togglebtn use wxToggleButton class
1789 --enable-toolbar use wxToolBar class
1790 --enable-tbarnative use native wxToolBar class
1791 --enable-treebook use wxTreebook class
1792 --enable-toolbook use wxToolbook class
1793 --enable-treectrl use wxTreeCtrl class
1794 --enable-tipwindow use wxTipWindow class
1795 --enable-popupwin use wxPopUpWindow class
1796 --enable-commondlg use all common dialogs
1797 --enable-aboutdlg use wxAboutBox
1798 --enable-choicedlg use wxChoiceDialog
1799 --enable-coldlg use wxColourDialog
1800 --enable-filedlg use wxFileDialog
1801 --enable-finddlg use wxFindReplaceDialog
1802 --enable-fontdlg use wxFontDialog
1803 --enable-dirdlg use wxDirDialog
1804 --enable-msgdlg use wxMessageDialog
1805 --enable-numberdlg use wxNumberEntryDialog
1806 --enable-splash use wxSplashScreen
1807 --enable-textdlg use wxTextDialog
1808 --enable-tipdlg use startup tips
1809 --enable-progressdlg use wxProgressDialog
1810 --enable-wizarddlg use wxWizard
1811 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1812 --enable-miniframe use wxMiniFrame class
1813 --enable-tooltips use wxToolTip class
1814 --enable-splines use spline drawing code
1815 --enable-mousewheel use mousewheel
1816 --enable-validators use wxValidator and derived classes
1817 --enable-busyinfo use wxBusyInfo
1818 --enable-joystick use wxJoystick
1819 --enable-metafiles use wxMetaFile (Win32 only)
1820 --enable-dragimage use wxDragImage
1821 --enable-accessibility enable accessibility support
1822 --enable-dccache cache temporary wxDC objects (Win32 only)
1823 --enable-palette use wxPalette class
1824 --enable-image use wxImage class
1825 --enable-gif use gif images (GIF file format)
1826 --enable-pcx use pcx images (PCX file format)
1827 --enable-tga use tga images (TGA file format)
1828 --enable-iff use iff images (IFF file format)
1829 --enable-pnm use pnm images (PNM file format)
1830 --enable-xpm use xpm images (XPM file format)
1831 --enable-icocur use Windows ICO and CUR formats
1832 --enable-official_build official build of wxWidgets (win32 DLL only)
1833 --enable-vendor=VENDOR vendor name (win32 DLL only)
1834 --disable-largefile omit support for large files
1835 --disable-gtktest do not try to compile and run a test GTK+ program
1836 --disable-gtktest Do not try to compile and run a test GTK program
1837 --disable-sdltest Do not try to compile and run a test SDL program
1838 --enable-omf use OMF object format (OS/2)
1839 --disable-dependency-tracking
1840 don't use dependency tracking even if the compiler
1841 can
1842 --disable-precomp-headers
1843 don't use precompiled headers even if compiler can
1844
1845 Optional Packages:
1846 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1847 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1848 --without-subdirs don't generate makefiles for samples/demos/...
1849 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1850 --with-motif use Motif/Lesstif
1851 --with-mac use Mac OS X
1852 --with-cocoa use Cocoa
1853 --with-wine use Wine
1854 --with-msw use MS-Windows
1855 --with-pm use OS/2 Presentation Manager
1856 --with-mgl use SciTech MGL
1857 --with-directfb use DirectFB
1858 --with-microwin use MicroWindows
1859 --with-x11 use X11
1860 --with-libpng use libpng (PNG image format)
1861 --with-libjpeg use libjpeg (JPEG file format)
1862 --with-libtiff use libtiff (TIFF file format)
1863 --with-libxpm use libxpm (XPM file format)
1864 --with-libmspack use libmspack (CHM help files loading)
1865 --with-sdl use SDL for audio on Unix
1866 --with-gnomeprint use GNOME print for printing under GNOME
1867 --with-gnomevfs use GNOME VFS for associating MIME types
1868 --with-hildon use Hildon framework for Nokia 770
1869 --with-opengl use OpenGL (or Mesa)
1870 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1871 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1872 --with-regex enable support for wxRegEx class
1873 --with-zlib use zlib for LZW compression
1874 --with-odbc use the IODBC and wxODBC classes
1875 --with-expat enable XML support using expat parser
1876 --with-flavour=NAME specify a name to identify this build
1877 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1878 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1879 --with-x use the X Window System
1880 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1881 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1882 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1883 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1884 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1885
1886 Some influential environment variables:
1887 CC C compiler command
1888 CFLAGS C compiler flags
1889 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1890 nonstandard directory <lib dir>
1891 LIBS libraries to pass to the linker, e.g. -l<library>
1892 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1893 you have headers in a nonstandard directory <include dir>
1894 CPP C preprocessor
1895 CXX C++ compiler command
1896 CXXFLAGS C++ compiler flags
1897 PKG_CONFIG path to pkg-config utility
1898 DIRECTFB_CFLAGS
1899 C compiler flags for DIRECTFB, overriding pkg-config
1900 DIRECTFB_LIBS
1901 linker flags for DIRECTFB, overriding pkg-config
1902 XMKMF Path to xmkmf, Makefile generator for X Window System
1903 PANGOX_CFLAGS
1904 C compiler flags for PANGOX, overriding pkg-config
1905 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1906 PANGOFT2_CFLAGS
1907 C compiler flags for PANGOFT2, overriding pkg-config
1908 PANGOFT2_LIBS
1909 linker flags for PANGOFT2, overriding pkg-config
1910 PANGOXFT_CFLAGS
1911 C compiler flags for PANGOXFT, overriding pkg-config
1912 PANGOXFT_LIBS
1913 linker flags for PANGOXFT, overriding pkg-config
1914 LIBGNOMEPRINTUI_CFLAGS
1915 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1916 LIBGNOMEPRINTUI_LIBS
1917 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1918 GNOMEVFS_CFLAGS
1919 C compiler flags for GNOMEVFS, overriding pkg-config
1920 GNOMEVFS_LIBS
1921 linker flags for GNOMEVFS, overriding pkg-config
1922 HILDON_CFLAGS
1923 C compiler flags for HILDON, overriding pkg-config
1924 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1925 CAIRO_CFLAGS
1926 C compiler flags for CAIRO, overriding pkg-config
1927 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1928 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1929 GST_LIBS linker flags for GST, overriding pkg-config
1930
1931 Use these variables to override the choices made by `configure' or to help
1932 it to find libraries and programs with nonstandard names/locations.
1933
1934 Report bugs to <wx-dev@lists.wxwidgets.org>.
1935 _ACEOF
1936 ac_status=$?
1937 fi
1938
1939 if test "$ac_init_help" = "recursive"; then
1940 # If there are subdirs, report their specific --help.
1941 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1942 test -d "$ac_dir" || continue
1943 ac_builddir=.
1944
1945 case "$ac_dir" in
1946 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1947 *)
1948 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1949 # A ".." for each directory in $ac_dir_suffix.
1950 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1951 case $ac_top_builddir_sub in
1952 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1953 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1954 esac ;;
1955 esac
1956 ac_abs_top_builddir=$ac_pwd
1957 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1958 # for backward compatibility:
1959 ac_top_builddir=$ac_top_build_prefix
1960
1961 case $srcdir in
1962 .) # We are building in place.
1963 ac_srcdir=.
1964 ac_top_srcdir=$ac_top_builddir_sub
1965 ac_abs_top_srcdir=$ac_pwd ;;
1966 [\\/]* | ?:[\\/]* ) # Absolute name.
1967 ac_srcdir=$srcdir$ac_dir_suffix;
1968 ac_top_srcdir=$srcdir
1969 ac_abs_top_srcdir=$srcdir ;;
1970 *) # Relative name.
1971 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1972 ac_top_srcdir=$ac_top_build_prefix$srcdir
1973 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1974 esac
1975 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1976
1977 cd "$ac_dir" || { ac_status=$?; continue; }
1978 # Check for guested configure.
1979 if test -f "$ac_srcdir/configure.gnu"; then
1980 echo &&
1981 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1982 elif test -f "$ac_srcdir/configure"; then
1983 echo &&
1984 $SHELL "$ac_srcdir/configure" --help=recursive
1985 else
1986 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1987 fi || ac_status=$?
1988 cd "$ac_pwd" || { ac_status=$?; break; }
1989 done
1990 fi
1991
1992 test -n "$ac_init_help" && exit $ac_status
1993 if $ac_init_version; then
1994 cat <<\_ACEOF
1995 wxWidgets configure 2.9.0
1996 generated by GNU Autoconf 2.61
1997
1998 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1999 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2000 This configure script is free software; the Free Software Foundation
2001 gives unlimited permission to copy, distribute and modify it.
2002 _ACEOF
2003 exit
2004 fi
2005 cat >config.log <<_ACEOF
2006 This file contains any messages produced by compilers while
2007 running configure, to aid debugging if configure makes a mistake.
2008
2009 It was created by wxWidgets $as_me 2.9.0, which was
2010 generated by GNU Autoconf 2.61. Invocation command line was
2011
2012 $ $0 $@
2013
2014 _ACEOF
2015 exec 5>>config.log
2016 {
2017 cat <<_ASUNAME
2018 ## --------- ##
2019 ## Platform. ##
2020 ## --------- ##
2021
2022 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2023 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2024 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2025 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2026 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2027
2028 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2029 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2030
2031 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2032 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2033 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2034 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2035 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2036 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2037 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2038
2039 _ASUNAME
2040
2041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042 for as_dir in $PATH
2043 do
2044 IFS=$as_save_IFS
2045 test -z "$as_dir" && as_dir=.
2046 echo "PATH: $as_dir"
2047 done
2048 IFS=$as_save_IFS
2049
2050 } >&5
2051
2052 cat >&5 <<_ACEOF
2053
2054
2055 ## ----------- ##
2056 ## Core tests. ##
2057 ## ----------- ##
2058
2059 _ACEOF
2060
2061
2062 # Keep a trace of the command line.
2063 # Strip out --no-create and --no-recursion so they do not pile up.
2064 # Strip out --silent because we don't want to record it for future runs.
2065 # Also quote any args containing shell meta-characters.
2066 # Make two passes to allow for proper duplicate-argument suppression.
2067 ac_configure_args=
2068 ac_configure_args0=
2069 ac_configure_args1=
2070 ac_must_keep_next=false
2071 for ac_pass in 1 2
2072 do
2073 for ac_arg
2074 do
2075 case $ac_arg in
2076 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2078 | -silent | --silent | --silen | --sile | --sil)
2079 continue ;;
2080 *\'*)
2081 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2082 esac
2083 case $ac_pass in
2084 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2085 2)
2086 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2087 if test $ac_must_keep_next = true; then
2088 ac_must_keep_next=false # Got value, back to normal.
2089 else
2090 case $ac_arg in
2091 *=* | --config-cache | -C | -disable-* | --disable-* \
2092 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2093 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2094 | -with-* | --with-* | -without-* | --without-* | --x)
2095 case "$ac_configure_args0 " in
2096 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2097 esac
2098 ;;
2099 -* ) ac_must_keep_next=true ;;
2100 esac
2101 fi
2102 ac_configure_args="$ac_configure_args '$ac_arg'"
2103 ;;
2104 esac
2105 done
2106 done
2107 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2108 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2109
2110 # When interrupted or exit'd, cleanup temporary files, and complete
2111 # config.log. We remove comments because anyway the quotes in there
2112 # would cause problems or look ugly.
2113 # WARNING: Use '\'' to represent an apostrophe within the trap.
2114 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2115 trap 'exit_status=$?
2116 # Save into config.log some information that might help in debugging.
2117 {
2118 echo
2119
2120 cat <<\_ASBOX
2121 ## ---------------- ##
2122 ## Cache variables. ##
2123 ## ---------------- ##
2124 _ASBOX
2125 echo
2126 # The following way of writing the cache mishandles newlines in values,
2127 (
2128 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2129 eval ac_val=\$$ac_var
2130 case $ac_val in #(
2131 *${as_nl}*)
2132 case $ac_var in #(
2133 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2134 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2135 esac
2136 case $ac_var in #(
2137 _ | IFS | as_nl) ;; #(
2138 *) $as_unset $ac_var ;;
2139 esac ;;
2140 esac
2141 done
2142 (set) 2>&1 |
2143 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2144 *${as_nl}ac_space=\ *)
2145 sed -n \
2146 "s/'\''/'\''\\\\'\'''\''/g;
2147 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2148 ;; #(
2149 *)
2150 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2151 ;;
2152 esac |
2153 sort
2154 )
2155 echo
2156
2157 cat <<\_ASBOX
2158 ## ----------------- ##
2159 ## Output variables. ##
2160 ## ----------------- ##
2161 _ASBOX
2162 echo
2163 for ac_var in $ac_subst_vars
2164 do
2165 eval ac_val=\$$ac_var
2166 case $ac_val in
2167 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2168 esac
2169 echo "$ac_var='\''$ac_val'\''"
2170 done | sort
2171 echo
2172
2173 if test -n "$ac_subst_files"; then
2174 cat <<\_ASBOX
2175 ## ------------------- ##
2176 ## File substitutions. ##
2177 ## ------------------- ##
2178 _ASBOX
2179 echo
2180 for ac_var in $ac_subst_files
2181 do
2182 eval ac_val=\$$ac_var
2183 case $ac_val in
2184 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2185 esac
2186 echo "$ac_var='\''$ac_val'\''"
2187 done | sort
2188 echo
2189 fi
2190
2191 if test -s confdefs.h; then
2192 cat <<\_ASBOX
2193 ## ----------- ##
2194 ## confdefs.h. ##
2195 ## ----------- ##
2196 _ASBOX
2197 echo
2198 cat confdefs.h
2199 echo
2200 fi
2201 test "$ac_signal" != 0 &&
2202 echo "$as_me: caught signal $ac_signal"
2203 echo "$as_me: exit $exit_status"
2204 } >&5
2205 rm -f core *.core core.conftest.* &&
2206 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2207 exit $exit_status
2208 ' 0
2209 for ac_signal in 1 2 13 15; do
2210 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2211 done
2212 ac_signal=0
2213
2214 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2215 rm -f -r conftest* confdefs.h
2216
2217 # Predefined preprocessor variables.
2218
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_NAME "$PACKAGE_NAME"
2221 _ACEOF
2222
2223
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2226 _ACEOF
2227
2228
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2231 _ACEOF
2232
2233
2234 cat >>confdefs.h <<_ACEOF
2235 #define PACKAGE_STRING "$PACKAGE_STRING"
2236 _ACEOF
2237
2238
2239 cat >>confdefs.h <<_ACEOF
2240 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2241 _ACEOF
2242
2243
2244 # Let the site file select an alternate cache file if it wants to.
2245 # Prefer explicitly selected file to automatically selected ones.
2246 if test -n "$CONFIG_SITE"; then
2247 set x "$CONFIG_SITE"
2248 elif test "x$prefix" != xNONE; then
2249 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2250 else
2251 set x "$ac_default_prefix/share/config.site" \
2252 "$ac_default_prefix/etc/config.site"
2253 fi
2254 shift
2255 for ac_site_file
2256 do
2257 if test -r "$ac_site_file"; then
2258 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2259 echo "$as_me: loading site script $ac_site_file" >&6;}
2260 sed 's/^/| /' "$ac_site_file" >&5
2261 . "$ac_site_file"
2262 fi
2263 done
2264
2265 if test -r "$cache_file"; then
2266 # Some versions of bash will fail to source /dev/null (special
2267 # files actually), so we avoid doing that.
2268 if test -f "$cache_file"; then
2269 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2270 echo "$as_me: loading cache $cache_file" >&6;}
2271 case $cache_file in
2272 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2273 *) . "./$cache_file";;
2274 esac
2275 fi
2276 else
2277 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2278 echo "$as_me: creating cache $cache_file" >&6;}
2279 >$cache_file
2280 fi
2281
2282 # Check that the precious variables saved in the cache have kept the same
2283 # value.
2284 ac_cache_corrupted=false
2285 for ac_var in $ac_precious_vars; do
2286 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2287 eval ac_new_set=\$ac_env_${ac_var}_set
2288 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2289 eval ac_new_val=\$ac_env_${ac_var}_value
2290 case $ac_old_set,$ac_new_set in
2291 set,)
2292 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2293 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2294 ac_cache_corrupted=: ;;
2295 ,set)
2296 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2297 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2298 ac_cache_corrupted=: ;;
2299 ,);;
2300 *)
2301 if test "x$ac_old_val" != "x$ac_new_val"; then
2302 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2303 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2304 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2305 echo "$as_me: former value: $ac_old_val" >&2;}
2306 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2307 echo "$as_me: current value: $ac_new_val" >&2;}
2308 ac_cache_corrupted=:
2309 fi;;
2310 esac
2311 # Pass precious variables to config.status.
2312 if test "$ac_new_set" = set; then
2313 case $ac_new_val in
2314 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2315 *) ac_arg=$ac_var=$ac_new_val ;;
2316 esac
2317 case " $ac_configure_args " in
2318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2319 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2320 esac
2321 fi
2322 done
2323 if $ac_cache_corrupted; then
2324 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2325 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2326 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2327 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2328 { (exit 1); exit 1; }; }
2329 fi
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355 ac_ext=c
2356 ac_cpp='$CPP $CPPFLAGS'
2357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2360
2361
2362
2363
2364
2365 ac_aux_dir=
2366 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2367 if test -f "$ac_dir/install-sh"; then
2368 ac_aux_dir=$ac_dir
2369 ac_install_sh="$ac_aux_dir/install-sh -c"
2370 break
2371 elif test -f "$ac_dir/install.sh"; then
2372 ac_aux_dir=$ac_dir
2373 ac_install_sh="$ac_aux_dir/install.sh -c"
2374 break
2375 elif test -f "$ac_dir/shtool"; then
2376 ac_aux_dir=$ac_dir
2377 ac_install_sh="$ac_aux_dir/shtool install -c"
2378 break
2379 fi
2380 done
2381 if test -z "$ac_aux_dir"; then
2382 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2383 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2384 { (exit 1); exit 1; }; }
2385 fi
2386
2387 # These three variables are undocumented and unsupported,
2388 # and are intended to be withdrawn in a future Autoconf release.
2389 # They can cause serious problems if a builder's source tree is in a directory
2390 # whose full name contains unusual characters.
2391 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2392 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2393 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2394
2395
2396 # Make sure we can run config.sub.
2397 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2398 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2399 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2400 { (exit 1); exit 1; }; }
2401
2402 { echo "$as_me:$LINENO: checking build system type" >&5
2403 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2404 if test "${ac_cv_build+set}" = set; then
2405 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 else
2407 ac_build_alias=$build_alias
2408 test "x$ac_build_alias" = x &&
2409 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2410 test "x$ac_build_alias" = x &&
2411 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2412 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2413 { (exit 1); exit 1; }; }
2414 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2415 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2416 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2417 { (exit 1); exit 1; }; }
2418
2419 fi
2420 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2421 echo "${ECHO_T}$ac_cv_build" >&6; }
2422 case $ac_cv_build in
2423 *-*-*) ;;
2424 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2425 echo "$as_me: error: invalid value of canonical build" >&2;}
2426 { (exit 1); exit 1; }; };;
2427 esac
2428 build=$ac_cv_build
2429 ac_save_IFS=$IFS; IFS='-'
2430 set x $ac_cv_build
2431 shift
2432 build_cpu=$1
2433 build_vendor=$2
2434 shift; shift
2435 # Remember, the first character of IFS is used to create $*,
2436 # except with old shells:
2437 build_os=$*
2438 IFS=$ac_save_IFS
2439 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2440
2441
2442 { echo "$as_me:$LINENO: checking host system type" >&5
2443 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2444 if test "${ac_cv_host+set}" = set; then
2445 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 else
2447 if test "x$host_alias" = x; then
2448 ac_cv_host=$ac_cv_build
2449 else
2450 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2451 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2452 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2453 { (exit 1); exit 1; }; }
2454 fi
2455
2456 fi
2457 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2458 echo "${ECHO_T}$ac_cv_host" >&6; }
2459 case $ac_cv_host in
2460 *-*-*) ;;
2461 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2462 echo "$as_me: error: invalid value of canonical host" >&2;}
2463 { (exit 1); exit 1; }; };;
2464 esac
2465 host=$ac_cv_host
2466 ac_save_IFS=$IFS; IFS='-'
2467 set x $ac_cv_host
2468 shift
2469 host_cpu=$1
2470 host_vendor=$2
2471 shift; shift
2472 # Remember, the first character of IFS is used to create $*,
2473 # except with old shells:
2474 host_os=$*
2475 IFS=$ac_save_IFS
2476 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2477
2478
2479 { echo "$as_me:$LINENO: checking target system type" >&5
2480 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2481 if test "${ac_cv_target+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2483 else
2484 if test "x$target_alias" = x; then
2485 ac_cv_target=$ac_cv_host
2486 else
2487 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2488 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2489 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2490 { (exit 1); exit 1; }; }
2491 fi
2492
2493 fi
2494 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2495 echo "${ECHO_T}$ac_cv_target" >&6; }
2496 case $ac_cv_target in
2497 *-*-*) ;;
2498 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2499 echo "$as_me: error: invalid value of canonical target" >&2;}
2500 { (exit 1); exit 1; }; };;
2501 esac
2502 target=$ac_cv_target
2503 ac_save_IFS=$IFS; IFS='-'
2504 set x $ac_cv_target
2505 shift
2506 target_cpu=$1
2507 target_vendor=$2
2508 shift; shift
2509 # Remember, the first character of IFS is used to create $*,
2510 # except with old shells:
2511 target_os=$*
2512 IFS=$ac_save_IFS
2513 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2514
2515
2516 # The aliases save the names the user supplied, while $host etc.
2517 # will get canonicalized.
2518 test -n "$target_alias" &&
2519 test "$program_prefix$program_suffix$program_transform_name" = \
2520 NONENONEs,x,x, &&
2521 program_prefix=${target_alias}-
2522
2523
2524
2525 wx_major_version_number=2
2526 wx_minor_version_number=9
2527 wx_release_number=0
2528 wx_subrelease_number=0
2529
2530 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2531 WX_VERSION=$WX_RELEASE.$wx_release_number
2532 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2533
2534 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2535
2536
2537 wx_top_builddir="`pwd`"
2538
2539
2540
2541
2542 USE_UNIX=1
2543 USE_OS2=0
2544 USE_WIN32=0
2545 USE_DOS=0
2546 USE_BEOS=0
2547 USE_MAC=0
2548
2549 USE_AIX=
2550 USE_BSD= USE_DARWIN= USE_FREEBSD=
2551 USE_GNU= USE_HPUX=
2552 USE_LINUX=
2553 USE_NETBSD=
2554 USE_OPENBSD=
2555 USE_OSF= USE_SGI=
2556 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2557 USE_ULTRIX=
2558 USE_UNIXWARE=
2559
2560 USE_ALPHA=
2561
2562 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2563
2564 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2565
2566 DEFAULT_wxUSE_COCOA=0
2567 DEFAULT_wxUSE_GTK=0
2568 DEFAULT_wxUSE_MAC=0
2569 DEFAULT_wxUSE_MGL=0
2570 DEFAULT_wxUSE_MICROWIN=0
2571 DEFAULT_wxUSE_MOTIF=0
2572 DEFAULT_wxUSE_MSW=0
2573 DEFAULT_wxUSE_PM=0
2574 DEFAULT_wxUSE_X11=0
2575 DEFAULT_wxUSE_DFB=0
2576
2577 DEFAULT_DEFAULT_wxUSE_COCOA=0
2578 DEFAULT_DEFAULT_wxUSE_GTK=0
2579 DEFAULT_DEFAULT_wxUSE_MAC=0
2580 DEFAULT_DEFAULT_wxUSE_MGL=0
2581 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2582 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2583 DEFAULT_DEFAULT_wxUSE_MSW=0
2584 DEFAULT_DEFAULT_wxUSE_PM=0
2585 DEFAULT_DEFAULT_wxUSE_X11=0
2586 DEFAULT_DEFAULT_wxUSE_DFB=0
2587
2588 PROGRAM_EXT=
2589 SO_SUFFIX=so
2590 SAMPLES_RPATH_FLAG=
2591 SAMPLES_RPATH_POSTLINK=
2592
2593 DEFAULT_STD_FLAG=yes
2594
2595 case "${host}" in
2596 *-hp-hpux* )
2597 USE_HPUX=1
2598 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2599 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2600 SO_SUFFIX=sl
2601 cat >>confdefs.h <<\_ACEOF
2602 #define __HPUX__ 1
2603 _ACEOF
2604
2605
2606 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2607 ;;
2608 *-*-linux* )
2609 USE_LINUX=1
2610 cat >>confdefs.h <<\_ACEOF
2611 #define __LINUX__ 1
2612 _ACEOF
2613
2614 TMP=`uname -m`
2615 if test "x$TMP" = "xalpha"; then
2616 USE_ALPHA=1
2617 cat >>confdefs.h <<\_ACEOF
2618 #define __ALPHA__ 1
2619 _ACEOF
2620
2621 fi
2622 DEFAULT_DEFAULT_wxUSE_GTK=1
2623 ;;
2624 *-*-gnu* | *-*-k*bsd*-gnu )
2625 USE_GNU=1
2626 TMP=`uname -m`
2627 if test "x$TMP" = "xalpha"; then
2628 USE_ALPHA=1
2629 cat >>confdefs.h <<\_ACEOF
2630 #define __ALPHA__ 1
2631 _ACEOF
2632
2633 fi
2634 DEFAULT_DEFAULT_wxUSE_GTK=1
2635 ;;
2636 *-*-irix5* | *-*-irix6* )
2637 USE_SGI=1
2638 USE_SVR4=1
2639 cat >>confdefs.h <<\_ACEOF
2640 #define __SGI__ 1
2641 _ACEOF
2642
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __SVR4__ 1
2645 _ACEOF
2646
2647 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2648 ;;
2649 *-*-solaris2* )
2650 USE_SUN=1
2651 USE_SOLARIS=1
2652 USE_SVR4=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __SUN__ 1
2655 _ACEOF
2656
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SOLARIS__ 1
2659 _ACEOF
2660
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __SVR4__ 1
2663 _ACEOF
2664
2665 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2666 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2667 ;;
2668 *-*-sunos4* )
2669 USE_SUN=1
2670 USE_SUNOS=1
2671 USE_BSD=1
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SUN__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SUNOS__ 1
2678 _ACEOF
2679
2680 cat >>confdefs.h <<\_ACEOF
2681 #define __BSD__ 1
2682 _ACEOF
2683
2684 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2685 ;;
2686 *-*-freebsd*)
2687 USE_BSD=1
2688 USE_FREEBSD=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __FREEBSD__ 1
2691 _ACEOF
2692
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __BSD__ 1
2695 _ACEOF
2696
2697 DEFAULT_DEFAULT_wxUSE_GTK=1
2698 ;;
2699 *-*-openbsd*|*-*-mirbsd*)
2700 USE_BSD=1
2701 USE_OPENBSD=1
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __OPENBSD__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __BSD__ 1
2708 _ACEOF
2709
2710 DEFAULT_DEFAULT_wxUSE_GTK=1
2711 ;;
2712 *-*-netbsd*)
2713 USE_BSD=1
2714 USE_NETBSD=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __NETBSD__ 1
2717 _ACEOF
2718
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __BSD__ 1
2721 _ACEOF
2722
2723 DEFAULT_DEFAULT_wxUSE_GTK=1
2724 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2725
2726 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2727 ;;
2728 *-*-osf* )
2729 USE_ALPHA=1
2730 USE_OSF=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __ALPHA__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __OSF__ 1
2737 _ACEOF
2738
2739 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2741 ;;
2742 *-*-dgux5* )
2743 USE_ALPHA=1
2744 USE_SVR4=1
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __ALPHA__ 1
2747 _ACEOF
2748
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __SVR4__ 1
2751 _ACEOF
2752
2753 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2754 ;;
2755 *-*-sysv5* )
2756 USE_SYSV=1
2757 USE_SVR4=1
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __SYSV__ 1
2760 _ACEOF
2761
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __SVR4__ 1
2764 _ACEOF
2765
2766 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2767 ;;
2768 *-*-aix* )
2769 USE_AIX=1
2770 USE_SYSV=1
2771 USE_SVR4=1
2772 SO_SUFFIX=a
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __AIX__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SYSV__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SVR4__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2786 ;;
2787
2788 *-*-*UnixWare*)
2789 USE_SYSV=1
2790 USE_SVR4=1
2791 USE_UNIXWARE=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __UNIXWARE__ 1
2794 _ACEOF
2795
2796 ;;
2797
2798 *-*-cygwin* | *-*-mingw32* )
2799 SO_SUFFIX=dll
2800 PROGRAM_EXT=".exe"
2801 DEFAULT_DEFAULT_wxUSE_MSW=1
2802 ;;
2803
2804 *-pc-msdosdjgpp )
2805 USE_UNIX=0
2806 USE_DOS=1
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __DOS__ 1
2809 _ACEOF
2810
2811 PROGRAM_EXT=".exe"
2812 DEFAULT_DEFAULT_wxUSE_MGL=1
2813 ;;
2814
2815 *-pc-os2_emx | *-pc-os2-emx )
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __EMX__ 1
2818 _ACEOF
2819
2820 USE_OS2=1
2821 cat >>confdefs.h <<\_ACEOF
2822 #define __OS2__ 1
2823 _ACEOF
2824
2825 PROGRAM_EXT=".exe"
2826 DEFAULT_DEFAULT_wxUSE_PM=1
2827 CXX=gcc
2828 LDFLAGS="$LDFLAGS -Zcrtdll"
2829 ac_executable_extensions=".exe"
2830 export ac_executable_extensions
2831 ac_save_IFS="$IFS"
2832 IFS='\\'
2833 ac_TEMP_PATH=
2834 for ac_dir in $PATH; do
2835 IFS=$ac_save_IFS
2836 if test -z "$ac_TEMP_PATH"; then
2837 ac_TEMP_PATH="$ac_dir"
2838 else
2839 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2840 fi
2841 done
2842 export PATH="$ac_TEMP_PATH"
2843 unset ac_TEMP_PATH
2844 DEFAULT_STD_FLAG=no
2845 ;;
2846
2847 *-*-darwin* )
2848 USE_BSD=1
2849 USE_DARWIN=1
2850 SO_SUFFIX=dylib
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __BSD__ 1
2853 _ACEOF
2854
2855 cat >>confdefs.h <<\_ACEOF
2856 #define __DARWIN__ 1
2857 _ACEOF
2858
2859 cat >>confdefs.h <<\_ACEOF
2860 #define TARGET_CARBON 1
2861 _ACEOF
2862
2863 DEFAULT_DEFAULT_wxUSE_MAC=1
2864 DEFAULT_STD_FLAG=no
2865 ;;
2866 powerpc-apple-macos* )
2867 USE_UNIX=0
2868 ac_cv_c_bigendian=yes
2869 SO_SUFFIX=shlib
2870 DEFAULT_DEFAULT_wxUSE_MAC=1
2871 DEFAULT_STD_FLAG=no
2872 ;;
2873
2874 *-*-beos* )
2875 USE_BEOS=1
2876 cat >>confdefs.h <<\_ACEOF
2877 #define __BEOS__ 1
2878 _ACEOF
2879
2880 ;;
2881
2882 *)
2883 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2884 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2885 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2886 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2887
2888 DEFAULT_DEFAULT_wxUSE_X11=1
2889 DEFAULT_wxUSE_SHARED=no
2890 esac
2891
2892
2893
2894
2895 wx_arg_cache_file="configarg.cache"
2896 echo "loading argument cache $wx_arg_cache_file"
2897 rm -f ${wx_arg_cache_file}.tmp
2898 touch ${wx_arg_cache_file}.tmp
2899 touch ${wx_arg_cache_file}
2900
2901
2902 DEBUG_CONFIGURE=0
2903 if test $DEBUG_CONFIGURE = 1; then
2904 DEFAULT_wxUSE_UNIVERSAL=no
2905 DEFAULT_wxUSE_STL=no
2906 DEFAULT_wxUSE_EXTENDED_RTTI=no
2907
2908 DEFAULT_wxUSE_NANOX=no
2909
2910 DEFAULT_wxUSE_THREADS=yes
2911
2912 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2913 DEFAULT_wxUSE_OPTIMISE=no
2914 DEFAULT_wxUSE_PROFILE=no
2915 DEFAULT_wxUSE_NO_DEPS=no
2916 DEFAULT_wxUSE_VARARG_MACROS=no
2917 DEFAULT_wxUSE_NO_RTTI=no
2918 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2919 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2920 DEFAULT_wxUSE_RPATH=yes
2921 DEFAULT_wxUSE_PERMISSIVE=no
2922 DEFAULT_wxUSE_DEBUG_FLAG=yes
2923 DEFAULT_wxUSE_DEBUG_INFO=yes
2924 DEFAULT_wxUSE_DEBUG_GDB=yes
2925 DEFAULT_wxUSE_MEM_TRACING=no
2926 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2927 DEFAULT_wxUSE_DMALLOC=no
2928 DEFAULT_wxUSE_APPLE_IEEE=no
2929
2930 DEFAULT_wxUSE_EXCEPTIONS=no
2931 DEFAULT_wxUSE_LOG=yes
2932 DEFAULT_wxUSE_LOGWINDOW=no
2933 DEFAULT_wxUSE_LOGGUI=no
2934 DEFAULT_wxUSE_LOGDIALOG=no
2935
2936 DEFAULT_wxUSE_GUI=yes
2937 DEFAULT_wxUSE_CONTROLS=no
2938
2939 DEFAULT_wxUSE_REGEX=no
2940 DEFAULT_wxUSE_XML=no
2941 DEFAULT_wxUSE_EXPAT=no
2942 DEFAULT_wxUSE_ZLIB=no
2943 DEFAULT_wxUSE_LIBPNG=no
2944 DEFAULT_wxUSE_LIBJPEG=no
2945 DEFAULT_wxUSE_LIBTIFF=no
2946 DEFAULT_wxUSE_LIBXPM=no
2947 DEFAULT_wxUSE_LIBMSPACK=no
2948 DEFAULT_wxUSE_LIBSDL=no
2949 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2950 DEFAULT_wxUSE_LIBGNOMEVFS=no
2951 DEFAULT_wxUSE_LIBHILDON=no
2952 DEFAULT_wxUSE_ODBC=no
2953 DEFAULT_wxUSE_OPENGL=no
2954
2955 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2956 DEFAULT_wxUSE_STACKWALKER=no
2957 DEFAULT_wxUSE_DEBUGREPORT=no
2958 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2959 DEFAULT_wxUSE_STD_IOSTREAM=no
2960 DEFAULT_wxUSE_STD_STRING=no
2961 DEFAULT_wxUSE_CMDLINE_PARSER=no
2962 DEFAULT_wxUSE_DATETIME=no
2963 DEFAULT_wxUSE_TIMER=no
2964 DEFAULT_wxUSE_STOPWATCH=no
2965 DEFAULT_wxUSE_FILE=no
2966 DEFAULT_wxUSE_FFILE=no
2967 DEFAULT_wxUSE_STDPATHS=no
2968 DEFAULT_wxUSE_TEXTBUFFER=no
2969 DEFAULT_wxUSE_TEXTFILE=no
2970 DEFAULT_wxUSE_SOUND=no
2971 DEFAULT_wxUSE_MEDIACTRL=no
2972 DEFAULT_wxUSE_GSTREAMER8=no
2973 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2974 DEFAULT_wxUSE_INTL=no
2975 DEFAULT_wxUSE_CONFIG=no
2976 DEFAULT_wxUSE_FONTMAP=no
2977 DEFAULT_wxUSE_STREAMS=no
2978 DEFAULT_wxUSE_SOCKETS=no
2979 DEFAULT_wxUSE_OLE=no
2980 DEFAULT_wxUSE_DATAOBJ=no
2981 DEFAULT_wxUSE_DIALUP_MANAGER=no
2982 DEFAULT_wxUSE_JOYSTICK=no
2983 DEFAULT_wxUSE_DYNLIB_CLASS=no
2984 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2985 DEFAULT_wxUSE_LONGLONG=no
2986 DEFAULT_wxUSE_GEOMETRY=no
2987
2988 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2989 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2990 DEFAULT_wxUSE_POSTSCRIPT=no
2991
2992 DEFAULT_wxUSE_CLIPBOARD=no
2993 DEFAULT_wxUSE_TOOLTIPS=no
2994 DEFAULT_wxUSE_DRAG_AND_DROP=no
2995 DEFAULT_wxUSE_DRAGIMAGE=no
2996 DEFAULT_wxUSE_SPLINES=no
2997 DEFAULT_wxUSE_MOUSEWHEEL=no
2998
2999 DEFAULT_wxUSE_MDI=no
3000 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3001 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3002 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3003
3004 DEFAULT_wxUSE_CONSTRAINTS=no
3005 DEFAULT_wxUSE_IPC=no
3006 DEFAULT_wxUSE_HELP=no
3007 DEFAULT_wxUSE_MS_HTML_HELP=no
3008 DEFAULT_wxUSE_WXHTML_HELP=no
3009 DEFAULT_wxUSE_TREELAYOUT=no
3010 DEFAULT_wxUSE_METAFILE=no
3011 DEFAULT_wxUSE_MIMETYPE=no
3012 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3013 DEFAULT_wxUSE_PROTOCOL=no
3014 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3015 DEFAULT_wxUSE_PROTOCOL_FTP=no
3016 DEFAULT_wxUSE_PROTOCOL_FILE=no
3017 DEFAULT_wxUSE_URL=no
3018 DEFAULT_wxUSE_VARIANT=no
3019
3020 DEFAULT_wxUSE_ABOUTDLG=no
3021 DEFAULT_wxUSE_COMMONDLGS=no
3022 DEFAULT_wxUSE_CHOICEDLG=no
3023 DEFAULT_wxUSE_COLOURDLG=no
3024 DEFAULT_wxUSE_DIRDLG=no
3025 DEFAULT_wxUSE_FILEDLG=no
3026 DEFAULT_wxUSE_FINDREPLDLG=no
3027 DEFAULT_wxUSE_FONTDLG=no
3028 DEFAULT_wxUSE_MSGDLG=no
3029 DEFAULT_wxUSE_NUMBERDLG=no
3030 DEFAULT_wxUSE_TEXTDLG=no
3031 DEFAULT_wxUSE_SPLASH=no
3032 DEFAULT_wxUSE_STARTUP_TIPS=no
3033 DEFAULT_wxUSE_PROGRESSDLG=no
3034 DEFAULT_wxUSE_WIZARDDLG=no
3035
3036 DEFAULT_wxUSE_MENUS=no
3037 DEFAULT_wxUSE_MINIFRAME=no
3038 DEFAULT_wxUSE_HTML=no
3039 DEFAULT_wxUSE_RICHTEXT=no
3040 DEFAULT_wxUSE_XRC=no
3041 DEFAULT_wxUSE_AUI=no
3042 DEFAULT_wxUSE_STC=no
3043 DEFAULT_wxUSE_WEBKIT=no
3044 DEFAULT_wxUSE_FILESYSTEM=no
3045 DEFAULT_wxUSE_FS_INET=no
3046 DEFAULT_wxUSE_FS_ZIP=no
3047 DEFAULT_wxUSE_FS_ARCHIVE=no
3048 DEFAULT_wxUSE_BUSYINFO=no
3049 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3050 DEFAULT_wxUSE_ZIPSTREAM=no
3051 DEFAULT_wxUSE_TARSTREAM=no
3052 DEFAULT_wxUSE_VALIDATORS=no
3053
3054 DEFAULT_wxUSE_ACCEL=no
3055 DEFAULT_wxUSE_ANIMATIONCTRL=no
3056 DEFAULT_wxUSE_BUTTON=no
3057 DEFAULT_wxUSE_BMPBUTTON=no
3058 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3059 DEFAULT_wxUSE_CALCTRL=no
3060 DEFAULT_wxUSE_CARET=no
3061 DEFAULT_wxUSE_CHECKBOX=no
3062 DEFAULT_wxUSE_CHECKLST=no
3063 DEFAULT_wxUSE_CHOICE=no
3064 DEFAULT_wxUSE_CHOICEBOOK=no
3065 DEFAULT_wxUSE_COLLPANE=no
3066 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3067 DEFAULT_wxUSE_COMBOBOX=no
3068 DEFAULT_wxUSE_COMBOCTRL=no
3069 DEFAULT_wxUSE_DATEPICKCTRL=no
3070 DEFAULT_wxUSE_DISPLAY=no
3071 DEFAULT_wxUSE_DETECT_SM=no
3072 DEFAULT_wxUSE_DIRPICKERCTRL=no
3073 DEFAULT_wxUSE_FILEPICKERCTRL=no
3074 DEFAULT_wxUSE_FONTPICKERCTRL=no
3075 DEFAULT_wxUSE_GAUGE=no
3076 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3077 DEFAULT_wxUSE_GRID=no
3078 DEFAULT_wxUSE_HYPERLINKCTRL=no
3079 DEFAULT_wxUSE_DATAVIEWCTRL=no
3080 DEFAULT_wxUSE_IMAGLIST=no
3081 DEFAULT_wxUSE_LISTBOOK=no
3082 DEFAULT_wxUSE_LISTBOX=no
3083 DEFAULT_wxUSE_LISTCTRL=no
3084 DEFAULT_wxUSE_NOTEBOOK=no
3085 DEFAULT_wxUSE_ODCOMBOBOX=no
3086 DEFAULT_wxUSE_RADIOBOX=no
3087 DEFAULT_wxUSE_RADIOBTN=no
3088 DEFAULT_wxUSE_SASH=no
3089 DEFAULT_wxUSE_SCROLLBAR=no
3090 DEFAULT_wxUSE_SEARCHCTRL=no
3091 DEFAULT_wxUSE_SLIDER=no
3092 DEFAULT_wxUSE_SPINBTN=no
3093 DEFAULT_wxUSE_SPINCTRL=no
3094 DEFAULT_wxUSE_SPLITTER=no
3095 DEFAULT_wxUSE_STATBMP=no
3096 DEFAULT_wxUSE_STATBOX=no
3097 DEFAULT_wxUSE_STATLINE=no
3098 DEFAULT_wxUSE_STATTEXT=no
3099 DEFAULT_wxUSE_STATUSBAR=yes
3100 DEFAULT_wxUSE_TAB_DIALOG=no
3101 DEFAULT_wxUSE_TEXTCTRL=no
3102 DEFAULT_wxUSE_TOGGLEBTN=no
3103 DEFAULT_wxUSE_TOOLBAR=no
3104 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3105 DEFAULT_wxUSE_TREEBOOK=no
3106 DEFAULT_wxUSE_TOOLBOOK=no
3107 DEFAULT_wxUSE_TREECTRL=no
3108 DEFAULT_wxUSE_POPUPWIN=no
3109 DEFAULT_wxUSE_TIPWINDOW=no
3110
3111 DEFAULT_wxUSE_UNICODE=no
3112 DEFAULT_wxUSE_UNICODE_MSLU=no
3113 DEFAULT_wxUSE_UNICODE_UTF8=no
3114 DEFAULT_wxUSE_WCSRTOMBS=no
3115
3116 DEFAULT_wxUSE_PALETTE=no
3117 DEFAULT_wxUSE_IMAGE=no
3118 DEFAULT_wxUSE_GIF=no
3119 DEFAULT_wxUSE_PCX=no
3120 DEFAULT_wxUSE_TGA=no
3121 DEFAULT_wxUSE_PNM=no
3122 DEFAULT_wxUSE_IFF=no
3123 DEFAULT_wxUSE_XPM=no
3124 DEFAULT_wxUSE_ICO_CUR=no
3125 DEFAULT_wxUSE_ACCESSIBILITY=no
3126
3127 DEFAULT_wxUSE_MONOLITHIC=no
3128 DEFAULT_wxUSE_PLUGINS=no
3129 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3130 else
3131 DEFAULT_wxUSE_UNIVERSAL=no
3132 DEFAULT_wxUSE_STL=no
3133 DEFAULT_wxUSE_EXTENDED_RTTI=no
3134
3135 DEFAULT_wxUSE_NANOX=no
3136
3137 DEFAULT_wxUSE_THREADS=yes
3138
3139 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3140 DEFAULT_wxUSE_OPTIMISE=yes
3141 DEFAULT_wxUSE_PROFILE=no
3142 DEFAULT_wxUSE_NO_DEPS=no
3143 DEFAULT_wxUSE_VARARG_MACROS=yes
3144 DEFAULT_wxUSE_NO_RTTI=no
3145 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3146 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3147 DEFAULT_wxUSE_RPATH=yes
3148 DEFAULT_wxUSE_PERMISSIVE=no
3149 DEFAULT_wxUSE_DEBUG_FLAG=no
3150 DEFAULT_wxUSE_DEBUG_INFO=no
3151 DEFAULT_wxUSE_DEBUG_GDB=no
3152 DEFAULT_wxUSE_MEM_TRACING=no
3153 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3154 DEFAULT_wxUSE_DMALLOC=no
3155 DEFAULT_wxUSE_APPLE_IEEE=yes
3156
3157 DEFAULT_wxUSE_EXCEPTIONS=yes
3158 DEFAULT_wxUSE_LOG=yes
3159 DEFAULT_wxUSE_LOGWINDOW=yes
3160 DEFAULT_wxUSE_LOGGUI=yes
3161 DEFAULT_wxUSE_LOGDIALOG=yes
3162
3163 DEFAULT_wxUSE_GUI=yes
3164
3165 DEFAULT_wxUSE_REGEX=yes
3166 DEFAULT_wxUSE_XML=yes
3167 DEFAULT_wxUSE_EXPAT=yes
3168 DEFAULT_wxUSE_ZLIB=yes
3169 DEFAULT_wxUSE_LIBPNG=yes
3170 DEFAULT_wxUSE_LIBJPEG=yes
3171 DEFAULT_wxUSE_LIBTIFF=yes
3172 DEFAULT_wxUSE_LIBXPM=yes
3173 DEFAULT_wxUSE_LIBMSPACK=yes
3174 DEFAULT_wxUSE_LIBSDL=no
3175 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3176 DEFAULT_wxUSE_LIBGNOMEVFS=no
3177 DEFAULT_wxUSE_LIBHILDON=no
3178 DEFAULT_wxUSE_ODBC=no
3179 DEFAULT_wxUSE_OPENGL=no
3180
3181 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3182 DEFAULT_wxUSE_STACKWALKER=yes
3183 DEFAULT_wxUSE_DEBUGREPORT=yes
3184 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3185 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3186 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3187 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3188 DEFAULT_wxUSE_DATETIME=yes
3189 DEFAULT_wxUSE_TIMER=yes
3190 DEFAULT_wxUSE_STOPWATCH=yes
3191 DEFAULT_wxUSE_FILE=yes
3192 DEFAULT_wxUSE_FFILE=yes
3193 DEFAULT_wxUSE_STDPATHS=yes
3194 DEFAULT_wxUSE_TEXTBUFFER=yes
3195 DEFAULT_wxUSE_TEXTFILE=yes
3196 DEFAULT_wxUSE_SOUND=yes
3197 DEFAULT_wxUSE_MEDIACTRL=no
3198 DEFAULT_wxUSE_GSTREAMER8=no
3199 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3200 DEFAULT_wxUSE_INTL=yes
3201 DEFAULT_wxUSE_CONFIG=yes
3202 DEFAULT_wxUSE_FONTMAP=yes
3203 DEFAULT_wxUSE_STREAMS=yes
3204 DEFAULT_wxUSE_SOCKETS=yes
3205 DEFAULT_wxUSE_OLE=yes
3206 DEFAULT_wxUSE_DATAOBJ=yes
3207 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3208 DEFAULT_wxUSE_JOYSTICK=yes
3209 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3210 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3211 DEFAULT_wxUSE_LONGLONG=yes
3212 DEFAULT_wxUSE_GEOMETRY=yes
3213
3214 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3215 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3216 DEFAULT_wxUSE_POSTSCRIPT=yes
3217
3218 DEFAULT_wxUSE_CLIPBOARD=yes
3219 DEFAULT_wxUSE_TOOLTIPS=yes
3220 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3221 DEFAULT_wxUSE_DRAGIMAGE=yes
3222 DEFAULT_wxUSE_SPLINES=yes
3223 DEFAULT_wxUSE_MOUSEWHEEL=yes
3224
3225 DEFAULT_wxUSE_MDI=yes
3226 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3227 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3228 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3229
3230 DEFAULT_wxUSE_CONSTRAINTS=yes
3231 DEFAULT_wxUSE_IPC=yes
3232 DEFAULT_wxUSE_HELP=yes
3233 DEFAULT_wxUSE_MS_HTML_HELP=yes
3234 DEFAULT_wxUSE_WXHTML_HELP=yes
3235 DEFAULT_wxUSE_TREELAYOUT=yes
3236 DEFAULT_wxUSE_METAFILE=yes
3237 DEFAULT_wxUSE_MIMETYPE=yes
3238 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3239 DEFAULT_wxUSE_PROTOCOL=yes
3240 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3241 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3242 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3243 DEFAULT_wxUSE_URL=yes
3244 DEFAULT_wxUSE_VARIANT=yes
3245
3246 DEFAULT_wxUSE_ABOUTDLG=yes
3247 DEFAULT_wxUSE_COMMONDLGS=yes
3248 DEFAULT_wxUSE_CHOICEDLG=yes
3249 DEFAULT_wxUSE_COLOURDLG=yes
3250 DEFAULT_wxUSE_DIRDLG=yes
3251 DEFAULT_wxUSE_FILEDLG=yes
3252 DEFAULT_wxUSE_FINDREPLDLG=yes
3253 DEFAULT_wxUSE_FONTDLG=yes
3254 DEFAULT_wxUSE_MSGDLG=yes
3255 DEFAULT_wxUSE_NUMBERDLG=yes
3256 DEFAULT_wxUSE_TEXTDLG=yes
3257 DEFAULT_wxUSE_SPLASH=yes
3258 DEFAULT_wxUSE_STARTUP_TIPS=yes
3259 DEFAULT_wxUSE_PROGRESSDLG=yes
3260 DEFAULT_wxUSE_WIZARDDLG=yes
3261
3262 DEFAULT_wxUSE_MENUS=yes
3263 DEFAULT_wxUSE_MINIFRAME=yes
3264 DEFAULT_wxUSE_HTML=yes
3265 DEFAULT_wxUSE_RICHTEXT=yes
3266 DEFAULT_wxUSE_XRC=yes
3267 DEFAULT_wxUSE_AUI=yes
3268 DEFAULT_wxUSE_STC=yes
3269 DEFAULT_wxUSE_WEBKIT=yes
3270 DEFAULT_wxUSE_FILESYSTEM=yes
3271 DEFAULT_wxUSE_FS_INET=yes
3272 DEFAULT_wxUSE_FS_ZIP=yes
3273 DEFAULT_wxUSE_FS_ARCHIVE=yes
3274 DEFAULT_wxUSE_BUSYINFO=yes
3275 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3276 DEFAULT_wxUSE_ZIPSTREAM=yes
3277 DEFAULT_wxUSE_TARSTREAM=yes
3278 DEFAULT_wxUSE_VALIDATORS=yes
3279
3280 DEFAULT_wxUSE_ACCEL=yes
3281 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3282 DEFAULT_wxUSE_BUTTON=yes
3283 DEFAULT_wxUSE_BMPBUTTON=yes
3284 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3285 DEFAULT_wxUSE_CALCTRL=yes
3286 DEFAULT_wxUSE_CARET=yes
3287 DEFAULT_wxUSE_CHECKBOX=yes
3288 DEFAULT_wxUSE_CHECKLST=yes
3289 DEFAULT_wxUSE_CHOICE=yes
3290 DEFAULT_wxUSE_CHOICEBOOK=yes
3291 DEFAULT_wxUSE_COLLPANE=yes
3292 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3293 DEFAULT_wxUSE_COMBOBOX=yes
3294 DEFAULT_wxUSE_COMBOCTRL=yes
3295 DEFAULT_wxUSE_DATEPICKCTRL=yes
3296 DEFAULT_wxUSE_DISPLAY=yes
3297 DEFAULT_wxUSE_DETECT_SM=yes
3298 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3299 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3300 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3301 DEFAULT_wxUSE_GAUGE=yes
3302 DEFAULT_wxUSE_GRID=yes
3303 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3304 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3305 DEFAULT_wxUSE_DATAVIEWCTRL=no
3306 DEFAULT_wxUSE_IMAGLIST=yes
3307 DEFAULT_wxUSE_LISTBOOK=yes
3308 DEFAULT_wxUSE_LISTBOX=yes
3309 DEFAULT_wxUSE_LISTCTRL=yes
3310 DEFAULT_wxUSE_NOTEBOOK=yes
3311 DEFAULT_wxUSE_ODCOMBOBOX=yes
3312 DEFAULT_wxUSE_RADIOBOX=yes
3313 DEFAULT_wxUSE_RADIOBTN=yes
3314 DEFAULT_wxUSE_SASH=yes
3315 DEFAULT_wxUSE_SCROLLBAR=yes
3316 DEFAULT_wxUSE_SEARCHCTRL=yes
3317 DEFAULT_wxUSE_SLIDER=yes
3318 DEFAULT_wxUSE_SPINBTN=yes
3319 DEFAULT_wxUSE_SPINCTRL=yes
3320 DEFAULT_wxUSE_SPLITTER=yes
3321 DEFAULT_wxUSE_STATBMP=yes
3322 DEFAULT_wxUSE_STATBOX=yes
3323 DEFAULT_wxUSE_STATLINE=yes
3324 DEFAULT_wxUSE_STATTEXT=yes
3325 DEFAULT_wxUSE_STATUSBAR=yes
3326 DEFAULT_wxUSE_TAB_DIALOG=no
3327 DEFAULT_wxUSE_TEXTCTRL=yes
3328 DEFAULT_wxUSE_TOGGLEBTN=yes
3329 DEFAULT_wxUSE_TOOLBAR=yes
3330 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3331 DEFAULT_wxUSE_TREEBOOK=yes
3332 DEFAULT_wxUSE_TOOLBOOK=yes
3333 DEFAULT_wxUSE_TREECTRL=yes
3334 DEFAULT_wxUSE_POPUPWIN=yes
3335 DEFAULT_wxUSE_TIPWINDOW=yes
3336
3337 DEFAULT_wxUSE_UNICODE=no
3338 DEFAULT_wxUSE_UNICODE_MSLU=yes
3339 DEFAULT_wxUSE_UNICODE_UTF8=no
3340 DEFAULT_wxUSE_WCSRTOMBS=no
3341
3342 DEFAULT_wxUSE_PALETTE=yes
3343 DEFAULT_wxUSE_IMAGE=yes
3344 DEFAULT_wxUSE_GIF=yes
3345 DEFAULT_wxUSE_PCX=yes
3346 DEFAULT_wxUSE_TGA=yes
3347 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3348 DEFAULT_wxUSE_XPM=yes
3349 DEFAULT_wxUSE_ICO_CUR=yes
3350 DEFAULT_wxUSE_ACCESSIBILITY=no
3351
3352 DEFAULT_wxUSE_MONOLITHIC=no
3353 DEFAULT_wxUSE_PLUGINS=no
3354 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3355
3356 DEFAULT_wxUSE_GTK2=yes
3357 fi
3358
3359
3360
3361
3362 for toolkit in `echo $ALL_TOOLKITS`; do
3363 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3364 if test "x$LINE" != "x" ; then
3365 has_toolkit_in_cache=1
3366 eval "DEFAULT_$LINE"
3367 eval "CACHE_$toolkit=1"
3368
3369 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 eval "DEFAULT_$LINE"
3372 fi
3373 fi
3374 done
3375
3376
3377
3378 enablestring=
3379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3380 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3381 no_cache=0
3382 # Check whether --enable-gui was given.
3383 if test "${enable_gui+set}" = set; then
3384 enableval=$enable_gui;
3385 if test "$enableval" = yes; then
3386 ac_cv_use_gui='wxUSE_GUI=yes'
3387 else
3388 ac_cv_use_gui='wxUSE_GUI=no'
3389 fi
3390
3391 else
3392
3393 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x ; then
3395 eval "DEFAULT_$LINE"
3396 else
3397 no_cache=1
3398 fi
3399
3400 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3401
3402 fi
3403
3404
3405 eval "$ac_cv_use_gui"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3408 fi
3409
3410 if test "$wxUSE_GUI" = yes; then
3411 { echo "$as_me:$LINENO: result: yes" >&5
3412 echo "${ECHO_T}yes" >&6; }
3413 else
3414 { echo "$as_me:$LINENO: result: no" >&5
3415 echo "${ECHO_T}no" >&6; }
3416 fi
3417
3418
3419 enablestring=
3420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3421 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3422 no_cache=0
3423 # Check whether --enable-monolithic was given.
3424 if test "${enable_monolithic+set}" = set; then
3425 enableval=$enable_monolithic;
3426 if test "$enableval" = yes; then
3427 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3428 else
3429 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3430 fi
3431
3432 else
3433
3434 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3435 if test "x$LINE" != x ; then
3436 eval "DEFAULT_$LINE"
3437 else
3438 no_cache=1
3439 fi
3440
3441 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3442
3443 fi
3444
3445
3446 eval "$ac_cv_use_monolithic"
3447 if test "$no_cache" != 1; then
3448 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3449 fi
3450
3451 if test "$wxUSE_MONOLITHIC" = yes; then
3452 { echo "$as_me:$LINENO: result: yes" >&5
3453 echo "${ECHO_T}yes" >&6; }
3454 else
3455 { echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6; }
3457 fi
3458
3459
3460 enablestring=
3461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3462 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3463 no_cache=0
3464 # Check whether --enable-plugins was given.
3465 if test "${enable_plugins+set}" = set; then
3466 enableval=$enable_plugins;
3467 if test "$enableval" = yes; then
3468 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3469 else
3470 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3483
3484 fi
3485
3486
3487 eval "$ac_cv_use_plugins"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3490 fi
3491
3492 if test "$wxUSE_PLUGINS" = yes; then
3493 { echo "$as_me:$LINENO: result: yes" >&5
3494 echo "${ECHO_T}yes" >&6; }
3495 else
3496 { echo "$as_me:$LINENO: result: no" >&5
3497 echo "${ECHO_T}no" >&6; }
3498 fi
3499
3500
3501 withstring=without
3502 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3503 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3504 no_cache=0
3505
3506 # Check whether --with-subdirs was given.
3507 if test "${with_subdirs+set}" = set; then
3508 withval=$with_subdirs;
3509 if test "$withval" = yes; then
3510 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3511 else
3512 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3513 fi
3514
3515 else
3516
3517 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x ; then
3519 eval "DEFAULT_$LINE"
3520 else
3521 no_cache=1
3522 fi
3523
3524 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3525
3526 fi
3527
3528
3529 eval "$ac_cv_use_subdirs"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3532 fi
3533
3534 if test "$wxWITH_SUBDIRS" = yes; then
3535 { echo "$as_me:$LINENO: result: yes" >&5
3536 echo "${ECHO_T}yes" >&6; }
3537 else
3538 { echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6; }
3540 fi
3541
3542
3543 if test "$wxUSE_GUI" = "yes"; then
3544
3545
3546 enablestring=
3547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3548 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3549 no_cache=0
3550 # Check whether --enable-universal was given.
3551 if test "${enable_universal+set}" = set; then
3552 enableval=$enable_universal;
3553 if test "$enableval" = yes; then
3554 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3555 else
3556 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3557 fi
3558
3559 else
3560
3561 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x ; then
3563 eval "DEFAULT_$LINE"
3564 else
3565 no_cache=1
3566 fi
3567
3568 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3569
3570 fi
3571
3572
3573 eval "$ac_cv_use_universal"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3576 fi
3577
3578 if test "$wxUSE_UNIVERSAL" = yes; then
3579 { echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6; }
3581 else
3582 { echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6; }
3584 fi
3585
3586
3587 # Check whether --with-gtk was given.
3588 if test "${with_gtk+set}" = set; then
3589 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3590 fi
3591
3592
3593 # Check whether --with-motif was given.
3594 if test "${with_motif+set}" = set; then
3595 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3596 fi
3597
3598
3599 # Check whether --with-mac was given.
3600 if test "${with_mac+set}" = set; then
3601 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3602 fi
3603
3604
3605 # Check whether --with-cocoa was given.
3606 if test "${with_cocoa+set}" = set; then
3607 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3608 fi
3609
3610
3611 # Check whether --with-wine was given.
3612 if test "${with_wine+set}" = set; then
3613 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3614 fi
3615
3616
3617 # Check whether --with-msw was given.
3618 if test "${with_msw+set}" = set; then
3619 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3620 fi
3621
3622
3623 # Check whether --with-pm was given.
3624 if test "${with_pm+set}" = set; then
3625 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3626 fi
3627
3628
3629 # Check whether --with-mgl was given.
3630 if test "${with_mgl+set}" = set; then
3631 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3632 fi
3633
3634
3635 # Check whether --with-directfb was given.
3636 if test "${with_directfb+set}" = set; then
3637 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3638 fi
3639
3640
3641 # Check whether --with-microwin was given.
3642 if test "${with_microwin+set}" = set; then
3643 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3644 fi
3645
3646
3647 # Check whether --with-x11 was given.
3648 if test "${with_x11+set}" = set; then
3649 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3650 fi
3651
3652
3653 enablestring=
3654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3655 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3656 no_cache=0
3657 # Check whether --enable-nanox was given.
3658 if test "${enable_nanox+set}" = set; then
3659 enableval=$enable_nanox;
3660 if test "$enableval" = yes; then
3661 ac_cv_use_nanox='wxUSE_NANOX=yes'
3662 else
3663 ac_cv_use_nanox='wxUSE_NANOX=no'
3664 fi
3665
3666 else
3667
3668 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3669 if test "x$LINE" != x ; then
3670 eval "DEFAULT_$LINE"
3671 else
3672 no_cache=1
3673 fi
3674
3675 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3676
3677 fi
3678
3679
3680 eval "$ac_cv_use_nanox"
3681 if test "$no_cache" != 1; then
3682 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3683 fi
3684
3685 if test "$wxUSE_NANOX" = yes; then
3686 { echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6; }
3688 else
3689 { echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6; }
3691 fi
3692
3693
3694 # Check whether --enable-gtk2 was given.
3695 if test "${enable_gtk2+set}" = set; then
3696 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3697 fi
3698
3699
3700 enablestring=
3701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3702 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3703 no_cache=0
3704 # Check whether --enable-gpe was given.
3705 if test "${enable_gpe+set}" = set; then
3706 enableval=$enable_gpe;
3707 if test "$enableval" = yes; then
3708 ac_cv_use_gpe='wxUSE_GPE=yes'
3709 else
3710 ac_cv_use_gpe='wxUSE_GPE=no'
3711 fi
3712
3713 else
3714
3715 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3718 else
3719 no_cache=1
3720 fi
3721
3722 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3723
3724 fi
3725
3726
3727 eval "$ac_cv_use_gpe"
3728 if test "$no_cache" != 1; then
3729 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3730 fi
3731
3732 if test "$wxUSE_GPE" = yes; then
3733 { echo "$as_me:$LINENO: result: yes" >&5
3734 echo "${ECHO_T}yes" >&6; }
3735 else
3736 { echo "$as_me:$LINENO: result: no" >&5
3737 echo "${ECHO_T}no" >&6; }
3738 fi
3739
3740
3741
3742 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3743 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3744 no_cache=0
3745
3746 # Check whether --with-libpng was given.
3747 if test "${with_libpng+set}" = set; then
3748 withval=$with_libpng;
3749 if test "$withval" = yes; then
3750 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3751 elif test "$withval" = no; then
3752 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3753 elif test "$withval" = sys; then
3754 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3755 elif test "$withval" = builtin; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3757 else
3758 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3759 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3760 { (exit 1); exit 1; }; }
3761 fi
3762
3763 else
3764
3765 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3766 if test "x$LINE" != x ; then
3767 eval "DEFAULT_$LINE"
3768 else
3769 no_cache=1
3770 fi
3771
3772 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3773
3774 fi
3775
3776
3777 eval "$ac_cv_use_libpng"
3778 if test "$no_cache" != 1; then
3779 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3780 fi
3781
3782 if test "$wxUSE_LIBPNG" = yes; then
3783 { echo "$as_me:$LINENO: result: yes" >&5
3784 echo "${ECHO_T}yes" >&6; }
3785 elif test "$wxUSE_LIBPNG" = no; then
3786 { echo "$as_me:$LINENO: result: no" >&5
3787 echo "${ECHO_T}no" >&6; }
3788 elif test "$wxUSE_LIBPNG" = sys; then
3789 { echo "$as_me:$LINENO: result: system version" >&5
3790 echo "${ECHO_T}system version" >&6; }
3791 elif test "$wxUSE_LIBPNG" = builtin; then
3792 { echo "$as_me:$LINENO: result: builtin version" >&5
3793 echo "${ECHO_T}builtin version" >&6; }
3794 else
3795 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3796 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3797 { (exit 1); exit 1; }; }
3798 fi
3799
3800
3801 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3802 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3803 no_cache=0
3804
3805 # Check whether --with-libjpeg was given.
3806 if test "${with_libjpeg+set}" = set; then
3807 withval=$with_libjpeg;
3808 if test "$withval" = yes; then
3809 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3810 elif test "$withval" = no; then
3811 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3812 elif test "$withval" = sys; then
3813 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3814 elif test "$withval" = builtin; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3816 else
3817 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3818 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3819 { (exit 1); exit 1; }; }
3820 fi
3821
3822 else
3823
3824 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x ; then
3826 eval "DEFAULT_$LINE"
3827 else
3828 no_cache=1
3829 fi
3830
3831 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3832
3833 fi
3834
3835
3836 eval "$ac_cv_use_libjpeg"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3839 fi
3840
3841 if test "$wxUSE_LIBJPEG" = yes; then
3842 { echo "$as_me:$LINENO: result: yes" >&5
3843 echo "${ECHO_T}yes" >&6; }
3844 elif test "$wxUSE_LIBJPEG" = no; then
3845 { echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6; }
3847 elif test "$wxUSE_LIBJPEG" = sys; then
3848 { echo "$as_me:$LINENO: result: system version" >&5
3849 echo "${ECHO_T}system version" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = builtin; then
3851 { echo "$as_me:$LINENO: result: builtin version" >&5
3852 echo "${ECHO_T}builtin version" >&6; }
3853 else
3854 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3855 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3856 { (exit 1); exit 1; }; }
3857 fi
3858
3859
3860 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3861 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3862 no_cache=0
3863
3864 # Check whether --with-libtiff was given.
3865 if test "${with_libtiff+set}" = set; then
3866 withval=$with_libtiff;
3867 if test "$withval" = yes; then
3868 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3869 elif test "$withval" = no; then
3870 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3871 elif test "$withval" = sys; then
3872 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3873 elif test "$withval" = builtin; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3875 else
3876 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3877 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3878 { (exit 1); exit 1; }; }
3879 fi
3880
3881 else
3882
3883 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x ; then
3885 eval "DEFAULT_$LINE"
3886 else
3887 no_cache=1
3888 fi
3889
3890 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3891
3892 fi
3893
3894
3895 eval "$ac_cv_use_libtiff"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3898 fi
3899
3900 if test "$wxUSE_LIBTIFF" = yes; then
3901 { echo "$as_me:$LINENO: result: yes" >&5
3902 echo "${ECHO_T}yes" >&6; }
3903 elif test "$wxUSE_LIBTIFF" = no; then
3904 { echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6; }
3906 elif test "$wxUSE_LIBTIFF" = sys; then
3907 { echo "$as_me:$LINENO: result: system version" >&5
3908 echo "${ECHO_T}system version" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = builtin; then
3910 { echo "$as_me:$LINENO: result: builtin version" >&5
3911 echo "${ECHO_T}builtin version" >&6; }
3912 else
3913 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3914 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3915 { (exit 1); exit 1; }; }
3916 fi
3917
3918
3919 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3920 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3921 no_cache=0
3922
3923 # Check whether --with-libxpm was given.
3924 if test "${with_libxpm+set}" = set; then
3925 withval=$with_libxpm;
3926 if test "$withval" = yes; then
3927 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3928 elif test "$withval" = no; then
3929 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3930 elif test "$withval" = sys; then
3931 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3932 elif test "$withval" = builtin; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3934 else
3935 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3936 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3937 { (exit 1); exit 1; }; }
3938 fi
3939
3940 else
3941
3942 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x ; then
3944 eval "DEFAULT_$LINE"
3945 else
3946 no_cache=1
3947 fi
3948
3949 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3950
3951 fi
3952
3953
3954 eval "$ac_cv_use_libxpm"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3957 fi
3958
3959 if test "$wxUSE_LIBXPM" = yes; then
3960 { echo "$as_me:$LINENO: result: yes" >&5
3961 echo "${ECHO_T}yes" >&6; }
3962 elif test "$wxUSE_LIBXPM" = no; then
3963 { echo "$as_me:$LINENO: result: no" >&5
3964 echo "${ECHO_T}no" >&6; }
3965 elif test "$wxUSE_LIBXPM" = sys; then
3966 { echo "$as_me:$LINENO: result: system version" >&5
3967 echo "${ECHO_T}system version" >&6; }
3968 elif test "$wxUSE_LIBXPM" = builtin; then
3969 { echo "$as_me:$LINENO: result: builtin version" >&5
3970 echo "${ECHO_T}builtin version" >&6; }
3971 else
3972 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3973 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3974 { (exit 1); exit 1; }; }
3975 fi
3976
3977
3978 withstring=
3979 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3980 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3981 no_cache=0
3982
3983 # Check whether --with-libmspack was given.
3984 if test "${with_libmspack+set}" = set; then
3985 withval=$with_libmspack;
3986 if test "$withval" = yes; then
3987 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3988 else
3989 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3990 fi
3991
3992 else
3993
3994 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3995 if test "x$LINE" != x ; then
3996 eval "DEFAULT_$LINE"
3997 else
3998 no_cache=1
3999 fi
4000
4001 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4002
4003 fi
4004
4005
4006 eval "$ac_cv_use_libmspack"
4007 if test "$no_cache" != 1; then
4008 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4009 fi
4010
4011 if test "$wxUSE_LIBMSPACK" = yes; then
4012 { echo "$as_me:$LINENO: result: yes" >&5
4013 echo "${ECHO_T}yes" >&6; }
4014 else
4015 { echo "$as_me:$LINENO: result: no" >&5
4016 echo "${ECHO_T}no" >&6; }
4017 fi
4018
4019
4020 withstring=
4021 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4022 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4023 no_cache=0
4024
4025 # Check whether --with-sdl was given.
4026 if test "${with_sdl+set}" = set; then
4027 withval=$with_sdl;
4028 if test "$withval" = yes; then
4029 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4030 else
4031 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4032 fi
4033
4034 else
4035
4036 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x ; then
4038 eval "DEFAULT_$LINE"
4039 else
4040 no_cache=1
4041 fi
4042
4043 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4044
4045 fi
4046
4047
4048 eval "$ac_cv_use_sdl"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4051 fi
4052
4053 if test "$wxUSE_LIBSDL" = yes; then
4054 { echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6; }
4056 else
4057 { echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6; }
4059 fi
4060
4061
4062 withstring=
4063 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4064 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4065 no_cache=0
4066
4067 # Check whether --with-gnomeprint was given.
4068 if test "${with_gnomeprint+set}" = set; then
4069 withval=$with_gnomeprint;
4070 if test "$withval" = yes; then
4071 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4072 else
4073 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4074 fi
4075
4076 else
4077
4078 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x ; then
4080 eval "DEFAULT_$LINE"
4081 else
4082 no_cache=1
4083 fi
4084
4085 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4086
4087 fi
4088
4089
4090 eval "$ac_cv_use_gnomeprint"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4093 fi
4094
4095 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4096 { echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6; }
4098 else
4099 { echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6; }
4101 fi
4102
4103
4104 withstring=
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4107 no_cache=0
4108
4109 # Check whether --with-gnomevfs was given.
4110 if test "${with_gnomevfs+set}" = set; then
4111 withval=$with_gnomevfs;
4112 if test "$withval" = yes; then
4113 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4114 else
4115 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4116 fi
4117
4118 else
4119
4120 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 else
4124 no_cache=1
4125 fi
4126
4127 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4128
4129 fi
4130
4131
4132 eval "$ac_cv_use_gnomevfs"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4135 fi
4136
4137 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4138 { echo "$as_me:$LINENO: result: yes" >&5
4139 echo "${ECHO_T}yes" >&6; }
4140 else
4141 { echo "$as_me:$LINENO: result: no" >&5
4142 echo "${ECHO_T}no" >&6; }
4143 fi
4144
4145
4146 withstring=
4147 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4148 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4149 no_cache=0
4150
4151 # Check whether --with-hildon was given.
4152 if test "${with_hildon+set}" = set; then
4153 withval=$with_hildon;
4154 if test "$withval" = yes; then
4155 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4156 else
4157 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4158 fi
4159
4160 else
4161
4162 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x ; then
4164 eval "DEFAULT_$LINE"
4165 else
4166 no_cache=1
4167 fi
4168
4169 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4170
4171 fi
4172
4173
4174 eval "$ac_cv_use_hildon"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4177 fi
4178
4179 if test "$wxUSE_LIBHILDON" = yes; then
4180 { echo "$as_me:$LINENO: result: yes" >&5
4181 echo "${ECHO_T}yes" >&6; }
4182 else
4183 { echo "$as_me:$LINENO: result: no" >&5
4184 echo "${ECHO_T}no" >&6; }
4185 fi
4186
4187
4188 withstring=
4189 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4190 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4191 no_cache=0
4192
4193 # Check whether --with-opengl was given.
4194 if test "${with_opengl+set}" = set; then
4195 withval=$with_opengl;
4196 if test "$withval" = yes; then
4197 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4198 else
4199 ac_cv_use_opengl='wxUSE_OPENGL=no'
4200 fi
4201
4202 else
4203
4204 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x ; then
4206 eval "DEFAULT_$LINE"
4207 else
4208 no_cache=1
4209 fi
4210
4211 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4212
4213 fi
4214
4215
4216 eval "$ac_cv_use_opengl"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4219 fi
4220
4221 if test "$wxUSE_OPENGL" = yes; then
4222 { echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6; }
4224 else
4225 { echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6; }
4227 fi
4228
4229
4230 if test "$wxUSE_UNIVERSAL" = "yes"; then
4231
4232 # Check whether --with-themes was given.
4233 if test "${with_themes+set}" = set; then
4234 withval=$with_themes; wxUNIV_THEMES="$withval"
4235 fi
4236
4237 fi
4238
4239 fi
4240
4241
4242 withstring=
4243 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4244 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4245 no_cache=0
4246
4247 # Check whether --with-dmalloc was given.
4248 if test "${with_dmalloc+set}" = set; then
4249 withval=$with_dmalloc;
4250 if test "$withval" = yes; then
4251 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4252 else
4253 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4254 fi
4255
4256 else
4257
4258 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x ; then
4260 eval "DEFAULT_$LINE"
4261 else
4262 no_cache=1
4263 fi
4264
4265 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4266
4267 fi
4268
4269
4270 eval "$ac_cv_use_dmalloc"
4271 if test "$no_cache" != 1; then
4272 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4273 fi
4274
4275 if test "$wxUSE_DMALLOC" = yes; then
4276 { echo "$as_me:$LINENO: result: yes" >&5
4277 echo "${ECHO_T}yes" >&6; }
4278 else
4279 { echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6; }
4281 fi
4282
4283
4284 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4285 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4286 no_cache=0
4287
4288 # Check whether --with-regex was given.
4289 if test "${with_regex+set}" = set; then
4290 withval=$with_regex;
4291 if test "$withval" = yes; then
4292 ac_cv_use_regex='wxUSE_REGEX=yes'
4293 elif test "$withval" = no; then
4294 ac_cv_use_regex='wxUSE_REGEX=no'
4295 elif test "$withval" = sys; then
4296 ac_cv_use_regex='wxUSE_REGEX=sys'
4297 elif test "$withval" = builtin; then
4298 ac_cv_use_regex='wxUSE_REGEX=builtin'
4299 else
4300 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4301 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4302 { (exit 1); exit 1; }; }
4303 fi
4304
4305 else
4306
4307 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x ; then
4309 eval "DEFAULT_$LINE"
4310 else
4311 no_cache=1
4312 fi
4313
4314 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4315
4316 fi
4317
4318
4319 eval "$ac_cv_use_regex"
4320 if test "$no_cache" != 1; then
4321 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4322 fi
4323
4324 if test "$wxUSE_REGEX" = yes; then
4325 { echo "$as_me:$LINENO: result: yes" >&5
4326 echo "${ECHO_T}yes" >&6; }
4327 elif test "$wxUSE_REGEX" = no; then
4328 { echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6; }
4330 elif test "$wxUSE_REGEX" = sys; then
4331 { echo "$as_me:$LINENO: result: system version" >&5
4332 echo "${ECHO_T}system version" >&6; }
4333 elif test "$wxUSE_REGEX" = builtin; then
4334 { echo "$as_me:$LINENO: result: builtin version" >&5
4335 echo "${ECHO_T}builtin version" >&6; }
4336 else
4337 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4338 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4339 { (exit 1); exit 1; }; }
4340 fi
4341
4342
4343 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4344 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4345 no_cache=0
4346
4347 # Check whether --with-zlib was given.
4348 if test "${with_zlib+set}" = set; then
4349 withval=$with_zlib;
4350 if test "$withval" = yes; then
4351 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4352 elif test "$withval" = no; then
4353 ac_cv_use_zlib='wxUSE_ZLIB=no'
4354 elif test "$withval" = sys; then
4355 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4356 elif test "$withval" = builtin; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4358 else
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4362 fi
4363
4364 else
4365
4366 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 else
4370 no_cache=1
4371 fi
4372
4373 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4374
4375 fi
4376
4377
4378 eval "$ac_cv_use_zlib"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4381 fi
4382
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4395 else
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4399 fi
4400
4401
4402 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4403 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4404 no_cache=0
4405
4406 # Check whether --with-odbc was given.
4407 if test "${with_odbc+set}" = set; then
4408 withval=$with_odbc;
4409 if test "$withval" = yes; then
4410 ac_cv_use_odbc='wxUSE_ODBC=yes'
4411 elif test "$withval" = no; then
4412 ac_cv_use_odbc='wxUSE_ODBC=no'
4413 elif test "$withval" = sys; then
4414 ac_cv_use_odbc='wxUSE_ODBC=sys'
4415 elif test "$withval" = builtin; then
4416 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4417 else
4418 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4419 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4420 { (exit 1); exit 1; }; }
4421 fi
4422
4423 else
4424
4425 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 else
4429 no_cache=1
4430 fi
4431
4432 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4433
4434 fi
4435
4436
4437 eval "$ac_cv_use_odbc"
4438 if test "$no_cache" != 1; then
4439 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4440 fi
4441
4442 if test "$wxUSE_ODBC" = yes; then
4443 { echo "$as_me:$LINENO: result: yes" >&5
4444 echo "${ECHO_T}yes" >&6; }
4445 elif test "$wxUSE_ODBC" = no; then
4446 { echo "$as_me:$LINENO: result: no" >&5
4447 echo "${ECHO_T}no" >&6; }
4448 elif test "$wxUSE_ODBC" = sys; then
4449 { echo "$as_me:$LINENO: result: system version" >&5
4450 echo "${ECHO_T}system version" >&6; }
4451 elif test "$wxUSE_ODBC" = builtin; then
4452 { echo "$as_me:$LINENO: result: builtin version" >&5
4453 echo "${ECHO_T}builtin version" >&6; }
4454 else
4455 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4456 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4457 { (exit 1); exit 1; }; }
4458 fi
4459
4460
4461 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4462 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4463 no_cache=0
4464
4465 # Check whether --with-expat was given.
4466 if test "${with_expat+set}" = set; then
4467 withval=$with_expat;
4468 if test "$withval" = yes; then
4469 ac_cv_use_expat='wxUSE_EXPAT=yes'
4470 elif test "$withval" = no; then
4471 ac_cv_use_expat='wxUSE_EXPAT=no'
4472 elif test "$withval" = sys; then
4473 ac_cv_use_expat='wxUSE_EXPAT=sys'
4474 elif test "$withval" = builtin; then
4475 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4476 else
4477 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4478 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4479 { (exit 1); exit 1; }; }
4480 fi
4481
4482 else
4483
4484 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x ; then
4486 eval "DEFAULT_$LINE"
4487 else
4488 no_cache=1
4489 fi
4490
4491 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4492
4493 fi
4494
4495
4496 eval "$ac_cv_use_expat"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4499 fi
4500
4501 if test "$wxUSE_EXPAT" = yes; then
4502 { echo "$as_me:$LINENO: result: yes" >&5
4503 echo "${ECHO_T}yes" >&6; }
4504 elif test "$wxUSE_EXPAT" = no; then
4505 { echo "$as_me:$LINENO: result: no" >&5
4506 echo "${ECHO_T}no" >&6; }
4507 elif test "$wxUSE_EXPAT" = sys; then
4508 { echo "$as_me:$LINENO: result: system version" >&5
4509 echo "${ECHO_T}system version" >&6; }
4510 elif test "$wxUSE_EXPAT" = builtin; then
4511 { echo "$as_me:$LINENO: result: builtin version" >&5
4512 echo "${ECHO_T}builtin version" >&6; }
4513 else
4514 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4515 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4516 { (exit 1); exit 1; }; }
4517 fi
4518
4519
4520
4521
4522 enablestring=
4523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4524 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4525 no_cache=0
4526 # Check whether --enable-shared was given.
4527 if test "${enable_shared+set}" = set; then
4528 enableval=$enable_shared;
4529 if test "$enableval" = yes; then
4530 ac_cv_use_shared='wxUSE_SHARED=yes'
4531 else
4532 ac_cv_use_shared='wxUSE_SHARED=no'
4533 fi
4534
4535 else
4536
4537 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x ; then
4539 eval "DEFAULT_$LINE"
4540 else
4541 no_cache=1
4542 fi
4543
4544 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4545
4546 fi
4547
4548
4549 eval "$ac_cv_use_shared"
4550 if test "$no_cache" != 1; then
4551 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4552 fi
4553
4554 if test "$wxUSE_SHARED" = yes; then
4555 { echo "$as_me:$LINENO: result: yes" >&5
4556 echo "${ECHO_T}yes" >&6; }
4557 else
4558 { echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6; }
4560 fi
4561
4562
4563 enablestring=
4564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4565 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4566 no_cache=0
4567 # Check whether --enable-optimise was given.
4568 if test "${enable_optimise+set}" = set; then
4569 enableval=$enable_optimise;
4570 if test "$enableval" = yes; then
4571 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4572 else
4573 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4574 fi
4575
4576 else
4577
4578 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x ; then
4580 eval "DEFAULT_$LINE"
4581 else
4582 no_cache=1
4583 fi
4584
4585 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4586
4587 fi
4588
4589
4590 eval "$ac_cv_use_optimise"
4591 if test "$no_cache" != 1; then
4592 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4593 fi
4594
4595 if test "$wxUSE_OPTIMISE" = yes; then
4596 { echo "$as_me:$LINENO: result: yes" >&5
4597 echo "${ECHO_T}yes" >&6; }
4598 else
4599 { echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6; }
4601 fi
4602
4603
4604 enablestring=
4605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4606 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4607 no_cache=0
4608 # Check whether --enable-debug was given.
4609 if test "${enable_debug+set}" = set; then
4610 enableval=$enable_debug;
4611 if test "$enableval" = yes; then
4612 ac_cv_use_debug='wxUSE_DEBUG=yes'
4613 else
4614 ac_cv_use_debug='wxUSE_DEBUG=no'
4615 fi
4616
4617 else
4618
4619 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x ; then
4621 eval "DEFAULT_$LINE"
4622 else
4623 no_cache=1
4624 fi
4625
4626 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4627
4628 fi
4629
4630
4631 eval "$ac_cv_use_debug"
4632 if test "$no_cache" != 1; then
4633 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4634 fi
4635
4636 if test "$wxUSE_DEBUG" = yes; then
4637 { echo "$as_me:$LINENO: result: yes" >&5
4638 echo "${ECHO_T}yes" >&6; }
4639 else
4640 { echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6; }
4642 fi
4643
4644
4645 enablestring=
4646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4647 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4648 no_cache=0
4649 # Check whether --enable-stl was given.
4650 if test "${enable_stl+set}" = set; then
4651 enableval=$enable_stl;
4652 if test "$enableval" = yes; then
4653 ac_cv_use_stl='wxUSE_STL=yes'
4654 else
4655 ac_cv_use_stl='wxUSE_STL=no'
4656 fi
4657
4658 else
4659
4660 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x ; then
4662 eval "DEFAULT_$LINE"
4663 else
4664 no_cache=1
4665 fi
4666
4667 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4668
4669 fi
4670
4671
4672 eval "$ac_cv_use_stl"
4673 if test "$no_cache" != 1; then
4674 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4675 fi
4676
4677 if test "$wxUSE_STL" = yes; then
4678 { echo "$as_me:$LINENO: result: yes" >&5
4679 echo "${ECHO_T}yes" >&6; }
4680 else
4681 { echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6; }
4683 fi
4684
4685
4686 enablestring=
4687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4688 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4689 no_cache=0
4690 # Check whether --enable-extended_rtti was given.
4691 if test "${enable_extended_rtti+set}" = set; then
4692 enableval=$enable_extended_rtti;
4693 if test "$enableval" = yes; then
4694 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4695 else
4696 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4697 fi
4698
4699 else
4700
4701 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x ; then
4703 eval "DEFAULT_$LINE"
4704 else
4705 no_cache=1
4706 fi
4707
4708 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4709
4710 fi
4711
4712
4713 eval "$ac_cv_use_extended_rtti"
4714 if test "$no_cache" != 1; then
4715 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4716 fi
4717
4718 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4719 { echo "$as_me:$LINENO: result: yes" >&5
4720 echo "${ECHO_T}yes" >&6; }
4721 else
4722 { echo "$as_me:$LINENO: result: no" >&5
4723 echo "${ECHO_T}no" >&6; }
4724 fi
4725
4726 if test "$USE_OS2" = "1"; then
4727 DEFAULT_wxUSE_OMF=no
4728
4729 enablestring=
4730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4731 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4732 no_cache=0
4733 # Check whether --enable-omf was given.
4734 if test "${enable_omf+set}" = set; then
4735 enableval=$enable_omf;
4736 if test "$enableval" = yes; then
4737 ac_cv_use_omf='wxUSE_OMF=yes'
4738 else
4739 ac_cv_use_omf='wxUSE_OMF=no'
4740 fi
4741
4742 else
4743
4744 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x ; then
4746 eval "DEFAULT_$LINE"
4747 else
4748 no_cache=1
4749 fi
4750
4751 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4752
4753 fi
4754
4755
4756 eval "$ac_cv_use_omf"
4757 if test "$no_cache" != 1; then
4758 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4759 fi
4760
4761 if test "$wxUSE_OMF" = yes; then
4762 { echo "$as_me:$LINENO: result: yes" >&5
4763 echo "${ECHO_T}yes" >&6; }
4764 else
4765 { echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6; }
4767 fi
4768
4769 fi
4770
4771 if test "$wxUSE_DEBUG" = "yes"; then
4772 DEFAULT_wxUSE_DEBUG_FLAG=yes
4773 DEFAULT_wxUSE_DEBUG_INFO=yes
4774 BUILD=debug
4775 elif test "$wxUSE_DEBUG" = "no"; then
4776 DEFAULT_wxUSE_DEBUG_FLAG=no
4777 DEFAULT_wxUSE_DEBUG_INFO=no
4778 BUILD=release
4779 fi
4780
4781
4782 enablestring=
4783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4785 no_cache=0
4786 # Check whether --enable-debug_flag was given.
4787 if test "${enable_debug_flag+set}" = set; then
4788 enableval=$enable_debug_flag;
4789 if test "$enableval" = yes; then
4790 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4791 else
4792 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4793 fi
4794
4795 else
4796
4797 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4798 if test "x$LINE" != x ; then
4799 eval "DEFAULT_$LINE"
4800 else
4801 no_cache=1
4802 fi
4803
4804 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4805
4806 fi
4807
4808
4809 eval "$ac_cv_use_debug_flag"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_DEBUG_FLAG" = yes; then
4815 { echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6; }
4817 else
4818 { echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6; }
4820 fi
4821
4822
4823 enablestring=
4824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4826 no_cache=0
4827 # Check whether --enable-debug_info was given.
4828 if test "${enable_debug_info+set}" = set; then
4829 enableval=$enable_debug_info;
4830 if test "$enableval" = yes; then
4831 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4832 else
4833 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4834 fi
4835
4836 else
4837
4838 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4839 if test "x$LINE" != x ; then
4840 eval "DEFAULT_$LINE"
4841 else
4842 no_cache=1
4843 fi
4844
4845 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4846
4847 fi
4848
4849
4850 eval "$ac_cv_use_debug_info"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_DEBUG_INFO" = yes; then
4856 { echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6; }
4858 else
4859 { echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6; }
4861 fi
4862
4863
4864 enablestring=
4865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4867 no_cache=0
4868 # Check whether --enable-debug_gdb was given.
4869 if test "${enable_debug_gdb+set}" = set; then
4870 enableval=$enable_debug_gdb;
4871 if test "$enableval" = yes; then
4872 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4873 else
4874 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4875 fi
4876
4877 else
4878
4879 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4880 if test "x$LINE" != x ; then
4881 eval "DEFAULT_$LINE"
4882 else
4883 no_cache=1
4884 fi
4885
4886 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4887
4888 fi
4889
4890
4891 eval "$ac_cv_use_debug_gdb"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_DEBUG_GDB" = yes; then
4897 { echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6; }
4899 else
4900 { echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6; }
4902 fi
4903
4904
4905 enablestring=
4906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4908 no_cache=0
4909 # Check whether --enable-debug_cntxt was given.
4910 if test "${enable_debug_cntxt+set}" = set; then
4911 enableval=$enable_debug_cntxt;
4912 if test "$enableval" = yes; then
4913 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4914 else
4915 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4916 fi
4917
4918 else
4919
4920 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4921 if test "x$LINE" != x ; then
4922 eval "DEFAULT_$LINE"
4923 else
4924 no_cache=1
4925 fi
4926
4927 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4928
4929 fi
4930
4931
4932 eval "$ac_cv_use_debug_cntxt"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4938 { echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6; }
4940 else
4941 { echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6; }
4943 fi
4944
4945
4946 enablestring=
4947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4949 no_cache=0
4950 # Check whether --enable-mem_tracing was given.
4951 if test "${enable_mem_tracing+set}" = set; then
4952 enableval=$enable_mem_tracing;
4953 if test "$enableval" = yes; then
4954 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4955 else
4956 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4957 fi
4958
4959 else
4960
4961 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4962 if test "x$LINE" != x ; then
4963 eval "DEFAULT_$LINE"
4964 else
4965 no_cache=1
4966 fi
4967
4968 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4969
4970 fi
4971
4972
4973 eval "$ac_cv_use_mem_tracing"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 if test "$wxUSE_MEM_TRACING" = yes; then
4979 { echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6; }
4981 else
4982 { echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6; }
4984 fi
4985
4986
4987 enablestring=
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4990 no_cache=0
4991 # Check whether --enable-profile was given.
4992 if test "${enable_profile+set}" = set; then
4993 enableval=$enable_profile;
4994 if test "$enableval" = yes; then
4995 ac_cv_use_profile='wxUSE_PROFILE=yes'
4996 else
4997 ac_cv_use_profile='wxUSE_PROFILE=no'
4998 fi
4999
5000 else
5001
5002 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x ; then
5004 eval "DEFAULT_$LINE"
5005 else
5006 no_cache=1
5007 fi
5008
5009 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5010
5011 fi
5012
5013
5014 eval "$ac_cv_use_profile"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5017 fi
5018
5019 if test "$wxUSE_PROFILE" = yes; then
5020 { echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6; }
5022 else
5023 { echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6; }
5025 fi
5026
5027
5028 enablestring=
5029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5031 no_cache=0
5032 # Check whether --enable-no_rtti was given.
5033 if test "${enable_no_rtti+set}" = set; then
5034 enableval=$enable_no_rtti;
5035 if test "$enableval" = yes; then
5036 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5037 else
5038 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5039 fi
5040
5041 else
5042
5043 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x ; then
5045 eval "DEFAULT_$LINE"
5046 else
5047 no_cache=1
5048 fi
5049
5050 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5051
5052 fi
5053
5054
5055 eval "$ac_cv_use_no_rtti"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5058 fi
5059
5060 if test "$wxUSE_NO_RTTI" = yes; then
5061 { echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6; }
5063 else
5064 { echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6; }
5066 fi
5067
5068
5069 enablestring=
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5072 no_cache=0
5073 # Check whether --enable-no_exceptions was given.
5074 if test "${enable_no_exceptions+set}" = set; then
5075 enableval=$enable_no_exceptions;
5076 if test "$enableval" = yes; then
5077 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5078 else
5079 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5080 fi
5081
5082 else
5083
5084 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5087 else
5088 no_cache=1
5089 fi
5090
5091 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5092
5093 fi
5094
5095
5096 eval "$ac_cv_use_no_exceptions"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5102 { echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6; }
5104 else
5105 { echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6; }
5107 fi
5108
5109
5110 enablestring=
5111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5113 no_cache=0
5114 # Check whether --enable-permissive was given.
5115 if test "${enable_permissive+set}" = set; then
5116 enableval=$enable_permissive;
5117 if test "$enableval" = yes; then
5118 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5119 else
5120 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5121 fi
5122
5123 else
5124
5125 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x ; then
5127 eval "DEFAULT_$LINE"
5128 else
5129 no_cache=1
5130 fi
5131
5132 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5133
5134 fi
5135
5136
5137 eval "$ac_cv_use_permissive"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5140 fi
5141
5142 if test "$wxUSE_PERMISSIVE" = yes; then
5143 { echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6; }
5145 else
5146 { echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6; }
5148 fi
5149
5150
5151 enablestring=
5152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5154 no_cache=0
5155 # Check whether --enable-no_deps was given.
5156 if test "${enable_no_deps+set}" = set; then
5157 enableval=$enable_no_deps;
5158 if test "$enableval" = yes; then
5159 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5160 else
5161 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5162 fi
5163
5164 else
5165
5166 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x ; then
5168 eval "DEFAULT_$LINE"
5169 else
5170 no_cache=1
5171 fi
5172
5173 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5174
5175 fi
5176
5177
5178 eval "$ac_cv_use_no_deps"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5181 fi
5182
5183 if test "$wxUSE_NO_DEPS" = yes; then
5184 { echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6; }
5186 else
5187 { echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6; }
5189 fi
5190
5191
5192 enablestring=
5193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5195 no_cache=0
5196 # Check whether --enable-vararg_macros was given.
5197 if test "${enable_vararg_macros+set}" = set; then
5198 enableval=$enable_vararg_macros;
5199 if test "$enableval" = yes; then
5200 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5201 else
5202 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5203 fi
5204
5205 else
5206
5207 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5210 else
5211 no_cache=1
5212 fi
5213
5214 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5215
5216 fi
5217
5218
5219 eval "$ac_cv_use_vararg_macros"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test "$wxUSE_VARARG_MACROS" = yes; then
5225 { echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6; }
5227 else
5228 { echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6; }
5230 fi
5231
5232
5233 enablestring=
5234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5236 no_cache=0
5237 # Check whether --enable-universal_binary was given.
5238 if test "${enable_universal_binary+set}" = set; then
5239 enableval=$enable_universal_binary;
5240 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5241
5242 else
5243
5244 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x ; then
5246 eval "DEFAULT_$LINE"
5247 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5248 else
5249 no_cache=1
5250 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5251 fi
5252
5253 fi
5254
5255
5256 eval "$wx_cv_use_universal_binary"
5257 if test "$no_cache" != 1; then
5258 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5259 fi
5260
5261 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5262 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5263
5264
5265
5266 enablestring=enable
5267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5268 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5269 no_cache=0
5270 # Check whether --enable-compat26 was given.
5271 if test "${enable_compat26+set}" = set; then
5272 enableval=$enable_compat26;
5273 if test "$enableval" = yes; then
5274 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5275 else
5276 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5277 fi
5278
5279 else
5280
5281 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x ; then
5283 eval "DEFAULT_$LINE"
5284 else
5285 no_cache=1
5286 fi
5287
5288 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5289
5290 fi
5291
5292
5293 eval "$ac_cv_use_compat26"
5294 if test "$no_cache" != 1; then
5295 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5296 fi
5297
5298 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5299 { echo "$as_me:$LINENO: result: yes" >&5
5300 echo "${ECHO_T}yes" >&6; }
5301 else
5302 { echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6; }
5304 fi
5305
5306
5307 enablestring=disable
5308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5309 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5310 no_cache=0
5311 # Check whether --enable-compat28 was given.
5312 if test "${enable_compat28+set}" = set; then
5313 enableval=$enable_compat28;
5314 if test "$enableval" = yes; then
5315 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5316 else
5317 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5318 fi
5319
5320 else
5321
5322 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5323 if test "x$LINE" != x ; then
5324 eval "DEFAULT_$LINE"
5325 else
5326 no_cache=1
5327 fi
5328
5329 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5330
5331 fi
5332
5333
5334 eval "$ac_cv_use_compat28"
5335 if test "$no_cache" != 1; then
5336 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5337 fi
5338
5339 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5340 { echo "$as_me:$LINENO: result: yes" >&5
5341 echo "${ECHO_T}yes" >&6; }
5342 else
5343 { echo "$as_me:$LINENO: result: no" >&5
5344 echo "${ECHO_T}no" >&6; }
5345 fi
5346
5347
5348
5349 enablestring=
5350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5352 no_cache=0
5353 # Check whether --enable-rpath was given.
5354 if test "${enable_rpath+set}" = set; then
5355 enableval=$enable_rpath;
5356 if test "$enableval" = yes; then
5357 ac_cv_use_rpath='wxUSE_RPATH=yes'
5358 else
5359 ac_cv_use_rpath='wxUSE_RPATH=no'
5360 fi
5361
5362 else
5363
5364 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5365 if test "x$LINE" != x ; then
5366 eval "DEFAULT_$LINE"
5367 else
5368 no_cache=1
5369 fi
5370
5371 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5372
5373 fi
5374
5375
5376 eval "$ac_cv_use_rpath"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5379 fi
5380
5381 if test "$wxUSE_RPATH" = yes; then
5382 { echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6; }
5384 else
5385 { echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6; }
5387 fi
5388
5389
5390
5391
5392
5393 enablestring=
5394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5395 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5396 no_cache=0
5397 # Check whether --enable-intl was given.
5398 if test "${enable_intl+set}" = set; then
5399 enableval=$enable_intl;
5400 if test "$enableval" = yes; then
5401 ac_cv_use_intl='wxUSE_INTL=yes'
5402 else
5403 ac_cv_use_intl='wxUSE_INTL=no'
5404 fi
5405
5406 else
5407
5408 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x ; then
5410 eval "DEFAULT_$LINE"
5411 else
5412 no_cache=1
5413 fi
5414
5415 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5416
5417 fi
5418
5419
5420 eval "$ac_cv_use_intl"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5423 fi
5424
5425 if test "$wxUSE_INTL" = yes; then
5426 { echo "$as_me:$LINENO: result: yes" >&5
5427 echo "${ECHO_T}yes" >&6; }
5428 else
5429 { echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6; }
5431 fi
5432
5433
5434 enablestring=
5435 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5436 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5437 no_cache=0
5438 # Check whether --enable-config was given.
5439 if test "${enable_config+set}" = set; then
5440 enableval=$enable_config;
5441 if test "$enableval" = yes; then
5442 ac_cv_use_config='wxUSE_CONFIG=yes'
5443 else
5444 ac_cv_use_config='wxUSE_CONFIG=no'
5445 fi
5446
5447 else
5448
5449 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x ; then
5451 eval "DEFAULT_$LINE"
5452 else
5453 no_cache=1
5454 fi
5455
5456 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5457
5458 fi
5459
5460
5461 eval "$ac_cv_use_config"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5464 fi
5465
5466 if test "$wxUSE_CONFIG" = yes; then
5467 { echo "$as_me:$LINENO: result: yes" >&5
5468 echo "${ECHO_T}yes" >&6; }
5469 else
5470 { echo "$as_me:$LINENO: result: no" >&5
5471 echo "${ECHO_T}no" >&6; }
5472 fi
5473
5474
5475
5476 enablestring=
5477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5478 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5479 no_cache=0
5480 # Check whether --enable-protocols was given.
5481 if test "${enable_protocols+set}" = set; then
5482 enableval=$enable_protocols;
5483 if test "$enableval" = yes; then
5484 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5485 else
5486 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5487 fi
5488
5489 else
5490
5491 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x ; then
5493 eval "DEFAULT_$LINE"
5494 else
5495 no_cache=1
5496 fi
5497
5498 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5499
5500 fi
5501
5502
5503 eval "$ac_cv_use_protocols"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5506 fi
5507
5508 if test "$wxUSE_PROTOCOL" = yes; then
5509 { echo "$as_me:$LINENO: result: yes" >&5
5510 echo "${ECHO_T}yes" >&6; }
5511 else
5512 { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5514 fi
5515
5516
5517 enablestring=
5518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5519 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5520 no_cache=0
5521 # Check whether --enable-ftp was given.
5522 if test "${enable_ftp+set}" = set; then
5523 enableval=$enable_ftp;
5524 if test "$enableval" = yes; then
5525 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5526 else
5527 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5528 fi
5529
5530 else
5531
5532 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x ; then
5534 eval "DEFAULT_$LINE"
5535 else
5536 no_cache=1
5537 fi
5538
5539 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5540
5541 fi
5542
5543
5544 eval "$ac_cv_use_ftp"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5547 fi
5548
5549 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5550 { echo "$as_me:$LINENO: result: yes" >&5
5551 echo "${ECHO_T}yes" >&6; }
5552 else
5553 { echo "$as_me:$LINENO: result: no" >&5
5554 echo "${ECHO_T}no" >&6; }
5555 fi
5556
5557
5558 enablestring=
5559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5560 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5561 no_cache=0
5562 # Check whether --enable-http was given.
5563 if test "${enable_http+set}" = set; then
5564 enableval=$enable_http;
5565 if test "$enableval" = yes; then
5566 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5567 else
5568 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5569 fi
5570
5571 else
5572
5573 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x ; then
5575 eval "DEFAULT_$LINE"
5576 else
5577 no_cache=1
5578 fi
5579
5580 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5581
5582 fi
5583
5584
5585 eval "$ac_cv_use_http"
5586 if test "$no_cache" != 1; then
5587 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5588 fi
5589
5590 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5591 { echo "$as_me:$LINENO: result: yes" >&5
5592 echo "${ECHO_T}yes" >&6; }
5593 else
5594 { echo "$as_me:$LINENO: result: no" >&5
5595 echo "${ECHO_T}no" >&6; }
5596 fi
5597
5598
5599 enablestring=
5600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5601 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5602 no_cache=0
5603 # Check whether --enable-fileproto was given.
5604 if test "${enable_fileproto+set}" = set; then
5605 enableval=$enable_fileproto;
5606 if test "$enableval" = yes; then
5607 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5608 else
5609 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5610 fi
5611
5612 else
5613
5614 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x ; then
5616 eval "DEFAULT_$LINE"
5617 else
5618 no_cache=1
5619 fi
5620
5621 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5622
5623 fi
5624
5625
5626 eval "$ac_cv_use_fileproto"
5627 if test "$no_cache" != 1; then
5628 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5629 fi
5630
5631 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5632 { echo "$as_me:$LINENO: result: yes" >&5
5633 echo "${ECHO_T}yes" >&6; }
5634 else
5635 { echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6; }
5637 fi
5638
5639
5640 enablestring=
5641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5642 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5643 no_cache=0
5644 # Check whether --enable-sockets was given.
5645 if test "${enable_sockets+set}" = set; then
5646 enableval=$enable_sockets;
5647 if test "$enableval" = yes; then
5648 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5649 else
5650 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5651 fi
5652
5653 else
5654
5655 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x ; then
5657 eval "DEFAULT_$LINE"
5658 else
5659 no_cache=1
5660 fi
5661
5662 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5663
5664 fi
5665
5666
5667 eval "$ac_cv_use_sockets"
5668 if test "$no_cache" != 1; then
5669 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5670 fi
5671
5672 if test "$wxUSE_SOCKETS" = yes; then
5673 { echo "$as_me:$LINENO: result: yes" >&5
5674 echo "${ECHO_T}yes" >&6; }
5675 else
5676 { echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6; }
5678 fi
5679
5680
5681 enablestring=
5682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5683 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5684 no_cache=0
5685 # Check whether --enable-ole was given.
5686 if test "${enable_ole+set}" = set; then
5687 enableval=$enable_ole;
5688 if test "$enableval" = yes; then
5689 ac_cv_use_ole='wxUSE_OLE=yes'
5690 else
5691 ac_cv_use_ole='wxUSE_OLE=no'
5692 fi
5693
5694 else
5695
5696 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x ; then
5698 eval "DEFAULT_$LINE"
5699 else
5700 no_cache=1
5701 fi
5702
5703 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5704
5705 fi
5706
5707
5708 eval "$ac_cv_use_ole"
5709 if test "$no_cache" != 1; then
5710 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5711 fi
5712
5713 if test "$wxUSE_OLE" = yes; then
5714 { echo "$as_me:$LINENO: result: yes" >&5
5715 echo "${ECHO_T}yes" >&6; }
5716 else
5717 { echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6; }
5719 fi
5720
5721
5722 enablestring=
5723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5725 no_cache=0
5726 # Check whether --enable-dataobj was given.
5727 if test "${enable_dataobj+set}" = set; then
5728 enableval=$enable_dataobj;
5729 if test "$enableval" = yes; then
5730 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5731 else
5732 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5733 fi
5734
5735 else
5736
5737 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5740 else
5741 no_cache=1
5742 fi
5743
5744 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5745
5746 fi
5747
5748
5749 eval "$ac_cv_use_dataobj"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5752 fi
5753
5754 if test "$wxUSE_DATAOBJ" = yes; then
5755 { echo "$as_me:$LINENO: result: yes" >&5
5756 echo "${ECHO_T}yes" >&6; }
5757 else
5758 { echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6; }
5760 fi
5761
5762
5763
5764 enablestring=
5765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5767 no_cache=0
5768 # Check whether --enable-ipc was given.
5769 if test "${enable_ipc+set}" = set; then
5770 enableval=$enable_ipc;
5771 if test "$enableval" = yes; then
5772 ac_cv_use_ipc='wxUSE_IPC=yes'
5773 else
5774 ac_cv_use_ipc='wxUSE_IPC=no'
5775 fi
5776
5777 else
5778
5779 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5782 else
5783 no_cache=1
5784 fi
5785
5786 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5787
5788 fi
5789
5790
5791 eval "$ac_cv_use_ipc"
5792 if test "$no_cache" != 1; then
5793 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5794 fi
5795
5796 if test "$wxUSE_IPC" = yes; then
5797 { echo "$as_me:$LINENO: result: yes" >&5
5798 echo "${ECHO_T}yes" >&6; }
5799 else
5800 { echo "$as_me:$LINENO: result: no" >&5
5801 echo "${ECHO_T}no" >&6; }
5802 fi
5803
5804
5805
5806 enablestring=
5807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5809 no_cache=0
5810 # Check whether --enable-apple_ieee was given.
5811 if test "${enable_apple_ieee+set}" = set; then
5812 enableval=$enable_apple_ieee;
5813 if test "$enableval" = yes; then
5814 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5815 else
5816 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5817 fi
5818
5819 else
5820
5821 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x ; then
5823 eval "DEFAULT_$LINE"
5824 else
5825 no_cache=1
5826 fi
5827
5828 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5829
5830 fi
5831
5832
5833 eval "$ac_cv_use_apple_ieee"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5836 fi
5837
5838 if test "$wxUSE_APPLE_IEEE" = yes; then
5839 { echo "$as_me:$LINENO: result: yes" >&5
5840 echo "${ECHO_T}yes" >&6; }
5841 else
5842 { echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6; }
5844 fi
5845
5846
5847 enablestring=
5848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5850 no_cache=0
5851 # Check whether --enable-arcstream was given.
5852 if test "${enable_arcstream+set}" = set; then
5853 enableval=$enable_arcstream;
5854 if test "$enableval" = yes; then
5855 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5856 else
5857 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5858 fi
5859
5860 else
5861
5862 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x ; then
5864 eval "DEFAULT_$LINE"
5865 else
5866 no_cache=1
5867 fi
5868
5869 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5870
5871 fi
5872
5873
5874 eval "$ac_cv_use_arcstream"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5877 fi
5878
5879 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5880 { echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6; }
5882 else
5883 { echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6; }
5885 fi
5886
5887
5888 enablestring=
5889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5891 no_cache=0
5892 # Check whether --enable-backtrace was given.
5893 if test "${enable_backtrace+set}" = set; then
5894 enableval=$enable_backtrace;
5895 if test "$enableval" = yes; then
5896 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5897 else
5898 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5899 fi
5900
5901 else
5902
5903 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5904 if test "x$LINE" != x ; then
5905 eval "DEFAULT_$LINE"
5906 else
5907 no_cache=1
5908 fi
5909
5910 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5911
5912 fi
5913
5914
5915 eval "$ac_cv_use_backtrace"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5918 fi
5919
5920 if test "$wxUSE_STACKWALKER" = yes; then
5921 { echo "$as_me:$LINENO: result: yes" >&5
5922 echo "${ECHO_T}yes" >&6; }
5923 else
5924 { echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6; }
5926 fi
5927
5928
5929 enablestring=
5930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5931 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5932 no_cache=0
5933 # Check whether --enable-catch_segvs was given.
5934 if test "${enable_catch_segvs+set}" = set; then
5935 enableval=$enable_catch_segvs;
5936 if test "$enableval" = yes; then
5937 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5938 else
5939 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5940 fi
5941
5942 else
5943
5944 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x ; then
5946 eval "DEFAULT_$LINE"
5947 else
5948 no_cache=1
5949 fi
5950
5951 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5952
5953 fi
5954
5955
5956 eval "$ac_cv_use_catch_segvs"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5959 fi
5960
5961 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5962 { echo "$as_me:$LINENO: result: yes" >&5
5963 echo "${ECHO_T}yes" >&6; }
5964 else
5965 { echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6; }
5967 fi
5968
5969
5970 enablestring=
5971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5973 no_cache=0
5974 # Check whether --enable-cmdline was given.
5975 if test "${enable_cmdline+set}" = set; then
5976 enableval=$enable_cmdline;
5977 if test "$enableval" = yes; then
5978 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5979 else
5980 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5981 fi
5982
5983 else
5984
5985 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5986 if test "x$LINE" != x ; then
5987 eval "DEFAULT_$LINE"
5988 else
5989 no_cache=1
5990 fi
5991
5992 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5993
5994 fi
5995
5996
5997 eval "$ac_cv_use_cmdline"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6000 fi
6001
6002 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6003 { echo "$as_me:$LINENO: result: yes" >&5
6004 echo "${ECHO_T}yes" >&6; }
6005 else
6006 { echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6; }
6008 fi
6009
6010
6011 enablestring=
6012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6014 no_cache=0
6015 # Check whether --enable-datetime was given.
6016 if test "${enable_datetime+set}" = set; then
6017 enableval=$enable_datetime;
6018 if test "$enableval" = yes; then
6019 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6020 else
6021 ac_cv_use_datetime='wxUSE_DATETIME=no'
6022 fi
6023
6024 else
6025
6026 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
6027 if test "x$LINE" != x ; then
6028 eval "DEFAULT_$LINE"
6029 else
6030 no_cache=1
6031 fi
6032
6033 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6034
6035 fi
6036
6037
6038 eval "$ac_cv_use_datetime"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6041 fi
6042
6043 if test "$wxUSE_DATETIME" = yes; then
6044 { echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6; }
6046 else
6047 { echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6; }
6049 fi
6050
6051
6052 enablestring=
6053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6055 no_cache=0
6056 # Check whether --enable-debugreport was given.
6057 if test "${enable_debugreport+set}" = set; then
6058 enableval=$enable_debugreport;
6059 if test "$enableval" = yes; then
6060 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6061 else
6062 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6063 fi
6064
6065 else
6066
6067 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6068 if test "x$LINE" != x ; then
6069 eval "DEFAULT_$LINE"
6070 else
6071 no_cache=1
6072 fi
6073
6074 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6075
6076 fi
6077
6078
6079 eval "$ac_cv_use_debugreport"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6082 fi
6083
6084 if test "$wxUSE_DEBUGREPORT" = yes; then
6085 { echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6; }
6087 else
6088 { echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6; }
6090 fi
6091
6092
6093 enablestring=
6094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6096 no_cache=0
6097 # Check whether --enable-dialupman was given.
6098 if test "${enable_dialupman+set}" = set; then
6099 enableval=$enable_dialupman;
6100 if test "$enableval" = yes; then
6101 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6102 else
6103 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6104 fi
6105
6106 else
6107
6108 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x ; then
6110 eval "DEFAULT_$LINE"
6111 else
6112 no_cache=1
6113 fi
6114
6115 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6116
6117 fi
6118
6119
6120 eval "$ac_cv_use_dialupman"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6123 fi
6124
6125 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6126 { echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6; }
6128 else
6129 { echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6; }
6131 fi
6132
6133
6134 enablestring=
6135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6137 no_cache=0
6138 # Check whether --enable-dynlib was given.
6139 if test "${enable_dynlib+set}" = set; then
6140 enableval=$enable_dynlib;
6141 if test "$enableval" = yes; then
6142 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6143 else
6144 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6145 fi
6146
6147 else
6148
6149 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x ; then
6151 eval "DEFAULT_$LINE"
6152 else
6153 no_cache=1
6154 fi
6155
6156 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6157
6158 fi
6159
6160
6161 eval "$ac_cv_use_dynlib"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6167 { echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6; }
6169 else
6170 { echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6; }
6172 fi
6173
6174
6175 enablestring=
6176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6178 no_cache=0
6179 # Check whether --enable-dynamicloader was given.
6180 if test "${enable_dynamicloader+set}" = set; then
6181 enableval=$enable_dynamicloader;
6182 if test "$enableval" = yes; then
6183 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6184 else
6185 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6186 fi
6187
6188 else
6189
6190 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6193 else
6194 no_cache=1
6195 fi
6196
6197 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6198
6199 fi
6200
6201
6202 eval "$ac_cv_use_dynamicloader"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6208 { echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6; }
6210 else
6211 { echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6; }
6213 fi
6214
6215
6216 enablestring=
6217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6219 no_cache=0
6220 # Check whether --enable-exceptions was given.
6221 if test "${enable_exceptions+set}" = set; then
6222 enableval=$enable_exceptions;
6223 if test "$enableval" = yes; then
6224 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6225 else
6226 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6227 fi
6228
6229 else
6230
6231 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6234 else
6235 no_cache=1
6236 fi
6237
6238 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6239
6240 fi
6241
6242
6243 eval "$ac_cv_use_exceptions"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_EXCEPTIONS" = yes; then
6249 { echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6; }
6251 else
6252 { echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6; }
6254 fi
6255
6256
6257 enablestring=
6258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6260 no_cache=0
6261 # Check whether --enable-ffile was given.
6262 if test "${enable_ffile+set}" = set; then
6263 enableval=$enable_ffile;
6264 if test "$enableval" = yes; then
6265 ac_cv_use_ffile='wxUSE_FFILE=yes'
6266 else
6267 ac_cv_use_ffile='wxUSE_FFILE=no'
6268 fi
6269
6270 else
6271
6272 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6275 else
6276 no_cache=1
6277 fi
6278
6279 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6280
6281 fi
6282
6283
6284 eval "$ac_cv_use_ffile"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_FFILE" = yes; then
6290 { echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6; }
6292 else
6293 { echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6; }
6295 fi
6296
6297
6298 enablestring=
6299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6301 no_cache=0
6302 # Check whether --enable-file was given.
6303 if test "${enable_file+set}" = set; then
6304 enableval=$enable_file;
6305 if test "$enableval" = yes; then
6306 ac_cv_use_file='wxUSE_FILE=yes'
6307 else
6308 ac_cv_use_file='wxUSE_FILE=no'
6309 fi
6310
6311 else
6312
6313 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6314 if test "x$LINE" != x ; then
6315 eval "DEFAULT_$LINE"
6316 else
6317 no_cache=1
6318 fi
6319
6320 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6321
6322 fi
6323
6324
6325 eval "$ac_cv_use_file"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_FILE" = yes; then
6331 { echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6; }
6333 else
6334 { echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6; }
6336 fi
6337
6338
6339 enablestring=
6340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6342 no_cache=0
6343 # Check whether --enable-filesystem was given.
6344 if test "${enable_filesystem+set}" = set; then
6345 enableval=$enable_filesystem;
6346 if test "$enableval" = yes; then
6347 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6348 else
6349 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6350 fi
6351
6352 else
6353
6354 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6355 if test "x$LINE" != x ; then
6356 eval "DEFAULT_$LINE"
6357 else
6358 no_cache=1
6359 fi
6360
6361 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6362
6363 fi
6364
6365
6366 eval "$ac_cv_use_filesystem"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6369 fi
6370
6371 if test "$wxUSE_FILESYSTEM" = yes; then
6372 { echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6; }
6374 else
6375 { echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6; }
6377 fi
6378
6379
6380 enablestring=
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6383 no_cache=0
6384 # Check whether --enable-fontmap was given.
6385 if test "${enable_fontmap+set}" = set; then
6386 enableval=$enable_fontmap;
6387 if test "$enableval" = yes; then
6388 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6389 else
6390 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6391 fi
6392
6393 else
6394
6395 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6396 if test "x$LINE" != x ; then
6397 eval "DEFAULT_$LINE"
6398 else
6399 no_cache=1
6400 fi
6401
6402 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6403
6404 fi
6405
6406
6407 eval "$ac_cv_use_fontmap"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6410 fi
6411
6412 if test "$wxUSE_FONTMAP" = yes; then
6413 { echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6; }
6415 else
6416 { echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6; }
6418 fi
6419
6420
6421 enablestring=
6422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6424 no_cache=0
6425 # Check whether --enable-fs_archive was given.
6426 if test "${enable_fs_archive+set}" = set; then
6427 enableval=$enable_fs_archive;
6428 if test "$enableval" = yes; then
6429 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6430 else
6431 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6432 fi
6433
6434 else
6435
6436 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6437 if test "x$LINE" != x ; then
6438 eval "DEFAULT_$LINE"
6439 else
6440 no_cache=1
6441 fi
6442
6443 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6444
6445 fi
6446
6447
6448 eval "$ac_cv_use_fs_archive"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6451 fi
6452
6453 if test "$wxUSE_FS_ARCHIVE" = yes; then
6454 { echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6; }
6456 else
6457 { echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6; }
6459 fi
6460
6461
6462 enablestring=
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6465 no_cache=0
6466 # Check whether --enable-fs_inet was given.
6467 if test "${enable_fs_inet+set}" = set; then
6468 enableval=$enable_fs_inet;
6469 if test "$enableval" = yes; then
6470 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6471 else
6472 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6473 fi
6474
6475 else
6476
6477 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6478 if test "x$LINE" != x ; then
6479 eval "DEFAULT_$LINE"
6480 else
6481 no_cache=1
6482 fi
6483
6484 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6485
6486 fi
6487
6488
6489 eval "$ac_cv_use_fs_inet"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6492 fi
6493
6494 if test "$wxUSE_FS_INET" = yes; then
6495 { echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6; }
6497 else
6498 { echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6; }
6500 fi
6501
6502
6503 enablestring=
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6506 no_cache=0
6507 # Check whether --enable-fs_zip was given.
6508 if test "${enable_fs_zip+set}" = set; then
6509 enableval=$enable_fs_zip;
6510 if test "$enableval" = yes; then
6511 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6512 else
6513 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6514 fi
6515
6516 else
6517
6518 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6519 if test "x$LINE" != x ; then
6520 eval "DEFAULT_$LINE"
6521 else
6522 no_cache=1
6523 fi
6524
6525 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6526
6527 fi
6528
6529
6530 eval "$ac_cv_use_fs_zip"
6531 if test "$no_cache" != 1; then
6532 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6533 fi
6534
6535 if test "$wxUSE_FS_ZIP" = yes; then
6536 { echo "$as_me:$LINENO: result: yes" >&5
6537 echo "${ECHO_T}yes" >&6; }
6538 else
6539 { echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6; }
6541 fi
6542
6543
6544 enablestring=
6545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6547 no_cache=0
6548 # Check whether --enable-geometry was given.
6549 if test "${enable_geometry+set}" = set; then
6550 enableval=$enable_geometry;
6551 if test "$enableval" = yes; then
6552 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6553 else
6554 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6555 fi
6556
6557 else
6558
6559 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6560 if test "x$LINE" != x ; then
6561 eval "DEFAULT_$LINE"
6562 else
6563 no_cache=1
6564 fi
6565
6566 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6567
6568 fi
6569
6570
6571 eval "$ac_cv_use_geometry"
6572 if test "$no_cache" != 1; then
6573 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6574 fi
6575
6576 if test "$wxUSE_GEOMETRY" = yes; then
6577 { echo "$as_me:$LINENO: result: yes" >&5
6578 echo "${ECHO_T}yes" >&6; }
6579 else
6580 { echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6; }
6582 fi
6583
6584
6585 enablestring=
6586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6588 no_cache=0
6589 # Check whether --enable-log was given.
6590 if test "${enable_log+set}" = set; then
6591 enableval=$enable_log;
6592 if test "$enableval" = yes; then
6593 ac_cv_use_log='wxUSE_LOG=yes'
6594 else
6595 ac_cv_use_log='wxUSE_LOG=no'
6596 fi
6597
6598 else
6599
6600 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6601 if test "x$LINE" != x ; then
6602 eval "DEFAULT_$LINE"
6603 else
6604 no_cache=1
6605 fi
6606
6607 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6608
6609 fi
6610
6611
6612 eval "$ac_cv_use_log"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6615 fi
6616
6617 if test "$wxUSE_LOG" = yes; then
6618 { echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6; }
6620 else
6621 { echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6; }
6623 fi
6624
6625
6626 enablestring=
6627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6628 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6629 no_cache=0
6630 # Check whether --enable-longlong was given.
6631 if test "${enable_longlong+set}" = set; then
6632 enableval=$enable_longlong;
6633 if test "$enableval" = yes; then
6634 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6635 else
6636 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6637 fi
6638
6639 else
6640
6641 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6642 if test "x$LINE" != x ; then
6643 eval "DEFAULT_$LINE"
6644 else
6645 no_cache=1
6646 fi
6647
6648 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6649
6650 fi
6651
6652
6653 eval "$ac_cv_use_longlong"
6654 if test "$no_cache" != 1; then
6655 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6656 fi
6657
6658 if test "$wxUSE_LONGLONG" = yes; then
6659 { echo "$as_me:$LINENO: result: yes" >&5
6660 echo "${ECHO_T}yes" >&6; }
6661 else
6662 { echo "$as_me:$LINENO: result: no" >&5
6663 echo "${ECHO_T}no" >&6; }
6664 fi
6665
6666
6667 enablestring=
6668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6669 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6670 no_cache=0
6671 # Check whether --enable-mimetype was given.
6672 if test "${enable_mimetype+set}" = set; then
6673 enableval=$enable_mimetype;
6674 if test "$enableval" = yes; then
6675 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6676 else
6677 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6678 fi
6679
6680 else
6681
6682 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6683 if test "x$LINE" != x ; then
6684 eval "DEFAULT_$LINE"
6685 else
6686 no_cache=1
6687 fi
6688
6689 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6690
6691 fi
6692
6693
6694 eval "$ac_cv_use_mimetype"
6695 if test "$no_cache" != 1; then
6696 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6697 fi
6698
6699 if test "$wxUSE_MIMETYPE" = yes; then
6700 { echo "$as_me:$LINENO: result: yes" >&5
6701 echo "${ECHO_T}yes" >&6; }
6702 else
6703 { echo "$as_me:$LINENO: result: no" >&5
6704 echo "${ECHO_T}no" >&6; }
6705 fi
6706
6707
6708 enablestring=
6709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6711 no_cache=0
6712 # Check whether --enable-mslu was given.
6713 if test "${enable_mslu+set}" = set; then
6714 enableval=$enable_mslu;
6715 if test "$enableval" = yes; then
6716 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6717 else
6718 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6719 fi
6720
6721 else
6722
6723 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x ; then
6725 eval "DEFAULT_$LINE"
6726 else
6727 no_cache=1
6728 fi
6729
6730 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6731
6732 fi
6733
6734
6735 eval "$ac_cv_use_mslu"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6738 fi
6739
6740 if test "$wxUSE_UNICODE_MSLU" = yes; then
6741 { echo "$as_me:$LINENO: result: yes" >&5
6742 echo "${ECHO_T}yes" >&6; }
6743 else
6744 { echo "$as_me:$LINENO: result: no" >&5
6745 echo "${ECHO_T}no" >&6; }
6746 fi
6747
6748
6749 enablestring=
6750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6751 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6752 no_cache=0
6753 # Check whether --enable-utf8 was given.
6754 if test "${enable_utf8+set}" = set; then
6755 enableval=$enable_utf8;
6756 if test "$enableval" = yes; then
6757 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=yes'
6758 else
6759 ac_cv_use_utf8='wxUSE_UNICODE_UTF8=no'
6760 fi
6761
6762 else
6763
6764 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x ; then
6766 eval "DEFAULT_$LINE"
6767 else
6768 no_cache=1
6769 fi
6770
6771 ac_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6772
6773 fi
6774
6775
6776 eval "$ac_cv_use_utf8"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6779 fi
6780
6781 if test "$wxUSE_UNICODE_UTF8" = yes; then
6782 { echo "$as_me:$LINENO: result: yes" >&5
6783 echo "${ECHO_T}yes" >&6; }
6784 else
6785 { echo "$as_me:$LINENO: result: no" >&5
6786 echo "${ECHO_T}no" >&6; }
6787 fi
6788
6789
6790 enablestring=
6791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6792 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6793 no_cache=0
6794 # Check whether --enable-snglinst was given.
6795 if test "${enable_snglinst+set}" = set; then
6796 enableval=$enable_snglinst;
6797 if test "$enableval" = yes; then
6798 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6799 else
6800 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6801 fi
6802
6803 else
6804
6805 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6806 if test "x$LINE" != x ; then
6807 eval "DEFAULT_$LINE"
6808 else
6809 no_cache=1
6810 fi
6811
6812 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6813
6814 fi
6815
6816
6817 eval "$ac_cv_use_snglinst"
6818 if test "$no_cache" != 1; then
6819 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6820 fi
6821
6822 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6823 { echo "$as_me:$LINENO: result: yes" >&5
6824 echo "${ECHO_T}yes" >&6; }
6825 else
6826 { echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6; }
6828 fi
6829
6830
6831 enablestring=
6832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6834 no_cache=0
6835 # Check whether --enable-std_iostreams was given.
6836 if test "${enable_std_iostreams+set}" = set; then
6837 enableval=$enable_std_iostreams;
6838 if test "$enableval" = yes; then
6839 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6840 else
6841 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6842 fi
6843
6844 else
6845
6846 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x ; then
6848 eval "DEFAULT_$LINE"
6849 else
6850 no_cache=1
6851 fi
6852
6853 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6854
6855 fi
6856
6857
6858 eval "$ac_cv_use_std_iostreams"
6859 if test "$no_cache" != 1; then
6860 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6861 fi
6862
6863 if test "$wxUSE_STD_IOSTREAM" = yes; then
6864 { echo "$as_me:$LINENO: result: yes" >&5
6865 echo "${ECHO_T}yes" >&6; }
6866 else
6867 { echo "$as_me:$LINENO: result: no" >&5
6868 echo "${ECHO_T}no" >&6; }
6869 fi
6870
6871
6872 enablestring=
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6875 no_cache=0
6876 # Check whether --enable-std_string was given.
6877 if test "${enable_std_string+set}" = set; then
6878 enableval=$enable_std_string;
6879 if test "$enableval" = yes; then
6880 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6881 else
6882 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6883 fi
6884
6885 else
6886
6887 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6888 if test "x$LINE" != x ; then
6889 eval "DEFAULT_$LINE"
6890 else
6891 no_cache=1
6892 fi
6893
6894 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6895
6896 fi
6897
6898
6899 eval "$ac_cv_use_std_string"
6900 if test "$no_cache" != 1; then
6901 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6902 fi
6903
6904 if test "$wxUSE_STD_STRING" = yes; then
6905 { echo "$as_me:$LINENO: result: yes" >&5
6906 echo "${ECHO_T}yes" >&6; }
6907 else
6908 { echo "$as_me:$LINENO: result: no" >&5
6909 echo "${ECHO_T}no" >&6; }
6910 fi
6911
6912
6913 enablestring=
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6916 no_cache=0
6917 # Check whether --enable-stdpaths was given.
6918 if test "${enable_stdpaths+set}" = set; then
6919 enableval=$enable_stdpaths;
6920 if test "$enableval" = yes; then
6921 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6922 else
6923 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6924 fi
6925
6926 else
6927
6928 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6929 if test "x$LINE" != x ; then
6930 eval "DEFAULT_$LINE"
6931 else
6932 no_cache=1
6933 fi
6934
6935 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6936
6937 fi
6938
6939
6940 eval "$ac_cv_use_stdpaths"
6941 if test "$no_cache" != 1; then
6942 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6943 fi
6944
6945 if test "$wxUSE_STDPATHS" = yes; then
6946 { echo "$as_me:$LINENO: result: yes" >&5
6947 echo "${ECHO_T}yes" >&6; }
6948 else
6949 { echo "$as_me:$LINENO: result: no" >&5
6950 echo "${ECHO_T}no" >&6; }
6951 fi
6952
6953
6954 enablestring=
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6957 no_cache=0
6958 # Check whether --enable-stopwatch was given.
6959 if test "${enable_stopwatch+set}" = set; then
6960 enableval=$enable_stopwatch;
6961 if test "$enableval" = yes; then
6962 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6963 else
6964 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6965 fi
6966
6967 else
6968
6969 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x ; then
6971 eval "DEFAULT_$LINE"
6972 else
6973 no_cache=1
6974 fi
6975
6976 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6977
6978 fi
6979
6980
6981 eval "$ac_cv_use_stopwatch"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6984 fi
6985
6986 if test "$wxUSE_STOPWATCH" = yes; then
6987 { echo "$as_me:$LINENO: result: yes" >&5
6988 echo "${ECHO_T}yes" >&6; }
6989 else
6990 { echo "$as_me:$LINENO: result: no" >&5
6991 echo "${ECHO_T}no" >&6; }
6992 fi
6993
6994
6995 enablestring=
6996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6997 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6998 no_cache=0
6999 # Check whether --enable-streams was given.
7000 if test "${enable_streams+set}" = set; then
7001 enableval=$enable_streams;
7002 if test "$enableval" = yes; then
7003 ac_cv_use_streams='wxUSE_STREAMS=yes'
7004 else
7005 ac_cv_use_streams='wxUSE_STREAMS=no'
7006 fi
7007
7008 else
7009
7010 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x ; then
7012 eval "DEFAULT_$LINE"
7013 else
7014 no_cache=1
7015 fi
7016
7017 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7018
7019 fi
7020
7021
7022 eval "$ac_cv_use_streams"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7025 fi
7026
7027 if test "$wxUSE_STREAMS" = yes; then
7028 { echo "$as_me:$LINENO: result: yes" >&5
7029 echo "${ECHO_T}yes" >&6; }
7030 else
7031 { echo "$as_me:$LINENO: result: no" >&5
7032 echo "${ECHO_T}no" >&6; }
7033 fi
7034
7035
7036 enablestring=
7037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7038 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7039 no_cache=0
7040 # Check whether --enable-system_options was given.
7041 if test "${enable_system_options+set}" = set; then
7042 enableval=$enable_system_options;
7043 if test "$enableval" = yes; then
7044 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7045 else
7046 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7047 fi
7048
7049 else
7050
7051 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x ; then
7053 eval "DEFAULT_$LINE"
7054 else
7055 no_cache=1
7056 fi
7057
7058 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7059
7060 fi
7061
7062
7063 eval "$ac_cv_use_system_options"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7066 fi
7067
7068 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7069 { echo "$as_me:$LINENO: result: yes" >&5
7070 echo "${ECHO_T}yes" >&6; }
7071 else
7072 { echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6; }
7074 fi
7075
7076
7077 enablestring=
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7080 no_cache=0
7081 # Check whether --enable-tarstream was given.
7082 if test "${enable_tarstream+set}" = set; then
7083 enableval=$enable_tarstream;
7084 if test "$enableval" = yes; then
7085 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7086 else
7087 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7088 fi
7089
7090 else
7091
7092 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x ; then
7094 eval "DEFAULT_$LINE"
7095 else
7096 no_cache=1
7097 fi
7098
7099 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7100
7101 fi
7102
7103
7104 eval "$ac_cv_use_tarstream"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7107 fi
7108
7109 if test "$wxUSE_TARSTREAM" = yes; then
7110 { echo "$as_me:$LINENO: result: yes" >&5
7111 echo "${ECHO_T}yes" >&6; }
7112 else
7113 { echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6; }
7115 fi
7116
7117
7118 enablestring=
7119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7120 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7121 no_cache=0
7122 # Check whether --enable-textbuf was given.
7123 if test "${enable_textbuf+set}" = set; then
7124 enableval=$enable_textbuf;
7125 if test "$enableval" = yes; then
7126 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7127 else
7128 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7129 fi
7130
7131 else
7132
7133 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x ; then
7135 eval "DEFAULT_$LINE"
7136 else
7137 no_cache=1
7138 fi
7139
7140 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7141
7142 fi
7143
7144
7145 eval "$ac_cv_use_textbuf"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7148 fi
7149
7150 if test "$wxUSE_TEXTBUFFER" = yes; then
7151 { echo "$as_me:$LINENO: result: yes" >&5
7152 echo "${ECHO_T}yes" >&6; }
7153 else
7154 { echo "$as_me:$LINENO: result: no" >&5
7155 echo "${ECHO_T}no" >&6; }
7156 fi
7157
7158
7159 enablestring=
7160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7161 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7162 no_cache=0
7163 # Check whether --enable-textfile was given.
7164 if test "${enable_textfile+set}" = set; then
7165 enableval=$enable_textfile;
7166 if test "$enableval" = yes; then
7167 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7168 else
7169 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7170 fi
7171
7172 else
7173
7174 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x ; then
7176 eval "DEFAULT_$LINE"
7177 else
7178 no_cache=1
7179 fi
7180
7181 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7182
7183 fi
7184
7185
7186 eval "$ac_cv_use_textfile"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7189 fi
7190
7191 if test "$wxUSE_TEXTFILE" = yes; then
7192 { echo "$as_me:$LINENO: result: yes" >&5
7193 echo "${ECHO_T}yes" >&6; }
7194 else
7195 { echo "$as_me:$LINENO: result: no" >&5
7196 echo "${ECHO_T}no" >&6; }
7197 fi
7198
7199
7200 enablestring=
7201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7202 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7203 no_cache=0
7204 # Check whether --enable-timer was given.
7205 if test "${enable_timer+set}" = set; then
7206 enableval=$enable_timer;
7207 if test "$enableval" = yes; then
7208 ac_cv_use_timer='wxUSE_TIMER=yes'
7209 else
7210 ac_cv_use_timer='wxUSE_TIMER=no'
7211 fi
7212
7213 else
7214
7215 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7218 else
7219 no_cache=1
7220 fi
7221
7222 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7223
7224 fi
7225
7226
7227 eval "$ac_cv_use_timer"
7228 if test "$no_cache" != 1; then
7229 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7230 fi
7231
7232 if test "$wxUSE_TIMER" = yes; then
7233 { echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6; }
7235 else
7236 { echo "$as_me:$LINENO: result: no" >&5
7237 echo "${ECHO_T}no" >&6; }
7238 fi
7239
7240
7241 enablestring=
7242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7243 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7244 no_cache=0
7245 # Check whether --enable-unicode was given.
7246 if test "${enable_unicode+set}" = set; then
7247 enableval=$enable_unicode;
7248 if test "$enableval" = yes; then
7249 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7250 else
7251 ac_cv_use_unicode='wxUSE_UNICODE=no'
7252 fi
7253
7254 else
7255
7256 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x ; then
7258 eval "DEFAULT_$LINE"
7259 else
7260 no_cache=1
7261 fi
7262
7263 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7264
7265 fi
7266
7267
7268 eval "$ac_cv_use_unicode"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7271 fi
7272
7273 if test "$wxUSE_UNICODE" = yes; then
7274 { echo "$as_me:$LINENO: result: yes" >&5
7275 echo "${ECHO_T}yes" >&6; }
7276 else
7277 { echo "$as_me:$LINENO: result: no" >&5
7278 echo "${ECHO_T}no" >&6; }
7279 fi
7280
7281
7282 enablestring=
7283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7284 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7285 no_cache=0
7286 # Check whether --enable-sound was given.
7287 if test "${enable_sound+set}" = set; then
7288 enableval=$enable_sound;
7289 if test "$enableval" = yes; then
7290 ac_cv_use_sound='wxUSE_SOUND=yes'
7291 else
7292 ac_cv_use_sound='wxUSE_SOUND=no'
7293 fi
7294
7295 else
7296
7297 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x ; then
7299 eval "DEFAULT_$LINE"
7300 else
7301 no_cache=1
7302 fi
7303
7304 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7305
7306 fi
7307
7308
7309 eval "$ac_cv_use_sound"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7312 fi
7313
7314 if test "$wxUSE_SOUND" = yes; then
7315 { echo "$as_me:$LINENO: result: yes" >&5
7316 echo "${ECHO_T}yes" >&6; }
7317 else
7318 { echo "$as_me:$LINENO: result: no" >&5
7319 echo "${ECHO_T}no" >&6; }
7320 fi
7321
7322
7323 enablestring=
7324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7325 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7326 no_cache=0
7327 # Check whether --enable-mediactrl was given.
7328 if test "${enable_mediactrl+set}" = set; then
7329 enableval=$enable_mediactrl;
7330 if test "$enableval" = yes; then
7331 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7332 else
7333 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7334 fi
7335
7336 else
7337
7338 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x ; then
7340 eval "DEFAULT_$LINE"
7341 else
7342 no_cache=1
7343 fi
7344
7345 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7346
7347 fi
7348
7349
7350 eval "$ac_cv_use_mediactrl"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7353 fi
7354
7355 if test "$wxUSE_MEDIACTRL" = yes; then
7356 { echo "$as_me:$LINENO: result: yes" >&5
7357 echo "${ECHO_T}yes" >&6; }
7358 else
7359 { echo "$as_me:$LINENO: result: no" >&5
7360 echo "${ECHO_T}no" >&6; }
7361 fi
7362
7363
7364 enablestring=
7365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7366 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7367 no_cache=0
7368 # Check whether --enable-gstreamer8 was given.
7369 if test "${enable_gstreamer8+set}" = set; then
7370 enableval=$enable_gstreamer8;
7371 if test "$enableval" = yes; then
7372 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7373 else
7374 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7375 fi
7376
7377 else
7378
7379 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x ; then
7381 eval "DEFAULT_$LINE"
7382 else
7383 no_cache=1
7384 fi
7385
7386 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7387
7388 fi
7389
7390
7391 eval "$ac_cv_use_gstreamer8"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7394 fi
7395
7396 if test "$wxUSE_GSTREAMER8" = yes; then
7397 { echo "$as_me:$LINENO: result: yes" >&5
7398 echo "${ECHO_T}yes" >&6; }
7399 else
7400 { echo "$as_me:$LINENO: result: no" >&5
7401 echo "${ECHO_T}no" >&6; }
7402 fi
7403
7404
7405 enablestring=
7406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7408 no_cache=0
7409 # Check whether --enable-printfposparam was given.
7410 if test "${enable_printfposparam+set}" = set; then
7411 enableval=$enable_printfposparam;
7412 if test "$enableval" = yes; then
7413 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7414 else
7415 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7416 fi
7417
7418 else
7419
7420 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7421 if test "x$LINE" != x ; then
7422 eval "DEFAULT_$LINE"
7423 else
7424 no_cache=1
7425 fi
7426
7427 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7428
7429 fi
7430
7431
7432 eval "$ac_cv_use_printfposparam"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7438 { echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6; }
7440 else
7441 { echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6; }
7443 fi
7444
7445
7446 enablestring=
7447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7448 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7449 no_cache=0
7450 # Check whether --enable-zipstream was given.
7451 if test "${enable_zipstream+set}" = set; then
7452 enableval=$enable_zipstream;
7453 if test "$enableval" = yes; then
7454 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7455 else
7456 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7457 fi
7458
7459 else
7460
7461 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x ; then
7463 eval "DEFAULT_$LINE"
7464 else
7465 no_cache=1
7466 fi
7467
7468 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7469
7470 fi
7471
7472
7473 eval "$ac_cv_use_zipstream"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7476 fi
7477
7478 if test "$wxUSE_ZIPSTREAM" = yes; then
7479 { echo "$as_me:$LINENO: result: yes" >&5
7480 echo "${ECHO_T}yes" >&6; }
7481 else
7482 { echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6; }
7484 fi
7485
7486
7487
7488 enablestring=
7489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7491 no_cache=0
7492 # Check whether --enable-url was given.
7493 if test "${enable_url+set}" = set; then
7494 enableval=$enable_url;
7495 if test "$enableval" = yes; then
7496 ac_cv_use_url='wxUSE_URL=yes'
7497 else
7498 ac_cv_use_url='wxUSE_URL=no'
7499 fi
7500
7501 else
7502
7503 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7504 if test "x$LINE" != x ; then
7505 eval "DEFAULT_$LINE"
7506 else
7507 no_cache=1
7508 fi
7509
7510 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7511
7512 fi
7513
7514
7515 eval "$ac_cv_use_url"
7516 if test "$no_cache" != 1; then
7517 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7518 fi
7519
7520 if test "$wxUSE_URL" = yes; then
7521 { echo "$as_me:$LINENO: result: yes" >&5
7522 echo "${ECHO_T}yes" >&6; }
7523 else
7524 { echo "$as_me:$LINENO: result: no" >&5
7525 echo "${ECHO_T}no" >&6; }
7526 fi
7527
7528
7529 enablestring=
7530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7532 no_cache=0
7533 # Check whether --enable-variant was given.
7534 if test "${enable_variant+set}" = set; then
7535 enableval=$enable_variant;
7536 if test "$enableval" = yes; then
7537 ac_cv_use_variant='wxUSE_VARIANT=yes'
7538 else
7539 ac_cv_use_variant='wxUSE_VARIANT=no'
7540 fi
7541
7542 else
7543
7544 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x ; then
7546 eval "DEFAULT_$LINE"
7547 else
7548 no_cache=1
7549 fi
7550
7551 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7552
7553 fi
7554
7555
7556 eval "$ac_cv_use_variant"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7559 fi
7560
7561 if test "$wxUSE_VARIANT" = yes; then
7562 { echo "$as_me:$LINENO: result: yes" >&5
7563 echo "${ECHO_T}yes" >&6; }
7564 else
7565 { echo "$as_me:$LINENO: result: no" >&5
7566 echo "${ECHO_T}no" >&6; }
7567 fi
7568
7569
7570 enablestring=
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7573 no_cache=0
7574 # Check whether --enable-protocol was given.
7575 if test "${enable_protocol+set}" = set; then
7576 enableval=$enable_protocol;
7577 if test "$enableval" = yes; then
7578 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7579 else
7580 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7581 fi
7582
7583 else
7584
7585 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x ; then
7587 eval "DEFAULT_$LINE"
7588 else
7589 no_cache=1
7590 fi
7591
7592 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7593
7594 fi
7595
7596
7597 eval "$ac_cv_use_protocol"
7598 if test "$no_cache" != 1; then
7599 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7600 fi
7601
7602 if test "$wxUSE_PROTOCOL" = yes; then
7603 { echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6; }
7605 else
7606 { echo "$as_me:$LINENO: result: no" >&5
7607 echo "${ECHO_T}no" >&6; }
7608 fi
7609
7610
7611 enablestring=
7612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7613 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7614 no_cache=0
7615 # Check whether --enable-protocol_http was given.
7616 if test "${enable_protocol_http+set}" = set; then
7617 enableval=$enable_protocol_http;
7618 if test "$enableval" = yes; then
7619 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7620 else
7621 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7622 fi
7623
7624 else
7625
7626 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x ; then
7628 eval "DEFAULT_$LINE"
7629 else
7630 no_cache=1
7631 fi
7632
7633 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7634
7635 fi
7636
7637
7638 eval "$ac_cv_use_protocol_http"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7641 fi
7642
7643 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7644 { echo "$as_me:$LINENO: result: yes" >&5
7645 echo "${ECHO_T}yes" >&6; }
7646 else
7647 { echo "$as_me:$LINENO: result: no" >&5
7648 echo "${ECHO_T}no" >&6; }
7649 fi
7650
7651
7652 enablestring=
7653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7654 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7655 no_cache=0
7656 # Check whether --enable-protocol_ftp was given.
7657 if test "${enable_protocol_ftp+set}" = set; then
7658 enableval=$enable_protocol_ftp;
7659 if test "$enableval" = yes; then
7660 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7661 else
7662 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7663 fi
7664
7665 else
7666
7667 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7668 if test "x$LINE" != x ; then
7669 eval "DEFAULT_$LINE"
7670 else
7671 no_cache=1
7672 fi
7673
7674 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7675
7676 fi
7677
7678
7679 eval "$ac_cv_use_protocol_ftp"
7680 if test "$no_cache" != 1; then
7681 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7682 fi
7683
7684 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7685 { echo "$as_me:$LINENO: result: yes" >&5
7686 echo "${ECHO_T}yes" >&6; }
7687 else
7688 { echo "$as_me:$LINENO: result: no" >&5
7689 echo "${ECHO_T}no" >&6; }
7690 fi
7691
7692
7693 enablestring=
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7696 no_cache=0
7697 # Check whether --enable-protocol_file was given.
7698 if test "${enable_protocol_file+set}" = set; then
7699 enableval=$enable_protocol_file;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7702 else
7703 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7704 fi
7705
7706 else
7707
7708 LINE=`grep "wxUSE_PROTOCOL_FILE" ${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_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7716
7717 fi
7718
7719
7720 eval "$ac_cv_use_protocol_file"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7723 fi
7724
7725 if test "$wxUSE_PROTOCOL_FILE" = 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
7735
7736
7737 enablestring=
7738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7739 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7740 no_cache=0
7741 # Check whether --enable-threads was given.
7742 if test "${enable_threads+set}" = set; then
7743 enableval=$enable_threads;
7744 if test "$enableval" = yes; then
7745 ac_cv_use_threads='wxUSE_THREADS=yes'
7746 else
7747 ac_cv_use_threads='wxUSE_THREADS=no'
7748 fi
7749
7750 else
7751
7752 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7753 if test "x$LINE" != x ; then
7754 eval "DEFAULT_$LINE"
7755 else
7756 no_cache=1
7757 fi
7758
7759 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7760
7761 fi
7762
7763
7764 eval "$ac_cv_use_threads"
7765 if test "$no_cache" != 1; then
7766 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7767 fi
7768
7769 if test "$wxUSE_THREADS" = yes; then
7770 { echo "$as_me:$LINENO: result: yes" >&5
7771 echo "${ECHO_T}yes" >&6; }
7772 else
7773 { echo "$as_me:$LINENO: result: no" >&5
7774 echo "${ECHO_T}no" >&6; }
7775 fi
7776
7777
7778 if test "$wxUSE_GUI" = "yes"; then
7779
7780
7781
7782 enablestring=
7783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7785 no_cache=0
7786 # Check whether --enable-docview was given.
7787 if test "${enable_docview+set}" = set; then
7788 enableval=$enable_docview;
7789 if test "$enableval" = yes; then
7790 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7791 else
7792 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7793 fi
7794
7795 else
7796
7797 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7800 else
7801 no_cache=1
7802 fi
7803
7804 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7805
7806 fi
7807
7808
7809 eval "$ac_cv_use_docview"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7812 fi
7813
7814 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7815 { echo "$as_me:$LINENO: result: yes" >&5
7816 echo "${ECHO_T}yes" >&6; }
7817 else
7818 { echo "$as_me:$LINENO: result: no" >&5
7819 echo "${ECHO_T}no" >&6; }
7820 fi
7821
7822
7823 enablestring=
7824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7826 no_cache=0
7827 # Check whether --enable-help was given.
7828 if test "${enable_help+set}" = set; then
7829 enableval=$enable_help;
7830 if test "$enableval" = yes; then
7831 ac_cv_use_help='wxUSE_HELP=yes'
7832 else
7833 ac_cv_use_help='wxUSE_HELP=no'
7834 fi
7835
7836 else
7837
7838 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7839 if test "x$LINE" != x ; then
7840 eval "DEFAULT_$LINE"
7841 else
7842 no_cache=1
7843 fi
7844
7845 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7846
7847 fi
7848
7849
7850 eval "$ac_cv_use_help"
7851 if test "$no_cache" != 1; then
7852 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7853 fi
7854
7855 if test "$wxUSE_HELP" = yes; then
7856 { echo "$as_me:$LINENO: result: yes" >&5
7857 echo "${ECHO_T}yes" >&6; }
7858 else
7859 { echo "$as_me:$LINENO: result: no" >&5
7860 echo "${ECHO_T}no" >&6; }
7861 fi
7862
7863
7864 enablestring=
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7867 no_cache=0
7868 # Check whether --enable-mshtmlhelp was given.
7869 if test "${enable_mshtmlhelp+set}" = set; then
7870 enableval=$enable_mshtmlhelp;
7871 if test "$enableval" = yes; then
7872 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7873 else
7874 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7875 fi
7876
7877 else
7878
7879 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7880 if test "x$LINE" != x ; then
7881 eval "DEFAULT_$LINE"
7882 else
7883 no_cache=1
7884 fi
7885
7886 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7887
7888 fi
7889
7890
7891 eval "$ac_cv_use_mshtmlhelp"
7892 if test "$no_cache" != 1; then
7893 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7894 fi
7895
7896 if test "$wxUSE_MS_HTML_HELP" = yes; then
7897 { echo "$as_me:$LINENO: result: yes" >&5
7898 echo "${ECHO_T}yes" >&6; }
7899 else
7900 { echo "$as_me:$LINENO: result: no" >&5
7901 echo "${ECHO_T}no" >&6; }
7902 fi
7903
7904
7905 enablestring=
7906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7907 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7908 no_cache=0
7909 # Check whether --enable-html was given.
7910 if test "${enable_html+set}" = set; then
7911 enableval=$enable_html;
7912 if test "$enableval" = yes; then
7913 ac_cv_use_html='wxUSE_HTML=yes'
7914 else
7915 ac_cv_use_html='wxUSE_HTML=no'
7916 fi
7917
7918 else
7919
7920 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7921 if test "x$LINE" != x ; then
7922 eval "DEFAULT_$LINE"
7923 else
7924 no_cache=1
7925 fi
7926
7927 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7928
7929 fi
7930
7931
7932 eval "$ac_cv_use_html"
7933 if test "$no_cache" != 1; then
7934 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7935 fi
7936
7937 if test "$wxUSE_HTML" = yes; then
7938 { echo "$as_me:$LINENO: result: yes" >&5
7939 echo "${ECHO_T}yes" >&6; }
7940 else
7941 { echo "$as_me:$LINENO: result: no" >&5
7942 echo "${ECHO_T}no" >&6; }
7943 fi
7944
7945
7946 enablestring=
7947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7949 no_cache=0
7950 # Check whether --enable-htmlhelp was given.
7951 if test "${enable_htmlhelp+set}" = set; then
7952 enableval=$enable_htmlhelp;
7953 if test "$enableval" = yes; then
7954 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7955 else
7956 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7957 fi
7958
7959 else
7960
7961 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7962 if test "x$LINE" != x ; then
7963 eval "DEFAULT_$LINE"
7964 else
7965 no_cache=1
7966 fi
7967
7968 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7969
7970 fi
7971
7972
7973 eval "$ac_cv_use_htmlhelp"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test "$wxUSE_WXHTML_HELP" = yes; then
7979 { echo "$as_me:$LINENO: result: yes" >&5
7980 echo "${ECHO_T}yes" >&6; }
7981 else
7982 { echo "$as_me:$LINENO: result: no" >&5
7983 echo "${ECHO_T}no" >&6; }
7984 fi
7985
7986
7987 enablestring=
7988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7989 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7990 no_cache=0
7991 # Check whether --enable-xrc was given.
7992 if test "${enable_xrc+set}" = set; then
7993 enableval=$enable_xrc;
7994 if test "$enableval" = yes; then
7995 ac_cv_use_xrc='wxUSE_XRC=yes'
7996 else
7997 ac_cv_use_xrc='wxUSE_XRC=no'
7998 fi
7999
8000 else
8001
8002 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
8003 if test "x$LINE" != x ; then
8004 eval "DEFAULT_$LINE"
8005 else
8006 no_cache=1
8007 fi
8008
8009 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8010
8011 fi
8012
8013
8014 eval "$ac_cv_use_xrc"
8015 if test "$no_cache" != 1; then
8016 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8017 fi
8018
8019 if test "$wxUSE_XRC" = yes; then
8020 { echo "$as_me:$LINENO: result: yes" >&5
8021 echo "${ECHO_T}yes" >&6; }
8022 else
8023 { echo "$as_me:$LINENO: result: no" >&5
8024 echo "${ECHO_T}no" >&6; }
8025 fi
8026
8027
8028 enablestring=
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8031 no_cache=0
8032 # Check whether --enable-aui was given.
8033 if test "${enable_aui+set}" = set; then
8034 enableval=$enable_aui;
8035 if test "$enableval" = yes; then
8036 ac_cv_use_aui='wxUSE_AUI=yes'
8037 else
8038 ac_cv_use_aui='wxUSE_AUI=no'
8039 fi
8040
8041 else
8042
8043 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x ; then
8045 eval "DEFAULT_$LINE"
8046 else
8047 no_cache=1
8048 fi
8049
8050 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8051
8052 fi
8053
8054
8055 eval "$ac_cv_use_aui"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8058 fi
8059
8060 if test "$wxUSE_AUI" = yes; then
8061 { echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6; }
8063 else
8064 { echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6; }
8066 fi
8067
8068
8069 enablestring=
8070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8071 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8072 no_cache=0
8073 # Check whether --enable-stc was given.
8074 if test "${enable_stc+set}" = set; then
8075 enableval=$enable_stc;
8076 if test "$enableval" = yes; then
8077 ac_cv_use_stc='wxUSE_STC=yes'
8078 else
8079 ac_cv_use_stc='wxUSE_STC=no'
8080 fi
8081
8082 else
8083
8084 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x ; then
8086 eval "DEFAULT_$LINE"
8087 else
8088 no_cache=1
8089 fi
8090
8091 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8092
8093 fi
8094
8095
8096 eval "$ac_cv_use_stc"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8099 fi
8100
8101 if test "$wxUSE_STC" = yes; then
8102 { echo "$as_me:$LINENO: result: yes" >&5
8103 echo "${ECHO_T}yes" >&6; }
8104 else
8105 { echo "$as_me:$LINENO: result: no" >&5
8106 echo "${ECHO_T}no" >&6; }
8107 fi
8108
8109
8110 enablestring=
8111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8112 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8113 no_cache=0
8114 # Check whether --enable-constraints was given.
8115 if test "${enable_constraints+set}" = set; then
8116 enableval=$enable_constraints;
8117 if test "$enableval" = yes; then
8118 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8119 else
8120 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8121 fi
8122
8123 else
8124
8125 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8126 if test "x$LINE" != x ; then
8127 eval "DEFAULT_$LINE"
8128 else
8129 no_cache=1
8130 fi
8131
8132 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8133
8134 fi
8135
8136
8137 eval "$ac_cv_use_constraints"
8138 if test "$no_cache" != 1; then
8139 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8140 fi
8141
8142 if test "$wxUSE_CONSTRAINTS" = yes; then
8143 { echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6; }
8145 else
8146 { echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6; }
8148 fi
8149
8150
8151 enablestring=
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8154 no_cache=0
8155 # Check whether --enable-printarch was given.
8156 if test "${enable_printarch+set}" = set; then
8157 enableval=$enable_printarch;
8158 if test "$enableval" = yes; then
8159 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8160 else
8161 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8162 fi
8163
8164 else
8165
8166 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8174
8175 fi
8176
8177
8178 eval "$ac_cv_use_printarch"
8179 if test "$no_cache" != 1; then
8180 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8184 { echo "$as_me:$LINENO: result: yes" >&5
8185 echo "${ECHO_T}yes" >&6; }
8186 else
8187 { echo "$as_me:$LINENO: result: no" >&5
8188 echo "${ECHO_T}no" >&6; }
8189 fi
8190
8191
8192 enablestring=
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8195 no_cache=0
8196 # Check whether --enable-mdi was given.
8197 if test "${enable_mdi+set}" = set; then
8198 enableval=$enable_mdi;
8199 if test "$enableval" = yes; then
8200 ac_cv_use_mdi='wxUSE_MDI=yes'
8201 else
8202 ac_cv_use_mdi='wxUSE_MDI=no'
8203 fi
8204
8205 else
8206
8207 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8208 if test "x$LINE" != x ; then
8209 eval "DEFAULT_$LINE"
8210 else
8211 no_cache=1
8212 fi
8213
8214 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8215
8216 fi
8217
8218
8219 eval "$ac_cv_use_mdi"
8220 if test "$no_cache" != 1; then
8221 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8222 fi
8223
8224 if test "$wxUSE_MDI" = yes; then
8225 { echo "$as_me:$LINENO: result: yes" >&5
8226 echo "${ECHO_T}yes" >&6; }
8227 else
8228 { echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6; }
8230 fi
8231
8232
8233 enablestring=
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8236 no_cache=0
8237 # Check whether --enable-mdidoc was given.
8238 if test "${enable_mdidoc+set}" = set; then
8239 enableval=$enable_mdidoc;
8240 if test "$enableval" = yes; then
8241 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8242 else
8243 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8244 fi
8245
8246 else
8247
8248 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8249 if test "x$LINE" != x ; then
8250 eval "DEFAULT_$LINE"
8251 else
8252 no_cache=1
8253 fi
8254
8255 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8256
8257 fi
8258
8259
8260 eval "$ac_cv_use_mdidoc"
8261 if test "$no_cache" != 1; then
8262 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8263 fi
8264
8265 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8266 { echo "$as_me:$LINENO: result: yes" >&5
8267 echo "${ECHO_T}yes" >&6; }
8268 else
8269 { echo "$as_me:$LINENO: result: no" >&5
8270 echo "${ECHO_T}no" >&6; }
8271 fi
8272
8273
8274 enablestring=
8275 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8276 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8277 no_cache=0
8278 # Check whether --enable-loggui was given.
8279 if test "${enable_loggui+set}" = set; then
8280 enableval=$enable_loggui;
8281 if test "$enableval" = yes; then
8282 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8283 else
8284 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8285 fi
8286
8287 else
8288
8289 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x ; then
8291 eval "DEFAULT_$LINE"
8292 else
8293 no_cache=1
8294 fi
8295
8296 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8297
8298 fi
8299
8300
8301 eval "$ac_cv_use_loggui"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8304 fi
8305
8306 if test "$wxUSE_LOGGUI" = yes; then
8307 { echo "$as_me:$LINENO: result: yes" >&5
8308 echo "${ECHO_T}yes" >&6; }
8309 else
8310 { echo "$as_me:$LINENO: result: no" >&5
8311 echo "${ECHO_T}no" >&6; }
8312 fi
8313
8314
8315 enablestring=
8316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8317 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8318 no_cache=0
8319 # Check whether --enable-logwin was given.
8320 if test "${enable_logwin+set}" = set; then
8321 enableval=$enable_logwin;
8322 if test "$enableval" = yes; then
8323 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8324 else
8325 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8326 fi
8327
8328 else
8329
8330 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x ; then
8332 eval "DEFAULT_$LINE"
8333 else
8334 no_cache=1
8335 fi
8336
8337 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8338
8339 fi
8340
8341
8342 eval "$ac_cv_use_logwin"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8345 fi
8346
8347 if test "$wxUSE_LOGWINDOW" = yes; then
8348 { echo "$as_me:$LINENO: result: yes" >&5
8349 echo "${ECHO_T}yes" >&6; }
8350 else
8351 { echo "$as_me:$LINENO: result: no" >&5
8352 echo "${ECHO_T}no" >&6; }
8353 fi
8354
8355
8356 enablestring=
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8359 no_cache=0
8360 # Check whether --enable-logdialog was given.
8361 if test "${enable_logdialog+set}" = set; then
8362 enableval=$enable_logdialog;
8363 if test "$enableval" = yes; then
8364 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8365 else
8366 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8367 fi
8368
8369 else
8370
8371 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8372 if test "x$LINE" != x ; then
8373 eval "DEFAULT_$LINE"
8374 else
8375 no_cache=1
8376 fi
8377
8378 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8379
8380 fi
8381
8382
8383 eval "$ac_cv_use_logdialog"
8384 if test "$no_cache" != 1; then
8385 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8386 fi
8387
8388 if test "$wxUSE_LOGDIALOG" = yes; then
8389 { echo "$as_me:$LINENO: result: yes" >&5
8390 echo "${ECHO_T}yes" >&6; }
8391 else
8392 { echo "$as_me:$LINENO: result: no" >&5
8393 echo "${ECHO_T}no" >&6; }
8394 fi
8395
8396
8397 enablestring=
8398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8399 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8400 no_cache=0
8401 # Check whether --enable-webkit was given.
8402 if test "${enable_webkit+set}" = set; then
8403 enableval=$enable_webkit;
8404 if test "$enableval" = yes; then
8405 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8406 else
8407 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8408 fi
8409
8410 else
8411
8412 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8413 if test "x$LINE" != x ; then
8414 eval "DEFAULT_$LINE"
8415 else
8416 no_cache=1
8417 fi
8418
8419 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8420
8421 fi
8422
8423
8424 eval "$ac_cv_use_webkit"
8425 if test "$no_cache" != 1; then
8426 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8427 fi
8428
8429 if test "$wxUSE_WEBKIT" = yes; then
8430 { echo "$as_me:$LINENO: result: yes" >&5
8431 echo "${ECHO_T}yes" >&6; }
8432 else
8433 { echo "$as_me:$LINENO: result: no" >&5
8434 echo "${ECHO_T}no" >&6; }
8435 fi
8436
8437
8438 enablestring=
8439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8440 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8441 no_cache=0
8442 # Check whether --enable-richtext was given.
8443 if test "${enable_richtext+set}" = set; then
8444 enableval=$enable_richtext;
8445 if test "$enableval" = yes; then
8446 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8447 else
8448 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8449 fi
8450
8451 else
8452
8453 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8454 if test "x$LINE" != x ; then
8455 eval "DEFAULT_$LINE"
8456 else
8457 no_cache=1
8458 fi
8459
8460 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8461
8462 fi
8463
8464
8465 eval "$ac_cv_use_richtext"
8466 if test "$no_cache" != 1; then
8467 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8468 fi
8469
8470 if test "$wxUSE_RICHTEXT" = yes; then
8471 { echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6; }
8473 else
8474 { echo "$as_me:$LINENO: result: no" >&5
8475 echo "${ECHO_T}no" >&6; }
8476 fi
8477
8478
8479 enablestring=
8480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8481 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8482 no_cache=0
8483 # Check whether --enable-graphics_ctx was given.
8484 if test "${enable_graphics_ctx+set}" = set; then
8485 enableval=$enable_graphics_ctx;
8486 if test "$enableval" = yes; then
8487 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8488 else
8489 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8490 fi
8491
8492 else
8493
8494 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8495 if test "x$LINE" != x ; then
8496 eval "DEFAULT_$LINE"
8497 else
8498 no_cache=1
8499 fi
8500
8501 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8502
8503 fi
8504
8505
8506 eval "$ac_cv_use_graphics_ctx"
8507 if test "$no_cache" != 1; then
8508 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8509 fi
8510
8511 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8512 { echo "$as_me:$LINENO: result: yes" >&5
8513 echo "${ECHO_T}yes" >&6; }
8514 else
8515 { echo "$as_me:$LINENO: result: no" >&5
8516 echo "${ECHO_T}no" >&6; }
8517 fi
8518
8519
8520
8521 enablestring=
8522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8524 no_cache=0
8525 # Check whether --enable-postscript was given.
8526 if test "${enable_postscript+set}" = set; then
8527 enableval=$enable_postscript;
8528 if test "$enableval" = yes; then
8529 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8530 else
8531 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8532 fi
8533
8534 else
8535
8536 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8537 if test "x$LINE" != x ; then
8538 eval "DEFAULT_$LINE"
8539 else
8540 no_cache=1
8541 fi
8542
8543 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8544
8545 fi
8546
8547
8548 eval "$ac_cv_use_postscript"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_POSTSCRIPT" = yes; then
8554 { echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6; }
8556 else
8557 { echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6; }
8559 fi
8560
8561
8562
8563
8564
8565 enablestring=
8566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8567 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8568 no_cache=0
8569 # Check whether --enable-clipboard was given.
8570 if test "${enable_clipboard+set}" = set; then
8571 enableval=$enable_clipboard;
8572 if test "$enableval" = yes; then
8573 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8574 else
8575 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8576 fi
8577
8578 else
8579
8580 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8581 if test "x$LINE" != x ; then
8582 eval "DEFAULT_$LINE"
8583 else
8584 no_cache=1
8585 fi
8586
8587 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8588
8589 fi
8590
8591
8592 eval "$ac_cv_use_clipboard"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8595 fi
8596
8597 if test "$wxUSE_CLIPBOARD" = yes; then
8598 { echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6; }
8600 else
8601 { echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6; }
8603 fi
8604
8605
8606 enablestring=
8607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8608 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8609 no_cache=0
8610 # Check whether --enable-dnd was given.
8611 if test "${enable_dnd+set}" = set; then
8612 enableval=$enable_dnd;
8613 if test "$enableval" = yes; then
8614 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8615 else
8616 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8617 fi
8618
8619 else
8620
8621 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8622 if test "x$LINE" != x ; then
8623 eval "DEFAULT_$LINE"
8624 else
8625 no_cache=1
8626 fi
8627
8628 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8629
8630 fi
8631
8632
8633 eval "$ac_cv_use_dnd"
8634 if test "$no_cache" != 1; then
8635 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8636 fi
8637
8638 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8639 { echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6; }
8641 else
8642 { echo "$as_me:$LINENO: result: no" >&5
8643 echo "${ECHO_T}no" >&6; }
8644 fi
8645
8646
8647 enablestring=
8648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8649 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8650 no_cache=0
8651 # Check whether --enable-metafile was given.
8652 if test "${enable_metafile+set}" = set; then
8653 enableval=$enable_metafile;
8654 if test "$enableval" = yes; then
8655 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8656 else
8657 ac_cv_use_metafile='wxUSE_METAFILE=no'
8658 fi
8659
8660 else
8661
8662 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8663 if test "x$LINE" != x ; then
8664 eval "DEFAULT_$LINE"
8665 else
8666 no_cache=1
8667 fi
8668
8669 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8670
8671 fi
8672
8673
8674 eval "$ac_cv_use_metafile"
8675 if test "$no_cache" != 1; then
8676 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8677 fi
8678
8679 if test "$wxUSE_METAFILE" = yes; then
8680 { echo "$as_me:$LINENO: result: yes" >&5
8681 echo "${ECHO_T}yes" >&6; }
8682 else
8683 { echo "$as_me:$LINENO: result: no" >&5
8684 echo "${ECHO_T}no" >&6; }
8685 fi
8686
8687
8688
8689
8690
8691 enablestring=
8692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8694 no_cache=0
8695 # Check whether --enable-controls was given.
8696 if test "${enable_controls+set}" = set; then
8697 enableval=$enable_controls;
8698 if test "$enableval" = yes; then
8699 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8700 else
8701 ac_cv_use_controls='wxUSE_CONTROLS=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8714
8715 fi
8716
8717
8718 eval "$ac_cv_use_controls"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test "$wxUSE_CONTROLS" = yes; then
8724 { echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6; }
8726 else
8727 { echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6; }
8729 fi
8730
8731
8732 if test "$wxUSE_CONTROLS" = "yes"; then
8733 DEFAULT_wxUSE_ACCEL=yes
8734 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8735 DEFAULT_wxUSE_BMPBUTTON=yes
8736 DEFAULT_wxUSE_BUTTON=yes
8737 DEFAULT_wxUSE_CALCTRL=yes
8738 DEFAULT_wxUSE_CARET=yes
8739 DEFAULT_wxUSE_COMBOBOX=yes
8740 DEFAULT_wxUSE_CHECKBOX=yes
8741 DEFAULT_wxUSE_CHECKLISTBOX=yes
8742 DEFAULT_wxUSE_CHOICE=yes
8743 DEFAULT_wxUSE_CHOICEBOOK=yes
8744 DEFAULT_wxUSE_COLLPANE=yes
8745 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8746 DEFAULT_wxUSE_COMBOBOX=yes
8747 DEFAULT_wxUSE_DATEPICKCTRL=yes
8748 DEFAULT_wxUSE_DISPLAY=yes
8749 DEFAULT_wxUSE_DETECT_SM=yes
8750 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8751 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8752 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8753 DEFAULT_wxUSE_GAUGE=yes
8754 DEFAULT_wxUSE_GRID=yes
8755 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8756 DEFAULT_wxUSE_DATAVIEWCTRL=no
8757 DEFAULT_wxUSE_IMAGLIST=yes
8758 DEFAULT_wxUSE_LISTBOOK=yes
8759 DEFAULT_wxUSE_LISTBOX=yes
8760 DEFAULT_wxUSE_LISTCTRL=yes
8761 DEFAULT_wxUSE_NOTEBOOK=yes
8762 DEFAULT_wxUSE_RADIOBOX=yes
8763 DEFAULT_wxUSE_RADIOBTN=yes
8764 DEFAULT_wxUSE_SASH=yes
8765 DEFAULT_wxUSE_SCROLLBAR=yes
8766 DEFAULT_wxUSE_SEARCHCTRL=yes
8767 DEFAULT_wxUSE_SLIDER=yes
8768 DEFAULT_wxUSE_SPINBTN=yes
8769 DEFAULT_wxUSE_SPINCTRL=yes
8770 DEFAULT_wxUSE_SPLITTER=yes
8771 DEFAULT_wxUSE_STATBMP=yes
8772 DEFAULT_wxUSE_STATBOX=yes
8773 DEFAULT_wxUSE_STATLINE=yes
8774 DEFAULT_wxUSE_STATUSBAR=yes
8775 DEFAULT_wxUSE_TAB_DIALOG=yes
8776 DEFAULT_wxUSE_TOGGLEBTN=yes
8777 DEFAULT_wxUSE_TOOLBAR=yes
8778 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8779 DEFAULT_wxUSE_TOOLTIPS=yes
8780 DEFAULT_wxUSE_TREEBOOK=yes
8781 DEFAULT_wxUSE_TOOLBOOK=yes
8782 DEFAULT_wxUSE_TREECTRL=yes
8783 DEFAULT_wxUSE_POPUPWIN=yes
8784 DEFAULT_wxUSE_TIPWINDOW=yes
8785 elif test "$wxUSE_CONTROLS" = "no"; then
8786 DEFAULT_wxUSE_ACCEL=no
8787 DEFAULT_wxUSE_ANIMATIONCTRL=no
8788 DEFAULT_wxUSE_BMPBUTTON=no
8789 DEFAULT_wxUSE_BUTTON=no
8790 DEFAULT_wxUSE_CALCTRL=no
8791 DEFAULT_wxUSE_CARET=no
8792 DEFAULT_wxUSE_COLLPANE=no
8793 DEFAULT_wxUSE_COMBOBOX=no
8794 DEFAULT_wxUSE_CHECKBOX=no
8795 DEFAULT_wxUSE_CHECKLISTBOX=no
8796 DEFAULT_wxUSE_CHOICE=no
8797 DEFAULT_wxUSE_CHOICEBOOK=no
8798 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8799 DEFAULT_wxUSE_COMBOBOX=no
8800 DEFAULT_wxUSE_DATEPICKCTRL=no
8801 DEFAULT_wxUSE_DISPLAY=no
8802 DEFAULT_wxUSE_DETECT_SM=no
8803 DEFAULT_wxUSE_DIRPICKERCTRL=no
8804 DEFAULT_wxUSE_FILEPICKERCTRL=no
8805 DEFAULT_wxUSE_FONTPICKERCTRL=no
8806 DEFAULT_wxUSE_GAUGE=no
8807 DEFAULT_wxUSE_GRID=no
8808 DEFAULT_wxUSE_HYPERLINKCTRL=no
8809 DEFAULT_wxUSE_DATAVIEWCTRL=no
8810 DEFAULT_wxUSE_IMAGLIST=no
8811 DEFAULT_wxUSE_LISTBOOK=no
8812 DEFAULT_wxUSE_LISTBOX=no
8813 DEFAULT_wxUSE_LISTCTRL=no
8814 DEFAULT_wxUSE_NOTEBOOK=no
8815 DEFAULT_wxUSE_RADIOBOX=no
8816 DEFAULT_wxUSE_RADIOBTN=no
8817 DEFAULT_wxUSE_SASH=no
8818 DEFAULT_wxUSE_SCROLLBAR=no
8819 DEFAULT_wxUSE_SEARCHCTRL=no
8820 DEFAULT_wxUSE_SLIDER=no
8821 DEFAULT_wxUSE_SPINBTN=no
8822 DEFAULT_wxUSE_SPINCTRL=no
8823 DEFAULT_wxUSE_SPLITTER=no
8824 DEFAULT_wxUSE_STATBMP=no
8825 DEFAULT_wxUSE_STATBOX=no
8826 DEFAULT_wxUSE_STATLINE=no
8827 DEFAULT_wxUSE_STATUSBAR=no
8828 DEFAULT_wxUSE_TAB_DIALOG=no
8829 DEFAULT_wxUSE_TOGGLEBTN=no
8830 DEFAULT_wxUSE_TOOLBAR=no
8831 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8832 DEFAULT_wxUSE_TOOLTIPS=no
8833 DEFAULT_wxUSE_TREEBOOK=no
8834 DEFAULT_wxUSE_TOOLBOOK=no
8835 DEFAULT_wxUSE_TREECTRL=no
8836 DEFAULT_wxUSE_POPUPWIN=no
8837 DEFAULT_wxUSE_TIPWINDOW=no
8838 fi
8839
8840
8841 enablestring=
8842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8843 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8844 no_cache=0
8845 # Check whether --enable-accel was given.
8846 if test "${enable_accel+set}" = set; then
8847 enableval=$enable_accel;
8848 if test "$enableval" = yes; then
8849 ac_cv_use_accel='wxUSE_ACCEL=yes'
8850 else
8851 ac_cv_use_accel='wxUSE_ACCEL=no'
8852 fi
8853
8854 else
8855
8856 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8857 if test "x$LINE" != x ; then
8858 eval "DEFAULT_$LINE"
8859 else
8860 no_cache=1
8861 fi
8862
8863 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8864
8865 fi
8866
8867
8868 eval "$ac_cv_use_accel"
8869 if test "$no_cache" != 1; then
8870 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8871 fi
8872
8873 if test "$wxUSE_ACCEL" = yes; then
8874 { echo "$as_me:$LINENO: result: yes" >&5
8875 echo "${ECHO_T}yes" >&6; }
8876 else
8877 { echo "$as_me:$LINENO: result: no" >&5
8878 echo "${ECHO_T}no" >&6; }
8879 fi
8880
8881
8882 enablestring=
8883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8884 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8885 no_cache=0
8886 # Check whether --enable-animatectrl was given.
8887 if test "${enable_animatectrl+set}" = set; then
8888 enableval=$enable_animatectrl;
8889 if test "$enableval" = yes; then
8890 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8891 else
8892 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8893 fi
8894
8895 else
8896
8897 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8898 if test "x$LINE" != x ; then
8899 eval "DEFAULT_$LINE"
8900 else
8901 no_cache=1
8902 fi
8903
8904 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8905
8906 fi
8907
8908
8909 eval "$ac_cv_use_animatectrl"
8910 if test "$no_cache" != 1; then
8911 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8912 fi
8913
8914 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8915 { echo "$as_me:$LINENO: result: yes" >&5
8916 echo "${ECHO_T}yes" >&6; }
8917 else
8918 { echo "$as_me:$LINENO: result: no" >&5
8919 echo "${ECHO_T}no" >&6; }
8920 fi
8921
8922
8923 enablestring=
8924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8925 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8926 no_cache=0
8927 # Check whether --enable-button was given.
8928 if test "${enable_button+set}" = set; then
8929 enableval=$enable_button;
8930 if test "$enableval" = yes; then
8931 ac_cv_use_button='wxUSE_BUTTON=yes'
8932 else
8933 ac_cv_use_button='wxUSE_BUTTON=no'
8934 fi
8935
8936 else
8937
8938 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8939 if test "x$LINE" != x ; then
8940 eval "DEFAULT_$LINE"
8941 else
8942 no_cache=1
8943 fi
8944
8945 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8946
8947 fi
8948
8949
8950 eval "$ac_cv_use_button"
8951 if test "$no_cache" != 1; then
8952 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8953 fi
8954
8955 if test "$wxUSE_BUTTON" = yes; then
8956 { echo "$as_me:$LINENO: result: yes" >&5
8957 echo "${ECHO_T}yes" >&6; }
8958 else
8959 { echo "$as_me:$LINENO: result: no" >&5
8960 echo "${ECHO_T}no" >&6; }
8961 fi
8962
8963
8964 enablestring=
8965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8966 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8967 no_cache=0
8968 # Check whether --enable-bmpbutton was given.
8969 if test "${enable_bmpbutton+set}" = set; then
8970 enableval=$enable_bmpbutton;
8971 if test "$enableval" = yes; then
8972 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8973 else
8974 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8975 fi
8976
8977 else
8978
8979 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8980 if test "x$LINE" != x ; then
8981 eval "DEFAULT_$LINE"
8982 else
8983 no_cache=1
8984 fi
8985
8986 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8987
8988 fi
8989
8990
8991 eval "$ac_cv_use_bmpbutton"
8992 if test "$no_cache" != 1; then
8993 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8994 fi
8995
8996 if test "$wxUSE_BMPBUTTON" = yes; then
8997 { echo "$as_me:$LINENO: result: yes" >&5
8998 echo "${ECHO_T}yes" >&6; }
8999 else
9000 { echo "$as_me:$LINENO: result: no" >&5
9001 echo "${ECHO_T}no" >&6; }
9002 fi
9003
9004
9005 enablestring=
9006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9007 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9008 no_cache=0
9009 # Check whether --enable-bmpcombobox was given.
9010 if test "${enable_bmpcombobox+set}" = set; then
9011 enableval=$enable_bmpcombobox;
9012 if test "$enableval" = yes; then
9013 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9014 else
9015 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9016 fi
9017
9018 else
9019
9020 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9021 if test "x$LINE" != x ; then
9022 eval "DEFAULT_$LINE"
9023 else
9024 no_cache=1
9025 fi
9026
9027 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9028
9029 fi
9030
9031
9032 eval "$ac_cv_use_bmpcombobox"
9033 if test "$no_cache" != 1; then
9034 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9035 fi
9036
9037 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9038 { echo "$as_me:$LINENO: result: yes" >&5
9039 echo "${ECHO_T}yes" >&6; }
9040 else
9041 { echo "$as_me:$LINENO: result: no" >&5
9042 echo "${ECHO_T}no" >&6; }
9043 fi
9044
9045
9046 enablestring=
9047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9048 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9049 no_cache=0
9050 # Check whether --enable-calendar was given.
9051 if test "${enable_calendar+set}" = set; then
9052 enableval=$enable_calendar;
9053 if test "$enableval" = yes; then
9054 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9055 else
9056 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9057 fi
9058
9059 else
9060
9061 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9062 if test "x$LINE" != x ; then
9063 eval "DEFAULT_$LINE"
9064 else
9065 no_cache=1
9066 fi
9067
9068 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9069
9070 fi
9071
9072
9073 eval "$ac_cv_use_calendar"
9074 if test "$no_cache" != 1; then
9075 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9076 fi
9077
9078 if test "$wxUSE_CALCTRL" = yes; then
9079 { echo "$as_me:$LINENO: result: yes" >&5
9080 echo "${ECHO_T}yes" >&6; }
9081 else
9082 { echo "$as_me:$LINENO: result: no" >&5
9083 echo "${ECHO_T}no" >&6; }
9084 fi
9085
9086
9087 enablestring=
9088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9089 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9090 no_cache=0
9091 # Check whether --enable-caret was given.
9092 if test "${enable_caret+set}" = set; then
9093 enableval=$enable_caret;
9094 if test "$enableval" = yes; then
9095 ac_cv_use_caret='wxUSE_CARET=yes'
9096 else
9097 ac_cv_use_caret='wxUSE_CARET=no'
9098 fi
9099
9100 else
9101
9102 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9103 if test "x$LINE" != x ; then
9104 eval "DEFAULT_$LINE"
9105 else
9106 no_cache=1
9107 fi
9108
9109 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9110
9111 fi
9112
9113
9114 eval "$ac_cv_use_caret"
9115 if test "$no_cache" != 1; then
9116 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9117 fi
9118
9119 if test "$wxUSE_CARET" = yes; then
9120 { echo "$as_me:$LINENO: result: yes" >&5
9121 echo "${ECHO_T}yes" >&6; }
9122 else
9123 { echo "$as_me:$LINENO: result: no" >&5
9124 echo "${ECHO_T}no" >&6; }
9125 fi
9126
9127
9128 enablestring=
9129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9130 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9131 no_cache=0
9132 # Check whether --enable-checkbox was given.
9133 if test "${enable_checkbox+set}" = set; then
9134 enableval=$enable_checkbox;
9135 if test "$enableval" = yes; then
9136 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9137 else
9138 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9139 fi
9140
9141 else
9142
9143 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9144 if test "x$LINE" != x ; then
9145 eval "DEFAULT_$LINE"
9146 else
9147 no_cache=1
9148 fi
9149
9150 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9151
9152 fi
9153
9154
9155 eval "$ac_cv_use_checkbox"
9156 if test "$no_cache" != 1; then
9157 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9158 fi
9159
9160 if test "$wxUSE_CHECKBOX" = yes; then
9161 { echo "$as_me:$LINENO: result: yes" >&5
9162 echo "${ECHO_T}yes" >&6; }
9163 else
9164 { echo "$as_me:$LINENO: result: no" >&5
9165 echo "${ECHO_T}no" >&6; }
9166 fi
9167
9168
9169 enablestring=
9170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9171 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9172 no_cache=0
9173 # Check whether --enable-checklst was given.
9174 if test "${enable_checklst+set}" = set; then
9175 enableval=$enable_checklst;
9176 if test "$enableval" = yes; then
9177 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9178 else
9179 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9180 fi
9181
9182 else
9183
9184 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9185 if test "x$LINE" != x ; then
9186 eval "DEFAULT_$LINE"
9187 else
9188 no_cache=1
9189 fi
9190
9191 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9192
9193 fi
9194
9195
9196 eval "$ac_cv_use_checklst"
9197 if test "$no_cache" != 1; then
9198 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9199 fi
9200
9201 if test "$wxUSE_CHECKLST" = yes; then
9202 { echo "$as_me:$LINENO: result: yes" >&5
9203 echo "${ECHO_T}yes" >&6; }
9204 else
9205 { echo "$as_me:$LINENO: result: no" >&5
9206 echo "${ECHO_T}no" >&6; }
9207 fi
9208
9209
9210 enablestring=
9211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9212 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9213 no_cache=0
9214 # Check whether --enable-choice was given.
9215 if test "${enable_choice+set}" = set; then
9216 enableval=$enable_choice;
9217 if test "$enableval" = yes; then
9218 ac_cv_use_choice='wxUSE_CHOICE=yes'
9219 else
9220 ac_cv_use_choice='wxUSE_CHOICE=no'
9221 fi
9222
9223 else
9224
9225 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9226 if test "x$LINE" != x ; then
9227 eval "DEFAULT_$LINE"
9228 else
9229 no_cache=1
9230 fi
9231
9232 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9233
9234 fi
9235
9236
9237 eval "$ac_cv_use_choice"
9238 if test "$no_cache" != 1; then
9239 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9240 fi
9241
9242 if test "$wxUSE_CHOICE" = yes; then
9243 { echo "$as_me:$LINENO: result: yes" >&5
9244 echo "${ECHO_T}yes" >&6; }
9245 else
9246 { echo "$as_me:$LINENO: result: no" >&5
9247 echo "${ECHO_T}no" >&6; }
9248 fi
9249
9250
9251 enablestring=
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9254 no_cache=0
9255 # Check whether --enable-choicebook was given.
9256 if test "${enable_choicebook+set}" = set; then
9257 enableval=$enable_choicebook;
9258 if test "$enableval" = yes; then
9259 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9260 else
9261 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9262 fi
9263
9264 else
9265
9266 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9267 if test "x$LINE" != x ; then
9268 eval "DEFAULT_$LINE"
9269 else
9270 no_cache=1
9271 fi
9272
9273 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9274
9275 fi
9276
9277
9278 eval "$ac_cv_use_choicebook"
9279 if test "$no_cache" != 1; then
9280 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9281 fi
9282
9283 if test "$wxUSE_CHOICEBOOK" = yes; then
9284 { echo "$as_me:$LINENO: result: yes" >&5
9285 echo "${ECHO_T}yes" >&6; }
9286 else
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9289 fi
9290
9291
9292 enablestring=
9293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9294 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9295 no_cache=0
9296 # Check whether --enable-collpane was given.
9297 if test "${enable_collpane+set}" = set; then
9298 enableval=$enable_collpane;
9299 if test "$enableval" = yes; then
9300 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9301 else
9302 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9303 fi
9304
9305 else
9306
9307 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9308 if test "x$LINE" != x ; then
9309 eval "DEFAULT_$LINE"
9310 else
9311 no_cache=1
9312 fi
9313
9314 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9315
9316 fi
9317
9318
9319 eval "$ac_cv_use_collpane"
9320 if test "$no_cache" != 1; then
9321 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9322 fi
9323
9324 if test "$wxUSE_COLLPANE" = yes; then
9325 { echo "$as_me:$LINENO: result: yes" >&5
9326 echo "${ECHO_T}yes" >&6; }
9327 else
9328 { echo "$as_me:$LINENO: result: no" >&5
9329 echo "${ECHO_T}no" >&6; }
9330 fi
9331
9332
9333 enablestring=
9334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9335 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9336 no_cache=0
9337 # Check whether --enable-colourpicker was given.
9338 if test "${enable_colourpicker+set}" = set; then
9339 enableval=$enable_colourpicker;
9340 if test "$enableval" = yes; then
9341 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9342 else
9343 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9344 fi
9345
9346 else
9347
9348 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9349 if test "x$LINE" != x ; then
9350 eval "DEFAULT_$LINE"
9351 else
9352 no_cache=1
9353 fi
9354
9355 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9356
9357 fi
9358
9359
9360 eval "$ac_cv_use_colourpicker"
9361 if test "$no_cache" != 1; then
9362 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9363 fi
9364
9365 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9366 { echo "$as_me:$LINENO: result: yes" >&5
9367 echo "${ECHO_T}yes" >&6; }
9368 else
9369 { echo "$as_me:$LINENO: result: no" >&5
9370 echo "${ECHO_T}no" >&6; }
9371 fi
9372
9373
9374 enablestring=
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9377 no_cache=0
9378 # Check whether --enable-combobox was given.
9379 if test "${enable_combobox+set}" = set; then
9380 enableval=$enable_combobox;
9381 if test "$enableval" = yes; then
9382 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9383 else
9384 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9385 fi
9386
9387 else
9388
9389 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9390 if test "x$LINE" != x ; then
9391 eval "DEFAULT_$LINE"
9392 else
9393 no_cache=1
9394 fi
9395
9396 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9397
9398 fi
9399
9400
9401 eval "$ac_cv_use_combobox"
9402 if test "$no_cache" != 1; then
9403 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9404 fi
9405
9406 if test "$wxUSE_COMBOBOX" = yes; then
9407 { echo "$as_me:$LINENO: result: yes" >&5
9408 echo "${ECHO_T}yes" >&6; }
9409 else
9410 { echo "$as_me:$LINENO: result: no" >&5
9411 echo "${ECHO_T}no" >&6; }
9412 fi
9413
9414
9415 enablestring=
9416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9417 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9418 no_cache=0
9419 # Check whether --enable-comboctrl was given.
9420 if test "${enable_comboctrl+set}" = set; then
9421 enableval=$enable_comboctrl;
9422 if test "$enableval" = yes; then
9423 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9424 else
9425 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9426 fi
9427
9428 else
9429
9430 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9431 if test "x$LINE" != x ; then
9432 eval "DEFAULT_$LINE"
9433 else
9434 no_cache=1
9435 fi
9436
9437 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9438
9439 fi
9440
9441
9442 eval "$ac_cv_use_comboctrl"
9443 if test "$no_cache" != 1; then
9444 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9445 fi
9446
9447 if test "$wxUSE_COMBOCTRL" = yes; then
9448 { echo "$as_me:$LINENO: result: yes" >&5
9449 echo "${ECHO_T}yes" >&6; }
9450 else
9451 { echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6; }
9453 fi
9454
9455
9456 enablestring=
9457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9458 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9459 no_cache=0
9460 # Check whether --enable-datepick was given.
9461 if test "${enable_datepick+set}" = set; then
9462 enableval=$enable_datepick;
9463 if test "$enableval" = yes; then
9464 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9465 else
9466 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9467 fi
9468
9469 else
9470
9471 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9472 if test "x$LINE" != x ; then
9473 eval "DEFAULT_$LINE"
9474 else
9475 no_cache=1
9476 fi
9477
9478 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9479
9480 fi
9481
9482
9483 eval "$ac_cv_use_datepick"
9484 if test "$no_cache" != 1; then
9485 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9486 fi
9487
9488 if test "$wxUSE_DATEPICKCTRL" = yes; then
9489 { echo "$as_me:$LINENO: result: yes" >&5
9490 echo "${ECHO_T}yes" >&6; }
9491 else
9492 { echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6; }
9494 fi
9495
9496
9497 enablestring=
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9500 no_cache=0
9501 # Check whether --enable-dirpicker was given.
9502 if test "${enable_dirpicker+set}" = set; then
9503 enableval=$enable_dirpicker;
9504 if test "$enableval" = yes; then
9505 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9506 else
9507 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9508 fi
9509
9510 else
9511
9512 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9513 if test "x$LINE" != x ; then
9514 eval "DEFAULT_$LINE"
9515 else
9516 no_cache=1
9517 fi
9518
9519 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9520
9521 fi
9522
9523
9524 eval "$ac_cv_use_dirpicker"
9525 if test "$no_cache" != 1; then
9526 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9527 fi
9528
9529 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9530 { echo "$as_me:$LINENO: result: yes" >&5
9531 echo "${ECHO_T}yes" >&6; }
9532 else
9533 { echo "$as_me:$LINENO: result: no" >&5
9534 echo "${ECHO_T}no" >&6; }
9535 fi
9536
9537
9538 enablestring=
9539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9540 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9541 no_cache=0
9542 # Check whether --enable-display was given.
9543 if test "${enable_display+set}" = set; then
9544 enableval=$enable_display;
9545 if test "$enableval" = yes; then
9546 ac_cv_use_display='wxUSE_DISPLAY=yes'
9547 else
9548 ac_cv_use_display='wxUSE_DISPLAY=no'
9549 fi
9550
9551 else
9552
9553 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9554 if test "x$LINE" != x ; then
9555 eval "DEFAULT_$LINE"
9556 else
9557 no_cache=1
9558 fi
9559
9560 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9561
9562 fi
9563
9564
9565 eval "$ac_cv_use_display"
9566 if test "$no_cache" != 1; then
9567 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9568 fi
9569
9570 if test "$wxUSE_DISPLAY" = yes; then
9571 { echo "$as_me:$LINENO: result: yes" >&5
9572 echo "${ECHO_T}yes" >&6; }
9573 else
9574 { echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6; }
9576 fi
9577
9578
9579 enablestring=
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9582 no_cache=0
9583 # Check whether --enable-detect_sm was given.
9584 if test "${enable_detect_sm+set}" = set; then
9585 enableval=$enable_detect_sm;
9586 if test "$enableval" = yes; then
9587 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9588 else
9589 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9590 fi
9591
9592 else
9593
9594 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9595 if test "x$LINE" != x ; then
9596 eval "DEFAULT_$LINE"
9597 else
9598 no_cache=1
9599 fi
9600
9601 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9602
9603 fi
9604
9605
9606 eval "$ac_cv_use_detect_sm"
9607 if test "$no_cache" != 1; then
9608 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9609 fi
9610
9611 if test "$wxUSE_DETECT_SM" = yes; then
9612 { echo "$as_me:$LINENO: result: yes" >&5
9613 echo "${ECHO_T}yes" >&6; }
9614 else
9615 { echo "$as_me:$LINENO: result: no" >&5
9616 echo "${ECHO_T}no" >&6; }
9617 fi
9618
9619
9620 enablestring=
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9623 no_cache=0
9624 # Check whether --enable-filepicker was given.
9625 if test "${enable_filepicker+set}" = set; then
9626 enableval=$enable_filepicker;
9627 if test "$enableval" = yes; then
9628 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9629 else
9630 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9631 fi
9632
9633 else
9634
9635 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9636 if test "x$LINE" != x ; then
9637 eval "DEFAULT_$LINE"
9638 else
9639 no_cache=1
9640 fi
9641
9642 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9643
9644 fi
9645
9646
9647 eval "$ac_cv_use_filepicker"
9648 if test "$no_cache" != 1; then
9649 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9650 fi
9651
9652 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9653 { echo "$as_me:$LINENO: result: yes" >&5
9654 echo "${ECHO_T}yes" >&6; }
9655 else
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9658 fi
9659
9660
9661 enablestring=
9662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9663 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9664 no_cache=0
9665 # Check whether --enable-fontpicker was given.
9666 if test "${enable_fontpicker+set}" = set; then
9667 enableval=$enable_fontpicker;
9668 if test "$enableval" = yes; then
9669 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9670 else
9671 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9672 fi
9673
9674 else
9675
9676 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9677 if test "x$LINE" != x ; then
9678 eval "DEFAULT_$LINE"
9679 else
9680 no_cache=1
9681 fi
9682
9683 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9684
9685 fi
9686
9687
9688 eval "$ac_cv_use_fontpicker"
9689 if test "$no_cache" != 1; then
9690 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9691 fi
9692
9693 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9694 { echo "$as_me:$LINENO: result: yes" >&5
9695 echo "${ECHO_T}yes" >&6; }
9696 else
9697 { echo "$as_me:$LINENO: result: no" >&5
9698 echo "${ECHO_T}no" >&6; }
9699 fi
9700
9701
9702 enablestring=
9703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9704 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9705 no_cache=0
9706 # Check whether --enable-gauge was given.
9707 if test "${enable_gauge+set}" = set; then
9708 enableval=$enable_gauge;
9709 if test "$enableval" = yes; then
9710 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9711 else
9712 ac_cv_use_gauge='wxUSE_GAUGE=no'
9713 fi
9714
9715 else
9716
9717 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9718 if test "x$LINE" != x ; then
9719 eval "DEFAULT_$LINE"
9720 else
9721 no_cache=1
9722 fi
9723
9724 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9725
9726 fi
9727
9728
9729 eval "$ac_cv_use_gauge"
9730 if test "$no_cache" != 1; then
9731 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9732 fi
9733
9734 if test "$wxUSE_GAUGE" = yes; then
9735 { echo "$as_me:$LINENO: result: yes" >&5
9736 echo "${ECHO_T}yes" >&6; }
9737 else
9738 { echo "$as_me:$LINENO: result: no" >&5
9739 echo "${ECHO_T}no" >&6; }
9740 fi
9741
9742
9743 enablestring=
9744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9745 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9746 no_cache=0
9747 # Check whether --enable-grid was given.
9748 if test "${enable_grid+set}" = set; then
9749 enableval=$enable_grid;
9750 if test "$enableval" = yes; then
9751 ac_cv_use_grid='wxUSE_GRID=yes'
9752 else
9753 ac_cv_use_grid='wxUSE_GRID=no'
9754 fi
9755
9756 else
9757
9758 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9759 if test "x$LINE" != x ; then
9760 eval "DEFAULT_$LINE"
9761 else
9762 no_cache=1
9763 fi
9764
9765 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9766
9767 fi
9768
9769
9770 eval "$ac_cv_use_grid"
9771 if test "$no_cache" != 1; then
9772 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9773 fi
9774
9775 if test "$wxUSE_GRID" = yes; then
9776 { echo "$as_me:$LINENO: result: yes" >&5
9777 echo "${ECHO_T}yes" >&6; }
9778 else
9779 { echo "$as_me:$LINENO: result: no" >&5
9780 echo "${ECHO_T}no" >&6; }
9781 fi
9782
9783
9784 enablestring=
9785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9786 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9787 no_cache=0
9788 # Check whether --enable-dataviewctrl was given.
9789 if test "${enable_dataviewctrl+set}" = set; then
9790 enableval=$enable_dataviewctrl;
9791 if test "$enableval" = yes; then
9792 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9793 else
9794 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9795 fi
9796
9797 else
9798
9799 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9800 if test "x$LINE" != x ; then
9801 eval "DEFAULT_$LINE"
9802 else
9803 no_cache=1
9804 fi
9805
9806 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9807
9808 fi
9809
9810
9811 eval "$ac_cv_use_dataviewctrl"
9812 if test "$no_cache" != 1; then
9813 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9814 fi
9815
9816 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9817 { echo "$as_me:$LINENO: result: yes" >&5
9818 echo "${ECHO_T}yes" >&6; }
9819 else
9820 { echo "$as_me:$LINENO: result: no" >&5
9821 echo "${ECHO_T}no" >&6; }
9822 fi
9823
9824
9825 enablestring=
9826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9827 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9828 no_cache=0
9829 # Check whether --enable-hyperlink was given.
9830 if test "${enable_hyperlink+set}" = set; then
9831 enableval=$enable_hyperlink;
9832 if test "$enableval" = yes; then
9833 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9834 else
9835 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9848
9849 fi
9850
9851
9852 eval "$ac_cv_use_hyperlink"
9853 if test "$no_cache" != 1; then
9854 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9855 fi
9856
9857 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9858 { echo "$as_me:$LINENO: result: yes" >&5
9859 echo "${ECHO_T}yes" >&6; }
9860 else
9861 { echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6; }
9863 fi
9864
9865
9866 enablestring=
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9869 no_cache=0
9870 # Check whether --enable-imaglist was given.
9871 if test "${enable_imaglist+set}" = set; then
9872 enableval=$enable_imaglist;
9873 if test "$enableval" = yes; then
9874 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9875 else
9876 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9877 fi
9878
9879 else
9880
9881 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9882 if test "x$LINE" != x ; then
9883 eval "DEFAULT_$LINE"
9884 else
9885 no_cache=1
9886 fi
9887
9888 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9889
9890 fi
9891
9892
9893 eval "$ac_cv_use_imaglist"
9894 if test "$no_cache" != 1; then
9895 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9896 fi
9897
9898 if test "$wxUSE_IMAGLIST" = yes; then
9899 { echo "$as_me:$LINENO: result: yes" >&5
9900 echo "${ECHO_T}yes" >&6; }
9901 else
9902 { echo "$as_me:$LINENO: result: no" >&5
9903 echo "${ECHO_T}no" >&6; }
9904 fi
9905
9906
9907 enablestring=
9908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9909 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9910 no_cache=0
9911 # Check whether --enable-listbook was given.
9912 if test "${enable_listbook+set}" = set; then
9913 enableval=$enable_listbook;
9914 if test "$enableval" = yes; then
9915 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9916 else
9917 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9918 fi
9919
9920 else
9921
9922 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9923 if test "x$LINE" != x ; then
9924 eval "DEFAULT_$LINE"
9925 else
9926 no_cache=1
9927 fi
9928
9929 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9930
9931 fi
9932
9933
9934 eval "$ac_cv_use_listbook"
9935 if test "$no_cache" != 1; then
9936 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9937 fi
9938
9939 if test "$wxUSE_LISTBOOK" = yes; then
9940 { echo "$as_me:$LINENO: result: yes" >&5
9941 echo "${ECHO_T}yes" >&6; }
9942 else
9943 { echo "$as_me:$LINENO: result: no" >&5
9944 echo "${ECHO_T}no" >&6; }
9945 fi
9946
9947
9948 enablestring=
9949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9950 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9951 no_cache=0
9952 # Check whether --enable-listbox was given.
9953 if test "${enable_listbox+set}" = set; then
9954 enableval=$enable_listbox;
9955 if test "$enableval" = yes; then
9956 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9957 else
9958 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9971
9972 fi
9973
9974
9975 eval "$ac_cv_use_listbox"
9976 if test "$no_cache" != 1; then
9977 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9978 fi
9979
9980 if test "$wxUSE_LISTBOX" = yes; then
9981 { echo "$as_me:$LINENO: result: yes" >&5
9982 echo "${ECHO_T}yes" >&6; }
9983 else
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9986 fi
9987
9988
9989 enablestring=
9990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9992 no_cache=0
9993 # Check whether --enable-listctrl was given.
9994 if test "${enable_listctrl+set}" = set; then
9995 enableval=$enable_listctrl;
9996 if test "$enableval" = yes; then
9997 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9998 else
9999 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10000 fi
10001
10002 else
10003
10004 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10007 else
10008 no_cache=1
10009 fi
10010
10011 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10012
10013 fi
10014
10015
10016 eval "$ac_cv_use_listctrl"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10019 fi
10020
10021 if test "$wxUSE_LISTCTRL" = yes; then
10022 { echo "$as_me:$LINENO: result: yes" >&5
10023 echo "${ECHO_T}yes" >&6; }
10024 else
10025 { echo "$as_me:$LINENO: result: no" >&5
10026 echo "${ECHO_T}no" >&6; }
10027 fi
10028
10029
10030 enablestring=
10031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10032 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10033 no_cache=0
10034 # Check whether --enable-notebook was given.
10035 if test "${enable_notebook+set}" = set; then
10036 enableval=$enable_notebook;
10037 if test "$enableval" = yes; then
10038 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10039 else
10040 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10041 fi
10042
10043 else
10044
10045 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10048 else
10049 no_cache=1
10050 fi
10051
10052 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10053
10054 fi
10055
10056
10057 eval "$ac_cv_use_notebook"
10058 if test "$no_cache" != 1; then
10059 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10060 fi
10061
10062 if test "$wxUSE_NOTEBOOK" = yes; then
10063 { echo "$as_me:$LINENO: result: yes" >&5
10064 echo "${ECHO_T}yes" >&6; }
10065 else
10066 { echo "$as_me:$LINENO: result: no" >&5
10067 echo "${ECHO_T}no" >&6; }
10068 fi
10069
10070
10071 enablestring=
10072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10073 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10074 no_cache=0
10075 # Check whether --enable-odcombobox was given.
10076 if test "${enable_odcombobox+set}" = set; then
10077 enableval=$enable_odcombobox;
10078 if test "$enableval" = yes; then
10079 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10080 else
10081 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10082 fi
10083
10084 else
10085
10086 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 else
10090 no_cache=1
10091 fi
10092
10093 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10094
10095 fi
10096
10097
10098 eval "$ac_cv_use_odcombobox"
10099 if test "$no_cache" != 1; then
10100 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10101 fi
10102
10103 if test "$wxUSE_ODCOMBOBOX" = yes; then
10104 { echo "$as_me:$LINENO: result: yes" >&5
10105 echo "${ECHO_T}yes" >&6; }
10106 else
10107 { echo "$as_me:$LINENO: result: no" >&5
10108 echo "${ECHO_T}no" >&6; }
10109 fi
10110
10111
10112 enablestring=
10113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10115 no_cache=0
10116 # Check whether --enable-radiobox was given.
10117 if test "${enable_radiobox+set}" = set; then
10118 enableval=$enable_radiobox;
10119 if test "$enableval" = yes; then
10120 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10121 else
10122 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10123 fi
10124
10125 else
10126
10127 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10130 else
10131 no_cache=1
10132 fi
10133
10134 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10135
10136 fi
10137
10138
10139 eval "$ac_cv_use_radiobox"
10140 if test "$no_cache" != 1; then
10141 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10142 fi
10143
10144 if test "$wxUSE_RADIOBOX" = yes; then
10145 { echo "$as_me:$LINENO: result: yes" >&5
10146 echo "${ECHO_T}yes" >&6; }
10147 else
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10150 fi
10151
10152
10153 enablestring=
10154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10155 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10156 no_cache=0
10157 # Check whether --enable-radiobtn was given.
10158 if test "${enable_radiobtn+set}" = set; then
10159 enableval=$enable_radiobtn;
10160 if test "$enableval" = yes; then
10161 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10162 else
10163 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10164 fi
10165
10166 else
10167
10168 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 else
10172 no_cache=1
10173 fi
10174
10175 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10176
10177 fi
10178
10179
10180 eval "$ac_cv_use_radiobtn"
10181 if test "$no_cache" != 1; then
10182 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10183 fi
10184
10185 if test "$wxUSE_RADIOBTN" = yes; then
10186 { echo "$as_me:$LINENO: result: yes" >&5
10187 echo "${ECHO_T}yes" >&6; }
10188 else
10189 { echo "$as_me:$LINENO: result: no" >&5
10190 echo "${ECHO_T}no" >&6; }
10191 fi
10192
10193
10194 enablestring=
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10197 no_cache=0
10198 # Check whether --enable-sash was given.
10199 if test "${enable_sash+set}" = set; then
10200 enableval=$enable_sash;
10201 if test "$enableval" = yes; then
10202 ac_cv_use_sash='wxUSE_SASH=yes'
10203 else
10204 ac_cv_use_sash='wxUSE_SASH=no'
10205 fi
10206
10207 else
10208
10209 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10212 else
10213 no_cache=1
10214 fi
10215
10216 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10217
10218 fi
10219
10220
10221 eval "$ac_cv_use_sash"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10224 fi
10225
10226 if test "$wxUSE_SASH" = yes; then
10227 { echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6; }
10229 else
10230 { echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6; }
10232 fi
10233
10234
10235 enablestring=
10236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10238 no_cache=0
10239 # Check whether --enable-scrollbar was given.
10240 if test "${enable_scrollbar+set}" = set; then
10241 enableval=$enable_scrollbar;
10242 if test "$enableval" = yes; then
10243 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10244 else
10245 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10246 fi
10247
10248 else
10249
10250 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10253 else
10254 no_cache=1
10255 fi
10256
10257 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10258
10259 fi
10260
10261
10262 eval "$ac_cv_use_scrollbar"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10265 fi
10266
10267 if test "$wxUSE_SCROLLBAR" = yes; then
10268 { echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6; }
10270 else
10271 { echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6; }
10273 fi
10274
10275
10276 enablestring=
10277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10279 no_cache=0
10280 # Check whether --enable-searchctrl was given.
10281 if test "${enable_searchctrl+set}" = set; then
10282 enableval=$enable_searchctrl;
10283 if test "$enableval" = yes; then
10284 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10285 else
10286 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10287 fi
10288
10289 else
10290
10291 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 else
10295 no_cache=1
10296 fi
10297
10298 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10299
10300 fi
10301
10302
10303 eval "$ac_cv_use_searchctrl"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10306 fi
10307
10308 if test "$wxUSE_SEARCHCTRL" = yes; then
10309 { echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6; }
10311 else
10312 { echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6; }
10314 fi
10315
10316
10317 enablestring=
10318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10320 no_cache=0
10321 # Check whether --enable-slider was given.
10322 if test "${enable_slider+set}" = set; then
10323 enableval=$enable_slider;
10324 if test "$enableval" = yes; then
10325 ac_cv_use_slider='wxUSE_SLIDER=yes'
10326 else
10327 ac_cv_use_slider='wxUSE_SLIDER=no'
10328 fi
10329
10330 else
10331
10332 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x ; then
10334 eval "DEFAULT_$LINE"
10335 else
10336 no_cache=1
10337 fi
10338
10339 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10340
10341 fi
10342
10343
10344 eval "$ac_cv_use_slider"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10347 fi
10348
10349 if test "$wxUSE_SLIDER" = yes; then
10350 { echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6; }
10352 else
10353 { echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6; }
10355 fi
10356
10357
10358 enablestring=
10359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10361 no_cache=0
10362 # Check whether --enable-spinbtn was given.
10363 if test "${enable_spinbtn+set}" = set; then
10364 enableval=$enable_spinbtn;
10365 if test "$enableval" = yes; then
10366 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10367 else
10368 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10369 fi
10370
10371 else
10372
10373 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10376 else
10377 no_cache=1
10378 fi
10379
10380 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10381
10382 fi
10383
10384
10385 eval "$ac_cv_use_spinbtn"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10388 fi
10389
10390 if test "$wxUSE_SPINBTN" = yes; then
10391 { echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6; }
10393 else
10394 { echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6; }
10396 fi
10397
10398
10399 enablestring=
10400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10402 no_cache=0
10403 # Check whether --enable-spinctrl was given.
10404 if test "${enable_spinctrl+set}" = set; then
10405 enableval=$enable_spinctrl;
10406 if test "$enableval" = yes; then
10407 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10408 else
10409 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10410 fi
10411
10412 else
10413
10414 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x ; then
10416 eval "DEFAULT_$LINE"
10417 else
10418 no_cache=1
10419 fi
10420
10421 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10422
10423 fi
10424
10425
10426 eval "$ac_cv_use_spinctrl"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10429 fi
10430
10431 if test "$wxUSE_SPINCTRL" = yes; then
10432 { echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6; }
10434 else
10435 { echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6; }
10437 fi
10438
10439
10440 enablestring=
10441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10443 no_cache=0
10444 # Check whether --enable-splitter was given.
10445 if test "${enable_splitter+set}" = set; then
10446 enableval=$enable_splitter;
10447 if test "$enableval" = yes; then
10448 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10449 else
10450 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10451 fi
10452
10453 else
10454
10455 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10458 else
10459 no_cache=1
10460 fi
10461
10462 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10463
10464 fi
10465
10466
10467 eval "$ac_cv_use_splitter"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10470 fi
10471
10472 if test "$wxUSE_SPLITTER" = yes; then
10473 { echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6; }
10475 else
10476 { echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6; }
10478 fi
10479
10480
10481 enablestring=
10482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10484 no_cache=0
10485 # Check whether --enable-statbmp was given.
10486 if test "${enable_statbmp+set}" = set; then
10487 enableval=$enable_statbmp;
10488 if test "$enableval" = yes; then
10489 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10490 else
10491 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10492 fi
10493
10494 else
10495
10496 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x ; then
10498 eval "DEFAULT_$LINE"
10499 else
10500 no_cache=1
10501 fi
10502
10503 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10504
10505 fi
10506
10507
10508 eval "$ac_cv_use_statbmp"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10511 fi
10512
10513 if test "$wxUSE_STATBMP" = yes; then
10514 { echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6; }
10516 else
10517 { echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6; }
10519 fi
10520
10521
10522 enablestring=
10523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10525 no_cache=0
10526 # Check whether --enable-statbox was given.
10527 if test "${enable_statbox+set}" = set; then
10528 enableval=$enable_statbox;
10529 if test "$enableval" = yes; then
10530 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10531 else
10532 ac_cv_use_statbox='wxUSE_STATBOX=no'
10533 fi
10534
10535 else
10536
10537 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10538 if test "x$LINE" != x ; then
10539 eval "DEFAULT_$LINE"
10540 else
10541 no_cache=1
10542 fi
10543
10544 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10545
10546 fi
10547
10548
10549 eval "$ac_cv_use_statbox"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10552 fi
10553
10554 if test "$wxUSE_STATBOX" = yes; then
10555 { echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6; }
10557 else
10558 { echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6; }
10560 fi
10561
10562
10563 enablestring=
10564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10566 no_cache=0
10567 # Check whether --enable-statline was given.
10568 if test "${enable_statline+set}" = set; then
10569 enableval=$enable_statline;
10570 if test "$enableval" = yes; then
10571 ac_cv_use_statline='wxUSE_STATLINE=yes'
10572 else
10573 ac_cv_use_statline='wxUSE_STATLINE=no'
10574 fi
10575
10576 else
10577
10578 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10579 if test "x$LINE" != x ; then
10580 eval "DEFAULT_$LINE"
10581 else
10582 no_cache=1
10583 fi
10584
10585 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10586
10587 fi
10588
10589
10590 eval "$ac_cv_use_statline"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10593 fi
10594
10595 if test "$wxUSE_STATLINE" = yes; then
10596 { echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6; }
10598 else
10599 { echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6; }
10601 fi
10602
10603
10604 enablestring=
10605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10607 no_cache=0
10608 # Check whether --enable-stattext was given.
10609 if test "${enable_stattext+set}" = set; then
10610 enableval=$enable_stattext;
10611 if test "$enableval" = yes; then
10612 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10613 else
10614 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10615 fi
10616
10617 else
10618
10619 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10620 if test "x$LINE" != x ; then
10621 eval "DEFAULT_$LINE"
10622 else
10623 no_cache=1
10624 fi
10625
10626 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10627
10628 fi
10629
10630
10631 eval "$ac_cv_use_stattext"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10634 fi
10635
10636 if test "$wxUSE_STATTEXT" = yes; then
10637 { echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6; }
10639 else
10640 { echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6; }
10642 fi
10643
10644
10645 enablestring=
10646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10648 no_cache=0
10649 # Check whether --enable-statusbar was given.
10650 if test "${enable_statusbar+set}" = set; then
10651 enableval=$enable_statusbar;
10652 if test "$enableval" = yes; then
10653 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10654 else
10655 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10656 fi
10657
10658 else
10659
10660 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10661 if test "x$LINE" != x ; then
10662 eval "DEFAULT_$LINE"
10663 else
10664 no_cache=1
10665 fi
10666
10667 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10668
10669 fi
10670
10671
10672 eval "$ac_cv_use_statusbar"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10675 fi
10676
10677 if test "$wxUSE_STATUSBAR" = yes; then
10678 { echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6; }
10680 else
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10683 fi
10684
10685
10686 enablestring=
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10689 no_cache=0
10690 # Check whether --enable-tabdialog was given.
10691 if test "${enable_tabdialog+set}" = set; then
10692 enableval=$enable_tabdialog;
10693 if test "$enableval" = yes; then
10694 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10695 else
10696 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10697 fi
10698
10699 else
10700
10701 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10702 if test "x$LINE" != x ; then
10703 eval "DEFAULT_$LINE"
10704 else
10705 no_cache=1
10706 fi
10707
10708 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10709
10710 fi
10711
10712
10713 eval "$ac_cv_use_tabdialog"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10716 fi
10717
10718 if test "$wxUSE_TAB_DIALOG" = yes; then
10719 { echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6; }
10721 else
10722 { echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6; }
10724 fi
10725
10726
10727 enablestring=
10728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10730 no_cache=0
10731 # Check whether --enable-textctrl was given.
10732 if test "${enable_textctrl+set}" = set; then
10733 enableval=$enable_textctrl;
10734 if test "$enableval" = yes; then
10735 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10736 else
10737 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10738 fi
10739
10740 else
10741
10742 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10743 if test "x$LINE" != x ; then
10744 eval "DEFAULT_$LINE"
10745 else
10746 no_cache=1
10747 fi
10748
10749 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10750
10751 fi
10752
10753
10754 eval "$ac_cv_use_textctrl"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10757 fi
10758
10759 if test "$wxUSE_TEXTCTRL" = yes; then
10760 { echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6; }
10762 else
10763 { echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6; }
10765 fi
10766
10767
10768 enablestring=
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10771 no_cache=0
10772 # Check whether --enable-togglebtn was given.
10773 if test "${enable_togglebtn+set}" = set; then
10774 enableval=$enable_togglebtn;
10775 if test "$enableval" = yes; then
10776 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10777 else
10778 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10779 fi
10780
10781 else
10782
10783 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10784 if test "x$LINE" != x ; then
10785 eval "DEFAULT_$LINE"
10786 else
10787 no_cache=1
10788 fi
10789
10790 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10791
10792 fi
10793
10794
10795 eval "$ac_cv_use_togglebtn"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10798 fi
10799
10800 if test "$wxUSE_TOGGLEBTN" = yes; then
10801 { echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6; }
10803 else
10804 { echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6; }
10806 fi
10807
10808
10809 enablestring=
10810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10811 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10812 no_cache=0
10813 # Check whether --enable-toolbar was given.
10814 if test "${enable_toolbar+set}" = set; then
10815 enableval=$enable_toolbar;
10816 if test "$enableval" = yes; then
10817 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10818 else
10819 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10820 fi
10821
10822 else
10823
10824 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10825 if test "x$LINE" != x ; then
10826 eval "DEFAULT_$LINE"
10827 else
10828 no_cache=1
10829 fi
10830
10831 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10832
10833 fi
10834
10835
10836 eval "$ac_cv_use_toolbar"
10837 if test "$no_cache" != 1; then
10838 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10839 fi
10840
10841 if test "$wxUSE_TOOLBAR" = yes; then
10842 { echo "$as_me:$LINENO: result: yes" >&5
10843 echo "${ECHO_T}yes" >&6; }
10844 else
10845 { echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6; }
10847 fi
10848
10849
10850 enablestring=
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10853 no_cache=0
10854 # Check whether --enable-tbarnative was given.
10855 if test "${enable_tbarnative+set}" = set; then
10856 enableval=$enable_tbarnative;
10857 if test "$enableval" = yes; then
10858 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10859 else
10860 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10861 fi
10862
10863 else
10864
10865 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10866 if test "x$LINE" != x ; then
10867 eval "DEFAULT_$LINE"
10868 else
10869 no_cache=1
10870 fi
10871
10872 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10873
10874 fi
10875
10876
10877 eval "$ac_cv_use_tbarnative"
10878 if test "$no_cache" != 1; then
10879 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10880 fi
10881
10882 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10883 { echo "$as_me:$LINENO: result: yes" >&5
10884 echo "${ECHO_T}yes" >&6; }
10885 else
10886 { echo "$as_me:$LINENO: result: no" >&5
10887 echo "${ECHO_T}no" >&6; }
10888 fi
10889
10890
10891 enablestring=
10892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10893 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10894 no_cache=0
10895 # Check whether --enable-treebook was given.
10896 if test "${enable_treebook+set}" = set; then
10897 enableval=$enable_treebook;
10898 if test "$enableval" = yes; then
10899 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10900 else
10901 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10902 fi
10903
10904 else
10905
10906 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10907 if test "x$LINE" != x ; then
10908 eval "DEFAULT_$LINE"
10909 else
10910 no_cache=1
10911 fi
10912
10913 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10914
10915 fi
10916
10917
10918 eval "$ac_cv_use_treebook"
10919 if test "$no_cache" != 1; then
10920 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10921 fi
10922
10923 if test "$wxUSE_TREEBOOK" = yes; then
10924 { echo "$as_me:$LINENO: result: yes" >&5
10925 echo "${ECHO_T}yes" >&6; }
10926 else
10927 { echo "$as_me:$LINENO: result: no" >&5
10928 echo "${ECHO_T}no" >&6; }
10929 fi
10930
10931
10932 enablestring=
10933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10934 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10935 no_cache=0
10936 # Check whether --enable-toolbook was given.
10937 if test "${enable_toolbook+set}" = set; then
10938 enableval=$enable_toolbook;
10939 if test "$enableval" = yes; then
10940 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10941 else
10942 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10943 fi
10944
10945 else
10946
10947 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10948 if test "x$LINE" != x ; then
10949 eval "DEFAULT_$LINE"
10950 else
10951 no_cache=1
10952 fi
10953
10954 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10955
10956 fi
10957
10958
10959 eval "$ac_cv_use_toolbook"
10960 if test "$no_cache" != 1; then
10961 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10962 fi
10963
10964 if test "$wxUSE_TOOLBOOK" = yes; then
10965 { echo "$as_me:$LINENO: result: yes" >&5
10966 echo "${ECHO_T}yes" >&6; }
10967 else
10968 { echo "$as_me:$LINENO: result: no" >&5
10969 echo "${ECHO_T}no" >&6; }
10970 fi
10971
10972
10973 enablestring=
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10976 no_cache=0
10977 # Check whether --enable-treectrl was given.
10978 if test "${enable_treectrl+set}" = set; then
10979 enableval=$enable_treectrl;
10980 if test "$enableval" = yes; then
10981 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10982 else
10983 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10984 fi
10985
10986 else
10987
10988 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10989 if test "x$LINE" != x ; then
10990 eval "DEFAULT_$LINE"
10991 else
10992 no_cache=1
10993 fi
10994
10995 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10996
10997 fi
10998
10999
11000 eval "$ac_cv_use_treectrl"
11001 if test "$no_cache" != 1; then
11002 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11003 fi
11004
11005 if test "$wxUSE_TREECTRL" = yes; then
11006 { echo "$as_me:$LINENO: result: yes" >&5
11007 echo "${ECHO_T}yes" >&6; }
11008 else
11009 { echo "$as_me:$LINENO: result: no" >&5
11010 echo "${ECHO_T}no" >&6; }
11011 fi
11012
11013
11014 enablestring=
11015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11016 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11017 no_cache=0
11018 # Check whether --enable-tipwindow was given.
11019 if test "${enable_tipwindow+set}" = set; then
11020 enableval=$enable_tipwindow;
11021 if test "$enableval" = yes; then
11022 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11023 else
11024 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11025 fi
11026
11027 else
11028
11029 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11030 if test "x$LINE" != x ; then
11031 eval "DEFAULT_$LINE"
11032 else
11033 no_cache=1
11034 fi
11035
11036 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11037
11038 fi
11039
11040
11041 eval "$ac_cv_use_tipwindow"
11042 if test "$no_cache" != 1; then
11043 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11044 fi
11045
11046 if test "$wxUSE_TIPWINDOW" = yes; then
11047 { echo "$as_me:$LINENO: result: yes" >&5
11048 echo "${ECHO_T}yes" >&6; }
11049 else
11050 { echo "$as_me:$LINENO: result: no" >&5
11051 echo "${ECHO_T}no" >&6; }
11052 fi
11053
11054
11055 enablestring=
11056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11057 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11058 no_cache=0
11059 # Check whether --enable-popupwin was given.
11060 if test "${enable_popupwin+set}" = set; then
11061 enableval=$enable_popupwin;
11062 if test "$enableval" = yes; then
11063 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11064 else
11065 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11066 fi
11067
11068 else
11069
11070 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11071 if test "x$LINE" != x ; then
11072 eval "DEFAULT_$LINE"
11073 else
11074 no_cache=1
11075 fi
11076
11077 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11078
11079 fi
11080
11081
11082 eval "$ac_cv_use_popupwin"
11083 if test "$no_cache" != 1; then
11084 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11085 fi
11086
11087 if test "$wxUSE_POPUPWIN" = yes; then
11088 { echo "$as_me:$LINENO: result: yes" >&5
11089 echo "${ECHO_T}yes" >&6; }
11090 else
11091 { echo "$as_me:$LINENO: result: no" >&5
11092 echo "${ECHO_T}no" >&6; }
11093 fi
11094
11095
11096
11097
11098 enablestring=
11099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11100 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11101 no_cache=0
11102 # Check whether --enable-commondlg was given.
11103 if test "${enable_commondlg+set}" = set; then
11104 enableval=$enable_commondlg;
11105 if test "$enableval" = yes; then
11106 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11107 else
11108 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11109 fi
11110
11111 else
11112
11113 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11114 if test "x$LINE" != x ; then
11115 eval "DEFAULT_$LINE"
11116 else
11117 no_cache=1
11118 fi
11119
11120 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11121
11122 fi
11123
11124
11125 eval "$ac_cv_use_commondlg"
11126 if test "$no_cache" != 1; then
11127 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11128 fi
11129
11130 if test "$wxUSE_COMMONDLGS" = yes; then
11131 { echo "$as_me:$LINENO: result: yes" >&5
11132 echo "${ECHO_T}yes" >&6; }
11133 else
11134 { echo "$as_me:$LINENO: result: no" >&5
11135 echo "${ECHO_T}no" >&6; }
11136 fi
11137
11138
11139 enablestring=
11140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11141 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11142 no_cache=0
11143 # Check whether --enable-aboutdlg was given.
11144 if test "${enable_aboutdlg+set}" = set; then
11145 enableval=$enable_aboutdlg;
11146 if test "$enableval" = yes; then
11147 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11148 else
11149 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11150 fi
11151
11152 else
11153
11154 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11155 if test "x$LINE" != x ; then
11156 eval "DEFAULT_$LINE"
11157 else
11158 no_cache=1
11159 fi
11160
11161 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11162
11163 fi
11164
11165
11166 eval "$ac_cv_use_aboutdlg"
11167 if test "$no_cache" != 1; then
11168 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11169 fi
11170
11171 if test "$wxUSE_ABOUTDLG" = yes; then
11172 { echo "$as_me:$LINENO: result: yes" >&5
11173 echo "${ECHO_T}yes" >&6; }
11174 else
11175 { echo "$as_me:$LINENO: result: no" >&5
11176 echo "${ECHO_T}no" >&6; }
11177 fi
11178
11179
11180 enablestring=
11181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11182 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11183 no_cache=0
11184 # Check whether --enable-choicedlg was given.
11185 if test "${enable_choicedlg+set}" = set; then
11186 enableval=$enable_choicedlg;
11187 if test "$enableval" = yes; then
11188 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11189 else
11190 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11191 fi
11192
11193 else
11194
11195 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11196 if test "x$LINE" != x ; then
11197 eval "DEFAULT_$LINE"
11198 else
11199 no_cache=1
11200 fi
11201
11202 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11203
11204 fi
11205
11206
11207 eval "$ac_cv_use_choicedlg"
11208 if test "$no_cache" != 1; then
11209 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11210 fi
11211
11212 if test "$wxUSE_CHOICEDLG" = yes; then
11213 { echo "$as_me:$LINENO: result: yes" >&5
11214 echo "${ECHO_T}yes" >&6; }
11215 else
11216 { echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6; }
11218 fi
11219
11220
11221 enablestring=
11222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11224 no_cache=0
11225 # Check whether --enable-coldlg was given.
11226 if test "${enable_coldlg+set}" = set; then
11227 enableval=$enable_coldlg;
11228 if test "$enableval" = yes; then
11229 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11230 else
11231 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11232 fi
11233
11234 else
11235
11236 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11237 if test "x$LINE" != x ; then
11238 eval "DEFAULT_$LINE"
11239 else
11240 no_cache=1
11241 fi
11242
11243 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11244
11245 fi
11246
11247
11248 eval "$ac_cv_use_coldlg"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11251 fi
11252
11253 if test "$wxUSE_COLOURDLG" = yes; then
11254 { echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6; }
11256 else
11257 { echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6; }
11259 fi
11260
11261
11262 enablestring=
11263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11264 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11265 no_cache=0
11266 # Check whether --enable-filedlg was given.
11267 if test "${enable_filedlg+set}" = set; then
11268 enableval=$enable_filedlg;
11269 if test "$enableval" = yes; then
11270 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11271 else
11272 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11273 fi
11274
11275 else
11276
11277 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11278 if test "x$LINE" != x ; then
11279 eval "DEFAULT_$LINE"
11280 else
11281 no_cache=1
11282 fi
11283
11284 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11285
11286 fi
11287
11288
11289 eval "$ac_cv_use_filedlg"
11290 if test "$no_cache" != 1; then
11291 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11292 fi
11293
11294 if test "$wxUSE_FILEDLG" = yes; then
11295 { echo "$as_me:$LINENO: result: yes" >&5
11296 echo "${ECHO_T}yes" >&6; }
11297 else
11298 { echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6; }
11300 fi
11301
11302
11303 enablestring=
11304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11305 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11306 no_cache=0
11307 # Check whether --enable-finddlg was given.
11308 if test "${enable_finddlg+set}" = set; then
11309 enableval=$enable_finddlg;
11310 if test "$enableval" = yes; then
11311 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11312 else
11313 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11314 fi
11315
11316 else
11317
11318 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11319 if test "x$LINE" != x ; then
11320 eval "DEFAULT_$LINE"
11321 else
11322 no_cache=1
11323 fi
11324
11325 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11326
11327 fi
11328
11329
11330 eval "$ac_cv_use_finddlg"
11331 if test "$no_cache" != 1; then
11332 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11333 fi
11334
11335 if test "$wxUSE_FINDREPLDLG" = yes; then
11336 { echo "$as_me:$LINENO: result: yes" >&5
11337 echo "${ECHO_T}yes" >&6; }
11338 else
11339 { echo "$as_me:$LINENO: result: no" >&5
11340 echo "${ECHO_T}no" >&6; }
11341 fi
11342
11343
11344 enablestring=
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11347 no_cache=0
11348 # Check whether --enable-fontdlg was given.
11349 if test "${enable_fontdlg+set}" = set; then
11350 enableval=$enable_fontdlg;
11351 if test "$enableval" = yes; then
11352 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11353 else
11354 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11355 fi
11356
11357 else
11358
11359 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11360 if test "x$LINE" != x ; then
11361 eval "DEFAULT_$LINE"
11362 else
11363 no_cache=1
11364 fi
11365
11366 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11367
11368 fi
11369
11370
11371 eval "$ac_cv_use_fontdlg"
11372 if test "$no_cache" != 1; then
11373 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11374 fi
11375
11376 if test "$wxUSE_FONTDLG" = yes; then
11377 { echo "$as_me:$LINENO: result: yes" >&5
11378 echo "${ECHO_T}yes" >&6; }
11379 else
11380 { echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6; }
11382 fi
11383
11384
11385 enablestring=
11386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11387 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11388 no_cache=0
11389 # Check whether --enable-dirdlg was given.
11390 if test "${enable_dirdlg+set}" = set; then
11391 enableval=$enable_dirdlg;
11392 if test "$enableval" = yes; then
11393 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11394 else
11395 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11396 fi
11397
11398 else
11399
11400 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11401 if test "x$LINE" != x ; then
11402 eval "DEFAULT_$LINE"
11403 else
11404 no_cache=1
11405 fi
11406
11407 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11408
11409 fi
11410
11411
11412 eval "$ac_cv_use_dirdlg"
11413 if test "$no_cache" != 1; then
11414 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11415 fi
11416
11417 if test "$wxUSE_DIRDLG" = yes; then
11418 { echo "$as_me:$LINENO: result: yes" >&5
11419 echo "${ECHO_T}yes" >&6; }
11420 else
11421 { echo "$as_me:$LINENO: result: no" >&5
11422 echo "${ECHO_T}no" >&6; }
11423 fi
11424
11425
11426 enablestring=
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11429 no_cache=0
11430 # Check whether --enable-msgdlg was given.
11431 if test "${enable_msgdlg+set}" = set; then
11432 enableval=$enable_msgdlg;
11433 if test "$enableval" = yes; then
11434 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11435 else
11436 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11437 fi
11438
11439 else
11440
11441 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11442 if test "x$LINE" != x ; then
11443 eval "DEFAULT_$LINE"
11444 else
11445 no_cache=1
11446 fi
11447
11448 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11449
11450 fi
11451
11452
11453 eval "$ac_cv_use_msgdlg"
11454 if test "$no_cache" != 1; then
11455 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11456 fi
11457
11458 if test "$wxUSE_MSGDLG" = yes; then
11459 { echo "$as_me:$LINENO: result: yes" >&5
11460 echo "${ECHO_T}yes" >&6; }
11461 else
11462 { echo "$as_me:$LINENO: result: no" >&5
11463 echo "${ECHO_T}no" >&6; }
11464 fi
11465
11466
11467 enablestring=
11468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11469 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11470 no_cache=0
11471 # Check whether --enable-numberdlg was given.
11472 if test "${enable_numberdlg+set}" = set; then
11473 enableval=$enable_numberdlg;
11474 if test "$enableval" = yes; then
11475 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11476 else
11477 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11478 fi
11479
11480 else
11481
11482 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11483 if test "x$LINE" != x ; then
11484 eval "DEFAULT_$LINE"
11485 else
11486 no_cache=1
11487 fi
11488
11489 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11490
11491 fi
11492
11493
11494 eval "$ac_cv_use_numberdlg"
11495 if test "$no_cache" != 1; then
11496 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11497 fi
11498
11499 if test "$wxUSE_NUMBERDLG" = yes; then
11500 { echo "$as_me:$LINENO: result: yes" >&5
11501 echo "${ECHO_T}yes" >&6; }
11502 else
11503 { echo "$as_me:$LINENO: result: no" >&5
11504 echo "${ECHO_T}no" >&6; }
11505 fi
11506
11507
11508 enablestring=
11509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11510 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11511 no_cache=0
11512 # Check whether --enable-splash was given.
11513 if test "${enable_splash+set}" = set; then
11514 enableval=$enable_splash;
11515 if test "$enableval" = yes; then
11516 ac_cv_use_splash='wxUSE_SPLASH=yes'
11517 else
11518 ac_cv_use_splash='wxUSE_SPLASH=no'
11519 fi
11520
11521 else
11522
11523 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11524 if test "x$LINE" != x ; then
11525 eval "DEFAULT_$LINE"
11526 else
11527 no_cache=1
11528 fi
11529
11530 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11531
11532 fi
11533
11534
11535 eval "$ac_cv_use_splash"
11536 if test "$no_cache" != 1; then
11537 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11538 fi
11539
11540 if test "$wxUSE_SPLASH" = yes; then
11541 { echo "$as_me:$LINENO: result: yes" >&5
11542 echo "${ECHO_T}yes" >&6; }
11543 else
11544 { echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6; }
11546 fi
11547
11548
11549 enablestring=
11550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11551 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11552 no_cache=0
11553 # Check whether --enable-textdlg was given.
11554 if test "${enable_textdlg+set}" = set; then
11555 enableval=$enable_textdlg;
11556 if test "$enableval" = yes; then
11557 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11558 else
11559 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11560 fi
11561
11562 else
11563
11564 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11565 if test "x$LINE" != x ; then
11566 eval "DEFAULT_$LINE"
11567 else
11568 no_cache=1
11569 fi
11570
11571 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11572
11573 fi
11574
11575
11576 eval "$ac_cv_use_textdlg"
11577 if test "$no_cache" != 1; then
11578 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11579 fi
11580
11581 if test "$wxUSE_TEXTDLG" = yes; then
11582 { echo "$as_me:$LINENO: result: yes" >&5
11583 echo "${ECHO_T}yes" >&6; }
11584 else
11585 { echo "$as_me:$LINENO: result: no" >&5
11586 echo "${ECHO_T}no" >&6; }
11587 fi
11588
11589
11590 enablestring=
11591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11592 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11593 no_cache=0
11594 # Check whether --enable-tipdlg was given.
11595 if test "${enable_tipdlg+set}" = set; then
11596 enableval=$enable_tipdlg;
11597 if test "$enableval" = yes; then
11598 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11599 else
11600 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11601 fi
11602
11603 else
11604
11605 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11606 if test "x$LINE" != x ; then
11607 eval "DEFAULT_$LINE"
11608 else
11609 no_cache=1
11610 fi
11611
11612 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11613
11614 fi
11615
11616
11617 eval "$ac_cv_use_tipdlg"
11618 if test "$no_cache" != 1; then
11619 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11620 fi
11621
11622 if test "$wxUSE_STARTUP_TIPS" = yes; then
11623 { echo "$as_me:$LINENO: result: yes" >&5
11624 echo "${ECHO_T}yes" >&6; }
11625 else
11626 { echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6; }
11628 fi
11629
11630
11631 enablestring=
11632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11633 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11634 no_cache=0
11635 # Check whether --enable-progressdlg was given.
11636 if test "${enable_progressdlg+set}" = set; then
11637 enableval=$enable_progressdlg;
11638 if test "$enableval" = yes; then
11639 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11640 else
11641 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11642 fi
11643
11644 else
11645
11646 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11647 if test "x$LINE" != x ; then
11648 eval "DEFAULT_$LINE"
11649 else
11650 no_cache=1
11651 fi
11652
11653 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11654
11655 fi
11656
11657
11658 eval "$ac_cv_use_progressdlg"
11659 if test "$no_cache" != 1; then
11660 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11661 fi
11662
11663 if test "$wxUSE_PROGRESSDLG" = yes; then
11664 { echo "$as_me:$LINENO: result: yes" >&5
11665 echo "${ECHO_T}yes" >&6; }
11666 else
11667 { echo "$as_me:$LINENO: result: no" >&5
11668 echo "${ECHO_T}no" >&6; }
11669 fi
11670
11671
11672 enablestring=
11673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11674 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11675 no_cache=0
11676 # Check whether --enable-wizarddlg was given.
11677 if test "${enable_wizarddlg+set}" = set; then
11678 enableval=$enable_wizarddlg;
11679 if test "$enableval" = yes; then
11680 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11681 else
11682 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11683 fi
11684
11685 else
11686
11687 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11688 if test "x$LINE" != x ; then
11689 eval "DEFAULT_$LINE"
11690 else
11691 no_cache=1
11692 fi
11693
11694 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11695
11696 fi
11697
11698
11699 eval "$ac_cv_use_wizarddlg"
11700 if test "$no_cache" != 1; then
11701 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11702 fi
11703
11704 if test "$wxUSE_WIZARDDLG" = yes; then
11705 { echo "$as_me:$LINENO: result: yes" >&5
11706 echo "${ECHO_T}yes" >&6; }
11707 else
11708 { echo "$as_me:$LINENO: result: no" >&5
11709 echo "${ECHO_T}no" >&6; }
11710 fi
11711
11712
11713
11714
11715 enablestring=
11716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11717 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11718 no_cache=0
11719 # Check whether --enable-menus was given.
11720 if test "${enable_menus+set}" = set; then
11721 enableval=$enable_menus;
11722 if test "$enableval" = yes; then
11723 ac_cv_use_menus='wxUSE_MENUS=yes'
11724 else
11725 ac_cv_use_menus='wxUSE_MENUS=no'
11726 fi
11727
11728 else
11729
11730 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11731 if test "x$LINE" != x ; then
11732 eval "DEFAULT_$LINE"
11733 else
11734 no_cache=1
11735 fi
11736
11737 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11738
11739 fi
11740
11741
11742 eval "$ac_cv_use_menus"
11743 if test "$no_cache" != 1; then
11744 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11745 fi
11746
11747 if test "$wxUSE_MENUS" = yes; then
11748 { echo "$as_me:$LINENO: result: yes" >&5
11749 echo "${ECHO_T}yes" >&6; }
11750 else
11751 { echo "$as_me:$LINENO: result: no" >&5
11752 echo "${ECHO_T}no" >&6; }
11753 fi
11754
11755
11756 enablestring=
11757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11758 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11759 no_cache=0
11760 # Check whether --enable-miniframe was given.
11761 if test "${enable_miniframe+set}" = set; then
11762 enableval=$enable_miniframe;
11763 if test "$enableval" = yes; then
11764 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11765 else
11766 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11767 fi
11768
11769 else
11770
11771 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11772 if test "x$LINE" != x ; then
11773 eval "DEFAULT_$LINE"
11774 else
11775 no_cache=1
11776 fi
11777
11778 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11779
11780 fi
11781
11782
11783 eval "$ac_cv_use_miniframe"
11784 if test "$no_cache" != 1; then
11785 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11786 fi
11787
11788 if test "$wxUSE_MINIFRAME" = yes; then
11789 { echo "$as_me:$LINENO: result: yes" >&5
11790 echo "${ECHO_T}yes" >&6; }
11791 else
11792 { echo "$as_me:$LINENO: result: no" >&5
11793 echo "${ECHO_T}no" >&6; }
11794 fi
11795
11796
11797 enablestring=
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11800 no_cache=0
11801 # Check whether --enable-tooltips was given.
11802 if test "${enable_tooltips+set}" = set; then
11803 enableval=$enable_tooltips;
11804 if test "$enableval" = yes; then
11805 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11806 else
11807 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11808 fi
11809
11810 else
11811
11812 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11813 if test "x$LINE" != x ; then
11814 eval "DEFAULT_$LINE"
11815 else
11816 no_cache=1
11817 fi
11818
11819 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11820
11821 fi
11822
11823
11824 eval "$ac_cv_use_tooltips"
11825 if test "$no_cache" != 1; then
11826 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11827 fi
11828
11829 if test "$wxUSE_TOOLTIPS" = yes; then
11830 { echo "$as_me:$LINENO: result: yes" >&5
11831 echo "${ECHO_T}yes" >&6; }
11832 else
11833 { echo "$as_me:$LINENO: result: no" >&5
11834 echo "${ECHO_T}no" >&6; }
11835 fi
11836
11837
11838 enablestring=
11839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11840 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11841 no_cache=0
11842 # Check whether --enable-splines was given.
11843 if test "${enable_splines+set}" = set; then
11844 enableval=$enable_splines;
11845 if test "$enableval" = yes; then
11846 ac_cv_use_splines='wxUSE_SPLINES=yes'
11847 else
11848 ac_cv_use_splines='wxUSE_SPLINES=no'
11849 fi
11850
11851 else
11852
11853 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11854 if test "x$LINE" != x ; then
11855 eval "DEFAULT_$LINE"
11856 else
11857 no_cache=1
11858 fi
11859
11860 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11861
11862 fi
11863
11864
11865 eval "$ac_cv_use_splines"
11866 if test "$no_cache" != 1; then
11867 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11868 fi
11869
11870 if test "$wxUSE_SPLINES" = yes; then
11871 { echo "$as_me:$LINENO: result: yes" >&5
11872 echo "${ECHO_T}yes" >&6; }
11873 else
11874 { echo "$as_me:$LINENO: result: no" >&5
11875 echo "${ECHO_T}no" >&6; }
11876 fi
11877
11878
11879 enablestring=
11880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11881 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11882 no_cache=0
11883 # Check whether --enable-mousewheel was given.
11884 if test "${enable_mousewheel+set}" = set; then
11885 enableval=$enable_mousewheel;
11886 if test "$enableval" = yes; then
11887 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11888 else
11889 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11890 fi
11891
11892 else
11893
11894 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11895 if test "x$LINE" != x ; then
11896 eval "DEFAULT_$LINE"
11897 else
11898 no_cache=1
11899 fi
11900
11901 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11902
11903 fi
11904
11905
11906 eval "$ac_cv_use_mousewheel"
11907 if test "$no_cache" != 1; then
11908 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11909 fi
11910
11911 if test "$wxUSE_MOUSEWHEEL" = yes; then
11912 { echo "$as_me:$LINENO: result: yes" >&5
11913 echo "${ECHO_T}yes" >&6; }
11914 else
11915 { echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6; }
11917 fi
11918
11919
11920 enablestring=
11921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11922 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11923 no_cache=0
11924 # Check whether --enable-validators was given.
11925 if test "${enable_validators+set}" = set; then
11926 enableval=$enable_validators;
11927 if test "$enableval" = yes; then
11928 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11929 else
11930 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11931 fi
11932
11933 else
11934
11935 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11936 if test "x$LINE" != x ; then
11937 eval "DEFAULT_$LINE"
11938 else
11939 no_cache=1
11940 fi
11941
11942 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11943
11944 fi
11945
11946
11947 eval "$ac_cv_use_validators"
11948 if test "$no_cache" != 1; then
11949 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11950 fi
11951
11952 if test "$wxUSE_VALIDATORS" = yes; then
11953 { echo "$as_me:$LINENO: result: yes" >&5
11954 echo "${ECHO_T}yes" >&6; }
11955 else
11956 { echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6; }
11958 fi
11959
11960
11961 enablestring=
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11964 no_cache=0
11965 # Check whether --enable-busyinfo was given.
11966 if test "${enable_busyinfo+set}" = set; then
11967 enableval=$enable_busyinfo;
11968 if test "$enableval" = yes; then
11969 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11970 else
11971 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11972 fi
11973
11974 else
11975
11976 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11977 if test "x$LINE" != x ; then
11978 eval "DEFAULT_$LINE"
11979 else
11980 no_cache=1
11981 fi
11982
11983 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11984
11985 fi
11986
11987
11988 eval "$ac_cv_use_busyinfo"
11989 if test "$no_cache" != 1; then
11990 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11991 fi
11992
11993 if test "$wxUSE_BUSYINFO" = yes; then
11994 { echo "$as_me:$LINENO: result: yes" >&5
11995 echo "${ECHO_T}yes" >&6; }
11996 else
11997 { echo "$as_me:$LINENO: result: no" >&5
11998 echo "${ECHO_T}no" >&6; }
11999 fi
12000
12001
12002 enablestring=
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12005 no_cache=0
12006 # Check whether --enable-joystick was given.
12007 if test "${enable_joystick+set}" = set; then
12008 enableval=$enable_joystick;
12009 if test "$enableval" = yes; then
12010 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12011 else
12012 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12013 fi
12014
12015 else
12016
12017 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
12018 if test "x$LINE" != x ; then
12019 eval "DEFAULT_$LINE"
12020 else
12021 no_cache=1
12022 fi
12023
12024 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12025
12026 fi
12027
12028
12029 eval "$ac_cv_use_joystick"
12030 if test "$no_cache" != 1; then
12031 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12032 fi
12033
12034 if test "$wxUSE_JOYSTICK" = yes; then
12035 { echo "$as_me:$LINENO: result: yes" >&5
12036 echo "${ECHO_T}yes" >&6; }
12037 else
12038 { echo "$as_me:$LINENO: result: no" >&5
12039 echo "${ECHO_T}no" >&6; }
12040 fi
12041
12042
12043 enablestring=
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12046 no_cache=0
12047 # Check whether --enable-metafile was given.
12048 if test "${enable_metafile+set}" = set; then
12049 enableval=$enable_metafile;
12050 if test "$enableval" = yes; then
12051 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12052 else
12053 ac_cv_use_metafile='wxUSE_METAFILE=no'
12054 fi
12055
12056 else
12057
12058 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12059 if test "x$LINE" != x ; then
12060 eval "DEFAULT_$LINE"
12061 else
12062 no_cache=1
12063 fi
12064
12065 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12066
12067 fi
12068
12069
12070 eval "$ac_cv_use_metafile"
12071 if test "$no_cache" != 1; then
12072 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12073 fi
12074
12075 if test "$wxUSE_METAFILE" = yes; then
12076 { echo "$as_me:$LINENO: result: yes" >&5
12077 echo "${ECHO_T}yes" >&6; }
12078 else
12079 { echo "$as_me:$LINENO: result: no" >&5
12080 echo "${ECHO_T}no" >&6; }
12081 fi
12082
12083
12084 enablestring=
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12087 no_cache=0
12088 # Check whether --enable-dragimage was given.
12089 if test "${enable_dragimage+set}" = set; then
12090 enableval=$enable_dragimage;
12091 if test "$enableval" = yes; then
12092 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12093 else
12094 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12095 fi
12096
12097 else
12098
12099 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12100 if test "x$LINE" != x ; then
12101 eval "DEFAULT_$LINE"
12102 else
12103 no_cache=1
12104 fi
12105
12106 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12107
12108 fi
12109
12110
12111 eval "$ac_cv_use_dragimage"
12112 if test "$no_cache" != 1; then
12113 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12114 fi
12115
12116 if test "$wxUSE_DRAGIMAGE" = yes; then
12117 { echo "$as_me:$LINENO: result: yes" >&5
12118 echo "${ECHO_T}yes" >&6; }
12119 else
12120 { echo "$as_me:$LINENO: result: no" >&5
12121 echo "${ECHO_T}no" >&6; }
12122 fi
12123
12124
12125 enablestring=
12126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12127 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12128 no_cache=0
12129 # Check whether --enable-accessibility was given.
12130 if test "${enable_accessibility+set}" = set; then
12131 enableval=$enable_accessibility;
12132 if test "$enableval" = yes; then
12133 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12134 else
12135 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12136 fi
12137
12138 else
12139
12140 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12141 if test "x$LINE" != x ; then
12142 eval "DEFAULT_$LINE"
12143 else
12144 no_cache=1
12145 fi
12146
12147 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12148
12149 fi
12150
12151
12152 eval "$ac_cv_use_accessibility"
12153 if test "$no_cache" != 1; then
12154 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12155 fi
12156
12157 if test "$wxUSE_ACCESSIBILITY" = yes; then
12158 { echo "$as_me:$LINENO: result: yes" >&5
12159 echo "${ECHO_T}yes" >&6; }
12160 else
12161 { echo "$as_me:$LINENO: result: no" >&5
12162 echo "${ECHO_T}no" >&6; }
12163 fi
12164
12165
12166 if test "$wxUSE_MSW" = "1"; then
12167
12168 enablestring=
12169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12170 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12171 no_cache=0
12172 # Check whether --enable-dccache was given.
12173 if test "${enable_dccache+set}" = set; then
12174 enableval=$enable_dccache;
12175 if test "$enableval" = yes; then
12176 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12177 else
12178 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12179 fi
12180
12181 else
12182
12183 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12184 if test "x$LINE" != x ; then
12185 eval "DEFAULT_$LINE"
12186 else
12187 no_cache=1
12188 fi
12189
12190 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12191
12192 fi
12193
12194
12195 eval "$ac_cv_use_dccache"
12196 if test "$no_cache" != 1; then
12197 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12198 fi
12199
12200 if test "$wxUSE_DC_CACHEING" = yes; then
12201 { echo "$as_me:$LINENO: result: yes" >&5
12202 echo "${ECHO_T}yes" >&6; }
12203 else
12204 { echo "$as_me:$LINENO: result: no" >&5
12205 echo "${ECHO_T}no" >&6; }
12206 fi
12207
12208 fi
12209
12210
12211
12212 enablestring=
12213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12214 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12215 no_cache=0
12216 # Check whether --enable-palette was given.
12217 if test "${enable_palette+set}" = set; then
12218 enableval=$enable_palette;
12219 if test "$enableval" = yes; then
12220 ac_cv_use_palette='wxUSE_PALETTE=yes'
12221 else
12222 ac_cv_use_palette='wxUSE_PALETTE=no'
12223 fi
12224
12225 else
12226
12227 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12228 if test "x$LINE" != x ; then
12229 eval "DEFAULT_$LINE"
12230 else
12231 no_cache=1
12232 fi
12233
12234 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12235
12236 fi
12237
12238
12239 eval "$ac_cv_use_palette"
12240 if test "$no_cache" != 1; then
12241 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12242 fi
12243
12244 if test "$wxUSE_PALETTE" = yes; then
12245 { echo "$as_me:$LINENO: result: yes" >&5
12246 echo "${ECHO_T}yes" >&6; }
12247 else
12248 { echo "$as_me:$LINENO: result: no" >&5
12249 echo "${ECHO_T}no" >&6; }
12250 fi
12251
12252
12253 enablestring=
12254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12255 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12256 no_cache=0
12257 # Check whether --enable-image was given.
12258 if test "${enable_image+set}" = set; then
12259 enableval=$enable_image;
12260 if test "$enableval" = yes; then
12261 ac_cv_use_image='wxUSE_IMAGE=yes'
12262 else
12263 ac_cv_use_image='wxUSE_IMAGE=no'
12264 fi
12265
12266 else
12267
12268 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12269 if test "x$LINE" != x ; then
12270 eval "DEFAULT_$LINE"
12271 else
12272 no_cache=1
12273 fi
12274
12275 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12276
12277 fi
12278
12279
12280 eval "$ac_cv_use_image"
12281 if test "$no_cache" != 1; then
12282 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12283 fi
12284
12285 if test "$wxUSE_IMAGE" = yes; then
12286 { echo "$as_me:$LINENO: result: yes" >&5
12287 echo "${ECHO_T}yes" >&6; }
12288 else
12289 { echo "$as_me:$LINENO: result: no" >&5
12290 echo "${ECHO_T}no" >&6; }
12291 fi
12292
12293
12294 enablestring=
12295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12296 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12297 no_cache=0
12298 # Check whether --enable-gif was given.
12299 if test "${enable_gif+set}" = set; then
12300 enableval=$enable_gif;
12301 if test "$enableval" = yes; then
12302 ac_cv_use_gif='wxUSE_GIF=yes'
12303 else
12304 ac_cv_use_gif='wxUSE_GIF=no'
12305 fi
12306
12307 else
12308
12309 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12310 if test "x$LINE" != x ; then
12311 eval "DEFAULT_$LINE"
12312 else
12313 no_cache=1
12314 fi
12315
12316 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12317
12318 fi
12319
12320
12321 eval "$ac_cv_use_gif"
12322 if test "$no_cache" != 1; then
12323 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12324 fi
12325
12326 if test "$wxUSE_GIF" = yes; then
12327 { echo "$as_me:$LINENO: result: yes" >&5
12328 echo "${ECHO_T}yes" >&6; }
12329 else
12330 { echo "$as_me:$LINENO: result: no" >&5
12331 echo "${ECHO_T}no" >&6; }
12332 fi
12333
12334
12335 enablestring=
12336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12337 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12338 no_cache=0
12339 # Check whether --enable-pcx was given.
12340 if test "${enable_pcx+set}" = set; then
12341 enableval=$enable_pcx;
12342 if test "$enableval" = yes; then
12343 ac_cv_use_pcx='wxUSE_PCX=yes'
12344 else
12345 ac_cv_use_pcx='wxUSE_PCX=no'
12346 fi
12347
12348 else
12349
12350 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12351 if test "x$LINE" != x ; then
12352 eval "DEFAULT_$LINE"
12353 else
12354 no_cache=1
12355 fi
12356
12357 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12358
12359 fi
12360
12361
12362 eval "$ac_cv_use_pcx"
12363 if test "$no_cache" != 1; then
12364 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12365 fi
12366
12367 if test "$wxUSE_PCX" = yes; then
12368 { echo "$as_me:$LINENO: result: yes" >&5
12369 echo "${ECHO_T}yes" >&6; }
12370 else
12371 { echo "$as_me:$LINENO: result: no" >&5
12372 echo "${ECHO_T}no" >&6; }
12373 fi
12374
12375
12376 enablestring=
12377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12378 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12379 no_cache=0
12380 # Check whether --enable-tga was given.
12381 if test "${enable_tga+set}" = set; then
12382 enableval=$enable_tga;
12383 if test "$enableval" = yes; then
12384 ac_cv_use_tga='wxUSE_TGA=yes'
12385 else
12386 ac_cv_use_tga='wxUSE_TGA=no'
12387 fi
12388
12389 else
12390
12391 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12392 if test "x$LINE" != x ; then
12393 eval "DEFAULT_$LINE"
12394 else
12395 no_cache=1
12396 fi
12397
12398 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12399
12400 fi
12401
12402
12403 eval "$ac_cv_use_tga"
12404 if test "$no_cache" != 1; then
12405 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12406 fi
12407
12408 if test "$wxUSE_TGA" = yes; then
12409 { echo "$as_me:$LINENO: result: yes" >&5
12410 echo "${ECHO_T}yes" >&6; }
12411 else
12412 { echo "$as_me:$LINENO: result: no" >&5
12413 echo "${ECHO_T}no" >&6; }
12414 fi
12415
12416
12417 enablestring=
12418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12419 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12420 no_cache=0
12421 # Check whether --enable-iff was given.
12422 if test "${enable_iff+set}" = set; then
12423 enableval=$enable_iff;
12424 if test "$enableval" = yes; then
12425 ac_cv_use_iff='wxUSE_IFF=yes'
12426 else
12427 ac_cv_use_iff='wxUSE_IFF=no'
12428 fi
12429
12430 else
12431
12432 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12435 else
12436 no_cache=1
12437 fi
12438
12439 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12440
12441 fi
12442
12443
12444 eval "$ac_cv_use_iff"
12445 if test "$no_cache" != 1; then
12446 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12447 fi
12448
12449 if test "$wxUSE_IFF" = yes; then
12450 { echo "$as_me:$LINENO: result: yes" >&5
12451 echo "${ECHO_T}yes" >&6; }
12452 else
12453 { echo "$as_me:$LINENO: result: no" >&5
12454 echo "${ECHO_T}no" >&6; }
12455 fi
12456
12457
12458 enablestring=
12459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12460 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12461 no_cache=0
12462 # Check whether --enable-pnm was given.
12463 if test "${enable_pnm+set}" = set; then
12464 enableval=$enable_pnm;
12465 if test "$enableval" = yes; then
12466 ac_cv_use_pnm='wxUSE_PNM=yes'
12467 else
12468 ac_cv_use_pnm='wxUSE_PNM=no'
12469 fi
12470
12471 else
12472
12473 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12474 if test "x$LINE" != x ; then
12475 eval "DEFAULT_$LINE"
12476 else
12477 no_cache=1
12478 fi
12479
12480 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12481
12482 fi
12483
12484
12485 eval "$ac_cv_use_pnm"
12486 if test "$no_cache" != 1; then
12487 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12488 fi
12489
12490 if test "$wxUSE_PNM" = yes; then
12491 { echo "$as_me:$LINENO: result: yes" >&5
12492 echo "${ECHO_T}yes" >&6; }
12493 else
12494 { echo "$as_me:$LINENO: result: no" >&5
12495 echo "${ECHO_T}no" >&6; }
12496 fi
12497
12498
12499 enablestring=
12500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12501 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12502 no_cache=0
12503 # Check whether --enable-xpm was given.
12504 if test "${enable_xpm+set}" = set; then
12505 enableval=$enable_xpm;
12506 if test "$enableval" = yes; then
12507 ac_cv_use_xpm='wxUSE_XPM=yes'
12508 else
12509 ac_cv_use_xpm='wxUSE_XPM=no'
12510 fi
12511
12512 else
12513
12514 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12515 if test "x$LINE" != x ; then
12516 eval "DEFAULT_$LINE"
12517 else
12518 no_cache=1
12519 fi
12520
12521 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12522
12523 fi
12524
12525
12526 eval "$ac_cv_use_xpm"
12527 if test "$no_cache" != 1; then
12528 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12529 fi
12530
12531 if test "$wxUSE_XPM" = yes; then
12532 { echo "$as_me:$LINENO: result: yes" >&5
12533 echo "${ECHO_T}yes" >&6; }
12534 else
12535 { echo "$as_me:$LINENO: result: no" >&5
12536 echo "${ECHO_T}no" >&6; }
12537 fi
12538
12539
12540 enablestring=
12541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12542 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12543 no_cache=0
12544 # Check whether --enable-ico_cur was given.
12545 if test "${enable_ico_cur+set}" = set; then
12546 enableval=$enable_ico_cur;
12547 if test "$enableval" = yes; then
12548 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12549 else
12550 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12551 fi
12552
12553 else
12554
12555 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12556 if test "x$LINE" != x ; then
12557 eval "DEFAULT_$LINE"
12558 else
12559 no_cache=1
12560 fi
12561
12562 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12563
12564 fi
12565
12566
12567 eval "$ac_cv_use_ico_cur"
12568 if test "$no_cache" != 1; then
12569 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12570 fi
12571
12572 if test "$wxUSE_ICO_CUR" = yes; then
12573 { echo "$as_me:$LINENO: result: yes" >&5
12574 echo "${ECHO_T}yes" >&6; }
12575 else
12576 { echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6; }
12578 fi
12579
12580
12581 fi
12582
12583
12584
12585 # Check whether --with-flavour was given.
12586 if test "${with_flavour+set}" = set; then
12587 withval=$with_flavour; WX_FLAVOUR="$withval"
12588 fi
12589
12590
12591
12592
12593 enablestring=
12594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12595 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12596 no_cache=0
12597 # Check whether --enable-official_build was given.
12598 if test "${enable_official_build+set}" = set; then
12599 enableval=$enable_official_build;
12600 if test "$enableval" = yes; then
12601 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12602 else
12603 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12604 fi
12605
12606 else
12607
12608 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12609 if test "x$LINE" != x ; then
12610 eval "DEFAULT_$LINE"
12611 else
12612 no_cache=1
12613 fi
12614
12615 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12616
12617 fi
12618
12619
12620 eval "$ac_cv_use_official_build"
12621 if test "$no_cache" != 1; then
12622 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12623 fi
12624
12625 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12626 { echo "$as_me:$LINENO: result: yes" >&5
12627 echo "${ECHO_T}yes" >&6; }
12628 else
12629 { echo "$as_me:$LINENO: result: no" >&5
12630 echo "${ECHO_T}no" >&6; }
12631 fi
12632
12633 # Check whether --enable-vendor was given.
12634 if test "${enable_vendor+set}" = set; then
12635 enableval=$enable_vendor; VENDOR="$enableval"
12636 fi
12637
12638 if test "x$VENDOR" = "x"; then
12639 VENDOR="custom"
12640 fi
12641
12642
12643
12644
12645 echo "saving argument cache $wx_arg_cache_file"
12646 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12647
12648
12649
12650 { echo "$as_me:$LINENO: checking for toolkit" >&5
12651 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12652
12653 # In Wine, we need to default to MSW, not GTK or MOTIF
12654 if test "$wxUSE_WINE" = "yes"; then
12655 DEFAULT_DEFAULT_wxUSE_GTK=0
12656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12657 DEFAULT_DEFAULT_wxUSE_MSW=1
12658 wxUSE_SHARED=no
12659 CC=${CC:-winegcc}
12660 CXX=${CXX:-wineg++}
12661 fi
12662
12663
12664 if test "$wxUSE_GUI" = "yes"; then
12665
12666 if test "$USE_BEOS" = 1; then
12667 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12668 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12669 { (exit 1); exit 1; }; }
12670 fi
12671
12672 if test "$TOOLKIT_GIVEN" = 1; then
12673 for toolkit in `echo $ALL_TOOLKITS`; do
12674 var=wxUSE_$toolkit
12675 eval "value=\$${var}"
12676 if test "x$value" = "xno"; then
12677 eval "$var=0"
12678 elif test "x$value" != "x"; then
12679 eval "$var=1"
12680 fi
12681
12682 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12683 eval "wx${toolkit}_VERSION=$value"
12684 fi
12685 done
12686 else
12687 for toolkit in `echo $ALL_TOOLKITS`; do
12688 if test "$has_toolkit_in_cache" != 1; then
12689 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12690 else
12691 var=DEFAULT_wxUSE_$toolkit
12692
12693 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12694 if test "x$version" != "x"; then
12695 eval "wx${toolkit}_VERSION=$version"
12696 fi
12697 fi
12698 eval "wxUSE_$toolkit=\$${var}"
12699 done
12700 fi
12701
12702 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12703 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12704 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12705
12706 case "${host}" in
12707 *-pc-os2_emx | *-pc-os2-emx )
12708 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12709 esac
12710
12711 case "$NUM_TOOLKITS" in
12712 1)
12713 ;;
12714 0)
12715 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12716 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12717 { (exit 1); exit 1; }; }
12718 ;;
12719 *)
12720 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12721 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12722 { (exit 1); exit 1; }; }
12723 esac
12724
12725 # to be removed when --disable-gtk2 isn't needed
12726 if test "x$wxUSE_GTK2" = "xyes"; then
12727 wxGTK_VERSION=2
12728 elif test "x$wxUSE_GTK2" = "xno"; then
12729 wxGTK_VERSION=1
12730 fi
12731
12732 for toolkit in `echo $ALL_TOOLKITS`; do
12733 var=wxUSE_$toolkit
12734 eval "value=\$${var}"
12735 if test "x$value" != x; then
12736 cache_var=CACHE_$toolkit
12737 eval "cache=\$${cache_var}"
12738 if test "$cache" = 1; then
12739 echo "$var=$value" >> ${wx_arg_cache_file}
12740 eval "version=\$wx${toolkit}_VERSION"
12741 if test "x$version" != "x"; then
12742 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12743 fi
12744 fi
12745 if test "$value" = 1; then
12746 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12747 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12748 echo "${ECHO_T}$toolkit_echo" >&6; }
12749 fi
12750 fi
12751 done
12752 else
12753 if test "x$host_alias" != "x"; then
12754 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12755 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12756 else
12757 { echo "$as_me:$LINENO: result: base only" >&5
12758 echo "${ECHO_T}base only" >&6; }
12759 fi
12760 fi
12761
12762
12763 cat >confcache <<\_ACEOF
12764 # This file is a shell script that caches the results of configure
12765 # tests run on this system so they can be shared between configure
12766 # scripts and configure runs, see configure's option --config-cache.
12767 # It is not useful on other systems. If it contains results you don't
12768 # want to keep, you may remove or edit it.
12769 #
12770 # config.status only pays attention to the cache file if you give it
12771 # the --recheck option to rerun configure.
12772 #
12773 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12774 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12775 # following values.
12776
12777 _ACEOF
12778
12779 # The following way of writing the cache mishandles newlines in values,
12780 # but we know of no workaround that is simple, portable, and efficient.
12781 # So, we kill variables containing newlines.
12782 # Ultrix sh set writes to stderr and can't be redirected directly,
12783 # and sets the high bit in the cache file unless we assign to the vars.
12784 (
12785 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12786 eval ac_val=\$$ac_var
12787 case $ac_val in #(
12788 *${as_nl}*)
12789 case $ac_var in #(
12790 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12791 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12792 esac
12793 case $ac_var in #(
12794 _ | IFS | as_nl) ;; #(
12795 *) $as_unset $ac_var ;;
12796 esac ;;
12797 esac
12798 done
12799
12800 (set) 2>&1 |
12801 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12802 *${as_nl}ac_space=\ *)
12803 # `set' does not quote correctly, so add quotes (double-quote
12804 # substitution turns \\\\ into \\, and sed turns \\ into \).
12805 sed -n \
12806 "s/'/'\\\\''/g;
12807 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12808 ;; #(
12809 *)
12810 # `set' quotes correctly as required by POSIX, so do not add quotes.
12811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12812 ;;
12813 esac |
12814 sort
12815 ) |
12816 sed '
12817 /^ac_cv_env_/b end
12818 t clear
12819 :clear
12820 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12821 t end
12822 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12823 :end' >>confcache
12824 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12825 if test -w "$cache_file"; then
12826 test "x$cache_file" != "x/dev/null" &&
12827 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12828 echo "$as_me: updating cache $cache_file" >&6;}
12829 cat confcache >$cache_file
12830 else
12831 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12832 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12833 fi
12834 fi
12835 rm -f confcache
12836
12837 CFLAGS=${CFLAGS:=}
12838
12839
12840
12841 ac_ext=c
12842 ac_cpp='$CPP $CPPFLAGS'
12843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12846 if test -n "$ac_tool_prefix"; then
12847 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12848 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12851 if test "${ac_cv_prog_CC+set}" = set; then
12852 echo $ECHO_N "(cached) $ECHO_C" >&6
12853 else
12854 if test -n "$CC"; then
12855 ac_cv_prog_CC="$CC" # Let the user override the test.
12856 else
12857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12858 for as_dir in $PATH
12859 do
12860 IFS=$as_save_IFS
12861 test -z "$as_dir" && as_dir=.
12862 for ac_exec_ext in '' $ac_executable_extensions; do
12863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12864 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12866 break 2
12867 fi
12868 done
12869 done
12870 IFS=$as_save_IFS
12871
12872 fi
12873 fi
12874 CC=$ac_cv_prog_CC
12875 if test -n "$CC"; then
12876 { echo "$as_me:$LINENO: result: $CC" >&5
12877 echo "${ECHO_T}$CC" >&6; }
12878 else
12879 { echo "$as_me:$LINENO: result: no" >&5
12880 echo "${ECHO_T}no" >&6; }
12881 fi
12882
12883
12884 fi
12885 if test -z "$ac_cv_prog_CC"; then
12886 ac_ct_CC=$CC
12887 # Extract the first word of "gcc", so it can be a program name with args.
12888 set dummy gcc; ac_word=$2
12889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12891 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12892 echo $ECHO_N "(cached) $ECHO_C" >&6
12893 else
12894 if test -n "$ac_ct_CC"; then
12895 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12896 else
12897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12898 for as_dir in $PATH
12899 do
12900 IFS=$as_save_IFS
12901 test -z "$as_dir" && as_dir=.
12902 for ac_exec_ext in '' $ac_executable_extensions; do
12903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12904 ac_cv_prog_ac_ct_CC="gcc"
12905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12906 break 2
12907 fi
12908 done
12909 done
12910 IFS=$as_save_IFS
12911
12912 fi
12913 fi
12914 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12915 if test -n "$ac_ct_CC"; then
12916 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12917 echo "${ECHO_T}$ac_ct_CC" >&6; }
12918 else
12919 { echo "$as_me:$LINENO: result: no" >&5
12920 echo "${ECHO_T}no" >&6; }
12921 fi
12922
12923 if test "x$ac_ct_CC" = x; then
12924 CC=""
12925 else
12926 case $cross_compiling:$ac_tool_warned in
12927 yes:)
12928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12929 whose name does not start with the host triplet. If you think this
12930 configuration is useful to you, please write to autoconf@gnu.org." >&5
12931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12932 whose name does not start with the host triplet. If you think this
12933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12934 ac_tool_warned=yes ;;
12935 esac
12936 CC=$ac_ct_CC
12937 fi
12938 else
12939 CC="$ac_cv_prog_CC"
12940 fi
12941
12942 if test -z "$CC"; then
12943 if test -n "$ac_tool_prefix"; then
12944 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12945 set dummy ${ac_tool_prefix}cc; ac_word=$2
12946 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12948 if test "${ac_cv_prog_CC+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 else
12951 if test -n "$CC"; then
12952 ac_cv_prog_CC="$CC" # Let the user override the test.
12953 else
12954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12955 for as_dir in $PATH
12956 do
12957 IFS=$as_save_IFS
12958 test -z "$as_dir" && as_dir=.
12959 for ac_exec_ext in '' $ac_executable_extensions; do
12960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12961 ac_cv_prog_CC="${ac_tool_prefix}cc"
12962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12963 break 2
12964 fi
12965 done
12966 done
12967 IFS=$as_save_IFS
12968
12969 fi
12970 fi
12971 CC=$ac_cv_prog_CC
12972 if test -n "$CC"; then
12973 { echo "$as_me:$LINENO: result: $CC" >&5
12974 echo "${ECHO_T}$CC" >&6; }
12975 else
12976 { echo "$as_me:$LINENO: result: no" >&5
12977 echo "${ECHO_T}no" >&6; }
12978 fi
12979
12980
12981 fi
12982 fi
12983 if test -z "$CC"; then
12984 # Extract the first word of "cc", so it can be a program name with args.
12985 set dummy cc; ac_word=$2
12986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12988 if test "${ac_cv_prog_CC+set}" = set; then
12989 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 else
12991 if test -n "$CC"; then
12992 ac_cv_prog_CC="$CC" # Let the user override the test.
12993 else
12994 ac_prog_rejected=no
12995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12996 for as_dir in $PATH
12997 do
12998 IFS=$as_save_IFS
12999 test -z "$as_dir" && as_dir=.
13000 for ac_exec_ext in '' $ac_executable_extensions; do
13001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13003 ac_prog_rejected=yes
13004 continue
13005 fi
13006 ac_cv_prog_CC="cc"
13007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13008 break 2
13009 fi
13010 done
13011 done
13012 IFS=$as_save_IFS
13013
13014 if test $ac_prog_rejected = yes; then
13015 # We found a bogon in the path, so make sure we never use it.
13016 set dummy $ac_cv_prog_CC
13017 shift
13018 if test $# != 0; then
13019 # We chose a different compiler from the bogus one.
13020 # However, it has the same basename, so the bogon will be chosen
13021 # first if we set CC to just the basename; use the full file name.
13022 shift
13023 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13024 fi
13025 fi
13026 fi
13027 fi
13028 CC=$ac_cv_prog_CC
13029 if test -n "$CC"; then
13030 { echo "$as_me:$LINENO: result: $CC" >&5
13031 echo "${ECHO_T}$CC" >&6; }
13032 else
13033 { echo "$as_me:$LINENO: result: no" >&5
13034 echo "${ECHO_T}no" >&6; }
13035 fi
13036
13037
13038 fi
13039 if test -z "$CC"; then
13040 if test -n "$ac_tool_prefix"; then
13041 for ac_prog in cl.exe
13042 do
13043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13047 if test "${ac_cv_prog_CC+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 else
13050 if test -n "$CC"; then
13051 ac_cv_prog_CC="$CC" # Let the user override the test.
13052 else
13053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13054 for as_dir in $PATH
13055 do
13056 IFS=$as_save_IFS
13057 test -z "$as_dir" && as_dir=.
13058 for ac_exec_ext in '' $ac_executable_extensions; do
13059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13062 break 2
13063 fi
13064 done
13065 done
13066 IFS=$as_save_IFS
13067
13068 fi
13069 fi
13070 CC=$ac_cv_prog_CC
13071 if test -n "$CC"; then
13072 { echo "$as_me:$LINENO: result: $CC" >&5
13073 echo "${ECHO_T}$CC" >&6; }
13074 else
13075 { echo "$as_me:$LINENO: result: no" >&5
13076 echo "${ECHO_T}no" >&6; }
13077 fi
13078
13079
13080 test -n "$CC" && break
13081 done
13082 fi
13083 if test -z "$CC"; then
13084 ac_ct_CC=$CC
13085 for ac_prog in cl.exe
13086 do
13087 # Extract the first word of "$ac_prog", so it can be a program name with args.
13088 set dummy $ac_prog; ac_word=$2
13089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13092 echo $ECHO_N "(cached) $ECHO_C" >&6
13093 else
13094 if test -n "$ac_ct_CC"; then
13095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13096 else
13097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13098 for as_dir in $PATH
13099 do
13100 IFS=$as_save_IFS
13101 test -z "$as_dir" && as_dir=.
13102 for ac_exec_ext in '' $ac_executable_extensions; do
13103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13104 ac_cv_prog_ac_ct_CC="$ac_prog"
13105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13106 break 2
13107 fi
13108 done
13109 done
13110 IFS=$as_save_IFS
13111
13112 fi
13113 fi
13114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13115 if test -n "$ac_ct_CC"; then
13116 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13117 echo "${ECHO_T}$ac_ct_CC" >&6; }
13118 else
13119 { echo "$as_me:$LINENO: result: no" >&5
13120 echo "${ECHO_T}no" >&6; }
13121 fi
13122
13123
13124 test -n "$ac_ct_CC" && break
13125 done
13126
13127 if test "x$ac_ct_CC" = x; then
13128 CC=""
13129 else
13130 case $cross_compiling:$ac_tool_warned in
13131 yes:)
13132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13133 whose name does not start with the host triplet. If you think this
13134 configuration is useful to you, please write to autoconf@gnu.org." >&5
13135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13136 whose name does not start with the host triplet. If you think this
13137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13138 ac_tool_warned=yes ;;
13139 esac
13140 CC=$ac_ct_CC
13141 fi
13142 fi
13143
13144 fi
13145
13146
13147 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13148 See \`config.log' for more details." >&5
13149 echo "$as_me: error: no acceptable C compiler found in \$PATH
13150 See \`config.log' for more details." >&2;}
13151 { (exit 1); exit 1; }; }
13152
13153 # Provide some information about the compiler.
13154 echo "$as_me:$LINENO: checking for C compiler version" >&5
13155 ac_compiler=`set X $ac_compile; echo $2`
13156 { (ac_try="$ac_compiler --version >&5"
13157 case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13160 esac
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_compiler --version >&5") 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }
13166 { (ac_try="$ac_compiler -v >&5"
13167 case "(($ac_try" in
13168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13169 *) ac_try_echo=$ac_try;;
13170 esac
13171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13172 (eval "$ac_compiler -v >&5") 2>&5
13173 ac_status=$?
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }
13176 { (ac_try="$ac_compiler -V >&5"
13177 case "(($ac_try" in
13178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13179 *) ac_try_echo=$ac_try;;
13180 esac
13181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13182 (eval "$ac_compiler -V >&5") 2>&5
13183 ac_status=$?
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); }
13186
13187 cat >conftest.$ac_ext <<_ACEOF
13188 /* confdefs.h. */
13189 _ACEOF
13190 cat confdefs.h >>conftest.$ac_ext
13191 cat >>conftest.$ac_ext <<_ACEOF
13192 /* end confdefs.h. */
13193
13194 int
13195 main ()
13196 {
13197
13198 ;
13199 return 0;
13200 }
13201 _ACEOF
13202 ac_clean_files_save=$ac_clean_files
13203 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13204 # Try to create an executable without -o first, disregard a.out.
13205 # It will help us diagnose broken compilers, and finding out an intuition
13206 # of exeext.
13207 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13208 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13209 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13210 #
13211 # List of possible output files, starting from the most likely.
13212 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13213 # only as a last resort. b.out is created by i960 compilers.
13214 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13215 #
13216 # The IRIX 6 linker writes into existing files which may not be
13217 # executable, retaining their permissions. Remove them first so a
13218 # subsequent execution test works.
13219 ac_rmfiles=
13220 for ac_file in $ac_files
13221 do
13222 case $ac_file in
13223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13224 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13225 esac
13226 done
13227 rm -f $ac_rmfiles
13228
13229 if { (ac_try="$ac_link_default"
13230 case "(($ac_try" in
13231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13232 *) ac_try_echo=$ac_try;;
13233 esac
13234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13235 (eval "$ac_link_default") 2>&5
13236 ac_status=$?
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); }; then
13239 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13240 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13241 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13242 # so that the user can short-circuit this test for compilers unknown to
13243 # Autoconf.
13244 for ac_file in $ac_files ''
13245 do
13246 test -f "$ac_file" || continue
13247 case $ac_file in
13248 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13249 ;;
13250 [ab].out )
13251 # We found the default executable, but exeext='' is most
13252 # certainly right.
13253 break;;
13254 *.* )
13255 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13256 then :; else
13257 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13258 fi
13259 # We set ac_cv_exeext here because the later test for it is not
13260 # safe: cross compilers may not add the suffix if given an `-o'
13261 # argument, so we may need to know it at that point already.
13262 # Even if this section looks crufty: it has the advantage of
13263 # actually working.
13264 break;;
13265 * )
13266 break;;
13267 esac
13268 done
13269 test "$ac_cv_exeext" = no && ac_cv_exeext=
13270
13271 else
13272 ac_file=''
13273 fi
13274
13275 { echo "$as_me:$LINENO: result: $ac_file" >&5
13276 echo "${ECHO_T}$ac_file" >&6; }
13277 if test -z "$ac_file"; then
13278 echo "$as_me: failed program was:" >&5
13279 sed 's/^/| /' conftest.$ac_ext >&5
13280
13281 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13282 See \`config.log' for more details." >&5
13283 echo "$as_me: error: C compiler cannot create executables
13284 See \`config.log' for more details." >&2;}
13285 { (exit 77); exit 77; }; }
13286 fi
13287
13288 ac_exeext=$ac_cv_exeext
13289
13290 # Check that the compiler produces executables we can run. If not, either
13291 # the compiler is broken, or we cross compile.
13292 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13293 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13294 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13295 # If not cross compiling, check that we can run a simple program.
13296 if test "$cross_compiling" != yes; then
13297 if { ac_try='./$ac_file'
13298 { (case "(($ac_try" in
13299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13300 *) ac_try_echo=$ac_try;;
13301 esac
13302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13303 (eval "$ac_try") 2>&5
13304 ac_status=$?
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 cross_compiling=no
13308 else
13309 if test "$cross_compiling" = maybe; then
13310 cross_compiling=yes
13311 else
13312 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13313 If you meant to cross compile, use \`--host'.
13314 See \`config.log' for more details." >&5
13315 echo "$as_me: error: cannot run C compiled programs.
13316 If you meant to cross compile, use \`--host'.
13317 See \`config.log' for more details." >&2;}
13318 { (exit 1); exit 1; }; }
13319 fi
13320 fi
13321 fi
13322 { echo "$as_me:$LINENO: result: yes" >&5
13323 echo "${ECHO_T}yes" >&6; }
13324
13325 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13326 ac_clean_files=$ac_clean_files_save
13327 # Check that the compiler produces executables we can run. If not, either
13328 # the compiler is broken, or we cross compile.
13329 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13330 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13331 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13332 echo "${ECHO_T}$cross_compiling" >&6; }
13333
13334 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13335 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13336 if { (ac_try="$ac_link"
13337 case "(($ac_try" in
13338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13339 *) ac_try_echo=$ac_try;;
13340 esac
13341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13342 (eval "$ac_link") 2>&5
13343 ac_status=$?
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); }; then
13346 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13347 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13348 # work properly (i.e., refer to `conftest.exe'), while it won't with
13349 # `rm'.
13350 for ac_file in conftest.exe conftest conftest.*; do
13351 test -f "$ac_file" || continue
13352 case $ac_file in
13353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13354 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13355 break;;
13356 * ) break;;
13357 esac
13358 done
13359 else
13360 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13363 See \`config.log' for more details." >&2;}
13364 { (exit 1); exit 1; }; }
13365 fi
13366
13367 rm -f conftest$ac_cv_exeext
13368 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13369 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13370
13371 rm -f conftest.$ac_ext
13372 EXEEXT=$ac_cv_exeext
13373 ac_exeext=$EXEEXT
13374 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13375 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13376 if test "${ac_cv_objext+set}" = set; then
13377 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 else
13379 cat >conftest.$ac_ext <<_ACEOF
13380 /* confdefs.h. */
13381 _ACEOF
13382 cat confdefs.h >>conftest.$ac_ext
13383 cat >>conftest.$ac_ext <<_ACEOF
13384 /* end confdefs.h. */
13385
13386 int
13387 main ()
13388 {
13389
13390 ;
13391 return 0;
13392 }
13393 _ACEOF
13394 rm -f conftest.o conftest.obj
13395 if { (ac_try="$ac_compile"
13396 case "(($ac_try" in
13397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13398 *) ac_try_echo=$ac_try;;
13399 esac
13400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13401 (eval "$ac_compile") 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; then
13405 for ac_file in conftest.o conftest.obj conftest.*; do
13406 test -f "$ac_file" || continue;
13407 case $ac_file in
13408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13409 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13410 break;;
13411 esac
13412 done
13413 else
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13416
13417 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13418 See \`config.log' for more details." >&5
13419 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13420 See \`config.log' for more details." >&2;}
13421 { (exit 1); exit 1; }; }
13422 fi
13423
13424 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13425 fi
13426 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13427 echo "${ECHO_T}$ac_cv_objext" >&6; }
13428 OBJEXT=$ac_cv_objext
13429 ac_objext=$OBJEXT
13430 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13431 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13432 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13433 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 else
13435 cat >conftest.$ac_ext <<_ACEOF
13436 /* confdefs.h. */
13437 _ACEOF
13438 cat confdefs.h >>conftest.$ac_ext
13439 cat >>conftest.$ac_ext <<_ACEOF
13440 /* end confdefs.h. */
13441
13442 int
13443 main ()
13444 {
13445 #ifndef __GNUC__
13446 choke me
13447 #endif
13448
13449 ;
13450 return 0;
13451 }
13452 _ACEOF
13453 rm -f conftest.$ac_objext
13454 if { (ac_try="$ac_compile"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13458 esac
13459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_compile") 2>conftest.er1
13461 ac_status=$?
13462 grep -v '^ *+' conftest.er1 >conftest.err
13463 rm -f conftest.er1
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest.$ac_objext; then
13470 ac_compiler_gnu=yes
13471 else
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13474
13475 ac_compiler_gnu=no
13476 fi
13477
13478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13479 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13480
13481 fi
13482 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13483 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13484 GCC=`test $ac_compiler_gnu = yes && echo yes`
13485 ac_test_CFLAGS=${CFLAGS+set}
13486 ac_save_CFLAGS=$CFLAGS
13487 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13488 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13489 if test "${ac_cv_prog_cc_g+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 else
13492 ac_save_c_werror_flag=$ac_c_werror_flag
13493 ac_c_werror_flag=yes
13494 ac_cv_prog_cc_g=no
13495 CFLAGS="-g"
13496 cat >conftest.$ac_ext <<_ACEOF
13497 /* confdefs.h. */
13498 _ACEOF
13499 cat confdefs.h >>conftest.$ac_ext
13500 cat >>conftest.$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13502
13503 int
13504 main ()
13505 {
13506
13507 ;
13508 return 0;
13509 }
13510 _ACEOF
13511 rm -f conftest.$ac_objext
13512 if { (ac_try="$ac_compile"
13513 case "(($ac_try" in
13514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13515 *) ac_try_echo=$ac_try;;
13516 esac
13517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13518 (eval "$ac_compile") 2>conftest.er1
13519 ac_status=$?
13520 grep -v '^ *+' conftest.er1 >conftest.err
13521 rm -f conftest.er1
13522 cat conftest.err >&5
13523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13524 (exit $ac_status); } && {
13525 test -z "$ac_c_werror_flag" ||
13526 test ! -s conftest.err
13527 } && test -s conftest.$ac_objext; then
13528 ac_cv_prog_cc_g=yes
13529 else
13530 echo "$as_me: failed program was:" >&5
13531 sed 's/^/| /' conftest.$ac_ext >&5
13532
13533 CFLAGS=""
13534 cat >conftest.$ac_ext <<_ACEOF
13535 /* confdefs.h. */
13536 _ACEOF
13537 cat confdefs.h >>conftest.$ac_ext
13538 cat >>conftest.$ac_ext <<_ACEOF
13539 /* end confdefs.h. */
13540
13541 int
13542 main ()
13543 {
13544
13545 ;
13546 return 0;
13547 }
13548 _ACEOF
13549 rm -f conftest.$ac_objext
13550 if { (ac_try="$ac_compile"
13551 case "(($ac_try" in
13552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13553 *) ac_try_echo=$ac_try;;
13554 esac
13555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13556 (eval "$ac_compile") 2>conftest.er1
13557 ac_status=$?
13558 grep -v '^ *+' conftest.er1 >conftest.err
13559 rm -f conftest.er1
13560 cat conftest.err >&5
13561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562 (exit $ac_status); } && {
13563 test -z "$ac_c_werror_flag" ||
13564 test ! -s conftest.err
13565 } && test -s conftest.$ac_objext; then
13566 :
13567 else
13568 echo "$as_me: failed program was:" >&5
13569 sed 's/^/| /' conftest.$ac_ext >&5
13570
13571 ac_c_werror_flag=$ac_save_c_werror_flag
13572 CFLAGS="-g"
13573 cat >conftest.$ac_ext <<_ACEOF
13574 /* confdefs.h. */
13575 _ACEOF
13576 cat confdefs.h >>conftest.$ac_ext
13577 cat >>conftest.$ac_ext <<_ACEOF
13578 /* end confdefs.h. */
13579
13580 int
13581 main ()
13582 {
13583
13584 ;
13585 return 0;
13586 }
13587 _ACEOF
13588 rm -f conftest.$ac_objext
13589 if { (ac_try="$ac_compile"
13590 case "(($ac_try" in
13591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13592 *) ac_try_echo=$ac_try;;
13593 esac
13594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13595 (eval "$ac_compile") 2>conftest.er1
13596 ac_status=$?
13597 grep -v '^ *+' conftest.er1 >conftest.err
13598 rm -f conftest.er1
13599 cat conftest.err >&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } && {
13602 test -z "$ac_c_werror_flag" ||
13603 test ! -s conftest.err
13604 } && test -s conftest.$ac_objext; then
13605 ac_cv_prog_cc_g=yes
13606 else
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13609
13610
13611 fi
13612
13613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13614 fi
13615
13616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13617 fi
13618
13619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13620 ac_c_werror_flag=$ac_save_c_werror_flag
13621 fi
13622 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13623 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13624 if test "$ac_test_CFLAGS" = set; then
13625 CFLAGS=$ac_save_CFLAGS
13626 elif test $ac_cv_prog_cc_g = yes; then
13627 if test "$GCC" = yes; then
13628 CFLAGS="-g -O2"
13629 else
13630 CFLAGS="-g"
13631 fi
13632 else
13633 if test "$GCC" = yes; then
13634 CFLAGS="-O2"
13635 else
13636 CFLAGS=
13637 fi
13638 fi
13639 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13640 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13641 if test "${ac_cv_prog_cc_c89+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 else
13644 ac_cv_prog_cc_c89=no
13645 ac_save_CC=$CC
13646 cat >conftest.$ac_ext <<_ACEOF
13647 /* confdefs.h. */
13648 _ACEOF
13649 cat confdefs.h >>conftest.$ac_ext
13650 cat >>conftest.$ac_ext <<_ACEOF
13651 /* end confdefs.h. */
13652 #include <stdarg.h>
13653 #include <stdio.h>
13654 #include <sys/types.h>
13655 #include <sys/stat.h>
13656 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13657 struct buf { int x; };
13658 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13659 static char *e (p, i)
13660 char **p;
13661 int i;
13662 {
13663 return p[i];
13664 }
13665 static char *f (char * (*g) (char **, int), char **p, ...)
13666 {
13667 char *s;
13668 va_list v;
13669 va_start (v,p);
13670 s = g (p, va_arg (v,int));
13671 va_end (v);
13672 return s;
13673 }
13674
13675 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13676 function prototypes and stuff, but not '\xHH' hex character constants.
13677 These don't provoke an error unfortunately, instead are silently treated
13678 as 'x'. The following induces an error, until -std is added to get
13679 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13680 array size at least. It's necessary to write '\x00'==0 to get something
13681 that's true only with -std. */
13682 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13683
13684 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13685 inside strings and character constants. */
13686 #define FOO(x) 'x'
13687 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13688
13689 int test (int i, double x);
13690 struct s1 {int (*f) (int a);};
13691 struct s2 {int (*f) (double a);};
13692 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13693 int argc;
13694 char **argv;
13695 int
13696 main ()
13697 {
13698 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13699 ;
13700 return 0;
13701 }
13702 _ACEOF
13703 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13704 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13705 do
13706 CC="$ac_save_CC $ac_arg"
13707 rm -f conftest.$ac_objext
13708 if { (ac_try="$ac_compile"
13709 case "(($ac_try" in
13710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13711 *) ac_try_echo=$ac_try;;
13712 esac
13713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13714 (eval "$ac_compile") 2>conftest.er1
13715 ac_status=$?
13716 grep -v '^ *+' conftest.er1 >conftest.err
13717 rm -f conftest.er1
13718 cat conftest.err >&5
13719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13720 (exit $ac_status); } && {
13721 test -z "$ac_c_werror_flag" ||
13722 test ! -s conftest.err
13723 } && test -s conftest.$ac_objext; then
13724 ac_cv_prog_cc_c89=$ac_arg
13725 else
13726 echo "$as_me: failed program was:" >&5
13727 sed 's/^/| /' conftest.$ac_ext >&5
13728
13729
13730 fi
13731
13732 rm -f core conftest.err conftest.$ac_objext
13733 test "x$ac_cv_prog_cc_c89" != "xno" && break
13734 done
13735 rm -f conftest.$ac_ext
13736 CC=$ac_save_CC
13737
13738 fi
13739 # AC_CACHE_VAL
13740 case "x$ac_cv_prog_cc_c89" in
13741 x)
13742 { echo "$as_me:$LINENO: result: none needed" >&5
13743 echo "${ECHO_T}none needed" >&6; } ;;
13744 xno)
13745 { echo "$as_me:$LINENO: result: unsupported" >&5
13746 echo "${ECHO_T}unsupported" >&6; } ;;
13747 *)
13748 CC="$CC $ac_cv_prog_cc_c89"
13749 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13750 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13751 esac
13752
13753
13754 ac_ext=c
13755 ac_cpp='$CPP $CPPFLAGS'
13756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13759
13760
13761
13762 ac_ext=c
13763 ac_cpp='$CPP $CPPFLAGS'
13764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13767
13768 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13769 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13770 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 else
13773 cat >conftest.$ac_ext <<_ACEOF
13774 /* confdefs.h. */
13775 _ACEOF
13776 cat confdefs.h >>conftest.$ac_ext
13777 cat >>conftest.$ac_ext <<_ACEOF
13778 /* end confdefs.h. */
13779
13780 int
13781 main ()
13782 {
13783
13784 #ifndef __INTEL_COMPILER
13785 choke me
13786 #endif
13787
13788 ;
13789 return 0;
13790 }
13791 _ACEOF
13792 rm -f conftest.$ac_objext
13793 if { (ac_try="$ac_compile"
13794 case "(($ac_try" in
13795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13796 *) ac_try_echo=$ac_try;;
13797 esac
13798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13799 (eval "$ac_compile") 2>conftest.er1
13800 ac_status=$?
13801 grep -v '^ *+' conftest.er1 >conftest.err
13802 rm -f conftest.er1
13803 cat conftest.err >&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); } && {
13806 test -z "$ac_c_werror_flag" ||
13807 test ! -s conftest.err
13808 } && test -s conftest.$ac_objext; then
13809 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13810 else
13811 echo "$as_me: failed program was:" >&5
13812 sed 's/^/| /' conftest.$ac_ext >&5
13813
13814 bakefile_cv_c_compiler___INTEL_COMPILER=no
13815
13816 fi
13817
13818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13819
13820
13821 fi
13822 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13823 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13824 ac_ext=c
13825 ac_cpp='$CPP $CPPFLAGS'
13826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13829
13830 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13831 :; INTELCC=yes
13832 else
13833 :;
13834 fi
13835
13836
13837 if test "x$GCC" != "xyes"; then
13838 if test "xCC" = "xC"; then
13839 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13840 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13841 if test "${bakefile_cv_c_exto+set}" = set; then
13842 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 else
13844 cat >conftest.$ac_ext <<_ACEOF
13845 /* confdefs.h. */
13846 _ACEOF
13847 cat confdefs.h >>conftest.$ac_ext
13848 cat >>conftest.$ac_ext <<_ACEOF
13849 /* end confdefs.h. */
13850
13851 int
13852 main ()
13853 {
13854
13855 ;
13856 return 0;
13857 }
13858 _ACEOF
13859 rm -f conftest.$ac_objext conftest.$ac_ext.o
13860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13861 (eval $ac_compile) 2>&5
13862 ac_status=$?
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 (exit $ac_status); }; then
13865 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13866 case $ac_file in
13867 conftest.$ac_ext.o)
13868 bakefile_cv_c_exto="-ext o"
13869 ;;
13870 *)
13871 ;;
13872 esac
13873 done
13874 else
13875 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13876 See \`config.log' for more details." >&5
13877 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13878 See \`config.log' for more details." >&2;}
13879 { (exit 1); exit 1; }; }
13880
13881 fi
13882
13883 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13884
13885 fi
13886 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13887 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13888 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13889 if test "c" = "c"; then
13890 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13891 fi
13892 if test "c" = "cxx"; then
13893 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13894 fi
13895 fi
13896
13897 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13898 unset ac_cv_prog_cc_g
13899 ac_test_CFLAGS=${CFLAGS+set}
13900 ac_save_CFLAGS=$CFLAGS
13901 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13902 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13903 if test "${ac_cv_prog_cc_g+set}" = set; then
13904 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 else
13906 ac_save_c_werror_flag=$ac_c_werror_flag
13907 ac_c_werror_flag=yes
13908 ac_cv_prog_cc_g=no
13909 CFLAGS="-g"
13910 cat >conftest.$ac_ext <<_ACEOF
13911 /* confdefs.h. */
13912 _ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13916
13917 int
13918 main ()
13919 {
13920
13921 ;
13922 return 0;
13923 }
13924 _ACEOF
13925 rm -f conftest.$ac_objext
13926 if { (ac_try="$ac_compile"
13927 case "(($ac_try" in
13928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13929 *) ac_try_echo=$ac_try;;
13930 esac
13931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13932 (eval "$ac_compile") 2>conftest.er1
13933 ac_status=$?
13934 grep -v '^ *+' conftest.er1 >conftest.err
13935 rm -f conftest.er1
13936 cat conftest.err >&5
13937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13938 (exit $ac_status); } && {
13939 test -z "$ac_c_werror_flag" ||
13940 test ! -s conftest.err
13941 } && test -s conftest.$ac_objext; then
13942 ac_cv_prog_cc_g=yes
13943 else
13944 echo "$as_me: failed program was:" >&5
13945 sed 's/^/| /' conftest.$ac_ext >&5
13946
13947 CFLAGS=""
13948 cat >conftest.$ac_ext <<_ACEOF
13949 /* confdefs.h. */
13950 _ACEOF
13951 cat confdefs.h >>conftest.$ac_ext
13952 cat >>conftest.$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13954
13955 int
13956 main ()
13957 {
13958
13959 ;
13960 return 0;
13961 }
13962 _ACEOF
13963 rm -f conftest.$ac_objext
13964 if { (ac_try="$ac_compile"
13965 case "(($ac_try" in
13966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13967 *) ac_try_echo=$ac_try;;
13968 esac
13969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970 (eval "$ac_compile") 2>conftest.er1
13971 ac_status=$?
13972 grep -v '^ *+' conftest.er1 >conftest.err
13973 rm -f conftest.er1
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && {
13977 test -z "$ac_c_werror_flag" ||
13978 test ! -s conftest.err
13979 } && test -s conftest.$ac_objext; then
13980 :
13981 else
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.$ac_ext >&5
13984
13985 ac_c_werror_flag=$ac_save_c_werror_flag
13986 CFLAGS="-g"
13987 cat >conftest.$ac_ext <<_ACEOF
13988 /* confdefs.h. */
13989 _ACEOF
13990 cat confdefs.h >>conftest.$ac_ext
13991 cat >>conftest.$ac_ext <<_ACEOF
13992 /* end confdefs.h. */
13993
13994 int
13995 main ()
13996 {
13997
13998 ;
13999 return 0;
14000 }
14001 _ACEOF
14002 rm -f conftest.$ac_objext
14003 if { (ac_try="$ac_compile"
14004 case "(($ac_try" in
14005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14006 *) ac_try_echo=$ac_try;;
14007 esac
14008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14009 (eval "$ac_compile") 2>conftest.er1
14010 ac_status=$?
14011 grep -v '^ *+' conftest.er1 >conftest.err
14012 rm -f conftest.er1
14013 cat conftest.err >&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); } && {
14016 test -z "$ac_c_werror_flag" ||
14017 test ! -s conftest.err
14018 } && test -s conftest.$ac_objext; then
14019 ac_cv_prog_cc_g=yes
14020 else
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14023
14024
14025 fi
14026
14027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14028 fi
14029
14030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14031 fi
14032
14033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14034 ac_c_werror_flag=$ac_save_c_werror_flag
14035 fi
14036 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14037 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14038 if test "$ac_test_CFLAGS" = set; then
14039 CFLAGS=$ac_save_CFLAGS
14040 elif test $ac_cv_prog_cc_g = yes; then
14041 if test "$GCC" = yes; then
14042 CFLAGS="-g -O2"
14043 else
14044 CFLAGS="-g"
14045 fi
14046 else
14047 if test "$GCC" = yes; then
14048 CFLAGS="-O2"
14049 else
14050 CFLAGS=
14051 fi
14052 fi
14053 fi
14054 fi
14055
14056 case `uname -s` in
14057 AIX*)
14058 ac_ext=c
14059 ac_cpp='$CPP $CPPFLAGS'
14060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14063
14064 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14065 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14066 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14067 echo $ECHO_N "(cached) $ECHO_C" >&6
14068 else
14069 cat >conftest.$ac_ext <<_ACEOF
14070 /* confdefs.h. */
14071 _ACEOF
14072 cat confdefs.h >>conftest.$ac_ext
14073 cat >>conftest.$ac_ext <<_ACEOF
14074 /* end confdefs.h. */
14075
14076 int
14077 main ()
14078 {
14079 #ifndef __xlC__
14080 choke me
14081 #endif
14082
14083 ;
14084 return 0;
14085 }
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (ac_try="$ac_compile"
14089 case "(($ac_try" in
14090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14091 *) ac_try_echo=$ac_try;;
14092 esac
14093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14094 (eval "$ac_compile") 2>conftest.er1
14095 ac_status=$?
14096 grep -v '^ *+' conftest.er1 >conftest.err
14097 rm -f conftest.er1
14098 cat conftest.err >&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } && {
14101 test -z "$ac_c_werror_flag" ||
14102 test ! -s conftest.err
14103 } && test -s conftest.$ac_objext; then
14104 bakefile_compiler_xlc=yes
14105 else
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.$ac_ext >&5
14108
14109 bakefile_compiler_xlc=no
14110 fi
14111
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14114
14115 fi
14116 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14117 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14118
14119 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14120 ac_ext=c
14121 ac_cpp='$CPP $CPPFLAGS'
14122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14125
14126
14127 ;;
14128
14129 Darwin)
14130 ac_ext=c
14131 ac_cpp='$CPP $CPPFLAGS'
14132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14135
14136 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14137 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14138 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14139 echo $ECHO_N "(cached) $ECHO_C" >&6
14140 else
14141 cat >conftest.$ac_ext <<_ACEOF
14142 /* confdefs.h. */
14143 _ACEOF
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14147
14148 int
14149 main ()
14150 {
14151 #ifndef __MWERKS__
14152 choke me
14153 #endif
14154
14155 ;
14156 return 0;
14157 }
14158 _ACEOF
14159 rm -f conftest.$ac_objext
14160 if { (ac_try="$ac_compile"
14161 case "(($ac_try" in
14162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14163 *) ac_try_echo=$ac_try;;
14164 esac
14165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14166 (eval "$ac_compile") 2>conftest.er1
14167 ac_status=$?
14168 grep -v '^ *+' conftest.er1 >conftest.err
14169 rm -f conftest.er1
14170 cat conftest.err >&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); } && {
14173 test -z "$ac_c_werror_flag" ||
14174 test ! -s conftest.err
14175 } && test -s conftest.$ac_objext; then
14176 bakefile_compiler_mwerks=yes
14177 else
14178 echo "$as_me: failed program was:" >&5
14179 sed 's/^/| /' conftest.$ac_ext >&5
14180
14181 bakefile_compiler_mwerks=no
14182 fi
14183
14184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14185 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14186
14187 fi
14188 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14189 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14190
14191 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14192 ac_ext=c
14193 ac_cpp='$CPP $CPPFLAGS'
14194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14197
14198
14199 ac_ext=c
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14204
14205 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14206 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14207 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14209 else
14210 cat >conftest.$ac_ext <<_ACEOF
14211 /* confdefs.h. */
14212 _ACEOF
14213 cat confdefs.h >>conftest.$ac_ext
14214 cat >>conftest.$ac_ext <<_ACEOF
14215 /* end confdefs.h. */
14216
14217 int
14218 main ()
14219 {
14220 #ifndef __xlC__
14221 choke me
14222 #endif
14223
14224 ;
14225 return 0;
14226 }
14227 _ACEOF
14228 rm -f conftest.$ac_objext
14229 if { (ac_try="$ac_compile"
14230 case "(($ac_try" in
14231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14232 *) ac_try_echo=$ac_try;;
14233 esac
14234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14235 (eval "$ac_compile") 2>conftest.er1
14236 ac_status=$?
14237 grep -v '^ *+' conftest.er1 >conftest.err
14238 rm -f conftest.er1
14239 cat conftest.err >&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); } && {
14242 test -z "$ac_c_werror_flag" ||
14243 test ! -s conftest.err
14244 } && test -s conftest.$ac_objext; then
14245 bakefile_compiler_xlc=yes
14246 else
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.$ac_ext >&5
14249
14250 bakefile_compiler_xlc=no
14251 fi
14252
14253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14254 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14255
14256 fi
14257 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14258 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14259
14260 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14261 ac_ext=c
14262 ac_cpp='$CPP $CPPFLAGS'
14263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14266
14267
14268 ;;
14269
14270 IRIX*)
14271
14272
14273 ac_ext=c
14274 ac_cpp='$CPP $CPPFLAGS'
14275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14278
14279 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14280 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14281 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 else
14284 cat >conftest.$ac_ext <<_ACEOF
14285 /* confdefs.h. */
14286 _ACEOF
14287 cat confdefs.h >>conftest.$ac_ext
14288 cat >>conftest.$ac_ext <<_ACEOF
14289 /* end confdefs.h. */
14290
14291 int
14292 main ()
14293 {
14294
14295 #ifndef _SGI_COMPILER_VERSION
14296 choke me
14297 #endif
14298
14299 ;
14300 return 0;
14301 }
14302 _ACEOF
14303 rm -f conftest.$ac_objext
14304 if { (ac_try="$ac_compile"
14305 case "(($ac_try" in
14306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14307 *) ac_try_echo=$ac_try;;
14308 esac
14309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14310 (eval "$ac_compile") 2>conftest.er1
14311 ac_status=$?
14312 grep -v '^ *+' conftest.er1 >conftest.err
14313 rm -f conftest.er1
14314 cat conftest.err >&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); } && {
14317 test -z "$ac_c_werror_flag" ||
14318 test ! -s conftest.err
14319 } && test -s conftest.$ac_objext; then
14320 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14321 else
14322 echo "$as_me: failed program was:" >&5
14323 sed 's/^/| /' conftest.$ac_ext >&5
14324
14325 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14326
14327 fi
14328
14329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14330
14331
14332 fi
14333 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14334 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14335 ac_ext=c
14336 ac_cpp='$CPP $CPPFLAGS'
14337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14340
14341 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14342 :; SGICC=yes
14343 else
14344 :;
14345 fi
14346
14347
14348 ;;
14349
14350 HP-UX*)
14351
14352
14353 ac_ext=c
14354 ac_cpp='$CPP $CPPFLAGS'
14355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14358
14359 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14360 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14361 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14362 echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364 cat >conftest.$ac_ext <<_ACEOF
14365 /* confdefs.h. */
14366 _ACEOF
14367 cat confdefs.h >>conftest.$ac_ext
14368 cat >>conftest.$ac_ext <<_ACEOF
14369 /* end confdefs.h. */
14370
14371 int
14372 main ()
14373 {
14374
14375 #ifndef __HP_cc
14376 choke me
14377 #endif
14378
14379 ;
14380 return 0;
14381 }
14382 _ACEOF
14383 rm -f conftest.$ac_objext
14384 if { (ac_try="$ac_compile"
14385 case "(($ac_try" in
14386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14387 *) ac_try_echo=$ac_try;;
14388 esac
14389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14390 (eval "$ac_compile") 2>conftest.er1
14391 ac_status=$?
14392 grep -v '^ *+' conftest.er1 >conftest.err
14393 rm -f conftest.er1
14394 cat conftest.err >&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); } && {
14397 test -z "$ac_c_werror_flag" ||
14398 test ! -s conftest.err
14399 } && test -s conftest.$ac_objext; then
14400 bakefile_cv_c_compiler___HP_cc=yes
14401 else
14402 echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14404
14405 bakefile_cv_c_compiler___HP_cc=no
14406
14407 fi
14408
14409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14410
14411
14412 fi
14413 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14414 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14415 ac_ext=c
14416 ac_cpp='$CPP $CPPFLAGS'
14417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14420
14421 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14422 :; HPCC=yes
14423 else
14424 :;
14425 fi
14426
14427
14428 ;;
14429
14430 OSF1)
14431
14432
14433 ac_ext=c
14434 ac_cpp='$CPP $CPPFLAGS'
14435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14438
14439 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14440 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14441 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14442 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 else
14444 cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h. */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450
14451 int
14452 main ()
14453 {
14454
14455 #ifndef __DECC
14456 choke me
14457 #endif
14458
14459 ;
14460 return 0;
14461 }
14462 _ACEOF
14463 rm -f conftest.$ac_objext
14464 if { (ac_try="$ac_compile"
14465 case "(($ac_try" in
14466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14467 *) ac_try_echo=$ac_try;;
14468 esac
14469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14470 (eval "$ac_compile") 2>conftest.er1
14471 ac_status=$?
14472 grep -v '^ *+' conftest.er1 >conftest.err
14473 rm -f conftest.er1
14474 cat conftest.err >&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); } && {
14477 test -z "$ac_c_werror_flag" ||
14478 test ! -s conftest.err
14479 } && test -s conftest.$ac_objext; then
14480 bakefile_cv_c_compiler___DECC=yes
14481 else
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.$ac_ext >&5
14484
14485 bakefile_cv_c_compiler___DECC=no
14486
14487 fi
14488
14489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14490
14491
14492 fi
14493 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14494 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14495 ac_ext=c
14496 ac_cpp='$CPP $CPPFLAGS'
14497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14500
14501 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14502 :; COMPAQCC=yes
14503 else
14504 :;
14505 fi
14506
14507
14508 ;;
14509
14510 SunOS)
14511
14512
14513 ac_ext=c
14514 ac_cpp='$CPP $CPPFLAGS'
14515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14518
14519 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14520 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14521 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524 cat >conftest.$ac_ext <<_ACEOF
14525 /* confdefs.h. */
14526 _ACEOF
14527 cat confdefs.h >>conftest.$ac_ext
14528 cat >>conftest.$ac_ext <<_ACEOF
14529 /* end confdefs.h. */
14530
14531 int
14532 main ()
14533 {
14534
14535 #ifndef __SUNPRO_C
14536 choke me
14537 #endif
14538
14539 ;
14540 return 0;
14541 }
14542 _ACEOF
14543 rm -f conftest.$ac_objext
14544 if { (ac_try="$ac_compile"
14545 case "(($ac_try" in
14546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14547 *) ac_try_echo=$ac_try;;
14548 esac
14549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14550 (eval "$ac_compile") 2>conftest.er1
14551 ac_status=$?
14552 grep -v '^ *+' conftest.er1 >conftest.err
14553 rm -f conftest.er1
14554 cat conftest.err >&5
14555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14556 (exit $ac_status); } && {
14557 test -z "$ac_c_werror_flag" ||
14558 test ! -s conftest.err
14559 } && test -s conftest.$ac_objext; then
14560 bakefile_cv_c_compiler___SUNPRO_C=yes
14561 else
14562 echo "$as_me: failed program was:" >&5
14563 sed 's/^/| /' conftest.$ac_ext >&5
14564
14565 bakefile_cv_c_compiler___SUNPRO_C=no
14566
14567 fi
14568
14569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14570
14571
14572 fi
14573 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14574 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14575 ac_ext=c
14576 ac_cpp='$CPP $CPPFLAGS'
14577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14580
14581 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14582 :; SUNCC=yes
14583 else
14584 :;
14585 fi
14586
14587
14588 ;;
14589 esac
14590 fi
14591
14592
14593
14594 ac_ext=c
14595 ac_cpp='$CPP $CPPFLAGS'
14596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14599 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14600 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14601 # On Suns, sometimes $CPP names a directory.
14602 if test -n "$CPP" && test -d "$CPP"; then
14603 CPP=
14604 fi
14605 if test -z "$CPP"; then
14606 if test "${ac_cv_prog_CPP+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 else
14609 # Double quotes because CPP needs to be expanded
14610 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14611 do
14612 ac_preproc_ok=false
14613 for ac_c_preproc_warn_flag in '' yes
14614 do
14615 # Use a header file that comes with gcc, so configuring glibc
14616 # with a fresh cross-compiler works.
14617 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14618 # <limits.h> exists even on freestanding compilers.
14619 # On the NeXT, cc -E runs the code through the compiler's parser,
14620 # not just through cpp. "Syntax error" is here to catch this case.
14621 cat >conftest.$ac_ext <<_ACEOF
14622 /* confdefs.h. */
14623 _ACEOF
14624 cat confdefs.h >>conftest.$ac_ext
14625 cat >>conftest.$ac_ext <<_ACEOF
14626 /* end confdefs.h. */
14627 #ifdef __STDC__
14628 # include <limits.h>
14629 #else
14630 # include <assert.h>
14631 #endif
14632 Syntax error
14633 _ACEOF
14634 if { (ac_try="$ac_cpp conftest.$ac_ext"
14635 case "(($ac_try" in
14636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14637 *) ac_try_echo=$ac_try;;
14638 esac
14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14641 ac_status=$?
14642 grep -v '^ *+' conftest.er1 >conftest.err
14643 rm -f conftest.er1
14644 cat conftest.err >&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); } >/dev/null && {
14647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14648 test ! -s conftest.err
14649 }; then
14650 :
14651 else
14652 echo "$as_me: failed program was:" >&5
14653 sed 's/^/| /' conftest.$ac_ext >&5
14654
14655 # Broken: fails on valid input.
14656 continue
14657 fi
14658
14659 rm -f conftest.err conftest.$ac_ext
14660
14661 # OK, works on sane cases. Now check whether nonexistent headers
14662 # can be detected and how.
14663 cat >conftest.$ac_ext <<_ACEOF
14664 /* confdefs.h. */
14665 _ACEOF
14666 cat confdefs.h >>conftest.$ac_ext
14667 cat >>conftest.$ac_ext <<_ACEOF
14668 /* end confdefs.h. */
14669 #include <ac_nonexistent.h>
14670 _ACEOF
14671 if { (ac_try="$ac_cpp conftest.$ac_ext"
14672 case "(($ac_try" in
14673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14674 *) ac_try_echo=$ac_try;;
14675 esac
14676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14678 ac_status=$?
14679 grep -v '^ *+' conftest.er1 >conftest.err
14680 rm -f conftest.er1
14681 cat conftest.err >&5
14682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } >/dev/null && {
14684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14685 test ! -s conftest.err
14686 }; then
14687 # Broken: success on invalid input.
14688 continue
14689 else
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14692
14693 # Passes both tests.
14694 ac_preproc_ok=:
14695 break
14696 fi
14697
14698 rm -f conftest.err conftest.$ac_ext
14699
14700 done
14701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14702 rm -f conftest.err conftest.$ac_ext
14703 if $ac_preproc_ok; then
14704 break
14705 fi
14706
14707 done
14708 ac_cv_prog_CPP=$CPP
14709
14710 fi
14711 CPP=$ac_cv_prog_CPP
14712 else
14713 ac_cv_prog_CPP=$CPP
14714 fi
14715 { echo "$as_me:$LINENO: result: $CPP" >&5
14716 echo "${ECHO_T}$CPP" >&6; }
14717 ac_preproc_ok=false
14718 for ac_c_preproc_warn_flag in '' yes
14719 do
14720 # Use a header file that comes with gcc, so configuring glibc
14721 # with a fresh cross-compiler works.
14722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14723 # <limits.h> exists even on freestanding compilers.
14724 # On the NeXT, cc -E runs the code through the compiler's parser,
14725 # not just through cpp. "Syntax error" is here to catch this case.
14726 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14732 #ifdef __STDC__
14733 # include <limits.h>
14734 #else
14735 # include <assert.h>
14736 #endif
14737 Syntax error
14738 _ACEOF
14739 if { (ac_try="$ac_cpp conftest.$ac_ext"
14740 case "(($ac_try" in
14741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14742 *) ac_try_echo=$ac_try;;
14743 esac
14744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14746 ac_status=$?
14747 grep -v '^ *+' conftest.er1 >conftest.err
14748 rm -f conftest.er1
14749 cat conftest.err >&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } >/dev/null && {
14752 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14753 test ! -s conftest.err
14754 }; then
14755 :
14756 else
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14759
14760 # Broken: fails on valid input.
14761 continue
14762 fi
14763
14764 rm -f conftest.err conftest.$ac_ext
14765
14766 # OK, works on sane cases. Now check whether nonexistent headers
14767 # can be detected and how.
14768 cat >conftest.$ac_ext <<_ACEOF
14769 /* confdefs.h. */
14770 _ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 #include <ac_nonexistent.h>
14775 _ACEOF
14776 if { (ac_try="$ac_cpp conftest.$ac_ext"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14780 esac
14781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14783 ac_status=$?
14784 grep -v '^ *+' conftest.er1 >conftest.err
14785 rm -f conftest.er1
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } >/dev/null && {
14789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 }; then
14792 # Broken: success on invalid input.
14793 continue
14794 else
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.$ac_ext >&5
14797
14798 # Passes both tests.
14799 ac_preproc_ok=:
14800 break
14801 fi
14802
14803 rm -f conftest.err conftest.$ac_ext
14804
14805 done
14806 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14807 rm -f conftest.err conftest.$ac_ext
14808 if $ac_preproc_ok; then
14809 :
14810 else
14811 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14812 See \`config.log' for more details." >&5
14813 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14814 See \`config.log' for more details." >&2;}
14815 { (exit 1); exit 1; }; }
14816 fi
14817
14818 ac_ext=c
14819 ac_cpp='$CPP $CPPFLAGS'
14820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14823
14824
14825 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14826 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14827 if test "${ac_cv_path_GREP+set}" = set; then
14828 echo $ECHO_N "(cached) $ECHO_C" >&6
14829 else
14830 # Extract the first word of "grep ggrep" to use in msg output
14831 if test -z "$GREP"; then
14832 set dummy grep ggrep; ac_prog_name=$2
14833 if test "${ac_cv_path_GREP+set}" = set; then
14834 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 else
14836 ac_path_GREP_found=false
14837 # Loop through the user's path and test for each of PROGNAME-LIST
14838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14839 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14840 do
14841 IFS=$as_save_IFS
14842 test -z "$as_dir" && as_dir=.
14843 for ac_prog in grep ggrep; do
14844 for ac_exec_ext in '' $ac_executable_extensions; do
14845 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14846 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14847 # Check for GNU ac_path_GREP and select it if it is found.
14848 # Check for GNU $ac_path_GREP
14849 case `"$ac_path_GREP" --version 2>&1` in
14850 *GNU*)
14851 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14852 *)
14853 ac_count=0
14854 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14855 while :
14856 do
14857 cat "conftest.in" "conftest.in" >"conftest.tmp"
14858 mv "conftest.tmp" "conftest.in"
14859 cp "conftest.in" "conftest.nl"
14860 echo 'GREP' >> "conftest.nl"
14861 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14862 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14863 ac_count=`expr $ac_count + 1`
14864 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14865 # Best one so far, save it but keep looking for a better one
14866 ac_cv_path_GREP="$ac_path_GREP"
14867 ac_path_GREP_max=$ac_count
14868 fi
14869 # 10*(2^10) chars as input seems more than enough
14870 test $ac_count -gt 10 && break
14871 done
14872 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14873 esac
14874
14875
14876 $ac_path_GREP_found && break 3
14877 done
14878 done
14879
14880 done
14881 IFS=$as_save_IFS
14882
14883
14884 fi
14885
14886 GREP="$ac_cv_path_GREP"
14887 if test -z "$GREP"; then
14888 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14889 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14890 { (exit 1); exit 1; }; }
14891 fi
14892
14893 else
14894 ac_cv_path_GREP=$GREP
14895 fi
14896
14897
14898 fi
14899 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14900 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14901 GREP="$ac_cv_path_GREP"
14902
14903
14904 { echo "$as_me:$LINENO: checking for egrep" >&5
14905 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_EGREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14910 then ac_cv_path_EGREP="$GREP -E"
14911 else
14912 # Extract the first word of "egrep" to use in msg output
14913 if test -z "$EGREP"; then
14914 set dummy egrep; ac_prog_name=$2
14915 if test "${ac_cv_path_EGREP+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 else
14918 ac_path_EGREP_found=false
14919 # Loop through the user's path and test for each of PROGNAME-LIST
14920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14921 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14922 do
14923 IFS=$as_save_IFS
14924 test -z "$as_dir" && as_dir=.
14925 for ac_prog in egrep; do
14926 for ac_exec_ext in '' $ac_executable_extensions; do
14927 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14928 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14929 # Check for GNU ac_path_EGREP and select it if it is found.
14930 # Check for GNU $ac_path_EGREP
14931 case `"$ac_path_EGREP" --version 2>&1` in
14932 *GNU*)
14933 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14934 *)
14935 ac_count=0
14936 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14937 while :
14938 do
14939 cat "conftest.in" "conftest.in" >"conftest.tmp"
14940 mv "conftest.tmp" "conftest.in"
14941 cp "conftest.in" "conftest.nl"
14942 echo 'EGREP' >> "conftest.nl"
14943 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14944 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14945 ac_count=`expr $ac_count + 1`
14946 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14947 # Best one so far, save it but keep looking for a better one
14948 ac_cv_path_EGREP="$ac_path_EGREP"
14949 ac_path_EGREP_max=$ac_count
14950 fi
14951 # 10*(2^10) chars as input seems more than enough
14952 test $ac_count -gt 10 && break
14953 done
14954 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14955 esac
14956
14957
14958 $ac_path_EGREP_found && break 3
14959 done
14960 done
14961
14962 done
14963 IFS=$as_save_IFS
14964
14965
14966 fi
14967
14968 EGREP="$ac_cv_path_EGREP"
14969 if test -z "$EGREP"; then
14970 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14971 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14972 { (exit 1); exit 1; }; }
14973 fi
14974
14975 else
14976 ac_cv_path_EGREP=$EGREP
14977 fi
14978
14979
14980 fi
14981 fi
14982 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14983 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14984 EGREP="$ac_cv_path_EGREP"
14985
14986
14987 if test $ac_cv_c_compiler_gnu = yes; then
14988 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14989 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14990 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14992 else
14993 ac_pattern="Autoconf.*'x'"
14994 cat >conftest.$ac_ext <<_ACEOF
14995 /* confdefs.h. */
14996 _ACEOF
14997 cat confdefs.h >>conftest.$ac_ext
14998 cat >>conftest.$ac_ext <<_ACEOF
14999 /* end confdefs.h. */
15000 #include <sgtty.h>
15001 Autoconf TIOCGETP
15002 _ACEOF
15003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15004 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15005 ac_cv_prog_gcc_traditional=yes
15006 else
15007 ac_cv_prog_gcc_traditional=no
15008 fi
15009 rm -f conftest*
15010
15011
15012 if test $ac_cv_prog_gcc_traditional = no; then
15013 cat >conftest.$ac_ext <<_ACEOF
15014 /* confdefs.h. */
15015 _ACEOF
15016 cat confdefs.h >>conftest.$ac_ext
15017 cat >>conftest.$ac_ext <<_ACEOF
15018 /* end confdefs.h. */
15019 #include <termio.h>
15020 Autoconf TCGETA
15021 _ACEOF
15022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15023 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15024 ac_cv_prog_gcc_traditional=yes
15025 fi
15026 rm -f conftest*
15027
15028 fi
15029 fi
15030 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15031 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15032 if test $ac_cv_prog_gcc_traditional = yes; then
15033 CC="$CC -traditional"
15034 fi
15035 fi
15036
15037
15038 CXXFLAGS=${CXXFLAGS:=}
15039
15040
15041
15042 ac_ext=cpp
15043 ac_cpp='$CXXCPP $CPPFLAGS'
15044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15047 if test -z "$CXX"; then
15048 if test -n "$CCC"; then
15049 CXX=$CCC
15050 else
15051 if test -n "$ac_tool_prefix"; then
15052 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15053 do
15054 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15055 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15058 if test "${ac_cv_prog_CXX+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 else
15061 if test -n "$CXX"; then
15062 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15063 else
15064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15065 for as_dir in $PATH
15066 do
15067 IFS=$as_save_IFS
15068 test -z "$as_dir" && as_dir=.
15069 for ac_exec_ext in '' $ac_executable_extensions; do
15070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15071 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15073 break 2
15074 fi
15075 done
15076 done
15077 IFS=$as_save_IFS
15078
15079 fi
15080 fi
15081 CXX=$ac_cv_prog_CXX
15082 if test -n "$CXX"; then
15083 { echo "$as_me:$LINENO: result: $CXX" >&5
15084 echo "${ECHO_T}$CXX" >&6; }
15085 else
15086 { echo "$as_me:$LINENO: result: no" >&5
15087 echo "${ECHO_T}no" >&6; }
15088 fi
15089
15090
15091 test -n "$CXX" && break
15092 done
15093 fi
15094 if test -z "$CXX"; then
15095 ac_ct_CXX=$CXX
15096 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15097 do
15098 # Extract the first word of "$ac_prog", so it can be a program name with args.
15099 set dummy $ac_prog; ac_word=$2
15100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15102 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 if test -n "$ac_ct_CXX"; then
15106 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15107 else
15108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15109 for as_dir in $PATH
15110 do
15111 IFS=$as_save_IFS
15112 test -z "$as_dir" && as_dir=.
15113 for ac_exec_ext in '' $ac_executable_extensions; do
15114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15115 ac_cv_prog_ac_ct_CXX="$ac_prog"
15116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15117 break 2
15118 fi
15119 done
15120 done
15121 IFS=$as_save_IFS
15122
15123 fi
15124 fi
15125 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15126 if test -n "$ac_ct_CXX"; then
15127 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15128 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15129 else
15130 { echo "$as_me:$LINENO: result: no" >&5
15131 echo "${ECHO_T}no" >&6; }
15132 fi
15133
15134
15135 test -n "$ac_ct_CXX" && break
15136 done
15137
15138 if test "x$ac_ct_CXX" = x; then
15139 CXX="g++"
15140 else
15141 case $cross_compiling:$ac_tool_warned in
15142 yes:)
15143 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15144 whose name does not start with the host triplet. If you think this
15145 configuration is useful to you, please write to autoconf@gnu.org." >&5
15146 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15147 whose name does not start with the host triplet. If you think this
15148 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15149 ac_tool_warned=yes ;;
15150 esac
15151 CXX=$ac_ct_CXX
15152 fi
15153 fi
15154
15155 fi
15156 fi
15157 # Provide some information about the compiler.
15158 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15159 ac_compiler=`set X $ac_compile; echo $2`
15160 { (ac_try="$ac_compiler --version >&5"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15164 esac
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_compiler --version >&5") 2>&5
15167 ac_status=$?
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); }
15170 { (ac_try="$ac_compiler -v >&5"
15171 case "(($ac_try" in
15172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15173 *) ac_try_echo=$ac_try;;
15174 esac
15175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15176 (eval "$ac_compiler -v >&5") 2>&5
15177 ac_status=$?
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); }
15180 { (ac_try="$ac_compiler -V >&5"
15181 case "(($ac_try" in
15182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15183 *) ac_try_echo=$ac_try;;
15184 esac
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_compiler -V >&5") 2>&5
15187 ac_status=$?
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }
15190
15191 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15192 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15193 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 else
15196 cat >conftest.$ac_ext <<_ACEOF
15197 /* confdefs.h. */
15198 _ACEOF
15199 cat confdefs.h >>conftest.$ac_ext
15200 cat >>conftest.$ac_ext <<_ACEOF
15201 /* end confdefs.h. */
15202
15203 int
15204 main ()
15205 {
15206 #ifndef __GNUC__
15207 choke me
15208 #endif
15209
15210 ;
15211 return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219 esac
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15222 ac_status=$?
15223 grep -v '^ *+' conftest.er1 >conftest.err
15224 rm -f conftest.er1
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_cxx_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 ac_compiler_gnu=yes
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15235
15236 ac_compiler_gnu=no
15237 fi
15238
15239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15240 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15241
15242 fi
15243 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15244 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15245 GXX=`test $ac_compiler_gnu = yes && echo yes`
15246 ac_test_CXXFLAGS=${CXXFLAGS+set}
15247 ac_save_CXXFLAGS=$CXXFLAGS
15248 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15249 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15250 if test "${ac_cv_prog_cxx_g+set}" = set; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 else
15253 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15254 ac_cxx_werror_flag=yes
15255 ac_cv_prog_cxx_g=no
15256 CXXFLAGS="-g"
15257 cat >conftest.$ac_ext <<_ACEOF
15258 /* confdefs.h. */
15259 _ACEOF
15260 cat confdefs.h >>conftest.$ac_ext
15261 cat >>conftest.$ac_ext <<_ACEOF
15262 /* end confdefs.h. */
15263
15264 int
15265 main ()
15266 {
15267
15268 ;
15269 return 0;
15270 }
15271 _ACEOF
15272 rm -f conftest.$ac_objext
15273 if { (ac_try="$ac_compile"
15274 case "(($ac_try" in
15275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15276 *) ac_try_echo=$ac_try;;
15277 esac
15278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15279 (eval "$ac_compile") 2>conftest.er1
15280 ac_status=$?
15281 grep -v '^ *+' conftest.er1 >conftest.err
15282 rm -f conftest.er1
15283 cat conftest.err >&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); } && {
15286 test -z "$ac_cxx_werror_flag" ||
15287 test ! -s conftest.err
15288 } && test -s conftest.$ac_objext; then
15289 ac_cv_prog_cxx_g=yes
15290 else
15291 echo "$as_me: failed program was:" >&5
15292 sed 's/^/| /' conftest.$ac_ext >&5
15293
15294 CXXFLAGS=""
15295 cat >conftest.$ac_ext <<_ACEOF
15296 /* confdefs.h. */
15297 _ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15301
15302 int
15303 main ()
15304 {
15305
15306 ;
15307 return 0;
15308 }
15309 _ACEOF
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15315 esac
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15318 ac_status=$?
15319 grep -v '^ *+' conftest.er1 >conftest.err
15320 rm -f conftest.er1
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && {
15324 test -z "$ac_cxx_werror_flag" ||
15325 test ! -s conftest.err
15326 } && test -s conftest.$ac_objext; then
15327 :
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15331
15332 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15333 CXXFLAGS="-g"
15334 cat >conftest.$ac_ext <<_ACEOF
15335 /* confdefs.h. */
15336 _ACEOF
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340
15341 int
15342 main ()
15343 {
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 ac_cv_prog_cxx_g=yes
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371
15372 fi
15373
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375 fi
15376
15377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15378 fi
15379
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15382 fi
15383 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15384 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15385 if test "$ac_test_CXXFLAGS" = set; then
15386 CXXFLAGS=$ac_save_CXXFLAGS
15387 elif test $ac_cv_prog_cxx_g = yes; then
15388 if test "$GXX" = yes; then
15389 CXXFLAGS="-g -O2"
15390 else
15391 CXXFLAGS="-g"
15392 fi
15393 else
15394 if test "$GXX" = yes; then
15395 CXXFLAGS="-O2"
15396 else
15397 CXXFLAGS=
15398 fi
15399 fi
15400 ac_ext=c
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15405
15406
15407
15408 ac_ext=cpp
15409 ac_cpp='$CXXCPP $CPPFLAGS'
15410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15413
15414 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15415 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15416 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15418 else
15419 cat >conftest.$ac_ext <<_ACEOF
15420 /* confdefs.h. */
15421 _ACEOF
15422 cat confdefs.h >>conftest.$ac_ext
15423 cat >>conftest.$ac_ext <<_ACEOF
15424 /* end confdefs.h. */
15425
15426 int
15427 main ()
15428 {
15429
15430 #ifndef __INTEL_COMPILER
15431 choke me
15432 #endif
15433
15434 ;
15435 return 0;
15436 }
15437 _ACEOF
15438 rm -f conftest.$ac_objext
15439 if { (ac_try="$ac_compile"
15440 case "(($ac_try" in
15441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15442 *) ac_try_echo=$ac_try;;
15443 esac
15444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15445 (eval "$ac_compile") 2>conftest.er1
15446 ac_status=$?
15447 grep -v '^ *+' conftest.er1 >conftest.err
15448 rm -f conftest.er1
15449 cat conftest.err >&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } && {
15452 test -z "$ac_cxx_werror_flag" ||
15453 test ! -s conftest.err
15454 } && test -s conftest.$ac_objext; then
15455 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15456 else
15457 echo "$as_me: failed program was:" >&5
15458 sed 's/^/| /' conftest.$ac_ext >&5
15459
15460 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15461
15462 fi
15463
15464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15465
15466
15467 fi
15468 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15469 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15470 ac_ext=c
15471 ac_cpp='$CPP $CPPFLAGS'
15472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15475
15476 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15477 :; INTELCXX=yes
15478 else
15479 :;
15480 fi
15481
15482
15483 if test "x$GCXX" != "xyes"; then
15484 if test "xCXX" = "xC"; then
15485 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15486 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15487 if test "${bakefile_cv_c_exto+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 else
15490 cat >conftest.$ac_ext <<_ACEOF
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496
15497 int
15498 main ()
15499 {
15500
15501 ;
15502 return 0;
15503 }
15504 _ACEOF
15505 rm -f conftest.$ac_objext conftest.$ac_ext.o
15506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15507 (eval $ac_compile) 2>&5
15508 ac_status=$?
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; then
15511 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15512 case $ac_file in
15513 conftest.$ac_ext.o)
15514 bakefile_cv_c_exto="-ext o"
15515 ;;
15516 *)
15517 ;;
15518 esac
15519 done
15520 else
15521 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15522 See \`config.log' for more details." >&5
15523 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15524 See \`config.log' for more details." >&2;}
15525 { (exit 1); exit 1; }; }
15526
15527 fi
15528
15529 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15530
15531 fi
15532 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15533 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15534 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15535 if test "c" = "c"; then
15536 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15537 fi
15538 if test "c" = "cxx"; then
15539 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15540 fi
15541 fi
15542
15543 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15544 unset ac_cv_prog_cc_g
15545 ac_test_CFLAGS=${CFLAGS+set}
15546 ac_save_CFLAGS=$CFLAGS
15547 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15548 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15549 if test "${ac_cv_prog_cc_g+set}" = set; then
15550 echo $ECHO_N "(cached) $ECHO_C" >&6
15551 else
15552 ac_save_c_werror_flag=$ac_c_werror_flag
15553 ac_c_werror_flag=yes
15554 ac_cv_prog_cc_g=no
15555 CFLAGS="-g"
15556 cat >conftest.$ac_ext <<_ACEOF
15557 /* confdefs.h. */
15558 _ACEOF
15559 cat confdefs.h >>conftest.$ac_ext
15560 cat >>conftest.$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15562
15563 int
15564 main ()
15565 {
15566
15567 ;
15568 return 0;
15569 }
15570 _ACEOF
15571 rm -f conftest.$ac_objext
15572 if { (ac_try="$ac_compile"
15573 case "(($ac_try" in
15574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15575 *) ac_try_echo=$ac_try;;
15576 esac
15577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15578 (eval "$ac_compile") 2>conftest.er1
15579 ac_status=$?
15580 grep -v '^ *+' conftest.er1 >conftest.err
15581 rm -f conftest.er1
15582 cat conftest.err >&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } && {
15585 test -z "$ac_c_werror_flag" ||
15586 test ! -s conftest.err
15587 } && test -s conftest.$ac_objext; then
15588 ac_cv_prog_cc_g=yes
15589 else
15590 echo "$as_me: failed program was:" >&5
15591 sed 's/^/| /' conftest.$ac_ext >&5
15592
15593 CFLAGS=""
15594 cat >conftest.$ac_ext <<_ACEOF
15595 /* confdefs.h. */
15596 _ACEOF
15597 cat confdefs.h >>conftest.$ac_ext
15598 cat >>conftest.$ac_ext <<_ACEOF
15599 /* end confdefs.h. */
15600
15601 int
15602 main ()
15603 {
15604
15605 ;
15606 return 0;
15607 }
15608 _ACEOF
15609 rm -f conftest.$ac_objext
15610 if { (ac_try="$ac_compile"
15611 case "(($ac_try" in
15612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15613 *) ac_try_echo=$ac_try;;
15614 esac
15615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15616 (eval "$ac_compile") 2>conftest.er1
15617 ac_status=$?
15618 grep -v '^ *+' conftest.er1 >conftest.err
15619 rm -f conftest.er1
15620 cat conftest.err >&5
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } && {
15623 test -z "$ac_c_werror_flag" ||
15624 test ! -s conftest.err
15625 } && test -s conftest.$ac_objext; then
15626 :
15627 else
15628 echo "$as_me: failed program was:" >&5
15629 sed 's/^/| /' conftest.$ac_ext >&5
15630
15631 ac_c_werror_flag=$ac_save_c_werror_flag
15632 CFLAGS="-g"
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h. */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639
15640 int
15641 main ()
15642 {
15643
15644 ;
15645 return 0;
15646 }
15647 _ACEOF
15648 rm -f conftest.$ac_objext
15649 if { (ac_try="$ac_compile"
15650 case "(($ac_try" in
15651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15652 *) ac_try_echo=$ac_try;;
15653 esac
15654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15655 (eval "$ac_compile") 2>conftest.er1
15656 ac_status=$?
15657 grep -v '^ *+' conftest.er1 >conftest.err
15658 rm -f conftest.er1
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } && {
15662 test -z "$ac_c_werror_flag" ||
15663 test ! -s conftest.err
15664 } && test -s conftest.$ac_objext; then
15665 ac_cv_prog_cc_g=yes
15666 else
15667 echo "$as_me: failed program was:" >&5
15668 sed 's/^/| /' conftest.$ac_ext >&5
15669
15670
15671 fi
15672
15673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15674 fi
15675
15676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15677 fi
15678
15679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15680 ac_c_werror_flag=$ac_save_c_werror_flag
15681 fi
15682 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15683 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15684 if test "$ac_test_CFLAGS" = set; then
15685 CFLAGS=$ac_save_CFLAGS
15686 elif test $ac_cv_prog_cc_g = yes; then
15687 if test "$GCC" = yes; then
15688 CFLAGS="-g -O2"
15689 else
15690 CFLAGS="-g"
15691 fi
15692 else
15693 if test "$GCC" = yes; then
15694 CFLAGS="-O2"
15695 else
15696 CFLAGS=
15697 fi
15698 fi
15699 fi
15700 fi
15701
15702 case `uname -s` in
15703 AIX*)
15704 ac_ext=cpp
15705 ac_cpp='$CXXCPP $CPPFLAGS'
15706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15709
15710 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15711 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15712 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15714 else
15715 cat >conftest.$ac_ext <<_ACEOF
15716 /* confdefs.h. */
15717 _ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15721
15722 int
15723 main ()
15724 {
15725 #ifndef __xlC__
15726 choke me
15727 #endif
15728
15729 ;
15730 return 0;
15731 }
15732 _ACEOF
15733 rm -f conftest.$ac_objext
15734 if { (ac_try="$ac_compile"
15735 case "(($ac_try" in
15736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15737 *) ac_try_echo=$ac_try;;
15738 esac
15739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15740 (eval "$ac_compile") 2>conftest.er1
15741 ac_status=$?
15742 grep -v '^ *+' conftest.er1 >conftest.err
15743 rm -f conftest.er1
15744 cat conftest.err >&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); } && {
15747 test -z "$ac_cxx_werror_flag" ||
15748 test ! -s conftest.err
15749 } && test -s conftest.$ac_objext; then
15750 bakefile_compiler_xlc=yes
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15754
15755 bakefile_compiler_xlc=no
15756 fi
15757
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15760
15761 fi
15762 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15763 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15764
15765 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15766 ac_ext=c
15767 ac_cpp='$CPP $CPPFLAGS'
15768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15771
15772
15773 ;;
15774
15775 Darwin)
15776 ac_ext=cpp
15777 ac_cpp='$CXXCPP $CPPFLAGS'
15778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15781
15782 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15783 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15784 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15785 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 else
15787 cat >conftest.$ac_ext <<_ACEOF
15788 /* confdefs.h. */
15789 _ACEOF
15790 cat confdefs.h >>conftest.$ac_ext
15791 cat >>conftest.$ac_ext <<_ACEOF
15792 /* end confdefs.h. */
15793
15794 int
15795 main ()
15796 {
15797 #ifndef __MWERKS__
15798 choke me
15799 #endif
15800
15801 ;
15802 return 0;
15803 }
15804 _ACEOF
15805 rm -f conftest.$ac_objext
15806 if { (ac_try="$ac_compile"
15807 case "(($ac_try" in
15808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;;
15810 esac
15811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15812 (eval "$ac_compile") 2>conftest.er1
15813 ac_status=$?
15814 grep -v '^ *+' conftest.er1 >conftest.err
15815 rm -f conftest.er1
15816 cat conftest.err >&5
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); } && {
15819 test -z "$ac_cxx_werror_flag" ||
15820 test ! -s conftest.err
15821 } && test -s conftest.$ac_objext; then
15822 bakefile_compiler_mwerks=yes
15823 else
15824 echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.$ac_ext >&5
15826
15827 bakefile_compiler_mwerks=no
15828 fi
15829
15830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15831 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15832
15833 fi
15834 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15835 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15836
15837 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15838 ac_ext=c
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843
15844
15845 ac_ext=cpp
15846 ac_cpp='$CXXCPP $CPPFLAGS'
15847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15850
15851 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15852 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15853 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 else
15856 cat >conftest.$ac_ext <<_ACEOF
15857 /* confdefs.h. */
15858 _ACEOF
15859 cat confdefs.h >>conftest.$ac_ext
15860 cat >>conftest.$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862
15863 int
15864 main ()
15865 {
15866 #ifndef __xlC__
15867 choke me
15868 #endif
15869
15870 ;
15871 return 0;
15872 }
15873 _ACEOF
15874 rm -f conftest.$ac_objext
15875 if { (ac_try="$ac_compile"
15876 case "(($ac_try" in
15877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15878 *) ac_try_echo=$ac_try;;
15879 esac
15880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15881 (eval "$ac_compile") 2>conftest.er1
15882 ac_status=$?
15883 grep -v '^ *+' conftest.er1 >conftest.err
15884 rm -f conftest.er1
15885 cat conftest.err >&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } && {
15888 test -z "$ac_cxx_werror_flag" ||
15889 test ! -s conftest.err
15890 } && test -s conftest.$ac_objext; then
15891 bakefile_compiler_xlc=yes
15892 else
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15895
15896 bakefile_compiler_xlc=no
15897 fi
15898
15899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15900 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15901
15902 fi
15903 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15904 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15905
15906 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15907 ac_ext=c
15908 ac_cpp='$CPP $CPPFLAGS'
15909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15912
15913
15914 ;;
15915
15916 IRIX*)
15917
15918
15919 ac_ext=cpp
15920 ac_cpp='$CXXCPP $CPPFLAGS'
15921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15924
15925 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15926 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15927 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930 cat >conftest.$ac_ext <<_ACEOF
15931 /* confdefs.h. */
15932 _ACEOF
15933 cat confdefs.h >>conftest.$ac_ext
15934 cat >>conftest.$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936
15937 int
15938 main ()
15939 {
15940
15941 #ifndef _SGI_COMPILER_VERSION
15942 choke me
15943 #endif
15944
15945 ;
15946 return 0;
15947 }
15948 _ACEOF
15949 rm -f conftest.$ac_objext
15950 if { (ac_try="$ac_compile"
15951 case "(($ac_try" in
15952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15953 *) ac_try_echo=$ac_try;;
15954 esac
15955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15956 (eval "$ac_compile") 2>conftest.er1
15957 ac_status=$?
15958 grep -v '^ *+' conftest.er1 >conftest.err
15959 rm -f conftest.er1
15960 cat conftest.err >&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && {
15963 test -z "$ac_cxx_werror_flag" ||
15964 test ! -s conftest.err
15965 } && test -s conftest.$ac_objext; then
15966 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15967 else
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15970
15971 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15972
15973 fi
15974
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976
15977
15978 fi
15979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15980 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15981 ac_ext=c
15982 ac_cpp='$CPP $CPPFLAGS'
15983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15986
15987 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15988 :; SGICXX=yes
15989 else
15990 :;
15991 fi
15992
15993
15994 ;;
15995
15996 HP-UX*)
15997
15998
15999 ac_ext=cpp
16000 ac_cpp='$CXXCPP $CPPFLAGS'
16001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16004
16005 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16006 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16007 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16008 echo $ECHO_N "(cached) $ECHO_C" >&6
16009 else
16010 cat >conftest.$ac_ext <<_ACEOF
16011 /* confdefs.h. */
16012 _ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016
16017 int
16018 main ()
16019 {
16020
16021 #ifndef __HP_aCC
16022 choke me
16023 #endif
16024
16025 ;
16026 return 0;
16027 }
16028 _ACEOF
16029 rm -f conftest.$ac_objext
16030 if { (ac_try="$ac_compile"
16031 case "(($ac_try" in
16032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16033 *) ac_try_echo=$ac_try;;
16034 esac
16035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16036 (eval "$ac_compile") 2>conftest.er1
16037 ac_status=$?
16038 grep -v '^ *+' conftest.er1 >conftest.err
16039 rm -f conftest.er1
16040 cat conftest.err >&5
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); } && {
16043 test -z "$ac_cxx_werror_flag" ||
16044 test ! -s conftest.err
16045 } && test -s conftest.$ac_objext; then
16046 bakefile_cv_cxx_compiler___HP_aCC=yes
16047 else
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.$ac_ext >&5
16050
16051 bakefile_cv_cxx_compiler___HP_aCC=no
16052
16053 fi
16054
16055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16056
16057
16058 fi
16059 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16060 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16061 ac_ext=c
16062 ac_cpp='$CPP $CPPFLAGS'
16063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16066
16067 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16068 :; HPCXX=yes
16069 else
16070 :;
16071 fi
16072
16073
16074 ;;
16075
16076 OSF1)
16077
16078
16079 ac_ext=cpp
16080 ac_cpp='$CXXCPP $CPPFLAGS'
16081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16084
16085 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16086 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16087 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 else
16090 cat >conftest.$ac_ext <<_ACEOF
16091 /* confdefs.h. */
16092 _ACEOF
16093 cat confdefs.h >>conftest.$ac_ext
16094 cat >>conftest.$ac_ext <<_ACEOF
16095 /* end confdefs.h. */
16096
16097 int
16098 main ()
16099 {
16100
16101 #ifndef __DECCXX
16102 choke me
16103 #endif
16104
16105 ;
16106 return 0;
16107 }
16108 _ACEOF
16109 rm -f conftest.$ac_objext
16110 if { (ac_try="$ac_compile"
16111 case "(($ac_try" in
16112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16113 *) ac_try_echo=$ac_try;;
16114 esac
16115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16116 (eval "$ac_compile") 2>conftest.er1
16117 ac_status=$?
16118 grep -v '^ *+' conftest.er1 >conftest.err
16119 rm -f conftest.er1
16120 cat conftest.err >&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } && {
16123 test -z "$ac_cxx_werror_flag" ||
16124 test ! -s conftest.err
16125 } && test -s conftest.$ac_objext; then
16126 bakefile_cv_cxx_compiler___DECCXX=yes
16127 else
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.$ac_ext >&5
16130
16131 bakefile_cv_cxx_compiler___DECCXX=no
16132
16133 fi
16134
16135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16136
16137
16138 fi
16139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16140 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16141 ac_ext=c
16142 ac_cpp='$CPP $CPPFLAGS'
16143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16146
16147 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16148 :; COMPAQCXX=yes
16149 else
16150 :;
16151 fi
16152
16153
16154 ;;
16155
16156 SunOS)
16157
16158
16159 ac_ext=cpp
16160 ac_cpp='$CXXCPP $CPPFLAGS'
16161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16164
16165 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16166 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16167 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16168 echo $ECHO_N "(cached) $ECHO_C" >&6
16169 else
16170 cat >conftest.$ac_ext <<_ACEOF
16171 /* confdefs.h. */
16172 _ACEOF
16173 cat confdefs.h >>conftest.$ac_ext
16174 cat >>conftest.$ac_ext <<_ACEOF
16175 /* end confdefs.h. */
16176
16177 int
16178 main ()
16179 {
16180
16181 #ifndef __SUNPRO_CC
16182 choke me
16183 #endif
16184
16185 ;
16186 return 0;
16187 }
16188 _ACEOF
16189 rm -f conftest.$ac_objext
16190 if { (ac_try="$ac_compile"
16191 case "(($ac_try" in
16192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16193 *) ac_try_echo=$ac_try;;
16194 esac
16195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16196 (eval "$ac_compile") 2>conftest.er1
16197 ac_status=$?
16198 grep -v '^ *+' conftest.er1 >conftest.err
16199 rm -f conftest.er1
16200 cat conftest.err >&5
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); } && {
16203 test -z "$ac_cxx_werror_flag" ||
16204 test ! -s conftest.err
16205 } && test -s conftest.$ac_objext; then
16206 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16207 else
16208 echo "$as_me: failed program was:" >&5
16209 sed 's/^/| /' conftest.$ac_ext >&5
16210
16211 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16212
16213 fi
16214
16215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16216
16217
16218 fi
16219 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16220 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16221 ac_ext=c
16222 ac_cpp='$CPP $CPPFLAGS'
16223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16226
16227 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16228 :; SUNCXX=yes
16229 else
16230 :;
16231 fi
16232
16233
16234 ;;
16235 esac
16236 fi
16237
16238
16239
16240 if test -n "$ac_tool_prefix"; then
16241 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16242 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16245 if test "${ac_cv_prog_RANLIB+set}" = set; then
16246 echo $ECHO_N "(cached) $ECHO_C" >&6
16247 else
16248 if test -n "$RANLIB"; then
16249 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16250 else
16251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16252 for as_dir in $PATH
16253 do
16254 IFS=$as_save_IFS
16255 test -z "$as_dir" && as_dir=.
16256 for ac_exec_ext in '' $ac_executable_extensions; do
16257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16258 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16260 break 2
16261 fi
16262 done
16263 done
16264 IFS=$as_save_IFS
16265
16266 fi
16267 fi
16268 RANLIB=$ac_cv_prog_RANLIB
16269 if test -n "$RANLIB"; then
16270 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16271 echo "${ECHO_T}$RANLIB" >&6; }
16272 else
16273 { echo "$as_me:$LINENO: result: no" >&5
16274 echo "${ECHO_T}no" >&6; }
16275 fi
16276
16277
16278 fi
16279 if test -z "$ac_cv_prog_RANLIB"; then
16280 ac_ct_RANLIB=$RANLIB
16281 # Extract the first word of "ranlib", so it can be a program name with args.
16282 set dummy ranlib; ac_word=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 else
16288 if test -n "$ac_ct_RANLIB"; then
16289 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16290 else
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16293 do
16294 IFS=$as_save_IFS
16295 test -z "$as_dir" && as_dir=.
16296 for ac_exec_ext in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_ac_ct_RANLIB="ranlib"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16300 break 2
16301 fi
16302 done
16303 done
16304 IFS=$as_save_IFS
16305
16306 fi
16307 fi
16308 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16309 if test -n "$ac_ct_RANLIB"; then
16310 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16311 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16312 else
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16315 fi
16316
16317 if test "x$ac_ct_RANLIB" = x; then
16318 RANLIB=":"
16319 else
16320 case $cross_compiling:$ac_tool_warned in
16321 yes:)
16322 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16323 whose name does not start with the host triplet. If you think this
16324 configuration is useful to you, please write to autoconf@gnu.org." >&5
16325 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16326 whose name does not start with the host triplet. If you think this
16327 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16328 ac_tool_warned=yes ;;
16329 esac
16330 RANLIB=$ac_ct_RANLIB
16331 fi
16332 else
16333 RANLIB="$ac_cv_prog_RANLIB"
16334 fi
16335
16336
16337 if test "x$SUNCXX" != xyes; then
16338 if test -n "$ac_tool_prefix"; then
16339 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16340 set dummy ${ac_tool_prefix}ar; ac_word=$2
16341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16343 if test "${ac_cv_prog_AR+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 else
16346 if test -n "$AR"; then
16347 ac_cv_prog_AR="$AR" # Let the user override the test.
16348 else
16349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16350 for as_dir in $PATH
16351 do
16352 IFS=$as_save_IFS
16353 test -z "$as_dir" && as_dir=.
16354 for ac_exec_ext in '' $ac_executable_extensions; do
16355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16356 ac_cv_prog_AR="${ac_tool_prefix}ar"
16357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16358 break 2
16359 fi
16360 done
16361 done
16362 IFS=$as_save_IFS
16363
16364 fi
16365 fi
16366 AR=$ac_cv_prog_AR
16367 if test -n "$AR"; then
16368 { echo "$as_me:$LINENO: result: $AR" >&5
16369 echo "${ECHO_T}$AR" >&6; }
16370 else
16371 { echo "$as_me:$LINENO: result: no" >&5
16372 echo "${ECHO_T}no" >&6; }
16373 fi
16374
16375
16376 fi
16377 if test -z "$ac_cv_prog_AR"; then
16378 ac_ct_AR=$AR
16379 # Extract the first word of "ar", so it can be a program name with args.
16380 set dummy ar; ac_word=$2
16381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16383 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16384 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 else
16386 if test -n "$ac_ct_AR"; then
16387 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16388 else
16389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16390 for as_dir in $PATH
16391 do
16392 IFS=$as_save_IFS
16393 test -z "$as_dir" && as_dir=.
16394 for ac_exec_ext in '' $ac_executable_extensions; do
16395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16396 ac_cv_prog_ac_ct_AR="ar"
16397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16398 break 2
16399 fi
16400 done
16401 done
16402 IFS=$as_save_IFS
16403
16404 fi
16405 fi
16406 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16407 if test -n "$ac_ct_AR"; then
16408 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16409 echo "${ECHO_T}$ac_ct_AR" >&6; }
16410 else
16411 { echo "$as_me:$LINENO: result: no" >&5
16412 echo "${ECHO_T}no" >&6; }
16413 fi
16414
16415 if test "x$ac_ct_AR" = x; then
16416 AR=""
16417 else
16418 case $cross_compiling:$ac_tool_warned in
16419 yes:)
16420 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16421 whose name does not start with the host triplet. If you think this
16422 configuration is useful to you, please write to autoconf@gnu.org." >&5
16423 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16424 whose name does not start with the host triplet. If you think this
16425 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16426 ac_tool_warned=yes ;;
16427 esac
16428 AR=$ac_ct_AR
16429 fi
16430 else
16431 AR="$ac_cv_prog_AR"
16432 fi
16433
16434 if test "x$AR" = "x" ; then
16435 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16436 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16437 { (exit 1); exit 1; }; }
16438 fi
16439 fi
16440
16441 # Find a good install program. We prefer a C program (faster),
16442 # so one script is as good as another. But avoid the broken or
16443 # incompatible versions:
16444 # SysV /etc/install, /usr/sbin/install
16445 # SunOS /usr/etc/install
16446 # IRIX /sbin/install
16447 # AIX /bin/install
16448 # AmigaOS /C/install, which installs bootblocks on floppy discs
16449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16452 # OS/2's system install, which has a completely different semantic
16453 # ./install, which can be erroneously created by make from ./install.sh.
16454 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16455 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16456 if test -z "$INSTALL"; then
16457 if test "${ac_cv_path_install+set}" = set; then
16458 echo $ECHO_N "(cached) $ECHO_C" >&6
16459 else
16460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16461 for as_dir in $PATH
16462 do
16463 IFS=$as_save_IFS
16464 test -z "$as_dir" && as_dir=.
16465 # Account for people who put trailing slashes in PATH elements.
16466 case $as_dir/ in
16467 ./ | .// | /cC/* | \
16468 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16469 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16470 /usr/ucb/* ) ;;
16471 *)
16472 # OSF1 and SCO ODT 3.0 have their own names for install.
16473 # Don't use installbsd from OSF since it installs stuff as root
16474 # by default.
16475 for ac_prog in ginstall scoinst install; do
16476 for ac_exec_ext in '' $ac_executable_extensions; do
16477 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16478 if test $ac_prog = install &&
16479 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16480 # AIX install. It has an incompatible calling convention.
16481 :
16482 elif test $ac_prog = install &&
16483 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16484 # program-specific install script used by HP pwplus--don't use.
16485 :
16486 else
16487 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16488 break 3
16489 fi
16490 fi
16491 done
16492 done
16493 ;;
16494 esac
16495 done
16496 IFS=$as_save_IFS
16497
16498
16499 fi
16500 if test "${ac_cv_path_install+set}" = set; then
16501 INSTALL=$ac_cv_path_install
16502 else
16503 # As a last resort, use the slow shell script. Don't cache a
16504 # value for INSTALL within a source directory, because that will
16505 # break other packages using the cache if that directory is
16506 # removed, or if the value is a relative name.
16507 INSTALL=$ac_install_sh
16508 fi
16509 fi
16510 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16511 echo "${ECHO_T}$INSTALL" >&6; }
16512
16513 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16514 # It thinks the first close brace ends the variable substitution.
16515 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16516
16517 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16518
16519 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16520
16521
16522 case ${INSTALL} in
16523 /* ) # Absolute
16524 ;;
16525 ?:* ) # Drive letter, considered as absolute.
16526 ;;
16527 *)
16528 INSTALL=`pwd`/${INSTALL} ;;
16529 esac
16530
16531
16532 case "${host}" in
16533
16534 *-*-darwin* )
16535 INSTALL_PROGRAM="cp -fp"
16536 INSTALL_DATA="cp -fp"
16537 ;;
16538 *)
16539 ;;
16540 esac
16541
16542 if test -n "$ac_tool_prefix"; then
16543 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16544 set dummy ${ac_tool_prefix}strip; ac_word=$2
16545 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16547 if test "${ac_cv_prog_STRIP+set}" = set; then
16548 echo $ECHO_N "(cached) $ECHO_C" >&6
16549 else
16550 if test -n "$STRIP"; then
16551 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16552 else
16553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16554 for as_dir in $PATH
16555 do
16556 IFS=$as_save_IFS
16557 test -z "$as_dir" && as_dir=.
16558 for ac_exec_ext in '' $ac_executable_extensions; do
16559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16560 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16562 break 2
16563 fi
16564 done
16565 done
16566 IFS=$as_save_IFS
16567
16568 fi
16569 fi
16570 STRIP=$ac_cv_prog_STRIP
16571 if test -n "$STRIP"; then
16572 { echo "$as_me:$LINENO: result: $STRIP" >&5
16573 echo "${ECHO_T}$STRIP" >&6; }
16574 else
16575 { echo "$as_me:$LINENO: result: no" >&5
16576 echo "${ECHO_T}no" >&6; }
16577 fi
16578
16579
16580 fi
16581 if test -z "$ac_cv_prog_STRIP"; then
16582 ac_ct_STRIP=$STRIP
16583 # Extract the first word of "strip", so it can be a program name with args.
16584 set dummy strip; ac_word=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 if test -n "$ac_ct_STRIP"; then
16591 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16592 else
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16595 do
16596 IFS=$as_save_IFS
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_ac_ct_STRIP="strip"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16602 break 2
16603 fi
16604 done
16605 done
16606 IFS=$as_save_IFS
16607
16608 fi
16609 fi
16610 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16611 if test -n "$ac_ct_STRIP"; then
16612 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16613 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16614 else
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16617 fi
16618
16619 if test "x$ac_ct_STRIP" = x; then
16620 STRIP="true"
16621 else
16622 case $cross_compiling:$ac_tool_warned in
16623 yes:)
16624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16625 whose name does not start with the host triplet. If you think this
16626 configuration is useful to you, please write to autoconf@gnu.org." >&5
16627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16628 whose name does not start with the host triplet. If you think this
16629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16630 ac_tool_warned=yes ;;
16631 esac
16632 STRIP=$ac_ct_STRIP
16633 fi
16634 else
16635 STRIP="$ac_cv_prog_STRIP"
16636 fi
16637
16638
16639 if test "$wxUSE_WINE" = "yes"; then
16640 if test -n "$ac_tool_prefix"; then
16641 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16642 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16645 if test "${ac_cv_prog_WINDRES+set}" = set; then
16646 echo $ECHO_N "(cached) $ECHO_C" >&6
16647 else
16648 if test -n "$WINDRES"; then
16649 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16650 else
16651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16652 for as_dir in $PATH
16653 do
16654 IFS=$as_save_IFS
16655 test -z "$as_dir" && as_dir=.
16656 for ac_exec_ext in '' $ac_executable_extensions; do
16657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16658 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16660 break 2
16661 fi
16662 done
16663 done
16664 IFS=$as_save_IFS
16665
16666 fi
16667 fi
16668 WINDRES=$ac_cv_prog_WINDRES
16669 if test -n "$WINDRES"; then
16670 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16671 echo "${ECHO_T}$WINDRES" >&6; }
16672 else
16673 { echo "$as_me:$LINENO: result: no" >&5
16674 echo "${ECHO_T}no" >&6; }
16675 fi
16676
16677
16678 fi
16679 if test -z "$ac_cv_prog_WINDRES"; then
16680 ac_ct_WINDRES=$WINDRES
16681 # Extract the first word of "wrc", so it can be a program name with args.
16682 set dummy wrc; ac_word=$2
16683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16685 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 else
16688 if test -n "$ac_ct_WINDRES"; then
16689 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16690 else
16691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16692 for as_dir in $PATH
16693 do
16694 IFS=$as_save_IFS
16695 test -z "$as_dir" && as_dir=.
16696 for ac_exec_ext in '' $ac_executable_extensions; do
16697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16698 ac_cv_prog_ac_ct_WINDRES="wrc"
16699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16700 break 2
16701 fi
16702 done
16703 done
16704 IFS=$as_save_IFS
16705
16706 fi
16707 fi
16708 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16709 if test -n "$ac_ct_WINDRES"; then
16710 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16711 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16712 else
16713 { echo "$as_me:$LINENO: result: no" >&5
16714 echo "${ECHO_T}no" >&6; }
16715 fi
16716
16717 if test "x$ac_ct_WINDRES" = x; then
16718 WINDRES=""
16719 else
16720 case $cross_compiling:$ac_tool_warned in
16721 yes:)
16722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16723 whose name does not start with the host triplet. If you think this
16724 configuration is useful to you, please write to autoconf@gnu.org." >&5
16725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16726 whose name does not start with the host triplet. If you think this
16727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16728 ac_tool_warned=yes ;;
16729 esac
16730 WINDRES=$ac_ct_WINDRES
16731 fi
16732 else
16733 WINDRES="$ac_cv_prog_WINDRES"
16734 fi
16735
16736 RESCOMP="$WINDRES"
16737 else
16738 case "${host}" in
16739 *-*-cygwin* | *-*-mingw32* )
16740 if test -n "$ac_tool_prefix"; then
16741 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16742 set dummy ${ac_tool_prefix}windres; ac_word=$2
16743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16745 if test "${ac_cv_prog_WINDRES+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 else
16748 if test -n "$WINDRES"; then
16749 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16750 else
16751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16752 for as_dir in $PATH
16753 do
16754 IFS=$as_save_IFS
16755 test -z "$as_dir" && as_dir=.
16756 for ac_exec_ext in '' $ac_executable_extensions; do
16757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16758 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16760 break 2
16761 fi
16762 done
16763 done
16764 IFS=$as_save_IFS
16765
16766 fi
16767 fi
16768 WINDRES=$ac_cv_prog_WINDRES
16769 if test -n "$WINDRES"; then
16770 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16771 echo "${ECHO_T}$WINDRES" >&6; }
16772 else
16773 { echo "$as_me:$LINENO: result: no" >&5
16774 echo "${ECHO_T}no" >&6; }
16775 fi
16776
16777
16778 fi
16779 if test -z "$ac_cv_prog_WINDRES"; then
16780 ac_ct_WINDRES=$WINDRES
16781 # Extract the first word of "windres", so it can be a program name with args.
16782 set dummy windres; ac_word=$2
16783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16785 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 else
16788 if test -n "$ac_ct_WINDRES"; then
16789 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16790 else
16791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16792 for as_dir in $PATH
16793 do
16794 IFS=$as_save_IFS
16795 test -z "$as_dir" && as_dir=.
16796 for ac_exec_ext in '' $ac_executable_extensions; do
16797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16798 ac_cv_prog_ac_ct_WINDRES="windres"
16799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16800 break 2
16801 fi
16802 done
16803 done
16804 IFS=$as_save_IFS
16805
16806 fi
16807 fi
16808 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16809 if test -n "$ac_ct_WINDRES"; then
16810 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16811 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16812 else
16813 { echo "$as_me:$LINENO: result: no" >&5
16814 echo "${ECHO_T}no" >&6; }
16815 fi
16816
16817 if test "x$ac_ct_WINDRES" = x; then
16818 WINDRES=""
16819 else
16820 case $cross_compiling:$ac_tool_warned in
16821 yes:)
16822 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16823 whose name does not start with the host triplet. If you think this
16824 configuration is useful to you, please write to autoconf@gnu.org." >&5
16825 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16826 whose name does not start with the host triplet. If you think this
16827 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16828 ac_tool_warned=yes ;;
16829 esac
16830 WINDRES=$ac_ct_WINDRES
16831 fi
16832 else
16833 WINDRES="$ac_cv_prog_WINDRES"
16834 fi
16835
16836 RESCOMP="$WINDRES"
16837 if test -n "$ac_tool_prefix"; then
16838 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16839 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16842 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16843 echo $ECHO_N "(cached) $ECHO_C" >&6
16844 else
16845 if test -n "$DLLTOOL"; then
16846 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16847 else
16848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16849 for as_dir in $PATH
16850 do
16851 IFS=$as_save_IFS
16852 test -z "$as_dir" && as_dir=.
16853 for ac_exec_ext in '' $ac_executable_extensions; do
16854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16855 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16857 break 2
16858 fi
16859 done
16860 done
16861 IFS=$as_save_IFS
16862
16863 fi
16864 fi
16865 DLLTOOL=$ac_cv_prog_DLLTOOL
16866 if test -n "$DLLTOOL"; then
16867 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16868 echo "${ECHO_T}$DLLTOOL" >&6; }
16869 else
16870 { echo "$as_me:$LINENO: result: no" >&5
16871 echo "${ECHO_T}no" >&6; }
16872 fi
16873
16874
16875 fi
16876 if test -z "$ac_cv_prog_DLLTOOL"; then
16877 ac_ct_DLLTOOL=$DLLTOOL
16878 # Extract the first word of "dlltool", so it can be a program name with args.
16879 set dummy dlltool; ac_word=$2
16880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16882 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16883 echo $ECHO_N "(cached) $ECHO_C" >&6
16884 else
16885 if test -n "$ac_ct_DLLTOOL"; then
16886 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16887 else
16888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16889 for as_dir in $PATH
16890 do
16891 IFS=$as_save_IFS
16892 test -z "$as_dir" && as_dir=.
16893 for ac_exec_ext in '' $ac_executable_extensions; do
16894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16895 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16897 break 2
16898 fi
16899 done
16900 done
16901 IFS=$as_save_IFS
16902
16903 fi
16904 fi
16905 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16906 if test -n "$ac_ct_DLLTOOL"; then
16907 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16908 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16909 else
16910 { echo "$as_me:$LINENO: result: no" >&5
16911 echo "${ECHO_T}no" >&6; }
16912 fi
16913
16914 if test "x$ac_ct_DLLTOOL" = x; then
16915 DLLTOOL=""
16916 else
16917 case $cross_compiling:$ac_tool_warned in
16918 yes:)
16919 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16920 whose name does not start with the host triplet. If you think this
16921 configuration is useful to you, please write to autoconf@gnu.org." >&5
16922 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16923 whose name does not start with the host triplet. If you think this
16924 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16925 ac_tool_warned=yes ;;
16926 esac
16927 DLLTOOL=$ac_ct_DLLTOOL
16928 fi
16929 else
16930 DLLTOOL="$ac_cv_prog_DLLTOOL"
16931 fi
16932
16933 ;;
16934 esac
16935 fi
16936
16937 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16938 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16939 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 else
16942
16943 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16944 $EGREP -s GNU > /dev/null); then
16945 wx_cv_prog_makeisgnu="yes"
16946 else
16947 wx_cv_prog_makeisgnu="no"
16948 fi
16949
16950 fi
16951 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16952 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16953
16954 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16955 IF_GNU_MAKE=""
16956 else
16957 IF_GNU_MAKE="#"
16958 fi
16959
16960
16961
16962 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16963 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16964 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16965 if test "${wx_cv_prog_makevpath+set}" = set; then
16966 echo $ECHO_N "(cached) $ECHO_C" >&6
16967 else
16968
16969 cat - << EOF > confMake
16970 check : file
16971 cp \$? \$@
16972 cp \$? final_file
16973 EOF
16974
16975 if test ! -d sub ; then
16976 mkdir sub
16977 fi
16978 echo dummy > sub/file
16979 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16980 RESULT=$?
16981 rm -f sub/file check final_file confMake
16982 rmdir sub
16983 if test "$RESULT" = 0; then
16984 wx_cv_prog_makevpath="yes"
16985 else
16986 wx_cv_prog_makevpath="no"
16987 fi
16988
16989 fi
16990 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16991 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16992
16993 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16994 { { echo "$as_me:$LINENO: error:
16995 You need a make-utility that is able to use the variable
16996 VPATH correctly.
16997 If your version of make does not support VPATH correctly,
16998 please install GNU-make (possibly as gmake), and start
16999 configure with the following command:
17000 export MAKE=gmake; ./configure for sh-type shells
17001 setenv MAKE gmake; ./configure for csh-type shells
17002 Also please do remember to use gmake in this case every time
17003 you are trying to compile.
17004 " >&5
17005 echo "$as_me: error:
17006 You need a make-utility that is able to use the variable
17007 VPATH correctly.
17008 If your version of make does not support VPATH correctly,
17009 please install GNU-make (possibly as gmake), and start
17010 configure with the following command:
17011 export MAKE=gmake; ./configure for sh-type shells
17012 setenv MAKE gmake; ./configure for csh-type shells
17013 Also please do remember to use gmake in this case every time
17014 you are trying to compile.
17015 " >&2;}
17016 { (exit 1); exit 1; }; }
17017 fi fi
17018 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17019 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17020 LN_S=$as_ln_s
17021 if test "$LN_S" = "ln -s"; then
17022 { echo "$as_me:$LINENO: result: yes" >&5
17023 echo "${ECHO_T}yes" >&6; }
17024 else
17025 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17026 echo "${ECHO_T}no, using $LN_S" >&6; }
17027 fi
17028
17029
17030
17031
17032 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17033 CXXFLAGS="-qunique $CXXFLAGS"
17034 fi
17035
17036 case "${host}" in
17037 powerpc-*-darwin* )
17038 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17039 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046
17047 int
17048 main ()
17049 {
17050 #ifndef __POWERPC__
17051 choke me for lack of PowerPC
17052 #endif
17053
17054 ;
17055 return 0;
17056 }
17057 _ACEOF
17058 rm -f conftest.$ac_objext
17059 if { (ac_try="$ac_compile"
17060 case "(($ac_try" in
17061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17062 *) ac_try_echo=$ac_try;;
17063 esac
17064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17065 (eval "$ac_compile") 2>conftest.er1
17066 ac_status=$?
17067 grep -v '^ *+' conftest.er1 >conftest.err
17068 rm -f conftest.er1
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } && {
17072 test -z "$ac_c_werror_flag" ||
17073 test ! -s conftest.err
17074 } && test -s conftest.$ac_objext; then
17075 { echo "$as_me:$LINENO: result: yes" >&5
17076 echo "${ECHO_T}yes" >&6; }
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17080
17081 { echo "$as_me:$LINENO: result: no" >&5
17082 echo "${ECHO_T}no" >&6; }
17083 cat >>confdefs.h <<\_ACEOF
17084 #define __POWERPC__ 1
17085 _ACEOF
17086
17087
17088 fi
17089
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091 ;;
17092 esac
17093
17094 case "${host}" in
17095 *-*-darwin* )
17096 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17097 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17098 cat >conftest.$ac_ext <<_ACEOF
17099 /* confdefs.h. */
17100 _ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 #include <CoreFoundation/CFBase.h>
17105
17106 int
17107 main ()
17108 {
17109
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 rm -f conftest.$ac_objext
17115 if { (ac_try="$ac_compile"
17116 case "(($ac_try" in
17117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17118 *) ac_try_echo=$ac_try;;
17119 esac
17120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17121 (eval "$ac_compile") 2>conftest.er1
17122 ac_status=$?
17123 grep -v '^ *+' conftest.er1 >conftest.err
17124 rm -f conftest.er1
17125 cat conftest.err >&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); } && {
17128 test -z "$ac_c_werror_flag" ||
17129 test ! -s conftest.err
17130 } && test -s conftest.$ac_objext; then
17131 { echo "$as_me:$LINENO: result: yes" >&5
17132 echo "${ECHO_T}yes" >&6; }
17133 else
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17136
17137 { echo "$as_me:$LINENO: result: no" >&5
17138 echo "${ECHO_T}no" >&6; }
17139 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17140 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17141 cat >conftest.$ac_ext <<_ACEOF
17142 /* confdefs.h. */
17143 _ACEOF
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17147 #define __CF_USE_FRAMEWORK_INCLUDES__
17148 #include <CoreFoundation/CFBase.h>
17149
17150 int
17151 main ()
17152 {
17153
17154 ;
17155 return 0;
17156 }
17157 _ACEOF
17158 rm -f conftest.$ac_objext
17159 if { (ac_try="$ac_compile"
17160 case "(($ac_try" in
17161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17162 *) ac_try_echo=$ac_try;;
17163 esac
17164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17165 (eval "$ac_compile") 2>conftest.er1
17166 ac_status=$?
17167 grep -v '^ *+' conftest.er1 >conftest.err
17168 rm -f conftest.er1
17169 cat conftest.err >&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } && {
17172 test -z "$ac_c_werror_flag" ||
17173 test ! -s conftest.err
17174 } && test -s conftest.$ac_objext; then
17175 { echo "$as_me:$LINENO: result: yes" >&5
17176 echo "${ECHO_T}yes" >&6; }
17177 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17178 else
17179 echo "$as_me: failed program was:" >&5
17180 sed 's/^/| /' conftest.$ac_ext >&5
17181
17182 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17183 See \`config.log' for more details." >&5
17184 echo "$as_me: error: no. CoreFoundation not available.
17185 See \`config.log' for more details." >&2;}
17186 { (exit 1); exit 1; }; }
17187
17188 fi
17189
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191
17192
17193 fi
17194
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17196 ;;
17197 esac
17198
17199 wants_win32=0
17200 doesnt_want_win32=0
17201 case "${host}" in
17202 *-*-cygwin*)
17203 if test "$wxUSE_MSW" = 1 ; then
17204 wants_win32=1
17205 else
17206 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17207 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17208 if test "${wx_cv_nocygwin+set}" = set; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17210 else
17211
17212 cat >conftest.$ac_ext <<_ACEOF
17213 /* confdefs.h. */
17214 _ACEOF
17215 cat confdefs.h >>conftest.$ac_ext
17216 cat >>conftest.$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17218
17219 int
17220 main ()
17221 {
17222
17223 #ifdef __MINGW32__
17224 choke me
17225 #endif
17226
17227 ;
17228 return 0;
17229 }
17230 _ACEOF
17231 rm -f conftest.$ac_objext
17232 if { (ac_try="$ac_compile"
17233 case "(($ac_try" in
17234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17235 *) ac_try_echo=$ac_try;;
17236 esac
17237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17238 (eval "$ac_compile") 2>conftest.er1
17239 ac_status=$?
17240 grep -v '^ *+' conftest.er1 >conftest.err
17241 rm -f conftest.er1
17242 cat conftest.err >&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); } && {
17245 test -z "$ac_c_werror_flag" ||
17246 test ! -s conftest.err
17247 } && test -s conftest.$ac_objext; then
17248 wx_cv_nocygwin=no
17249 else
17250 echo "$as_me: failed program was:" >&5
17251 sed 's/^/| /' conftest.$ac_ext >&5
17252
17253 wx_cv_nocygwin=yes
17254
17255 fi
17256
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17258
17259
17260 fi
17261 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17262 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17263
17264 if test "$wx_cv_nocygwin" = "yes"; then
17265 wants_win32=1
17266 else
17267 doesnt_want_win32=1
17268 fi
17269 fi
17270 if test "$wants_win32" = 1 ; then
17271 BAKEFILE_FORCE_PLATFORM=win32
17272 fi
17273 ;;
17274 *-*-mingw*)
17275 wants_win32=1
17276 ;;
17277 esac
17278
17279 if test "$wxUSE_WINE" = "yes"; then
17280 wants_win32=1
17281 LDFLAGS_GUI="-mwindows"
17282 fi
17283
17284 if test "$wants_win32" = 1 ; then
17285 USE_UNIX=0
17286 USE_WIN32=1
17287 cat >>confdefs.h <<\_ACEOF
17288 #define __WIN32__ 1
17289 _ACEOF
17290
17291 cat >>confdefs.h <<\_ACEOF
17292 #define __WIN95__ 1
17293 _ACEOF
17294
17295 cat >>confdefs.h <<\_ACEOF
17296 #define __WINDOWS__ 1
17297 _ACEOF
17298
17299 cat >>confdefs.h <<\_ACEOF
17300 #define __GNUWIN32__ 1
17301 _ACEOF
17302
17303 cat >>confdefs.h <<\_ACEOF
17304 #define STRICT 1
17305 _ACEOF
17306
17307 fi
17308 if test "$doesnt_want_win32" = 1 ; then
17309 USE_UNIX=1
17310 USE_WIN32=0
17311 fi
17312
17313 if test "$USE_UNIX" = 1 ; then
17314 wxUSE_UNIX=yes
17315 cat >>confdefs.h <<\_ACEOF
17316 #define __UNIX__ 1
17317 _ACEOF
17318
17319 fi
17320
17321 case "${host}" in
17322 *-pc-os2_emx | *-pc-os2-emx )
17323 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17324 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17325 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17326 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17328 else
17329 ac_check_lib_save_LIBS=$LIBS
17330 LIBS="-lcExt $LIBS"
17331 cat >conftest.$ac_ext <<_ACEOF
17332 /* confdefs.h. */
17333 _ACEOF
17334 cat confdefs.h >>conftest.$ac_ext
17335 cat >>conftest.$ac_ext <<_ACEOF
17336 /* end confdefs.h. */
17337
17338 /* Override any GCC internal prototype to avoid an error.
17339 Use char because int might match the return type of a GCC
17340 builtin and then its argument prototype would still apply. */
17341 #ifdef __cplusplus
17342 extern "C"
17343 #endif
17344 char drand48 ();
17345 int
17346 main ()
17347 {
17348 return drand48 ();
17349 ;
17350 return 0;
17351 }
17352 _ACEOF
17353 rm -f conftest.$ac_objext conftest$ac_exeext
17354 if { (ac_try="$ac_link"
17355 case "(($ac_try" in
17356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357 *) ac_try_echo=$ac_try;;
17358 esac
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_link") 2>conftest.er1
17361 ac_status=$?
17362 grep -v '^ *+' conftest.er1 >conftest.err
17363 rm -f conftest.er1
17364 cat conftest.err >&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17369 } && test -s conftest$ac_exeext &&
17370 $as_test_x conftest$ac_exeext; then
17371 ac_cv_lib_cExt_drand48=yes
17372 else
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17375
17376 ac_cv_lib_cExt_drand48=no
17377 fi
17378
17379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17380 conftest$ac_exeext conftest.$ac_ext
17381 LIBS=$ac_check_lib_save_LIBS
17382 fi
17383 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17384 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17385 if test $ac_cv_lib_cExt_drand48 = yes; then
17386 LIBS="$LIBS -lcExt"
17387 fi
17388
17389 else
17390 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17391 fi
17392 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17393 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17394 if test "${wx_cv_gccversion+set}" = set; then
17395 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 else
17397
17398 if test "$cross_compiling" = yes; then
17399 wx_cv_gccversion="EMX2"
17400
17401 else
17402 cat >conftest.$ac_ext <<_ACEOF
17403 /* confdefs.h. */
17404 _ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408
17409 #include <stdio.h>
17410
17411 int main()
17412 {
17413 FILE *f=fopen("conftestval", "w");
17414 if (!f) exit(1);
17415 fprintf(f,
17416 #if (__GNUC__ < 3)
17417 "EMX2"
17418 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17419 "EMX3"
17420 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17421 "Innotek5"
17422 #else
17423 "Innotek6"
17424 #endif
17425 );
17426 exit(0);
17427 }
17428
17429 _ACEOF
17430 rm -f conftest$ac_exeext
17431 if { (ac_try="$ac_link"
17432 case "(($ac_try" in
17433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17434 *) ac_try_echo=$ac_try;;
17435 esac
17436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17437 (eval "$ac_link") 2>&5
17438 ac_status=$?
17439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17440 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17441 { (case "(($ac_try" in
17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17443 *) ac_try_echo=$ac_try;;
17444 esac
17445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17446 (eval "$ac_try") 2>&5
17447 ac_status=$?
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 wx_cv_gccversion=`cat conftestval`
17451 else
17452 echo "$as_me: program exited with status $ac_status" >&5
17453 echo "$as_me: failed program was:" >&5
17454 sed 's/^/| /' conftest.$ac_ext >&5
17455
17456 ( exit $ac_status )
17457 wx_cv_gccversion="EMX2"
17458 fi
17459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17460 fi
17461
17462
17463
17464 fi
17465 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17466 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17467 if test "$wx_cv_gccversion" = "EMX2"; then
17468 LIBS="$LIBS -lstdcpp"
17469 LDFLAGS="$LDFLAGS -Zsysv-signals"
17470 else
17471 if test "$wx_cv_gccversion" = "EMX3"; then
17472 LIBS="$LIBS -lstdcxx -lgcc"
17473 LDFLAGS="$LDFLAGS -Zsysv-signals"
17474 else
17475 LIBS="$LIBS -lstdc++"
17476 fi
17477 fi
17478 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17479 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17480 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17481 wxUSE_OMF=yes
17482 enable_omf=yes
17483 fi
17484 ;;
17485 *)
17486
17487 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17488 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17489 if test "${ac_cv_string_strcasecmp+set}" = set; then
17490 echo $ECHO_N "(cached) $ECHO_C" >&6
17491 else
17492
17493 cat >conftest.$ac_ext <<_ACEOF
17494 /* confdefs.h. */
17495 _ACEOF
17496 cat confdefs.h >>conftest.$ac_ext
17497 cat >>conftest.$ac_ext <<_ACEOF
17498 /* end confdefs.h. */
17499
17500 #include <string.h>
17501
17502 int
17503 main ()
17504 {
17505
17506 strcasecmp("foo", "bar");
17507
17508 ;
17509 return 0;
17510 }
17511 _ACEOF
17512 rm -f conftest.$ac_objext conftest$ac_exeext
17513 if { (ac_try="$ac_link"
17514 case "(($ac_try" in
17515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17516 *) ac_try_echo=$ac_try;;
17517 esac
17518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17519 (eval "$ac_link") 2>conftest.er1
17520 ac_status=$?
17521 grep -v '^ *+' conftest.er1 >conftest.err
17522 rm -f conftest.er1
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && {
17526 test -z "$ac_c_werror_flag" ||
17527 test ! -s conftest.err
17528 } && test -s conftest$ac_exeext &&
17529 $as_test_x conftest$ac_exeext; then
17530 ac_cv_string_strcasecmp=yes
17531 else
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17534
17535 ac_cv_string_strcasecmp=no
17536
17537 fi
17538
17539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17540 conftest$ac_exeext conftest.$ac_ext
17541
17542 fi
17543 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17544 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17545
17546 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17547 cat >>confdefs.h <<\_ACEOF
17548 #define HAVE_STRCASECMP_IN_STRING_H 1
17549 _ACEOF
17550
17551 else
17552 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17553 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17554 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17555 echo $ECHO_N "(cached) $ECHO_C" >&6
17556 else
17557
17558 cat >conftest.$ac_ext <<_ACEOF
17559 /* confdefs.h. */
17560 _ACEOF
17561 cat confdefs.h >>conftest.$ac_ext
17562 cat >>conftest.$ac_ext <<_ACEOF
17563 /* end confdefs.h. */
17564
17565 #include <strings.h>
17566
17567 int
17568 main ()
17569 {
17570
17571 strcasecmp("foo", "bar");
17572
17573 ;
17574 return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext conftest$ac_exeext
17578 if { (ac_try="$ac_link"
17579 case "(($ac_try" in
17580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17581 *) ac_try_echo=$ac_try;;
17582 esac
17583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17584 (eval "$ac_link") 2>conftest.er1
17585 ac_status=$?
17586 grep -v '^ *+' conftest.er1 >conftest.err
17587 rm -f conftest.er1
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); } && {
17591 test -z "$ac_c_werror_flag" ||
17592 test ! -s conftest.err
17593 } && test -s conftest$ac_exeext &&
17594 $as_test_x conftest$ac_exeext; then
17595 ac_cv_strings_strcasecmp=yes
17596 else
17597 echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.$ac_ext >&5
17599
17600 ac_cv_strings_strcasecmp=no
17601
17602 fi
17603
17604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17605 conftest$ac_exeext conftest.$ac_ext
17606
17607 fi
17608 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17609 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17610
17611 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17612 cat >>confdefs.h <<\_ACEOF
17613 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17614 _ACEOF
17615
17616 else
17617 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17618 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17619 { (exit 1); exit 1; }; }
17620 fi
17621 fi
17622
17623 ;;
17624 esac
17625
17626
17627 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17628 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17629 if test "${ac_cv_header_stdc+set}" = set; then
17630 echo $ECHO_N "(cached) $ECHO_C" >&6
17631 else
17632 cat >conftest.$ac_ext <<_ACEOF
17633 /* confdefs.h. */
17634 _ACEOF
17635 cat confdefs.h >>conftest.$ac_ext
17636 cat >>conftest.$ac_ext <<_ACEOF
17637 /* end confdefs.h. */
17638 #include <stdlib.h>
17639 #include <stdarg.h>
17640 #include <string.h>
17641 #include <float.h>
17642
17643 int
17644 main ()
17645 {
17646
17647 ;
17648 return 0;
17649 }
17650 _ACEOF
17651 rm -f conftest.$ac_objext
17652 if { (ac_try="$ac_compile"
17653 case "(($ac_try" in
17654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17655 *) ac_try_echo=$ac_try;;
17656 esac
17657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17658 (eval "$ac_compile") 2>conftest.er1
17659 ac_status=$?
17660 grep -v '^ *+' conftest.er1 >conftest.err
17661 rm -f conftest.er1
17662 cat conftest.err >&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); } && {
17665 test -z "$ac_c_werror_flag" ||
17666 test ! -s conftest.err
17667 } && test -s conftest.$ac_objext; then
17668 ac_cv_header_stdc=yes
17669 else
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17672
17673 ac_cv_header_stdc=no
17674 fi
17675
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677
17678 if test $ac_cv_header_stdc = yes; then
17679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17680 cat >conftest.$ac_ext <<_ACEOF
17681 /* confdefs.h. */
17682 _ACEOF
17683 cat confdefs.h >>conftest.$ac_ext
17684 cat >>conftest.$ac_ext <<_ACEOF
17685 /* end confdefs.h. */
17686 #include <string.h>
17687
17688 _ACEOF
17689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17690 $EGREP "memchr" >/dev/null 2>&1; then
17691 :
17692 else
17693 ac_cv_header_stdc=no
17694 fi
17695 rm -f conftest*
17696
17697 fi
17698
17699 if test $ac_cv_header_stdc = yes; then
17700 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17701 cat >conftest.$ac_ext <<_ACEOF
17702 /* confdefs.h. */
17703 _ACEOF
17704 cat confdefs.h >>conftest.$ac_ext
17705 cat >>conftest.$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 #include <stdlib.h>
17708
17709 _ACEOF
17710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17711 $EGREP "free" >/dev/null 2>&1; then
17712 :
17713 else
17714 ac_cv_header_stdc=no
17715 fi
17716 rm -f conftest*
17717
17718 fi
17719
17720 if test $ac_cv_header_stdc = yes; then
17721 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17722 if test "$cross_compiling" = yes; then
17723 :
17724 else
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731 #include <ctype.h>
17732 #include <stdlib.h>
17733 #if ((' ' & 0x0FF) == 0x020)
17734 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17735 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17736 #else
17737 # define ISLOWER(c) \
17738 (('a' <= (c) && (c) <= 'i') \
17739 || ('j' <= (c) && (c) <= 'r') \
17740 || ('s' <= (c) && (c) <= 'z'))
17741 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17742 #endif
17743
17744 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17745 int
17746 main ()
17747 {
17748 int i;
17749 for (i = 0; i < 256; i++)
17750 if (XOR (islower (i), ISLOWER (i))
17751 || toupper (i) != TOUPPER (i))
17752 return 2;
17753 return 0;
17754 }
17755 _ACEOF
17756 rm -f conftest$ac_exeext
17757 if { (ac_try="$ac_link"
17758 case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17761 esac
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_link") 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17767 { (case "(($ac_try" in
17768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17769 *) ac_try_echo=$ac_try;;
17770 esac
17771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17772 (eval "$ac_try") 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17776 :
17777 else
17778 echo "$as_me: program exited with status $ac_status" >&5
17779 echo "$as_me: failed program was:" >&5
17780 sed 's/^/| /' conftest.$ac_ext >&5
17781
17782 ( exit $ac_status )
17783 ac_cv_header_stdc=no
17784 fi
17785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17786 fi
17787
17788
17789 fi
17790 fi
17791 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17792 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17793 if test $ac_cv_header_stdc = yes; then
17794
17795 cat >>confdefs.h <<\_ACEOF
17796 #define STDC_HEADERS 1
17797 _ACEOF
17798
17799 fi
17800
17801 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17812 inttypes.h stdint.h unistd.h
17813 do
17814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17815 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17817 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17819 else
17820 cat >conftest.$ac_ext <<_ACEOF
17821 /* confdefs.h. */
17822 _ACEOF
17823 cat confdefs.h >>conftest.$ac_ext
17824 cat >>conftest.$ac_ext <<_ACEOF
17825 /* end confdefs.h. */
17826 $ac_includes_default
17827
17828 #include <$ac_header>
17829 _ACEOF
17830 rm -f conftest.$ac_objext
17831 if { (ac_try="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17834 *) ac_try_echo=$ac_try;;
17835 esac
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17838 ac_status=$?
17839 grep -v '^ *+' conftest.er1 >conftest.err
17840 rm -f conftest.er1
17841 cat conftest.err >&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.$ac_objext; then
17847 eval "$as_ac_Header=yes"
17848 else
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17851
17852 eval "$as_ac_Header=no"
17853 fi
17854
17855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17856 fi
17857 ac_res=`eval echo '${'$as_ac_Header'}'`
17858 { echo "$as_me:$LINENO: result: $ac_res" >&5
17859 echo "${ECHO_T}$ac_res" >&6; }
17860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17861 cat >>confdefs.h <<_ACEOF
17862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17863 _ACEOF
17864
17865 fi
17866
17867 done
17868
17869
17870
17871
17872
17873
17874
17875
17876 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17877 do
17878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17879 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17881 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17882 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 else
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 $ac_includes_default
17891
17892 #include <$ac_header>
17893 _ACEOF
17894 rm -f conftest.$ac_objext
17895 if { (ac_try="$ac_compile"
17896 case "(($ac_try" in
17897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17898 *) ac_try_echo=$ac_try;;
17899 esac
17900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17901 (eval "$ac_compile") 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } && {
17908 test -z "$ac_c_werror_flag" ||
17909 test ! -s conftest.err
17910 } && test -s conftest.$ac_objext; then
17911 eval "$as_ac_Header=yes"
17912 else
17913 echo "$as_me: failed program was:" >&5
17914 sed 's/^/| /' conftest.$ac_ext >&5
17915
17916 eval "$as_ac_Header=no"
17917 fi
17918
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920 fi
17921 ac_res=`eval echo '${'$as_ac_Header'}'`
17922 { echo "$as_me:$LINENO: result: $ac_res" >&5
17923 echo "${ECHO_T}$ac_res" >&6; }
17924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17925 cat >>confdefs.h <<_ACEOF
17926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17927 _ACEOF
17928
17929 fi
17930
17931 done
17932
17933
17934 if test "$ac_cv_header_wchar_h" != "yes"; then
17935 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17936 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17937 if test "${ac_cv_header_wcstr_h+set}" = set; then
17938 echo $ECHO_N "(cached) $ECHO_C" >&6
17939 else
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h. */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 $ac_includes_default
17947
17948 #include <wcstr.h>
17949 _ACEOF
17950 rm -f conftest.$ac_objext
17951 if { (ac_try="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17955 esac
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_c_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.$ac_objext; then
17967 ac_cv_header_wcstr_h=yes
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17971
17972 ac_cv_header_wcstr_h=no
17973 fi
17974
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17976 fi
17977 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17978 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17979
17980
17981 fi
17982
17983 case "${host}" in
17984 *-pc-os2_emx | *-pc-os2-emx )
17985 if test $ac_cv_header_langinfo_h = "yes" \
17986 -a \( "$wx_cv_gccversion" = "EMX2" \
17987 -o "$wx_cv_gccversion" = "EMX3" \
17988 -o "$wx_cv_gccversion" = "Innotek5" \); then
17989 LIBS="$LIBS -lintl"
17990 fi
17991 ;;
17992 esac
17993
17994 if test "$USE_UNIX" = 1 ; then
17995 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17996 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17997 if test "${ac_cv_header_sys_select_h+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
17999 else
18000 cat >conftest.$ac_ext <<_ACEOF
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 $ac_includes_default
18007
18008 #include <sys/select.h>
18009 _ACEOF
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;;
18015 esac
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18018 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then
18027 ac_cv_header_sys_select_h=yes
18028 else
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18031
18032 ac_cv_header_sys_select_h=no
18033 fi
18034
18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036 fi
18037 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18038 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18039
18040
18041 fi
18042
18043
18044 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18045 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18046 if test "${ac_cv_c_const+set}" = set; then
18047 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 else
18049 cat >conftest.$ac_ext <<_ACEOF
18050 /* confdefs.h. */
18051 _ACEOF
18052 cat confdefs.h >>conftest.$ac_ext
18053 cat >>conftest.$ac_ext <<_ACEOF
18054 /* end confdefs.h. */
18055
18056 int
18057 main ()
18058 {
18059 /* FIXME: Include the comments suggested by Paul. */
18060 #ifndef __cplusplus
18061 /* Ultrix mips cc rejects this. */
18062 typedef int charset[2];
18063 const charset cs;
18064 /* SunOS 4.1.1 cc rejects this. */
18065 char const *const *pcpcc;
18066 char **ppc;
18067 /* NEC SVR4.0.2 mips cc rejects this. */
18068 struct point {int x, y;};
18069 static struct point const zero = {0,0};
18070 /* AIX XL C 1.02.0.0 rejects this.
18071 It does not let you subtract one const X* pointer from another in
18072 an arm of an if-expression whose if-part is not a constant
18073 expression */
18074 const char *g = "string";
18075 pcpcc = &g + (g ? g-g : 0);
18076 /* HPUX 7.0 cc rejects these. */
18077 ++pcpcc;
18078 ppc = (char**) pcpcc;
18079 pcpcc = (char const *const *) ppc;
18080 { /* SCO 3.2v4 cc rejects this. */
18081 char *t;
18082 char const *s = 0 ? (char *) 0 : (char const *) 0;
18083
18084 *t++ = 0;
18085 if (s) return 0;
18086 }
18087 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18088 int x[] = {25, 17};
18089 const int *foo = &x[0];
18090 ++foo;
18091 }
18092 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18093 typedef const int *iptr;
18094 iptr p = 0;
18095 ++p;
18096 }
18097 { /* AIX XL C 1.02.0.0 rejects this saying
18098 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18099 struct s { int j; const int *ap[3]; };
18100 struct s *b; b->j = 5;
18101 }
18102 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18103 const int foo = 10;
18104 if (!foo) return 0;
18105 }
18106 return !cs[0] && !zero.x;
18107 #endif
18108
18109 ;
18110 return 0;
18111 }
18112 _ACEOF
18113 rm -f conftest.$ac_objext
18114 if { (ac_try="$ac_compile"
18115 case "(($ac_try" in
18116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18117 *) ac_try_echo=$ac_try;;
18118 esac
18119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18120 (eval "$ac_compile") 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } && {
18127 test -z "$ac_c_werror_flag" ||
18128 test ! -s conftest.err
18129 } && test -s conftest.$ac_objext; then
18130 ac_cv_c_const=yes
18131 else
18132 echo "$as_me: failed program was:" >&5
18133 sed 's/^/| /' conftest.$ac_ext >&5
18134
18135 ac_cv_c_const=no
18136 fi
18137
18138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18139 fi
18140 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18141 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18142 if test $ac_cv_c_const = no; then
18143
18144 cat >>confdefs.h <<\_ACEOF
18145 #define const
18146 _ACEOF
18147
18148 fi
18149
18150 { echo "$as_me:$LINENO: checking for inline" >&5
18151 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18152 if test "${ac_cv_c_inline+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 else
18155 ac_cv_c_inline=no
18156 for ac_kw in inline __inline__ __inline; do
18157 cat >conftest.$ac_ext <<_ACEOF
18158 /* confdefs.h. */
18159 _ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #ifndef __cplusplus
18164 typedef int foo_t;
18165 static $ac_kw foo_t static_foo () {return 0; }
18166 $ac_kw foo_t foo () {return 0; }
18167 #endif
18168
18169 _ACEOF
18170 rm -f conftest.$ac_objext
18171 if { (ac_try="$ac_compile"
18172 case "(($ac_try" in
18173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18174 *) ac_try_echo=$ac_try;;
18175 esac
18176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18177 (eval "$ac_compile") 2>conftest.er1
18178 ac_status=$?
18179 grep -v '^ *+' conftest.er1 >conftest.err
18180 rm -f conftest.er1
18181 cat conftest.err >&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); } && {
18184 test -z "$ac_c_werror_flag" ||
18185 test ! -s conftest.err
18186 } && test -s conftest.$ac_objext; then
18187 ac_cv_c_inline=$ac_kw
18188 else
18189 echo "$as_me: failed program was:" >&5
18190 sed 's/^/| /' conftest.$ac_ext >&5
18191
18192
18193 fi
18194
18195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18196 test "$ac_cv_c_inline" != no && break
18197 done
18198
18199 fi
18200 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18201 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18202
18203
18204 case $ac_cv_c_inline in
18205 inline | yes) ;;
18206 *)
18207 case $ac_cv_c_inline in
18208 no) ac_val=;;
18209 *) ac_val=$ac_cv_c_inline;;
18210 esac
18211 cat >>confdefs.h <<_ACEOF
18212 #ifndef __cplusplus
18213 #define inline $ac_val
18214 #endif
18215 _ACEOF
18216 ;;
18217 esac
18218
18219
18220 { echo "$as_me:$LINENO: checking for short" >&5
18221 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18222 if test "${ac_cv_type_short+set}" = set; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 else
18225 cat >conftest.$ac_ext <<_ACEOF
18226 /* confdefs.h. */
18227 _ACEOF
18228 cat confdefs.h >>conftest.$ac_ext
18229 cat >>conftest.$ac_ext <<_ACEOF
18230 /* end confdefs.h. */
18231 $ac_includes_default
18232 typedef short ac__type_new_;
18233 int
18234 main ()
18235 {
18236 if ((ac__type_new_ *) 0)
18237 return 0;
18238 if (sizeof (ac__type_new_))
18239 return 0;
18240 ;
18241 return 0;
18242 }
18243 _ACEOF
18244 rm -f conftest.$ac_objext
18245 if { (ac_try="$ac_compile"
18246 case "(($ac_try" in
18247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18248 *) ac_try_echo=$ac_try;;
18249 esac
18250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18251 (eval "$ac_compile") 2>conftest.er1
18252 ac_status=$?
18253 grep -v '^ *+' conftest.er1 >conftest.err
18254 rm -f conftest.er1
18255 cat conftest.err >&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); } && {
18258 test -z "$ac_c_werror_flag" ||
18259 test ! -s conftest.err
18260 } && test -s conftest.$ac_objext; then
18261 ac_cv_type_short=yes
18262 else
18263 echo "$as_me: failed program was:" >&5
18264 sed 's/^/| /' conftest.$ac_ext >&5
18265
18266 ac_cv_type_short=no
18267 fi
18268
18269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18270 fi
18271 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18272 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18273
18274 # The cast to long int works around a bug in the HP C Compiler
18275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18277 # This bug is HP SR number 8606223364.
18278 { echo "$as_me:$LINENO: checking size of short" >&5
18279 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18280 if test "${ac_cv_sizeof_short+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 else
18283 if test "$cross_compiling" = yes; then
18284 # Depending upon the size, compute the lo and hi bounds.
18285 cat >conftest.$ac_ext <<_ACEOF
18286 /* confdefs.h. */
18287 _ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 $ac_includes_default
18292 typedef short ac__type_sizeof_;
18293 int
18294 main ()
18295 {
18296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18297 test_array [0] = 0
18298
18299 ;
18300 return 0;
18301 }
18302 _ACEOF
18303 rm -f conftest.$ac_objext
18304 if { (ac_try="$ac_compile"
18305 case "(($ac_try" in
18306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18307 *) ac_try_echo=$ac_try;;
18308 esac
18309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18310 (eval "$ac_compile") 2>conftest.er1
18311 ac_status=$?
18312 grep -v '^ *+' conftest.er1 >conftest.err
18313 rm -f conftest.er1
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } && {
18317 test -z "$ac_c_werror_flag" ||
18318 test ! -s conftest.err
18319 } && test -s conftest.$ac_objext; then
18320 ac_lo=0 ac_mid=0
18321 while :; do
18322 cat >conftest.$ac_ext <<_ACEOF
18323 /* confdefs.h. */
18324 _ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328 $ac_includes_default
18329 typedef short ac__type_sizeof_;
18330 int
18331 main ()
18332 {
18333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18334 test_array [0] = 0
18335
18336 ;
18337 return 0;
18338 }
18339 _ACEOF
18340 rm -f conftest.$ac_objext
18341 if { (ac_try="$ac_compile"
18342 case "(($ac_try" in
18343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18344 *) ac_try_echo=$ac_try;;
18345 esac
18346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18347 (eval "$ac_compile") 2>conftest.er1
18348 ac_status=$?
18349 grep -v '^ *+' conftest.er1 >conftest.err
18350 rm -f conftest.er1
18351 cat conftest.err >&5
18352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18353 (exit $ac_status); } && {
18354 test -z "$ac_c_werror_flag" ||
18355 test ! -s conftest.err
18356 } && test -s conftest.$ac_objext; then
18357 ac_hi=$ac_mid; break
18358 else
18359 echo "$as_me: failed program was:" >&5
18360 sed 's/^/| /' conftest.$ac_ext >&5
18361
18362 ac_lo=`expr $ac_mid + 1`
18363 if test $ac_lo -le $ac_mid; then
18364 ac_lo= ac_hi=
18365 break
18366 fi
18367 ac_mid=`expr 2 '*' $ac_mid + 1`
18368 fi
18369
18370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 done
18372 else
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.$ac_ext >&5
18375
18376 cat >conftest.$ac_ext <<_ACEOF
18377 /* confdefs.h. */
18378 _ACEOF
18379 cat confdefs.h >>conftest.$ac_ext
18380 cat >>conftest.$ac_ext <<_ACEOF
18381 /* end confdefs.h. */
18382 $ac_includes_default
18383 typedef short ac__type_sizeof_;
18384 int
18385 main ()
18386 {
18387 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18388 test_array [0] = 0
18389
18390 ;
18391 return 0;
18392 }
18393 _ACEOF
18394 rm -f conftest.$ac_objext
18395 if { (ac_try="$ac_compile"
18396 case "(($ac_try" in
18397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18398 *) ac_try_echo=$ac_try;;
18399 esac
18400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18401 (eval "$ac_compile") 2>conftest.er1
18402 ac_status=$?
18403 grep -v '^ *+' conftest.er1 >conftest.err
18404 rm -f conftest.er1
18405 cat conftest.err >&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); } && {
18408 test -z "$ac_c_werror_flag" ||
18409 test ! -s conftest.err
18410 } && test -s conftest.$ac_objext; then
18411 ac_hi=-1 ac_mid=-1
18412 while :; do
18413 cat >conftest.$ac_ext <<_ACEOF
18414 /* confdefs.h. */
18415 _ACEOF
18416 cat confdefs.h >>conftest.$ac_ext
18417 cat >>conftest.$ac_ext <<_ACEOF
18418 /* end confdefs.h. */
18419 $ac_includes_default
18420 typedef short ac__type_sizeof_;
18421 int
18422 main ()
18423 {
18424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18425 test_array [0] = 0
18426
18427 ;
18428 return 0;
18429 }
18430 _ACEOF
18431 rm -f conftest.$ac_objext
18432 if { (ac_try="$ac_compile"
18433 case "(($ac_try" in
18434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18435 *) ac_try_echo=$ac_try;;
18436 esac
18437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18438 (eval "$ac_compile") 2>conftest.er1
18439 ac_status=$?
18440 grep -v '^ *+' conftest.er1 >conftest.err
18441 rm -f conftest.er1
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } && {
18445 test -z "$ac_c_werror_flag" ||
18446 test ! -s conftest.err
18447 } && test -s conftest.$ac_objext; then
18448 ac_lo=$ac_mid; break
18449 else
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18452
18453 ac_hi=`expr '(' $ac_mid ')' - 1`
18454 if test $ac_mid -le $ac_hi; then
18455 ac_lo= ac_hi=
18456 break
18457 fi
18458 ac_mid=`expr 2 '*' $ac_mid`
18459 fi
18460
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462 done
18463 else
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18466
18467 ac_lo= ac_hi=
18468 fi
18469
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 fi
18472
18473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 # Binary search between lo and hi bounds.
18475 while test "x$ac_lo" != "x$ac_hi"; do
18476 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18477 cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h. */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 $ac_includes_default
18484 typedef short ac__type_sizeof_;
18485 int
18486 main ()
18487 {
18488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18489 test_array [0] = 0
18490
18491 ;
18492 return 0;
18493 }
18494 _ACEOF
18495 rm -f conftest.$ac_objext
18496 if { (ac_try="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18500 esac
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18503 ac_status=$?
18504 grep -v '^ *+' conftest.er1 >conftest.err
18505 rm -f conftest.er1
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.$ac_objext; then
18512 ac_hi=$ac_mid
18513 else
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.$ac_ext >&5
18516
18517 ac_lo=`expr '(' $ac_mid ')' + 1`
18518 fi
18519
18520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18521 done
18522 case $ac_lo in
18523 ?*) ac_cv_sizeof_short=$ac_lo;;
18524 '') if test "$ac_cv_type_short" = yes; then
18525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18526 See \`config.log' for more details." >&5
18527 echo "$as_me: error: cannot compute sizeof (short)
18528 See \`config.log' for more details." >&2;}
18529 { (exit 77); exit 77; }; }
18530 else
18531 ac_cv_sizeof_short=0
18532 fi ;;
18533 esac
18534 else
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18542 typedef short ac__type_sizeof_;
18543 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18544 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18545 #include <stdio.h>
18546 #include <stdlib.h>
18547 int
18548 main ()
18549 {
18550
18551 FILE *f = fopen ("conftest.val", "w");
18552 if (! f)
18553 return 1;
18554 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18555 {
18556 long int i = longval ();
18557 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18558 return 1;
18559 fprintf (f, "%ld\n", i);
18560 }
18561 else
18562 {
18563 unsigned long int i = ulongval ();
18564 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18565 return 1;
18566 fprintf (f, "%lu\n", i);
18567 }
18568 return ferror (f) || fclose (f) != 0;
18569
18570 ;
18571 return 0;
18572 }
18573 _ACEOF
18574 rm -f conftest$ac_exeext
18575 if { (ac_try="$ac_link"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18579 esac
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_link") 2>&5
18582 ac_status=$?
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18585 { (case "(($ac_try" in
18586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18587 *) ac_try_echo=$ac_try;;
18588 esac
18589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18590 (eval "$ac_try") 2>&5
18591 ac_status=$?
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); }; }; then
18594 ac_cv_sizeof_short=`cat conftest.val`
18595 else
18596 echo "$as_me: program exited with status $ac_status" >&5
18597 echo "$as_me: failed program was:" >&5
18598 sed 's/^/| /' conftest.$ac_ext >&5
18599
18600 ( exit $ac_status )
18601 if test "$ac_cv_type_short" = yes; then
18602 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18603 See \`config.log' for more details." >&5
18604 echo "$as_me: error: cannot compute sizeof (short)
18605 See \`config.log' for more details." >&2;}
18606 { (exit 77); exit 77; }; }
18607 else
18608 ac_cv_sizeof_short=0
18609 fi
18610 fi
18611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18612 fi
18613 rm -f conftest.val
18614 fi
18615 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18616 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18617
18618
18619
18620 cat >>confdefs.h <<_ACEOF
18621 #define SIZEOF_SHORT $ac_cv_sizeof_short
18622 _ACEOF
18623
18624
18625 { echo "$as_me:$LINENO: checking for void *" >&5
18626 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18627 if test "${ac_cv_type_void_p+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 else
18630 cat >conftest.$ac_ext <<_ACEOF
18631 /* confdefs.h. */
18632 _ACEOF
18633 cat confdefs.h >>conftest.$ac_ext
18634 cat >>conftest.$ac_ext <<_ACEOF
18635 /* end confdefs.h. */
18636 $ac_includes_default
18637 typedef void * ac__type_new_;
18638 int
18639 main ()
18640 {
18641 if ((ac__type_new_ *) 0)
18642 return 0;
18643 if (sizeof (ac__type_new_))
18644 return 0;
18645 ;
18646 return 0;
18647 }
18648 _ACEOF
18649 rm -f conftest.$ac_objext
18650 if { (ac_try="$ac_compile"
18651 case "(($ac_try" in
18652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18653 *) ac_try_echo=$ac_try;;
18654 esac
18655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18656 (eval "$ac_compile") 2>conftest.er1
18657 ac_status=$?
18658 grep -v '^ *+' conftest.er1 >conftest.err
18659 rm -f conftest.er1
18660 cat conftest.err >&5
18661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18662 (exit $ac_status); } && {
18663 test -z "$ac_c_werror_flag" ||
18664 test ! -s conftest.err
18665 } && test -s conftest.$ac_objext; then
18666 ac_cv_type_void_p=yes
18667 else
18668 echo "$as_me: failed program was:" >&5
18669 sed 's/^/| /' conftest.$ac_ext >&5
18670
18671 ac_cv_type_void_p=no
18672 fi
18673
18674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 fi
18676 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18677 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18678
18679 # The cast to long int works around a bug in the HP C Compiler
18680 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18681 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18682 # This bug is HP SR number 8606223364.
18683 { echo "$as_me:$LINENO: checking size of void *" >&5
18684 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18685 if test "${ac_cv_sizeof_void_p+set}" = set; then
18686 echo $ECHO_N "(cached) $ECHO_C" >&6
18687 else
18688 if test "$cross_compiling" = yes; then
18689 # Depending upon the size, compute the lo and hi bounds.
18690 cat >conftest.$ac_ext <<_ACEOF
18691 /* confdefs.h. */
18692 _ACEOF
18693 cat confdefs.h >>conftest.$ac_ext
18694 cat >>conftest.$ac_ext <<_ACEOF
18695 /* end confdefs.h. */
18696 $ac_includes_default
18697 typedef void * ac__type_sizeof_;
18698 int
18699 main ()
18700 {
18701 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18702 test_array [0] = 0
18703
18704 ;
18705 return 0;
18706 }
18707 _ACEOF
18708 rm -f conftest.$ac_objext
18709 if { (ac_try="$ac_compile"
18710 case "(($ac_try" in
18711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712 *) ac_try_echo=$ac_try;;
18713 esac
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_compile") 2>conftest.er1
18716 ac_status=$?
18717 grep -v '^ *+' conftest.er1 >conftest.err
18718 rm -f conftest.er1
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && {
18722 test -z "$ac_c_werror_flag" ||
18723 test ! -s conftest.err
18724 } && test -s conftest.$ac_objext; then
18725 ac_lo=0 ac_mid=0
18726 while :; do
18727 cat >conftest.$ac_ext <<_ACEOF
18728 /* confdefs.h. */
18729 _ACEOF
18730 cat confdefs.h >>conftest.$ac_ext
18731 cat >>conftest.$ac_ext <<_ACEOF
18732 /* end confdefs.h. */
18733 $ac_includes_default
18734 typedef void * ac__type_sizeof_;
18735 int
18736 main ()
18737 {
18738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18739 test_array [0] = 0
18740
18741 ;
18742 return 0;
18743 }
18744 _ACEOF
18745 rm -f conftest.$ac_objext
18746 if { (ac_try="$ac_compile"
18747 case "(($ac_try" in
18748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18749 *) ac_try_echo=$ac_try;;
18750 esac
18751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18752 (eval "$ac_compile") 2>conftest.er1
18753 ac_status=$?
18754 grep -v '^ *+' conftest.er1 >conftest.err
18755 rm -f conftest.er1
18756 cat conftest.err >&5
18757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758 (exit $ac_status); } && {
18759 test -z "$ac_c_werror_flag" ||
18760 test ! -s conftest.err
18761 } && test -s conftest.$ac_objext; then
18762 ac_hi=$ac_mid; break
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 ac_lo=`expr $ac_mid + 1`
18768 if test $ac_lo -le $ac_mid; then
18769 ac_lo= ac_hi=
18770 break
18771 fi
18772 ac_mid=`expr 2 '*' $ac_mid + 1`
18773 fi
18774
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18776 done
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18780
18781 cat >conftest.$ac_ext <<_ACEOF
18782 /* confdefs.h. */
18783 _ACEOF
18784 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18787 $ac_includes_default
18788 typedef void * ac__type_sizeof_;
18789 int
18790 main ()
18791 {
18792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18793 test_array [0] = 0
18794
18795 ;
18796 return 0;
18797 }
18798 _ACEOF
18799 rm -f conftest.$ac_objext
18800 if { (ac_try="$ac_compile"
18801 case "(($ac_try" in
18802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18803 *) ac_try_echo=$ac_try;;
18804 esac
18805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18806 (eval "$ac_compile") 2>conftest.er1
18807 ac_status=$?
18808 grep -v '^ *+' conftest.er1 >conftest.err
18809 rm -f conftest.er1
18810 cat conftest.err >&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } && {
18813 test -z "$ac_c_werror_flag" ||
18814 test ! -s conftest.err
18815 } && test -s conftest.$ac_objext; then
18816 ac_hi=-1 ac_mid=-1
18817 while :; do
18818 cat >conftest.$ac_ext <<_ACEOF
18819 /* confdefs.h. */
18820 _ACEOF
18821 cat confdefs.h >>conftest.$ac_ext
18822 cat >>conftest.$ac_ext <<_ACEOF
18823 /* end confdefs.h. */
18824 $ac_includes_default
18825 typedef void * ac__type_sizeof_;
18826 int
18827 main ()
18828 {
18829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18830 test_array [0] = 0
18831
18832 ;
18833 return 0;
18834 }
18835 _ACEOF
18836 rm -f conftest.$ac_objext
18837 if { (ac_try="$ac_compile"
18838 case "(($ac_try" in
18839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18840 *) ac_try_echo=$ac_try;;
18841 esac
18842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18843 (eval "$ac_compile") 2>conftest.er1
18844 ac_status=$?
18845 grep -v '^ *+' conftest.er1 >conftest.err
18846 rm -f conftest.er1
18847 cat conftest.err >&5
18848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18849 (exit $ac_status); } && {
18850 test -z "$ac_c_werror_flag" ||
18851 test ! -s conftest.err
18852 } && test -s conftest.$ac_objext; then
18853 ac_lo=$ac_mid; break
18854 else
18855 echo "$as_me: failed program was:" >&5
18856 sed 's/^/| /' conftest.$ac_ext >&5
18857
18858 ac_hi=`expr '(' $ac_mid ')' - 1`
18859 if test $ac_mid -le $ac_hi; then
18860 ac_lo= ac_hi=
18861 break
18862 fi
18863 ac_mid=`expr 2 '*' $ac_mid`
18864 fi
18865
18866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18867 done
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 ac_lo= ac_hi=
18873 fi
18874
18875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18876 fi
18877
18878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18879 # Binary search between lo and hi bounds.
18880 while test "x$ac_lo" != "x$ac_hi"; do
18881 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 typedef void * ac__type_sizeof_;
18890 int
18891 main ()
18892 {
18893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18894 test_array [0] = 0
18895
18896 ;
18897 return 0;
18898 }
18899 _ACEOF
18900 rm -f conftest.$ac_objext
18901 if { (ac_try="$ac_compile"
18902 case "(($ac_try" in
18903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18904 *) ac_try_echo=$ac_try;;
18905 esac
18906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18907 (eval "$ac_compile") 2>conftest.er1
18908 ac_status=$?
18909 grep -v '^ *+' conftest.er1 >conftest.err
18910 rm -f conftest.er1
18911 cat conftest.err >&5
18912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18913 (exit $ac_status); } && {
18914 test -z "$ac_c_werror_flag" ||
18915 test ! -s conftest.err
18916 } && test -s conftest.$ac_objext; then
18917 ac_hi=$ac_mid
18918 else
18919 echo "$as_me: failed program was:" >&5
18920 sed 's/^/| /' conftest.$ac_ext >&5
18921
18922 ac_lo=`expr '(' $ac_mid ')' + 1`
18923 fi
18924
18925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 done
18927 case $ac_lo in
18928 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18929 '') if test "$ac_cv_type_void_p" = yes; then
18930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18931 See \`config.log' for more details." >&5
18932 echo "$as_me: error: cannot compute sizeof (void *)
18933 See \`config.log' for more details." >&2;}
18934 { (exit 77); exit 77; }; }
18935 else
18936 ac_cv_sizeof_void_p=0
18937 fi ;;
18938 esac
18939 else
18940 cat >conftest.$ac_ext <<_ACEOF
18941 /* confdefs.h. */
18942 _ACEOF
18943 cat confdefs.h >>conftest.$ac_ext
18944 cat >>conftest.$ac_ext <<_ACEOF
18945 /* end confdefs.h. */
18946 $ac_includes_default
18947 typedef void * ac__type_sizeof_;
18948 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18949 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18950 #include <stdio.h>
18951 #include <stdlib.h>
18952 int
18953 main ()
18954 {
18955
18956 FILE *f = fopen ("conftest.val", "w");
18957 if (! f)
18958 return 1;
18959 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18960 {
18961 long int i = longval ();
18962 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18963 return 1;
18964 fprintf (f, "%ld\n", i);
18965 }
18966 else
18967 {
18968 unsigned long int i = ulongval ();
18969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18970 return 1;
18971 fprintf (f, "%lu\n", i);
18972 }
18973 return ferror (f) || fclose (f) != 0;
18974
18975 ;
18976 return 0;
18977 }
18978 _ACEOF
18979 rm -f conftest$ac_exeext
18980 if { (ac_try="$ac_link"
18981 case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18984 esac
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_link") 2>&5
18987 ac_status=$?
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18990 { (case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18993 esac
18994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_try") 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 ac_cv_sizeof_void_p=`cat conftest.val`
19000 else
19001 echo "$as_me: program exited with status $ac_status" >&5
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 ( exit $ac_status )
19006 if test "$ac_cv_type_void_p" = yes; then
19007 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19008 See \`config.log' for more details." >&5
19009 echo "$as_me: error: cannot compute sizeof (void *)
19010 See \`config.log' for more details." >&2;}
19011 { (exit 77); exit 77; }; }
19012 else
19013 ac_cv_sizeof_void_p=0
19014 fi
19015 fi
19016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19017 fi
19018 rm -f conftest.val
19019 fi
19020 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19021 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19022
19023
19024
19025 cat >>confdefs.h <<_ACEOF
19026 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19027 _ACEOF
19028
19029
19030 { echo "$as_me:$LINENO: checking for int" >&5
19031 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19032 if test "${ac_cv_type_int+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 $ac_includes_default
19042 typedef int ac__type_new_;
19043 int
19044 main ()
19045 {
19046 if ((ac__type_new_ *) 0)
19047 return 0;
19048 if (sizeof (ac__type_new_))
19049 return 0;
19050 ;
19051 return 0;
19052 }
19053 _ACEOF
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19059 esac
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19062 ac_status=$?
19063 grep -v '^ *+' conftest.er1 >conftest.err
19064 rm -f conftest.er1
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_c_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19071 ac_cv_type_int=yes
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 ac_cv_type_int=no
19077 fi
19078
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19080 fi
19081 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19082 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19083
19084 # The cast to long int works around a bug in the HP C Compiler
19085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19087 # This bug is HP SR number 8606223364.
19088 { echo "$as_me:$LINENO: checking size of int" >&5
19089 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19090 if test "${ac_cv_sizeof_int+set}" = set; then
19091 echo $ECHO_N "(cached) $ECHO_C" >&6
19092 else
19093 if test "$cross_compiling" = yes; then
19094 # Depending upon the size, compute the lo and hi bounds.
19095 cat >conftest.$ac_ext <<_ACEOF
19096 /* confdefs.h. */
19097 _ACEOF
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 $ac_includes_default
19102 typedef int ac__type_sizeof_;
19103 int
19104 main ()
19105 {
19106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19107 test_array [0] = 0
19108
19109 ;
19110 return 0;
19111 }
19112 _ACEOF
19113 rm -f conftest.$ac_objext
19114 if { (ac_try="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19118 esac
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19121 ac_status=$?
19122 grep -v '^ *+' conftest.er1 >conftest.err
19123 rm -f conftest.er1
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_c_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_lo=0 ac_mid=0
19131 while :; do
19132 cat >conftest.$ac_ext <<_ACEOF
19133 /* confdefs.h. */
19134 _ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h. */
19138 $ac_includes_default
19139 typedef int ac__type_sizeof_;
19140 int
19141 main ()
19142 {
19143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19144 test_array [0] = 0
19145
19146 ;
19147 return 0;
19148 }
19149 _ACEOF
19150 rm -f conftest.$ac_objext
19151 if { (ac_try="$ac_compile"
19152 case "(($ac_try" in
19153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19154 *) ac_try_echo=$ac_try;;
19155 esac
19156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19157 (eval "$ac_compile") 2>conftest.er1
19158 ac_status=$?
19159 grep -v '^ *+' conftest.er1 >conftest.err
19160 rm -f conftest.er1
19161 cat conftest.err >&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } && {
19164 test -z "$ac_c_werror_flag" ||
19165 test ! -s conftest.err
19166 } && test -s conftest.$ac_objext; then
19167 ac_hi=$ac_mid; break
19168 else
19169 echo "$as_me: failed program was:" >&5
19170 sed 's/^/| /' conftest.$ac_ext >&5
19171
19172 ac_lo=`expr $ac_mid + 1`
19173 if test $ac_lo -le $ac_mid; then
19174 ac_lo= ac_hi=
19175 break
19176 fi
19177 ac_mid=`expr 2 '*' $ac_mid + 1`
19178 fi
19179
19180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19181 done
19182 else
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19185
19186 cat >conftest.$ac_ext <<_ACEOF
19187 /* confdefs.h. */
19188 _ACEOF
19189 cat confdefs.h >>conftest.$ac_ext
19190 cat >>conftest.$ac_ext <<_ACEOF
19191 /* end confdefs.h. */
19192 $ac_includes_default
19193 typedef int ac__type_sizeof_;
19194 int
19195 main ()
19196 {
19197 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19198 test_array [0] = 0
19199
19200 ;
19201 return 0;
19202 }
19203 _ACEOF
19204 rm -f conftest.$ac_objext
19205 if { (ac_try="$ac_compile"
19206 case "(($ac_try" in
19207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19208 *) ac_try_echo=$ac_try;;
19209 esac
19210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19211 (eval "$ac_compile") 2>conftest.er1
19212 ac_status=$?
19213 grep -v '^ *+' conftest.er1 >conftest.err
19214 rm -f conftest.er1
19215 cat conftest.err >&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } && {
19218 test -z "$ac_c_werror_flag" ||
19219 test ! -s conftest.err
19220 } && test -s conftest.$ac_objext; then
19221 ac_hi=-1 ac_mid=-1
19222 while :; do
19223 cat >conftest.$ac_ext <<_ACEOF
19224 /* confdefs.h. */
19225 _ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h. */
19229 $ac_includes_default
19230 typedef int ac__type_sizeof_;
19231 int
19232 main ()
19233 {
19234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19235 test_array [0] = 0
19236
19237 ;
19238 return 0;
19239 }
19240 _ACEOF
19241 rm -f conftest.$ac_objext
19242 if { (ac_try="$ac_compile"
19243 case "(($ac_try" in
19244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19245 *) ac_try_echo=$ac_try;;
19246 esac
19247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19248 (eval "$ac_compile") 2>conftest.er1
19249 ac_status=$?
19250 grep -v '^ *+' conftest.er1 >conftest.err
19251 rm -f conftest.er1
19252 cat conftest.err >&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } && {
19255 test -z "$ac_c_werror_flag" ||
19256 test ! -s conftest.err
19257 } && test -s conftest.$ac_objext; then
19258 ac_lo=$ac_mid; break
19259 else
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.$ac_ext >&5
19262
19263 ac_hi=`expr '(' $ac_mid ')' - 1`
19264 if test $ac_mid -le $ac_hi; then
19265 ac_lo= ac_hi=
19266 break
19267 fi
19268 ac_mid=`expr 2 '*' $ac_mid`
19269 fi
19270
19271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19272 done
19273 else
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19276
19277 ac_lo= ac_hi=
19278 fi
19279
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281 fi
19282
19283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19284 # Binary search between lo and hi bounds.
19285 while test "x$ac_lo" != "x$ac_hi"; do
19286 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19287 cat >conftest.$ac_ext <<_ACEOF
19288 /* confdefs.h. */
19289 _ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 $ac_includes_default
19294 typedef int ac__type_sizeof_;
19295 int
19296 main ()
19297 {
19298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19299 test_array [0] = 0
19300
19301 ;
19302 return 0;
19303 }
19304 _ACEOF
19305 rm -f conftest.$ac_objext
19306 if { (ac_try="$ac_compile"
19307 case "(($ac_try" in
19308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19309 *) ac_try_echo=$ac_try;;
19310 esac
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 (eval "$ac_compile") 2>conftest.er1
19313 ac_status=$?
19314 grep -v '^ *+' conftest.er1 >conftest.err
19315 rm -f conftest.er1
19316 cat conftest.err >&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); } && {
19319 test -z "$ac_c_werror_flag" ||
19320 test ! -s conftest.err
19321 } && test -s conftest.$ac_objext; then
19322 ac_hi=$ac_mid
19323 else
19324 echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327 ac_lo=`expr '(' $ac_mid ')' + 1`
19328 fi
19329
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 done
19332 case $ac_lo in
19333 ?*) ac_cv_sizeof_int=$ac_lo;;
19334 '') if test "$ac_cv_type_int" = yes; then
19335 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19336 See \`config.log' for more details." >&5
19337 echo "$as_me: error: cannot compute sizeof (int)
19338 See \`config.log' for more details." >&2;}
19339 { (exit 77); exit 77; }; }
19340 else
19341 ac_cv_sizeof_int=0
19342 fi ;;
19343 esac
19344 else
19345 cat >conftest.$ac_ext <<_ACEOF
19346 /* confdefs.h. */
19347 _ACEOF
19348 cat confdefs.h >>conftest.$ac_ext
19349 cat >>conftest.$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19351 $ac_includes_default
19352 typedef int ac__type_sizeof_;
19353 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19354 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19355 #include <stdio.h>
19356 #include <stdlib.h>
19357 int
19358 main ()
19359 {
19360
19361 FILE *f = fopen ("conftest.val", "w");
19362 if (! f)
19363 return 1;
19364 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19365 {
19366 long int i = longval ();
19367 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19368 return 1;
19369 fprintf (f, "%ld\n", i);
19370 }
19371 else
19372 {
19373 unsigned long int i = ulongval ();
19374 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19375 return 1;
19376 fprintf (f, "%lu\n", i);
19377 }
19378 return ferror (f) || fclose (f) != 0;
19379
19380 ;
19381 return 0;
19382 }
19383 _ACEOF
19384 rm -f conftest$ac_exeext
19385 if { (ac_try="$ac_link"
19386 case "(($ac_try" in
19387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19388 *) ac_try_echo=$ac_try;;
19389 esac
19390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_link") 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19395 { (case "(($ac_try" in
19396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19397 *) ac_try_echo=$ac_try;;
19398 esac
19399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19400 (eval "$ac_try") 2>&5
19401 ac_status=$?
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 ac_cv_sizeof_int=`cat conftest.val`
19405 else
19406 echo "$as_me: program exited with status $ac_status" >&5
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19409
19410 ( exit $ac_status )
19411 if test "$ac_cv_type_int" = yes; then
19412 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19413 See \`config.log' for more details." >&5
19414 echo "$as_me: error: cannot compute sizeof (int)
19415 See \`config.log' for more details." >&2;}
19416 { (exit 77); exit 77; }; }
19417 else
19418 ac_cv_sizeof_int=0
19419 fi
19420 fi
19421 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19422 fi
19423 rm -f conftest.val
19424 fi
19425 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19426 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19427
19428
19429
19430 cat >>confdefs.h <<_ACEOF
19431 #define SIZEOF_INT $ac_cv_sizeof_int
19432 _ACEOF
19433
19434
19435 { echo "$as_me:$LINENO: checking for long" >&5
19436 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19437 if test "${ac_cv_type_long+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 else
19440 cat >conftest.$ac_ext <<_ACEOF
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 $ac_includes_default
19447 typedef long ac__type_new_;
19448 int
19449 main ()
19450 {
19451 if ((ac__type_new_ *) 0)
19452 return 0;
19453 if (sizeof (ac__type_new_))
19454 return 0;
19455 ;
19456 return 0;
19457 }
19458 _ACEOF
19459 rm -f conftest.$ac_objext
19460 if { (ac_try="$ac_compile"
19461 case "(($ac_try" in
19462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19463 *) ac_try_echo=$ac_try;;
19464 esac
19465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19466 (eval "$ac_compile") 2>conftest.er1
19467 ac_status=$?
19468 grep -v '^ *+' conftest.er1 >conftest.err
19469 rm -f conftest.er1
19470 cat conftest.err >&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); } && {
19473 test -z "$ac_c_werror_flag" ||
19474 test ! -s conftest.err
19475 } && test -s conftest.$ac_objext; then
19476 ac_cv_type_long=yes
19477 else
19478 echo "$as_me: failed program was:" >&5
19479 sed 's/^/| /' conftest.$ac_ext >&5
19480
19481 ac_cv_type_long=no
19482 fi
19483
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19485 fi
19486 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19487 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19488
19489 # The cast to long int works around a bug in the HP C Compiler
19490 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19491 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19492 # This bug is HP SR number 8606223364.
19493 { echo "$as_me:$LINENO: checking size of long" >&5
19494 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19495 if test "${ac_cv_sizeof_long+set}" = set; then
19496 echo $ECHO_N "(cached) $ECHO_C" >&6
19497 else
19498 if test "$cross_compiling" = yes; then
19499 # Depending upon the size, compute the lo and hi bounds.
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19507 typedef long ac__type_sizeof_;
19508 int
19509 main ()
19510 {
19511 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19512 test_array [0] = 0
19513
19514 ;
19515 return 0;
19516 }
19517 _ACEOF
19518 rm -f conftest.$ac_objext
19519 if { (ac_try="$ac_compile"
19520 case "(($ac_try" in
19521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 *) ac_try_echo=$ac_try;;
19523 esac
19524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19525 (eval "$ac_compile") 2>conftest.er1
19526 ac_status=$?
19527 grep -v '^ *+' conftest.er1 >conftest.err
19528 rm -f conftest.er1
19529 cat conftest.err >&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } && {
19532 test -z "$ac_c_werror_flag" ||
19533 test ! -s conftest.err
19534 } && test -s conftest.$ac_objext; then
19535 ac_lo=0 ac_mid=0
19536 while :; do
19537 cat >conftest.$ac_ext <<_ACEOF
19538 /* confdefs.h. */
19539 _ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19544 typedef long ac__type_sizeof_;
19545 int
19546 main ()
19547 {
19548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19549 test_array [0] = 0
19550
19551 ;
19552 return 0;
19553 }
19554 _ACEOF
19555 rm -f conftest.$ac_objext
19556 if { (ac_try="$ac_compile"
19557 case "(($ac_try" in
19558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19559 *) ac_try_echo=$ac_try;;
19560 esac
19561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19562 (eval "$ac_compile") 2>conftest.er1
19563 ac_status=$?
19564 grep -v '^ *+' conftest.er1 >conftest.err
19565 rm -f conftest.er1
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } && {
19569 test -z "$ac_c_werror_flag" ||
19570 test ! -s conftest.err
19571 } && test -s conftest.$ac_objext; then
19572 ac_hi=$ac_mid; break
19573 else
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19576
19577 ac_lo=`expr $ac_mid + 1`
19578 if test $ac_lo -le $ac_mid; then
19579 ac_lo= ac_hi=
19580 break
19581 fi
19582 ac_mid=`expr 2 '*' $ac_mid + 1`
19583 fi
19584
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 done
19587 else
19588 echo "$as_me: failed program was:" >&5
19589 sed 's/^/| /' conftest.$ac_ext >&5
19590
19591 cat >conftest.$ac_ext <<_ACEOF
19592 /* confdefs.h. */
19593 _ACEOF
19594 cat confdefs.h >>conftest.$ac_ext
19595 cat >>conftest.$ac_ext <<_ACEOF
19596 /* end confdefs.h. */
19597 $ac_includes_default
19598 typedef long ac__type_sizeof_;
19599 int
19600 main ()
19601 {
19602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19603 test_array [0] = 0
19604
19605 ;
19606 return 0;
19607 }
19608 _ACEOF
19609 rm -f conftest.$ac_objext
19610 if { (ac_try="$ac_compile"
19611 case "(($ac_try" in
19612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19613 *) ac_try_echo=$ac_try;;
19614 esac
19615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19616 (eval "$ac_compile") 2>conftest.er1
19617 ac_status=$?
19618 grep -v '^ *+' conftest.er1 >conftest.err
19619 rm -f conftest.er1
19620 cat conftest.err >&5
19621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19622 (exit $ac_status); } && {
19623 test -z "$ac_c_werror_flag" ||
19624 test ! -s conftest.err
19625 } && test -s conftest.$ac_objext; then
19626 ac_hi=-1 ac_mid=-1
19627 while :; do
19628 cat >conftest.$ac_ext <<_ACEOF
19629 /* confdefs.h. */
19630 _ACEOF
19631 cat confdefs.h >>conftest.$ac_ext
19632 cat >>conftest.$ac_ext <<_ACEOF
19633 /* end confdefs.h. */
19634 $ac_includes_default
19635 typedef long ac__type_sizeof_;
19636 int
19637 main ()
19638 {
19639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19640 test_array [0] = 0
19641
19642 ;
19643 return 0;
19644 }
19645 _ACEOF
19646 rm -f conftest.$ac_objext
19647 if { (ac_try="$ac_compile"
19648 case "(($ac_try" in
19649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19650 *) ac_try_echo=$ac_try;;
19651 esac
19652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19653 (eval "$ac_compile") 2>conftest.er1
19654 ac_status=$?
19655 grep -v '^ *+' conftest.er1 >conftest.err
19656 rm -f conftest.er1
19657 cat conftest.err >&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); } && {
19660 test -z "$ac_c_werror_flag" ||
19661 test ! -s conftest.err
19662 } && test -s conftest.$ac_objext; then
19663 ac_lo=$ac_mid; break
19664 else
19665 echo "$as_me: failed program was:" >&5
19666 sed 's/^/| /' conftest.$ac_ext >&5
19667
19668 ac_hi=`expr '(' $ac_mid ')' - 1`
19669 if test $ac_mid -le $ac_hi; then
19670 ac_lo= ac_hi=
19671 break
19672 fi
19673 ac_mid=`expr 2 '*' $ac_mid`
19674 fi
19675
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19677 done
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 ac_lo= ac_hi=
19683 fi
19684
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686 fi
19687
19688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19689 # Binary search between lo and hi bounds.
19690 while test "x$ac_lo" != "x$ac_hi"; do
19691 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19692 cat >conftest.$ac_ext <<_ACEOF
19693 /* confdefs.h. */
19694 _ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef long ac__type_sizeof_;
19700 int
19701 main ()
19702 {
19703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19704 test_array [0] = 0
19705
19706 ;
19707 return 0;
19708 }
19709 _ACEOF
19710 rm -f conftest.$ac_objext
19711 if { (ac_try="$ac_compile"
19712 case "(($ac_try" in
19713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19714 *) ac_try_echo=$ac_try;;
19715 esac
19716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19717 (eval "$ac_compile") 2>conftest.er1
19718 ac_status=$?
19719 grep -v '^ *+' conftest.er1 >conftest.err
19720 rm -f conftest.er1
19721 cat conftest.err >&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && {
19724 test -z "$ac_c_werror_flag" ||
19725 test ! -s conftest.err
19726 } && test -s conftest.$ac_objext; then
19727 ac_hi=$ac_mid
19728 else
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19731
19732 ac_lo=`expr '(' $ac_mid ')' + 1`
19733 fi
19734
19735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19736 done
19737 case $ac_lo in
19738 ?*) ac_cv_sizeof_long=$ac_lo;;
19739 '') if test "$ac_cv_type_long" = yes; then
19740 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19741 See \`config.log' for more details." >&5
19742 echo "$as_me: error: cannot compute sizeof (long)
19743 See \`config.log' for more details." >&2;}
19744 { (exit 77); exit 77; }; }
19745 else
19746 ac_cv_sizeof_long=0
19747 fi ;;
19748 esac
19749 else
19750 cat >conftest.$ac_ext <<_ACEOF
19751 /* confdefs.h. */
19752 _ACEOF
19753 cat confdefs.h >>conftest.$ac_ext
19754 cat >>conftest.$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 typedef long ac__type_sizeof_;
19758 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19759 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19760 #include <stdio.h>
19761 #include <stdlib.h>
19762 int
19763 main ()
19764 {
19765
19766 FILE *f = fopen ("conftest.val", "w");
19767 if (! f)
19768 return 1;
19769 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19770 {
19771 long int i = longval ();
19772 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19773 return 1;
19774 fprintf (f, "%ld\n", i);
19775 }
19776 else
19777 {
19778 unsigned long int i = ulongval ();
19779 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19780 return 1;
19781 fprintf (f, "%lu\n", i);
19782 }
19783 return ferror (f) || fclose (f) != 0;
19784
19785 ;
19786 return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest$ac_exeext
19790 if { (ac_try="$ac_link"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_link") 2>&5
19797 ac_status=$?
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19800 { (case "(($ac_try" in
19801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19802 *) ac_try_echo=$ac_try;;
19803 esac
19804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19805 (eval "$ac_try") 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; }; then
19809 ac_cv_sizeof_long=`cat conftest.val`
19810 else
19811 echo "$as_me: program exited with status $ac_status" >&5
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.$ac_ext >&5
19814
19815 ( exit $ac_status )
19816 if test "$ac_cv_type_long" = yes; then
19817 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19818 See \`config.log' for more details." >&5
19819 echo "$as_me: error: cannot compute sizeof (long)
19820 See \`config.log' for more details." >&2;}
19821 { (exit 77); exit 77; }; }
19822 else
19823 ac_cv_sizeof_long=0
19824 fi
19825 fi
19826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19827 fi
19828 rm -f conftest.val
19829 fi
19830 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19831 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19832
19833
19834
19835 cat >>confdefs.h <<_ACEOF
19836 #define SIZEOF_LONG $ac_cv_sizeof_long
19837 _ACEOF
19838
19839
19840 { echo "$as_me:$LINENO: checking for size_t" >&5
19841 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19842 if test "${ac_cv_type_size_t+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 else
19845 cat >conftest.$ac_ext <<_ACEOF
19846 /* confdefs.h. */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19852 typedef size_t ac__type_new_;
19853 int
19854 main ()
19855 {
19856 if ((ac__type_new_ *) 0)
19857 return 0;
19858 if (sizeof (ac__type_new_))
19859 return 0;
19860 ;
19861 return 0;
19862 }
19863 _ACEOF
19864 rm -f conftest.$ac_objext
19865 if { (ac_try="$ac_compile"
19866 case "(($ac_try" in
19867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19868 *) ac_try_echo=$ac_try;;
19869 esac
19870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19871 (eval "$ac_compile") 2>conftest.er1
19872 ac_status=$?
19873 grep -v '^ *+' conftest.er1 >conftest.err
19874 rm -f conftest.er1
19875 cat conftest.err >&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } && {
19878 test -z "$ac_c_werror_flag" ||
19879 test ! -s conftest.err
19880 } && test -s conftest.$ac_objext; then
19881 ac_cv_type_size_t=yes
19882 else
19883 echo "$as_me: failed program was:" >&5
19884 sed 's/^/| /' conftest.$ac_ext >&5
19885
19886 ac_cv_type_size_t=no
19887 fi
19888
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19890 fi
19891 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19892 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19893
19894 # The cast to long int works around a bug in the HP C Compiler
19895 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19896 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19897 # This bug is HP SR number 8606223364.
19898 { echo "$as_me:$LINENO: checking size of size_t" >&5
19899 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19900 if test "${ac_cv_sizeof_size_t+set}" = set; then
19901 echo $ECHO_N "(cached) $ECHO_C" >&6
19902 else
19903 if test "$cross_compiling" = yes; then
19904 # Depending upon the size, compute the lo and hi bounds.
19905 cat >conftest.$ac_ext <<_ACEOF
19906 /* confdefs.h. */
19907 _ACEOF
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 $ac_includes_default
19912 typedef size_t ac__type_sizeof_;
19913 int
19914 main ()
19915 {
19916 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19917 test_array [0] = 0
19918
19919 ;
19920 return 0;
19921 }
19922 _ACEOF
19923 rm -f conftest.$ac_objext
19924 if { (ac_try="$ac_compile"
19925 case "(($ac_try" in
19926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19927 *) ac_try_echo=$ac_try;;
19928 esac
19929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19930 (eval "$ac_compile") 2>conftest.er1
19931 ac_status=$?
19932 grep -v '^ *+' conftest.er1 >conftest.err
19933 rm -f conftest.er1
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } && {
19937 test -z "$ac_c_werror_flag" ||
19938 test ! -s conftest.err
19939 } && test -s conftest.$ac_objext; then
19940 ac_lo=0 ac_mid=0
19941 while :; do
19942 cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h. */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h. */
19948 $ac_includes_default
19949 typedef size_t ac__type_sizeof_;
19950 int
19951 main ()
19952 {
19953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19954 test_array [0] = 0
19955
19956 ;
19957 return 0;
19958 }
19959 _ACEOF
19960 rm -f conftest.$ac_objext
19961 if { (ac_try="$ac_compile"
19962 case "(($ac_try" in
19963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19964 *) ac_try_echo=$ac_try;;
19965 esac
19966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19967 (eval "$ac_compile") 2>conftest.er1
19968 ac_status=$?
19969 grep -v '^ *+' conftest.er1 >conftest.err
19970 rm -f conftest.er1
19971 cat conftest.err >&5
19972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19973 (exit $ac_status); } && {
19974 test -z "$ac_c_werror_flag" ||
19975 test ! -s conftest.err
19976 } && test -s conftest.$ac_objext; then
19977 ac_hi=$ac_mid; break
19978 else
19979 echo "$as_me: failed program was:" >&5
19980 sed 's/^/| /' conftest.$ac_ext >&5
19981
19982 ac_lo=`expr $ac_mid + 1`
19983 if test $ac_lo -le $ac_mid; then
19984 ac_lo= ac_hi=
19985 break
19986 fi
19987 ac_mid=`expr 2 '*' $ac_mid + 1`
19988 fi
19989
19990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19991 done
19992 else
19993 echo "$as_me: failed program was:" >&5
19994 sed 's/^/| /' conftest.$ac_ext >&5
19995
19996 cat >conftest.$ac_ext <<_ACEOF
19997 /* confdefs.h. */
19998 _ACEOF
19999 cat confdefs.h >>conftest.$ac_ext
20000 cat >>conftest.$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20002 $ac_includes_default
20003 typedef size_t ac__type_sizeof_;
20004 int
20005 main ()
20006 {
20007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20008 test_array [0] = 0
20009
20010 ;
20011 return 0;
20012 }
20013 _ACEOF
20014 rm -f conftest.$ac_objext
20015 if { (ac_try="$ac_compile"
20016 case "(($ac_try" in
20017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20018 *) ac_try_echo=$ac_try;;
20019 esac
20020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20021 (eval "$ac_compile") 2>conftest.er1
20022 ac_status=$?
20023 grep -v '^ *+' conftest.er1 >conftest.err
20024 rm -f conftest.er1
20025 cat conftest.err >&5
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); } && {
20028 test -z "$ac_c_werror_flag" ||
20029 test ! -s conftest.err
20030 } && test -s conftest.$ac_objext; then
20031 ac_hi=-1 ac_mid=-1
20032 while :; do
20033 cat >conftest.$ac_ext <<_ACEOF
20034 /* confdefs.h. */
20035 _ACEOF
20036 cat confdefs.h >>conftest.$ac_ext
20037 cat >>conftest.$ac_ext <<_ACEOF
20038 /* end confdefs.h. */
20039 $ac_includes_default
20040 typedef size_t ac__type_sizeof_;
20041 int
20042 main ()
20043 {
20044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20045 test_array [0] = 0
20046
20047 ;
20048 return 0;
20049 }
20050 _ACEOF
20051 rm -f conftest.$ac_objext
20052 if { (ac_try="$ac_compile"
20053 case "(($ac_try" in
20054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20055 *) ac_try_echo=$ac_try;;
20056 esac
20057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20058 (eval "$ac_compile") 2>conftest.er1
20059 ac_status=$?
20060 grep -v '^ *+' conftest.er1 >conftest.err
20061 rm -f conftest.er1
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } && {
20065 test -z "$ac_c_werror_flag" ||
20066 test ! -s conftest.err
20067 } && test -s conftest.$ac_objext; then
20068 ac_lo=$ac_mid; break
20069 else
20070 echo "$as_me: failed program was:" >&5
20071 sed 's/^/| /' conftest.$ac_ext >&5
20072
20073 ac_hi=`expr '(' $ac_mid ')' - 1`
20074 if test $ac_mid -le $ac_hi; then
20075 ac_lo= ac_hi=
20076 break
20077 fi
20078 ac_mid=`expr 2 '*' $ac_mid`
20079 fi
20080
20081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20082 done
20083 else
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20086
20087 ac_lo= ac_hi=
20088 fi
20089
20090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20091 fi
20092
20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094 # Binary search between lo and hi bounds.
20095 while test "x$ac_lo" != "x$ac_hi"; do
20096 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20097 cat >conftest.$ac_ext <<_ACEOF
20098 /* confdefs.h. */
20099 _ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef size_t ac__type_sizeof_;
20105 int
20106 main ()
20107 {
20108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20109 test_array [0] = 0
20110
20111 ;
20112 return 0;
20113 }
20114 _ACEOF
20115 rm -f conftest.$ac_objext
20116 if { (ac_try="$ac_compile"
20117 case "(($ac_try" in
20118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20119 *) ac_try_echo=$ac_try;;
20120 esac
20121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20122 (eval "$ac_compile") 2>conftest.er1
20123 ac_status=$?
20124 grep -v '^ *+' conftest.er1 >conftest.err
20125 rm -f conftest.er1
20126 cat conftest.err >&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } && {
20129 test -z "$ac_c_werror_flag" ||
20130 test ! -s conftest.err
20131 } && test -s conftest.$ac_objext; then
20132 ac_hi=$ac_mid
20133 else
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20136
20137 ac_lo=`expr '(' $ac_mid ')' + 1`
20138 fi
20139
20140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20141 done
20142 case $ac_lo in
20143 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20144 '') if test "$ac_cv_type_size_t" = yes; then
20145 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20146 See \`config.log' for more details." >&5
20147 echo "$as_me: error: cannot compute sizeof (size_t)
20148 See \`config.log' for more details." >&2;}
20149 { (exit 77); exit 77; }; }
20150 else
20151 ac_cv_sizeof_size_t=0
20152 fi ;;
20153 esac
20154 else
20155 cat >conftest.$ac_ext <<_ACEOF
20156 /* confdefs.h. */
20157 _ACEOF
20158 cat confdefs.h >>conftest.$ac_ext
20159 cat >>conftest.$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 $ac_includes_default
20162 typedef size_t ac__type_sizeof_;
20163 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20164 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20165 #include <stdio.h>
20166 #include <stdlib.h>
20167 int
20168 main ()
20169 {
20170
20171 FILE *f = fopen ("conftest.val", "w");
20172 if (! f)
20173 return 1;
20174 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20175 {
20176 long int i = longval ();
20177 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20178 return 1;
20179 fprintf (f, "%ld\n", i);
20180 }
20181 else
20182 {
20183 unsigned long int i = ulongval ();
20184 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20185 return 1;
20186 fprintf (f, "%lu\n", i);
20187 }
20188 return ferror (f) || fclose (f) != 0;
20189
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 rm -f conftest$ac_exeext
20195 if { (ac_try="$ac_link"
20196 case "(($ac_try" in
20197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20199 esac
20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_link") 2>&5
20202 ac_status=$?
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20205 { (case "(($ac_try" in
20206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20207 *) ac_try_echo=$ac_try;;
20208 esac
20209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20210 (eval "$ac_try") 2>&5
20211 ac_status=$?
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); }; }; then
20214 ac_cv_sizeof_size_t=`cat conftest.val`
20215 else
20216 echo "$as_me: program exited with status $ac_status" >&5
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20219
20220 ( exit $ac_status )
20221 if test "$ac_cv_type_size_t" = yes; then
20222 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20223 See \`config.log' for more details." >&5
20224 echo "$as_me: error: cannot compute sizeof (size_t)
20225 See \`config.log' for more details." >&2;}
20226 { (exit 77); exit 77; }; }
20227 else
20228 ac_cv_sizeof_size_t=0
20229 fi
20230 fi
20231 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20232 fi
20233 rm -f conftest.val
20234 fi
20235 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20236 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20237
20238
20239
20240 cat >>confdefs.h <<_ACEOF
20241 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20242 _ACEOF
20243
20244
20245
20246 case "${host}" in
20247 arm-*-linux* )
20248 { echo "$as_me:$LINENO: checking for long long" >&5
20249 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20250 if test "${ac_cv_type_long_long+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6
20252 else
20253 cat >conftest.$ac_ext <<_ACEOF
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 $ac_includes_default
20260 typedef long long ac__type_new_;
20261 int
20262 main ()
20263 {
20264 if ((ac__type_new_ *) 0)
20265 return 0;
20266 if (sizeof (ac__type_new_))
20267 return 0;
20268 ;
20269 return 0;
20270 }
20271 _ACEOF
20272 rm -f conftest.$ac_objext
20273 if { (ac_try="$ac_compile"
20274 case "(($ac_try" in
20275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20276 *) ac_try_echo=$ac_try;;
20277 esac
20278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20279 (eval "$ac_compile") 2>conftest.er1
20280 ac_status=$?
20281 grep -v '^ *+' conftest.er1 >conftest.err
20282 rm -f conftest.er1
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); } && {
20286 test -z "$ac_c_werror_flag" ||
20287 test ! -s conftest.err
20288 } && test -s conftest.$ac_objext; then
20289 ac_cv_type_long_long=yes
20290 else
20291 echo "$as_me: failed program was:" >&5
20292 sed 's/^/| /' conftest.$ac_ext >&5
20293
20294 ac_cv_type_long_long=no
20295 fi
20296
20297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20298 fi
20299 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20300 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20301
20302 # The cast to long int works around a bug in the HP C Compiler
20303 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20304 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20305 # This bug is HP SR number 8606223364.
20306 { echo "$as_me:$LINENO: checking size of long long" >&5
20307 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20308 if test "${ac_cv_sizeof_long_long+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20310 else
20311 if test "$cross_compiling" = yes; then
20312 # Depending upon the size, compute the lo and hi bounds.
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 $ac_includes_default
20320 typedef long long ac__type_sizeof_;
20321 int
20322 main ()
20323 {
20324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20325 test_array [0] = 0
20326
20327 ;
20328 return 0;
20329 }
20330 _ACEOF
20331 rm -f conftest.$ac_objext
20332 if { (ac_try="$ac_compile"
20333 case "(($ac_try" in
20334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20335 *) ac_try_echo=$ac_try;;
20336 esac
20337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20338 (eval "$ac_compile") 2>conftest.er1
20339 ac_status=$?
20340 grep -v '^ *+' conftest.er1 >conftest.err
20341 rm -f conftest.er1
20342 cat conftest.err >&5
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } && {
20345 test -z "$ac_c_werror_flag" ||
20346 test ! -s conftest.err
20347 } && test -s conftest.$ac_objext; then
20348 ac_lo=0 ac_mid=0
20349 while :; do
20350 cat >conftest.$ac_ext <<_ACEOF
20351 /* confdefs.h. */
20352 _ACEOF
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20356 $ac_includes_default
20357 typedef long long ac__type_sizeof_;
20358 int
20359 main ()
20360 {
20361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20362 test_array [0] = 0
20363
20364 ;
20365 return 0;
20366 }
20367 _ACEOF
20368 rm -f conftest.$ac_objext
20369 if { (ac_try="$ac_compile"
20370 case "(($ac_try" in
20371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20372 *) ac_try_echo=$ac_try;;
20373 esac
20374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20375 (eval "$ac_compile") 2>conftest.er1
20376 ac_status=$?
20377 grep -v '^ *+' conftest.er1 >conftest.err
20378 rm -f conftest.er1
20379 cat conftest.err >&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); } && {
20382 test -z "$ac_c_werror_flag" ||
20383 test ! -s conftest.err
20384 } && test -s conftest.$ac_objext; then
20385 ac_hi=$ac_mid; break
20386 else
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20389
20390 ac_lo=`expr $ac_mid + 1`
20391 if test $ac_lo -le $ac_mid; then
20392 ac_lo= ac_hi=
20393 break
20394 fi
20395 ac_mid=`expr 2 '*' $ac_mid + 1`
20396 fi
20397
20398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20399 done
20400 else
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20403
20404 cat >conftest.$ac_ext <<_ACEOF
20405 /* confdefs.h. */
20406 _ACEOF
20407 cat confdefs.h >>conftest.$ac_ext
20408 cat >>conftest.$ac_ext <<_ACEOF
20409 /* end confdefs.h. */
20410 $ac_includes_default
20411 typedef long long ac__type_sizeof_;
20412 int
20413 main ()
20414 {
20415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20416 test_array [0] = 0
20417
20418 ;
20419 return 0;
20420 }
20421 _ACEOF
20422 rm -f conftest.$ac_objext
20423 if { (ac_try="$ac_compile"
20424 case "(($ac_try" in
20425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20426 *) ac_try_echo=$ac_try;;
20427 esac
20428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20429 (eval "$ac_compile") 2>conftest.er1
20430 ac_status=$?
20431 grep -v '^ *+' conftest.er1 >conftest.err
20432 rm -f conftest.er1
20433 cat conftest.err >&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && {
20436 test -z "$ac_c_werror_flag" ||
20437 test ! -s conftest.err
20438 } && test -s conftest.$ac_objext; then
20439 ac_hi=-1 ac_mid=-1
20440 while :; do
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 typedef long long ac__type_sizeof_;
20449 int
20450 main ()
20451 {
20452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20453 test_array [0] = 0
20454
20455 ;
20456 return 0;
20457 }
20458 _ACEOF
20459 rm -f conftest.$ac_objext
20460 if { (ac_try="$ac_compile"
20461 case "(($ac_try" in
20462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20463 *) ac_try_echo=$ac_try;;
20464 esac
20465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20466 (eval "$ac_compile") 2>conftest.er1
20467 ac_status=$?
20468 grep -v '^ *+' conftest.er1 >conftest.err
20469 rm -f conftest.er1
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } && {
20473 test -z "$ac_c_werror_flag" ||
20474 test ! -s conftest.err
20475 } && test -s conftest.$ac_objext; then
20476 ac_lo=$ac_mid; break
20477 else
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.$ac_ext >&5
20480
20481 ac_hi=`expr '(' $ac_mid ')' - 1`
20482 if test $ac_mid -le $ac_hi; then
20483 ac_lo= ac_hi=
20484 break
20485 fi
20486 ac_mid=`expr 2 '*' $ac_mid`
20487 fi
20488
20489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20490 done
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20494
20495 ac_lo= ac_hi=
20496 fi
20497
20498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499 fi
20500
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502 # Binary search between lo and hi bounds.
20503 while test "x$ac_lo" != "x$ac_hi"; do
20504 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20505 cat >conftest.$ac_ext <<_ACEOF
20506 /* confdefs.h. */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20512 typedef long long ac__type_sizeof_;
20513 int
20514 main ()
20515 {
20516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20517 test_array [0] = 0
20518
20519 ;
20520 return 0;
20521 }
20522 _ACEOF
20523 rm -f conftest.$ac_objext
20524 if { (ac_try="$ac_compile"
20525 case "(($ac_try" in
20526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20527 *) ac_try_echo=$ac_try;;
20528 esac
20529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20530 (eval "$ac_compile") 2>conftest.er1
20531 ac_status=$?
20532 grep -v '^ *+' conftest.er1 >conftest.err
20533 rm -f conftest.er1
20534 cat conftest.err >&5
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); } && {
20537 test -z "$ac_c_werror_flag" ||
20538 test ! -s conftest.err
20539 } && test -s conftest.$ac_objext; then
20540 ac_hi=$ac_mid
20541 else
20542 echo "$as_me: failed program was:" >&5
20543 sed 's/^/| /' conftest.$ac_ext >&5
20544
20545 ac_lo=`expr '(' $ac_mid ')' + 1`
20546 fi
20547
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20549 done
20550 case $ac_lo in
20551 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20552 '') if test "$ac_cv_type_long_long" = yes; then
20553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20554 See \`config.log' for more details." >&5
20555 echo "$as_me: error: cannot compute sizeof (long long)
20556 See \`config.log' for more details." >&2;}
20557 { (exit 77); exit 77; }; }
20558 else
20559 ac_cv_sizeof_long_long=0
20560 fi ;;
20561 esac
20562 else
20563 cat >conftest.$ac_ext <<_ACEOF
20564 /* confdefs.h. */
20565 _ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 $ac_includes_default
20570 typedef long long ac__type_sizeof_;
20571 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20572 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20573 #include <stdio.h>
20574 #include <stdlib.h>
20575 int
20576 main ()
20577 {
20578
20579 FILE *f = fopen ("conftest.val", "w");
20580 if (! f)
20581 return 1;
20582 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20583 {
20584 long int i = longval ();
20585 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20586 return 1;
20587 fprintf (f, "%ld\n", i);
20588 }
20589 else
20590 {
20591 unsigned long int i = ulongval ();
20592 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20593 return 1;
20594 fprintf (f, "%lu\n", i);
20595 }
20596 return ferror (f) || fclose (f) != 0;
20597
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 rm -f conftest$ac_exeext
20603 if { (ac_try="$ac_link"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20607 esac
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_link") 2>&5
20610 ac_status=$?
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20613 { (case "(($ac_try" in
20614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20615 *) ac_try_echo=$ac_try;;
20616 esac
20617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20618 (eval "$ac_try") 2>&5
20619 ac_status=$?
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); }; }; then
20622 ac_cv_sizeof_long_long=`cat conftest.val`
20623 else
20624 echo "$as_me: program exited with status $ac_status" >&5
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20627
20628 ( exit $ac_status )
20629 if test "$ac_cv_type_long_long" = yes; then
20630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20631 See \`config.log' for more details." >&5
20632 echo "$as_me: error: cannot compute sizeof (long long)
20633 See \`config.log' for more details." >&2;}
20634 { (exit 77); exit 77; }; }
20635 else
20636 ac_cv_sizeof_long_long=0
20637 fi
20638 fi
20639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20640 fi
20641 rm -f conftest.val
20642 fi
20643 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20644 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20645
20646
20647
20648 cat >>confdefs.h <<_ACEOF
20649 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20650 _ACEOF
20651
20652
20653 ;;
20654 *-hp-hpux* )
20655 { echo "$as_me:$LINENO: checking for long long" >&5
20656 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20657 if test "${ac_cv_type_long_long+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20659 else
20660 cat >conftest.$ac_ext <<_ACEOF
20661 /* confdefs.h. */
20662 _ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20667 typedef long long ac__type_new_;
20668 int
20669 main ()
20670 {
20671 if ((ac__type_new_ *) 0)
20672 return 0;
20673 if (sizeof (ac__type_new_))
20674 return 0;
20675 ;
20676 return 0;
20677 }
20678 _ACEOF
20679 rm -f conftest.$ac_objext
20680 if { (ac_try="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20684 esac
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20687 ac_status=$?
20688 grep -v '^ *+' conftest.er1 >conftest.err
20689 rm -f conftest.er1
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.$ac_objext; then
20696 ac_cv_type_long_long=yes
20697 else
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20700
20701 ac_cv_type_long_long=no
20702 fi
20703
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20705 fi
20706 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20707 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20708
20709 # The cast to long int works around a bug in the HP C Compiler
20710 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20711 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20712 # This bug is HP SR number 8606223364.
20713 { echo "$as_me:$LINENO: checking size of long long" >&5
20714 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20715 if test "${ac_cv_sizeof_long_long+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20718 if test "$cross_compiling" = yes; then
20719 # Depending upon the size, compute the lo and hi bounds.
20720 cat >conftest.$ac_ext <<_ACEOF
20721 /* confdefs.h. */
20722 _ACEOF
20723 cat confdefs.h >>conftest.$ac_ext
20724 cat >>conftest.$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 $ac_includes_default
20727 typedef long long ac__type_sizeof_;
20728 int
20729 main ()
20730 {
20731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20732 test_array [0] = 0
20733
20734 ;
20735 return 0;
20736 }
20737 _ACEOF
20738 rm -f conftest.$ac_objext
20739 if { (ac_try="$ac_compile"
20740 case "(($ac_try" in
20741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20742 *) ac_try_echo=$ac_try;;
20743 esac
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745 (eval "$ac_compile") 2>conftest.er1
20746 ac_status=$?
20747 grep -v '^ *+' conftest.er1 >conftest.err
20748 rm -f conftest.er1
20749 cat conftest.err >&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); } && {
20752 test -z "$ac_c_werror_flag" ||
20753 test ! -s conftest.err
20754 } && test -s conftest.$ac_objext; then
20755 ac_lo=0 ac_mid=0
20756 while :; do
20757 cat >conftest.$ac_ext <<_ACEOF
20758 /* confdefs.h. */
20759 _ACEOF
20760 cat confdefs.h >>conftest.$ac_ext
20761 cat >>conftest.$ac_ext <<_ACEOF
20762 /* end confdefs.h. */
20763 $ac_includes_default
20764 typedef long long ac__type_sizeof_;
20765 int
20766 main ()
20767 {
20768 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20769 test_array [0] = 0
20770
20771 ;
20772 return 0;
20773 }
20774 _ACEOF
20775 rm -f conftest.$ac_objext
20776 if { (ac_try="$ac_compile"
20777 case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20780 esac
20781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_compile") 2>conftest.er1
20783 ac_status=$?
20784 grep -v '^ *+' conftest.er1 >conftest.err
20785 rm -f conftest.er1
20786 cat conftest.err >&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); } && {
20789 test -z "$ac_c_werror_flag" ||
20790 test ! -s conftest.err
20791 } && test -s conftest.$ac_objext; then
20792 ac_hi=$ac_mid; break
20793 else
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20796
20797 ac_lo=`expr $ac_mid + 1`
20798 if test $ac_lo -le $ac_mid; then
20799 ac_lo= ac_hi=
20800 break
20801 fi
20802 ac_mid=`expr 2 '*' $ac_mid + 1`
20803 fi
20804
20805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20806 done
20807 else
20808 echo "$as_me: failed program was:" >&5
20809 sed 's/^/| /' conftest.$ac_ext >&5
20810
20811 cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h. */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 typedef long long ac__type_sizeof_;
20819 int
20820 main ()
20821 {
20822 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20823 test_array [0] = 0
20824
20825 ;
20826 return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest.$ac_objext
20830 if { (ac_try="$ac_compile"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20834 esac
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_compile") 2>conftest.er1
20837 ac_status=$?
20838 grep -v '^ *+' conftest.er1 >conftest.err
20839 rm -f conftest.er1
20840 cat conftest.err >&5
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); } && {
20843 test -z "$ac_c_werror_flag" ||
20844 test ! -s conftest.err
20845 } && test -s conftest.$ac_objext; then
20846 ac_hi=-1 ac_mid=-1
20847 while :; do
20848 cat >conftest.$ac_ext <<_ACEOF
20849 /* confdefs.h. */
20850 _ACEOF
20851 cat confdefs.h >>conftest.$ac_ext
20852 cat >>conftest.$ac_ext <<_ACEOF
20853 /* end confdefs.h. */
20854 $ac_includes_default
20855 typedef long long ac__type_sizeof_;
20856 int
20857 main ()
20858 {
20859 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20860 test_array [0] = 0
20861
20862 ;
20863 return 0;
20864 }
20865 _ACEOF
20866 rm -f conftest.$ac_objext
20867 if { (ac_try="$ac_compile"
20868 case "(($ac_try" in
20869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20870 *) ac_try_echo=$ac_try;;
20871 esac
20872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20873 (eval "$ac_compile") 2>conftest.er1
20874 ac_status=$?
20875 grep -v '^ *+' conftest.er1 >conftest.err
20876 rm -f conftest.er1
20877 cat conftest.err >&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); } && {
20880 test -z "$ac_c_werror_flag" ||
20881 test ! -s conftest.err
20882 } && test -s conftest.$ac_objext; then
20883 ac_lo=$ac_mid; break
20884 else
20885 echo "$as_me: failed program was:" >&5
20886 sed 's/^/| /' conftest.$ac_ext >&5
20887
20888 ac_hi=`expr '(' $ac_mid ')' - 1`
20889 if test $ac_mid -le $ac_hi; then
20890 ac_lo= ac_hi=
20891 break
20892 fi
20893 ac_mid=`expr 2 '*' $ac_mid`
20894 fi
20895
20896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20897 done
20898 else
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20901
20902 ac_lo= ac_hi=
20903 fi
20904
20905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 fi
20907
20908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20909 # Binary search between lo and hi bounds.
20910 while test "x$ac_lo" != "x$ac_hi"; do
20911 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20912 cat >conftest.$ac_ext <<_ACEOF
20913 /* confdefs.h. */
20914 _ACEOF
20915 cat confdefs.h >>conftest.$ac_ext
20916 cat >>conftest.$ac_ext <<_ACEOF
20917 /* end confdefs.h. */
20918 $ac_includes_default
20919 typedef long long ac__type_sizeof_;
20920 int
20921 main ()
20922 {
20923 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20924 test_array [0] = 0
20925
20926 ;
20927 return 0;
20928 }
20929 _ACEOF
20930 rm -f conftest.$ac_objext
20931 if { (ac_try="$ac_compile"
20932 case "(($ac_try" in
20933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20934 *) ac_try_echo=$ac_try;;
20935 esac
20936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20937 (eval "$ac_compile") 2>conftest.er1
20938 ac_status=$?
20939 grep -v '^ *+' conftest.er1 >conftest.err
20940 rm -f conftest.er1
20941 cat conftest.err >&5
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest.$ac_objext; then
20947 ac_hi=$ac_mid
20948 else
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20951
20952 ac_lo=`expr '(' $ac_mid ')' + 1`
20953 fi
20954
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956 done
20957 case $ac_lo in
20958 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20959 '') if test "$ac_cv_type_long_long" = yes; then
20960 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20961 See \`config.log' for more details." >&5
20962 echo "$as_me: error: cannot compute sizeof (long long)
20963 See \`config.log' for more details." >&2;}
20964 { (exit 77); exit 77; }; }
20965 else
20966 ac_cv_sizeof_long_long=0
20967 fi ;;
20968 esac
20969 else
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 typedef long long ac__type_sizeof_;
20978 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20979 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20980 #include <stdio.h>
20981 #include <stdlib.h>
20982 int
20983 main ()
20984 {
20985
20986 FILE *f = fopen ("conftest.val", "w");
20987 if (! f)
20988 return 1;
20989 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20990 {
20991 long int i = longval ();
20992 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20993 return 1;
20994 fprintf (f, "%ld\n", i);
20995 }
20996 else
20997 {
20998 unsigned long int i = ulongval ();
20999 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21000 return 1;
21001 fprintf (f, "%lu\n", i);
21002 }
21003 return ferror (f) || fclose (f) != 0;
21004
21005 ;
21006 return 0;
21007 }
21008 _ACEOF
21009 rm -f conftest$ac_exeext
21010 if { (ac_try="$ac_link"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21014 esac
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_link") 2>&5
21017 ac_status=$?
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21020 { (case "(($ac_try" in
21021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21022 *) ac_try_echo=$ac_try;;
21023 esac
21024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21025 (eval "$ac_try") 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; }; then
21029 ac_cv_sizeof_long_long=`cat conftest.val`
21030 else
21031 echo "$as_me: program exited with status $ac_status" >&5
21032 echo "$as_me: failed program was:" >&5
21033 sed 's/^/| /' conftest.$ac_ext >&5
21034
21035 ( exit $ac_status )
21036 if test "$ac_cv_type_long_long" = yes; then
21037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21038 See \`config.log' for more details." >&5
21039 echo "$as_me: error: cannot compute sizeof (long long)
21040 See \`config.log' for more details." >&2;}
21041 { (exit 77); exit 77; }; }
21042 else
21043 ac_cv_sizeof_long_long=0
21044 fi
21045 fi
21046 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21047 fi
21048 rm -f conftest.val
21049 fi
21050 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21051 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21052
21053
21054
21055 cat >>confdefs.h <<_ACEOF
21056 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21057 _ACEOF
21058
21059
21060 if test "$ac_cv_sizeof_long_long" != "0"; then
21061 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21062 fi
21063 ;;
21064 * )
21065 { echo "$as_me:$LINENO: checking for long long" >&5
21066 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21067 if test "${ac_cv_type_long_long+set}" = set; then
21068 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 else
21070 cat >conftest.$ac_ext <<_ACEOF
21071 /* confdefs.h. */
21072 _ACEOF
21073 cat confdefs.h >>conftest.$ac_ext
21074 cat >>conftest.$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 $ac_includes_default
21077 typedef long long ac__type_new_;
21078 int
21079 main ()
21080 {
21081 if ((ac__type_new_ *) 0)
21082 return 0;
21083 if (sizeof (ac__type_new_))
21084 return 0;
21085 ;
21086 return 0;
21087 }
21088 _ACEOF
21089 rm -f conftest.$ac_objext
21090 if { (ac_try="$ac_compile"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_compile") 2>conftest.er1
21097 ac_status=$?
21098 grep -v '^ *+' conftest.er1 >conftest.err
21099 rm -f conftest.er1
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } && {
21103 test -z "$ac_c_werror_flag" ||
21104 test ! -s conftest.err
21105 } && test -s conftest.$ac_objext; then
21106 ac_cv_type_long_long=yes
21107 else
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 ac_cv_type_long_long=no
21112 fi
21113
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 fi
21116 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21117 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21118
21119 # The cast to long int works around a bug in the HP C Compiler
21120 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21121 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21122 # This bug is HP SR number 8606223364.
21123 { echo "$as_me:$LINENO: checking size of long long" >&5
21124 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21125 if test "${ac_cv_sizeof_long_long+set}" = set; then
21126 echo $ECHO_N "(cached) $ECHO_C" >&6
21127 else
21128 if test "$cross_compiling" = yes; then
21129 # Depending upon the size, compute the lo and hi bounds.
21130 cat >conftest.$ac_ext <<_ACEOF
21131 /* confdefs.h. */
21132 _ACEOF
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 $ac_includes_default
21137 typedef long long ac__type_sizeof_;
21138 int
21139 main ()
21140 {
21141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21142 test_array [0] = 0
21143
21144 ;
21145 return 0;
21146 }
21147 _ACEOF
21148 rm -f conftest.$ac_objext
21149 if { (ac_try="$ac_compile"
21150 case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21153 esac
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_compile") 2>conftest.er1
21156 ac_status=$?
21157 grep -v '^ *+' conftest.er1 >conftest.err
21158 rm -f conftest.er1
21159 cat conftest.err >&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } && {
21162 test -z "$ac_c_werror_flag" ||
21163 test ! -s conftest.err
21164 } && test -s conftest.$ac_objext; then
21165 ac_lo=0 ac_mid=0
21166 while :; do
21167 cat >conftest.$ac_ext <<_ACEOF
21168 /* confdefs.h. */
21169 _ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 $ac_includes_default
21174 typedef long long ac__type_sizeof_;
21175 int
21176 main ()
21177 {
21178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21179 test_array [0] = 0
21180
21181 ;
21182 return 0;
21183 }
21184 _ACEOF
21185 rm -f conftest.$ac_objext
21186 if { (ac_try="$ac_compile"
21187 case "(($ac_try" in
21188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21189 *) ac_try_echo=$ac_try;;
21190 esac
21191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21192 (eval "$ac_compile") 2>conftest.er1
21193 ac_status=$?
21194 grep -v '^ *+' conftest.er1 >conftest.err
21195 rm -f conftest.er1
21196 cat conftest.err >&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } && {
21199 test -z "$ac_c_werror_flag" ||
21200 test ! -s conftest.err
21201 } && test -s conftest.$ac_objext; then
21202 ac_hi=$ac_mid; break
21203 else
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21206
21207 ac_lo=`expr $ac_mid + 1`
21208 if test $ac_lo -le $ac_mid; then
21209 ac_lo= ac_hi=
21210 break
21211 fi
21212 ac_mid=`expr 2 '*' $ac_mid + 1`
21213 fi
21214
21215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21216 done
21217 else
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21220
21221 cat >conftest.$ac_ext <<_ACEOF
21222 /* confdefs.h. */
21223 _ACEOF
21224 cat confdefs.h >>conftest.$ac_ext
21225 cat >>conftest.$ac_ext <<_ACEOF
21226 /* end confdefs.h. */
21227 $ac_includes_default
21228 typedef long long ac__type_sizeof_;
21229 int
21230 main ()
21231 {
21232 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21233 test_array [0] = 0
21234
21235 ;
21236 return 0;
21237 }
21238 _ACEOF
21239 rm -f conftest.$ac_objext
21240 if { (ac_try="$ac_compile"
21241 case "(($ac_try" in
21242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;;
21244 esac
21245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 (eval "$ac_compile") 2>conftest.er1
21247 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1
21250 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err
21255 } && test -s conftest.$ac_objext; then
21256 ac_hi=-1 ac_mid=-1
21257 while :; do
21258 cat >conftest.$ac_ext <<_ACEOF
21259 /* confdefs.h. */
21260 _ACEOF
21261 cat confdefs.h >>conftest.$ac_ext
21262 cat >>conftest.$ac_ext <<_ACEOF
21263 /* end confdefs.h. */
21264 $ac_includes_default
21265 typedef long long ac__type_sizeof_;
21266 int
21267 main ()
21268 {
21269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21270 test_array [0] = 0
21271
21272 ;
21273 return 0;
21274 }
21275 _ACEOF
21276 rm -f conftest.$ac_objext
21277 if { (ac_try="$ac_compile"
21278 case "(($ac_try" in
21279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21280 *) ac_try_echo=$ac_try;;
21281 esac
21282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21283 (eval "$ac_compile") 2>conftest.er1
21284 ac_status=$?
21285 grep -v '^ *+' conftest.er1 >conftest.err
21286 rm -f conftest.er1
21287 cat conftest.err >&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } && {
21290 test -z "$ac_c_werror_flag" ||
21291 test ! -s conftest.err
21292 } && test -s conftest.$ac_objext; then
21293 ac_lo=$ac_mid; break
21294 else
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21297
21298 ac_hi=`expr '(' $ac_mid ')' - 1`
21299 if test $ac_mid -le $ac_hi; then
21300 ac_lo= ac_hi=
21301 break
21302 fi
21303 ac_mid=`expr 2 '*' $ac_mid`
21304 fi
21305
21306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21307 done
21308 else
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.$ac_ext >&5
21311
21312 ac_lo= ac_hi=
21313 fi
21314
21315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21316 fi
21317
21318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319 # Binary search between lo and hi bounds.
21320 while test "x$ac_lo" != "x$ac_hi"; do
21321 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21322 cat >conftest.$ac_ext <<_ACEOF
21323 /* confdefs.h. */
21324 _ACEOF
21325 cat confdefs.h >>conftest.$ac_ext
21326 cat >>conftest.$ac_ext <<_ACEOF
21327 /* end confdefs.h. */
21328 $ac_includes_default
21329 typedef long long ac__type_sizeof_;
21330 int
21331 main ()
21332 {
21333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21334 test_array [0] = 0
21335
21336 ;
21337 return 0;
21338 }
21339 _ACEOF
21340 rm -f conftest.$ac_objext
21341 if { (ac_try="$ac_compile"
21342 case "(($ac_try" in
21343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21344 *) ac_try_echo=$ac_try;;
21345 esac
21346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21347 (eval "$ac_compile") 2>conftest.er1
21348 ac_status=$?
21349 grep -v '^ *+' conftest.er1 >conftest.err
21350 rm -f conftest.er1
21351 cat conftest.err >&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); } && {
21354 test -z "$ac_c_werror_flag" ||
21355 test ! -s conftest.err
21356 } && test -s conftest.$ac_objext; then
21357 ac_hi=$ac_mid
21358 else
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21361
21362 ac_lo=`expr '(' $ac_mid ')' + 1`
21363 fi
21364
21365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21366 done
21367 case $ac_lo in
21368 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21369 '') if test "$ac_cv_type_long_long" = yes; then
21370 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21371 See \`config.log' for more details." >&5
21372 echo "$as_me: error: cannot compute sizeof (long long)
21373 See \`config.log' for more details." >&2;}
21374 { (exit 77); exit 77; }; }
21375 else
21376 ac_cv_sizeof_long_long=0
21377 fi ;;
21378 esac
21379 else
21380 cat >conftest.$ac_ext <<_ACEOF
21381 /* confdefs.h. */
21382 _ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 $ac_includes_default
21387 typedef long long ac__type_sizeof_;
21388 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21389 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21390 #include <stdio.h>
21391 #include <stdlib.h>
21392 int
21393 main ()
21394 {
21395
21396 FILE *f = fopen ("conftest.val", "w");
21397 if (! f)
21398 return 1;
21399 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21400 {
21401 long int i = longval ();
21402 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21403 return 1;
21404 fprintf (f, "%ld\n", i);
21405 }
21406 else
21407 {
21408 unsigned long int i = ulongval ();
21409 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21410 return 1;
21411 fprintf (f, "%lu\n", i);
21412 }
21413 return ferror (f) || fclose (f) != 0;
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest$ac_exeext
21420 if { (ac_try="$ac_link"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21424 esac
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_link") 2>&5
21427 ac_status=$?
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21430 { (case "(($ac_try" in
21431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21432 *) ac_try_echo=$ac_try;;
21433 esac
21434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_try") 2>&5
21436 ac_status=$?
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; }; then
21439 ac_cv_sizeof_long_long=`cat conftest.val`
21440 else
21441 echo "$as_me: program exited with status $ac_status" >&5
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 ( exit $ac_status )
21446 if test "$ac_cv_type_long_long" = yes; then
21447 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21448 See \`config.log' for more details." >&5
21449 echo "$as_me: error: cannot compute sizeof (long long)
21450 See \`config.log' for more details." >&2;}
21451 { (exit 77); exit 77; }; }
21452 else
21453 ac_cv_sizeof_long_long=0
21454 fi
21455 fi
21456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21457 fi
21458 rm -f conftest.val
21459 fi
21460 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21461 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21462
21463
21464
21465 cat >>confdefs.h <<_ACEOF
21466 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21467 _ACEOF
21468
21469
21470 esac
21471
21472 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21473 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21474 if test "${ac_cv_type_wchar_t+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 else
21477 cat >conftest.$ac_ext <<_ACEOF
21478 /* confdefs.h. */
21479 _ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483
21484 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21485 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21486 # error "fake wchar_t"
21487 #endif
21488 #ifdef HAVE_WCHAR_H
21489 # ifdef __CYGWIN__
21490 # include <stddef.h>
21491 # endif
21492 # include <wchar.h>
21493 #endif
21494 #ifdef HAVE_STDLIB_H
21495 # include <stdlib.h>
21496 #endif
21497 #include <stdio.h>
21498
21499
21500
21501 typedef wchar_t ac__type_new_;
21502 int
21503 main ()
21504 {
21505 if ((ac__type_new_ *) 0)
21506 return 0;
21507 if (sizeof (ac__type_new_))
21508 return 0;
21509 ;
21510 return 0;
21511 }
21512 _ACEOF
21513 rm -f conftest.$ac_objext
21514 if { (ac_try="$ac_compile"
21515 case "(($ac_try" in
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21518 esac
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_compile") 2>conftest.er1
21521 ac_status=$?
21522 grep -v '^ *+' conftest.er1 >conftest.err
21523 rm -f conftest.er1
21524 cat conftest.err >&5
21525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21526 (exit $ac_status); } && {
21527 test -z "$ac_c_werror_flag" ||
21528 test ! -s conftest.err
21529 } && test -s conftest.$ac_objext; then
21530 ac_cv_type_wchar_t=yes
21531 else
21532 echo "$as_me: failed program was:" >&5
21533 sed 's/^/| /' conftest.$ac_ext >&5
21534
21535 ac_cv_type_wchar_t=no
21536 fi
21537
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 fi
21540 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21541 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21542
21543 # The cast to long int works around a bug in the HP C Compiler
21544 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21545 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21546 # This bug is HP SR number 8606223364.
21547 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21548 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21549 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21550 echo $ECHO_N "(cached) $ECHO_C" >&6
21551 else
21552 if test "$cross_compiling" = yes; then
21553 # Depending upon the size, compute the lo and hi bounds.
21554 cat >conftest.$ac_ext <<_ACEOF
21555 /* confdefs.h. */
21556 _ACEOF
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560
21561 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21562 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21563 # error "fake wchar_t"
21564 #endif
21565 #ifdef HAVE_WCHAR_H
21566 # ifdef __CYGWIN__
21567 # include <stddef.h>
21568 # endif
21569 # include <wchar.h>
21570 #endif
21571 #ifdef HAVE_STDLIB_H
21572 # include <stdlib.h>
21573 #endif
21574 #include <stdio.h>
21575
21576
21577
21578 typedef wchar_t ac__type_sizeof_;
21579 int
21580 main ()
21581 {
21582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21583 test_array [0] = 0
21584
21585 ;
21586 return 0;
21587 }
21588 _ACEOF
21589 rm -f conftest.$ac_objext
21590 if { (ac_try="$ac_compile"
21591 case "(($ac_try" in
21592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21593 *) ac_try_echo=$ac_try;;
21594 esac
21595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21596 (eval "$ac_compile") 2>conftest.er1
21597 ac_status=$?
21598 grep -v '^ *+' conftest.er1 >conftest.err
21599 rm -f conftest.er1
21600 cat conftest.err >&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } && {
21603 test -z "$ac_c_werror_flag" ||
21604 test ! -s conftest.err
21605 } && test -s conftest.$ac_objext; then
21606 ac_lo=0 ac_mid=0
21607 while :; do
21608 cat >conftest.$ac_ext <<_ACEOF
21609 /* confdefs.h. */
21610 _ACEOF
21611 cat confdefs.h >>conftest.$ac_ext
21612 cat >>conftest.$ac_ext <<_ACEOF
21613 /* end confdefs.h. */
21614
21615 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21616 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21617 # error "fake wchar_t"
21618 #endif
21619 #ifdef HAVE_WCHAR_H
21620 # ifdef __CYGWIN__
21621 # include <stddef.h>
21622 # endif
21623 # include <wchar.h>
21624 #endif
21625 #ifdef HAVE_STDLIB_H
21626 # include <stdlib.h>
21627 #endif
21628 #include <stdio.h>
21629
21630
21631
21632 typedef wchar_t ac__type_sizeof_;
21633 int
21634 main ()
21635 {
21636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21637 test_array [0] = 0
21638
21639 ;
21640 return 0;
21641 }
21642 _ACEOF
21643 rm -f conftest.$ac_objext
21644 if { (ac_try="$ac_compile"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21648 esac
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_compile") 2>conftest.er1
21651 ac_status=$?
21652 grep -v '^ *+' conftest.er1 >conftest.err
21653 rm -f conftest.er1
21654 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && {
21657 test -z "$ac_c_werror_flag" ||
21658 test ! -s conftest.err
21659 } && test -s conftest.$ac_objext; then
21660 ac_hi=$ac_mid; break
21661 else
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ac_lo=`expr $ac_mid + 1`
21666 if test $ac_lo -le $ac_mid; then
21667 ac_lo= ac_hi=
21668 break
21669 fi
21670 ac_mid=`expr 2 '*' $ac_mid + 1`
21671 fi
21672
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21674 done
21675 else
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.$ac_ext >&5
21678
21679 cat >conftest.$ac_ext <<_ACEOF
21680 /* confdefs.h. */
21681 _ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685
21686 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21687 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21688 # error "fake wchar_t"
21689 #endif
21690 #ifdef HAVE_WCHAR_H
21691 # ifdef __CYGWIN__
21692 # include <stddef.h>
21693 # endif
21694 # include <wchar.h>
21695 #endif
21696 #ifdef HAVE_STDLIB_H
21697 # include <stdlib.h>
21698 #endif
21699 #include <stdio.h>
21700
21701
21702
21703 typedef wchar_t ac__type_sizeof_;
21704 int
21705 main ()
21706 {
21707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21708 test_array [0] = 0
21709
21710 ;
21711 return 0;
21712 }
21713 _ACEOF
21714 rm -f conftest.$ac_objext
21715 if { (ac_try="$ac_compile"
21716 case "(($ac_try" in
21717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21718 *) ac_try_echo=$ac_try;;
21719 esac
21720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21721 (eval "$ac_compile") 2>conftest.er1
21722 ac_status=$?
21723 grep -v '^ *+' conftest.er1 >conftest.err
21724 rm -f conftest.er1
21725 cat conftest.err >&5
21726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21727 (exit $ac_status); } && {
21728 test -z "$ac_c_werror_flag" ||
21729 test ! -s conftest.err
21730 } && test -s conftest.$ac_objext; then
21731 ac_hi=-1 ac_mid=-1
21732 while :; do
21733 cat >conftest.$ac_ext <<_ACEOF
21734 /* confdefs.h. */
21735 _ACEOF
21736 cat confdefs.h >>conftest.$ac_ext
21737 cat >>conftest.$ac_ext <<_ACEOF
21738 /* end confdefs.h. */
21739
21740 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21741 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21742 # error "fake wchar_t"
21743 #endif
21744 #ifdef HAVE_WCHAR_H
21745 # ifdef __CYGWIN__
21746 # include <stddef.h>
21747 # endif
21748 # include <wchar.h>
21749 #endif
21750 #ifdef HAVE_STDLIB_H
21751 # include <stdlib.h>
21752 #endif
21753 #include <stdio.h>
21754
21755
21756
21757 typedef wchar_t ac__type_sizeof_;
21758 int
21759 main ()
21760 {
21761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21762 test_array [0] = 0
21763
21764 ;
21765 return 0;
21766 }
21767 _ACEOF
21768 rm -f conftest.$ac_objext
21769 if { (ac_try="$ac_compile"
21770 case "(($ac_try" in
21771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21772 *) ac_try_echo=$ac_try;;
21773 esac
21774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21775 (eval "$ac_compile") 2>conftest.er1
21776 ac_status=$?
21777 grep -v '^ *+' conftest.er1 >conftest.err
21778 rm -f conftest.er1
21779 cat conftest.err >&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } && {
21782 test -z "$ac_c_werror_flag" ||
21783 test ! -s conftest.err
21784 } && test -s conftest.$ac_objext; then
21785 ac_lo=$ac_mid; break
21786 else
21787 echo "$as_me: failed program was:" >&5
21788 sed 's/^/| /' conftest.$ac_ext >&5
21789
21790 ac_hi=`expr '(' $ac_mid ')' - 1`
21791 if test $ac_mid -le $ac_hi; then
21792 ac_lo= ac_hi=
21793 break
21794 fi
21795 ac_mid=`expr 2 '*' $ac_mid`
21796 fi
21797
21798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21799 done
21800 else
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.$ac_ext >&5
21803
21804 ac_lo= ac_hi=
21805 fi
21806
21807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21808 fi
21809
21810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21811 # Binary search between lo and hi bounds.
21812 while test "x$ac_lo" != "x$ac_hi"; do
21813 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21814 cat >conftest.$ac_ext <<_ACEOF
21815 /* confdefs.h. */
21816 _ACEOF
21817 cat confdefs.h >>conftest.$ac_ext
21818 cat >>conftest.$ac_ext <<_ACEOF
21819 /* end confdefs.h. */
21820
21821 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21822 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21823 # error "fake wchar_t"
21824 #endif
21825 #ifdef HAVE_WCHAR_H
21826 # ifdef __CYGWIN__
21827 # include <stddef.h>
21828 # endif
21829 # include <wchar.h>
21830 #endif
21831 #ifdef HAVE_STDLIB_H
21832 # include <stdlib.h>
21833 #endif
21834 #include <stdio.h>
21835
21836
21837
21838 typedef wchar_t ac__type_sizeof_;
21839 int
21840 main ()
21841 {
21842 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21843 test_array [0] = 0
21844
21845 ;
21846 return 0;
21847 }
21848 _ACEOF
21849 rm -f conftest.$ac_objext
21850 if { (ac_try="$ac_compile"
21851 case "(($ac_try" in
21852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21853 *) ac_try_echo=$ac_try;;
21854 esac
21855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21856 (eval "$ac_compile") 2>conftest.er1
21857 ac_status=$?
21858 grep -v '^ *+' conftest.er1 >conftest.err
21859 rm -f conftest.er1
21860 cat conftest.err >&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); } && {
21863 test -z "$ac_c_werror_flag" ||
21864 test ! -s conftest.err
21865 } && test -s conftest.$ac_objext; then
21866 ac_hi=$ac_mid
21867 else
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21870
21871 ac_lo=`expr '(' $ac_mid ')' + 1`
21872 fi
21873
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875 done
21876 case $ac_lo in
21877 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21878 '') if test "$ac_cv_type_wchar_t" = yes; then
21879 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21880 See \`config.log' for more details." >&5
21881 echo "$as_me: error: cannot compute sizeof (wchar_t)
21882 See \`config.log' for more details." >&2;}
21883 { (exit 77); exit 77; }; }
21884 else
21885 ac_cv_sizeof_wchar_t=0
21886 fi ;;
21887 esac
21888 else
21889 cat >conftest.$ac_ext <<_ACEOF
21890 /* confdefs.h. */
21891 _ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895
21896 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21897 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21898 # error "fake wchar_t"
21899 #endif
21900 #ifdef HAVE_WCHAR_H
21901 # ifdef __CYGWIN__
21902 # include <stddef.h>
21903 # endif
21904 # include <wchar.h>
21905 #endif
21906 #ifdef HAVE_STDLIB_H
21907 # include <stdlib.h>
21908 #endif
21909 #include <stdio.h>
21910
21911
21912
21913 typedef wchar_t ac__type_sizeof_;
21914 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21915 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21916 #include <stdio.h>
21917 #include <stdlib.h>
21918 int
21919 main ()
21920 {
21921
21922 FILE *f = fopen ("conftest.val", "w");
21923 if (! f)
21924 return 1;
21925 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21926 {
21927 long int i = longval ();
21928 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21929 return 1;
21930 fprintf (f, "%ld\n", i);
21931 }
21932 else
21933 {
21934 unsigned long int i = ulongval ();
21935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21936 return 1;
21937 fprintf (f, "%lu\n", i);
21938 }
21939 return ferror (f) || fclose (f) != 0;
21940
21941 ;
21942 return 0;
21943 }
21944 _ACEOF
21945 rm -f conftest$ac_exeext
21946 if { (ac_try="$ac_link"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21950 esac
21951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_link") 2>&5
21953 ac_status=$?
21954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21956 { (case "(($ac_try" in
21957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21958 *) ac_try_echo=$ac_try;;
21959 esac
21960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21961 (eval "$ac_try") 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; }; then
21965 ac_cv_sizeof_wchar_t=`cat conftest.val`
21966 else
21967 echo "$as_me: program exited with status $ac_status" >&5
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 ( exit $ac_status )
21972 if test "$ac_cv_type_wchar_t" = yes; then
21973 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21974 See \`config.log' for more details." >&5
21975 echo "$as_me: error: cannot compute sizeof (wchar_t)
21976 See \`config.log' for more details." >&2;}
21977 { (exit 77); exit 77; }; }
21978 else
21979 ac_cv_sizeof_wchar_t=0
21980 fi
21981 fi
21982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21983 fi
21984 rm -f conftest.val
21985 fi
21986 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21987 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21988
21989
21990
21991 cat >>confdefs.h <<_ACEOF
21992 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21993 _ACEOF
21994
21995
21996 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21997 wxUSE_WCHAR_T=yes
21998 else
21999 wxUSE_WCHAR_T=no
22000 fi
22001
22002 { echo "$as_me:$LINENO: checking for va_copy" >&5
22003 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22004 if test "${wx_cv_func_va_copy+set}" = set; then
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22006 else
22007
22008 cat >conftest.$ac_ext <<_ACEOF
22009
22010 #include <stdarg.h>
22011 void foo(char *f, ...)
22012 {
22013 va_list ap1, ap2;
22014 va_start(ap1, f);
22015 va_copy(ap2, ap1);
22016 va_end(ap2);
22017 va_end(ap1);
22018 }
22019 int main()
22020 {
22021 foo("hi", 17);
22022 return 0;
22023 }
22024 _ACEOF
22025 rm -f conftest.$ac_objext conftest$ac_exeext
22026 if { (ac_try="$ac_link"
22027 case "(($ac_try" in
22028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22029 *) ac_try_echo=$ac_try;;
22030 esac
22031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22032 (eval "$ac_link") 2>conftest.er1
22033 ac_status=$?
22034 grep -v '^ *+' conftest.er1 >conftest.err
22035 rm -f conftest.er1
22036 cat conftest.err >&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } && {
22039 test -z "$ac_c_werror_flag" ||
22040 test ! -s conftest.err
22041 } && test -s conftest$ac_exeext &&
22042 $as_test_x conftest$ac_exeext; then
22043 wx_cv_func_va_copy=yes
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22047
22048 wx_cv_func_va_copy=no
22049
22050 fi
22051
22052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22053 conftest$ac_exeext conftest.$ac_ext
22054
22055
22056 fi
22057 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22058 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22059
22060 if test $wx_cv_func_va_copy = "yes"; then
22061 cat >>confdefs.h <<\_ACEOF
22062 #define HAVE_VA_COPY 1
22063 _ACEOF
22064
22065 else
22066 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22067 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22068 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22069 echo $ECHO_N "(cached) $ECHO_C" >&6
22070 else
22071
22072 if test "$cross_compiling" = yes; then
22073 wx_cv_type_va_list_lvalue=yes
22074
22075 else
22076 cat >conftest.$ac_ext <<_ACEOF
22077
22078 #include <stdarg.h>
22079 int foo(char *f, ...)
22080 {
22081 va_list ap1, ap2;
22082 va_start(ap1, f);
22083 ap2 = ap1;
22084 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22085 return 1;
22086 va_end(ap2);
22087 va_end(ap1);
22088 return 0;
22089 }
22090 int main()
22091 {
22092 return foo("hi", 17);
22093 }
22094 _ACEOF
22095 rm -f conftest$ac_exeext
22096 if { (ac_try="$ac_link"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_link") 2>&5
22103 ac_status=$?
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22106 { (case "(($ac_try" in
22107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22108 *) ac_try_echo=$ac_try;;
22109 esac
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_try") 2>&5
22112 ac_status=$?
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); }; }; then
22115 wx_cv_type_va_list_lvalue=yes
22116 else
22117 echo "$as_me: program exited with status $ac_status" >&5
22118 echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.$ac_ext >&5
22120
22121 ( exit $ac_status )
22122 wx_cv_type_va_list_lvalue=no
22123 fi
22124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22125 fi
22126
22127
22128
22129
22130 fi
22131 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22132 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22133
22134 if test $wx_cv_type_va_list_lvalue != "yes"; then
22135 cat >>confdefs.h <<\_ACEOF
22136 #define VA_LIST_IS_ARRAY 1
22137 _ACEOF
22138
22139 fi
22140 fi
22141
22142 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22143
22144 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22145 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22146 if test "${wx_cv_have_variadic_macros+set}" = set; then
22147 echo $ECHO_N "(cached) $ECHO_C" >&6
22148 else
22149
22150 ac_ext=cpp
22151 ac_cpp='$CXXCPP $CPPFLAGS'
22152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22155
22156 cat >conftest.$ac_ext <<_ACEOF
22157 /* confdefs.h. */
22158 _ACEOF
22159 cat confdefs.h >>conftest.$ac_ext
22160 cat >>conftest.$ac_ext <<_ACEOF
22161 /* end confdefs.h. */
22162
22163 #include <stdio.h>
22164 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22165
22166 int
22167 main ()
22168 {
22169
22170 test("%s %d %p", "test", 1, 0);
22171
22172
22173 ;
22174 return 0;
22175 }
22176 _ACEOF
22177 rm -f conftest.$ac_objext
22178 if { (ac_try="$ac_compile"
22179 case "(($ac_try" in
22180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22181 *) ac_try_echo=$ac_try;;
22182 esac
22183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22184 (eval "$ac_compile") 2>conftest.er1
22185 ac_status=$?
22186 grep -v '^ *+' conftest.er1 >conftest.err
22187 rm -f conftest.er1
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } && {
22191 test -z "$ac_cxx_werror_flag" ||
22192 test ! -s conftest.err
22193 } && test -s conftest.$ac_objext; then
22194 wx_cv_have_variadic_macros=yes
22195 else
22196 echo "$as_me: failed program was:" >&5
22197 sed 's/^/| /' conftest.$ac_ext >&5
22198
22199 wx_cv_have_variadic_macros=no
22200
22201 fi
22202
22203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22204 ac_ext=c
22205 ac_cpp='$CPP $CPPFLAGS'
22206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22209
22210
22211
22212 fi
22213 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22214 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22215
22216 if test $wx_cv_have_variadic_macros = "yes"; then
22217 cat >>confdefs.h <<\_ACEOF
22218 #define HAVE_VARIADIC_MACROS 1
22219 _ACEOF
22220
22221 fi
22222
22223 fi
22224 # Check whether --enable-largefile was given.
22225 if test "${enable_largefile+set}" = set; then
22226 enableval=$enable_largefile;
22227 fi
22228
22229 if test "$enable_largefile" != no; then
22230 wx_largefile=no
22231
22232 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22233 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22234 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22235 echo $ECHO_N "(cached) $ECHO_C" >&6
22236 else
22237
22238 cat >conftest.$ac_ext <<_ACEOF
22239 /* confdefs.h. */
22240 _ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 #define _FILE_OFFSET_BITS 64
22245 #include <sys/types.h>
22246 int
22247 main ()
22248 {
22249 typedef struct {
22250 unsigned int field: sizeof(off_t) == 8;
22251 } wxlf;
22252
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22262 esac
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.$ac_objext; then
22274 ac_cv_sys_file_offset_bits=64
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 ac_cv_sys_file_offset_bits=no
22280 fi
22281
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283
22284
22285 fi
22286 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22287 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22288
22289 if test "$ac_cv_sys_file_offset_bits" != no; then
22290 wx_largefile=yes
22291 cat >>confdefs.h <<_ACEOF
22292 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22293 _ACEOF
22294
22295 fi
22296
22297 if test "x$wx_largefile" != "xyes"; then
22298
22299 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22300 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22301 if test "${ac_cv_sys_large_files+set}" = set; then
22302 echo $ECHO_N "(cached) $ECHO_C" >&6
22303 else
22304
22305 cat >conftest.$ac_ext <<_ACEOF
22306 /* confdefs.h. */
22307 _ACEOF
22308 cat confdefs.h >>conftest.$ac_ext
22309 cat >>conftest.$ac_ext <<_ACEOF
22310 /* end confdefs.h. */
22311 #define _LARGE_FILES 1
22312 #include <sys/types.h>
22313 int
22314 main ()
22315 {
22316 typedef struct {
22317 unsigned int field: sizeof(off_t) == 8;
22318 } wxlf;
22319
22320 ;
22321 return 0;
22322 }
22323 _ACEOF
22324 rm -f conftest.$ac_objext
22325 if { (ac_try="$ac_compile"
22326 case "(($ac_try" in
22327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22328 *) ac_try_echo=$ac_try;;
22329 esac
22330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22331 (eval "$ac_compile") 2>conftest.er1
22332 ac_status=$?
22333 grep -v '^ *+' conftest.er1 >conftest.err
22334 rm -f conftest.er1
22335 cat conftest.err >&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } && {
22338 test -z "$ac_c_werror_flag" ||
22339 test ! -s conftest.err
22340 } && test -s conftest.$ac_objext; then
22341 ac_cv_sys_large_files=1
22342 else
22343 echo "$as_me: failed program was:" >&5
22344 sed 's/^/| /' conftest.$ac_ext >&5
22345
22346 ac_cv_sys_large_files=no
22347 fi
22348
22349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22350
22351
22352 fi
22353 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22354 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22355
22356 if test "$ac_cv_sys_large_files" != no; then
22357 wx_largefile=yes
22358 cat >>confdefs.h <<_ACEOF
22359 #define _LARGE_FILES $ac_cv_sys_large_files
22360 _ACEOF
22361
22362 fi
22363
22364 fi
22365
22366 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22367 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22368 if test "x$wx_largefile" = "xyes"; then
22369 cat >>confdefs.h <<\_ACEOF
22370 #define HAVE_LARGEFILE_SUPPORT 1
22371 _ACEOF
22372
22373 fi
22374 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22375 echo "${ECHO_T}$wx_largefile" >&6; }
22376 fi
22377
22378
22379 if test "x$wx_largefile" = "xyes"; then
22380 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22381 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22382
22383 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22384 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22385 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22386 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 else
22389
22390 ac_ext=cpp
22391 ac_cpp='$CXXCPP $CPPFLAGS'
22392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22395
22396 cat >conftest.$ac_ext <<_ACEOF
22397 /* confdefs.h. */
22398 _ACEOF
22399 cat confdefs.h >>conftest.$ac_ext
22400 cat >>conftest.$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22402
22403 int
22404 main ()
22405 {
22406
22407 #ifndef __STDC_EXT__
22408 choke me
22409 #endif
22410
22411 ;
22412 return 0;
22413 }
22414 _ACEOF
22415 rm -f conftest.$ac_objext
22416 if { (ac_try="$ac_compile"
22417 case "(($ac_try" in
22418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22419 *) ac_try_echo=$ac_try;;
22420 esac
22421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22422 (eval "$ac_compile") 2>conftest.er1
22423 ac_status=$?
22424 grep -v '^ *+' conftest.er1 >conftest.err
22425 rm -f conftest.er1
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } && {
22429 test -z "$ac_cxx_werror_flag" ||
22430 test ! -s conftest.err
22431 } && test -s conftest.$ac_objext; then
22432 wx_cv_STDC_EXT_required=no
22433 else
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.$ac_ext >&5
22436
22437 wx_cv_STDC_EXT_required=yes
22438
22439 fi
22440
22441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22442 ac_ext=c
22443 ac_cpp='$CPP $CPPFLAGS'
22444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22447
22448
22449
22450 fi
22451 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22452 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22453 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22454 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22455 fi
22456 fi
22457 else
22458 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22459 fi
22460 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22461 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22462 if test "${ac_cv_sys_largefile_source+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22464 else
22465 while :; do
22466 cat >conftest.$ac_ext <<_ACEOF
22467 /* confdefs.h. */
22468 _ACEOF
22469 cat confdefs.h >>conftest.$ac_ext
22470 cat >>conftest.$ac_ext <<_ACEOF
22471 /* end confdefs.h. */
22472 #include <stdio.h>
22473 int
22474 main ()
22475 {
22476 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22477 ;
22478 return 0;
22479 }
22480 _ACEOF
22481 rm -f conftest.$ac_objext conftest$ac_exeext
22482 if { (ac_try="$ac_link"
22483 case "(($ac_try" in
22484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22485 *) ac_try_echo=$ac_try;;
22486 esac
22487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22488 (eval "$ac_link") 2>conftest.er1
22489 ac_status=$?
22490 grep -v '^ *+' conftest.er1 >conftest.err
22491 rm -f conftest.er1
22492 cat conftest.err >&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } && {
22495 test -z "$ac_c_werror_flag" ||
22496 test ! -s conftest.err
22497 } && test -s conftest$ac_exeext &&
22498 $as_test_x conftest$ac_exeext; then
22499 ac_cv_sys_largefile_source=no; break
22500 else
22501 echo "$as_me: failed program was:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22503
22504
22505 fi
22506
22507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22508 conftest$ac_exeext conftest.$ac_ext
22509 cat >conftest.$ac_ext <<_ACEOF
22510 /* confdefs.h. */
22511 _ACEOF
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 #define _LARGEFILE_SOURCE 1
22516 #include <stdio.h>
22517 int
22518 main ()
22519 {
22520 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22521 ;
22522 return 0;
22523 }
22524 _ACEOF
22525 rm -f conftest.$ac_objext conftest$ac_exeext
22526 if { (ac_try="$ac_link"
22527 case "(($ac_try" in
22528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22529 *) ac_try_echo=$ac_try;;
22530 esac
22531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22532 (eval "$ac_link") 2>conftest.er1
22533 ac_status=$?
22534 grep -v '^ *+' conftest.er1 >conftest.err
22535 rm -f conftest.er1
22536 cat conftest.err >&5
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); } && {
22539 test -z "$ac_c_werror_flag" ||
22540 test ! -s conftest.err
22541 } && test -s conftest$ac_exeext &&
22542 $as_test_x conftest$ac_exeext; then
22543 ac_cv_sys_largefile_source=1; break
22544 else
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.$ac_ext >&5
22547
22548
22549 fi
22550
22551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22552 conftest$ac_exeext conftest.$ac_ext
22553 ac_cv_sys_largefile_source=unknown
22554 break
22555 done
22556 fi
22557 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22558 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22559 case $ac_cv_sys_largefile_source in #(
22560 no | unknown) ;;
22561 *)
22562 cat >>confdefs.h <<_ACEOF
22563 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22564 _ACEOF
22565 ;;
22566 esac
22567 rm -f conftest*
22568
22569 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22570 # in glibc 2.1.3, but that breaks too many other things.
22571 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22572 if test $ac_cv_sys_largefile_source != unknown; then
22573
22574 cat >>confdefs.h <<\_ACEOF
22575 #define HAVE_FSEEKO 1
22576 _ACEOF
22577
22578 fi
22579
22580 if test "$ac_cv_sys_largefile_source" != no; then
22581 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22582 fi
22583 fi
22584
22585 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22586 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22587 if test "${ac_cv_c_bigendian+set}" = set; then
22588 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 else
22590 ac_cv_c_bigendian=unknown
22591 # See if sys/param.h defines the BYTE_ORDER macro.
22592 cat >conftest.$ac_ext <<_ACEOF
22593 /* confdefs.h. */
22594 _ACEOF
22595 cat confdefs.h >>conftest.$ac_ext
22596 cat >>conftest.$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22598 #include <sys/types.h>
22599 #include <sys/param.h>
22600 int
22601 main ()
22602 {
22603
22604 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22605 bogus endian macros
22606 #endif
22607 ;
22608 return 0;
22609 }
22610 _ACEOF
22611 rm -f conftest.$ac_objext
22612 if { (ac_try="$ac_compile"
22613 case "(($ac_try" in
22614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22615 *) ac_try_echo=$ac_try;;
22616 esac
22617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22618 (eval "$ac_compile") 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } && {
22625 test -z "$ac_c_werror_flag" ||
22626 test ! -s conftest.err
22627 } && test -s conftest.$ac_objext; then
22628 # It does; now see whether it defined to BIG_ENDIAN or not.
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 #include <sys/types.h>
22636 #include <sys/param.h>
22637 int
22638 main ()
22639 {
22640
22641 #if BYTE_ORDER != BIG_ENDIAN
22642 not big endian
22643 #endif
22644 ;
22645 return 0;
22646 }
22647 _ACEOF
22648 rm -f conftest.$ac_objext
22649 if { (ac_try="$ac_compile"
22650 case "(($ac_try" in
22651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22652 *) ac_try_echo=$ac_try;;
22653 esac
22654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22655 (eval "$ac_compile") 2>conftest.er1
22656 ac_status=$?
22657 grep -v '^ *+' conftest.er1 >conftest.err
22658 rm -f conftest.er1
22659 cat conftest.err >&5
22660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22661 (exit $ac_status); } && {
22662 test -z "$ac_c_werror_flag" ||
22663 test ! -s conftest.err
22664 } && test -s conftest.$ac_objext; then
22665 ac_cv_c_bigendian=yes
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22669
22670 ac_cv_c_bigendian=no
22671 fi
22672
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 else
22675 echo "$as_me: failed program was:" >&5
22676 sed 's/^/| /' conftest.$ac_ext >&5
22677
22678
22679 fi
22680
22681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22682 if test $ac_cv_c_bigendian = unknown; then
22683 if test "$cross_compiling" = yes; then
22684 ac_cv_c_bigendian=unknown
22685 else
22686 cat >conftest.$ac_ext <<_ACEOF
22687 /* confdefs.h. */
22688 _ACEOF
22689 cat confdefs.h >>conftest.$ac_ext
22690 cat >>conftest.$ac_ext <<_ACEOF
22691 /* end confdefs.h. */
22692 main () {
22693 /* Are we little or big endian? From Harbison&Steele. */
22694 union
22695 {
22696 long l;
22697 char c[sizeof (long)];
22698 } u;
22699 u.l = 1;
22700 exit (u.c[sizeof (long) - 1] == 1);
22701 }
22702 _ACEOF
22703 rm -f conftest$ac_exeext
22704 if { (ac_try="$ac_link"
22705 case "(($ac_try" in
22706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22707 *) ac_try_echo=$ac_try;;
22708 esac
22709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22710 (eval "$ac_link") 2>&5
22711 ac_status=$?
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22714 { (case "(($ac_try" in
22715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22716 *) ac_try_echo=$ac_try;;
22717 esac
22718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22719 (eval "$ac_try") 2>&5
22720 ac_status=$?
22721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22722 (exit $ac_status); }; }; then
22723 ac_cv_c_bigendian=no
22724 else
22725 echo "$as_me: program exited with status $ac_status" >&5
22726 echo "$as_me: failed program was:" >&5
22727 sed 's/^/| /' conftest.$ac_ext >&5
22728
22729 ( exit $ac_status )
22730 ac_cv_c_bigendian=yes
22731 fi
22732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22733 fi
22734
22735
22736 fi
22737 fi
22738 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22739 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22740 if test $ac_cv_c_bigendian = unknown; then
22741 { 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
22742 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;}
22743 fi
22744 if test $ac_cv_c_bigendian = yes; then
22745 cat >>confdefs.h <<\_ACEOF
22746 #define WORDS_BIGENDIAN 1
22747 _ACEOF
22748
22749 fi
22750
22751
22752
22753
22754 ac_ext=cpp
22755 ac_cpp='$CXXCPP $CPPFLAGS'
22756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22759
22760
22761 { echo "$as_me:$LINENO: checking for iostream" >&5
22762 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22763 if test "${ac_cv_header_iostream+set}" = set; then
22764 echo $ECHO_N "(cached) $ECHO_C" >&6
22765 else
22766 cat >conftest.$ac_ext <<_ACEOF
22767 /* confdefs.h. */
22768 _ACEOF
22769 cat confdefs.h >>conftest.$ac_ext
22770 cat >>conftest.$ac_ext <<_ACEOF
22771 /* end confdefs.h. */
22772
22773
22774 #include <iostream>
22775 _ACEOF
22776 rm -f conftest.$ac_objext
22777 if { (ac_try="$ac_compile"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22781 esac
22782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_compile") 2>conftest.er1
22784 ac_status=$?
22785 grep -v '^ *+' conftest.er1 >conftest.err
22786 rm -f conftest.er1
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } && {
22790 test -z "$ac_cxx_werror_flag" ||
22791 test ! -s conftest.err
22792 } && test -s conftest.$ac_objext; then
22793 ac_cv_header_iostream=yes
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 ac_cv_header_iostream=no
22799 fi
22800
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 fi
22803 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22804 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22805
22806
22807
22808 if test "$ac_cv_header_iostream" = "yes" ; then
22809 :
22810 else
22811 cat >>confdefs.h <<\_ACEOF
22812 #define wxUSE_IOSTREAMH 1
22813 _ACEOF
22814
22815 fi
22816
22817 ac_ext=c
22818 ac_cpp='$CPP $CPPFLAGS'
22819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22822
22823
22824
22825
22826 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22827 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22828 if test "${wx_cv_cpp_bool+set}" = set; then
22829 echo $ECHO_N "(cached) $ECHO_C" >&6
22830 else
22831
22832
22833 ac_ext=cpp
22834 ac_cpp='$CXXCPP $CPPFLAGS'
22835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22838
22839
22840 cat >conftest.$ac_ext <<_ACEOF
22841 /* confdefs.h. */
22842 _ACEOF
22843 cat confdefs.h >>conftest.$ac_ext
22844 cat >>conftest.$ac_ext <<_ACEOF
22845 /* end confdefs.h. */
22846
22847
22848 int
22849 main ()
22850 {
22851
22852 bool b = true;
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 wx_cv_cpp_bool=yes
22879
22880 else
22881 echo "$as_me: failed program was:" >&5
22882 sed 's/^/| /' conftest.$ac_ext >&5
22883
22884
22885 wx_cv_cpp_bool=no
22886
22887
22888 fi
22889
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22891
22892 ac_ext=c
22893 ac_cpp='$CPP $CPPFLAGS'
22894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22897
22898
22899 fi
22900 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22901 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22902
22903 if test "$wx_cv_cpp_bool" = "yes"; then
22904 cat >>confdefs.h <<\_ACEOF
22905 #define HAVE_BOOL 1
22906 _ACEOF
22907
22908 fi
22909
22910
22911
22912 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22913 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22914 if test "${wx_cv_explicit+set}" = set; then
22915 echo $ECHO_N "(cached) $ECHO_C" >&6
22916 else
22917
22918
22919 ac_ext=cpp
22920 ac_cpp='$CXXCPP $CPPFLAGS'
22921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22924
22925
22926 cat >conftest.$ac_ext <<_ACEOF
22927 /* confdefs.h. */
22928 _ACEOF
22929 cat confdefs.h >>conftest.$ac_ext
22930 cat >>conftest.$ac_ext <<_ACEOF
22931 /* end confdefs.h. */
22932
22933 class Foo { public: explicit Foo(int) {} };
22934
22935 int
22936 main ()
22937 {
22938
22939 return 0;
22940
22941 ;
22942 return 0;
22943 }
22944 _ACEOF
22945 rm -f conftest.$ac_objext
22946 if { (ac_try="$ac_compile"
22947 case "(($ac_try" in
22948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22949 *) ac_try_echo=$ac_try;;
22950 esac
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_compile") 2>conftest.er1
22953 ac_status=$?
22954 grep -v '^ *+' conftest.er1 >conftest.err
22955 rm -f conftest.er1
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } && {
22959 test -z "$ac_cxx_werror_flag" ||
22960 test ! -s conftest.err
22961 } && test -s conftest.$ac_objext; then
22962
22963 cat >conftest.$ac_ext <<_ACEOF
22964 /* confdefs.h. */
22965 _ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969
22970 class Foo { public: explicit Foo(int) {} };
22971 static void TakeFoo(const Foo& foo) { }
22972
22973 int
22974 main ()
22975 {
22976
22977 TakeFoo(17);
22978 return 0;
22979
22980 ;
22981 return 0;
22982 }
22983 _ACEOF
22984 rm -f conftest.$ac_objext
22985 if { (ac_try="$ac_compile"
22986 case "(($ac_try" in
22987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22988 *) ac_try_echo=$ac_try;;
22989 esac
22990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991 (eval "$ac_compile") 2>conftest.er1
22992 ac_status=$?
22993 grep -v '^ *+' conftest.er1 >conftest.err
22994 rm -f conftest.er1
22995 cat conftest.err >&5
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); } && {
22998 test -z "$ac_cxx_werror_flag" ||
22999 test ! -s conftest.err
23000 } && test -s conftest.$ac_objext; then
23001 wx_cv_explicit=no
23002 else
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23005
23006 wx_cv_explicit=yes
23007
23008 fi
23009
23010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23011
23012 else
23013 echo "$as_me: failed program was:" >&5
23014 sed 's/^/| /' conftest.$ac_ext >&5
23015
23016 wx_cv_explicit=no
23017
23018 fi
23019
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23021
23022 ac_ext=c
23023 ac_cpp='$CPP $CPPFLAGS'
23024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23027
23028
23029 fi
23030 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23031 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23032
23033 if test "$wx_cv_explicit" = "yes"; then
23034 cat >>confdefs.h <<\_ACEOF
23035 #define HAVE_EXPLICIT 1
23036 _ACEOF
23037
23038 fi
23039
23040
23041 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23042 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23043 if test "${ac_cv_cxx_const_cast+set}" = set; then
23044 echo $ECHO_N "(cached) $ECHO_C" >&6
23045 else
23046
23047 ac_ext=cpp
23048 ac_cpp='$CXXCPP $CPPFLAGS'
23049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23052
23053 cat >conftest.$ac_ext <<_ACEOF
23054 /* confdefs.h. */
23055 _ACEOF
23056 cat confdefs.h >>conftest.$ac_ext
23057 cat >>conftest.$ac_ext <<_ACEOF
23058 /* end confdefs.h. */
23059
23060 int
23061 main ()
23062 {
23063 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23064 ;
23065 return 0;
23066 }
23067 _ACEOF
23068 rm -f conftest.$ac_objext
23069 if { (ac_try="$ac_compile"
23070 case "(($ac_try" in
23071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23072 *) ac_try_echo=$ac_try;;
23073 esac
23074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23075 (eval "$ac_compile") 2>conftest.er1
23076 ac_status=$?
23077 grep -v '^ *+' conftest.er1 >conftest.err
23078 rm -f conftest.er1
23079 cat conftest.err >&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } && {
23082 test -z "$ac_cxx_werror_flag" ||
23083 test ! -s conftest.err
23084 } && test -s conftest.$ac_objext; then
23085 ac_cv_cxx_const_cast=yes
23086 else
23087 echo "$as_me: failed program was:" >&5
23088 sed 's/^/| /' conftest.$ac_ext >&5
23089
23090 ac_cv_cxx_const_cast=no
23091 fi
23092
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094 ac_ext=c
23095 ac_cpp='$CPP $CPPFLAGS'
23096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23099
23100
23101 fi
23102 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23103 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23104 if test "$ac_cv_cxx_const_cast" = yes; then
23105
23106 cat >>confdefs.h <<\_ACEOF
23107 #define HAVE_CONST_CAST
23108 _ACEOF
23109
23110 fi
23111
23112 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23113 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23114 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23115 echo $ECHO_N "(cached) $ECHO_C" >&6
23116 else
23117
23118 ac_ext=cpp
23119 ac_cpp='$CXXCPP $CPPFLAGS'
23120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h. */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130 #include <typeinfo>
23131 class Base { public : Base () {} virtual void f () = 0;};
23132 class Derived : public Base { public : Derived () {} virtual void f () {} };
23133 class Unrelated { public : Unrelated () {} };
23134 int g (Unrelated&) { return 0; }
23135 int
23136 main ()
23137 {
23138
23139 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23140 ;
23141 return 0;
23142 }
23143 _ACEOF
23144 rm -f conftest.$ac_objext
23145 if { (ac_try="$ac_compile"
23146 case "(($ac_try" in
23147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23148 *) ac_try_echo=$ac_try;;
23149 esac
23150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23151 (eval "$ac_compile") 2>conftest.er1
23152 ac_status=$?
23153 grep -v '^ *+' conftest.er1 >conftest.err
23154 rm -f conftest.er1
23155 cat conftest.err >&5
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); } && {
23158 test -z "$ac_cxx_werror_flag" ||
23159 test ! -s conftest.err
23160 } && test -s conftest.$ac_objext; then
23161 ac_cv_cxx_reinterpret_cast=yes
23162 else
23163 echo "$as_me: failed program was:" >&5
23164 sed 's/^/| /' conftest.$ac_ext >&5
23165
23166 ac_cv_cxx_reinterpret_cast=no
23167 fi
23168
23169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23170 ac_ext=c
23171 ac_cpp='$CPP $CPPFLAGS'
23172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175
23176
23177 fi
23178 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23179 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23180 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23181
23182 cat >>confdefs.h <<\_ACEOF
23183 #define HAVE_REINTERPRET_CAST
23184 _ACEOF
23185
23186 fi
23187
23188 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23189 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23190 if test "${ac_cv_cxx_static_cast+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23192 else
23193
23194 ac_ext=cpp
23195 ac_cpp='$CXXCPP $CPPFLAGS'
23196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23199
23200 cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h. */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 #include <typeinfo>
23207 class Base { public : Base () {} virtual void f () = 0; };
23208 class Derived : public Base { public : Derived () {} virtual void f () {} };
23209 int g (Derived&) { return 0; }
23210 int
23211 main ()
23212 {
23213
23214 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23215 ;
23216 return 0;
23217 }
23218 _ACEOF
23219 rm -f conftest.$ac_objext
23220 if { (ac_try="$ac_compile"
23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23224 esac
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_compile") 2>conftest.er1
23227 ac_status=$?
23228 grep -v '^ *+' conftest.er1 >conftest.err
23229 rm -f conftest.er1
23230 cat conftest.err >&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && {
23233 test -z "$ac_cxx_werror_flag" ||
23234 test ! -s conftest.err
23235 } && test -s conftest.$ac_objext; then
23236 ac_cv_cxx_static_cast=yes
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 ac_cv_cxx_static_cast=no
23242 fi
23243
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 ac_ext=c
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23250
23251
23252 fi
23253 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23254 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23255 if test "$ac_cv_cxx_static_cast" = yes; then
23256
23257 cat >>confdefs.h <<\_ACEOF
23258 #define HAVE_STATIC_CAST
23259 _ACEOF
23260
23261 fi
23262
23263
23264 if test "x$SUNCXX" = xyes; then
23265 CXXFLAGS="-features=tmplife $CXXFLAGS"
23266 fi
23267
23268 if test "x$SUNCC" = xyes; then
23269 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23270 fi
23271
23272 if test "x$SGICC" = "xyes"; then
23273 CFLAGS="-woff 3970 $CFLAGS"
23274 fi
23275 if test "x$SGICXX" = "xyes"; then
23276 CXXFLAGS="-woff 3970 $CXXFLAGS"
23277 fi
23278
23279 if test "x$HPCC" = "xyes"; then
23280 CFLAGS="+W 2011,2450 $CFLAGS"
23281 fi
23282 if test "x$HPCXX" = "xyes"; then
23283 CXXFLAGS="+W 2340 $CXXFLAGS"
23284 fi
23285
23286 if test "x$COMPAQCXX" = "xyes"; then
23287 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23288 fi
23289
23290 ac_ext=cpp
23291 ac_cpp='$CXXCPP $CPPFLAGS'
23292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23295
23296
23297 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23298 if test "$wxUSE_UNICODE" = "yes"; then
23299 std_string="std::wstring"
23300 char_type="wchar_t"
23301 else
23302 std_string="std::string"
23303 char_type="char"
23304 fi
23305
23306 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23307 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23308 if test "${wx_cv_class_stdstring+set}" = set; then
23309 echo $ECHO_N "(cached) $ECHO_C" >&6
23310 else
23311
23312 cat >conftest.$ac_ext <<_ACEOF
23313 /* confdefs.h. */
23314 _ACEOF
23315 cat confdefs.h >>conftest.$ac_ext
23316 cat >>conftest.$ac_ext <<_ACEOF
23317 /* end confdefs.h. */
23318 #include <string>
23319 int
23320 main ()
23321 {
23322 $std_string foo;
23323 ;
23324 return 0;
23325 }
23326 _ACEOF
23327 rm -f conftest.$ac_objext
23328 if { (ac_try="$ac_compile"
23329 case "(($ac_try" in
23330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23331 *) ac_try_echo=$ac_try;;
23332 esac
23333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23334 (eval "$ac_compile") 2>conftest.er1
23335 ac_status=$?
23336 grep -v '^ *+' conftest.er1 >conftest.err
23337 rm -f conftest.er1
23338 cat conftest.err >&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } && {
23341 test -z "$ac_cxx_werror_flag" ||
23342 test ! -s conftest.err
23343 } && test -s conftest.$ac_objext; then
23344 wx_cv_class_stdstring=yes
23345 else
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23348
23349 wx_cv_class_stdstring=no
23350
23351 fi
23352
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354
23355
23356 fi
23357 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23358 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23359
23360 if test "$wx_cv_class_stdstring" = yes; then
23361 if test "$wxUSE_UNICODE" = "yes"; then
23362 cat >>confdefs.h <<\_ACEOF
23363 #define HAVE_STD_WSTRING 1
23364 _ACEOF
23365
23366 fi
23367 else
23368 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23369 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23370 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 else
23373
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
23381 #ifdef HAVE_WCHAR_H
23382 # ifdef __CYGWIN__
23383 # include <stddef.h>
23384 # endif
23385 # include <wchar.h>
23386 #endif
23387 #ifdef HAVE_STDLIB_H
23388 # include <stdlib.h>
23389 #endif
23390 #include <stdio.h>
23391 #include <string>
23392
23393 int
23394 main ()
23395 {
23396 std::basic_string<$char_type> foo;
23397 const $char_type* dummy = foo.c_str();
23398 ;
23399 return 0;
23400 }
23401 _ACEOF
23402 rm -f conftest.$ac_objext
23403 if { (ac_try="$ac_compile"
23404 case "(($ac_try" in
23405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23406 *) ac_try_echo=$ac_try;;
23407 esac
23408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23409 (eval "$ac_compile") 2>conftest.er1
23410 ac_status=$?
23411 grep -v '^ *+' conftest.er1 >conftest.err
23412 rm -f conftest.er1
23413 cat conftest.err >&5
23414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23415 (exit $ac_status); } && {
23416 test -z "$ac_cxx_werror_flag" ||
23417 test ! -s conftest.err
23418 } && test -s conftest.$ac_objext; then
23419 wx_cv_class_stdbasicstring=yes
23420 else
23421 echo "$as_me: failed program was:" >&5
23422 sed 's/^/| /' conftest.$ac_ext >&5
23423
23424 wx_cv_class_stdbasicstring=no
23425
23426 fi
23427
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23429
23430
23431 fi
23432 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23433 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23434
23435 if test "$wx_cv_class_stdbasicstring" != yes; then
23436 if test "$wxUSE_STL" = "yes"; then
23437 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23438 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23439 { (exit 1); exit 1; }; }
23440 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23441 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23442 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23443 { (exit 1); exit 1; }; }
23444 else
23445 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23446 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23447 wxUSE_STD_STRING=no
23448 fi
23449 fi
23450 fi
23451 fi
23452
23453 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23454 { echo "$as_me:$LINENO: checking for std::istream" >&5
23455 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23456 if test "${ac_cv_type_std__istream+set}" = set; then
23457 echo $ECHO_N "(cached) $ECHO_C" >&6
23458 else
23459 cat >conftest.$ac_ext <<_ACEOF
23460 /* confdefs.h. */
23461 _ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h. */
23465 #include <iostream>
23466
23467 typedef std::istream ac__type_new_;
23468 int
23469 main ()
23470 {
23471 if ((ac__type_new_ *) 0)
23472 return 0;
23473 if (sizeof (ac__type_new_))
23474 return 0;
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 rm -f conftest.$ac_objext
23480 if { (ac_try="$ac_compile"
23481 case "(($ac_try" in
23482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23483 *) ac_try_echo=$ac_try;;
23484 esac
23485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23486 (eval "$ac_compile") 2>conftest.er1
23487 ac_status=$?
23488 grep -v '^ *+' conftest.er1 >conftest.err
23489 rm -f conftest.er1
23490 cat conftest.err >&5
23491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23492 (exit $ac_status); } && {
23493 test -z "$ac_cxx_werror_flag" ||
23494 test ! -s conftest.err
23495 } && test -s conftest.$ac_objext; then
23496 ac_cv_type_std__istream=yes
23497 else
23498 echo "$as_me: failed program was:" >&5
23499 sed 's/^/| /' conftest.$ac_ext >&5
23500
23501 ac_cv_type_std__istream=no
23502 fi
23503
23504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23505 fi
23506 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23507 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23508 if test $ac_cv_type_std__istream = yes; then
23509
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE_STD__ISTREAM 1
23512 _ACEOF
23513
23514
23515 else
23516 wxUSE_STD_IOSTREAM=no
23517 fi
23518 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23519 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23520 if test "${ac_cv_type_std__ostream+set}" = set; then
23521 echo $ECHO_N "(cached) $ECHO_C" >&6
23522 else
23523 cat >conftest.$ac_ext <<_ACEOF
23524 /* confdefs.h. */
23525 _ACEOF
23526 cat confdefs.h >>conftest.$ac_ext
23527 cat >>conftest.$ac_ext <<_ACEOF
23528 /* end confdefs.h. */
23529 #include <iostream>
23530
23531 typedef std::ostream ac__type_new_;
23532 int
23533 main ()
23534 {
23535 if ((ac__type_new_ *) 0)
23536 return 0;
23537 if (sizeof (ac__type_new_))
23538 return 0;
23539 ;
23540 return 0;
23541 }
23542 _ACEOF
23543 rm -f conftest.$ac_objext
23544 if { (ac_try="$ac_compile"
23545 case "(($ac_try" in
23546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23547 *) ac_try_echo=$ac_try;;
23548 esac
23549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23550 (eval "$ac_compile") 2>conftest.er1
23551 ac_status=$?
23552 grep -v '^ *+' conftest.er1 >conftest.err
23553 rm -f conftest.er1
23554 cat conftest.err >&5
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); } && {
23557 test -z "$ac_cxx_werror_flag" ||
23558 test ! -s conftest.err
23559 } && test -s conftest.$ac_objext; then
23560 ac_cv_type_std__ostream=yes
23561 else
23562 echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.$ac_ext >&5
23564
23565 ac_cv_type_std__ostream=no
23566 fi
23567
23568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23569 fi
23570 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23571 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23572 if test $ac_cv_type_std__ostream = yes; then
23573
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE_STD__OSTREAM 1
23576 _ACEOF
23577
23578
23579 else
23580 wxUSE_STD_IOSTREAM=no
23581 fi
23582
23583
23584 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23585 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23586 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23587 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23588 { (exit 1); exit 1; }; }
23589 else
23590 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23591 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23592 fi
23593 fi
23594 fi
23595
23596 if test "$wxUSE_STL" = "yes"; then
23597 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23598 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23599 if test "${wx_cv_lib_stl+set}" = set; then
23600 echo $ECHO_N "(cached) $ECHO_C" >&6
23601 else
23602 cat >conftest.$ac_ext <<_ACEOF
23603 /* confdefs.h. */
23604 _ACEOF
23605 cat confdefs.h >>conftest.$ac_ext
23606 cat >>conftest.$ac_ext <<_ACEOF
23607 /* end confdefs.h. */
23608 #include <string>
23609 #include <functional>
23610 #include <algorithm>
23611 #include <vector>
23612 #include <list>
23613 int
23614 main ()
23615 {
23616 std::vector<int> moo;
23617 std::list<int> foo;
23618 std::vector<int>::iterator it =
23619 std::find_if(moo.begin(), moo.end(),
23620 std::bind2nd(std::less<int>(), 3));
23621 ;
23622 return 0;
23623 }
23624 _ACEOF
23625 rm -f conftest.$ac_objext
23626 if { (ac_try="$ac_compile"
23627 case "(($ac_try" in
23628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23629 *) ac_try_echo=$ac_try;;
23630 esac
23631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23632 (eval "$ac_compile") 2>conftest.er1
23633 ac_status=$?
23634 grep -v '^ *+' conftest.er1 >conftest.err
23635 rm -f conftest.er1
23636 cat conftest.err >&5
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } && {
23639 test -z "$ac_cxx_werror_flag" ||
23640 test ! -s conftest.err
23641 } && test -s conftest.$ac_objext; then
23642 wx_cv_lib_stl=yes
23643 else
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23646
23647 wx_cv_lib_stl=no
23648
23649 fi
23650
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652
23653 fi
23654 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23655 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23656
23657 if test "$wx_cv_lib_stl" != yes; then
23658 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23659 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23660 { (exit 1); exit 1; }; }
23661 fi
23662
23663 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23664 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23665 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23666 echo $ECHO_N "(cached) $ECHO_C" >&6
23667 else
23668 cat >conftest.$ac_ext <<_ACEOF
23669 /* confdefs.h. */
23670 _ACEOF
23671 cat confdefs.h >>conftest.$ac_ext
23672 cat >>conftest.$ac_ext <<_ACEOF
23673 /* end confdefs.h. */
23674 #include <string>
23675 int
23676 main ()
23677 {
23678 std::string foo, bar;
23679 foo.compare(bar);
23680 foo.compare(1, 1, bar);
23681 foo.compare(1, 1, bar, 1, 1);
23682 foo.compare("");
23683 foo.compare(1, 1, "");
23684 foo.compare(1, 1, "", 2);
23685 ;
23686 return 0;
23687 }
23688 _ACEOF
23689 rm -f conftest.$ac_objext
23690 if { (ac_try="$ac_compile"
23691 case "(($ac_try" in
23692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23693 *) ac_try_echo=$ac_try;;
23694 esac
23695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23696 (eval "$ac_compile") 2>conftest.er1
23697 ac_status=$?
23698 grep -v '^ *+' conftest.er1 >conftest.err
23699 rm -f conftest.er1
23700 cat conftest.err >&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); } && {
23703 test -z "$ac_cxx_werror_flag" ||
23704 test ! -s conftest.err
23705 } && test -s conftest.$ac_objext; then
23706 wx_cv_func_stdstring_compare=yes
23707 else
23708 echo "$as_me: failed program was:" >&5
23709 sed 's/^/| /' conftest.$ac_ext >&5
23710
23711 wx_cv_func_stdstring_compare=no
23712
23713 fi
23714
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23716
23717 fi
23718 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23719 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23720
23721 if test "$wx_cv_func_stdstring_compare" = yes; then
23722 cat >>confdefs.h <<\_ACEOF
23723 #define HAVE_STD_STRING_COMPARE 1
23724 _ACEOF
23725
23726 fi
23727
23728 { echo "$as_me:$LINENO: checking for hash_map" >&5
23729 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23730 if test "${ac_cv_header_hash_map+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733 cat >conftest.$ac_ext <<_ACEOF
23734 /* confdefs.h. */
23735 _ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739
23740
23741
23742 #include <hash_map>
23743 _ACEOF
23744 rm -f conftest.$ac_objext
23745 if { (ac_try="$ac_compile"
23746 case "(($ac_try" in
23747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23748 *) ac_try_echo=$ac_try;;
23749 esac
23750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23751 (eval "$ac_compile") 2>conftest.er1
23752 ac_status=$?
23753 grep -v '^ *+' conftest.er1 >conftest.err
23754 rm -f conftest.er1
23755 cat conftest.err >&5
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); } && {
23758 test -z "$ac_cxx_werror_flag" ||
23759 test ! -s conftest.err
23760 } && test -s conftest.$ac_objext; then
23761 ac_cv_header_hash_map=yes
23762 else
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.$ac_ext >&5
23765
23766 ac_cv_header_hash_map=no
23767 fi
23768
23769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23770 fi
23771 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23772 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23773 if test $ac_cv_header_hash_map = yes; then
23774 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23775 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23776 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23777 echo $ECHO_N "(cached) $ECHO_C" >&6
23778 else
23779 cat >conftest.$ac_ext <<_ACEOF
23780 /* confdefs.h. */
23781 _ACEOF
23782 cat confdefs.h >>conftest.$ac_ext
23783 cat >>conftest.$ac_ext <<_ACEOF
23784 /* end confdefs.h. */
23785 #include <hash_map>
23786 #include <hash_set>
23787 int
23788 main ()
23789 {
23790 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23791 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23792 ;
23793 return 0;
23794 }
23795 _ACEOF
23796 rm -f conftest.$ac_objext
23797 if { (ac_try="$ac_compile"
23798 case "(($ac_try" in
23799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23800 *) ac_try_echo=$ac_try;;
23801 esac
23802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23803 (eval "$ac_compile") 2>conftest.er1
23804 ac_status=$?
23805 grep -v '^ *+' conftest.er1 >conftest.err
23806 rm -f conftest.er1
23807 cat conftest.err >&5
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); } && {
23810 test -z "$ac_cxx_werror_flag" ||
23811 test ! -s conftest.err
23812 } && test -s conftest.$ac_objext; then
23813 wx_cv_class_stdhashmapset=yes
23814 else
23815 echo "$as_me: failed program was:" >&5
23816 sed 's/^/| /' conftest.$ac_ext >&5
23817
23818 wx_cv_class_stdhashmapset=no
23819 fi
23820
23821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23822
23823
23824 fi
23825 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23826 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23827 fi
23828
23829
23830
23831 if test "$wx_cv_class_stdhashmapset" = yes; then
23832 cat >>confdefs.h <<\_ACEOF
23833 #define HAVE_HASH_MAP 1
23834 _ACEOF
23835
23836 cat >>confdefs.h <<\_ACEOF
23837 #define HAVE_STD_HASH_MAP 1
23838 _ACEOF
23839
23840 fi
23841
23842 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23843 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23844 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853
23854
23855
23856 #include <ext/hash_map>
23857 _ACEOF
23858 rm -f conftest.$ac_objext
23859 if { (ac_try="$ac_compile"
23860 case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23863 esac
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_compile") 2>conftest.er1
23866 ac_status=$?
23867 grep -v '^ *+' conftest.er1 >conftest.err
23868 rm -f conftest.er1
23869 cat conftest.err >&5
23870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23871 (exit $ac_status); } && {
23872 test -z "$ac_cxx_werror_flag" ||
23873 test ! -s conftest.err
23874 } && test -s conftest.$ac_objext; then
23875 ac_cv_header_ext_hash_map=yes
23876 else
23877 echo "$as_me: failed program was:" >&5
23878 sed 's/^/| /' conftest.$ac_ext >&5
23879
23880 ac_cv_header_ext_hash_map=no
23881 fi
23882
23883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23884 fi
23885 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23886 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23887 if test $ac_cv_header_ext_hash_map = yes; then
23888 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23889 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23890 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23891 echo $ECHO_N "(cached) $ECHO_C" >&6
23892 else
23893 cat >conftest.$ac_ext <<_ACEOF
23894 /* confdefs.h. */
23895 _ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #include <ext/hash_map>
23900 #include <ext/hash_set>
23901 int
23902 main ()
23903 {
23904 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23905 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23906 ;
23907 return 0;
23908 }
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23915 esac
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_cxx_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23927 wx_cv_class_gnuhashmapset=yes
23928 else
23929 echo "$as_me: failed program was:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23931
23932 wx_cv_class_gnuhashmapset=no
23933 fi
23934
23935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23936
23937
23938 fi
23939 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23940 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23941 fi
23942
23943
23944
23945 if test "$wx_cv_class_gnuhashmapset" = yes; then
23946 cat >>confdefs.h <<\_ACEOF
23947 #define HAVE_EXT_HASH_MAP 1
23948 _ACEOF
23949
23950 cat >>confdefs.h <<\_ACEOF
23951 #define HAVE_GNU_CXX_HASH_MAP 1
23952 _ACEOF
23953
23954 fi
23955 fi
23956
23957 ac_ext=c
23958 ac_cpp='$CPP $CPPFLAGS'
23959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23962
23963
23964
23965 SEARCH_INCLUDE="\
23966 /usr/local/include \
23967 \
23968 /usr/Motif-2.1/include \
23969 /usr/Motif-1.2/include \
23970 /usr/include/Motif1.2 \
23971 \
23972 /usr/dt/include \
23973 /usr/openwin/include \
23974 \
23975 /usr/include/Xm \
23976 \
23977 /usr/X11R6/include \
23978 /usr/X11R6.4/include \
23979 /usr/X11R5/include \
23980 /usr/X11R4/include \
23981 \
23982 /usr/include/X11R6 \
23983 /usr/include/X11R5 \
23984 /usr/include/X11R4 \
23985 \
23986 /usr/local/X11R6/include \
23987 /usr/local/X11R5/include \
23988 /usr/local/X11R4/include \
23989 \
23990 /usr/local/include/X11R6 \
23991 /usr/local/include/X11R5 \
23992 /usr/local/include/X11R4 \
23993 \
23994 /usr/X11/include \
23995 /usr/include/X11 \
23996 /usr/local/X11/include \
23997 /usr/local/include/X11 \
23998 \
23999 /usr/XFree86/include/X11 \
24000 /usr/pkg/include \
24001 \
24002 /usr/openwin/share/include"
24003
24004 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24005 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24006
24007 case "${host}" in
24008 *-*-irix6* )
24009 if test "${wx_cv_std_libpath+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24011 else
24012
24013 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24014 for e in a so sl dylib dll.a; do
24015 libc="$d/libc.$e"
24016 if test -f $libc; then
24017 save_LIBS="$LIBS"
24018 LIBS="$libc"
24019 cat >conftest.$ac_ext <<_ACEOF
24020 int main() { return 0; }
24021 _ACEOF
24022 rm -f conftest.$ac_objext conftest$ac_exeext
24023 if { (ac_try="$ac_link"
24024 case "(($ac_try" in
24025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24026 *) ac_try_echo=$ac_try;;
24027 esac
24028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24029 (eval "$ac_link") 2>conftest.er1
24030 ac_status=$?
24031 grep -v '^ *+' conftest.er1 >conftest.err
24032 rm -f conftest.er1
24033 cat conftest.err >&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); } && {
24036 test -z "$ac_c_werror_flag" ||
24037 test ! -s conftest.err
24038 } && test -s conftest$ac_exeext &&
24039 $as_test_x conftest$ac_exeext; then
24040 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24041 else
24042 echo "$as_me: failed program was:" >&5
24043 sed 's/^/| /' conftest.$ac_ext >&5
24044
24045
24046 fi
24047
24048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24049 conftest$ac_exeext conftest.$ac_ext
24050 LIBS="$save_LIBS"
24051 if test "x$wx_cv_std_libpath" != "x"; then
24052 break 2
24053 fi
24054 fi
24055 done
24056 done
24057 if test "x$wx_cv_std_libpath" = "x"; then
24058 wx_cv_std_libpath="lib"
24059 fi
24060
24061
24062 fi
24063
24064 ;;
24065
24066 *-*-solaris2* )
24067 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24068 wx_cv_std_libpath="lib/64"
24069 else
24070 wx_cv_std_libpath="lib"
24071 fi
24072 ;;
24073
24074 *-*-linux* )
24075 if test "$ac_cv_sizeof_void_p" = 8 -a \
24076 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24077 wx_cv_std_libpath="lib64"
24078 else
24079 wx_cv_std_libpath="lib"
24080 fi
24081 ;;
24082
24083 *)
24084 wx_cv_std_libpath="lib";
24085 ;;
24086 esac
24087
24088 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24089 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24090
24091 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24092
24093 if test "$build" != "$host" -a "$GCC" = yes; then
24094 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24095 cross_root=`dirname $cross_root`
24096 cross_root=`dirname $cross_root`
24097
24098 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24099 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24100 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24101
24102 if test -z "$PKG_CONFIG_PATH"; then
24103 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24104 export PKG_CONFIG_PATH
24105 fi
24106
24107 if test -z "$x_includes" -o "$x_includes" = NONE; then
24108
24109 ac_find_includes=
24110 for ac_dir in $SEARCH_INCLUDE /usr/include;
24111 do
24112 if test -f "$ac_dir/X11/Intrinsic.h"; then
24113 ac_find_includes=$ac_dir
24114 break
24115 fi
24116 done
24117
24118 x_includes=$ac_find_includes
24119 fi
24120 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24121
24122 ac_find_libraries=
24123 for ac_dir in $SEARCH_LIB;
24124 do
24125 for ac_extension in a so sl dylib dll.a; do
24126 if test -f "$ac_dir/libXt.$ac_extension"; then
24127 ac_find_libraries=$ac_dir
24128 break 2
24129 fi
24130 done
24131 done
24132
24133 x_libraries=$ac_find_libraries
24134 fi
24135 fi
24136 fi
24137
24138
24139 cat >confcache <<\_ACEOF
24140 # This file is a shell script that caches the results of configure
24141 # tests run on this system so they can be shared between configure
24142 # scripts and configure runs, see configure's option --config-cache.
24143 # It is not useful on other systems. If it contains results you don't
24144 # want to keep, you may remove or edit it.
24145 #
24146 # config.status only pays attention to the cache file if you give it
24147 # the --recheck option to rerun configure.
24148 #
24149 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24150 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24151 # following values.
24152
24153 _ACEOF
24154
24155 # The following way of writing the cache mishandles newlines in values,
24156 # but we know of no workaround that is simple, portable, and efficient.
24157 # So, we kill variables containing newlines.
24158 # Ultrix sh set writes to stderr and can't be redirected directly,
24159 # and sets the high bit in the cache file unless we assign to the vars.
24160 (
24161 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24162 eval ac_val=\$$ac_var
24163 case $ac_val in #(
24164 *${as_nl}*)
24165 case $ac_var in #(
24166 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24167 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24168 esac
24169 case $ac_var in #(
24170 _ | IFS | as_nl) ;; #(
24171 *) $as_unset $ac_var ;;
24172 esac ;;
24173 esac
24174 done
24175
24176 (set) 2>&1 |
24177 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24178 *${as_nl}ac_space=\ *)
24179 # `set' does not quote correctly, so add quotes (double-quote
24180 # substitution turns \\\\ into \\, and sed turns \\ into \).
24181 sed -n \
24182 "s/'/'\\\\''/g;
24183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24184 ;; #(
24185 *)
24186 # `set' quotes correctly as required by POSIX, so do not add quotes.
24187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24188 ;;
24189 esac |
24190 sort
24191 ) |
24192 sed '
24193 /^ac_cv_env_/b end
24194 t clear
24195 :clear
24196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24197 t end
24198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24199 :end' >>confcache
24200 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24201 if test -w "$cache_file"; then
24202 test "x$cache_file" != "x/dev/null" &&
24203 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24204 echo "$as_me: updating cache $cache_file" >&6;}
24205 cat confcache >$cache_file
24206 else
24207 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24208 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24209 fi
24210 fi
24211 rm -f confcache
24212
24213 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24214 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24215 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24216 if test "${wx_cv_lib_glibc21+set}" = set; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24218 else
24219
24220 cat >conftest.$ac_ext <<_ACEOF
24221 /* confdefs.h. */
24222 _ACEOF
24223 cat confdefs.h >>conftest.$ac_ext
24224 cat >>conftest.$ac_ext <<_ACEOF
24225 /* end confdefs.h. */
24226 #include <features.h>
24227 int
24228 main ()
24229 {
24230
24231 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24232 not glibc 2.1
24233 #endif
24234
24235 ;
24236 return 0;
24237 }
24238 _ACEOF
24239 rm -f conftest.$ac_objext
24240 if { (ac_try="$ac_compile"
24241 case "(($ac_try" in
24242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24243 *) ac_try_echo=$ac_try;;
24244 esac
24245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24246 (eval "$ac_compile") 2>conftest.er1
24247 ac_status=$?
24248 grep -v '^ *+' conftest.er1 >conftest.err
24249 rm -f conftest.er1
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } && {
24253 test -z "$ac_c_werror_flag" ||
24254 test ! -s conftest.err
24255 } && test -s conftest.$ac_objext; then
24256
24257 wx_cv_lib_glibc21=yes
24258
24259 else
24260 echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24262
24263
24264 wx_cv_lib_glibc21=no
24265
24266
24267 fi
24268
24269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24270
24271 fi
24272 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24273 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24274 if test "$wx_cv_lib_glibc21" = "yes"; then
24275 cat >>confdefs.h <<\_ACEOF
24276 #define wxHAVE_GLIBC2 1
24277 _ACEOF
24278
24279 fi
24280 fi
24281
24282 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24283 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24284 cat >>confdefs.h <<\_ACEOF
24285 #define _GNU_SOURCE 1
24286 _ACEOF
24287
24288 fi
24289 fi
24290
24291 have_cos=0
24292 have_floor=0
24293
24294 for ac_func in cos
24295 do
24296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24297 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24299 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24301 else
24302 cat >conftest.$ac_ext <<_ACEOF
24303 /* confdefs.h. */
24304 _ACEOF
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24310 #define $ac_func innocuous_$ac_func
24311
24312 /* System header to define __stub macros and hopefully few prototypes,
24313 which can conflict with char $ac_func (); below.
24314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24315 <limits.h> exists even on freestanding compilers. */
24316
24317 #ifdef __STDC__
24318 # include <limits.h>
24319 #else
24320 # include <assert.h>
24321 #endif
24322
24323 #undef $ac_func
24324
24325 /* Override any GCC internal prototype to avoid an error.
24326 Use char because int might match the return type of a GCC
24327 builtin and then its argument prototype would still apply. */
24328 #ifdef __cplusplus
24329 extern "C"
24330 #endif
24331 char $ac_func ();
24332 /* The GNU C library defines this for functions which it implements
24333 to always fail with ENOSYS. Some functions are actually named
24334 something starting with __ and the normal name is an alias. */
24335 #if defined __stub_$ac_func || defined __stub___$ac_func
24336 choke me
24337 #endif
24338
24339 int
24340 main ()
24341 {
24342 return $ac_func ();
24343 ;
24344 return 0;
24345 }
24346 _ACEOF
24347 rm -f conftest.$ac_objext conftest$ac_exeext
24348 if { (ac_try="$ac_link"
24349 case "(($ac_try" in
24350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24351 *) ac_try_echo=$ac_try;;
24352 esac
24353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24354 (eval "$ac_link") 2>conftest.er1
24355 ac_status=$?
24356 grep -v '^ *+' conftest.er1 >conftest.err
24357 rm -f conftest.er1
24358 cat conftest.err >&5
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); } && {
24361 test -z "$ac_c_werror_flag" ||
24362 test ! -s conftest.err
24363 } && test -s conftest$ac_exeext &&
24364 $as_test_x conftest$ac_exeext; then
24365 eval "$as_ac_var=yes"
24366 else
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.$ac_ext >&5
24369
24370 eval "$as_ac_var=no"
24371 fi
24372
24373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24374 conftest$ac_exeext conftest.$ac_ext
24375 fi
24376 ac_res=`eval echo '${'$as_ac_var'}'`
24377 { echo "$as_me:$LINENO: result: $ac_res" >&5
24378 echo "${ECHO_T}$ac_res" >&6; }
24379 if test `eval echo '${'$as_ac_var'}'` = yes; then
24380 cat >>confdefs.h <<_ACEOF
24381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24382 _ACEOF
24383 have_cos=1
24384 fi
24385 done
24386
24387
24388 for ac_func in floor
24389 do
24390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24391 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24393 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24394 echo $ECHO_N "(cached) $ECHO_C" >&6
24395 else
24396 cat >conftest.$ac_ext <<_ACEOF
24397 /* confdefs.h. */
24398 _ACEOF
24399 cat confdefs.h >>conftest.$ac_ext
24400 cat >>conftest.$ac_ext <<_ACEOF
24401 /* end confdefs.h. */
24402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24404 #define $ac_func innocuous_$ac_func
24405
24406 /* System header to define __stub macros and hopefully few prototypes,
24407 which can conflict with char $ac_func (); below.
24408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24409 <limits.h> exists even on freestanding compilers. */
24410
24411 #ifdef __STDC__
24412 # include <limits.h>
24413 #else
24414 # include <assert.h>
24415 #endif
24416
24417 #undef $ac_func
24418
24419 /* Override any GCC internal prototype to avoid an error.
24420 Use char because int might match the return type of a GCC
24421 builtin and then its argument prototype would still apply. */
24422 #ifdef __cplusplus
24423 extern "C"
24424 #endif
24425 char $ac_func ();
24426 /* The GNU C library defines this for functions which it implements
24427 to always fail with ENOSYS. Some functions are actually named
24428 something starting with __ and the normal name is an alias. */
24429 #if defined __stub_$ac_func || defined __stub___$ac_func
24430 choke me
24431 #endif
24432
24433 int
24434 main ()
24435 {
24436 return $ac_func ();
24437 ;
24438 return 0;
24439 }
24440 _ACEOF
24441 rm -f conftest.$ac_objext conftest$ac_exeext
24442 if { (ac_try="$ac_link"
24443 case "(($ac_try" in
24444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24445 *) ac_try_echo=$ac_try;;
24446 esac
24447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24448 (eval "$ac_link") 2>conftest.er1
24449 ac_status=$?
24450 grep -v '^ *+' conftest.er1 >conftest.err
24451 rm -f conftest.er1
24452 cat conftest.err >&5
24453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24454 (exit $ac_status); } && {
24455 test -z "$ac_c_werror_flag" ||
24456 test ! -s conftest.err
24457 } && test -s conftest$ac_exeext &&
24458 $as_test_x conftest$ac_exeext; then
24459 eval "$as_ac_var=yes"
24460 else
24461 echo "$as_me: failed program was:" >&5
24462 sed 's/^/| /' conftest.$ac_ext >&5
24463
24464 eval "$as_ac_var=no"
24465 fi
24466
24467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24468 conftest$ac_exeext conftest.$ac_ext
24469 fi
24470 ac_res=`eval echo '${'$as_ac_var'}'`
24471 { echo "$as_me:$LINENO: result: $ac_res" >&5
24472 echo "${ECHO_T}$ac_res" >&6; }
24473 if test `eval echo '${'$as_ac_var'}'` = yes; then
24474 cat >>confdefs.h <<_ACEOF
24475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24476 _ACEOF
24477 have_floor=1
24478 fi
24479 done
24480
24481 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24482 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24483 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24484 { echo "$as_me:$LINENO: result: yes" >&5
24485 echo "${ECHO_T}yes" >&6; }
24486 else
24487 { echo "$as_me:$LINENO: result: no" >&5
24488 echo "${ECHO_T}no" >&6; }
24489 LIBS="$LIBS -lm"
24490 # use different functions to avoid configure caching
24491 have_sin=0
24492 have_ceil=0
24493
24494 for ac_func in sin
24495 do
24496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24497 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24499 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 else
24502 cat >conftest.$ac_ext <<_ACEOF
24503 /* confdefs.h. */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24510 #define $ac_func innocuous_$ac_func
24511
24512 /* System header to define __stub macros and hopefully few prototypes,
24513 which can conflict with char $ac_func (); below.
24514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24515 <limits.h> exists even on freestanding compilers. */
24516
24517 #ifdef __STDC__
24518 # include <limits.h>
24519 #else
24520 # include <assert.h>
24521 #endif
24522
24523 #undef $ac_func
24524
24525 /* Override any GCC internal prototype to avoid an error.
24526 Use char because int might match the return type of a GCC
24527 builtin and then its argument prototype would still apply. */
24528 #ifdef __cplusplus
24529 extern "C"
24530 #endif
24531 char $ac_func ();
24532 /* The GNU C library defines this for functions which it implements
24533 to always fail with ENOSYS. Some functions are actually named
24534 something starting with __ and the normal name is an alias. */
24535 #if defined __stub_$ac_func || defined __stub___$ac_func
24536 choke me
24537 #endif
24538
24539 int
24540 main ()
24541 {
24542 return $ac_func ();
24543 ;
24544 return 0;
24545 }
24546 _ACEOF
24547 rm -f conftest.$ac_objext conftest$ac_exeext
24548 if { (ac_try="$ac_link"
24549 case "(($ac_try" in
24550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24551 *) ac_try_echo=$ac_try;;
24552 esac
24553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24554 (eval "$ac_link") 2>conftest.er1
24555 ac_status=$?
24556 grep -v '^ *+' conftest.er1 >conftest.err
24557 rm -f conftest.er1
24558 cat conftest.err >&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); } && {
24561 test -z "$ac_c_werror_flag" ||
24562 test ! -s conftest.err
24563 } && test -s conftest$ac_exeext &&
24564 $as_test_x conftest$ac_exeext; then
24565 eval "$as_ac_var=yes"
24566 else
24567 echo "$as_me: failed program was:" >&5
24568 sed 's/^/| /' conftest.$ac_ext >&5
24569
24570 eval "$as_ac_var=no"
24571 fi
24572
24573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24574 conftest$ac_exeext conftest.$ac_ext
24575 fi
24576 ac_res=`eval echo '${'$as_ac_var'}'`
24577 { echo "$as_me:$LINENO: result: $ac_res" >&5
24578 echo "${ECHO_T}$ac_res" >&6; }
24579 if test `eval echo '${'$as_ac_var'}'` = yes; then
24580 cat >>confdefs.h <<_ACEOF
24581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24582 _ACEOF
24583 have_sin=1
24584 fi
24585 done
24586
24587
24588 for ac_func in ceil
24589 do
24590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24594 echo $ECHO_N "(cached) $ECHO_C" >&6
24595 else
24596 cat >conftest.$ac_ext <<_ACEOF
24597 /* confdefs.h. */
24598 _ACEOF
24599 cat confdefs.h >>conftest.$ac_ext
24600 cat >>conftest.$ac_ext <<_ACEOF
24601 /* end confdefs.h. */
24602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24604 #define $ac_func innocuous_$ac_func
24605
24606 /* System header to define __stub macros and hopefully few prototypes,
24607 which can conflict with char $ac_func (); below.
24608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24609 <limits.h> exists even on freestanding compilers. */
24610
24611 #ifdef __STDC__
24612 # include <limits.h>
24613 #else
24614 # include <assert.h>
24615 #endif
24616
24617 #undef $ac_func
24618
24619 /* Override any GCC internal prototype to avoid an error.
24620 Use char because int might match the return type of a GCC
24621 builtin and then its argument prototype would still apply. */
24622 #ifdef __cplusplus
24623 extern "C"
24624 #endif
24625 char $ac_func ();
24626 /* The GNU C library defines this for functions which it implements
24627 to always fail with ENOSYS. Some functions are actually named
24628 something starting with __ and the normal name is an alias. */
24629 #if defined __stub_$ac_func || defined __stub___$ac_func
24630 choke me
24631 #endif
24632
24633 int
24634 main ()
24635 {
24636 return $ac_func ();
24637 ;
24638 return 0;
24639 }
24640 _ACEOF
24641 rm -f conftest.$ac_objext conftest$ac_exeext
24642 if { (ac_try="$ac_link"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24646 esac
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_link") 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_c_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest$ac_exeext &&
24658 $as_test_x conftest$ac_exeext; then
24659 eval "$as_ac_var=yes"
24660 else
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24663
24664 eval "$as_ac_var=no"
24665 fi
24666
24667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24668 conftest$ac_exeext conftest.$ac_ext
24669 fi
24670 ac_res=`eval echo '${'$as_ac_var'}'`
24671 { echo "$as_me:$LINENO: result: $ac_res" >&5
24672 echo "${ECHO_T}$ac_res" >&6; }
24673 if test `eval echo '${'$as_ac_var'}'` = yes; then
24674 cat >>confdefs.h <<_ACEOF
24675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24676 _ACEOF
24677 have_ceil=1
24678 fi
24679 done
24680
24681 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24682 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24683 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24684 { echo "$as_me:$LINENO: result: yes" >&5
24685 echo "${ECHO_T}yes" >&6; }
24686 else
24687 { echo "$as_me:$LINENO: result: no" >&5
24688 echo "${ECHO_T}no" >&6; }
24689 # not sure we should warn the user, crash, etc.
24690 fi
24691 fi
24692
24693 ac_ext=cpp
24694 ac_cpp='$CXXCPP $CPPFLAGS'
24695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24698
24699 if test "wxUSE_UNICODE" = "yes"; then
24700
24701 for wx_func in wcstoull
24702 do
24703 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24704 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24705 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24706 echo $ECHO_N "(cached) $ECHO_C" >&6
24707 else
24708
24709 cat >conftest.$ac_ext <<_ACEOF
24710
24711 /* confdefs.h. */
24712 _ACEOF
24713 cat confdefs.h >>conftest.$ac_ext
24714 cat >>conftest.$ac_ext <<_ACEOF
24715 /* end confdefs.h. */
24716
24717
24718 $ac_includes_default
24719
24720 int
24721 main ()
24722 {
24723
24724 #ifndef $wx_func
24725 &$wx_func;
24726 #endif
24727
24728
24729 ;
24730 return 0;
24731 }
24732
24733 _ACEOF
24734 rm -f conftest.$ac_objext conftest$ac_exeext
24735 if { (ac_try="$ac_link"
24736 case "(($ac_try" in
24737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24738 *) ac_try_echo=$ac_try;;
24739 esac
24740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24741 (eval "$ac_link") 2>conftest.er1
24742 ac_status=$?
24743 grep -v '^ *+' conftest.er1 >conftest.err
24744 rm -f conftest.er1
24745 cat conftest.err >&5
24746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24747 (exit $ac_status); } && {
24748 test -z "$ac_cxx_werror_flag" ||
24749 test ! -s conftest.err
24750 } && test -s conftest$ac_exeext &&
24751 $as_test_x conftest$ac_exeext; then
24752 eval wx_cv_func_$wx_func=yes
24753 else
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.$ac_ext >&5
24756
24757 eval wx_cv_func_$wx_func=no
24758 fi
24759
24760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24761 conftest$ac_exeext conftest.$ac_ext
24762
24763 fi
24764 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24765 { echo "$as_me:$LINENO: result: $ac_res" >&5
24766 echo "${ECHO_T}$ac_res" >&6; }
24767
24768 if eval test \$wx_cv_func_$wx_func = yes
24769 then
24770 cat >>confdefs.h <<_ACEOF
24771 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24772 _ACEOF
24773
24774
24775 else
24776 :
24777
24778 fi
24779 done
24780
24781 else
24782
24783 for wx_func in strtoull
24784 do
24785 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24786 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24787 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24788 echo $ECHO_N "(cached) $ECHO_C" >&6
24789 else
24790
24791 cat >conftest.$ac_ext <<_ACEOF
24792
24793 /* confdefs.h. */
24794 _ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798
24799
24800 $ac_includes_default
24801
24802 int
24803 main ()
24804 {
24805
24806 #ifndef $wx_func
24807 &$wx_func;
24808 #endif
24809
24810
24811 ;
24812 return 0;
24813 }
24814
24815 _ACEOF
24816 rm -f conftest.$ac_objext conftest$ac_exeext
24817 if { (ac_try="$ac_link"
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_link") 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_cxx_werror_flag" ||
24831 test ! -s conftest.err
24832 } && test -s conftest$ac_exeext &&
24833 $as_test_x conftest$ac_exeext; then
24834 eval wx_cv_func_$wx_func=yes
24835 else
24836 echo "$as_me: failed program was:" >&5
24837 sed 's/^/| /' conftest.$ac_ext >&5
24838
24839 eval wx_cv_func_$wx_func=no
24840 fi
24841
24842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24843 conftest$ac_exeext conftest.$ac_ext
24844
24845 fi
24846 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24847 { echo "$as_me:$LINENO: result: $ac_res" >&5
24848 echo "${ECHO_T}$ac_res" >&6; }
24849
24850 if eval test \$wx_cv_func_$wx_func = yes
24851 then
24852 cat >>confdefs.h <<_ACEOF
24853 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24854 _ACEOF
24855
24856
24857 else
24858 :
24859
24860 fi
24861 done
24862
24863 fi
24864 ac_ext=c
24865 ac_cpp='$CPP $CPPFLAGS'
24866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24869
24870
24871
24872
24873 if test "$wxUSE_REGEX" != "no"; then
24874 cat >>confdefs.h <<\_ACEOF
24875 #define wxUSE_REGEX 1
24876 _ACEOF
24877
24878
24879 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24880 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24881 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24882 wxUSE_REGEX=builtin
24883 fi
24884
24885 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24886 { echo "$as_me:$LINENO: checking for regex.h" >&5
24887 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24888 if test "${ac_cv_header_regex_h+set}" = set; then
24889 echo $ECHO_N "(cached) $ECHO_C" >&6
24890 else
24891 cat >conftest.$ac_ext <<_ACEOF
24892 /* confdefs.h. */
24893 _ACEOF
24894 cat confdefs.h >>conftest.$ac_ext
24895 cat >>conftest.$ac_ext <<_ACEOF
24896 /* end confdefs.h. */
24897
24898
24899 #include <regex.h>
24900 _ACEOF
24901 rm -f conftest.$ac_objext
24902 if { (ac_try="$ac_compile"
24903 case "(($ac_try" in
24904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24905 *) ac_try_echo=$ac_try;;
24906 esac
24907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24908 (eval "$ac_compile") 2>conftest.er1
24909 ac_status=$?
24910 grep -v '^ *+' conftest.er1 >conftest.err
24911 rm -f conftest.er1
24912 cat conftest.err >&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } && {
24915 test -z "$ac_c_werror_flag" ||
24916 test ! -s conftest.err
24917 } && test -s conftest.$ac_objext; then
24918 ac_cv_header_regex_h=yes
24919 else
24920 echo "$as_me: failed program was:" >&5
24921 sed 's/^/| /' conftest.$ac_ext >&5
24922
24923 ac_cv_header_regex_h=no
24924 fi
24925
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 fi
24928 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24929 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24930 if test $ac_cv_header_regex_h = yes; then
24931
24932
24933 for ac_func in regcomp re_search
24934 do
24935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24936 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24938 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24939 echo $ECHO_N "(cached) $ECHO_C" >&6
24940 else
24941 cat >conftest.$ac_ext <<_ACEOF
24942 /* confdefs.h. */
24943 _ACEOF
24944 cat confdefs.h >>conftest.$ac_ext
24945 cat >>conftest.$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24949 #define $ac_func innocuous_$ac_func
24950
24951 /* System header to define __stub macros and hopefully few prototypes,
24952 which can conflict with char $ac_func (); below.
24953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24954 <limits.h> exists even on freestanding compilers. */
24955
24956 #ifdef __STDC__
24957 # include <limits.h>
24958 #else
24959 # include <assert.h>
24960 #endif
24961
24962 #undef $ac_func
24963
24964 /* Override any GCC internal prototype to avoid an error.
24965 Use char because int might match the return type of a GCC
24966 builtin and then its argument prototype would still apply. */
24967 #ifdef __cplusplus
24968 extern "C"
24969 #endif
24970 char $ac_func ();
24971 /* The GNU C library defines this for functions which it implements
24972 to always fail with ENOSYS. Some functions are actually named
24973 something starting with __ and the normal name is an alias. */
24974 #if defined __stub_$ac_func || defined __stub___$ac_func
24975 choke me
24976 #endif
24977
24978 int
24979 main ()
24980 {
24981 return $ac_func ();
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext conftest$ac_exeext
24987 if { (ac_try="$ac_link"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24991 esac
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_link") 2>conftest.er1
24994 ac_status=$?
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest$ac_exeext &&
25003 $as_test_x conftest$ac_exeext; then
25004 eval "$as_ac_var=yes"
25005 else
25006 echo "$as_me: failed program was:" >&5
25007 sed 's/^/| /' conftest.$ac_ext >&5
25008
25009 eval "$as_ac_var=no"
25010 fi
25011
25012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25013 conftest$ac_exeext conftest.$ac_ext
25014 fi
25015 ac_res=`eval echo '${'$as_ac_var'}'`
25016 { echo "$as_me:$LINENO: result: $ac_res" >&5
25017 echo "${ECHO_T}$ac_res" >&6; }
25018 if test `eval echo '${'$as_ac_var'}'` = yes; then
25019 cat >>confdefs.h <<_ACEOF
25020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25021 _ACEOF
25022
25023 fi
25024 done
25025
25026 fi
25027
25028
25029
25030 if test "x$ac_cv_func_regcomp" != "xyes"; then
25031 if test "$wxUSE_REGEX" = "sys" ; then
25032 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25033 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25034 { (exit 1); exit 1; }; }
25035 else
25036 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25037 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25038 wxUSE_REGEX=builtin
25039 fi
25040 else
25041 wxUSE_REGEX=sys
25042 cat >>confdefs.h <<\_ACEOF
25043 #define WX_NO_REGEX_ADVANCED 1
25044 _ACEOF
25045
25046 fi
25047 fi
25048 fi
25049
25050
25051 ZLIB_LINK=
25052 if test "$wxUSE_ZLIB" != "no" ; then
25053 cat >>confdefs.h <<\_ACEOF
25054 #define wxUSE_ZLIB 1
25055 _ACEOF
25056
25057
25058 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25059 if test "$USE_DARWIN" = 1; then
25060 system_zlib_h_ok="yes"
25061 else
25062 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25063 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25064 if test "${ac_cv_header_zlib_h+set}" = set; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 else
25067 if test "$cross_compiling" = yes; then
25068 unset ac_cv_header_zlib_h
25069
25070 else
25071 cat >conftest.$ac_ext <<_ACEOF
25072 /* confdefs.h. */
25073 _ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25077
25078 #include <zlib.h>
25079 #include <stdio.h>
25080
25081 int main()
25082 {
25083 FILE *f=fopen("conftestval", "w");
25084 if (!f) exit(1);
25085 fprintf(f, "%s",
25086 ZLIB_VERSION[0] == '1' &&
25087 (ZLIB_VERSION[2] > '1' ||
25088 (ZLIB_VERSION[2] == '1' &&
25089 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25090 exit(0);
25091 }
25092
25093 _ACEOF
25094 rm -f conftest$ac_exeext
25095 if { (ac_try="$ac_link"
25096 case "(($ac_try" in
25097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25098 *) ac_try_echo=$ac_try;;
25099 esac
25100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25101 (eval "$ac_link") 2>&5
25102 ac_status=$?
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25105 { (case "(($ac_try" in
25106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25108 esac
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_try") 2>&5
25111 ac_status=$?
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; }; then
25114 ac_cv_header_zlib_h=`cat conftestval`
25115 else
25116 echo "$as_me: program exited with status $ac_status" >&5
25117 echo "$as_me: failed program was:" >&5
25118 sed 's/^/| /' conftest.$ac_ext >&5
25119
25120 ( exit $ac_status )
25121 ac_cv_header_zlib_h=no
25122 fi
25123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25124 fi
25125
25126
25127
25128 fi
25129 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25130 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25131 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25132 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25133 if test "${ac_cv_header_zlib_h+set}" = set; then
25134 echo $ECHO_N "(cached) $ECHO_C" >&6
25135 else
25136 cat >conftest.$ac_ext <<_ACEOF
25137 /* confdefs.h. */
25138 _ACEOF
25139 cat confdefs.h >>conftest.$ac_ext
25140 cat >>conftest.$ac_ext <<_ACEOF
25141 /* end confdefs.h. */
25142
25143
25144 #include <zlib.h>
25145 _ACEOF
25146 rm -f conftest.$ac_objext
25147 if { (ac_try="$ac_compile"
25148 case "(($ac_try" in
25149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25150 *) ac_try_echo=$ac_try;;
25151 esac
25152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25153 (eval "$ac_compile") 2>conftest.er1
25154 ac_status=$?
25155 grep -v '^ *+' conftest.er1 >conftest.err
25156 rm -f conftest.er1
25157 cat conftest.err >&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } && {
25160 test -z "$ac_c_werror_flag" ||
25161 test ! -s conftest.err
25162 } && test -s conftest.$ac_objext; then
25163 ac_cv_header_zlib_h=yes
25164 else
25165 echo "$as_me: failed program was:" >&5
25166 sed 's/^/| /' conftest.$ac_ext >&5
25167
25168 ac_cv_header_zlib_h=no
25169 fi
25170
25171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25172 fi
25173 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25174 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25175
25176
25177
25178 system_zlib_h_ok=$ac_cv_header_zlib_h
25179 fi
25180
25181 if test "$system_zlib_h_ok" = "yes"; then
25182 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25183 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25184 if test "${ac_cv_lib_z_deflate+set}" = set; then
25185 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 else
25187 ac_check_lib_save_LIBS=$LIBS
25188 LIBS="-lz $LIBS"
25189 cat >conftest.$ac_ext <<_ACEOF
25190 /* confdefs.h. */
25191 _ACEOF
25192 cat confdefs.h >>conftest.$ac_ext
25193 cat >>conftest.$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195
25196 /* Override any GCC internal prototype to avoid an error.
25197 Use char because int might match the return type of a GCC
25198 builtin and then its argument prototype would still apply. */
25199 #ifdef __cplusplus
25200 extern "C"
25201 #endif
25202 char deflate ();
25203 int
25204 main ()
25205 {
25206 return deflate ();
25207 ;
25208 return 0;
25209 }
25210 _ACEOF
25211 rm -f conftest.$ac_objext conftest$ac_exeext
25212 if { (ac_try="$ac_link"
25213 case "(($ac_try" in
25214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25215 *) ac_try_echo=$ac_try;;
25216 esac
25217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25218 (eval "$ac_link") 2>conftest.er1
25219 ac_status=$?
25220 grep -v '^ *+' conftest.er1 >conftest.err
25221 rm -f conftest.er1
25222 cat conftest.err >&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); } && {
25225 test -z "$ac_c_werror_flag" ||
25226 test ! -s conftest.err
25227 } && test -s conftest$ac_exeext &&
25228 $as_test_x conftest$ac_exeext; then
25229 ac_cv_lib_z_deflate=yes
25230 else
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25233
25234 ac_cv_lib_z_deflate=no
25235 fi
25236
25237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25238 conftest$ac_exeext conftest.$ac_ext
25239 LIBS=$ac_check_lib_save_LIBS
25240 fi
25241 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25242 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25243 if test $ac_cv_lib_z_deflate = yes; then
25244 ZLIB_LINK=" -lz"
25245 fi
25246
25247 fi
25248
25249 if test "x$ZLIB_LINK" = "x" ; then
25250 if test "$wxUSE_ZLIB" = "sys" ; then
25251 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25252 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25253 { (exit 1); exit 1; }; }
25254 else
25255 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25256 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25257 wxUSE_ZLIB=builtin
25258 fi
25259 else
25260 wxUSE_ZLIB=sys
25261 fi
25262 fi
25263 fi
25264
25265
25266 PNG_LINK=
25267 if test "$wxUSE_LIBPNG" != "no" ; then
25268 cat >>confdefs.h <<\_ACEOF
25269 #define wxUSE_LIBPNG 1
25270 _ACEOF
25271
25272
25273 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25274 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25275 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25276 wxUSE_LIBPNG=sys
25277 fi
25278
25279 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25280 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25281 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25282 wxUSE_LIBPNG=builtin
25283 fi
25284
25285 if test "$wxUSE_MGL" != 1 ; then
25286 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25287 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25288 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25289 if test "${ac_cv_header_png_h+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 else
25292 if test "$cross_compiling" = yes; then
25293 unset ac_cv_header_png_h
25294
25295 else
25296 cat >conftest.$ac_ext <<_ACEOF
25297 /* confdefs.h. */
25298 _ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25302
25303 #include <png.h>
25304 #include <stdio.h>
25305
25306 int main()
25307 {
25308 FILE *f=fopen("conftestval", "w");
25309 if (!f) exit(1);
25310 fprintf(f, "%s",
25311 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25312 exit(0);
25313 }
25314
25315 _ACEOF
25316 rm -f conftest$ac_exeext
25317 if { (ac_try="$ac_link"
25318 case "(($ac_try" in
25319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25320 *) ac_try_echo=$ac_try;;
25321 esac
25322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25323 (eval "$ac_link") 2>&5
25324 ac_status=$?
25325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25327 { (case "(($ac_try" in
25328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25329 *) ac_try_echo=$ac_try;;
25330 esac
25331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25332 (eval "$ac_try") 2>&5
25333 ac_status=$?
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); }; }; then
25336 ac_cv_header_png_h=`cat conftestval`
25337 else
25338 echo "$as_me: program exited with status $ac_status" >&5
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 ( exit $ac_status )
25343 ac_cv_header_png_h=no
25344 fi
25345 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25346 fi
25347
25348
25349
25350 fi
25351 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25352 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25353 { echo "$as_me:$LINENO: checking for png.h" >&5
25354 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25355 if test "${ac_cv_header_png_h+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 else
25358 cat >conftest.$ac_ext <<_ACEOF
25359 /* confdefs.h. */
25360 _ACEOF
25361 cat confdefs.h >>conftest.$ac_ext
25362 cat >>conftest.$ac_ext <<_ACEOF
25363 /* end confdefs.h. */
25364
25365
25366 #include <png.h>
25367 _ACEOF
25368 rm -f conftest.$ac_objext
25369 if { (ac_try="$ac_compile"
25370 case "(($ac_try" in
25371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25372 *) ac_try_echo=$ac_try;;
25373 esac
25374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25375 (eval "$ac_compile") 2>conftest.er1
25376 ac_status=$?
25377 grep -v '^ *+' conftest.er1 >conftest.err
25378 rm -f conftest.er1
25379 cat conftest.err >&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } && {
25382 test -z "$ac_c_werror_flag" ||
25383 test ! -s conftest.err
25384 } && test -s conftest.$ac_objext; then
25385 ac_cv_header_png_h=yes
25386 else
25387 echo "$as_me: failed program was:" >&5
25388 sed 's/^/| /' conftest.$ac_ext >&5
25389
25390 ac_cv_header_png_h=no
25391 fi
25392
25393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25394 fi
25395 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25396 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25397
25398
25399
25400 if test "$ac_cv_header_png_h" = "yes"; then
25401 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25402 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25403 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25404 echo $ECHO_N "(cached) $ECHO_C" >&6
25405 else
25406 ac_check_lib_save_LIBS=$LIBS
25407 LIBS="-lpng -lz -lm $LIBS"
25408 cat >conftest.$ac_ext <<_ACEOF
25409 /* confdefs.h. */
25410 _ACEOF
25411 cat confdefs.h >>conftest.$ac_ext
25412 cat >>conftest.$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25414
25415 /* Override any GCC internal prototype to avoid an error.
25416 Use char because int might match the return type of a GCC
25417 builtin and then its argument prototype would still apply. */
25418 #ifdef __cplusplus
25419 extern "C"
25420 #endif
25421 char png_check_sig ();
25422 int
25423 main ()
25424 {
25425 return png_check_sig ();
25426 ;
25427 return 0;
25428 }
25429 _ACEOF
25430 rm -f conftest.$ac_objext conftest$ac_exeext
25431 if { (ac_try="$ac_link"
25432 case "(($ac_try" in
25433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25434 *) ac_try_echo=$ac_try;;
25435 esac
25436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25437 (eval "$ac_link") 2>conftest.er1
25438 ac_status=$?
25439 grep -v '^ *+' conftest.er1 >conftest.err
25440 rm -f conftest.er1
25441 cat conftest.err >&5
25442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25443 (exit $ac_status); } && {
25444 test -z "$ac_c_werror_flag" ||
25445 test ! -s conftest.err
25446 } && test -s conftest$ac_exeext &&
25447 $as_test_x conftest$ac_exeext; then
25448 ac_cv_lib_png_png_check_sig=yes
25449 else
25450 echo "$as_me: failed program was:" >&5
25451 sed 's/^/| /' conftest.$ac_ext >&5
25452
25453 ac_cv_lib_png_png_check_sig=no
25454 fi
25455
25456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25457 conftest$ac_exeext conftest.$ac_ext
25458 LIBS=$ac_check_lib_save_LIBS
25459 fi
25460 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25461 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25462 if test $ac_cv_lib_png_png_check_sig = yes; then
25463 PNG_LINK=" -lpng -lz"
25464 fi
25465
25466 fi
25467
25468 if test "x$PNG_LINK" = "x" ; then
25469 if test "$wxUSE_LIBPNG" = "sys" ; then
25470 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25471 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25472 { (exit 1); exit 1; }; }
25473 else
25474 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25475 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25476 wxUSE_LIBPNG=builtin
25477 fi
25478 else
25479 wxUSE_LIBPNG=sys
25480 fi
25481 fi
25482 fi
25483
25484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25485 fi
25486
25487
25488 JPEG_LINK=
25489 if test "$wxUSE_LIBJPEG" != "no" ; then
25490 cat >>confdefs.h <<\_ACEOF
25491 #define wxUSE_LIBJPEG 1
25492 _ACEOF
25493
25494
25495 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25496 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25497 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25498 wxUSE_LIBJPEG=sys
25499 fi
25500
25501 if test "$wxUSE_MGL" != 1 ; then
25502 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25503 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25504 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25505 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25507 else
25508 cat >conftest.$ac_ext <<_ACEOF
25509 /* confdefs.h. */
25510 _ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25514
25515 #undef HAVE_STDLIB_H
25516 #include <stdio.h>
25517 #include <jpeglib.h>
25518
25519 int
25520 main ()
25521 {
25522
25523
25524 ;
25525 return 0;
25526 }
25527 _ACEOF
25528 rm -f conftest.$ac_objext
25529 if { (ac_try="$ac_compile"
25530 case "(($ac_try" in
25531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25532 *) ac_try_echo=$ac_try;;
25533 esac
25534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25535 (eval "$ac_compile") 2>conftest.er1
25536 ac_status=$?
25537 grep -v '^ *+' conftest.er1 >conftest.err
25538 rm -f conftest.er1
25539 cat conftest.err >&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } && {
25542 test -z "$ac_c_werror_flag" ||
25543 test ! -s conftest.err
25544 } && test -s conftest.$ac_objext; then
25545 ac_cv_header_jpeglib_h=yes
25546 else
25547 echo "$as_me: failed program was:" >&5
25548 sed 's/^/| /' conftest.$ac_ext >&5
25549
25550 ac_cv_header_jpeglib_h=no
25551
25552 fi
25553
25554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25555
25556 fi
25557
25558 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25559 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25560
25561 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25562 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25563 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25564 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 else
25567 ac_check_lib_save_LIBS=$LIBS
25568 LIBS="-ljpeg $LIBS"
25569 cat >conftest.$ac_ext <<_ACEOF
25570 /* confdefs.h. */
25571 _ACEOF
25572 cat confdefs.h >>conftest.$ac_ext
25573 cat >>conftest.$ac_ext <<_ACEOF
25574 /* end confdefs.h. */
25575
25576 /* Override any GCC internal prototype to avoid an error.
25577 Use char because int might match the return type of a GCC
25578 builtin and then its argument prototype would still apply. */
25579 #ifdef __cplusplus
25580 extern "C"
25581 #endif
25582 char jpeg_read_header ();
25583 int
25584 main ()
25585 {
25586 return jpeg_read_header ();
25587 ;
25588 return 0;
25589 }
25590 _ACEOF
25591 rm -f conftest.$ac_objext conftest$ac_exeext
25592 if { (ac_try="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25596 esac
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>conftest.er1
25599 ac_status=$?
25600 grep -v '^ *+' conftest.er1 >conftest.err
25601 rm -f conftest.er1
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_c_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest$ac_exeext &&
25608 $as_test_x conftest$ac_exeext; then
25609 ac_cv_lib_jpeg_jpeg_read_header=yes
25610 else
25611 echo "$as_me: failed program was:" >&5
25612 sed 's/^/| /' conftest.$ac_ext >&5
25613
25614 ac_cv_lib_jpeg_jpeg_read_header=no
25615 fi
25616
25617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25618 conftest$ac_exeext conftest.$ac_ext
25619 LIBS=$ac_check_lib_save_LIBS
25620 fi
25621 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25622 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25623 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25624 JPEG_LINK=" -ljpeg"
25625 fi
25626
25627 fi
25628
25629 if test "x$JPEG_LINK" = "x" ; then
25630 if test "$wxUSE_LIBJPEG" = "sys" ; then
25631 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25632 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25633 { (exit 1); exit 1; }; }
25634 else
25635 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25636 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25637 wxUSE_LIBJPEG=builtin
25638 fi
25639 else
25640 wxUSE_LIBJPEG=sys
25641
25642 if test "$wxUSE_MSW" = 1; then
25643 { echo "$as_me:$LINENO: checking for boolean" >&5
25644 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25645 if test "${ac_cv_type_boolean+set}" = set; then
25646 echo $ECHO_N "(cached) $ECHO_C" >&6
25647 else
25648 cat >conftest.$ac_ext <<_ACEOF
25649 /* confdefs.h. */
25650 _ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25654 #include <windows.h>
25655
25656 typedef boolean ac__type_new_;
25657 int
25658 main ()
25659 {
25660 if ((ac__type_new_ *) 0)
25661 return 0;
25662 if (sizeof (ac__type_new_))
25663 return 0;
25664 ;
25665 return 0;
25666 }
25667 _ACEOF
25668 rm -f conftest.$ac_objext
25669 if { (ac_try="$ac_compile"
25670 case "(($ac_try" in
25671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25672 *) ac_try_echo=$ac_try;;
25673 esac
25674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25675 (eval "$ac_compile") 2>conftest.er1
25676 ac_status=$?
25677 grep -v '^ *+' conftest.er1 >conftest.err
25678 rm -f conftest.er1
25679 cat conftest.err >&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); } && {
25682 test -z "$ac_c_werror_flag" ||
25683 test ! -s conftest.err
25684 } && test -s conftest.$ac_objext; then
25685 ac_cv_type_boolean=yes
25686 else
25687 echo "$as_me: failed program was:" >&5
25688 sed 's/^/| /' conftest.$ac_ext >&5
25689
25690 ac_cv_type_boolean=no
25691 fi
25692
25693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25694 fi
25695 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25696 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25697 if test $ac_cv_type_boolean = yes; then
25698
25699 cat >>confdefs.h <<_ACEOF
25700 #define HAVE_BOOLEAN 1
25701 _ACEOF
25702
25703
25704 { echo "$as_me:$LINENO: checking for boolean" >&5
25705 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25706 if test "${ac_cv_type_boolean+set}" = set; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 else
25709 cat >conftest.$ac_ext <<_ACEOF
25710 /* confdefs.h. */
25711 _ACEOF
25712 cat confdefs.h >>conftest.$ac_ext
25713 cat >>conftest.$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25715
25716 #undef HAVE_BOOLEAN
25717 #include <stdio.h>
25718 #include <jpeglib.h>
25719
25720
25721 typedef boolean ac__type_new_;
25722 int
25723 main ()
25724 {
25725 if ((ac__type_new_ *) 0)
25726 return 0;
25727 if (sizeof (ac__type_new_))
25728 return 0;
25729 ;
25730 return 0;
25731 }
25732 _ACEOF
25733 rm -f conftest.$ac_objext
25734 if { (ac_try="$ac_compile"
25735 case "(($ac_try" in
25736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25737 *) ac_try_echo=$ac_try;;
25738 esac
25739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25740 (eval "$ac_compile") 2>conftest.er1
25741 ac_status=$?
25742 grep -v '^ *+' conftest.er1 >conftest.err
25743 rm -f conftest.er1
25744 cat conftest.err >&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); } && {
25747 test -z "$ac_c_werror_flag" ||
25748 test ! -s conftest.err
25749 } && test -s conftest.$ac_objext; then
25750 ac_cv_type_boolean=yes
25751 else
25752 echo "$as_me: failed program was:" >&5
25753 sed 's/^/| /' conftest.$ac_ext >&5
25754
25755 ac_cv_type_boolean=no
25756 fi
25757
25758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25759 fi
25760 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25761 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25762
25763 # The cast to long int works around a bug in the HP C Compiler
25764 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25765 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25766 # This bug is HP SR number 8606223364.
25767 { echo "$as_me:$LINENO: checking size of boolean" >&5
25768 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25769 if test "${ac_cv_sizeof_boolean+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 else
25772 if test "$cross_compiling" = yes; then
25773 # Depending upon the size, compute the lo and hi bounds.
25774 cat >conftest.$ac_ext <<_ACEOF
25775 /* confdefs.h. */
25776 _ACEOF
25777 cat confdefs.h >>conftest.$ac_ext
25778 cat >>conftest.$ac_ext <<_ACEOF
25779 /* end confdefs.h. */
25780
25781 #undef HAVE_BOOLEAN
25782 #include <stdio.h>
25783 #include <jpeglib.h>
25784
25785
25786 typedef boolean ac__type_sizeof_;
25787 int
25788 main ()
25789 {
25790 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25791 test_array [0] = 0
25792
25793 ;
25794 return 0;
25795 }
25796 _ACEOF
25797 rm -f conftest.$ac_objext
25798 if { (ac_try="$ac_compile"
25799 case "(($ac_try" in
25800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25801 *) ac_try_echo=$ac_try;;
25802 esac
25803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804 (eval "$ac_compile") 2>conftest.er1
25805 ac_status=$?
25806 grep -v '^ *+' conftest.er1 >conftest.err
25807 rm -f conftest.er1
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } && {
25811 test -z "$ac_c_werror_flag" ||
25812 test ! -s conftest.err
25813 } && test -s conftest.$ac_objext; then
25814 ac_lo=0 ac_mid=0
25815 while :; do
25816 cat >conftest.$ac_ext <<_ACEOF
25817 /* confdefs.h. */
25818 _ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822
25823 #undef HAVE_BOOLEAN
25824 #include <stdio.h>
25825 #include <jpeglib.h>
25826
25827
25828 typedef boolean ac__type_sizeof_;
25829 int
25830 main ()
25831 {
25832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25833 test_array [0] = 0
25834
25835 ;
25836 return 0;
25837 }
25838 _ACEOF
25839 rm -f conftest.$ac_objext
25840 if { (ac_try="$ac_compile"
25841 case "(($ac_try" in
25842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25843 *) ac_try_echo=$ac_try;;
25844 esac
25845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25846 (eval "$ac_compile") 2>conftest.er1
25847 ac_status=$?
25848 grep -v '^ *+' conftest.er1 >conftest.err
25849 rm -f conftest.er1
25850 cat conftest.err >&5
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); } && {
25853 test -z "$ac_c_werror_flag" ||
25854 test ! -s conftest.err
25855 } && test -s conftest.$ac_objext; then
25856 ac_hi=$ac_mid; break
25857 else
25858 echo "$as_me: failed program was:" >&5
25859 sed 's/^/| /' conftest.$ac_ext >&5
25860
25861 ac_lo=`expr $ac_mid + 1`
25862 if test $ac_lo -le $ac_mid; then
25863 ac_lo= ac_hi=
25864 break
25865 fi
25866 ac_mid=`expr 2 '*' $ac_mid + 1`
25867 fi
25868
25869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25870 done
25871 else
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.$ac_ext >&5
25874
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h. */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881
25882 #undef HAVE_BOOLEAN
25883 #include <stdio.h>
25884 #include <jpeglib.h>
25885
25886
25887 typedef boolean ac__type_sizeof_;
25888 int
25889 main ()
25890 {
25891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25892 test_array [0] = 0
25893
25894 ;
25895 return 0;
25896 }
25897 _ACEOF
25898 rm -f conftest.$ac_objext
25899 if { (ac_try="$ac_compile"
25900 case "(($ac_try" in
25901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25902 *) ac_try_echo=$ac_try;;
25903 esac
25904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25905 (eval "$ac_compile") 2>conftest.er1
25906 ac_status=$?
25907 grep -v '^ *+' conftest.er1 >conftest.err
25908 rm -f conftest.er1
25909 cat conftest.err >&5
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); } && {
25912 test -z "$ac_c_werror_flag" ||
25913 test ! -s conftest.err
25914 } && test -s conftest.$ac_objext; then
25915 ac_hi=-1 ac_mid=-1
25916 while :; do
25917 cat >conftest.$ac_ext <<_ACEOF
25918 /* confdefs.h. */
25919 _ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25923
25924 #undef HAVE_BOOLEAN
25925 #include <stdio.h>
25926 #include <jpeglib.h>
25927
25928
25929 typedef boolean ac__type_sizeof_;
25930 int
25931 main ()
25932 {
25933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25934 test_array [0] = 0
25935
25936 ;
25937 return 0;
25938 }
25939 _ACEOF
25940 rm -f conftest.$ac_objext
25941 if { (ac_try="$ac_compile"
25942 case "(($ac_try" in
25943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25944 *) ac_try_echo=$ac_try;;
25945 esac
25946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25947 (eval "$ac_compile") 2>conftest.er1
25948 ac_status=$?
25949 grep -v '^ *+' conftest.er1 >conftest.err
25950 rm -f conftest.er1
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } && {
25954 test -z "$ac_c_werror_flag" ||
25955 test ! -s conftest.err
25956 } && test -s conftest.$ac_objext; then
25957 ac_lo=$ac_mid; break
25958 else
25959 echo "$as_me: failed program was:" >&5
25960 sed 's/^/| /' conftest.$ac_ext >&5
25961
25962 ac_hi=`expr '(' $ac_mid ')' - 1`
25963 if test $ac_mid -le $ac_hi; then
25964 ac_lo= ac_hi=
25965 break
25966 fi
25967 ac_mid=`expr 2 '*' $ac_mid`
25968 fi
25969
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25971 done
25972 else
25973 echo "$as_me: failed program was:" >&5
25974 sed 's/^/| /' conftest.$ac_ext >&5
25975
25976 ac_lo= ac_hi=
25977 fi
25978
25979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25980 fi
25981
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983 # Binary search between lo and hi bounds.
25984 while test "x$ac_lo" != "x$ac_hi"; do
25985 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25986 cat >conftest.$ac_ext <<_ACEOF
25987 /* confdefs.h. */
25988 _ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992
25993 #undef HAVE_BOOLEAN
25994 #include <stdio.h>
25995 #include <jpeglib.h>
25996
25997
25998 typedef boolean ac__type_sizeof_;
25999 int
26000 main ()
26001 {
26002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26003 test_array [0] = 0
26004
26005 ;
26006 return 0;
26007 }
26008 _ACEOF
26009 rm -f conftest.$ac_objext
26010 if { (ac_try="$ac_compile"
26011 case "(($ac_try" in
26012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26013 *) ac_try_echo=$ac_try;;
26014 esac
26015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26016 (eval "$ac_compile") 2>conftest.er1
26017 ac_status=$?
26018 grep -v '^ *+' conftest.er1 >conftest.err
26019 rm -f conftest.er1
26020 cat conftest.err >&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } && {
26023 test -z "$ac_c_werror_flag" ||
26024 test ! -s conftest.err
26025 } && test -s conftest.$ac_objext; then
26026 ac_hi=$ac_mid
26027 else
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26030
26031 ac_lo=`expr '(' $ac_mid ')' + 1`
26032 fi
26033
26034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26035 done
26036 case $ac_lo in
26037 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26038 '') if test "$ac_cv_type_boolean" = yes; then
26039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26040 See \`config.log' for more details." >&5
26041 echo "$as_me: error: cannot compute sizeof (boolean)
26042 See \`config.log' for more details." >&2;}
26043 { (exit 77); exit 77; }; }
26044 else
26045 ac_cv_sizeof_boolean=0
26046 fi ;;
26047 esac
26048 else
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055
26056 #undef HAVE_BOOLEAN
26057 #include <stdio.h>
26058 #include <jpeglib.h>
26059
26060
26061 typedef boolean ac__type_sizeof_;
26062 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26063 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26064 #include <stdio.h>
26065 #include <stdlib.h>
26066 int
26067 main ()
26068 {
26069
26070 FILE *f = fopen ("conftest.val", "w");
26071 if (! f)
26072 return 1;
26073 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26074 {
26075 long int i = longval ();
26076 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26077 return 1;
26078 fprintf (f, "%ld\n", i);
26079 }
26080 else
26081 {
26082 unsigned long int i = ulongval ();
26083 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26084 return 1;
26085 fprintf (f, "%lu\n", i);
26086 }
26087 return ferror (f) || fclose (f) != 0;
26088
26089 ;
26090 return 0;
26091 }
26092 _ACEOF
26093 rm -f conftest$ac_exeext
26094 if { (ac_try="$ac_link"
26095 case "(($ac_try" in
26096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26097 *) ac_try_echo=$ac_try;;
26098 esac
26099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26100 (eval "$ac_link") 2>&5
26101 ac_status=$?
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26104 { (case "(($ac_try" in
26105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26106 *) ac_try_echo=$ac_try;;
26107 esac
26108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26109 (eval "$ac_try") 2>&5
26110 ac_status=$?
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); }; }; then
26113 ac_cv_sizeof_boolean=`cat conftest.val`
26114 else
26115 echo "$as_me: program exited with status $ac_status" >&5
26116 echo "$as_me: failed program was:" >&5
26117 sed 's/^/| /' conftest.$ac_ext >&5
26118
26119 ( exit $ac_status )
26120 if test "$ac_cv_type_boolean" = yes; then
26121 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26122 See \`config.log' for more details." >&5
26123 echo "$as_me: error: cannot compute sizeof (boolean)
26124 See \`config.log' for more details." >&2;}
26125 { (exit 77); exit 77; }; }
26126 else
26127 ac_cv_sizeof_boolean=0
26128 fi
26129 fi
26130 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26131 fi
26132 rm -f conftest.val
26133 fi
26134 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26135 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26136
26137
26138
26139 cat >>confdefs.h <<_ACEOF
26140 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26141 _ACEOF
26142
26143
26144 cat >>confdefs.h <<_ACEOF
26145 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26146 _ACEOF
26147
26148
26149 fi
26150
26151 fi
26152 fi
26153 fi
26154 fi
26155 fi
26156
26157
26158 TIFF_LINK=
26159 TIFF_PREREQ_LINKS=-lm
26160 if test "$wxUSE_LIBTIFF" != "no" ; then
26161 cat >>confdefs.h <<\_ACEOF
26162 #define wxUSE_LIBTIFF 1
26163 _ACEOF
26164
26165
26166 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26167 if test "$wxUSE_LIBJPEG" = "sys"; then
26168 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26169 fi
26170 if test "$wxUSE_ZLIB" = "sys"; then
26171 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26172 fi
26173 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26174 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26175 if test "${ac_cv_header_tiffio_h+set}" = set; then
26176 echo $ECHO_N "(cached) $ECHO_C" >&6
26177 else
26178 cat >conftest.$ac_ext <<_ACEOF
26179 /* confdefs.h. */
26180 _ACEOF
26181 cat confdefs.h >>conftest.$ac_ext
26182 cat >>conftest.$ac_ext <<_ACEOF
26183 /* end confdefs.h. */
26184
26185
26186
26187 #include <tiffio.h>
26188 _ACEOF
26189 rm -f conftest.$ac_objext
26190 if { (ac_try="$ac_compile"
26191 case "(($ac_try" in
26192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26193 *) ac_try_echo=$ac_try;;
26194 esac
26195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26196 (eval "$ac_compile") 2>conftest.er1
26197 ac_status=$?
26198 grep -v '^ *+' conftest.er1 >conftest.err
26199 rm -f conftest.er1
26200 cat conftest.err >&5
26201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26202 (exit $ac_status); } && {
26203 test -z "$ac_c_werror_flag" ||
26204 test ! -s conftest.err
26205 } && test -s conftest.$ac_objext; then
26206 ac_cv_header_tiffio_h=yes
26207 else
26208 echo "$as_me: failed program was:" >&5
26209 sed 's/^/| /' conftest.$ac_ext >&5
26210
26211 ac_cv_header_tiffio_h=no
26212 fi
26213
26214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215 fi
26216 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26217 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26218 if test $ac_cv_header_tiffio_h = yes; then
26219
26220 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26221 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26222 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26223 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 else
26225 ac_check_lib_save_LIBS=$LIBS
26226 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26227 cat >conftest.$ac_ext <<_ACEOF
26228 /* confdefs.h. */
26229 _ACEOF
26230 cat confdefs.h >>conftest.$ac_ext
26231 cat >>conftest.$ac_ext <<_ACEOF
26232 /* end confdefs.h. */
26233
26234 /* Override any GCC internal prototype to avoid an error.
26235 Use char because int might match the return type of a GCC
26236 builtin and then its argument prototype would still apply. */
26237 #ifdef __cplusplus
26238 extern "C"
26239 #endif
26240 char TIFFError ();
26241 int
26242 main ()
26243 {
26244 return TIFFError ();
26245 ;
26246 return 0;
26247 }
26248 _ACEOF
26249 rm -f conftest.$ac_objext conftest$ac_exeext
26250 if { (ac_try="$ac_link"
26251 case "(($ac_try" in
26252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26253 *) ac_try_echo=$ac_try;;
26254 esac
26255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26256 (eval "$ac_link") 2>conftest.er1
26257 ac_status=$?
26258 grep -v '^ *+' conftest.er1 >conftest.err
26259 rm -f conftest.er1
26260 cat conftest.err >&5
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); } && {
26263 test -z "$ac_c_werror_flag" ||
26264 test ! -s conftest.err
26265 } && test -s conftest$ac_exeext &&
26266 $as_test_x conftest$ac_exeext; then
26267 ac_cv_lib_tiff_TIFFError=yes
26268 else
26269 echo "$as_me: failed program was:" >&5
26270 sed 's/^/| /' conftest.$ac_ext >&5
26271
26272 ac_cv_lib_tiff_TIFFError=no
26273 fi
26274
26275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26276 conftest$ac_exeext conftest.$ac_ext
26277 LIBS=$ac_check_lib_save_LIBS
26278 fi
26279 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26280 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26281 if test $ac_cv_lib_tiff_TIFFError = yes; then
26282 TIFF_LINK=" -ltiff"
26283 fi
26284
26285
26286 fi
26287
26288
26289
26290 if test "x$TIFF_LINK" = "x" ; then
26291 if test "$wxUSE_LIBTIFF" = "sys" ; then
26292 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26293 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26294 { (exit 1); exit 1; }; }
26295 else
26296 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26297 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26298 wxUSE_LIBTIFF=builtin
26299 fi
26300 else
26301 wxUSE_LIBTIFF=sys
26302 fi
26303 fi
26304 fi
26305
26306
26307 if test "$wxUSE_WCHAR_T" != "yes"; then
26308 if test "$wxUSE_EXPAT" != "no"; then
26309 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26310 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26311 wxUSE_EXPAT=no
26312 fi
26313 if test "$wxUSE_XML" != "no"; then
26314 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26315 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26316 wxUSE_XML=no
26317 fi
26318 fi
26319
26320 if test "$wxUSE_EXPAT" != "no"; then
26321 wxUSE_XML=yes
26322 cat >>confdefs.h <<\_ACEOF
26323 #define wxUSE_EXPAT 1
26324 _ACEOF
26325
26326 cat >>confdefs.h <<\_ACEOF
26327 #define wxUSE_XML 1
26328 _ACEOF
26329
26330
26331 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26332 { echo "$as_me:$LINENO: checking for expat.h" >&5
26333 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26334 if test "${ac_cv_header_expat_h+set}" = set; then
26335 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 else
26337 cat >conftest.$ac_ext <<_ACEOF
26338 /* confdefs.h. */
26339 _ACEOF
26340 cat confdefs.h >>conftest.$ac_ext
26341 cat >>conftest.$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26343
26344
26345 #include <expat.h>
26346 _ACEOF
26347 rm -f conftest.$ac_objext
26348 if { (ac_try="$ac_compile"
26349 case "(($ac_try" in
26350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26351 *) ac_try_echo=$ac_try;;
26352 esac
26353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26354 (eval "$ac_compile") 2>conftest.er1
26355 ac_status=$?
26356 grep -v '^ *+' conftest.er1 >conftest.err
26357 rm -f conftest.er1
26358 cat conftest.err >&5
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); } && {
26361 test -z "$ac_c_werror_flag" ||
26362 test ! -s conftest.err
26363 } && test -s conftest.$ac_objext; then
26364 ac_cv_header_expat_h=yes
26365 else
26366 echo "$as_me: failed program was:" >&5
26367 sed 's/^/| /' conftest.$ac_ext >&5
26368
26369 ac_cv_header_expat_h=no
26370 fi
26371
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 fi
26374 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26375 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26376 if test $ac_cv_header_expat_h = yes; then
26377 found_expat_h=1
26378 fi
26379
26380
26381 if test "x$found_expat_h" = "x1"; then
26382 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26383 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26384 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26385 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 else
26387
26388 ac_ext=cpp
26389 ac_cpp='$CXXCPP $CPPFLAGS'
26390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26393
26394 cat >conftest.$ac_ext <<_ACEOF
26395 /* confdefs.h. */
26396 _ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400 #include <expat.h>
26401 int
26402 main ()
26403 {
26404
26405 ;
26406 return 0;
26407 }
26408 _ACEOF
26409 rm -f conftest.$ac_objext
26410 if { (ac_try="$ac_compile"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26414 esac
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_compile") 2>conftest.er1
26417 ac_status=$?
26418 grep -v '^ *+' conftest.er1 >conftest.err
26419 rm -f conftest.er1
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_cxx_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest.$ac_objext; then
26426 wx_cv_expat_is_not_broken=yes
26427 else
26428 echo "$as_me: failed program was:" >&5
26429 sed 's/^/| /' conftest.$ac_ext >&5
26430
26431 wx_cv_expat_is_not_broken=no
26432
26433 fi
26434
26435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26436 ac_ext=c
26437 ac_cpp='$CPP $CPPFLAGS'
26438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26441
26442
26443
26444 fi
26445 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26446 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26447 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26448 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26449 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26450 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453 ac_check_lib_save_LIBS=$LIBS
26454 LIBS="-lexpat $LIBS"
26455 cat >conftest.$ac_ext <<_ACEOF
26456 /* confdefs.h. */
26457 _ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26461
26462 /* Override any GCC internal prototype to avoid an error.
26463 Use char because int might match the return type of a GCC
26464 builtin and then its argument prototype would still apply. */
26465 #ifdef __cplusplus
26466 extern "C"
26467 #endif
26468 char XML_ParserCreate ();
26469 int
26470 main ()
26471 {
26472 return XML_ParserCreate ();
26473 ;
26474 return 0;
26475 }
26476 _ACEOF
26477 rm -f conftest.$ac_objext conftest$ac_exeext
26478 if { (ac_try="$ac_link"
26479 case "(($ac_try" in
26480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26481 *) ac_try_echo=$ac_try;;
26482 esac
26483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26484 (eval "$ac_link") 2>conftest.er1
26485 ac_status=$?
26486 grep -v '^ *+' conftest.er1 >conftest.err
26487 rm -f conftest.er1
26488 cat conftest.err >&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); } && {
26491 test -z "$ac_c_werror_flag" ||
26492 test ! -s conftest.err
26493 } && test -s conftest$ac_exeext &&
26494 $as_test_x conftest$ac_exeext; then
26495 ac_cv_lib_expat_XML_ParserCreate=yes
26496 else
26497 echo "$as_me: failed program was:" >&5
26498 sed 's/^/| /' conftest.$ac_ext >&5
26499
26500 ac_cv_lib_expat_XML_ParserCreate=no
26501 fi
26502
26503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26504 conftest$ac_exeext conftest.$ac_ext
26505 LIBS=$ac_check_lib_save_LIBS
26506 fi
26507 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26508 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26509 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26510 EXPAT_LINK=" -lexpat"
26511 fi
26512
26513 fi
26514 fi
26515 if test "x$EXPAT_LINK" = "x" ; then
26516 if test "$wxUSE_EXPAT" = "sys" ; then
26517 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26518 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26519 { (exit 1); exit 1; }; }
26520 else
26521 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26522 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26523 wxUSE_EXPAT=builtin
26524 fi
26525 else
26526 wxUSE_EXPAT=sys
26527 fi
26528 fi
26529 if test "$wxUSE_EXPAT" = "builtin" ; then
26530 subdirs="$subdirs src/expat"
26531
26532 fi
26533 fi
26534
26535
26536
26537 if test "$wxUSE_LIBMSPACK" != "no"; then
26538 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26539 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26540 if test "${ac_cv_header_mspack_h+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 else
26543 cat >conftest.$ac_ext <<_ACEOF
26544 /* confdefs.h. */
26545 _ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549
26550
26551 #include <mspack.h>
26552 _ACEOF
26553 rm -f conftest.$ac_objext
26554 if { (ac_try="$ac_compile"
26555 case "(($ac_try" in
26556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26557 *) ac_try_echo=$ac_try;;
26558 esac
26559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26560 (eval "$ac_compile") 2>conftest.er1
26561 ac_status=$?
26562 grep -v '^ *+' conftest.er1 >conftest.err
26563 rm -f conftest.er1
26564 cat conftest.err >&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } && {
26567 test -z "$ac_c_werror_flag" ||
26568 test ! -s conftest.err
26569 } && test -s conftest.$ac_objext; then
26570 ac_cv_header_mspack_h=yes
26571 else
26572 echo "$as_me: failed program was:" >&5
26573 sed 's/^/| /' conftest.$ac_ext >&5
26574
26575 ac_cv_header_mspack_h=no
26576 fi
26577
26578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26579 fi
26580 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26581 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26582 if test $ac_cv_header_mspack_h = yes; then
26583 found_mspack_h=1
26584 fi
26585
26586
26587 if test "x$found_mspack_h" = "x1"; then
26588 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26589 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26590 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26591 echo $ECHO_N "(cached) $ECHO_C" >&6
26592 else
26593 ac_check_lib_save_LIBS=$LIBS
26594 LIBS="-lmspack $LIBS"
26595 cat >conftest.$ac_ext <<_ACEOF
26596 /* confdefs.h. */
26597 _ACEOF
26598 cat confdefs.h >>conftest.$ac_ext
26599 cat >>conftest.$ac_ext <<_ACEOF
26600 /* end confdefs.h. */
26601
26602 /* Override any GCC internal prototype to avoid an error.
26603 Use char because int might match the return type of a GCC
26604 builtin and then its argument prototype would still apply. */
26605 #ifdef __cplusplus
26606 extern "C"
26607 #endif
26608 char mspack_create_chm_decompressor ();
26609 int
26610 main ()
26611 {
26612 return mspack_create_chm_decompressor ();
26613 ;
26614 return 0;
26615 }
26616 _ACEOF
26617 rm -f conftest.$ac_objext conftest$ac_exeext
26618 if { (ac_try="$ac_link"
26619 case "(($ac_try" in
26620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26621 *) ac_try_echo=$ac_try;;
26622 esac
26623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26624 (eval "$ac_link") 2>conftest.er1
26625 ac_status=$?
26626 grep -v '^ *+' conftest.er1 >conftest.err
26627 rm -f conftest.er1
26628 cat conftest.err >&5
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); } && {
26631 test -z "$ac_c_werror_flag" ||
26632 test ! -s conftest.err
26633 } && test -s conftest$ac_exeext &&
26634 $as_test_x conftest$ac_exeext; then
26635 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26636 else
26637 echo "$as_me: failed program was:" >&5
26638 sed 's/^/| /' conftest.$ac_ext >&5
26639
26640 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26641 fi
26642
26643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26644 conftest$ac_exeext conftest.$ac_ext
26645 LIBS=$ac_check_lib_save_LIBS
26646 fi
26647 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26648 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26649 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26650 MSPACK_LINK=" -lmspack"
26651 fi
26652
26653 fi
26654 if test "x$MSPACK_LINK" = "x" ; then
26655 wxUSE_LIBMSPACK=no
26656 fi
26657 fi
26658
26659 if test "$wxUSE_LIBMSPACK" != "no"; then
26660 cat >>confdefs.h <<\_ACEOF
26661 #define wxUSE_LIBMSPACK 1
26662 _ACEOF
26663
26664 fi
26665
26666
26667
26668 AFMINSTALL=
26669 WIN32INSTALL=
26670
26671 TOOLKIT=
26672 TOOLKIT_INCLUDE=
26673 WIDGET_SET=
26674
26675 if test "$USE_WIN32" = 1 ; then
26676 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26677 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26678 if test "${ac_cv_header_w32api_h+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 else
26681 cat >conftest.$ac_ext <<_ACEOF
26682 /* confdefs.h. */
26683 _ACEOF
26684 cat confdefs.h >>conftest.$ac_ext
26685 cat >>conftest.$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26687
26688
26689 #include <w32api.h>
26690 _ACEOF
26691 rm -f conftest.$ac_objext
26692 if { (ac_try="$ac_compile"
26693 case "(($ac_try" in
26694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26695 *) ac_try_echo=$ac_try;;
26696 esac
26697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26698 (eval "$ac_compile") 2>conftest.er1
26699 ac_status=$?
26700 grep -v '^ *+' conftest.er1 >conftest.err
26701 rm -f conftest.er1
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } && {
26705 test -z "$ac_c_werror_flag" ||
26706 test ! -s conftest.err
26707 } && test -s conftest.$ac_objext; then
26708 ac_cv_header_w32api_h=yes
26709 else
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.$ac_ext >&5
26712
26713 ac_cv_header_w32api_h=no
26714 fi
26715
26716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26717 fi
26718 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26719 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26720
26721
26722 { echo "$as_me:$LINENO: checking for windows.h" >&5
26723 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26724 if test "${ac_cv_header_windows_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 <windows.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_windows_h=yes
26755 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26758
26759 ac_cv_header_windows_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_windows_h" >&5
26765 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26766 if test $ac_cv_header_windows_h = yes; then
26767 :
26768 else
26769
26770 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26771 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26772 { (exit 1); exit 1; }; }
26773
26774 fi
26775
26776
26777
26778 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26779
26780 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26781 LIBS="$LIBS -loleacc"
26782 fi
26783
26784 case "${host}" in
26785 *-*-cygwin* )
26786 LIBS="$LIBS -lkernel32 -luser32"
26787 esac
26788
26789 if test "$wxUSE_ODBC" = "sys" ; then
26790 wxUSE_ODBC = "yes"
26791 fi
26792 if test "$wxUSE_ODBC" = "yes" ; then
26793 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26794 cat >>confdefs.h <<\_ACEOF
26795 #define wxUSE_ODBC 1
26796 _ACEOF
26797
26798 fi
26799
26800 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26801 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26802
26803 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26804
26805 WIN32INSTALL=win32install
26806
26807 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26808 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26809 if test "${ac_cv_header_pbt_h+set}" = set; then
26810 echo $ECHO_N "(cached) $ECHO_C" >&6
26811 else
26812 cat >conftest.$ac_ext <<_ACEOF
26813 /* confdefs.h. */
26814 _ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26818
26819
26820 #include <pbt.h>
26821 _ACEOF
26822 rm -f conftest.$ac_objext
26823 if { (ac_try="$ac_compile"
26824 case "(($ac_try" in
26825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26826 *) ac_try_echo=$ac_try;;
26827 esac
26828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26829 (eval "$ac_compile") 2>conftest.er1
26830 ac_status=$?
26831 grep -v '^ *+' conftest.er1 >conftest.err
26832 rm -f conftest.er1
26833 cat conftest.err >&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } && {
26836 test -z "$ac_c_werror_flag" ||
26837 test ! -s conftest.err
26838 } && test -s conftest.$ac_objext; then
26839 ac_cv_header_pbt_h=yes
26840 else
26841 echo "$as_me: failed program was:" >&5
26842 sed 's/^/| /' conftest.$ac_ext >&5
26843
26844 ac_cv_header_pbt_h=no
26845 fi
26846
26847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26848 fi
26849 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26850 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26851 if test $ac_cv_header_pbt_h = yes; then
26852 :
26853 else
26854 cat >>confdefs.h <<\_ACEOF
26855 #define NEED_PBT_H 1
26856 _ACEOF
26857
26858 fi
26859
26860
26861 fi
26862
26863 if test "$wxUSE_GUI" = "yes"; then
26864 USE_GUI=1
26865
26866 GUI_TK_LIBRARY=
26867
26868 WXGTK12=
26869 WXGTK127=
26870 WXGTK20=
26871 WXGPE=
26872
26873 if test "$wxUSE_COCOA" = 1 ; then
26874 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26875 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26876 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26877 wxUSE_PRINTING_ARCHITECTURE=no
26878 fi
26879 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26880 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26881 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26882 wxUSE_DRAG_AND_DROP=no
26883 fi
26884 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26885 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26886 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26887 wxUSE_DRAGIMAGE=no
26888 fi
26889 fi
26890
26891 if test "$wxUSE_MSW" = 1 ; then
26892 TOOLKIT=MSW
26893 GUIDIST=MSW_DIST
26894
26895 case "${host}" in
26896 *-*-mingw32* )
26897 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26898 esac
26899 fi
26900
26901 if test "$wxUSE_GTK" = 1; then
26902 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26903 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26904
26905 gtk_version_cached=1
26906 if test "${wx_cv_lib_gtk+set}" = set; then
26907 echo $ECHO_N "(cached) $ECHO_C" >&6
26908 else
26909
26910 gtk_version_cached=0
26911 { echo "$as_me:$LINENO: result: " >&5
26912 echo "${ECHO_T}" >&6; }
26913
26914 GTK_MODULES=
26915 if test "$wxUSE_THREADS" = "yes"; then
26916 GTK_MODULES=gthread
26917 fi
26918
26919 wx_cv_lib_gtk=
26920 if test "x$wxGTK_VERSION" != "x1"
26921 then
26922 case "${host}" in
26923 *-*-solaris2* )
26924 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26925 enable_gtktest=no
26926 fi
26927 esac
26928
26929 # Check whether --enable-gtktest was given.
26930 if test "${enable_gtktest+set}" = set; then
26931 enableval=$enable_gtktest;
26932 else
26933 enable_gtktest=yes
26934 fi
26935
26936
26937 pkg_config_args=gtk+-2.0
26938 for module in . $GTK_MODULES
26939 do
26940 case "$module" in
26941 gthread)
26942 pkg_config_args="$pkg_config_args gthread-2.0"
26943 ;;
26944 esac
26945 done
26946
26947 no_gtk=""
26948
26949 # Extract the first word of "pkg-config", so it can be a program name with args.
26950 set dummy pkg-config; ac_word=$2
26951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26953 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26954 echo $ECHO_N "(cached) $ECHO_C" >&6
26955 else
26956 case $PKG_CONFIG in
26957 [\\/]* | ?:[\\/]*)
26958 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26959 ;;
26960 *)
26961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26962 for as_dir in $PATH
26963 do
26964 IFS=$as_save_IFS
26965 test -z "$as_dir" && as_dir=.
26966 for ac_exec_ext in '' $ac_executable_extensions; do
26967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26968 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26970 break 2
26971 fi
26972 done
26973 done
26974 IFS=$as_save_IFS
26975
26976 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26977 ;;
26978 esac
26979 fi
26980 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26981 if test -n "$PKG_CONFIG"; then
26982 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26983 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26984 else
26985 { echo "$as_me:$LINENO: result: no" >&5
26986 echo "${ECHO_T}no" >&6; }
26987 fi
26988
26989
26990
26991 if test x$PKG_CONFIG != xno ; then
26992 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26993 :
26994 else
26995 echo "*** pkg-config too old; version 0.7 or better required."
26996 no_gtk=yes
26997 PKG_CONFIG=no
26998 fi
26999 else
27000 no_gtk=yes
27001 fi
27002
27003 min_gtk_version=2.0.0
27004 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27005 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27006
27007 if test x$PKG_CONFIG != xno ; then
27008 ## don't try to run the test against uninstalled libtool libs
27009 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27010 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27011 enable_gtktest=no
27012 fi
27013
27014 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27015 :
27016 else
27017 no_gtk=yes
27018 fi
27019 fi
27020
27021 if test x"$no_gtk" = x ; then
27022 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27023 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27024 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27026 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27028 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27030 if test "x$enable_gtktest" = "xyes" ; then
27031 ac_save_CFLAGS="$CFLAGS"
27032 ac_save_LIBS="$LIBS"
27033 CFLAGS="$CFLAGS $GTK_CFLAGS"
27034 LIBS="$GTK_LIBS $LIBS"
27035 rm -f conf.gtktest
27036 if test "$cross_compiling" = yes; then
27037 echo $ac_n "cross compiling; assumed OK... $ac_c"
27038 else
27039 cat >conftest.$ac_ext <<_ACEOF
27040 /* confdefs.h. */
27041 _ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27045
27046 #include <gtk/gtk.h>
27047 #include <stdio.h>
27048 #include <stdlib.h>
27049
27050 int
27051 main ()
27052 {
27053 int major, minor, micro;
27054 char *tmp_version;
27055
27056 system ("touch conf.gtktest");
27057
27058 /* HP/UX 9 (%@#!) writes to sscanf strings */
27059 tmp_version = g_strdup("$min_gtk_version");
27060 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27061 printf("%s, bad version string\n", "$min_gtk_version");
27062 exit(1);
27063 }
27064
27065 if ((gtk_major_version != $gtk_config_major_version) ||
27066 (gtk_minor_version != $gtk_config_minor_version) ||
27067 (gtk_micro_version != $gtk_config_micro_version))
27068 {
27069 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27070 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27071 gtk_major_version, gtk_minor_version, gtk_micro_version);
27072 printf ("*** was found! If pkg-config was correct, then it is best\n");
27073 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27074 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27075 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27076 printf("*** required on your system.\n");
27077 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27078 printf("*** to point to the correct configuration files\n");
27079 }
27080 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27081 (gtk_minor_version != GTK_MINOR_VERSION) ||
27082 (gtk_micro_version != GTK_MICRO_VERSION))
27083 {
27084 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27085 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27086 printf("*** library (version %d.%d.%d)\n",
27087 gtk_major_version, gtk_minor_version, gtk_micro_version);
27088 }
27089 else
27090 {
27091 if ((gtk_major_version > major) ||
27092 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27093 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27094 {
27095 return 0;
27096 }
27097 else
27098 {
27099 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27100 gtk_major_version, gtk_minor_version, gtk_micro_version);
27101 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27102 major, minor, micro);
27103 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27104 printf("***\n");
27105 printf("*** If you have already installed a sufficiently new version, this error\n");
27106 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27107 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27108 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27109 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27110 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27111 printf("*** so that the correct libraries are found at run-time))\n");
27112 }
27113 }
27114 return 1;
27115 }
27116
27117 _ACEOF
27118 rm -f conftest$ac_exeext
27119 if { (ac_try="$ac_link"
27120 case "(($ac_try" in
27121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27122 *) ac_try_echo=$ac_try;;
27123 esac
27124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27125 (eval "$ac_link") 2>&5
27126 ac_status=$?
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27129 { (case "(($ac_try" in
27130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27131 *) ac_try_echo=$ac_try;;
27132 esac
27133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27134 (eval "$ac_try") 2>&5
27135 ac_status=$?
27136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137 (exit $ac_status); }; }; then
27138 :
27139 else
27140 echo "$as_me: program exited with status $ac_status" >&5
27141 echo "$as_me: failed program was:" >&5
27142 sed 's/^/| /' conftest.$ac_ext >&5
27143
27144 ( exit $ac_status )
27145 no_gtk=yes
27146 fi
27147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27148 fi
27149
27150
27151 CFLAGS="$ac_save_CFLAGS"
27152 LIBS="$ac_save_LIBS"
27153 fi
27154 fi
27155 if test "x$no_gtk" = x ; then
27156 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27157 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27158 wx_cv_lib_gtk=2.0
27159 else
27160 { echo "$as_me:$LINENO: result: no" >&5
27161 echo "${ECHO_T}no" >&6; }
27162 if test "$PKG_CONFIG" = "no" ; then
27163 echo "*** A new enough version of pkg-config was not found."
27164 echo "*** See http://pkgconfig.sourceforge.net"
27165 else
27166 if test -f conf.gtktest ; then
27167 :
27168 else
27169 echo "*** Could not run GTK+ test program, checking why..."
27170 ac_save_CFLAGS="$CFLAGS"
27171 ac_save_LIBS="$LIBS"
27172 CFLAGS="$CFLAGS $GTK_CFLAGS"
27173 LIBS="$LIBS $GTK_LIBS"
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h. */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180
27181 #include <gtk/gtk.h>
27182 #include <stdio.h>
27183
27184 int
27185 main ()
27186 {
27187 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27188 ;
27189 return 0;
27190 }
27191 _ACEOF
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (ac_try="$ac_link"
27194 case "(($ac_try" in
27195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27197 esac
27198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_link") 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest$ac_exeext &&
27209 $as_test_x conftest$ac_exeext; then
27210 echo "*** The test program compiled, but did not run. This usually means"
27211 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27212 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27213 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27214 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27215 echo "*** is required on your system"
27216 echo "***"
27217 echo "*** If you have an old version installed, it is best to remove it, although"
27218 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27219 else
27220 echo "$as_me: failed program was:" >&5
27221 sed 's/^/| /' conftest.$ac_ext >&5
27222
27223 echo "*** The test program failed to compile or link. See the file config.log for the"
27224 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27225 fi
27226
27227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27228 conftest$ac_exeext conftest.$ac_ext
27229 CFLAGS="$ac_save_CFLAGS"
27230 LIBS="$ac_save_LIBS"
27231 fi
27232 fi
27233 GTK_CFLAGS=""
27234 GTK_LIBS=""
27235 :
27236 fi
27237
27238
27239 rm -f conf.gtktest
27240
27241
27242 case "${host}" in
27243 *-*-solaris2* )
27244 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27245 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27246 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27247 fi
27248 if test "$wxUSE_SHARED" != "yes"; then
27249 GTK_LIBS="$GTK_LIBS -lX11"
27250 fi
27251 esac
27252 fi
27253
27254 if test -z "$wx_cv_lib_gtk"; then
27255 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27256
27257 # Check whether --with-gtk-prefix was given.
27258 if test "${with_gtk_prefix+set}" = set; then
27259 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27260 else
27261 gtk_config_prefix=""
27262 fi
27263
27264
27265 # Check whether --with-gtk-exec-prefix was given.
27266 if test "${with_gtk_exec_prefix+set}" = set; then
27267 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27268 else
27269 gtk_config_exec_prefix=""
27270 fi
27271
27272 # Check whether --enable-gtktest was given.
27273 if test "${enable_gtktest+set}" = set; then
27274 enableval=$enable_gtktest;
27275 else
27276 enable_gtktest=yes
27277 fi
27278
27279
27280 for module in . $GTK_MODULES
27281 do
27282 case "$module" in
27283 gthread)
27284 gtk_config_args="$gtk_config_args gthread"
27285 ;;
27286 esac
27287 done
27288
27289 if test x$gtk_config_exec_prefix != x ; then
27290 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27291 if test x${GTK_CONFIG+set} != xset ; then
27292 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27293 fi
27294 fi
27295 if test x$gtk_config_prefix != x ; then
27296 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27297 if test x${GTK_CONFIG+set} != xset ; then
27298 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27299 fi
27300 fi
27301
27302 # Extract the first word of "gtk-config", so it can be a program name with args.
27303 set dummy gtk-config; ac_word=$2
27304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27306 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27307 echo $ECHO_N "(cached) $ECHO_C" >&6
27308 else
27309 case $GTK_CONFIG in
27310 [\\/]* | ?:[\\/]*)
27311 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27312 ;;
27313 *)
27314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27315 for as_dir in $PATH
27316 do
27317 IFS=$as_save_IFS
27318 test -z "$as_dir" && as_dir=.
27319 for ac_exec_ext in '' $ac_executable_extensions; do
27320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27321 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27323 break 2
27324 fi
27325 done
27326 done
27327 IFS=$as_save_IFS
27328
27329 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27330 ;;
27331 esac
27332 fi
27333 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27334 if test -n "$GTK_CONFIG"; then
27335 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27336 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27337 else
27338 { echo "$as_me:$LINENO: result: no" >&5
27339 echo "${ECHO_T}no" >&6; }
27340 fi
27341
27342
27343 min_gtk_version=1.2.7
27344 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27345 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27346 no_gtk=""
27347 if test "$GTK_CONFIG" = "no" ; then
27348 no_gtk=yes
27349 else
27350 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27351 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27352 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27353 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27354 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27355 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27356 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27357 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27358 if test "x$enable_gtktest" = "xyes" ; then
27359 ac_save_CFLAGS="$CFLAGS"
27360 ac_save_LIBS="$LIBS"
27361 CFLAGS="$CFLAGS $GTK_CFLAGS"
27362 LIBS="$GTK_LIBS $LIBS"
27363 rm -f conf.gtktest
27364 if test "$cross_compiling" = yes; then
27365 echo $ac_n "cross compiling; assumed OK... $ac_c"
27366 else
27367 cat >conftest.$ac_ext <<_ACEOF
27368 /* confdefs.h. */
27369 _ACEOF
27370 cat confdefs.h >>conftest.$ac_ext
27371 cat >>conftest.$ac_ext <<_ACEOF
27372 /* end confdefs.h. */
27373
27374 #include <gtk/gtk.h>
27375 #include <stdio.h>
27376 #include <stdlib.h>
27377
27378 int
27379 main ()
27380 {
27381 int major, minor, micro;
27382 char *tmp_version;
27383
27384 system ("touch conf.gtktest");
27385
27386 /* HP/UX 9 (%@#!) writes to sscanf strings */
27387 tmp_version = g_strdup("$min_gtk_version");
27388 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27389 printf("%s, bad version string\n", "$min_gtk_version");
27390 exit(1);
27391 }
27392
27393 if ((gtk_major_version != $gtk_config_major_version) ||
27394 (gtk_minor_version != $gtk_config_minor_version) ||
27395 (gtk_micro_version != $gtk_config_micro_version))
27396 {
27397 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27398 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27399 gtk_major_version, gtk_minor_version, gtk_micro_version);
27400 printf ("*** was found! If gtk-config was correct, then it is best\n");
27401 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27402 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27403 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27404 printf("*** required on your system.\n");
27405 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27406 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27407 printf("*** before re-running configure\n");
27408 }
27409 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27410 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27411 (gtk_minor_version != GTK_MINOR_VERSION) ||
27412 (gtk_micro_version != GTK_MICRO_VERSION))
27413 {
27414 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27415 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27416 printf("*** library (version %d.%d.%d)\n",
27417 gtk_major_version, gtk_minor_version, gtk_micro_version);
27418 }
27419 #endif /* defined (GTK_MAJOR_VERSION) ... */
27420 else
27421 {
27422 if ((gtk_major_version > major) ||
27423 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27424 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27425 {
27426 return 0;
27427 }
27428 else
27429 {
27430 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27431 gtk_major_version, gtk_minor_version, gtk_micro_version);
27432 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27433 major, minor, micro);
27434 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27435 printf("***\n");
27436 printf("*** If you have already installed a sufficiently new version, this error\n");
27437 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27438 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27439 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27440 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27441 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27442 printf("*** so that the correct libraries are found at run-time))\n");
27443 }
27444 }
27445 return 1;
27446 }
27447
27448 _ACEOF
27449 rm -f conftest$ac_exeext
27450 if { (ac_try="$ac_link"
27451 case "(($ac_try" in
27452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27453 *) ac_try_echo=$ac_try;;
27454 esac
27455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27456 (eval "$ac_link") 2>&5
27457 ac_status=$?
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27460 { (case "(($ac_try" in
27461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27462 *) ac_try_echo=$ac_try;;
27463 esac
27464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27465 (eval "$ac_try") 2>&5
27466 ac_status=$?
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); }; }; then
27469 :
27470 else
27471 echo "$as_me: program exited with status $ac_status" >&5
27472 echo "$as_me: failed program was:" >&5
27473 sed 's/^/| /' conftest.$ac_ext >&5
27474
27475 ( exit $ac_status )
27476 no_gtk=yes
27477 fi
27478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27479 fi
27480
27481
27482 CFLAGS="$ac_save_CFLAGS"
27483 LIBS="$ac_save_LIBS"
27484 fi
27485 fi
27486 if test "x$no_gtk" = x ; then
27487 { echo "$as_me:$LINENO: result: yes" >&5
27488 echo "${ECHO_T}yes" >&6; }
27489 wx_cv_lib_gtk=1.2.7
27490 else
27491 { echo "$as_me:$LINENO: result: no" >&5
27492 echo "${ECHO_T}no" >&6; }
27493 if test "$GTK_CONFIG" = "no" ; then
27494 echo "*** The gtk-config script installed by GTK could not be found"
27495 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27496 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27497 echo "*** full path to gtk-config."
27498 else
27499 if test -f conf.gtktest ; then
27500 :
27501 else
27502 echo "*** Could not run GTK test program, checking why..."
27503 CFLAGS="$CFLAGS $GTK_CFLAGS"
27504 LIBS="$LIBS $GTK_LIBS"
27505 cat >conftest.$ac_ext <<_ACEOF
27506 /* confdefs.h. */
27507 _ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27511
27512 #include <gtk/gtk.h>
27513 #include <stdio.h>
27514
27515 int
27516 main ()
27517 {
27518 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27519 ;
27520 return 0;
27521 }
27522 _ACEOF
27523 rm -f conftest.$ac_objext conftest$ac_exeext
27524 if { (ac_try="$ac_link"
27525 case "(($ac_try" in
27526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27527 *) ac_try_echo=$ac_try;;
27528 esac
27529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27530 (eval "$ac_link") 2>conftest.er1
27531 ac_status=$?
27532 grep -v '^ *+' conftest.er1 >conftest.err
27533 rm -f conftest.er1
27534 cat conftest.err >&5
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); } && {
27537 test -z "$ac_c_werror_flag" ||
27538 test ! -s conftest.err
27539 } && test -s conftest$ac_exeext &&
27540 $as_test_x conftest$ac_exeext; then
27541 echo "*** The test program compiled, but did not run. This usually means"
27542 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27543 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27544 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27545 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27546 echo "*** is required on your system"
27547 echo "***"
27548 echo "*** If you have an old version installed, it is best to remove it, although"
27549 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27550 echo "***"
27551 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27552 echo "*** came with the system with the command"
27553 echo "***"
27554 echo "*** rpm --erase --nodeps gtk gtk-devel"
27555 else
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27558
27559 echo "*** The test program failed to compile or link. See the file config.log for the"
27560 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27561 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27562 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27563 fi
27564
27565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27566 conftest$ac_exeext conftest.$ac_ext
27567 CFLAGS="$ac_save_CFLAGS"
27568 LIBS="$ac_save_LIBS"
27569 fi
27570 fi
27571 GTK_CFLAGS=""
27572 GTK_LIBS=""
27573 :
27574 fi
27575
27576
27577 rm -f conf.gtktest
27578
27579
27580 if test -z "$wx_cv_lib_gtk"; then
27581
27582 # Check whether --with-gtk-prefix was given.
27583 if test "${with_gtk_prefix+set}" = set; then
27584 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27585 else
27586 gtk_config_prefix=""
27587 fi
27588
27589
27590 # Check whether --with-gtk-exec-prefix was given.
27591 if test "${with_gtk_exec_prefix+set}" = set; then
27592 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27593 else
27594 gtk_config_exec_prefix=""
27595 fi
27596
27597 # Check whether --enable-gtktest was given.
27598 if test "${enable_gtktest+set}" = set; then
27599 enableval=$enable_gtktest;
27600 else
27601 enable_gtktest=yes
27602 fi
27603
27604
27605 for module in . $GTK_MODULES
27606 do
27607 case "$module" in
27608 gthread)
27609 gtk_config_args="$gtk_config_args gthread"
27610 ;;
27611 esac
27612 done
27613
27614 if test x$gtk_config_exec_prefix != x ; then
27615 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27616 if test x${GTK_CONFIG+set} != xset ; then
27617 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27618 fi
27619 fi
27620 if test x$gtk_config_prefix != x ; then
27621 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27622 if test x${GTK_CONFIG+set} != xset ; then
27623 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27624 fi
27625 fi
27626
27627 # Extract the first word of "gtk-config", so it can be a program name with args.
27628 set dummy gtk-config; ac_word=$2
27629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27631 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27632 echo $ECHO_N "(cached) $ECHO_C" >&6
27633 else
27634 case $GTK_CONFIG in
27635 [\\/]* | ?:[\\/]*)
27636 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27637 ;;
27638 *)
27639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27640 for as_dir in $PATH
27641 do
27642 IFS=$as_save_IFS
27643 test -z "$as_dir" && as_dir=.
27644 for ac_exec_ext in '' $ac_executable_extensions; do
27645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27646 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27648 break 2
27649 fi
27650 done
27651 done
27652 IFS=$as_save_IFS
27653
27654 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27655 ;;
27656 esac
27657 fi
27658 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27659 if test -n "$GTK_CONFIG"; then
27660 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27661 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27662 else
27663 { echo "$as_me:$LINENO: result: no" >&5
27664 echo "${ECHO_T}no" >&6; }
27665 fi
27666
27667
27668 min_gtk_version=1.2.3
27669 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27670 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27671 no_gtk=""
27672 if test "$GTK_CONFIG" = "no" ; then
27673 no_gtk=yes
27674 else
27675 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27676 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27677 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27679 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27681 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27683 if test "x$enable_gtktest" = "xyes" ; then
27684 ac_save_CFLAGS="$CFLAGS"
27685 ac_save_LIBS="$LIBS"
27686 CFLAGS="$CFLAGS $GTK_CFLAGS"
27687 LIBS="$GTK_LIBS $LIBS"
27688 rm -f conf.gtktest
27689 if test "$cross_compiling" = yes; then
27690 echo $ac_n "cross compiling; assumed OK... $ac_c"
27691 else
27692 cat >conftest.$ac_ext <<_ACEOF
27693 /* confdefs.h. */
27694 _ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698
27699 #include <gtk/gtk.h>
27700 #include <stdio.h>
27701 #include <stdlib.h>
27702
27703 int
27704 main ()
27705 {
27706 int major, minor, micro;
27707 char *tmp_version;
27708
27709 system ("touch conf.gtktest");
27710
27711 /* HP/UX 9 (%@#!) writes to sscanf strings */
27712 tmp_version = g_strdup("$min_gtk_version");
27713 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27714 printf("%s, bad version string\n", "$min_gtk_version");
27715 exit(1);
27716 }
27717
27718 if ((gtk_major_version != $gtk_config_major_version) ||
27719 (gtk_minor_version != $gtk_config_minor_version) ||
27720 (gtk_micro_version != $gtk_config_micro_version))
27721 {
27722 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27723 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27724 gtk_major_version, gtk_minor_version, gtk_micro_version);
27725 printf ("*** was found! If gtk-config was correct, then it is best\n");
27726 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27727 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27728 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27729 printf("*** required on your system.\n");
27730 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27731 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27732 printf("*** before re-running configure\n");
27733 }
27734 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27735 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27736 (gtk_minor_version != GTK_MINOR_VERSION) ||
27737 (gtk_micro_version != GTK_MICRO_VERSION))
27738 {
27739 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27740 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27741 printf("*** library (version %d.%d.%d)\n",
27742 gtk_major_version, gtk_minor_version, gtk_micro_version);
27743 }
27744 #endif /* defined (GTK_MAJOR_VERSION) ... */
27745 else
27746 {
27747 if ((gtk_major_version > major) ||
27748 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27749 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27750 {
27751 return 0;
27752 }
27753 else
27754 {
27755 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27756 gtk_major_version, gtk_minor_version, gtk_micro_version);
27757 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27758 major, minor, micro);
27759 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27760 printf("***\n");
27761 printf("*** If you have already installed a sufficiently new version, this error\n");
27762 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27763 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27764 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27765 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27766 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27767 printf("*** so that the correct libraries are found at run-time))\n");
27768 }
27769 }
27770 return 1;
27771 }
27772
27773 _ACEOF
27774 rm -f conftest$ac_exeext
27775 if { (ac_try="$ac_link"
27776 case "(($ac_try" in
27777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27778 *) ac_try_echo=$ac_try;;
27779 esac
27780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27781 (eval "$ac_link") 2>&5
27782 ac_status=$?
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27785 { (case "(($ac_try" in
27786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27787 *) ac_try_echo=$ac_try;;
27788 esac
27789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27790 (eval "$ac_try") 2>&5
27791 ac_status=$?
27792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27793 (exit $ac_status); }; }; then
27794 :
27795 else
27796 echo "$as_me: program exited with status $ac_status" >&5
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27799
27800 ( exit $ac_status )
27801 no_gtk=yes
27802 fi
27803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27804 fi
27805
27806
27807 CFLAGS="$ac_save_CFLAGS"
27808 LIBS="$ac_save_LIBS"
27809 fi
27810 fi
27811 if test "x$no_gtk" = x ; then
27812 { echo "$as_me:$LINENO: result: yes" >&5
27813 echo "${ECHO_T}yes" >&6; }
27814 wx_cv_lib_gtk=1.2.3
27815 else
27816 { echo "$as_me:$LINENO: result: no" >&5
27817 echo "${ECHO_T}no" >&6; }
27818 if test "$GTK_CONFIG" = "no" ; then
27819 echo "*** The gtk-config script installed by GTK could not be found"
27820 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27821 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27822 echo "*** full path to gtk-config."
27823 else
27824 if test -f conf.gtktest ; then
27825 :
27826 else
27827 echo "*** Could not run GTK test program, checking why..."
27828 CFLAGS="$CFLAGS $GTK_CFLAGS"
27829 LIBS="$LIBS $GTK_LIBS"
27830 cat >conftest.$ac_ext <<_ACEOF
27831 /* confdefs.h. */
27832 _ACEOF
27833 cat confdefs.h >>conftest.$ac_ext
27834 cat >>conftest.$ac_ext <<_ACEOF
27835 /* end confdefs.h. */
27836
27837 #include <gtk/gtk.h>
27838 #include <stdio.h>
27839
27840 int
27841 main ()
27842 {
27843 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27844 ;
27845 return 0;
27846 }
27847 _ACEOF
27848 rm -f conftest.$ac_objext conftest$ac_exeext
27849 if { (ac_try="$ac_link"
27850 case "(($ac_try" in
27851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27852 *) ac_try_echo=$ac_try;;
27853 esac
27854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27855 (eval "$ac_link") 2>conftest.er1
27856 ac_status=$?
27857 grep -v '^ *+' conftest.er1 >conftest.err
27858 rm -f conftest.er1
27859 cat conftest.err >&5
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); } && {
27862 test -z "$ac_c_werror_flag" ||
27863 test ! -s conftest.err
27864 } && test -s conftest$ac_exeext &&
27865 $as_test_x conftest$ac_exeext; then
27866 echo "*** The test program compiled, but did not run. This usually means"
27867 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27868 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27869 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27870 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27871 echo "*** is required on your system"
27872 echo "***"
27873 echo "*** If you have an old version installed, it is best to remove it, although"
27874 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27875 echo "***"
27876 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27877 echo "*** came with the system with the command"
27878 echo "***"
27879 echo "*** rpm --erase --nodeps gtk gtk-devel"
27880 else
27881 echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27883
27884 echo "*** The test program failed to compile or link. See the file config.log for the"
27885 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27886 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27887 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27888 fi
27889
27890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27891 conftest$ac_exeext conftest.$ac_ext
27892 CFLAGS="$ac_save_CFLAGS"
27893 LIBS="$ac_save_LIBS"
27894 fi
27895 fi
27896 GTK_CFLAGS=""
27897 GTK_LIBS=""
27898 :
27899 fi
27900
27901
27902 rm -f conf.gtktest
27903
27904 fi
27905 fi
27906 fi
27907
27908 if test -z "$wx_cv_lib_gtk"; then
27909 wx_cv_lib_gtk=none
27910 else
27911 wx_cv_cflags_gtk=$GTK_CFLAGS
27912 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27913 fi
27914
27915
27916 fi
27917
27918
27919 if test "$gtk_version_cached" = 1; then
27920 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27921 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27922 fi
27923
27924 case "$wx_cv_lib_gtk" in
27925 2.0) WXGTK20=1
27926 TOOLKIT_VERSION=2
27927 ;;
27928 1.2.7) WXGTK127=1
27929 WXGTK12=1
27930 ;;
27931 1.2.3) WXGTK12=1
27932 ;;
27933 *) { { echo "$as_me:$LINENO: error:
27934 The development files for GTK+ were not found. For GTK+ 2, please
27935 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27936 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27937 and that the version is 1.2.3 or above. Also check that the
27938 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27939 --libs' are in the LD_LIBRARY_PATH or equivalent.
27940 " >&5
27941 echo "$as_me: error:
27942 The development files for GTK+ were not found. For GTK+ 2, please
27943 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27944 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27945 and that the version is 1.2.3 or above. Also check that the
27946 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27947 --libs' are in the LD_LIBRARY_PATH or equivalent.
27948 " >&2;}
27949 { (exit 1); exit 1; }; }
27950 ;;
27951 esac
27952
27953 if test "$WXGTK20" = 1; then
27954 save_CFLAGS="$CFLAGS"
27955 save_LIBS="$LIBS"
27956 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27957 LIBS="$LIBS $wx_cv_libs_gtk"
27958
27959 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27960 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27961 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27962 echo $ECHO_N "(cached) $ECHO_C" >&6
27963 else
27964 cat >conftest.$ac_ext <<_ACEOF
27965 /* confdefs.h. */
27966 _ACEOF
27967 cat confdefs.h >>conftest.$ac_ext
27968 cat >>conftest.$ac_ext <<_ACEOF
27969 /* end confdefs.h. */
27970 #include <gtk/gtk.h>
27971
27972 int
27973 main ()
27974 {
27975 #ifndef gtk_icon_size_lookup
27976 (void) gtk_icon_size_lookup;
27977 #endif
27978
27979 ;
27980 return 0;
27981 }
27982 _ACEOF
27983 rm -f conftest.$ac_objext
27984 if { (ac_try="$ac_compile"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27988 esac
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_compile") 2>conftest.er1
27991 ac_status=$?
27992 grep -v '^ *+' conftest.er1 >conftest.err
27993 rm -f conftest.er1
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_c_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest.$ac_objext; then
28000 ac_cv_have_decl_gtk_icon_size_lookup=yes
28001 else
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28004
28005 ac_cv_have_decl_gtk_icon_size_lookup=no
28006 fi
28007
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 fi
28010 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28011 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28012 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28013
28014 cat >>confdefs.h <<_ACEOF
28015 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28016 _ACEOF
28017
28018
28019 else
28020 cat >>confdefs.h <<_ACEOF
28021 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28022 _ACEOF
28023
28024 cat >>confdefs.h <<\_ACEOF
28025 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28026 _ACEOF
28027
28028 fi
28029
28030
28031
28032
28033 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28034 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28035 cat >conftest.$ac_ext <<_ACEOF
28036 /* confdefs.h. */
28037 _ACEOF
28038 cat confdefs.h >>conftest.$ac_ext
28039 cat >>conftest.$ac_ext <<_ACEOF
28040 /* end confdefs.h. */
28041
28042 #include <gtk/gtk.h>
28043
28044 int
28045 main ()
28046 {
28047
28048 #if !GTK_CHECK_VERSION(2,10,0)
28049 Not GTK+ 2.10
28050 #endif
28051
28052 ;
28053 return 0;
28054 }
28055 _ACEOF
28056 rm -f conftest.$ac_objext
28057 if { (ac_try="$ac_compile"
28058 case "(($ac_try" in
28059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28060 *) ac_try_echo=$ac_try;;
28061 esac
28062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28063 (eval "$ac_compile") 2>conftest.er1
28064 ac_status=$?
28065 grep -v '^ *+' conftest.er1 >conftest.err
28066 rm -f conftest.er1
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28069 (exit $ac_status); } && {
28070 test -z "$ac_c_werror_flag" ||
28071 test ! -s conftest.err
28072 } && test -s conftest.$ac_objext; then
28073
28074 cat >>confdefs.h <<\_ACEOF
28075 #define __WXGTK210__ 1
28076 _ACEOF
28077
28078 cat >>confdefs.h <<\_ACEOF
28079 #define __WXGTK26__ 1
28080 _ACEOF
28081
28082 cat >>confdefs.h <<\_ACEOF
28083 #define __WXGTK24__ 1
28084 _ACEOF
28085
28086 { echo "$as_me:$LINENO: result: yes" >&5
28087 echo "${ECHO_T}yes" >&6; }
28088 ac_wxgtk210=1
28089
28090 else
28091 echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.$ac_ext >&5
28093
28094
28095 { echo "$as_me:$LINENO: result: no" >&5
28096 echo "${ECHO_T}no" >&6; }
28097 ac_wxgtk210=0
28098
28099 fi
28100
28101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28102
28103 if test "$ac_wxgtk210" = 0; then
28104 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28105 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28106 cat >conftest.$ac_ext <<_ACEOF
28107 /* confdefs.h. */
28108 _ACEOF
28109 cat confdefs.h >>conftest.$ac_ext
28110 cat >>conftest.$ac_ext <<_ACEOF
28111 /* end confdefs.h. */
28112
28113 #include <gtk/gtk.h>
28114
28115 int
28116 main ()
28117 {
28118
28119 #if !GTK_CHECK_VERSION(2,6,0)
28120 Not GTK+ 2.6
28121 #endif
28122
28123 ;
28124 return 0;
28125 }
28126 _ACEOF
28127 rm -f conftest.$ac_objext
28128 if { (ac_try="$ac_compile"
28129 case "(($ac_try" in
28130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131 *) ac_try_echo=$ac_try;;
28132 esac
28133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134 (eval "$ac_compile") 2>conftest.er1
28135 ac_status=$?
28136 grep -v '^ *+' conftest.er1 >conftest.err
28137 rm -f conftest.er1
28138 cat conftest.err >&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); } && {
28141 test -z "$ac_c_werror_flag" ||
28142 test ! -s conftest.err
28143 } && test -s conftest.$ac_objext; then
28144
28145 cat >>confdefs.h <<\_ACEOF
28146 #define __WXGTK26__ 1
28147 _ACEOF
28148
28149 cat >>confdefs.h <<\_ACEOF
28150 #define __WXGTK24__ 1
28151 _ACEOF
28152
28153 { echo "$as_me:$LINENO: result: yes" >&5
28154 echo "${ECHO_T}yes" >&6; }
28155 ac_wxgtk26=1
28156
28157 else
28158 echo "$as_me: failed program was:" >&5
28159 sed 's/^/| /' conftest.$ac_ext >&5
28160
28161
28162 { echo "$as_me:$LINENO: result: no" >&5
28163 echo "${ECHO_T}no" >&6; }
28164 ac_wxgtk26=0
28165
28166 fi
28167
28168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28169 fi
28170
28171 if test "$ac_wxgtk26" = 0; then
28172 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28173 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28174 cat >conftest.$ac_ext <<_ACEOF
28175 /* confdefs.h. */
28176 _ACEOF
28177 cat confdefs.h >>conftest.$ac_ext
28178 cat >>conftest.$ac_ext <<_ACEOF
28179 /* end confdefs.h. */
28180
28181 #include <gtk/gtk.h>
28182
28183 int
28184 main ()
28185 {
28186
28187 #if !GTK_CHECK_VERSION(2,4,0)
28188 Not GTK+ 2.4
28189 #endif
28190
28191 ;
28192 return 0;
28193 }
28194 _ACEOF
28195 rm -f conftest.$ac_objext
28196 if { (ac_try="$ac_compile"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28200 esac
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_compile") 2>conftest.er1
28203 ac_status=$?
28204 grep -v '^ *+' conftest.er1 >conftest.err
28205 rm -f conftest.er1
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } && {
28209 test -z "$ac_c_werror_flag" ||
28210 test ! -s conftest.err
28211 } && test -s conftest.$ac_objext; then
28212
28213 cat >>confdefs.h <<\_ACEOF
28214 #define __WXGTK24__ 1
28215 _ACEOF
28216
28217 { echo "$as_me:$LINENO: result: yes" >&5
28218 echo "${ECHO_T}yes" >&6; }
28219
28220 else
28221 echo "$as_me: failed program was:" >&5
28222 sed 's/^/| /' conftest.$ac_ext >&5
28223
28224
28225 { echo "$as_me:$LINENO: result: no" >&5
28226 echo "${ECHO_T}no" >&6; }
28227
28228 fi
28229
28230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28231 fi
28232
28233 CFLAGS="$save_CFLAGS"
28234 LIBS="$save_LIBS"
28235 else
28236 if test "$wxUSE_UNICODE" = "yes"; then
28237 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28238 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28239 wxUSE_UNICODE=no
28240 fi
28241
28242 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28243 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28244 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28245 echo $ECHO_N "(cached) $ECHO_C" >&6
28246 else
28247 ac_check_lib_save_LIBS=$LIBS
28248 LIBS="-lgdk $LIBS"
28249 cat >conftest.$ac_ext <<_ACEOF
28250 /* confdefs.h. */
28251 _ACEOF
28252 cat confdefs.h >>conftest.$ac_ext
28253 cat >>conftest.$ac_ext <<_ACEOF
28254 /* end confdefs.h. */
28255
28256 /* Override any GCC internal prototype to avoid an error.
28257 Use char because int might match the return type of a GCC
28258 builtin and then its argument prototype would still apply. */
28259 #ifdef __cplusplus
28260 extern "C"
28261 #endif
28262 char gdk_im_open ();
28263 int
28264 main ()
28265 {
28266 return gdk_im_open ();
28267 ;
28268 return 0;
28269 }
28270 _ACEOF
28271 rm -f conftest.$ac_objext conftest$ac_exeext
28272 if { (ac_try="$ac_link"
28273 case "(($ac_try" in
28274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28275 *) ac_try_echo=$ac_try;;
28276 esac
28277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28278 (eval "$ac_link") 2>conftest.er1
28279 ac_status=$?
28280 grep -v '^ *+' conftest.er1 >conftest.err
28281 rm -f conftest.er1
28282 cat conftest.err >&5
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); } && {
28285 test -z "$ac_c_werror_flag" ||
28286 test ! -s conftest.err
28287 } && test -s conftest$ac_exeext &&
28288 $as_test_x conftest$ac_exeext; then
28289 ac_cv_lib_gdk_gdk_im_open=yes
28290 else
28291 echo "$as_me: failed program was:" >&5
28292 sed 's/^/| /' conftest.$ac_ext >&5
28293
28294 ac_cv_lib_gdk_gdk_im_open=no
28295 fi
28296
28297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28298 conftest$ac_exeext conftest.$ac_ext
28299 LIBS=$ac_check_lib_save_LIBS
28300 fi
28301 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28302 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28303 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28304 cat >>confdefs.h <<\_ACEOF
28305 #define HAVE_XIM 1
28306 _ACEOF
28307
28308 fi
28309
28310
28311 if test "$USE_DARWIN" != 1; then
28312
28313 for ac_func in poll
28314 do
28315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28319 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 else
28321 cat >conftest.$ac_ext <<_ACEOF
28322 /* confdefs.h. */
28323 _ACEOF
28324 cat confdefs.h >>conftest.$ac_ext
28325 cat >>conftest.$ac_ext <<_ACEOF
28326 /* end confdefs.h. */
28327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28329 #define $ac_func innocuous_$ac_func
28330
28331 /* System header to define __stub macros and hopefully few prototypes,
28332 which can conflict with char $ac_func (); below.
28333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28334 <limits.h> exists even on freestanding compilers. */
28335
28336 #ifdef __STDC__
28337 # include <limits.h>
28338 #else
28339 # include <assert.h>
28340 #endif
28341
28342 #undef $ac_func
28343
28344 /* Override any GCC internal prototype to avoid an error.
28345 Use char because int might match the return type of a GCC
28346 builtin and then its argument prototype would still apply. */
28347 #ifdef __cplusplus
28348 extern "C"
28349 #endif
28350 char $ac_func ();
28351 /* The GNU C library defines this for functions which it implements
28352 to always fail with ENOSYS. Some functions are actually named
28353 something starting with __ and the normal name is an alias. */
28354 #if defined __stub_$ac_func || defined __stub___$ac_func
28355 choke me
28356 #endif
28357
28358 int
28359 main ()
28360 {
28361 return $ac_func ();
28362 ;
28363 return 0;
28364 }
28365 _ACEOF
28366 rm -f conftest.$ac_objext conftest$ac_exeext
28367 if { (ac_try="$ac_link"
28368 case "(($ac_try" in
28369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28370 *) ac_try_echo=$ac_try;;
28371 esac
28372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28373 (eval "$ac_link") 2>conftest.er1
28374 ac_status=$?
28375 grep -v '^ *+' conftest.er1 >conftest.err
28376 rm -f conftest.er1
28377 cat conftest.err >&5
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); } && {
28380 test -z "$ac_c_werror_flag" ||
28381 test ! -s conftest.err
28382 } && test -s conftest$ac_exeext &&
28383 $as_test_x conftest$ac_exeext; then
28384 eval "$as_ac_var=yes"
28385 else
28386 echo "$as_me: failed program was:" >&5
28387 sed 's/^/| /' conftest.$ac_ext >&5
28388
28389 eval "$as_ac_var=no"
28390 fi
28391
28392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28393 conftest$ac_exeext conftest.$ac_ext
28394 fi
28395 ac_res=`eval echo '${'$as_ac_var'}'`
28396 { echo "$as_me:$LINENO: result: $ac_res" >&5
28397 echo "${ECHO_T}$ac_res" >&6; }
28398 if test `eval echo '${'$as_ac_var'}'` = yes; then
28399 cat >>confdefs.h <<_ACEOF
28400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28401 _ACEOF
28402
28403 fi
28404 done
28405
28406 fi
28407 fi
28408
28409 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28410 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28411
28412 AFMINSTALL=afminstall
28413 TOOLKIT=GTK
28414 GUIDIST=GTK_DIST
28415
28416 if test "$wxUSE_GPE" = "yes"; then
28417 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28418 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28419
28420 ac_find_libraries=
28421 for ac_dir in $SEARCH_LIB;
28422 do
28423 for ac_extension in a so sl dylib dll.a; do
28424 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28425 ac_find_libraries=$ac_dir
28426 break 2
28427 fi
28428 done
28429 done
28430
28431 if test "$ac_find_libraries" != "" ; then
28432
28433 if test "$ac_find_libraries" = "default location"; then
28434 ac_path_to_link=""
28435 else
28436 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28437 result=$?
28438 if test $result = 0; then
28439 ac_path_to_link=""
28440 else
28441 ac_path_to_link=" -L$ac_find_libraries"
28442 fi
28443 fi
28444
28445 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28446 WXGPE=1
28447 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28448 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28449 else
28450 { echo "$as_me:$LINENO: result: not found" >&5
28451 echo "${ECHO_T}not found" >&6; }
28452 fi
28453
28454 fi
28455 fi
28456
28457 if test "$wxUSE_MGL" = 1; then
28458 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28459 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28460 if test "x$MGL_ROOT" = x ; then
28461 { echo "$as_me:$LINENO: result: not found" >&5
28462 echo "${ECHO_T}not found" >&6; }
28463 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28464 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28465 { (exit 1); exit 1; }; }
28466 else
28467 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28468 echo "${ECHO_T}$MGL_ROOT" >&6; }
28469 fi
28470
28471 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28472 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28473 case "${host}" in
28474 *-*-linux* )
28475 if test "x$wxUSE_SHARED" = xyes ; then
28476 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28477 else
28478 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28479 fi
28480 ;;
28481 *-pc-msdosdjgpp )
28482 mgl_os_candidates="dos32/dj2"
28483 ;;
28484 *)
28485 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28486 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28487 { (exit 1); exit 1; }; }
28488 esac
28489
28490 mgl_lib_type=""
28491 mgl_os=""
28492
28493 for mgl_os_i in $mgl_os_candidates ; do
28494 if test "x$mgl_os" = x ; then
28495 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28496 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28497 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28498 mgl_lib_type=debug
28499 mgl_os=$mgl_os_i
28500 fi
28501 fi
28502 if test "x$mgl_lib_type" = x ; then
28503 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28504 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28505 mgl_lib_type=release
28506 mgl_os=$mgl_os_i
28507 fi
28508 fi
28509 fi
28510 done
28511
28512 if test "x$mgl_os" = x ; then
28513 { echo "$as_me:$LINENO: result: not found" >&5
28514 echo "${ECHO_T}not found" >&6; }
28515 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28516 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28517 { (exit 1); exit 1; }; }
28518 fi
28519 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28520 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28521
28522 wxUSE_UNIVERSAL="yes"
28523
28524 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28525 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28526
28527 AFMINSTALL=afminstall
28528 TOOLKIT=MGL
28529 GUIDIST=MGL_DIST
28530 fi
28531
28532 if test "$wxUSE_DFB" = 1; then
28533
28534
28535 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28536 if test -n "$ac_tool_prefix"; then
28537 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28538 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28541 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28543 else
28544 case $PKG_CONFIG in
28545 [\\/]* | ?:[\\/]*)
28546 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28547 ;;
28548 *)
28549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28550 for as_dir in $PATH
28551 do
28552 IFS=$as_save_IFS
28553 test -z "$as_dir" && as_dir=.
28554 for ac_exec_ext in '' $ac_executable_extensions; do
28555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28556 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28558 break 2
28559 fi
28560 done
28561 done
28562 IFS=$as_save_IFS
28563
28564 ;;
28565 esac
28566 fi
28567 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28568 if test -n "$PKG_CONFIG"; then
28569 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28570 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28571 else
28572 { echo "$as_me:$LINENO: result: no" >&5
28573 echo "${ECHO_T}no" >&6; }
28574 fi
28575
28576
28577 fi
28578 if test -z "$ac_cv_path_PKG_CONFIG"; then
28579 ac_pt_PKG_CONFIG=$PKG_CONFIG
28580 # Extract the first word of "pkg-config", so it can be a program name with args.
28581 set dummy pkg-config; ac_word=$2
28582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28584 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28586 else
28587 case $ac_pt_PKG_CONFIG in
28588 [\\/]* | ?:[\\/]*)
28589 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28590 ;;
28591 *)
28592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28593 for as_dir in $PATH
28594 do
28595 IFS=$as_save_IFS
28596 test -z "$as_dir" && as_dir=.
28597 for ac_exec_ext in '' $ac_executable_extensions; do
28598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28599 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28601 break 2
28602 fi
28603 done
28604 done
28605 IFS=$as_save_IFS
28606
28607 ;;
28608 esac
28609 fi
28610 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28611 if test -n "$ac_pt_PKG_CONFIG"; then
28612 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28613 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28614 else
28615 { echo "$as_me:$LINENO: result: no" >&5
28616 echo "${ECHO_T}no" >&6; }
28617 fi
28618
28619 if test "x$ac_pt_PKG_CONFIG" = x; then
28620 PKG_CONFIG=""
28621 else
28622 case $cross_compiling:$ac_tool_warned in
28623 yes:)
28624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28625 whose name does not start with the host triplet. If you think this
28626 configuration is useful to you, please write to autoconf@gnu.org." >&5
28627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28628 whose name does not start with the host triplet. If you think this
28629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28630 ac_tool_warned=yes ;;
28631 esac
28632 PKG_CONFIG=$ac_pt_PKG_CONFIG
28633 fi
28634 else
28635 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28636 fi
28637
28638 fi
28639 if test -n "$PKG_CONFIG"; then
28640 _pkg_min_version=0.9.0
28641 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28642 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28643 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28644 { echo "$as_me:$LINENO: result: yes" >&5
28645 echo "${ECHO_T}yes" >&6; }
28646 else
28647 { echo "$as_me:$LINENO: result: no" >&5
28648 echo "${ECHO_T}no" >&6; }
28649 PKG_CONFIG=""
28650 fi
28651
28652 fi
28653
28654
28655 pkg_failed=no
28656 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28657 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28658
28659 if test -n "$PKG_CONFIG"; then
28660 if test -n "$DIRECTFB_CFLAGS"; then
28661 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28662 else
28663 if test -n "$PKG_CONFIG" && \
28664 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28665 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28666 ac_status=$?
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); }; then
28669 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28670 else
28671 pkg_failed=yes
28672 fi
28673 fi
28674 else
28675 pkg_failed=untried
28676 fi
28677 if test -n "$PKG_CONFIG"; then
28678 if test -n "$DIRECTFB_LIBS"; then
28679 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28680 else
28681 if test -n "$PKG_CONFIG" && \
28682 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28683 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28684 ac_status=$?
28685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28686 (exit $ac_status); }; then
28687 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28688 else
28689 pkg_failed=yes
28690 fi
28691 fi
28692 else
28693 pkg_failed=untried
28694 fi
28695
28696
28697
28698 if test $pkg_failed = yes; then
28699
28700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28701 _pkg_short_errors_supported=yes
28702 else
28703 _pkg_short_errors_supported=no
28704 fi
28705 if test $_pkg_short_errors_supported = yes; then
28706 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28707 else
28708 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28709 fi
28710 # Put the nasty error message in config.log where it belongs
28711 echo "$DIRECTFB_PKG_ERRORS" >&5
28712
28713
28714 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28715 echo "$as_me: error: DirectFB not found." >&2;}
28716 { (exit 1); exit 1; }; }
28717
28718
28719 elif test $pkg_failed = untried; then
28720
28721 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28722 echo "$as_me: error: DirectFB not found." >&2;}
28723 { (exit 1); exit 1; }; }
28724
28725
28726 else
28727 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28728 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28729 { echo "$as_me:$LINENO: result: yes" >&5
28730 echo "${ECHO_T}yes" >&6; }
28731
28732 wxUSE_UNIVERSAL="yes"
28733 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28734 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28735 TOOLKIT=DFB
28736 GUIDIST=DFB_DIST
28737
28738 fi
28739 fi
28740
28741 if test "$wxUSE_MICROWIN" = 1; then
28742 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28743 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28744 if test "x$MICROWINDOWS" = x ; then
28745 { echo "$as_me:$LINENO: result: not found" >&5
28746 echo "${ECHO_T}not found" >&6; }
28747 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28748 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28749 { (exit 1); exit 1; }; }
28750 else
28751 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28752 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28753 fi
28754
28755 if test -f $MICROWINDOWS/lib/libmwin.a; then
28756 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28757 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28758 else
28759 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28760 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28761 { (exit 1); exit 1; }; }
28762 fi
28763
28764 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28765 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28766
28767 wxUSE_UNIVERSAL="yes"
28768
28769 AFMINSTALL=afminstall
28770 TOOLKIT=MICROWIN
28771 GUIDIST=MICROWIN_DIST
28772
28773 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28774 fi
28775
28776 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28777 { echo "$as_me:$LINENO: checking for X" >&5
28778 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28779
28780
28781 # Check whether --with-x was given.
28782 if test "${with_x+set}" = set; then
28783 withval=$with_x;
28784 fi
28785
28786 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28787 if test "x$with_x" = xno; then
28788 # The user explicitly disabled X.
28789 have_x=disabled
28790 else
28791 case $x_includes,$x_libraries in #(
28792 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28793 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28794 { (exit 1); exit 1; }; };; #(
28795 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28796 echo $ECHO_N "(cached) $ECHO_C" >&6
28797 else
28798 # One or both of the vars are not set, and there is no cached value.
28799 ac_x_includes=no ac_x_libraries=no
28800 rm -f -r conftest.dir
28801 if mkdir conftest.dir; then
28802 cd conftest.dir
28803 cat >Imakefile <<'_ACEOF'
28804 incroot:
28805 @echo incroot='${INCROOT}'
28806 usrlibdir:
28807 @echo usrlibdir='${USRLIBDIR}'
28808 libdir:
28809 @echo libdir='${LIBDIR}'
28810 _ACEOF
28811 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28812 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28813 for ac_var in incroot usrlibdir libdir; do
28814 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28815 done
28816 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28817 for ac_extension in a so sl; do
28818 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28819 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28820 ac_im_usrlibdir=$ac_im_libdir; break
28821 fi
28822 done
28823 # Screen out bogus values from the imake configuration. They are
28824 # bogus both because they are the default anyway, and because
28825 # using them would break gcc on systems where it needs fixed includes.
28826 case $ac_im_incroot in
28827 /usr/include) ac_x_includes= ;;
28828 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28829 esac
28830 case $ac_im_usrlibdir in
28831 /usr/lib | /lib) ;;
28832 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28833 esac
28834 fi
28835 cd ..
28836 rm -f -r conftest.dir
28837 fi
28838
28839 # Standard set of common directories for X headers.
28840 # Check X11 before X11Rn because it is often a symlink to the current release.
28841 ac_x_header_dirs='
28842 /usr/X11/include
28843 /usr/X11R6/include
28844 /usr/X11R5/include
28845 /usr/X11R4/include
28846
28847 /usr/include/X11
28848 /usr/include/X11R6
28849 /usr/include/X11R5
28850 /usr/include/X11R4
28851
28852 /usr/local/X11/include
28853 /usr/local/X11R6/include
28854 /usr/local/X11R5/include
28855 /usr/local/X11R4/include
28856
28857 /usr/local/include/X11
28858 /usr/local/include/X11R6
28859 /usr/local/include/X11R5
28860 /usr/local/include/X11R4
28861
28862 /usr/X386/include
28863 /usr/x386/include
28864 /usr/XFree86/include/X11
28865
28866 /usr/include
28867 /usr/local/include
28868 /usr/unsupported/include
28869 /usr/athena/include
28870 /usr/local/x11r5/include
28871 /usr/lpp/Xamples/include
28872
28873 /usr/openwin/include
28874 /usr/openwin/share/include'
28875
28876 if test "$ac_x_includes" = no; then
28877 # Guess where to find include files, by looking for Xlib.h.
28878 # First, try using that file with no special directory specified.
28879 cat >conftest.$ac_ext <<_ACEOF
28880 /* confdefs.h. */
28881 _ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28885 #include <X11/Xlib.h>
28886 _ACEOF
28887 if { (ac_try="$ac_cpp conftest.$ac_ext"
28888 case "(($ac_try" in
28889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28890 *) ac_try_echo=$ac_try;;
28891 esac
28892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28894 ac_status=$?
28895 grep -v '^ *+' conftest.er1 >conftest.err
28896 rm -f conftest.er1
28897 cat conftest.err >&5
28898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28899 (exit $ac_status); } >/dev/null && {
28900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28901 test ! -s conftest.err
28902 }; then
28903 # We can compile using X headers with no special include directory.
28904 ac_x_includes=
28905 else
28906 echo "$as_me: failed program was:" >&5
28907 sed 's/^/| /' conftest.$ac_ext >&5
28908
28909 for ac_dir in $ac_x_header_dirs; do
28910 if test -r "$ac_dir/X11/Xlib.h"; then
28911 ac_x_includes=$ac_dir
28912 break
28913 fi
28914 done
28915 fi
28916
28917 rm -f conftest.err conftest.$ac_ext
28918 fi # $ac_x_includes = no
28919
28920 if test "$ac_x_libraries" = no; then
28921 # Check for the libraries.
28922 # See if we find them without any special options.
28923 # Don't add to $LIBS permanently.
28924 ac_save_LIBS=$LIBS
28925 LIBS="-lX11 $LIBS"
28926 cat >conftest.$ac_ext <<_ACEOF
28927 /* confdefs.h. */
28928 _ACEOF
28929 cat confdefs.h >>conftest.$ac_ext
28930 cat >>conftest.$ac_ext <<_ACEOF
28931 /* end confdefs.h. */
28932 #include <X11/Xlib.h>
28933 int
28934 main ()
28935 {
28936 XrmInitialize ()
28937 ;
28938 return 0;
28939 }
28940 _ACEOF
28941 rm -f conftest.$ac_objext conftest$ac_exeext
28942 if { (ac_try="$ac_link"
28943 case "(($ac_try" in
28944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28945 *) ac_try_echo=$ac_try;;
28946 esac
28947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28948 (eval "$ac_link") 2>conftest.er1
28949 ac_status=$?
28950 grep -v '^ *+' conftest.er1 >conftest.err
28951 rm -f conftest.er1
28952 cat conftest.err >&5
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); } && {
28955 test -z "$ac_c_werror_flag" ||
28956 test ! -s conftest.err
28957 } && test -s conftest$ac_exeext &&
28958 $as_test_x conftest$ac_exeext; then
28959 LIBS=$ac_save_LIBS
28960 # We can link X programs with no special library path.
28961 ac_x_libraries=
28962 else
28963 echo "$as_me: failed program was:" >&5
28964 sed 's/^/| /' conftest.$ac_ext >&5
28965
28966 LIBS=$ac_save_LIBS
28967 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28968 do
28969 # Don't even attempt the hair of trying to link an X program!
28970 for ac_extension in a so sl; do
28971 if test -r "$ac_dir/libX11.$ac_extension"; then
28972 ac_x_libraries=$ac_dir
28973 break 2
28974 fi
28975 done
28976 done
28977 fi
28978
28979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28980 conftest$ac_exeext conftest.$ac_ext
28981 fi # $ac_x_libraries = no
28982
28983 case $ac_x_includes,$ac_x_libraries in #(
28984 no,* | *,no | *\'*)
28985 # Didn't find X, or a directory has "'" in its name.
28986 ac_cv_have_x="have_x=no";; #(
28987 *)
28988 # Record where we found X for the cache.
28989 ac_cv_have_x="have_x=yes\
28990 ac_x_includes='$ac_x_includes'\
28991 ac_x_libraries='$ac_x_libraries'"
28992 esac
28993 fi
28994 ;; #(
28995 *) have_x=yes;;
28996 esac
28997 eval "$ac_cv_have_x"
28998 fi # $with_x != no
28999
29000 if test "$have_x" != yes; then
29001 { echo "$as_me:$LINENO: result: $have_x" >&5
29002 echo "${ECHO_T}$have_x" >&6; }
29003 no_x=yes
29004 else
29005 # If each of the values was on the command line, it overrides each guess.
29006 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29007 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29008 # Update the cache value to reflect the command line values.
29009 ac_cv_have_x="have_x=yes\
29010 ac_x_includes='$x_includes'\
29011 ac_x_libraries='$x_libraries'"
29012 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29013 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29014 fi
29015
29016 if test "$no_x" = yes; then
29017 # Not all programs may use this symbol, but it does not hurt to define it.
29018
29019 cat >>confdefs.h <<\_ACEOF
29020 #define X_DISPLAY_MISSING 1
29021 _ACEOF
29022
29023 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29024 else
29025 if test -n "$x_includes"; then
29026 X_CFLAGS="$X_CFLAGS -I$x_includes"
29027 fi
29028
29029 # It would also be nice to do this for all -L options, not just this one.
29030 if test -n "$x_libraries"; then
29031 X_LIBS="$X_LIBS -L$x_libraries"
29032 # For Solaris; some versions of Sun CC require a space after -R and
29033 # others require no space. Words are not sufficient . . . .
29034 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29035 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29036 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29037 ac_xsave_c_werror_flag=$ac_c_werror_flag
29038 ac_c_werror_flag=yes
29039 cat >conftest.$ac_ext <<_ACEOF
29040 /* confdefs.h. */
29041 _ACEOF
29042 cat confdefs.h >>conftest.$ac_ext
29043 cat >>conftest.$ac_ext <<_ACEOF
29044 /* end confdefs.h. */
29045
29046 int
29047 main ()
29048 {
29049
29050 ;
29051 return 0;
29052 }
29053 _ACEOF
29054 rm -f conftest.$ac_objext conftest$ac_exeext
29055 if { (ac_try="$ac_link"
29056 case "(($ac_try" in
29057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29058 *) ac_try_echo=$ac_try;;
29059 esac
29060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29061 (eval "$ac_link") 2>conftest.er1
29062 ac_status=$?
29063 grep -v '^ *+' conftest.er1 >conftest.err
29064 rm -f conftest.er1
29065 cat conftest.err >&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); } && {
29068 test -z "$ac_c_werror_flag" ||
29069 test ! -s conftest.err
29070 } && test -s conftest$ac_exeext &&
29071 $as_test_x conftest$ac_exeext; then
29072 { echo "$as_me:$LINENO: result: no" >&5
29073 echo "${ECHO_T}no" >&6; }
29074 X_LIBS="$X_LIBS -R$x_libraries"
29075 else
29076 echo "$as_me: failed program was:" >&5
29077 sed 's/^/| /' conftest.$ac_ext >&5
29078
29079 LIBS="$ac_xsave_LIBS -R $x_libraries"
29080 cat >conftest.$ac_ext <<_ACEOF
29081 /* confdefs.h. */
29082 _ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29086
29087 int
29088 main ()
29089 {
29090
29091 ;
29092 return 0;
29093 }
29094 _ACEOF
29095 rm -f conftest.$ac_objext conftest$ac_exeext
29096 if { (ac_try="$ac_link"
29097 case "(($ac_try" in
29098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29099 *) ac_try_echo=$ac_try;;
29100 esac
29101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29102 (eval "$ac_link") 2>conftest.er1
29103 ac_status=$?
29104 grep -v '^ *+' conftest.er1 >conftest.err
29105 rm -f conftest.er1
29106 cat conftest.err >&5
29107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29108 (exit $ac_status); } && {
29109 test -z "$ac_c_werror_flag" ||
29110 test ! -s conftest.err
29111 } && test -s conftest$ac_exeext &&
29112 $as_test_x conftest$ac_exeext; then
29113 { echo "$as_me:$LINENO: result: yes" >&5
29114 echo "${ECHO_T}yes" >&6; }
29115 X_LIBS="$X_LIBS -R $x_libraries"
29116 else
29117 echo "$as_me: failed program was:" >&5
29118 sed 's/^/| /' conftest.$ac_ext >&5
29119
29120 { echo "$as_me:$LINENO: result: neither works" >&5
29121 echo "${ECHO_T}neither works" >&6; }
29122 fi
29123
29124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29125 conftest$ac_exeext conftest.$ac_ext
29126 fi
29127
29128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29129 conftest$ac_exeext conftest.$ac_ext
29130 ac_c_werror_flag=$ac_xsave_c_werror_flag
29131 LIBS=$ac_xsave_LIBS
29132 fi
29133
29134 # Check for system-dependent libraries X programs must link with.
29135 # Do this before checking for the system-independent R6 libraries
29136 # (-lICE), since we may need -lsocket or whatever for X linking.
29137
29138 if test "$ISC" = yes; then
29139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29140 else
29141 # Martyn Johnson says this is needed for Ultrix, if the X
29142 # libraries were built with DECnet support. And Karl Berry says
29143 # the Alpha needs dnet_stub (dnet does not exist).
29144 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29145 cat >conftest.$ac_ext <<_ACEOF
29146 /* confdefs.h. */
29147 _ACEOF
29148 cat confdefs.h >>conftest.$ac_ext
29149 cat >>conftest.$ac_ext <<_ACEOF
29150 /* end confdefs.h. */
29151
29152 /* Override any GCC internal prototype to avoid an error.
29153 Use char because int might match the return type of a GCC
29154 builtin and then its argument prototype would still apply. */
29155 #ifdef __cplusplus
29156 extern "C"
29157 #endif
29158 char XOpenDisplay ();
29159 int
29160 main ()
29161 {
29162 return XOpenDisplay ();
29163 ;
29164 return 0;
29165 }
29166 _ACEOF
29167 rm -f conftest.$ac_objext conftest$ac_exeext
29168 if { (ac_try="$ac_link"
29169 case "(($ac_try" in
29170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29171 *) ac_try_echo=$ac_try;;
29172 esac
29173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29174 (eval "$ac_link") 2>conftest.er1
29175 ac_status=$?
29176 grep -v '^ *+' conftest.er1 >conftest.err
29177 rm -f conftest.er1
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } && {
29181 test -z "$ac_c_werror_flag" ||
29182 test ! -s conftest.err
29183 } && test -s conftest$ac_exeext &&
29184 $as_test_x conftest$ac_exeext; then
29185 :
29186 else
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.$ac_ext >&5
29189
29190 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29191 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29192 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29193 echo $ECHO_N "(cached) $ECHO_C" >&6
29194 else
29195 ac_check_lib_save_LIBS=$LIBS
29196 LIBS="-ldnet $LIBS"
29197 cat >conftest.$ac_ext <<_ACEOF
29198 /* confdefs.h. */
29199 _ACEOF
29200 cat confdefs.h >>conftest.$ac_ext
29201 cat >>conftest.$ac_ext <<_ACEOF
29202 /* end confdefs.h. */
29203
29204 /* Override any GCC internal prototype to avoid an error.
29205 Use char because int might match the return type of a GCC
29206 builtin and then its argument prototype would still apply. */
29207 #ifdef __cplusplus
29208 extern "C"
29209 #endif
29210 char dnet_ntoa ();
29211 int
29212 main ()
29213 {
29214 return dnet_ntoa ();
29215 ;
29216 return 0;
29217 }
29218 _ACEOF
29219 rm -f conftest.$ac_objext conftest$ac_exeext
29220 if { (ac_try="$ac_link"
29221 case "(($ac_try" in
29222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29223 *) ac_try_echo=$ac_try;;
29224 esac
29225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29226 (eval "$ac_link") 2>conftest.er1
29227 ac_status=$?
29228 grep -v '^ *+' conftest.er1 >conftest.err
29229 rm -f conftest.er1
29230 cat conftest.err >&5
29231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29232 (exit $ac_status); } && {
29233 test -z "$ac_c_werror_flag" ||
29234 test ! -s conftest.err
29235 } && test -s conftest$ac_exeext &&
29236 $as_test_x conftest$ac_exeext; then
29237 ac_cv_lib_dnet_dnet_ntoa=yes
29238 else
29239 echo "$as_me: failed program was:" >&5
29240 sed 's/^/| /' conftest.$ac_ext >&5
29241
29242 ac_cv_lib_dnet_dnet_ntoa=no
29243 fi
29244
29245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29246 conftest$ac_exeext conftest.$ac_ext
29247 LIBS=$ac_check_lib_save_LIBS
29248 fi
29249 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29250 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29251 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29252 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29253 fi
29254
29255 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29256 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29257 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29258 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29259 echo $ECHO_N "(cached) $ECHO_C" >&6
29260 else
29261 ac_check_lib_save_LIBS=$LIBS
29262 LIBS="-ldnet_stub $LIBS"
29263 cat >conftest.$ac_ext <<_ACEOF
29264 /* confdefs.h. */
29265 _ACEOF
29266 cat confdefs.h >>conftest.$ac_ext
29267 cat >>conftest.$ac_ext <<_ACEOF
29268 /* end confdefs.h. */
29269
29270 /* Override any GCC internal prototype to avoid an error.
29271 Use char because int might match the return type of a GCC
29272 builtin and then its argument prototype would still apply. */
29273 #ifdef __cplusplus
29274 extern "C"
29275 #endif
29276 char dnet_ntoa ();
29277 int
29278 main ()
29279 {
29280 return dnet_ntoa ();
29281 ;
29282 return 0;
29283 }
29284 _ACEOF
29285 rm -f conftest.$ac_objext conftest$ac_exeext
29286 if { (ac_try="$ac_link"
29287 case "(($ac_try" in
29288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29289 *) ac_try_echo=$ac_try;;
29290 esac
29291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29292 (eval "$ac_link") 2>conftest.er1
29293 ac_status=$?
29294 grep -v '^ *+' conftest.er1 >conftest.err
29295 rm -f conftest.er1
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } && {
29299 test -z "$ac_c_werror_flag" ||
29300 test ! -s conftest.err
29301 } && test -s conftest$ac_exeext &&
29302 $as_test_x conftest$ac_exeext; then
29303 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29304 else
29305 echo "$as_me: failed program was:" >&5
29306 sed 's/^/| /' conftest.$ac_ext >&5
29307
29308 ac_cv_lib_dnet_stub_dnet_ntoa=no
29309 fi
29310
29311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29312 conftest$ac_exeext conftest.$ac_ext
29313 LIBS=$ac_check_lib_save_LIBS
29314 fi
29315 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29316 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29317 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29318 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29319 fi
29320
29321 fi
29322 fi
29323
29324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29325 conftest$ac_exeext conftest.$ac_ext
29326 LIBS="$ac_xsave_LIBS"
29327
29328 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29329 # to get the SysV transport functions.
29330 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29331 # needs -lnsl.
29332 # The nsl library prevents programs from opening the X display
29333 # on Irix 5.2, according to T.E. Dickey.
29334 # The functions gethostbyname, getservbyname, and inet_addr are
29335 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29336 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29337 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29338 if test "${ac_cv_func_gethostbyname+set}" = set; then
29339 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 else
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 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29349 #define gethostbyname innocuous_gethostbyname
29350
29351 /* System header to define __stub macros and hopefully few prototypes,
29352 which can conflict with char gethostbyname (); below.
29353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29354 <limits.h> exists even on freestanding compilers. */
29355
29356 #ifdef __STDC__
29357 # include <limits.h>
29358 #else
29359 # include <assert.h>
29360 #endif
29361
29362 #undef gethostbyname
29363
29364 /* Override any GCC internal prototype to avoid an error.
29365 Use char because int might match the return type of a GCC
29366 builtin and then its argument prototype would still apply. */
29367 #ifdef __cplusplus
29368 extern "C"
29369 #endif
29370 char gethostbyname ();
29371 /* The GNU C library defines this for functions which it implements
29372 to always fail with ENOSYS. Some functions are actually named
29373 something starting with __ and the normal name is an alias. */
29374 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29375 choke me
29376 #endif
29377
29378 int
29379 main ()
29380 {
29381 return gethostbyname ();
29382 ;
29383 return 0;
29384 }
29385 _ACEOF
29386 rm -f conftest.$ac_objext conftest$ac_exeext
29387 if { (ac_try="$ac_link"
29388 case "(($ac_try" in
29389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29390 *) ac_try_echo=$ac_try;;
29391 esac
29392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29393 (eval "$ac_link") 2>conftest.er1
29394 ac_status=$?
29395 grep -v '^ *+' conftest.er1 >conftest.err
29396 rm -f conftest.er1
29397 cat conftest.err >&5
29398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399 (exit $ac_status); } && {
29400 test -z "$ac_c_werror_flag" ||
29401 test ! -s conftest.err
29402 } && test -s conftest$ac_exeext &&
29403 $as_test_x conftest$ac_exeext; then
29404 ac_cv_func_gethostbyname=yes
29405 else
29406 echo "$as_me: failed program was:" >&5
29407 sed 's/^/| /' conftest.$ac_ext >&5
29408
29409 ac_cv_func_gethostbyname=no
29410 fi
29411
29412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29413 conftest$ac_exeext conftest.$ac_ext
29414 fi
29415 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29416 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29417
29418 if test $ac_cv_func_gethostbyname = no; then
29419 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29420 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29421 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29422 echo $ECHO_N "(cached) $ECHO_C" >&6
29423 else
29424 ac_check_lib_save_LIBS=$LIBS
29425 LIBS="-lnsl $LIBS"
29426 cat >conftest.$ac_ext <<_ACEOF
29427 /* confdefs.h. */
29428 _ACEOF
29429 cat confdefs.h >>conftest.$ac_ext
29430 cat >>conftest.$ac_ext <<_ACEOF
29431 /* end confdefs.h. */
29432
29433 /* Override any GCC internal prototype to avoid an error.
29434 Use char because int might match the return type of a GCC
29435 builtin and then its argument prototype would still apply. */
29436 #ifdef __cplusplus
29437 extern "C"
29438 #endif
29439 char gethostbyname ();
29440 int
29441 main ()
29442 {
29443 return gethostbyname ();
29444 ;
29445 return 0;
29446 }
29447 _ACEOF
29448 rm -f conftest.$ac_objext conftest$ac_exeext
29449 if { (ac_try="$ac_link"
29450 case "(($ac_try" in
29451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29452 *) ac_try_echo=$ac_try;;
29453 esac
29454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29455 (eval "$ac_link") 2>conftest.er1
29456 ac_status=$?
29457 grep -v '^ *+' conftest.er1 >conftest.err
29458 rm -f conftest.er1
29459 cat conftest.err >&5
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); } && {
29462 test -z "$ac_c_werror_flag" ||
29463 test ! -s conftest.err
29464 } && test -s conftest$ac_exeext &&
29465 $as_test_x conftest$ac_exeext; then
29466 ac_cv_lib_nsl_gethostbyname=yes
29467 else
29468 echo "$as_me: failed program was:" >&5
29469 sed 's/^/| /' conftest.$ac_ext >&5
29470
29471 ac_cv_lib_nsl_gethostbyname=no
29472 fi
29473
29474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29475 conftest$ac_exeext conftest.$ac_ext
29476 LIBS=$ac_check_lib_save_LIBS
29477 fi
29478 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29479 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29480 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29482 fi
29483
29484 if test $ac_cv_lib_nsl_gethostbyname = no; then
29485 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29486 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29487 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29489 else
29490 ac_check_lib_save_LIBS=$LIBS
29491 LIBS="-lbsd $LIBS"
29492 cat >conftest.$ac_ext <<_ACEOF
29493 /* confdefs.h. */
29494 _ACEOF
29495 cat confdefs.h >>conftest.$ac_ext
29496 cat >>conftest.$ac_ext <<_ACEOF
29497 /* end confdefs.h. */
29498
29499 /* Override any GCC internal prototype to avoid an error.
29500 Use char because int might match the return type of a GCC
29501 builtin and then its argument prototype would still apply. */
29502 #ifdef __cplusplus
29503 extern "C"
29504 #endif
29505 char gethostbyname ();
29506 int
29507 main ()
29508 {
29509 return gethostbyname ();
29510 ;
29511 return 0;
29512 }
29513 _ACEOF
29514 rm -f conftest.$ac_objext conftest$ac_exeext
29515 if { (ac_try="$ac_link"
29516 case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29519 esac
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_link") 2>conftest.er1
29522 ac_status=$?
29523 grep -v '^ *+' conftest.er1 >conftest.err
29524 rm -f conftest.er1
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } && {
29528 test -z "$ac_c_werror_flag" ||
29529 test ! -s conftest.err
29530 } && test -s conftest$ac_exeext &&
29531 $as_test_x conftest$ac_exeext; then
29532 ac_cv_lib_bsd_gethostbyname=yes
29533 else
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 ac_cv_lib_bsd_gethostbyname=no
29538 fi
29539
29540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29541 conftest$ac_exeext conftest.$ac_ext
29542 LIBS=$ac_check_lib_save_LIBS
29543 fi
29544 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29545 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29546 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29547 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29548 fi
29549
29550 fi
29551 fi
29552
29553 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29554 # socket/setsockopt and other routines are undefined under SCO ODT
29555 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29556 # on later versions), says Simon Leinen: it contains gethostby*
29557 # variants that don't use the name server (or something). -lsocket
29558 # must be given before -lnsl if both are needed. We assume that
29559 # if connect needs -lnsl, so does gethostbyname.
29560 { echo "$as_me:$LINENO: checking for connect" >&5
29561 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29562 if test "${ac_cv_func_connect+set}" = set; then
29563 echo $ECHO_N "(cached) $ECHO_C" >&6
29564 else
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 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29573 #define connect innocuous_connect
29574
29575 /* System header to define __stub macros and hopefully few prototypes,
29576 which can conflict with char connect (); below.
29577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29578 <limits.h> exists even on freestanding compilers. */
29579
29580 #ifdef __STDC__
29581 # include <limits.h>
29582 #else
29583 # include <assert.h>
29584 #endif
29585
29586 #undef connect
29587
29588 /* Override any GCC internal prototype to avoid an error.
29589 Use char because int might match the return type of a GCC
29590 builtin and then its argument prototype would still apply. */
29591 #ifdef __cplusplus
29592 extern "C"
29593 #endif
29594 char connect ();
29595 /* The GNU C library defines this for functions which it implements
29596 to always fail with ENOSYS. Some functions are actually named
29597 something starting with __ and the normal name is an alias. */
29598 #if defined __stub_connect || defined __stub___connect
29599 choke me
29600 #endif
29601
29602 int
29603 main ()
29604 {
29605 return connect ();
29606 ;
29607 return 0;
29608 }
29609 _ACEOF
29610 rm -f conftest.$ac_objext conftest$ac_exeext
29611 if { (ac_try="$ac_link"
29612 case "(($ac_try" in
29613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29614 *) ac_try_echo=$ac_try;;
29615 esac
29616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29617 (eval "$ac_link") 2>conftest.er1
29618 ac_status=$?
29619 grep -v '^ *+' conftest.er1 >conftest.err
29620 rm -f conftest.er1
29621 cat conftest.err >&5
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); } && {
29624 test -z "$ac_c_werror_flag" ||
29625 test ! -s conftest.err
29626 } && test -s conftest$ac_exeext &&
29627 $as_test_x conftest$ac_exeext; then
29628 ac_cv_func_connect=yes
29629 else
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29632
29633 ac_cv_func_connect=no
29634 fi
29635
29636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29637 conftest$ac_exeext conftest.$ac_ext
29638 fi
29639 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29640 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29641
29642 if test $ac_cv_func_connect = no; then
29643 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29644 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29645 if test "${ac_cv_lib_socket_connect+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 else
29648 ac_check_lib_save_LIBS=$LIBS
29649 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29650 cat >conftest.$ac_ext <<_ACEOF
29651 /* confdefs.h. */
29652 _ACEOF
29653 cat confdefs.h >>conftest.$ac_ext
29654 cat >>conftest.$ac_ext <<_ACEOF
29655 /* end confdefs.h. */
29656
29657 /* Override any GCC internal prototype to avoid an error.
29658 Use char because int might match the return type of a GCC
29659 builtin and then its argument prototype would still apply. */
29660 #ifdef __cplusplus
29661 extern "C"
29662 #endif
29663 char connect ();
29664 int
29665 main ()
29666 {
29667 return connect ();
29668 ;
29669 return 0;
29670 }
29671 _ACEOF
29672 rm -f conftest.$ac_objext conftest$ac_exeext
29673 if { (ac_try="$ac_link"
29674 case "(($ac_try" in
29675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29676 *) ac_try_echo=$ac_try;;
29677 esac
29678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29679 (eval "$ac_link") 2>conftest.er1
29680 ac_status=$?
29681 grep -v '^ *+' conftest.er1 >conftest.err
29682 rm -f conftest.er1
29683 cat conftest.err >&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } && {
29686 test -z "$ac_c_werror_flag" ||
29687 test ! -s conftest.err
29688 } && test -s conftest$ac_exeext &&
29689 $as_test_x conftest$ac_exeext; then
29690 ac_cv_lib_socket_connect=yes
29691 else
29692 echo "$as_me: failed program was:" >&5
29693 sed 's/^/| /' conftest.$ac_ext >&5
29694
29695 ac_cv_lib_socket_connect=no
29696 fi
29697
29698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29699 conftest$ac_exeext conftest.$ac_ext
29700 LIBS=$ac_check_lib_save_LIBS
29701 fi
29702 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29703 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29704 if test $ac_cv_lib_socket_connect = yes; then
29705 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29706 fi
29707
29708 fi
29709
29710 # Guillermo Gomez says -lposix is necessary on A/UX.
29711 { echo "$as_me:$LINENO: checking for remove" >&5
29712 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29713 if test "${ac_cv_func_remove+set}" = set; then
29714 echo $ECHO_N "(cached) $ECHO_C" >&6
29715 else
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 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29724 #define remove innocuous_remove
29725
29726 /* System header to define __stub macros and hopefully few prototypes,
29727 which can conflict with char remove (); below.
29728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29729 <limits.h> exists even on freestanding compilers. */
29730
29731 #ifdef __STDC__
29732 # include <limits.h>
29733 #else
29734 # include <assert.h>
29735 #endif
29736
29737 #undef remove
29738
29739 /* Override any GCC internal prototype to avoid an error.
29740 Use char because int might match the return type of a GCC
29741 builtin and then its argument prototype would still apply. */
29742 #ifdef __cplusplus
29743 extern "C"
29744 #endif
29745 char remove ();
29746 /* The GNU C library defines this for functions which it implements
29747 to always fail with ENOSYS. Some functions are actually named
29748 something starting with __ and the normal name is an alias. */
29749 #if defined __stub_remove || defined __stub___remove
29750 choke me
29751 #endif
29752
29753 int
29754 main ()
29755 {
29756 return remove ();
29757 ;
29758 return 0;
29759 }
29760 _ACEOF
29761 rm -f conftest.$ac_objext conftest$ac_exeext
29762 if { (ac_try="$ac_link"
29763 case "(($ac_try" in
29764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29765 *) ac_try_echo=$ac_try;;
29766 esac
29767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29768 (eval "$ac_link") 2>conftest.er1
29769 ac_status=$?
29770 grep -v '^ *+' conftest.er1 >conftest.err
29771 rm -f conftest.er1
29772 cat conftest.err >&5
29773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29774 (exit $ac_status); } && {
29775 test -z "$ac_c_werror_flag" ||
29776 test ! -s conftest.err
29777 } && test -s conftest$ac_exeext &&
29778 $as_test_x conftest$ac_exeext; then
29779 ac_cv_func_remove=yes
29780 else
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.$ac_ext >&5
29783
29784 ac_cv_func_remove=no
29785 fi
29786
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 fi
29790 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29791 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29792
29793 if test $ac_cv_func_remove = no; then
29794 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29795 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29796 if test "${ac_cv_lib_posix_remove+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799 ac_check_lib_save_LIBS=$LIBS
29800 LIBS="-lposix $LIBS"
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807
29808 /* Override any GCC internal prototype to avoid an error.
29809 Use char because int might match the return type of a GCC
29810 builtin and then its argument prototype would still apply. */
29811 #ifdef __cplusplus
29812 extern "C"
29813 #endif
29814 char remove ();
29815 int
29816 main ()
29817 {
29818 return remove ();
29819 ;
29820 return 0;
29821 }
29822 _ACEOF
29823 rm -f conftest.$ac_objext conftest$ac_exeext
29824 if { (ac_try="$ac_link"
29825 case "(($ac_try" in
29826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29827 *) ac_try_echo=$ac_try;;
29828 esac
29829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29830 (eval "$ac_link") 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } && {
29837 test -z "$ac_c_werror_flag" ||
29838 test ! -s conftest.err
29839 } && test -s conftest$ac_exeext &&
29840 $as_test_x conftest$ac_exeext; then
29841 ac_cv_lib_posix_remove=yes
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846 ac_cv_lib_posix_remove=no
29847 fi
29848
29849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29850 conftest$ac_exeext conftest.$ac_ext
29851 LIBS=$ac_check_lib_save_LIBS
29852 fi
29853 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29854 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29855 if test $ac_cv_lib_posix_remove = yes; then
29856 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29857 fi
29858
29859 fi
29860
29861 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29862 { echo "$as_me:$LINENO: checking for shmat" >&5
29863 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29864 if test "${ac_cv_func_shmat+set}" = set; then
29865 echo $ECHO_N "(cached) $ECHO_C" >&6
29866 else
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 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29875 #define shmat innocuous_shmat
29876
29877 /* System header to define __stub macros and hopefully few prototypes,
29878 which can conflict with char shmat (); below.
29879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29880 <limits.h> exists even on freestanding compilers. */
29881
29882 #ifdef __STDC__
29883 # include <limits.h>
29884 #else
29885 # include <assert.h>
29886 #endif
29887
29888 #undef shmat
29889
29890 /* Override any GCC internal prototype to avoid an error.
29891 Use char because int might match the return type of a GCC
29892 builtin and then its argument prototype would still apply. */
29893 #ifdef __cplusplus
29894 extern "C"
29895 #endif
29896 char shmat ();
29897 /* The GNU C library defines this for functions which it implements
29898 to always fail with ENOSYS. Some functions are actually named
29899 something starting with __ and the normal name is an alias. */
29900 #if defined __stub_shmat || defined __stub___shmat
29901 choke me
29902 #endif
29903
29904 int
29905 main ()
29906 {
29907 return shmat ();
29908 ;
29909 return 0;
29910 }
29911 _ACEOF
29912 rm -f conftest.$ac_objext conftest$ac_exeext
29913 if { (ac_try="$ac_link"
29914 case "(($ac_try" in
29915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29916 *) ac_try_echo=$ac_try;;
29917 esac
29918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29919 (eval "$ac_link") 2>conftest.er1
29920 ac_status=$?
29921 grep -v '^ *+' conftest.er1 >conftest.err
29922 rm -f conftest.er1
29923 cat conftest.err >&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); } && {
29926 test -z "$ac_c_werror_flag" ||
29927 test ! -s conftest.err
29928 } && test -s conftest$ac_exeext &&
29929 $as_test_x conftest$ac_exeext; then
29930 ac_cv_func_shmat=yes
29931 else
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29934
29935 ac_cv_func_shmat=no
29936 fi
29937
29938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29939 conftest$ac_exeext conftest.$ac_ext
29940 fi
29941 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29942 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29943
29944 if test $ac_cv_func_shmat = no; then
29945 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29946 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29947 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29949 else
29950 ac_check_lib_save_LIBS=$LIBS
29951 LIBS="-lipc $LIBS"
29952 cat >conftest.$ac_ext <<_ACEOF
29953 /* confdefs.h. */
29954 _ACEOF
29955 cat confdefs.h >>conftest.$ac_ext
29956 cat >>conftest.$ac_ext <<_ACEOF
29957 /* end confdefs.h. */
29958
29959 /* Override any GCC internal prototype to avoid an error.
29960 Use char because int might match the return type of a GCC
29961 builtin and then its argument prototype would still apply. */
29962 #ifdef __cplusplus
29963 extern "C"
29964 #endif
29965 char shmat ();
29966 int
29967 main ()
29968 {
29969 return shmat ();
29970 ;
29971 return 0;
29972 }
29973 _ACEOF
29974 rm -f conftest.$ac_objext conftest$ac_exeext
29975 if { (ac_try="$ac_link"
29976 case "(($ac_try" in
29977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29978 *) ac_try_echo=$ac_try;;
29979 esac
29980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29981 (eval "$ac_link") 2>conftest.er1
29982 ac_status=$?
29983 grep -v '^ *+' conftest.er1 >conftest.err
29984 rm -f conftest.er1
29985 cat conftest.err >&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); } && {
29988 test -z "$ac_c_werror_flag" ||
29989 test ! -s conftest.err
29990 } && test -s conftest$ac_exeext &&
29991 $as_test_x conftest$ac_exeext; then
29992 ac_cv_lib_ipc_shmat=yes
29993 else
29994 echo "$as_me: failed program was:" >&5
29995 sed 's/^/| /' conftest.$ac_ext >&5
29996
29997 ac_cv_lib_ipc_shmat=no
29998 fi
29999
30000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30001 conftest$ac_exeext conftest.$ac_ext
30002 LIBS=$ac_check_lib_save_LIBS
30003 fi
30004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30005 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30006 if test $ac_cv_lib_ipc_shmat = yes; then
30007 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30008 fi
30009
30010 fi
30011 fi
30012
30013 # Check for libraries that X11R6 Xt/Xaw programs need.
30014 ac_save_LDFLAGS=$LDFLAGS
30015 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30016 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30017 # check for ICE first), but we must link in the order -lSM -lICE or
30018 # we get undefined symbols. So assume we have SM if we have ICE.
30019 # These have to be linked with before -lX11, unlike the other
30020 # libraries we check for below, so use a different variable.
30021 # John Interrante, Karl Berry
30022 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30023 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30024 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30025 echo $ECHO_N "(cached) $ECHO_C" >&6
30026 else
30027 ac_check_lib_save_LIBS=$LIBS
30028 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30029 cat >conftest.$ac_ext <<_ACEOF
30030 /* confdefs.h. */
30031 _ACEOF
30032 cat confdefs.h >>conftest.$ac_ext
30033 cat >>conftest.$ac_ext <<_ACEOF
30034 /* end confdefs.h. */
30035
30036 /* Override any GCC internal prototype to avoid an error.
30037 Use char because int might match the return type of a GCC
30038 builtin and then its argument prototype would still apply. */
30039 #ifdef __cplusplus
30040 extern "C"
30041 #endif
30042 char IceConnectionNumber ();
30043 int
30044 main ()
30045 {
30046 return IceConnectionNumber ();
30047 ;
30048 return 0;
30049 }
30050 _ACEOF
30051 rm -f conftest.$ac_objext conftest$ac_exeext
30052 if { (ac_try="$ac_link"
30053 case "(($ac_try" in
30054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30055 *) ac_try_echo=$ac_try;;
30056 esac
30057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30058 (eval "$ac_link") 2>conftest.er1
30059 ac_status=$?
30060 grep -v '^ *+' conftest.er1 >conftest.err
30061 rm -f conftest.er1
30062 cat conftest.err >&5
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); } && {
30065 test -z "$ac_c_werror_flag" ||
30066 test ! -s conftest.err
30067 } && test -s conftest$ac_exeext &&
30068 $as_test_x conftest$ac_exeext; then
30069 ac_cv_lib_ICE_IceConnectionNumber=yes
30070 else
30071 echo "$as_me: failed program was:" >&5
30072 sed 's/^/| /' conftest.$ac_ext >&5
30073
30074 ac_cv_lib_ICE_IceConnectionNumber=no
30075 fi
30076
30077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30078 conftest$ac_exeext conftest.$ac_ext
30079 LIBS=$ac_check_lib_save_LIBS
30080 fi
30081 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30082 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30083 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30084 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30085 fi
30086
30087 LDFLAGS=$ac_save_LDFLAGS
30088
30089 fi
30090
30091
30092 if test "$no_x" = "yes"; then
30093 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30094 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30095 { (exit 1); exit 1; }; }
30096 fi
30097
30098 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30099 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30100 AFMINSTALL=afminstall
30101 COMPILED_X_PROGRAM=0
30102
30103 fi
30104
30105 if test "$wxUSE_X11" = 1; then
30106 if test "$wxUSE_NANOX" = "yes"; then
30107 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30108 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30109 if test "x$MICROWIN" = x ; then
30110 { echo "$as_me:$LINENO: result: not found" >&5
30111 echo "${ECHO_T}not found" >&6; }
30112 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30113 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30114 { (exit 1); exit 1; }; }
30115 else
30116 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30117 echo "${ECHO_T}$MICROWIN" >&6; }
30118 cat >>confdefs.h <<\_ACEOF
30119 #define wxUSE_NANOX 1
30120 _ACEOF
30121
30122 fi
30123 fi
30124
30125 if test "$wxUSE_UNICODE" = "yes"; then
30126
30127
30128 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30129 if test -n "$ac_tool_prefix"; then
30130 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30131 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30134 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30135 echo $ECHO_N "(cached) $ECHO_C" >&6
30136 else
30137 case $PKG_CONFIG in
30138 [\\/]* | ?:[\\/]*)
30139 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30140 ;;
30141 *)
30142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30143 for as_dir in $PATH
30144 do
30145 IFS=$as_save_IFS
30146 test -z "$as_dir" && as_dir=.
30147 for ac_exec_ext in '' $ac_executable_extensions; do
30148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30149 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30151 break 2
30152 fi
30153 done
30154 done
30155 IFS=$as_save_IFS
30156
30157 ;;
30158 esac
30159 fi
30160 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30161 if test -n "$PKG_CONFIG"; then
30162 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30163 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30164 else
30165 { echo "$as_me:$LINENO: result: no" >&5
30166 echo "${ECHO_T}no" >&6; }
30167 fi
30168
30169
30170 fi
30171 if test -z "$ac_cv_path_PKG_CONFIG"; then
30172 ac_pt_PKG_CONFIG=$PKG_CONFIG
30173 # Extract the first word of "pkg-config", so it can be a program name with args.
30174 set dummy pkg-config; ac_word=$2
30175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30177 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30178 echo $ECHO_N "(cached) $ECHO_C" >&6
30179 else
30180 case $ac_pt_PKG_CONFIG in
30181 [\\/]* | ?:[\\/]*)
30182 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30183 ;;
30184 *)
30185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30186 for as_dir in $PATH
30187 do
30188 IFS=$as_save_IFS
30189 test -z "$as_dir" && as_dir=.
30190 for ac_exec_ext in '' $ac_executable_extensions; do
30191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30192 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30194 break 2
30195 fi
30196 done
30197 done
30198 IFS=$as_save_IFS
30199
30200 ;;
30201 esac
30202 fi
30203 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30204 if test -n "$ac_pt_PKG_CONFIG"; then
30205 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30206 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30207 else
30208 { echo "$as_me:$LINENO: result: no" >&5
30209 echo "${ECHO_T}no" >&6; }
30210 fi
30211
30212 if test "x$ac_pt_PKG_CONFIG" = x; then
30213 PKG_CONFIG=""
30214 else
30215 case $cross_compiling:$ac_tool_warned in
30216 yes:)
30217 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30218 whose name does not start with the host triplet. If you think this
30219 configuration is useful to you, please write to autoconf@gnu.org." >&5
30220 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30221 whose name does not start with the host triplet. If you think this
30222 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30223 ac_tool_warned=yes ;;
30224 esac
30225 PKG_CONFIG=$ac_pt_PKG_CONFIG
30226 fi
30227 else
30228 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30229 fi
30230
30231 fi
30232 if test -n "$PKG_CONFIG"; then
30233 _pkg_min_version=0.9.0
30234 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30235 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30236 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30237 { echo "$as_me:$LINENO: result: yes" >&5
30238 echo "${ECHO_T}yes" >&6; }
30239 else
30240 { echo "$as_me:$LINENO: result: no" >&5
30241 echo "${ECHO_T}no" >&6; }
30242 PKG_CONFIG=""
30243 fi
30244
30245 fi
30246
30247
30248 pkg_failed=no
30249 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30250 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30251
30252 if test -n "$PKG_CONFIG"; then
30253 if test -n "$PANGOX_CFLAGS"; then
30254 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30255 else
30256 if test -n "$PKG_CONFIG" && \
30257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30258 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30259 ac_status=$?
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); }; then
30262 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30263 else
30264 pkg_failed=yes
30265 fi
30266 fi
30267 else
30268 pkg_failed=untried
30269 fi
30270 if test -n "$PKG_CONFIG"; then
30271 if test -n "$PANGOX_LIBS"; then
30272 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30273 else
30274 if test -n "$PKG_CONFIG" && \
30275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30276 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30277 ac_status=$?
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); }; then
30280 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30281 else
30282 pkg_failed=yes
30283 fi
30284 fi
30285 else
30286 pkg_failed=untried
30287 fi
30288
30289
30290
30291 if test $pkg_failed = yes; then
30292
30293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30294 _pkg_short_errors_supported=yes
30295 else
30296 _pkg_short_errors_supported=no
30297 fi
30298 if test $_pkg_short_errors_supported = yes; then
30299 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30300 else
30301 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30302 fi
30303 # Put the nasty error message in config.log where it belongs
30304 echo "$PANGOX_PKG_ERRORS" >&5
30305
30306
30307 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30308 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30309 { (exit 1); exit 1; }; }
30310
30311
30312 elif test $pkg_failed = untried; then
30313
30314 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30315 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30316 { (exit 1); exit 1; }; }
30317
30318
30319 else
30320 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30321 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30322 { echo "$as_me:$LINENO: result: yes" >&5
30323 echo "${ECHO_T}yes" >&6; }
30324
30325 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30326 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30327 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30328
30329 fi
30330
30331 pkg_failed=no
30332 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30333 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30334
30335 if test -n "$PKG_CONFIG"; then
30336 if test -n "$PANGOFT2_CFLAGS"; then
30337 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30338 else
30339 if test -n "$PKG_CONFIG" && \
30340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30341 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; then
30345 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30346 else
30347 pkg_failed=yes
30348 fi
30349 fi
30350 else
30351 pkg_failed=untried
30352 fi
30353 if test -n "$PKG_CONFIG"; then
30354 if test -n "$PANGOFT2_LIBS"; then
30355 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30356 else
30357 if test -n "$PKG_CONFIG" && \
30358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30359 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30360 ac_status=$?
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; then
30363 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30364 else
30365 pkg_failed=yes
30366 fi
30367 fi
30368 else
30369 pkg_failed=untried
30370 fi
30371
30372
30373
30374 if test $pkg_failed = yes; then
30375
30376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30377 _pkg_short_errors_supported=yes
30378 else
30379 _pkg_short_errors_supported=no
30380 fi
30381 if test $_pkg_short_errors_supported = yes; then
30382 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30383 else
30384 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30385 fi
30386 # Put the nasty error message in config.log where it belongs
30387 echo "$PANGOFT2_PKG_ERRORS" >&5
30388
30389
30390 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30391 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30392 wxUSE_PRINTING_ARCHITECTURE="no"
30393
30394
30395 elif test $pkg_failed = untried; then
30396
30397 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30398 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30399 wxUSE_PRINTING_ARCHITECTURE="no"
30400
30401
30402 else
30403 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30404 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30405 { echo "$as_me:$LINENO: result: yes" >&5
30406 echo "${ECHO_T}yes" >&6; }
30407
30408 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30409 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30411
30412 fi
30413
30414 pkg_failed=no
30415 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30416 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30417
30418 if test -n "$PKG_CONFIG"; then
30419 if test -n "$PANGOXFT_CFLAGS"; then
30420 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30421 else
30422 if test -n "$PKG_CONFIG" && \
30423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30424 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30425 ac_status=$?
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; then
30428 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30429 else
30430 pkg_failed=yes
30431 fi
30432 fi
30433 else
30434 pkg_failed=untried
30435 fi
30436 if test -n "$PKG_CONFIG"; then
30437 if test -n "$PANGOXFT_LIBS"; then
30438 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30439 else
30440 if test -n "$PKG_CONFIG" && \
30441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30442 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; then
30446 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30447 else
30448 pkg_failed=yes
30449 fi
30450 fi
30451 else
30452 pkg_failed=untried
30453 fi
30454
30455
30456
30457 if test $pkg_failed = yes; then
30458
30459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30460 _pkg_short_errors_supported=yes
30461 else
30462 _pkg_short_errors_supported=no
30463 fi
30464 if test $_pkg_short_errors_supported = yes; then
30465 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30466 else
30467 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30468 fi
30469 # Put the nasty error message in config.log where it belongs
30470 echo "$PANGOXFT_PKG_ERRORS" >&5
30471
30472
30473 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30474 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30475
30476
30477 elif test $pkg_failed = untried; then
30478
30479 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30480 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30481
30482
30483 else
30484 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30485 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30486 { echo "$as_me:$LINENO: result: yes" >&5
30487 echo "${ECHO_T}yes" >&6; }
30488
30489 cat >>confdefs.h <<\_ACEOF
30490 #define HAVE_PANGO_XFT 1
30491 _ACEOF
30492
30493 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30494 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30495 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30496
30497 fi
30498 save_LIBS="$LIBS"
30499 LIBS="$LIBS $PANGOX_LIBS"
30500
30501 for ac_func in pango_font_family_is_monospace
30502 do
30503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30504 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30506 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30507 echo $ECHO_N "(cached) $ECHO_C" >&6
30508 else
30509 cat >conftest.$ac_ext <<_ACEOF
30510 /* confdefs.h. */
30511 _ACEOF
30512 cat confdefs.h >>conftest.$ac_ext
30513 cat >>conftest.$ac_ext <<_ACEOF
30514 /* end confdefs.h. */
30515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30517 #define $ac_func innocuous_$ac_func
30518
30519 /* System header to define __stub macros and hopefully few prototypes,
30520 which can conflict with char $ac_func (); below.
30521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30522 <limits.h> exists even on freestanding compilers. */
30523
30524 #ifdef __STDC__
30525 # include <limits.h>
30526 #else
30527 # include <assert.h>
30528 #endif
30529
30530 #undef $ac_func
30531
30532 /* Override any GCC internal prototype to avoid an error.
30533 Use char because int might match the return type of a GCC
30534 builtin and then its argument prototype would still apply. */
30535 #ifdef __cplusplus
30536 extern "C"
30537 #endif
30538 char $ac_func ();
30539 /* The GNU C library defines this for functions which it implements
30540 to always fail with ENOSYS. Some functions are actually named
30541 something starting with __ and the normal name is an alias. */
30542 #if defined __stub_$ac_func || defined __stub___$ac_func
30543 choke me
30544 #endif
30545
30546 int
30547 main ()
30548 {
30549 return $ac_func ();
30550 ;
30551 return 0;
30552 }
30553 _ACEOF
30554 rm -f conftest.$ac_objext conftest$ac_exeext
30555 if { (ac_try="$ac_link"
30556 case "(($ac_try" in
30557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30558 *) ac_try_echo=$ac_try;;
30559 esac
30560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30561 (eval "$ac_link") 2>conftest.er1
30562 ac_status=$?
30563 grep -v '^ *+' conftest.er1 >conftest.err
30564 rm -f conftest.er1
30565 cat conftest.err >&5
30566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30567 (exit $ac_status); } && {
30568 test -z "$ac_c_werror_flag" ||
30569 test ! -s conftest.err
30570 } && test -s conftest$ac_exeext &&
30571 $as_test_x conftest$ac_exeext; then
30572 eval "$as_ac_var=yes"
30573 else
30574 echo "$as_me: failed program was:" >&5
30575 sed 's/^/| /' conftest.$ac_ext >&5
30576
30577 eval "$as_ac_var=no"
30578 fi
30579
30580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30581 conftest$ac_exeext conftest.$ac_ext
30582 fi
30583 ac_res=`eval echo '${'$as_ac_var'}'`
30584 { echo "$as_me:$LINENO: result: $ac_res" >&5
30585 echo "${ECHO_T}$ac_res" >&6; }
30586 if test `eval echo '${'$as_ac_var'}'` = yes; then
30587 cat >>confdefs.h <<_ACEOF
30588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30589 _ACEOF
30590
30591 fi
30592 done
30593
30594 LIBS="$save_LIBS"
30595 fi
30596
30597 wxUSE_UNIVERSAL="yes"
30598
30599 if test "$wxUSE_NANOX" = "yes"; then
30600 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30601 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"
30602 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30603 else
30604 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30605 fi
30606
30607 TOOLKIT=X11
30608 GUIDIST=X11_DIST
30609 fi
30610
30611 if test "$wxUSE_MOTIF" = 1; then
30612 if test "$wxUSE_UNICODE" = "yes"; then
30613 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30614 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30615 { (exit 1); exit 1; }; }
30616 fi
30617
30618 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30619 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30620
30621 ac_find_includes=
30622 for ac_dir in $SEARCH_INCLUDE /usr/include;
30623 do
30624 if test -f "$ac_dir/Xm/Xm.h"; then
30625 ac_find_includes=$ac_dir
30626 break
30627 fi
30628 done
30629
30630 if test "$ac_find_includes" != "" ; then
30631 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30632 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30633
30634 if test "x$ac_find_includes" = "x/usr/include"; then
30635 ac_path_to_include=""
30636 else
30637 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30638 result=$?
30639 if test $result = 0; then
30640 ac_path_to_include=""
30641 else
30642 ac_path_to_include=" -I$ac_find_includes"
30643 fi
30644 fi
30645
30646 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30647 else
30648 save_CFLAGS=$CFLAGS
30649 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30650
30651 cat >conftest.$ac_ext <<_ACEOF
30652 /* confdefs.h. */
30653 _ACEOF
30654 cat confdefs.h >>conftest.$ac_ext
30655 cat >>conftest.$ac_ext <<_ACEOF
30656 /* end confdefs.h. */
30657
30658 #include <Xm/Xm.h>
30659
30660 int
30661 main ()
30662 {
30663
30664 int version;
30665 version = xmUseVersion;
30666
30667 ;
30668 return 0;
30669 }
30670 _ACEOF
30671 rm -f conftest.$ac_objext
30672 if { (ac_try="$ac_compile"
30673 case "(($ac_try" in
30674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30675 *) ac_try_echo=$ac_try;;
30676 esac
30677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30678 (eval "$ac_compile") 2>conftest.er1
30679 ac_status=$?
30680 grep -v '^ *+' conftest.er1 >conftest.err
30681 rm -f conftest.er1
30682 cat conftest.err >&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } && {
30685 test -z "$ac_c_werror_flag" ||
30686 test ! -s conftest.err
30687 } && test -s conftest.$ac_objext; then
30688
30689 { echo "$as_me:$LINENO: result: found in default search path" >&5
30690 echo "${ECHO_T}found in default search path" >&6; }
30691 COMPILED_X_PROGRAM=1
30692
30693 else
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.$ac_ext >&5
30696
30697
30698 { echo "$as_me:$LINENO: result: no" >&5
30699 echo "${ECHO_T}no" >&6; }
30700 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30701 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30702 { (exit 1); exit 1; }; }
30703
30704
30705 fi
30706
30707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30708
30709 CFLAGS=$save_CFLAGS
30710 fi
30711
30712
30713 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30714 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30715
30716 ac_find_libraries=
30717 for ac_dir in $SEARCH_LIB;
30718 do
30719 for ac_extension in a so sl dylib dll.a; do
30720 if test -f "$ac_dir/libXm.$ac_extension"; then
30721 ac_find_libraries=$ac_dir
30722 break 2
30723 fi
30724 done
30725 done
30726
30727
30728 if test "x$ac_find_libraries" != "x" ; then
30729 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30730 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30731
30732
30733 if test "$ac_find_libraries" = "default location"; then
30734 ac_path_to_link=""
30735 else
30736 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30737 result=$?
30738 if test $result = 0; then
30739 ac_path_to_link=""
30740 else
30741 ac_path_to_link=" -L$ac_find_libraries"
30742 fi
30743 fi
30744
30745 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30746 else
30747 save_CFLAGS=$CFLAGS
30748 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30749 save_LIBS="$LIBS"
30750 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30751
30752 cat >conftest.$ac_ext <<_ACEOF
30753 /* confdefs.h. */
30754 _ACEOF
30755 cat confdefs.h >>conftest.$ac_ext
30756 cat >>conftest.$ac_ext <<_ACEOF
30757 /* end confdefs.h. */
30758
30759 #include <Xm/Xm.h>
30760
30761 int
30762 main ()
30763 {
30764
30765 int version;
30766 version = xmUseVersion;
30767
30768 ;
30769 return 0;
30770 }
30771 _ACEOF
30772 rm -f conftest.$ac_objext conftest$ac_exeext
30773 if { (ac_try="$ac_link"
30774 case "(($ac_try" in
30775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30776 *) ac_try_echo=$ac_try;;
30777 esac
30778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30779 (eval "$ac_link") 2>conftest.er1
30780 ac_status=$?
30781 grep -v '^ *+' conftest.er1 >conftest.err
30782 rm -f conftest.er1
30783 cat conftest.err >&5
30784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30785 (exit $ac_status); } && {
30786 test -z "$ac_c_werror_flag" ||
30787 test ! -s conftest.err
30788 } && test -s conftest$ac_exeext &&
30789 $as_test_x conftest$ac_exeext; then
30790
30791 { echo "$as_me:$LINENO: result: found in default search path" >&5
30792 echo "${ECHO_T}found in default search path" >&6; }
30793 COMPILED_X_PROGRAM=1
30794
30795 else
30796 echo "$as_me: failed program was:" >&5
30797 sed 's/^/| /' conftest.$ac_ext >&5
30798
30799
30800 { echo "$as_me:$LINENO: result: no" >&5
30801 echo "${ECHO_T}no" >&6; }
30802 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30803 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30804 { (exit 1); exit 1; }; }
30805
30806
30807 fi
30808
30809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30810 conftest$ac_exeext conftest.$ac_ext
30811
30812 CFLAGS=$save_CFLAGS
30813 LIBS="$save_LIBS"
30814 fi
30815
30816 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30817 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30818 libp_link=""
30819 libsm_ice_link=""
30820 libs_found=0
30821 for libp in "" " -lXp"; do
30822 if test "$libs_found" = "0"; then
30823 for libsm_ice in "" " -lSM -lICE"; do
30824 if test "$libs_found" = "0"; then
30825 save_LIBS="$LIBS"
30826 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30827 save_CFLAGS=$CFLAGS
30828 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30829
30830 cat >conftest.$ac_ext <<_ACEOF
30831 /* confdefs.h. */
30832 _ACEOF
30833 cat confdefs.h >>conftest.$ac_ext
30834 cat >>conftest.$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30836
30837 #include <Xm/Xm.h>
30838 #include <Xm/List.h>
30839
30840 int
30841 main ()
30842 {
30843
30844 XmString string = NULL;
30845 Widget w = NULL;
30846 int position = 0;
30847 XmListAddItem(w, string, position);
30848
30849 ;
30850 return 0;
30851 }
30852 _ACEOF
30853 rm -f conftest.$ac_objext conftest$ac_exeext
30854 if { (ac_try="$ac_link"
30855 case "(($ac_try" in
30856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30857 *) ac_try_echo=$ac_try;;
30858 esac
30859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30860 (eval "$ac_link") 2>conftest.er1
30861 ac_status=$?
30862 grep -v '^ *+' conftest.er1 >conftest.err
30863 rm -f conftest.er1
30864 cat conftest.err >&5
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); } && {
30867 test -z "$ac_c_werror_flag" ||
30868 test ! -s conftest.err
30869 } && test -s conftest$ac_exeext &&
30870 $as_test_x conftest$ac_exeext; then
30871
30872 libp_link="$libp"
30873 libsm_ice_link="$libsm_ice"
30874 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30875 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30876 libs_found=1
30877
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882
30883
30884 fi
30885
30886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30887 conftest$ac_exeext conftest.$ac_ext
30888
30889 LIBS="$save_LIBS"
30890 CFLAGS=$save_CFLAGS
30891 fi
30892 done
30893 fi
30894 done
30895
30896 if test "$libs_found" = "0"; then
30897 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30898 echo "${ECHO_T}can't find the right libraries" >&6; }
30899 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30900 echo "$as_me: error: can't link a simple motif program" >&2;}
30901 { (exit 1); exit 1; }; }
30902 fi
30903
30904 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30905 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30906 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30907 echo $ECHO_N "(cached) $ECHO_C" >&6
30908 else
30909 ac_check_lib_save_LIBS=$LIBS
30910 LIBS="-lSgm $LIBS"
30911 cat >conftest.$ac_ext <<_ACEOF
30912 /* confdefs.h. */
30913 _ACEOF
30914 cat confdefs.h >>conftest.$ac_ext
30915 cat >>conftest.$ac_ext <<_ACEOF
30916 /* end confdefs.h. */
30917
30918 /* Override any GCC internal prototype to avoid an error.
30919 Use char because int might match the return type of a GCC
30920 builtin and then its argument prototype would still apply. */
30921 #ifdef __cplusplus
30922 extern "C"
30923 #endif
30924 char SgCreateList ();
30925 int
30926 main ()
30927 {
30928 return SgCreateList ();
30929 ;
30930 return 0;
30931 }
30932 _ACEOF
30933 rm -f conftest.$ac_objext conftest$ac_exeext
30934 if { (ac_try="$ac_link"
30935 case "(($ac_try" in
30936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30937 *) ac_try_echo=$ac_try;;
30938 esac
30939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30940 (eval "$ac_link") 2>conftest.er1
30941 ac_status=$?
30942 grep -v '^ *+' conftest.er1 >conftest.err
30943 rm -f conftest.er1
30944 cat conftest.err >&5
30945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30946 (exit $ac_status); } && {
30947 test -z "$ac_c_werror_flag" ||
30948 test ! -s conftest.err
30949 } && test -s conftest$ac_exeext &&
30950 $as_test_x conftest$ac_exeext; then
30951 ac_cv_lib_Sgm_SgCreateList=yes
30952 else
30953 echo "$as_me: failed program was:" >&5
30954 sed 's/^/| /' conftest.$ac_ext >&5
30955
30956 ac_cv_lib_Sgm_SgCreateList=no
30957 fi
30958
30959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30960 conftest$ac_exeext conftest.$ac_ext
30961 LIBS=$ac_check_lib_save_LIBS
30962 fi
30963 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30964 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30965 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30966 libsgm_link=" -lSgm"
30967 fi
30968
30969
30970 save_CFLAGS=$CFLAGS
30971 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30972
30973 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30974 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30975 if test "${wx_cv_lib_motif2+set}" = set; then
30976 echo $ECHO_N "(cached) $ECHO_C" >&6
30977 else
30978 cat >conftest.$ac_ext <<_ACEOF
30979 /* confdefs.h. */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30984
30985 #include <Xm/Xm.h>
30986
30987 int
30988 main ()
30989 {
30990
30991 #if XmVersion < 2000
30992 Not Motif 2
30993 #endif
30994
30995 ;
30996 return 0;
30997 }
30998 _ACEOF
30999 rm -f conftest.$ac_objext
31000 if { (ac_try="$ac_compile"
31001 case "(($ac_try" in
31002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31003 *) ac_try_echo=$ac_try;;
31004 esac
31005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31006 (eval "$ac_compile") 2>conftest.er1
31007 ac_status=$?
31008 grep -v '^ *+' conftest.er1 >conftest.err
31009 rm -f conftest.er1
31010 cat conftest.err >&5
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); } && {
31013 test -z "$ac_c_werror_flag" ||
31014 test ! -s conftest.err
31015 } && test -s conftest.$ac_objext; then
31016 wx_cv_lib_motif2="yes"
31017 else
31018 echo "$as_me: failed program was:" >&5
31019 sed 's/^/| /' conftest.$ac_ext >&5
31020
31021 wx_cv_lib_motif2="no"
31022 fi
31023
31024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31025 fi
31026 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31027 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31028 if test "$wx_cv_lib_motif2" = "yes"; then
31029 cat >>confdefs.h <<\_ACEOF
31030 #define __WXMOTIF20__ 1
31031 _ACEOF
31032
31033 else
31034 cat >>confdefs.h <<\_ACEOF
31035 #define __WXMOTIF20__ 0
31036 _ACEOF
31037
31038 fi
31039
31040 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31041 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31042 if test "${wx_cv_lib_lesstif+set}" = set; then
31043 echo $ECHO_N "(cached) $ECHO_C" >&6
31044 else
31045 cat >conftest.$ac_ext <<_ACEOF
31046 /* confdefs.h. */
31047 _ACEOF
31048 cat confdefs.h >>conftest.$ac_ext
31049 cat >>conftest.$ac_ext <<_ACEOF
31050 /* end confdefs.h. */
31051
31052 #include <Xm/Xm.h>
31053
31054 int
31055 main ()
31056 {
31057
31058 #if !defined(LesstifVersion) || LesstifVersion <= 0
31059 Not Lesstif
31060 #endif
31061
31062 ;
31063 return 0;
31064 }
31065 _ACEOF
31066 rm -f conftest.$ac_objext
31067 if { (ac_try="$ac_compile"
31068 case "(($ac_try" in
31069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31070 *) ac_try_echo=$ac_try;;
31071 esac
31072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31073 (eval "$ac_compile") 2>conftest.er1
31074 ac_status=$?
31075 grep -v '^ *+' conftest.er1 >conftest.err
31076 rm -f conftest.er1
31077 cat conftest.err >&5
31078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31079 (exit $ac_status); } && {
31080 test -z "$ac_c_werror_flag" ||
31081 test ! -s conftest.err
31082 } && test -s conftest.$ac_objext; then
31083 wx_cv_lib_lesstif="yes"
31084 else
31085 echo "$as_me: failed program was:" >&5
31086 sed 's/^/| /' conftest.$ac_ext >&5
31087
31088 wx_cv_lib_lesstif="no"
31089 fi
31090
31091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31092
31093 fi
31094 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31095 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31096 if test "$wx_cv_lib_lesstif" = "yes"; then
31097 cat >>confdefs.h <<\_ACEOF
31098 #define __WXLESSTIF__ 1
31099 _ACEOF
31100
31101 else
31102 cat >>confdefs.h <<\_ACEOF
31103 #define __WXLESSTIF__ 0
31104 _ACEOF
31105
31106 fi
31107
31108 CFLAGS=$save_CFLAGS
31109
31110 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31111 TOOLKIT=MOTIF
31112 GUIDIST=MOTIF_DIST
31113 fi
31114
31115 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31116 if test "$wxUSE_LIBXPM" = "sys"; then
31117 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31118 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31119
31120 ac_find_libraries=
31121 for ac_dir in $SEARCH_LIB;
31122 do
31123 for ac_extension in a so sl dylib dll.a; do
31124 if test -f "$ac_dir/libXpm.$ac_extension"; then
31125 ac_find_libraries=$ac_dir
31126 break 2
31127 fi
31128 done
31129 done
31130
31131 if test "$ac_find_libraries" != "" ; then
31132
31133 if test "$ac_find_libraries" = "default location"; then
31134 ac_path_to_link=""
31135 else
31136 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31137 result=$?
31138 if test $result = 0; then
31139 ac_path_to_link=""
31140 else
31141 ac_path_to_link=" -L$ac_find_libraries"
31142 fi
31143 fi
31144
31145 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31146 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31147 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31148
31149 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31150 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31151 if test "${wx_cv_x11_xpm_h+set}" = set; then
31152 echo $ECHO_N "(cached) $ECHO_C" >&6
31153 else
31154
31155 save_CFLAGS=$CFLAGS
31156 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31157
31158 cat >conftest.$ac_ext <<_ACEOF
31159 /* confdefs.h. */
31160 _ACEOF
31161 cat confdefs.h >>conftest.$ac_ext
31162 cat >>conftest.$ac_ext <<_ACEOF
31163 /* end confdefs.h. */
31164
31165 #include <X11/xpm.h>
31166
31167 int
31168 main ()
31169 {
31170
31171 int version;
31172 version = XpmLibraryVersion();
31173
31174 ;
31175 return 0;
31176 }
31177 _ACEOF
31178 rm -f conftest.$ac_objext
31179 if { (ac_try="$ac_compile"
31180 case "(($ac_try" in
31181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31182 *) ac_try_echo=$ac_try;;
31183 esac
31184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31185 (eval "$ac_compile") 2>conftest.er1
31186 ac_status=$?
31187 grep -v '^ *+' conftest.er1 >conftest.err
31188 rm -f conftest.er1
31189 cat conftest.err >&5
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); } && {
31192 test -z "$ac_c_werror_flag" ||
31193 test ! -s conftest.err
31194 } && test -s conftest.$ac_objext; then
31195 wx_cv_x11_xpm_h=yes
31196 else
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.$ac_ext >&5
31199
31200 wx_cv_x11_xpm_h=no
31201
31202 fi
31203
31204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31205
31206 CFLAGS=$save_CFLAGS
31207
31208
31209 fi
31210 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31211 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31212
31213 if test $wx_cv_x11_xpm_h = "yes"; then
31214 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31215 cat >>confdefs.h <<\_ACEOF
31216 #define wxHAVE_LIB_XPM 1
31217 _ACEOF
31218
31219 else
31220 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31221 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31222 fi
31223 fi
31224
31225 fi
31226
31227 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31228 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31229 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31230 echo $ECHO_N "(cached) $ECHO_C" >&6
31231 else
31232 ac_check_lib_save_LIBS=$LIBS
31233 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31234 cat >conftest.$ac_ext <<_ACEOF
31235 /* confdefs.h. */
31236 _ACEOF
31237 cat confdefs.h >>conftest.$ac_ext
31238 cat >>conftest.$ac_ext <<_ACEOF
31239 /* end confdefs.h. */
31240
31241 /* Override any GCC internal prototype to avoid an error.
31242 Use char because int might match the return type of a GCC
31243 builtin and then its argument prototype would still apply. */
31244 #ifdef __cplusplus
31245 extern "C"
31246 #endif
31247 char XShapeQueryExtension ();
31248 int
31249 main ()
31250 {
31251 return XShapeQueryExtension ();
31252 ;
31253 return 0;
31254 }
31255 _ACEOF
31256 rm -f conftest.$ac_objext conftest$ac_exeext
31257 if { (ac_try="$ac_link"
31258 case "(($ac_try" in
31259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31260 *) ac_try_echo=$ac_try;;
31261 esac
31262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31263 (eval "$ac_link") 2>conftest.er1
31264 ac_status=$?
31265 grep -v '^ *+' conftest.er1 >conftest.err
31266 rm -f conftest.er1
31267 cat conftest.err >&5
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); } && {
31270 test -z "$ac_c_werror_flag" ||
31271 test ! -s conftest.err
31272 } && test -s conftest$ac_exeext &&
31273 $as_test_x conftest$ac_exeext; then
31274 ac_cv_lib_Xext_XShapeQueryExtension=yes
31275 else
31276 echo "$as_me: failed program was:" >&5
31277 sed 's/^/| /' conftest.$ac_ext >&5
31278
31279 ac_cv_lib_Xext_XShapeQueryExtension=no
31280 fi
31281
31282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31283 conftest$ac_exeext conftest.$ac_ext
31284 LIBS=$ac_check_lib_save_LIBS
31285 fi
31286 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31287 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31288 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31289
31290 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31291 wxHAVE_XEXT_LIB=1
31292
31293 fi
31294
31295
31296 if test "$wxHAVE_XEXT_LIB" = 1; then
31297 save_CFLAGS="$CFLAGS"
31298 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31299
31300 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31301 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31302 cat >conftest.$ac_ext <<_ACEOF
31303 /* confdefs.h. */
31304 _ACEOF
31305 cat confdefs.h >>conftest.$ac_ext
31306 cat >>conftest.$ac_ext <<_ACEOF
31307 /* end confdefs.h. */
31308
31309 #include <X11/Xlib.h>
31310 #include <X11/extensions/shape.h>
31311
31312 int
31313 main ()
31314 {
31315
31316 int dummy1, dummy2;
31317 XShapeQueryExtension((Display*)NULL,
31318 (int*)NULL, (int*)NULL);
31319
31320 ;
31321 return 0;
31322 }
31323 _ACEOF
31324 rm -f conftest.$ac_objext
31325 if { (ac_try="$ac_compile"
31326 case "(($ac_try" in
31327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31328 *) ac_try_echo=$ac_try;;
31329 esac
31330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31331 (eval "$ac_compile") 2>conftest.er1
31332 ac_status=$?
31333 grep -v '^ *+' conftest.er1 >conftest.err
31334 rm -f conftest.er1
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } && {
31338 test -z "$ac_c_werror_flag" ||
31339 test ! -s conftest.err
31340 } && test -s conftest.$ac_objext; then
31341
31342 cat >>confdefs.h <<\_ACEOF
31343 #define HAVE_XSHAPE 1
31344 _ACEOF
31345
31346 { echo "$as_me:$LINENO: result: found" >&5
31347 echo "${ECHO_T}found" >&6; }
31348
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31352
31353
31354 { echo "$as_me:$LINENO: result: not found" >&5
31355 echo "${ECHO_T}not found" >&6; }
31356
31357 fi
31358
31359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31360 CFLAGS="$save_CFLAGS"
31361
31362 fi
31363 fi
31364
31365 if test "$wxUSE_MAC" = 1; then
31366 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31367 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31368 if test "$GCC" = yes; then
31369 { echo "$as_me:$LINENO: result: gcc" >&5
31370 echo "${ECHO_T}gcc" >&6; }
31371 CPPFLAGS_PASCAL="-fpascal-strings"
31372 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31373 { echo "$as_me:$LINENO: result: xlc" >&5
31374 echo "${ECHO_T}xlc" >&6; }
31375 CPPFLAGS_PASCAL="-qmacpstr"
31376 else
31377 { echo "$as_me:$LINENO: result: none" >&5
31378 echo "${ECHO_T}none" >&6; }
31379 fi
31380
31381 if test "x$wxUSE_UNIX" = "xyes"; then
31382 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31383 else
31384 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31385 fi
31386
31387 TOOLKIT=MAC
31388 GUIDIST=MACX_DIST
31389 WXBASEPORT="_carbon"
31390 fi
31391
31392 if test "$wxUSE_COCOA" = 1; then
31393 TOOLKIT=COCOA
31394 GUIDIST=COCOA_DIST
31395 fi
31396
31397 if test "$wxUSE_PM" = 1; then
31398 TOOLKIT=PM
31399 GUIDIST=PM_DIST
31400 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31401 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31402 if test "${wx_cv_spbcdata+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31404 else
31405
31406 cat >conftest.$ac_ext <<_ACEOF
31407 /* confdefs.h. */
31408 _ACEOF
31409 cat confdefs.h >>conftest.$ac_ext
31410 cat >>conftest.$ac_ext <<_ACEOF
31411 /* end confdefs.h. */
31412
31413 #define INCL_PM
31414 #include <os2.h>
31415
31416 int
31417 main ()
31418 {
31419
31420 SPBCDATA test;
31421
31422 ;
31423 return 0;
31424 }
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 wx_cv_spbcdata=yes
31444 else
31445 echo "$as_me: failed program was:" >&5
31446 sed 's/^/| /' conftest.$ac_ext >&5
31447
31448 wx_cv_spbcdata=no
31449
31450 fi
31451
31452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31453
31454
31455 fi
31456 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31457 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31458
31459 if test $wx_cv_spbcdata = "yes"; then
31460 cat >>confdefs.h <<\_ACEOF
31461 #define HAVE_SPBCDATA 1
31462 _ACEOF
31463
31464 fi
31465 fi
31466
31467 if test "$TOOLKIT" = "PM" ; then
31468 TOOLKIT_DIR="os2"
31469 else
31470 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31471 fi
31472
31473 if test "$wxUSE_UNIVERSAL" = "yes"; then
31474 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31475 WIDGET_SET=univ
31476 fi
31477
31478 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31479 DISTDIR="wx\$(TOOLKIT)"
31480 else
31481 USE_GUI=0
31482
31483 TOOLKIT_DIR="base"
31484
31485 if test "$USE_WIN32" = 1 ; then
31486 TOOLKIT="MSW"
31487 fi
31488
31489 GUIDIST="BASE_DIST"
31490 DISTDIR="wxBase"
31491 fi
31492
31493
31494 if test "$wxUSE_GUI" = "yes"; then
31495 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31496 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31497 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31498 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31500 else
31501 cat >conftest.$ac_ext <<_ACEOF
31502 /* confdefs.h. */
31503 _ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31507
31508
31509 #include <X11/Xlib.h>
31510 _ACEOF
31511 rm -f conftest.$ac_objext
31512 if { (ac_try="$ac_compile"
31513 case "(($ac_try" in
31514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31515 *) ac_try_echo=$ac_try;;
31516 esac
31517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31518 (eval "$ac_compile") 2>conftest.er1
31519 ac_status=$?
31520 grep -v '^ *+' conftest.er1 >conftest.err
31521 rm -f conftest.er1
31522 cat conftest.err >&5
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); } && {
31525 test -z "$ac_c_werror_flag" ||
31526 test ! -s conftest.err
31527 } && test -s conftest.$ac_objext; then
31528 ac_cv_header_X11_Xlib_h=yes
31529 else
31530 echo "$as_me: failed program was:" >&5
31531 sed 's/^/| /' conftest.$ac_ext >&5
31532
31533 ac_cv_header_X11_Xlib_h=no
31534 fi
31535
31536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31537 fi
31538 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31539 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31540
31541
31542 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31543 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31544 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31546 else
31547 cat >conftest.$ac_ext <<_ACEOF
31548 /* confdefs.h. */
31549 _ACEOF
31550 cat confdefs.h >>conftest.$ac_ext
31551 cat >>conftest.$ac_ext <<_ACEOF
31552 /* end confdefs.h. */
31553
31554 #if HAVE_X11_XLIB_H
31555 #include <X11/Xlib.h>
31556 #endif
31557
31558
31559 #include <X11/XKBlib.h>
31560 _ACEOF
31561 rm -f conftest.$ac_objext
31562 if { (ac_try="$ac_compile"
31563 case "(($ac_try" in
31564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31565 *) ac_try_echo=$ac_try;;
31566 esac
31567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31568 (eval "$ac_compile") 2>conftest.er1
31569 ac_status=$?
31570 grep -v '^ *+' conftest.er1 >conftest.err
31571 rm -f conftest.er1
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } && {
31575 test -z "$ac_c_werror_flag" ||
31576 test ! -s conftest.err
31577 } && test -s conftest.$ac_objext; then
31578 ac_cv_header_X11_XKBlib_h=yes
31579 else
31580 echo "$as_me: failed program was:" >&5
31581 sed 's/^/| /' conftest.$ac_ext >&5
31582
31583 ac_cv_header_X11_XKBlib_h=no
31584 fi
31585
31586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31587 fi
31588 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31589 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31590
31591
31592 fi
31593 fi
31594
31595
31596
31597 IODBC_C_SRC=""
31598
31599
31600 if test "$TOOLKIT" != "MSW" ; then
31601
31602 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31603
31604 { echo "$as_me:$LINENO: checking for sql.h" >&5
31605 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31606 if test "${ac_cv_header_sql_h+set}" = set; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31608 else
31609 cat >conftest.$ac_ext <<_ACEOF
31610 /* confdefs.h. */
31611 _ACEOF
31612 cat confdefs.h >>conftest.$ac_ext
31613 cat >>conftest.$ac_ext <<_ACEOF
31614 /* end confdefs.h. */
31615
31616
31617 #include <sql.h>
31618 _ACEOF
31619 rm -f conftest.$ac_objext
31620 if { (ac_try="$ac_compile"
31621 case "(($ac_try" in
31622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31623 *) ac_try_echo=$ac_try;;
31624 esac
31625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31626 (eval "$ac_compile") 2>conftest.er1
31627 ac_status=$?
31628 grep -v '^ *+' conftest.er1 >conftest.err
31629 rm -f conftest.er1
31630 cat conftest.err >&5
31631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632 (exit $ac_status); } && {
31633 test -z "$ac_c_werror_flag" ||
31634 test ! -s conftest.err
31635 } && test -s conftest.$ac_objext; then
31636 ac_cv_header_sql_h=yes
31637 else
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.$ac_ext >&5
31640
31641 ac_cv_header_sql_h=no
31642 fi
31643
31644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31645 fi
31646 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31647 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31648 if test $ac_cv_header_sql_h = yes; then
31649 found_sql_h=1
31650 fi
31651
31652
31653 if test "x$found_sql_h" = "x1" ; then
31654 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31655 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31656 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31657 echo $ECHO_N "(cached) $ECHO_C" >&6
31658 else
31659 ac_check_lib_save_LIBS=$LIBS
31660 LIBS="-liodbc $LIBS"
31661 cat >conftest.$ac_ext <<_ACEOF
31662 /* confdefs.h. */
31663 _ACEOF
31664 cat confdefs.h >>conftest.$ac_ext
31665 cat >>conftest.$ac_ext <<_ACEOF
31666 /* end confdefs.h. */
31667
31668 /* Override any GCC internal prototype to avoid an error.
31669 Use char because int might match the return type of a GCC
31670 builtin and then its argument prototype would still apply. */
31671 #ifdef __cplusplus
31672 extern "C"
31673 #endif
31674 char SQLAllocEnv ();
31675 int
31676 main ()
31677 {
31678 return SQLAllocEnv ();
31679 ;
31680 return 0;
31681 }
31682 _ACEOF
31683 rm -f conftest.$ac_objext conftest$ac_exeext
31684 if { (ac_try="$ac_link"
31685 case "(($ac_try" in
31686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31687 *) ac_try_echo=$ac_try;;
31688 esac
31689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31690 (eval "$ac_link") 2>conftest.er1
31691 ac_status=$?
31692 grep -v '^ *+' conftest.er1 >conftest.err
31693 rm -f conftest.er1
31694 cat conftest.err >&5
31695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31696 (exit $ac_status); } && {
31697 test -z "$ac_c_werror_flag" ||
31698 test ! -s conftest.err
31699 } && test -s conftest$ac_exeext &&
31700 $as_test_x conftest$ac_exeext; then
31701 ac_cv_lib_iodbc_SQLAllocEnv=yes
31702 else
31703 echo "$as_me: failed program was:" >&5
31704 sed 's/^/| /' conftest.$ac_ext >&5
31705
31706 ac_cv_lib_iodbc_SQLAllocEnv=no
31707 fi
31708
31709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31710 conftest$ac_exeext conftest.$ac_ext
31711 LIBS=$ac_check_lib_save_LIBS
31712 fi
31713 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31714 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31715 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31716 ODBC_LINK=" -liodbc"
31717 else
31718
31719 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31720 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31721 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31722 echo $ECHO_N "(cached) $ECHO_C" >&6
31723 else
31724 ac_check_lib_save_LIBS=$LIBS
31725 LIBS="-lunixodbc $LIBS"
31726 cat >conftest.$ac_ext <<_ACEOF
31727 /* confdefs.h. */
31728 _ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732
31733 /* Override any GCC internal prototype to avoid an error.
31734 Use char because int might match the return type of a GCC
31735 builtin and then its argument prototype would still apply. */
31736 #ifdef __cplusplus
31737 extern "C"
31738 #endif
31739 char SQLAllocEnv ();
31740 int
31741 main ()
31742 {
31743 return SQLAllocEnv ();
31744 ;
31745 return 0;
31746 }
31747 _ACEOF
31748 rm -f conftest.$ac_objext conftest$ac_exeext
31749 if { (ac_try="$ac_link"
31750 case "(($ac_try" in
31751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31752 *) ac_try_echo=$ac_try;;
31753 esac
31754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31755 (eval "$ac_link") 2>conftest.er1
31756 ac_status=$?
31757 grep -v '^ *+' conftest.er1 >conftest.err
31758 rm -f conftest.er1
31759 cat conftest.err >&5
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); } && {
31762 test -z "$ac_c_werror_flag" ||
31763 test ! -s conftest.err
31764 } && test -s conftest$ac_exeext &&
31765 $as_test_x conftest$ac_exeext; then
31766 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31767 else
31768 echo "$as_me: failed program was:" >&5
31769 sed 's/^/| /' conftest.$ac_ext >&5
31770
31771 ac_cv_lib_unixodbc_SQLAllocEnv=no
31772 fi
31773
31774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31775 conftest$ac_exeext conftest.$ac_ext
31776 LIBS=$ac_check_lib_save_LIBS
31777 fi
31778 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31779 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31780 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31781 ODBC_LINK=" -lunixodbc"
31782 else
31783
31784 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31785 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31786 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31787 echo $ECHO_N "(cached) $ECHO_C" >&6
31788 else
31789 ac_check_lib_save_LIBS=$LIBS
31790 LIBS="-lodbc $LIBS"
31791 cat >conftest.$ac_ext <<_ACEOF
31792 /* confdefs.h. */
31793 _ACEOF
31794 cat confdefs.h >>conftest.$ac_ext
31795 cat >>conftest.$ac_ext <<_ACEOF
31796 /* end confdefs.h. */
31797
31798 /* Override any GCC internal prototype to avoid an error.
31799 Use char because int might match the return type of a GCC
31800 builtin and then its argument prototype would still apply. */
31801 #ifdef __cplusplus
31802 extern "C"
31803 #endif
31804 char SQLAllocEnv ();
31805 int
31806 main ()
31807 {
31808 return SQLAllocEnv ();
31809 ;
31810 return 0;
31811 }
31812 _ACEOF
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (ac_try="$ac_link"
31815 case "(($ac_try" in
31816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31817 *) ac_try_echo=$ac_try;;
31818 esac
31819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31820 (eval "$ac_link") 2>conftest.er1
31821 ac_status=$?
31822 grep -v '^ *+' conftest.er1 >conftest.err
31823 rm -f conftest.er1
31824 cat conftest.err >&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); } && {
31827 test -z "$ac_c_werror_flag" ||
31828 test ! -s conftest.err
31829 } && test -s conftest$ac_exeext &&
31830 $as_test_x conftest$ac_exeext; then
31831 ac_cv_lib_odbc_SQLAllocEnv=yes
31832 else
31833 echo "$as_me: failed program was:" >&5
31834 sed 's/^/| /' conftest.$ac_ext >&5
31835
31836 ac_cv_lib_odbc_SQLAllocEnv=no
31837 fi
31838
31839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31840 conftest$ac_exeext conftest.$ac_ext
31841 LIBS=$ac_check_lib_save_LIBS
31842 fi
31843 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31844 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31845 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31846 ODBC_LINK=" -lodbc"
31847 fi
31848
31849
31850 fi
31851
31852
31853 fi
31854
31855 fi
31856 if test "x$ODBC_LINK" = "x" ; then
31857 if test "$wxUSE_ODBC" = "sys" ; then
31858 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31859 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31860 { (exit 1); exit 1; }; }
31861 else
31862 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31863 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31864 wxUSE_ODBC=builtin
31865 fi
31866 else
31867 wxUSE_ODBC=sys
31868 fi
31869 fi
31870
31871 if test "$wxUSE_ODBC" = "builtin" ; then
31872 cat >>confdefs.h <<\_ACEOF
31873 #define wxUSE_BUILTIN_IODBC 1
31874 _ACEOF
31875
31876 fi
31877 fi
31878
31879 if test "$wxUSE_ODBC" != "no" ; then
31880 cat >>confdefs.h <<\_ACEOF
31881 #define wxUSE_ODBC 1
31882 _ACEOF
31883
31884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31885
31886 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31887 fi
31888
31889
31890 if test "$wxUSE_DISPLAY" = "yes"; then
31891 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31892 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31893 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31894
31895 ac_find_libraries=
31896 for ac_dir in $SEARCH_LIB;
31897 do
31898 for ac_extension in a so sl dylib dll.a; do
31899 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31900 ac_find_libraries=$ac_dir
31901 break 2
31902 fi
31903 done
31904 done
31905
31906 if test "$ac_find_libraries" != "" ; then
31907
31908 if test "$ac_find_libraries" = "default location"; then
31909 ac_path_to_link=""
31910 else
31911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31912 result=$?
31913 if test $result = 0; then
31914 ac_path_to_link=""
31915 else
31916 ac_path_to_link=" -L$ac_find_libraries"
31917 fi
31918 fi
31919
31920 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31921 LDFLAGS="$LDFLAGS $ac_path_to_link"
31922 fi
31923 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31924 { echo "$as_me:$LINENO: result: yes" >&5
31925 echo "${ECHO_T}yes" >&6; }
31926
31927 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31928 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31929
31930 ac_find_libraries=
31931 for ac_dir in $SEARCH_LIB;
31932 do
31933 for ac_extension in a so sl dylib dll.a; do
31934 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31935 ac_find_libraries=$ac_dir
31936 break 2
31937 fi
31938 done
31939 done
31940
31941 if test "$ac_find_libraries" != "" ; then
31942 { echo "$as_me:$LINENO: result: yes" >&5
31943 echo "${ECHO_T}yes" >&6; }
31944 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31945 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31946 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31947 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 else
31949 cat >conftest.$ac_ext <<_ACEOF
31950 /* confdefs.h. */
31951 _ACEOF
31952 cat confdefs.h >>conftest.$ac_ext
31953 cat >>conftest.$ac_ext <<_ACEOF
31954 /* end confdefs.h. */
31955
31956 #if HAVE_X11_XLIB_H
31957 #include <X11/Xlib.h>
31958 #endif
31959
31960
31961 #include <X11/extensions/xf86vmode.h>
31962 _ACEOF
31963 rm -f conftest.$ac_objext
31964 if { (ac_try="$ac_compile"
31965 case "(($ac_try" in
31966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31967 *) ac_try_echo=$ac_try;;
31968 esac
31969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31970 (eval "$ac_compile") 2>conftest.er1
31971 ac_status=$?
31972 grep -v '^ *+' conftest.er1 >conftest.err
31973 rm -f conftest.er1
31974 cat conftest.err >&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } && {
31977 test -z "$ac_c_werror_flag" ||
31978 test ! -s conftest.err
31979 } && test -s conftest.$ac_objext; then
31980 ac_cv_header_X11_extensions_xf86vmode_h=yes
31981 else
31982 echo "$as_me: failed program was:" >&5
31983 sed 's/^/| /' conftest.$ac_ext >&5
31984
31985 ac_cv_header_X11_extensions_xf86vmode_h=no
31986 fi
31987
31988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31989 fi
31990 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31991 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31992 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31993
31994 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31995
31996 fi
31997
31998
31999 else
32000 { echo "$as_me:$LINENO: result: no" >&5
32001 echo "${ECHO_T}no" >&6; }
32002 fi
32003
32004 else
32005 { echo "$as_me:$LINENO: result: no" >&5
32006 echo "${ECHO_T}no" >&6; }
32007 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32008 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32009 wxUSE_DISPLAY="no"
32010 fi
32011 elif test "$wxUSE_MSW" = 1; then
32012 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32013 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32014 if test "${ac_cv_header_ddraw_h+set}" = set; then
32015 echo $ECHO_N "(cached) $ECHO_C" >&6
32016 else
32017 cat >conftest.$ac_ext <<_ACEOF
32018 /* confdefs.h. */
32019 _ACEOF
32020 cat confdefs.h >>conftest.$ac_ext
32021 cat >>conftest.$ac_ext <<_ACEOF
32022 /* end confdefs.h. */
32023 #include <windows.h>
32024
32025 #include <ddraw.h>
32026 _ACEOF
32027 rm -f conftest.$ac_objext
32028 if { (ac_try="$ac_compile"
32029 case "(($ac_try" in
32030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32031 *) ac_try_echo=$ac_try;;
32032 esac
32033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32034 (eval "$ac_compile") 2>conftest.er1
32035 ac_status=$?
32036 grep -v '^ *+' conftest.er1 >conftest.err
32037 rm -f conftest.er1
32038 cat conftest.err >&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } && {
32041 test -z "$ac_c_werror_flag" ||
32042 test ! -s conftest.err
32043 } && test -s conftest.$ac_objext; then
32044 ac_cv_header_ddraw_h=yes
32045 else
32046 echo "$as_me: failed program was:" >&5
32047 sed 's/^/| /' conftest.$ac_ext >&5
32048
32049 ac_cv_header_ddraw_h=no
32050 fi
32051
32052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32053 fi
32054 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32055 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32056
32057
32058 fi
32059 fi
32060
32061 if test "$wxUSE_DETECT_SM" = "yes"; then
32062 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32063 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32064 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32065
32066 ac_find_libraries=
32067 for ac_dir in $SEARCH_LIB;
32068 do
32069 for ac_extension in a so sl dylib dll.a; do
32070 if test -f "$ac_dir/libSM.$ac_extension"; then
32071 ac_find_libraries=$ac_dir
32072 break 2
32073 fi
32074 done
32075 done
32076
32077 if test "$ac_find_libraries" != "" ; then
32078
32079 if test "$ac_find_libraries" = "default location"; then
32080 ac_path_to_link=""
32081 else
32082 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32083 result=$?
32084 if test $result = 0; then
32085 ac_path_to_link=""
32086 else
32087 ac_path_to_link=" -L$ac_find_libraries"
32088 fi
32089 fi
32090
32091 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32092 LDFLAGS="$LDFLAGS $ac_path_to_link"
32093 fi
32094 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32095 { echo "$as_me:$LINENO: result: yes" >&5
32096 echo "${ECHO_T}yes" >&6; }
32097 else
32098 { echo "$as_me:$LINENO: result: no" >&5
32099 echo "${ECHO_T}no" >&6; }
32100 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32101 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32102 wxUSE_DETECT_SM="no"
32103 fi
32104 else
32105 wxUSE_DETECT_SM="no"
32106 fi
32107 fi
32108
32109
32110
32111 USE_OPENGL=0
32112 if test "$wxUSE_OPENGL" = "yes"; then
32113 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32114 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32115 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32116 wxUSE_OPENGL="no"
32117 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32118 OPENGL_LIBS="-framework OpenGL -framework AGL"
32119 elif test "$wxUSE_MSW" = 1; then
32120 OPENGL_LIBS="-lopengl32 -lglu32"
32121 else
32122 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32123 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32124
32125 ac_find_includes=
32126 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32127 do
32128 if test -f "$ac_dir/GL/gl.h"; then
32129 ac_find_includes=$ac_dir
32130 break
32131 fi
32132 done
32133
32134 if test "$ac_find_includes" != "" ; then
32135 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32136 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32137
32138 if test "x$ac_find_includes" = "x/usr/include"; then
32139 ac_path_to_include=""
32140 else
32141 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32142 result=$?
32143 if test $result = 0; then
32144 ac_path_to_include=""
32145 else
32146 ac_path_to_include=" -I$ac_find_includes"
32147 fi
32148 fi
32149
32150 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32151 else
32152 { echo "$as_me:$LINENO: result: not found" >&5
32153 echo "${ECHO_T}not found" >&6; }
32154 fi
32155
32156 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32157 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32158 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32159 echo $ECHO_N "(cached) $ECHO_C" >&6
32160 else
32161 cat >conftest.$ac_ext <<_ACEOF
32162 /* confdefs.h. */
32163 _ACEOF
32164 cat confdefs.h >>conftest.$ac_ext
32165 cat >>conftest.$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32167
32168
32169 #include <GL/gl.h>
32170 _ACEOF
32171 rm -f conftest.$ac_objext
32172 if { (ac_try="$ac_compile"
32173 case "(($ac_try" in
32174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32175 *) ac_try_echo=$ac_try;;
32176 esac
32177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32178 (eval "$ac_compile") 2>conftest.er1
32179 ac_status=$?
32180 grep -v '^ *+' conftest.er1 >conftest.err
32181 rm -f conftest.er1
32182 cat conftest.err >&5
32183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184 (exit $ac_status); } && {
32185 test -z "$ac_c_werror_flag" ||
32186 test ! -s conftest.err
32187 } && test -s conftest.$ac_objext; then
32188 ac_cv_header_GL_gl_h=yes
32189 else
32190 echo "$as_me: failed program was:" >&5
32191 sed 's/^/| /' conftest.$ac_ext >&5
32192
32193 ac_cv_header_GL_gl_h=no
32194 fi
32195
32196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32197 fi
32198 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32199 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32200 if test $ac_cv_header_GL_gl_h = yes; then
32201
32202 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32203 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32204 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32205 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 fi
32208 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32209 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32210 else
32211 # Is the header compilable?
32212 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32213 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32214 cat >conftest.$ac_ext <<_ACEOF
32215 /* confdefs.h. */
32216 _ACEOF
32217 cat confdefs.h >>conftest.$ac_ext
32218 cat >>conftest.$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 $ac_includes_default
32221 #include <GL/glu.h>
32222 _ACEOF
32223 rm -f conftest.$ac_objext
32224 if { (ac_try="$ac_compile"
32225 case "(($ac_try" in
32226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32227 *) ac_try_echo=$ac_try;;
32228 esac
32229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32230 (eval "$ac_compile") 2>conftest.er1
32231 ac_status=$?
32232 grep -v '^ *+' conftest.er1 >conftest.err
32233 rm -f conftest.er1
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } && {
32237 test -z "$ac_c_werror_flag" ||
32238 test ! -s conftest.err
32239 } && test -s conftest.$ac_objext; then
32240 ac_header_compiler=yes
32241 else
32242 echo "$as_me: failed program was:" >&5
32243 sed 's/^/| /' conftest.$ac_ext >&5
32244
32245 ac_header_compiler=no
32246 fi
32247
32248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32249 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32250 echo "${ECHO_T}$ac_header_compiler" >&6; }
32251
32252 # Is the header present?
32253 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32254 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32255 cat >conftest.$ac_ext <<_ACEOF
32256 /* confdefs.h. */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32261 #include <GL/glu.h>
32262 _ACEOF
32263 if { (ac_try="$ac_cpp conftest.$ac_ext"
32264 case "(($ac_try" in
32265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32266 *) ac_try_echo=$ac_try;;
32267 esac
32268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32270 ac_status=$?
32271 grep -v '^ *+' conftest.er1 >conftest.err
32272 rm -f conftest.er1
32273 cat conftest.err >&5
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); } >/dev/null && {
32276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32277 test ! -s conftest.err
32278 }; then
32279 ac_header_preproc=yes
32280 else
32281 echo "$as_me: failed program was:" >&5
32282 sed 's/^/| /' conftest.$ac_ext >&5
32283
32284 ac_header_preproc=no
32285 fi
32286
32287 rm -f conftest.err conftest.$ac_ext
32288 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32289 echo "${ECHO_T}$ac_header_preproc" >&6; }
32290
32291 # So? What about this header?
32292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32293 yes:no: )
32294 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32295 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32296 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32297 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32298 ac_header_preproc=yes
32299 ;;
32300 no:yes:* )
32301 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32302 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32303 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32304 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32306 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32307 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32308 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32309 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32310 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32311 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32312 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32313 ( cat <<\_ASBOX
32314 ## ----------------------------------------- ##
32315 ## Report this to wx-dev@lists.wxwidgets.org ##
32316 ## ----------------------------------------- ##
32317 _ASBOX
32318 ) | sed "s/^/$as_me: WARNING: /" >&2
32319 ;;
32320 esac
32321 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32322 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32323 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32325 else
32326 ac_cv_header_GL_glu_h=$ac_header_preproc
32327 fi
32328 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32329 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32330
32331 fi
32332 if test $ac_cv_header_GL_glu_h = yes; then
32333
32334 found_gl=0
32335
32336 { echo "$as_me:$LINENO: checking for -lGL" >&5
32337 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32338
32339 ac_find_libraries=
32340 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32341 do
32342 for ac_extension in a so sl dylib dll.a; do
32343 if test -f "$ac_dir/libGL.$ac_extension"; then
32344 ac_find_libraries=$ac_dir
32345 break 2
32346 fi
32347 done
32348 done
32349
32350 if test "$ac_find_libraries" != "" ; then
32351 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32352 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32353
32354
32355 if test "$ac_find_libraries" = "default location"; then
32356 ac_path_to_link=""
32357 else
32358 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32359 result=$?
32360 if test $result = 0; then
32361 ac_path_to_link=""
32362 else
32363 ac_path_to_link=" -L$ac_find_libraries"
32364 fi
32365 fi
32366
32367 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32368 LDFLAGS_GL="$ac_path_to_link"
32369 fi
32370
32371 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32372 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32373
32374 ac_find_libraries=
32375 for ac_dir in $SEARCH_LIB;
32376 do
32377 for ac_extension in a so sl dylib dll.a; do
32378 if test -f "$ac_dir/libGLU.$ac_extension"; then
32379 ac_find_libraries=$ac_dir
32380 break 2
32381 fi
32382 done
32383 done
32384
32385 if test "$ac_find_libraries" != "" ; then
32386
32387 if test "$ac_find_libraries" = "default location"; then
32388 ac_path_to_link=""
32389 else
32390 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32391 result=$?
32392 if test $result = 0; then
32393 ac_path_to_link=""
32394 else
32395 ac_path_to_link=" -L$ac_find_libraries"
32396 fi
32397 fi
32398
32399 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32400 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32401 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32402 fi
32403
32404 found_gl=1
32405 OPENGL_LIBS="-lGL -lGLU"
32406 { echo "$as_me:$LINENO: result: yes" >&5
32407 echo "${ECHO_T}yes" >&6; }
32408 else
32409 { echo "$as_me:$LINENO: result: no" >&5
32410 echo "${ECHO_T}no" >&6; }
32411 fi
32412 else
32413 { echo "$as_me:$LINENO: result: no" >&5
32414 echo "${ECHO_T}no" >&6; }
32415 fi
32416
32417 if test "$found_gl" != 1; then
32418 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32419 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32420
32421 ac_find_libraries=
32422 for ac_dir in $SEARCH_LIB;
32423 do
32424 for ac_extension in a so sl dylib dll.a; do
32425 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32426 ac_find_libraries=$ac_dir
32427 break 2
32428 fi
32429 done
32430 done
32431
32432 if test "$ac_find_libraries" != "" ; then
32433
32434 if test "$ac_find_libraries" = "default location"; then
32435 ac_path_to_link=""
32436 else
32437 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32438 result=$?
32439 if test $result = 0; then
32440 ac_path_to_link=""
32441 else
32442 ac_path_to_link=" -L$ac_find_libraries"
32443 fi
32444 fi
32445
32446 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32447 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32448 { echo "$as_me:$LINENO: result: yes" >&5
32449 echo "${ECHO_T}yes" >&6; }
32450 else
32451 { echo "$as_me:$LINENO: result: no" >&5
32452 echo "${ECHO_T}no" >&6; }
32453 fi
32454 fi
32455
32456 fi
32457
32458
32459
32460 fi
32461
32462
32463
32464 if test "x$OPENGL_LIBS" = "x"; then
32465 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32466 echo "$as_me: error: OpenGL libraries not available" >&2;}
32467 { (exit 1); exit 1; }; }
32468 fi
32469 fi
32470
32471 if test "$wxUSE_OPENGL" = "yes"; then
32472 USE_OPENGL=1
32473 cat >>confdefs.h <<\_ACEOF
32474 #define wxUSE_OPENGL 1
32475 _ACEOF
32476
32477 cat >>confdefs.h <<\_ACEOF
32478 #define wxUSE_GLCANVAS 1
32479 _ACEOF
32480
32481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32482 fi
32483 fi
32484
32485
32486 if test -n "$TOOLKIT" ; then
32487 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32488 fi
32489
32490
32491
32492 if test "$wxUSE_SHARED" = "yes"; then
32493 case "${host}" in
32494 *-pc-msdosdjgpp )
32495 wxUSE_SHARED=no
32496 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32497 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32498 ;;
32499 esac
32500 fi
32501
32502 if test "$wxUSE_SHARED" = "yes"; then
32503
32504
32505 case "${host}" in
32506 *-*-cygwin* | *-*-mingw* )
32507 wx_cv_version_script=no
32508 ;;
32509
32510 *)
32511 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32512 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32513 if test "${wx_cv_version_script+set}" = set; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516
32517 echo "VER_1 { *; };" >conftest.sym
32518 echo "int main() { return 0; }" >conftest.cpp
32519
32520 if { ac_try='
32521 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32522 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32524 (eval $ac_try) 2>&5
32525 ac_status=$?
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 (exit $ac_status); }; } ; then
32528 if test -s conftest.stderr ; then
32529 wx_cv_version_script=no
32530 else
32531 wx_cv_version_script=yes
32532 fi
32533 else
32534 wx_cv_version_script=no
32535 fi
32536
32537 if test $wx_cv_version_script = yes
32538 then
32539 echo "struct B { virtual ~B() { } }; \
32540 struct D : public B { }; \
32541 void F() { D d; }" > conftest.cpp
32542
32543 if { ac_try='
32544 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32545 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32548 ac_status=$?
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; } &&
32551 { ac_try='
32552 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32553 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32556 ac_status=$?
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; }
32559 then
32560 if { ac_try='
32561 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32562 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32564 (eval $ac_try) 2>&5
32565 ac_status=$?
32566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32567 (exit $ac_status); }; }
32568 then
32569 wx_cv_version_script=yes
32570 else
32571 wx_cv_version_script=no
32572 fi
32573 fi
32574 fi
32575
32576 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32577 rm -f conftest1.output conftest2.output conftest3.output
32578
32579 fi
32580 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32581 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32582
32583 if test $wx_cv_version_script = yes ; then
32584 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32585 fi
32586 ;;
32587 esac
32588
32589
32590 case "${host}" in
32591 *-*-linux* | *-*-gnu* )
32592 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32593 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32594 ;;
32595
32596 *-*-solaris2* )
32597 if test "$GCC" = yes ; then
32598 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32599
32600 saveLdflags="$LDFLAGS"
32601 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32602 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32603 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32604 cat >conftest.$ac_ext <<_ACEOF
32605 /* confdefs.h. */
32606 _ACEOF
32607 cat confdefs.h >>conftest.$ac_ext
32608 cat >>conftest.$ac_ext <<_ACEOF
32609 /* end confdefs.h. */
32610
32611 int
32612 main ()
32613 {
32614
32615 ;
32616 return 0;
32617 }
32618 _ACEOF
32619 rm -f conftest.$ac_objext conftest$ac_exeext
32620 if { (ac_try="$ac_link"
32621 case "(($ac_try" in
32622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32623 *) ac_try_echo=$ac_try;;
32624 esac
32625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32626 (eval "$ac_link") 2>conftest.er1
32627 ac_status=$?
32628 grep -v '^ *+' conftest.er1 >conftest.err
32629 rm -f conftest.er1
32630 cat conftest.err >&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } && {
32633 test -z "$ac_c_werror_flag" ||
32634 test ! -s conftest.err
32635 } && test -s conftest$ac_exeext &&
32636 $as_test_x conftest$ac_exeext; then
32637
32638 { echo "$as_me:$LINENO: result: yes" >&5
32639 echo "${ECHO_T}yes" >&6; }
32640 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32641 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32642
32643 else
32644 echo "$as_me: failed program was:" >&5
32645 sed 's/^/| /' conftest.$ac_ext >&5
32646
32647
32648 { echo "$as_me:$LINENO: result: no" >&5
32649 echo "${ECHO_T}no" >&6; }
32650 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32651 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32652 LDFLAGS="$saveLdflags -Wl,-R,/"
32653 cat >conftest.$ac_ext <<_ACEOF
32654 /* confdefs.h. */
32655 _ACEOF
32656 cat confdefs.h >>conftest.$ac_ext
32657 cat >>conftest.$ac_ext <<_ACEOF
32658 /* end confdefs.h. */
32659
32660 int
32661 main ()
32662 {
32663
32664 ;
32665 return 0;
32666 }
32667 _ACEOF
32668 rm -f conftest.$ac_objext conftest$ac_exeext
32669 if { (ac_try="$ac_link"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32672 *) ac_try_echo=$ac_try;;
32673 esac
32674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 (eval "$ac_link") 2>conftest.er1
32676 ac_status=$?
32677 grep -v '^ *+' conftest.er1 >conftest.err
32678 rm -f conftest.er1
32679 cat conftest.err >&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } && {
32682 test -z "$ac_c_werror_flag" ||
32683 test ! -s conftest.err
32684 } && test -s conftest$ac_exeext &&
32685 $as_test_x conftest$ac_exeext; then
32686
32687 { echo "$as_me:$LINENO: result: yes" >&5
32688 echo "${ECHO_T}yes" >&6; }
32689 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32690 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32691
32692 else
32693 echo "$as_me: failed program was:" >&5
32694 sed 's/^/| /' conftest.$ac_ext >&5
32695
32696
32697 { echo "$as_me:$LINENO: result: no" >&5
32698 echo "${ECHO_T}no" >&6; }
32699
32700 fi
32701
32702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32703 conftest$ac_exeext conftest.$ac_ext
32704
32705 fi
32706
32707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32708 conftest$ac_exeext conftest.$ac_ext
32709 LDFLAGS="$saveLdflags"
32710 else
32711 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32712 WXCONFIG_RPATH="-R\$libdir"
32713 fi
32714 ;;
32715
32716 *-*-darwin* )
32717 install_name_tool=`which install_name_tool`
32718 if test "$install_name_tool" -a -x "$install_name_tool"; then
32719 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32720 cat <<EOF >change-install-names
32721 #!/bin/sh
32722 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32723 inst_cmd="install_name_tool "
32724 for i in \${libnames} ; do
32725 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32726 done
32727 \${inst_cmd} \${3}
32728 EOF
32729 chmod +x change-install-names
32730 fi
32731 ;;
32732
32733 *-*-cygwin* | *-*-mingw32* )
32734 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32735 ;;
32736
32737 *-*-hpux* )
32738 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32739 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32740 ;;
32741
32742 esac
32743
32744 if test $wxUSE_RPATH = "no"; then
32745 SAMPLES_RPATH_FLAG=''
32746 SAMPLES_RPATH_POSTLINK=''
32747 WXCONFIG_RPATH=''
32748 fi
32749
32750 SHARED=1
32751
32752 else
32753
32754 config_linkage_component="-static"
32755 SHARED=0
32756
32757 fi
32758
32759
32760 UNICODE=0
32761 lib_unicode_suffix=
32762 WX_CHARTYPE="ansi"
32763 if test "$wxUSE_UNICODE" = "yes"; then
32764 lib_unicode_suffix=u
32765 WX_CHARTYPE="unicode"
32766 UNICODE=1
32767 fi
32768
32769 lib_debug_suffix=
32770 WX_DEBUGTYPE="release"
32771 DEBUG_FLAG=0
32772 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32773 lib_debug_suffix=d
32774 WX_DEBUGTYPE="debug"
32775 DEBUG_FLAG=1
32776 fi
32777
32778 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32779 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32780
32781 DEBUG_INFO=0
32782 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32783 DEBUG_INFO=1
32784 fi
32785
32786 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32787
32788 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32789
32790 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32791
32792 if test "$cross_compiling" = "yes"; then
32793 HOST_SUFFIX="-$host_alias"
32794 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32795 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32796 fi
32797
32798 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32799 if test "${TOOLKIT_DIR}" = "os2"; then
32800 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32801 else
32802 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32803 fi
32804
32805
32806
32807 if test "$wxUSE_COCOA" = 1; then
32808
32809 ac_ext=c
32810 ac_cpp='$CPP $CPPFLAGS'
32811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32814
32815 ac_ext=m
32816
32817 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32818 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32819 cat >conftest.$ac_ext <<_ACEOF
32820 /* confdefs.h. */
32821 _ACEOF
32822 cat confdefs.h >>conftest.$ac_ext
32823 cat >>conftest.$ac_ext <<_ACEOF
32824 /* end confdefs.h. */
32825 #include <AppKit/NSEvent.h>
32826 #include <CoreFoundation/CoreFoundation.h>
32827
32828 int
32829 main ()
32830 {
32831
32832 ;
32833 return 0;
32834 }
32835 _ACEOF
32836 rm -f conftest.$ac_objext
32837 if { (ac_try="$ac_compile"
32838 case "(($ac_try" in
32839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32840 *) ac_try_echo=$ac_try;;
32841 esac
32842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32843 (eval "$ac_compile") 2>conftest.er1
32844 ac_status=$?
32845 grep -v '^ *+' conftest.er1 >conftest.err
32846 rm -f conftest.er1
32847 cat conftest.err >&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); } && {
32850 test -z "$ac_c_werror_flag" ||
32851 test ! -s conftest.err
32852 } && test -s conftest.$ac_objext; then
32853 { echo "$as_me:$LINENO: result: no" >&5
32854 echo "${ECHO_T}no" >&6; }
32855 else
32856 echo "$as_me: failed program was:" >&5
32857 sed 's/^/| /' conftest.$ac_ext >&5
32858
32859 { echo "$as_me:$LINENO: result: yes" >&5
32860 echo "${ECHO_T}yes" >&6; }
32861 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32862 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h. */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869 #define __Point__ 1
32870 #include <AppKit/NSEvent.h>
32871 #include <CoreFoundation/CoreFoundation.h>
32872
32873 int
32874 main ()
32875 {
32876
32877 ;
32878 return 0;
32879 }
32880 _ACEOF
32881 rm -f conftest.$ac_objext
32882 if { (ac_try="$ac_compile"
32883 case "(($ac_try" in
32884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32885 *) ac_try_echo=$ac_try;;
32886 esac
32887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32888 (eval "$ac_compile") 2>conftest.er1
32889 ac_status=$?
32890 grep -v '^ *+' conftest.er1 >conftest.err
32891 rm -f conftest.er1
32892 cat conftest.err >&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } && {
32895 test -z "$ac_c_werror_flag" ||
32896 test ! -s conftest.err
32897 } && test -s conftest.$ac_objext; then
32898 { echo "$as_me:$LINENO: result: yes" >&5
32899 echo "${ECHO_T}yes" >&6; }
32900 cat >>confdefs.h <<\_ACEOF
32901 #define __Point__ 1
32902 _ACEOF
32903
32904
32905 else
32906 echo "$as_me: failed program was:" >&5
32907 sed 's/^/| /' conftest.$ac_ext >&5
32908
32909 { { echo "$as_me:$LINENO: error: no
32910 See \`config.log' for more details." >&5
32911 echo "$as_me: error: no
32912 See \`config.log' for more details." >&2;}
32913 { (exit 1); exit 1; }; }
32914
32915 fi
32916
32917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32918
32919 fi
32920
32921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32922 ac_ext=c
32923 ac_cpp='$CPP $CPPFLAGS'
32924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32927
32928 fi
32929
32930 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32931 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32932 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32933
32934 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32935
32936 # Extract the first word of "Rez", so it can be a program name with args.
32937 set dummy Rez; ac_word=$2
32938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32940 if test "${ac_cv_prog_REZ+set}" = set; then
32941 echo $ECHO_N "(cached) $ECHO_C" >&6
32942 else
32943 if test -n "$REZ"; then
32944 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32945 else
32946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32947 for as_dir in $PATH
32948 do
32949 IFS=$as_save_IFS
32950 test -z "$as_dir" && as_dir=.
32951 for ac_exec_ext in '' $ac_executable_extensions; do
32952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32953 ac_cv_prog_REZ="Rez"
32954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32955 break 2
32956 fi
32957 done
32958 done
32959 IFS=$as_save_IFS
32960
32961 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32962 fi
32963 fi
32964 REZ=$ac_cv_prog_REZ
32965 if test -n "$REZ"; then
32966 { echo "$as_me:$LINENO: result: $REZ" >&5
32967 echo "${ECHO_T}$REZ" >&6; }
32968 else
32969 { echo "$as_me:$LINENO: result: no" >&5
32970 echo "${ECHO_T}no" >&6; }
32971 fi
32972
32973
32974 # Extract the first word of "DeRez", so it can be a program name with args.
32975 set dummy DeRez; ac_word=$2
32976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32978 if test "${ac_cv_prog_DEREZ+set}" = set; then
32979 echo $ECHO_N "(cached) $ECHO_C" >&6
32980 else
32981 if test -n "$DEREZ"; then
32982 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32983 else
32984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32985 for as_dir in $PATH
32986 do
32987 IFS=$as_save_IFS
32988 test -z "$as_dir" && as_dir=.
32989 for ac_exec_ext in '' $ac_executable_extensions; do
32990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32991 ac_cv_prog_DEREZ="DeRez"
32992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32993 break 2
32994 fi
32995 done
32996 done
32997 IFS=$as_save_IFS
32998
32999 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33000 fi
33001 fi
33002 DEREZ=$ac_cv_prog_DEREZ
33003 if test -n "$DEREZ"; then
33004 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33005 echo "${ECHO_T}$DEREZ" >&6; }
33006 else
33007 { echo "$as_me:$LINENO: result: no" >&5
33008 echo "${ECHO_T}no" >&6; }
33009 fi
33010
33011
33012 # Extract the first word of "SetFile", so it can be a program name with args.
33013 set dummy SetFile; ac_word=$2
33014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33016 if test "${ac_cv_prog_SETFILE+set}" = set; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33018 else
33019 if test -n "$SETFILE"; then
33020 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33021 else
33022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33023 for as_dir in $PATH
33024 do
33025 IFS=$as_save_IFS
33026 test -z "$as_dir" && as_dir=.
33027 for ac_exec_ext in '' $ac_executable_extensions; do
33028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33029 ac_cv_prog_SETFILE="SetFile"
33030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33031 break 2
33032 fi
33033 done
33034 done
33035 IFS=$as_save_IFS
33036
33037 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33038 fi
33039 fi
33040 SETFILE=$ac_cv_prog_SETFILE
33041 if test -n "$SETFILE"; then
33042 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33043 echo "${ECHO_T}$SETFILE" >&6; }
33044 else
33045 { echo "$as_me:$LINENO: result: no" >&5
33046 echo "${ECHO_T}no" >&6; }
33047 fi
33048
33049
33050
33051 MACSETFILE="\$(SETFILE)"
33052
33053 if test "$wxUSE_MAC" = 1; then
33054 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33055 RESCOMP="$REZ"
33056 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33057 else
33058 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33059 RESCOMP="echo -n \| $REZ"
33060 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33061 fi
33062
33063 else
33064 MACSETFILE="@true"
33065
33066 if test "$wxUSE_PM" = 1; then
33067 RESCOMP="emxbind"
33068 WXCONFIG_RESFLAGS="-ep"
33069
33070 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33071 else
33072 POSTLINK_COMMAND="@true"
33073 fi
33074
33075 fi
33076
33077
33078
33079 { echo "$as_me:$LINENO: checking for mode_t" >&5
33080 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33081 if test "${ac_cv_type_mode_t+set}" = set; then
33082 echo $ECHO_N "(cached) $ECHO_C" >&6
33083 else
33084 cat >conftest.$ac_ext <<_ACEOF
33085 /* confdefs.h. */
33086 _ACEOF
33087 cat confdefs.h >>conftest.$ac_ext
33088 cat >>conftest.$ac_ext <<_ACEOF
33089 /* end confdefs.h. */
33090 $ac_includes_default
33091 typedef mode_t ac__type_new_;
33092 int
33093 main ()
33094 {
33095 if ((ac__type_new_ *) 0)
33096 return 0;
33097 if (sizeof (ac__type_new_))
33098 return 0;
33099 ;
33100 return 0;
33101 }
33102 _ACEOF
33103 rm -f conftest.$ac_objext
33104 if { (ac_try="$ac_compile"
33105 case "(($ac_try" in
33106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33107 *) ac_try_echo=$ac_try;;
33108 esac
33109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33110 (eval "$ac_compile") 2>conftest.er1
33111 ac_status=$?
33112 grep -v '^ *+' conftest.er1 >conftest.err
33113 rm -f conftest.er1
33114 cat conftest.err >&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); } && {
33117 test -z "$ac_c_werror_flag" ||
33118 test ! -s conftest.err
33119 } && test -s conftest.$ac_objext; then
33120 ac_cv_type_mode_t=yes
33121 else
33122 echo "$as_me: failed program was:" >&5
33123 sed 's/^/| /' conftest.$ac_ext >&5
33124
33125 ac_cv_type_mode_t=no
33126 fi
33127
33128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33129 fi
33130 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33131 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33132 if test $ac_cv_type_mode_t = yes; then
33133 :
33134 else
33135
33136 cat >>confdefs.h <<_ACEOF
33137 #define mode_t int
33138 _ACEOF
33139
33140 fi
33141
33142 { echo "$as_me:$LINENO: checking for off_t" >&5
33143 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33144 if test "${ac_cv_type_off_t+set}" = set; then
33145 echo $ECHO_N "(cached) $ECHO_C" >&6
33146 else
33147 cat >conftest.$ac_ext <<_ACEOF
33148 /* confdefs.h. */
33149 _ACEOF
33150 cat confdefs.h >>conftest.$ac_ext
33151 cat >>conftest.$ac_ext <<_ACEOF
33152 /* end confdefs.h. */
33153 $ac_includes_default
33154 typedef off_t ac__type_new_;
33155 int
33156 main ()
33157 {
33158 if ((ac__type_new_ *) 0)
33159 return 0;
33160 if (sizeof (ac__type_new_))
33161 return 0;
33162 ;
33163 return 0;
33164 }
33165 _ACEOF
33166 rm -f conftest.$ac_objext
33167 if { (ac_try="$ac_compile"
33168 case "(($ac_try" in
33169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33170 *) ac_try_echo=$ac_try;;
33171 esac
33172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33173 (eval "$ac_compile") 2>conftest.er1
33174 ac_status=$?
33175 grep -v '^ *+' conftest.er1 >conftest.err
33176 rm -f conftest.er1
33177 cat conftest.err >&5
33178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33179 (exit $ac_status); } && {
33180 test -z "$ac_c_werror_flag" ||
33181 test ! -s conftest.err
33182 } && test -s conftest.$ac_objext; then
33183 ac_cv_type_off_t=yes
33184 else
33185 echo "$as_me: failed program was:" >&5
33186 sed 's/^/| /' conftest.$ac_ext >&5
33187
33188 ac_cv_type_off_t=no
33189 fi
33190
33191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33192 fi
33193 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33194 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33195 if test $ac_cv_type_off_t = yes; then
33196 :
33197 else
33198
33199 cat >>confdefs.h <<_ACEOF
33200 #define off_t long int
33201 _ACEOF
33202
33203 fi
33204
33205 { echo "$as_me:$LINENO: checking for pid_t" >&5
33206 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33207 if test "${ac_cv_type_pid_t+set}" = set; then
33208 echo $ECHO_N "(cached) $ECHO_C" >&6
33209 else
33210 cat >conftest.$ac_ext <<_ACEOF
33211 /* confdefs.h. */
33212 _ACEOF
33213 cat confdefs.h >>conftest.$ac_ext
33214 cat >>conftest.$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33216 $ac_includes_default
33217 typedef pid_t ac__type_new_;
33218 int
33219 main ()
33220 {
33221 if ((ac__type_new_ *) 0)
33222 return 0;
33223 if (sizeof (ac__type_new_))
33224 return 0;
33225 ;
33226 return 0;
33227 }
33228 _ACEOF
33229 rm -f conftest.$ac_objext
33230 if { (ac_try="$ac_compile"
33231 case "(($ac_try" in
33232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33233 *) ac_try_echo=$ac_try;;
33234 esac
33235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33236 (eval "$ac_compile") 2>conftest.er1
33237 ac_status=$?
33238 grep -v '^ *+' conftest.er1 >conftest.err
33239 rm -f conftest.er1
33240 cat conftest.err >&5
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); } && {
33243 test -z "$ac_c_werror_flag" ||
33244 test ! -s conftest.err
33245 } && test -s conftest.$ac_objext; then
33246 ac_cv_type_pid_t=yes
33247 else
33248 echo "$as_me: failed program was:" >&5
33249 sed 's/^/| /' conftest.$ac_ext >&5
33250
33251 ac_cv_type_pid_t=no
33252 fi
33253
33254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33255 fi
33256 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33257 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33258 if test $ac_cv_type_pid_t = yes; then
33259 :
33260 else
33261
33262 cat >>confdefs.h <<_ACEOF
33263 #define pid_t int
33264 _ACEOF
33265
33266 fi
33267
33268 { echo "$as_me:$LINENO: checking for size_t" >&5
33269 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33270 if test "${ac_cv_type_size_t+set}" = set; then
33271 echo $ECHO_N "(cached) $ECHO_C" >&6
33272 else
33273 cat >conftest.$ac_ext <<_ACEOF
33274 /* confdefs.h. */
33275 _ACEOF
33276 cat confdefs.h >>conftest.$ac_ext
33277 cat >>conftest.$ac_ext <<_ACEOF
33278 /* end confdefs.h. */
33279 $ac_includes_default
33280 typedef size_t ac__type_new_;
33281 int
33282 main ()
33283 {
33284 if ((ac__type_new_ *) 0)
33285 return 0;
33286 if (sizeof (ac__type_new_))
33287 return 0;
33288 ;
33289 return 0;
33290 }
33291 _ACEOF
33292 rm -f conftest.$ac_objext
33293 if { (ac_try="$ac_compile"
33294 case "(($ac_try" in
33295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33296 *) ac_try_echo=$ac_try;;
33297 esac
33298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33299 (eval "$ac_compile") 2>conftest.er1
33300 ac_status=$?
33301 grep -v '^ *+' conftest.er1 >conftest.err
33302 rm -f conftest.er1
33303 cat conftest.err >&5
33304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305 (exit $ac_status); } && {
33306 test -z "$ac_c_werror_flag" ||
33307 test ! -s conftest.err
33308 } && test -s conftest.$ac_objext; then
33309 ac_cv_type_size_t=yes
33310 else
33311 echo "$as_me: failed program was:" >&5
33312 sed 's/^/| /' conftest.$ac_ext >&5
33313
33314 ac_cv_type_size_t=no
33315 fi
33316
33317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33318 fi
33319 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33320 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33321 if test $ac_cv_type_size_t = yes; then
33322 :
33323 else
33324
33325 cat >>confdefs.h <<_ACEOF
33326 #define size_t unsigned int
33327 _ACEOF
33328
33329 fi
33330
33331 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33332 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33333 if test "${ac_cv_type_uid_t+set}" = set; then
33334 echo $ECHO_N "(cached) $ECHO_C" >&6
33335 else
33336 cat >conftest.$ac_ext <<_ACEOF
33337 /* confdefs.h. */
33338 _ACEOF
33339 cat confdefs.h >>conftest.$ac_ext
33340 cat >>conftest.$ac_ext <<_ACEOF
33341 /* end confdefs.h. */
33342 #include <sys/types.h>
33343
33344 _ACEOF
33345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33346 $EGREP "uid_t" >/dev/null 2>&1; then
33347 ac_cv_type_uid_t=yes
33348 else
33349 ac_cv_type_uid_t=no
33350 fi
33351 rm -f conftest*
33352
33353 fi
33354 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33355 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33356 if test $ac_cv_type_uid_t = no; then
33357
33358 cat >>confdefs.h <<\_ACEOF
33359 #define uid_t int
33360 _ACEOF
33361
33362
33363 cat >>confdefs.h <<\_ACEOF
33364 #define gid_t int
33365 _ACEOF
33366
33367 fi
33368
33369
33370 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33371 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33372 if test "${ac_cv_type_ssize_t+set}" = set; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 else
33375 cat >conftest.$ac_ext <<_ACEOF
33376 /* confdefs.h. */
33377 _ACEOF
33378 cat confdefs.h >>conftest.$ac_ext
33379 cat >>conftest.$ac_ext <<_ACEOF
33380 /* end confdefs.h. */
33381 $ac_includes_default
33382 typedef ssize_t ac__type_new_;
33383 int
33384 main ()
33385 {
33386 if ((ac__type_new_ *) 0)
33387 return 0;
33388 if (sizeof (ac__type_new_))
33389 return 0;
33390 ;
33391 return 0;
33392 }
33393 _ACEOF
33394 rm -f conftest.$ac_objext
33395 if { (ac_try="$ac_compile"
33396 case "(($ac_try" in
33397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33398 *) ac_try_echo=$ac_try;;
33399 esac
33400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33401 (eval "$ac_compile") 2>conftest.er1
33402 ac_status=$?
33403 grep -v '^ *+' conftest.er1 >conftest.err
33404 rm -f conftest.er1
33405 cat conftest.err >&5
33406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407 (exit $ac_status); } && {
33408 test -z "$ac_c_werror_flag" ||
33409 test ! -s conftest.err
33410 } && test -s conftest.$ac_objext; then
33411 ac_cv_type_ssize_t=yes
33412 else
33413 echo "$as_me: failed program was:" >&5
33414 sed 's/^/| /' conftest.$ac_ext >&5
33415
33416 ac_cv_type_ssize_t=no
33417 fi
33418
33419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33420 fi
33421 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33422 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33423 if test $ac_cv_type_ssize_t = yes; then
33424
33425 cat >>confdefs.h <<_ACEOF
33426 #define HAVE_SSIZE_T 1
33427 _ACEOF
33428
33429
33430 fi
33431
33432
33433 ac_ext=cpp
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33439 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33440 if test "${wx_cv_size_t_is_uint+set}" = set; then
33441 echo $ECHO_N "(cached) $ECHO_C" >&6
33442 else
33443
33444 cat >conftest.$ac_ext <<_ACEOF
33445 /* confdefs.h. */
33446 _ACEOF
33447 cat confdefs.h >>conftest.$ac_ext
33448 cat >>conftest.$ac_ext <<_ACEOF
33449 /* end confdefs.h. */
33450 #include <stddef.h>
33451 int
33452 main ()
33453 {
33454
33455 return 0; }
33456
33457 struct Foo { void foo(size_t); void foo(unsigned int); };
33458
33459 int bar() {
33460
33461 ;
33462 return 0;
33463 }
33464 _ACEOF
33465 rm -f conftest.$ac_objext
33466 if { (ac_try="$ac_compile"
33467 case "(($ac_try" in
33468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33469 *) ac_try_echo=$ac_try;;
33470 esac
33471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33472 (eval "$ac_compile") 2>conftest.er1
33473 ac_status=$?
33474 grep -v '^ *+' conftest.er1 >conftest.err
33475 rm -f conftest.er1
33476 cat conftest.err >&5
33477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33478 (exit $ac_status); } && {
33479 test -z "$ac_cxx_werror_flag" ||
33480 test ! -s conftest.err
33481 } && test -s conftest.$ac_objext; then
33482 wx_cv_size_t_is_uint=no
33483 else
33484 echo "$as_me: failed program was:" >&5
33485 sed 's/^/| /' conftest.$ac_ext >&5
33486
33487 wx_cv_size_t_is_uint=yes
33488
33489 fi
33490
33491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33492
33493
33494 fi
33495 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33496 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33497
33498 if test "$wx_cv_size_t_is_uint" = "yes"; then
33499 cat >>confdefs.h <<\_ACEOF
33500 #define wxSIZE_T_IS_UINT 1
33501 _ACEOF
33502
33503 else
33504 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33505 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33506 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33508 else
33509 cat >conftest.$ac_ext <<_ACEOF
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 #include <stddef.h>
33516 int
33517 main ()
33518 {
33519
33520 return 0; }
33521
33522 struct Foo { void foo(size_t); void foo(unsigned long); };
33523
33524 int bar() {
33525
33526 ;
33527 return 0;
33528 }
33529 _ACEOF
33530 rm -f conftest.$ac_objext
33531 if { (ac_try="$ac_compile"
33532 case "(($ac_try" in
33533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33534 *) ac_try_echo=$ac_try;;
33535 esac
33536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33537 (eval "$ac_compile") 2>conftest.er1
33538 ac_status=$?
33539 grep -v '^ *+' conftest.er1 >conftest.err
33540 rm -f conftest.er1
33541 cat conftest.err >&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); } && {
33544 test -z "$ac_cxx_werror_flag" ||
33545 test ! -s conftest.err
33546 } && test -s conftest.$ac_objext; then
33547 wx_cv_size_t_is_ulong=no
33548 else
33549 echo "$as_me: failed program was:" >&5
33550 sed 's/^/| /' conftest.$ac_ext >&5
33551
33552 wx_cv_size_t_is_ulong=yes
33553
33554 fi
33555
33556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33557
33558 fi
33559 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33560 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33561
33562 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33563 cat >>confdefs.h <<\_ACEOF
33564 #define wxSIZE_T_IS_ULONG 1
33565 _ACEOF
33566
33567 fi
33568 fi
33569
33570 ac_ext=c
33571 ac_cpp='$CPP $CPPFLAGS'
33572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33575
33576
33577 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33578 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33579 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 else
33582
33583 cat >conftest.$ac_ext <<_ACEOF
33584 /* confdefs.h. */
33585 _ACEOF
33586 cat confdefs.h >>conftest.$ac_ext
33587 cat >>conftest.$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33589 #include <pwd.h>
33590 int
33591 main ()
33592 {
33593
33594 char *p;
33595 struct passwd *pw;
33596 p = pw->pw_gecos;
33597
33598 ;
33599 return 0;
33600 }
33601 _ACEOF
33602 rm -f conftest.$ac_objext
33603 if { (ac_try="$ac_compile"
33604 case "(($ac_try" in
33605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33606 *) ac_try_echo=$ac_try;;
33607 esac
33608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33609 (eval "$ac_compile") 2>conftest.er1
33610 ac_status=$?
33611 grep -v '^ *+' conftest.er1 >conftest.err
33612 rm -f conftest.er1
33613 cat conftest.err >&5
33614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615 (exit $ac_status); } && {
33616 test -z "$ac_c_werror_flag" ||
33617 test ! -s conftest.err
33618 } && test -s conftest.$ac_objext; then
33619
33620 wx_cv_struct_pw_gecos=yes
33621
33622 else
33623 echo "$as_me: failed program was:" >&5
33624 sed 's/^/| /' conftest.$ac_ext >&5
33625
33626
33627 wx_cv_struct_pw_gecos=no
33628
33629
33630 fi
33631
33632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33633
33634
33635 fi
33636 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33637 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33638
33639 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33640 cat >>confdefs.h <<\_ACEOF
33641 #define HAVE_PW_GECOS 1
33642 _ACEOF
33643
33644 fi
33645
33646
33647 if test "$wxUSE_WCHAR_T" = "yes"; then
33648 cat >>confdefs.h <<\_ACEOF
33649 #define wxUSE_WCHAR_T 1
33650 _ACEOF
33651
33652
33653 WCSLEN_FOUND=0
33654 WCHAR_LINK=
33655
33656 for ac_func in wcslen
33657 do
33658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33659 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33661 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33662 echo $ECHO_N "(cached) $ECHO_C" >&6
33663 else
33664 cat >conftest.$ac_ext <<_ACEOF
33665 /* confdefs.h. */
33666 _ACEOF
33667 cat confdefs.h >>conftest.$ac_ext
33668 cat >>conftest.$ac_ext <<_ACEOF
33669 /* end confdefs.h. */
33670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33672 #define $ac_func innocuous_$ac_func
33673
33674 /* System header to define __stub macros and hopefully few prototypes,
33675 which can conflict with char $ac_func (); below.
33676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33677 <limits.h> exists even on freestanding compilers. */
33678
33679 #ifdef __STDC__
33680 # include <limits.h>
33681 #else
33682 # include <assert.h>
33683 #endif
33684
33685 #undef $ac_func
33686
33687 /* Override any GCC internal prototype to avoid an error.
33688 Use char because int might match the return type of a GCC
33689 builtin and then its argument prototype would still apply. */
33690 #ifdef __cplusplus
33691 extern "C"
33692 #endif
33693 char $ac_func ();
33694 /* The GNU C library defines this for functions which it implements
33695 to always fail with ENOSYS. Some functions are actually named
33696 something starting with __ and the normal name is an alias. */
33697 #if defined __stub_$ac_func || defined __stub___$ac_func
33698 choke me
33699 #endif
33700
33701 int
33702 main ()
33703 {
33704 return $ac_func ();
33705 ;
33706 return 0;
33707 }
33708 _ACEOF
33709 rm -f conftest.$ac_objext conftest$ac_exeext
33710 if { (ac_try="$ac_link"
33711 case "(($ac_try" in
33712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33713 *) ac_try_echo=$ac_try;;
33714 esac
33715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33716 (eval "$ac_link") 2>conftest.er1
33717 ac_status=$?
33718 grep -v '^ *+' conftest.er1 >conftest.err
33719 rm -f conftest.er1
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } && {
33723 test -z "$ac_c_werror_flag" ||
33724 test ! -s conftest.err
33725 } && test -s conftest$ac_exeext &&
33726 $as_test_x conftest$ac_exeext; then
33727 eval "$as_ac_var=yes"
33728 else
33729 echo "$as_me: failed program was:" >&5
33730 sed 's/^/| /' conftest.$ac_ext >&5
33731
33732 eval "$as_ac_var=no"
33733 fi
33734
33735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33736 conftest$ac_exeext conftest.$ac_ext
33737 fi
33738 ac_res=`eval echo '${'$as_ac_var'}'`
33739 { echo "$as_me:$LINENO: result: $ac_res" >&5
33740 echo "${ECHO_T}$ac_res" >&6; }
33741 if test `eval echo '${'$as_ac_var'}'` = yes; then
33742 cat >>confdefs.h <<_ACEOF
33743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33744 _ACEOF
33745 WCSLEN_FOUND=1
33746 fi
33747 done
33748
33749
33750 if test "$WCSLEN_FOUND" = 0; then
33751 if test "$TOOLKIT" = "MSW"; then
33752 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33753 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33754 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33755 echo $ECHO_N "(cached) $ECHO_C" >&6
33756 else
33757 ac_check_lib_save_LIBS=$LIBS
33758 LIBS="-lmsvcrt $LIBS"
33759 cat >conftest.$ac_ext <<_ACEOF
33760 /* confdefs.h. */
33761 _ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765
33766 /* Override any GCC internal prototype to avoid an error.
33767 Use char because int might match the return type of a GCC
33768 builtin and then its argument prototype would still apply. */
33769 #ifdef __cplusplus
33770 extern "C"
33771 #endif
33772 char wcslen ();
33773 int
33774 main ()
33775 {
33776 return wcslen ();
33777 ;
33778 return 0;
33779 }
33780 _ACEOF
33781 rm -f conftest.$ac_objext conftest$ac_exeext
33782 if { (ac_try="$ac_link"
33783 case "(($ac_try" in
33784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33785 *) ac_try_echo=$ac_try;;
33786 esac
33787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33788 (eval "$ac_link") 2>conftest.er1
33789 ac_status=$?
33790 grep -v '^ *+' conftest.er1 >conftest.err
33791 rm -f conftest.er1
33792 cat conftest.err >&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } && {
33795 test -z "$ac_c_werror_flag" ||
33796 test ! -s conftest.err
33797 } && test -s conftest$ac_exeext &&
33798 $as_test_x conftest$ac_exeext; then
33799 ac_cv_lib_msvcrt_wcslen=yes
33800 else
33801 echo "$as_me: failed program was:" >&5
33802 sed 's/^/| /' conftest.$ac_ext >&5
33803
33804 ac_cv_lib_msvcrt_wcslen=no
33805 fi
33806
33807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33808 conftest$ac_exeext conftest.$ac_ext
33809 LIBS=$ac_check_lib_save_LIBS
33810 fi
33811 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33812 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33813 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33814 WCHAR_OK=1
33815 fi
33816
33817 else
33818 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33819 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33820 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33821 echo $ECHO_N "(cached) $ECHO_C" >&6
33822 else
33823 ac_check_lib_save_LIBS=$LIBS
33824 LIBS="-lw $LIBS"
33825 cat >conftest.$ac_ext <<_ACEOF
33826 /* confdefs.h. */
33827 _ACEOF
33828 cat confdefs.h >>conftest.$ac_ext
33829 cat >>conftest.$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33831
33832 /* Override any GCC internal prototype to avoid an error.
33833 Use char because int might match the return type of a GCC
33834 builtin and then its argument prototype would still apply. */
33835 #ifdef __cplusplus
33836 extern "C"
33837 #endif
33838 char wcslen ();
33839 int
33840 main ()
33841 {
33842 return wcslen ();
33843 ;
33844 return 0;
33845 }
33846 _ACEOF
33847 rm -f conftest.$ac_objext conftest$ac_exeext
33848 if { (ac_try="$ac_link"
33849 case "(($ac_try" in
33850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33851 *) ac_try_echo=$ac_try;;
33852 esac
33853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33854 (eval "$ac_link") 2>conftest.er1
33855 ac_status=$?
33856 grep -v '^ *+' conftest.er1 >conftest.err
33857 rm -f conftest.er1
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } && {
33861 test -z "$ac_c_werror_flag" ||
33862 test ! -s conftest.err
33863 } && test -s conftest$ac_exeext &&
33864 $as_test_x conftest$ac_exeext; then
33865 ac_cv_lib_w_wcslen=yes
33866 else
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33869
33870 ac_cv_lib_w_wcslen=no
33871 fi
33872
33873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33874 conftest$ac_exeext conftest.$ac_ext
33875 LIBS=$ac_check_lib_save_LIBS
33876 fi
33877 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33878 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33879 if test $ac_cv_lib_w_wcslen = yes; then
33880
33881 WCHAR_LINK=" -lw"
33882 WCSLEN_FOUND=1
33883
33884 fi
33885
33886 fi
33887 fi
33888
33889 if test "$WCSLEN_FOUND" = 1; then
33890 cat >>confdefs.h <<\_ACEOF
33891 #define HAVE_WCSLEN 1
33892 _ACEOF
33893
33894 fi
33895
33896 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33897 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33898 fi
33899
33900 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33901 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33902 if test "${ac_cv_type_mbstate_t+set}" = set; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33904 else
33905 cat >conftest.$ac_ext <<_ACEOF
33906 /* confdefs.h. */
33907 _ACEOF
33908 cat confdefs.h >>conftest.$ac_ext
33909 cat >>conftest.$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33911 #include <wchar.h>
33912
33913 typedef mbstate_t ac__type_new_;
33914 int
33915 main ()
33916 {
33917 if ((ac__type_new_ *) 0)
33918 return 0;
33919 if (sizeof (ac__type_new_))
33920 return 0;
33921 ;
33922 return 0;
33923 }
33924 _ACEOF
33925 rm -f conftest.$ac_objext
33926 if { (ac_try="$ac_compile"
33927 case "(($ac_try" in
33928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33929 *) ac_try_echo=$ac_try;;
33930 esac
33931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33932 (eval "$ac_compile") 2>conftest.er1
33933 ac_status=$?
33934 grep -v '^ *+' conftest.er1 >conftest.err
33935 rm -f conftest.er1
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } && {
33939 test -z "$ac_c_werror_flag" ||
33940 test ! -s conftest.err
33941 } && test -s conftest.$ac_objext; then
33942 ac_cv_type_mbstate_t=yes
33943 else
33944 echo "$as_me: failed program was:" >&5
33945 sed 's/^/| /' conftest.$ac_ext >&5
33946
33947 ac_cv_type_mbstate_t=no
33948 fi
33949
33950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33951 fi
33952 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33953 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33954 if test $ac_cv_type_mbstate_t = yes; then
33955
33956 cat >>confdefs.h <<_ACEOF
33957 #define HAVE_MBSTATE_T 1
33958 _ACEOF
33959
33960
33961 for ac_func in wcsrtombs
33962 do
33963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33964 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33966 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33967 echo $ECHO_N "(cached) $ECHO_C" >&6
33968 else
33969 cat >conftest.$ac_ext <<_ACEOF
33970 /* confdefs.h. */
33971 _ACEOF
33972 cat confdefs.h >>conftest.$ac_ext
33973 cat >>conftest.$ac_ext <<_ACEOF
33974 /* end confdefs.h. */
33975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33977 #define $ac_func innocuous_$ac_func
33978
33979 /* System header to define __stub macros and hopefully few prototypes,
33980 which can conflict with char $ac_func (); below.
33981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33982 <limits.h> exists even on freestanding compilers. */
33983
33984 #ifdef __STDC__
33985 # include <limits.h>
33986 #else
33987 # include <assert.h>
33988 #endif
33989
33990 #undef $ac_func
33991
33992 /* Override any GCC internal prototype to avoid an error.
33993 Use char because int might match the return type of a GCC
33994 builtin and then its argument prototype would still apply. */
33995 #ifdef __cplusplus
33996 extern "C"
33997 #endif
33998 char $ac_func ();
33999 /* The GNU C library defines this for functions which it implements
34000 to always fail with ENOSYS. Some functions are actually named
34001 something starting with __ and the normal name is an alias. */
34002 #if defined __stub_$ac_func || defined __stub___$ac_func
34003 choke me
34004 #endif
34005
34006 int
34007 main ()
34008 {
34009 return $ac_func ();
34010 ;
34011 return 0;
34012 }
34013 _ACEOF
34014 rm -f conftest.$ac_objext conftest$ac_exeext
34015 if { (ac_try="$ac_link"
34016 case "(($ac_try" in
34017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34018 *) ac_try_echo=$ac_try;;
34019 esac
34020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34021 (eval "$ac_link") 2>conftest.er1
34022 ac_status=$?
34023 grep -v '^ *+' conftest.er1 >conftest.err
34024 rm -f conftest.er1
34025 cat conftest.err >&5
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); } && {
34028 test -z "$ac_c_werror_flag" ||
34029 test ! -s conftest.err
34030 } && test -s conftest$ac_exeext &&
34031 $as_test_x conftest$ac_exeext; then
34032 eval "$as_ac_var=yes"
34033 else
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34036
34037 eval "$as_ac_var=no"
34038 fi
34039
34040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34041 conftest$ac_exeext conftest.$ac_ext
34042 fi
34043 ac_res=`eval echo '${'$as_ac_var'}'`
34044 { echo "$as_me:$LINENO: result: $ac_res" >&5
34045 echo "${ECHO_T}$ac_res" >&6; }
34046 if test `eval echo '${'$as_ac_var'}'` = yes; then
34047 cat >>confdefs.h <<_ACEOF
34048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34049 _ACEOF
34050
34051 fi
34052 done
34053
34054 fi
34055
34056 else
34057 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34058 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34059 fi
34060
34061
34062
34063 for ac_func in snprintf vsnprintf
34064 do
34065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34066 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34068 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34069 echo $ECHO_N "(cached) $ECHO_C" >&6
34070 else
34071 cat >conftest.$ac_ext <<_ACEOF
34072 /* confdefs.h. */
34073 _ACEOF
34074 cat confdefs.h >>conftest.$ac_ext
34075 cat >>conftest.$ac_ext <<_ACEOF
34076 /* end confdefs.h. */
34077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34079 #define $ac_func innocuous_$ac_func
34080
34081 /* System header to define __stub macros and hopefully few prototypes,
34082 which can conflict with char $ac_func (); below.
34083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34084 <limits.h> exists even on freestanding compilers. */
34085
34086 #ifdef __STDC__
34087 # include <limits.h>
34088 #else
34089 # include <assert.h>
34090 #endif
34091
34092 #undef $ac_func
34093
34094 /* Override any GCC internal prototype to avoid an error.
34095 Use char because int might match the return type of a GCC
34096 builtin and then its argument prototype would still apply. */
34097 #ifdef __cplusplus
34098 extern "C"
34099 #endif
34100 char $ac_func ();
34101 /* The GNU C library defines this for functions which it implements
34102 to always fail with ENOSYS. Some functions are actually named
34103 something starting with __ and the normal name is an alias. */
34104 #if defined __stub_$ac_func || defined __stub___$ac_func
34105 choke me
34106 #endif
34107
34108 int
34109 main ()
34110 {
34111 return $ac_func ();
34112 ;
34113 return 0;
34114 }
34115 _ACEOF
34116 rm -f conftest.$ac_objext conftest$ac_exeext
34117 if { (ac_try="$ac_link"
34118 case "(($ac_try" in
34119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34120 *) ac_try_echo=$ac_try;;
34121 esac
34122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34123 (eval "$ac_link") 2>conftest.er1
34124 ac_status=$?
34125 grep -v '^ *+' conftest.er1 >conftest.err
34126 rm -f conftest.er1
34127 cat conftest.err >&5
34128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34129 (exit $ac_status); } && {
34130 test -z "$ac_c_werror_flag" ||
34131 test ! -s conftest.err
34132 } && test -s conftest$ac_exeext &&
34133 $as_test_x conftest$ac_exeext; then
34134 eval "$as_ac_var=yes"
34135 else
34136 echo "$as_me: failed program was:" >&5
34137 sed 's/^/| /' conftest.$ac_ext >&5
34138
34139 eval "$as_ac_var=no"
34140 fi
34141
34142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34143 conftest$ac_exeext conftest.$ac_ext
34144 fi
34145 ac_res=`eval echo '${'$as_ac_var'}'`
34146 { echo "$as_me:$LINENO: result: $ac_res" >&5
34147 echo "${ECHO_T}$ac_res" >&6; }
34148 if test `eval echo '${'$as_ac_var'}'` = yes; then
34149 cat >>confdefs.h <<_ACEOF
34150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34151 _ACEOF
34152
34153 fi
34154 done
34155
34156
34157 if test "$ac_cv_func_vsnprintf" = "yes"; then
34158 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34159 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34160 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34161 echo $ECHO_N "(cached) $ECHO_C" >&6
34162 else
34163
34164 cat >conftest.$ac_ext <<_ACEOF
34165 /* confdefs.h. */
34166 _ACEOF
34167 cat confdefs.h >>conftest.$ac_ext
34168 cat >>conftest.$ac_ext <<_ACEOF
34169 /* end confdefs.h. */
34170
34171 #include <stdio.h>
34172 #include <stdarg.h>
34173 #ifdef __MSL__
34174 #if __MSL__ >= 0x6000
34175 namespace std {}
34176 using namespace std;
34177 #endif
34178 #endif
34179
34180 int
34181 main ()
34182 {
34183
34184 char *buf;
34185 va_list ap;
34186 vsnprintf(buf, 10u, "%s", ap);
34187
34188 ;
34189 return 0;
34190 }
34191 _ACEOF
34192 rm -f conftest.$ac_objext
34193 if { (ac_try="$ac_compile"
34194 case "(($ac_try" in
34195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34196 *) ac_try_echo=$ac_try;;
34197 esac
34198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34199 (eval "$ac_compile") 2>conftest.er1
34200 ac_status=$?
34201 grep -v '^ *+' conftest.er1 >conftest.err
34202 rm -f conftest.er1
34203 cat conftest.err >&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } && {
34206 test -z "$ac_c_werror_flag" ||
34207 test ! -s conftest.err
34208 } && test -s conftest.$ac_objext; then
34209 wx_cv_func_vsnprintf_decl=yes
34210 else
34211 echo "$as_me: failed program was:" >&5
34212 sed 's/^/| /' conftest.$ac_ext >&5
34213
34214 wx_cv_func_vsnprintf_decl=no
34215
34216 fi
34217
34218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34219
34220
34221 fi
34222 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34223 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34224
34225 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34226 cat >>confdefs.h <<\_ACEOF
34227 #define HAVE_VSNPRINTF_DECL 1
34228 _ACEOF
34229
34230
34231 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34232 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34233 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 else
34236
34237 cat >conftest.$ac_ext <<_ACEOF
34238 /* confdefs.h. */
34239 _ACEOF
34240 cat confdefs.h >>conftest.$ac_ext
34241 cat >>conftest.$ac_ext <<_ACEOF
34242 /* end confdefs.h. */
34243
34244 #include <stdio.h>
34245 #include <stdarg.h>
34246 #ifdef __MSL__
34247 #if __MSL__ >= 0x6000
34248 namespace std {}
34249 using namespace std;
34250 #endif
34251 #endif
34252
34253 int
34254 main ()
34255 {
34256
34257 char *buf;
34258 va_list ap;
34259 const char *fmt = "%s";
34260 vsnprintf(buf, 10u, fmt, ap);
34261
34262 ;
34263 return 0;
34264 }
34265 _ACEOF
34266 rm -f conftest.$ac_objext
34267 if { (ac_try="$ac_compile"
34268 case "(($ac_try" in
34269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34270 *) ac_try_echo=$ac_try;;
34271 esac
34272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34273 (eval "$ac_compile") 2>conftest.er1
34274 ac_status=$?
34275 grep -v '^ *+' conftest.er1 >conftest.err
34276 rm -f conftest.er1
34277 cat conftest.err >&5
34278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34279 (exit $ac_status); } && {
34280 test -z "$ac_c_werror_flag" ||
34281 test ! -s conftest.err
34282 } && test -s conftest.$ac_objext; then
34283 wx_cv_func_broken_vsnprintf_decl=no
34284 else
34285 echo "$as_me: failed program was:" >&5
34286 sed 's/^/| /' conftest.$ac_ext >&5
34287
34288 wx_cv_func_broken_vsnprintf_decl=yes
34289
34290 fi
34291
34292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34293
34294
34295 fi
34296 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34297 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34298
34299 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34300 cat >>confdefs.h <<\_ACEOF
34301 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34302 _ACEOF
34303
34304 fi
34305 fi
34306 fi
34307
34308 if test "$ac_cv_func_snprintf" = "yes"; then
34309 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34310 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34311 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 else
34314
34315 cat >conftest.$ac_ext <<_ACEOF
34316 /* confdefs.h. */
34317 _ACEOF
34318 cat confdefs.h >>conftest.$ac_ext
34319 cat >>conftest.$ac_ext <<_ACEOF
34320 /* end confdefs.h. */
34321
34322 #include <stdio.h>
34323 #include <stdarg.h>
34324 #ifdef __MSL__
34325 #if __MSL__ >= 0x6000
34326 namespace std {}
34327 using namespace std;
34328 #endif
34329 #endif
34330
34331 int
34332 main ()
34333 {
34334
34335 char *buf;
34336 snprintf(buf, 10u, "%s", "wx");
34337
34338 ;
34339 return 0;
34340 }
34341 _ACEOF
34342 rm -f conftest.$ac_objext
34343 if { (ac_try="$ac_compile"
34344 case "(($ac_try" in
34345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34346 *) ac_try_echo=$ac_try;;
34347 esac
34348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34349 (eval "$ac_compile") 2>conftest.er1
34350 ac_status=$?
34351 grep -v '^ *+' conftest.er1 >conftest.err
34352 rm -f conftest.er1
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } && {
34356 test -z "$ac_c_werror_flag" ||
34357 test ! -s conftest.err
34358 } && test -s conftest.$ac_objext; then
34359 wx_cv_func_snprintf_decl=yes
34360 else
34361 echo "$as_me: failed program was:" >&5
34362 sed 's/^/| /' conftest.$ac_ext >&5
34363
34364 wx_cv_func_snprintf_decl=no
34365
34366 fi
34367
34368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34369
34370
34371 fi
34372 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34373 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34374
34375 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34376 cat >>confdefs.h <<\_ACEOF
34377 #define HAVE_SNPRINTF_DECL 1
34378 _ACEOF
34379
34380
34381 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34382 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34383 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 else
34386
34387 cat >conftest.$ac_ext <<_ACEOF
34388 /* confdefs.h. */
34389 _ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393
34394 #include <stdio.h>
34395 #include <stdarg.h>
34396 #ifdef __MSL__
34397 #if __MSL__ >= 0x6000
34398 namespace std {}
34399 using namespace std;
34400 #endif
34401 #endif
34402
34403 int
34404 main ()
34405 {
34406
34407 char *buf;
34408 const char *fmt = "%s";
34409 snprintf(buf, 10u, fmt, "wx");
34410
34411 ;
34412 return 0;
34413 }
34414 _ACEOF
34415 rm -f conftest.$ac_objext
34416 if { (ac_try="$ac_compile"
34417 case "(($ac_try" in
34418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34419 *) ac_try_echo=$ac_try;;
34420 esac
34421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34422 (eval "$ac_compile") 2>conftest.er1
34423 ac_status=$?
34424 grep -v '^ *+' conftest.er1 >conftest.err
34425 rm -f conftest.er1
34426 cat conftest.err >&5
34427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34428 (exit $ac_status); } && {
34429 test -z "$ac_c_werror_flag" ||
34430 test ! -s conftest.err
34431 } && test -s conftest.$ac_objext; then
34432 wx_cv_func_broken_snprintf_decl=no
34433 else
34434 echo "$as_me: failed program was:" >&5
34435 sed 's/^/| /' conftest.$ac_ext >&5
34436
34437 wx_cv_func_broken_snprintf_decl=yes
34438
34439 fi
34440
34441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34442
34443
34444 fi
34445 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34446 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34447
34448 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34449 cat >>confdefs.h <<\_ACEOF
34450 #define HAVE_BROKEN_SNPRINTF_DECL 1
34451 _ACEOF
34452
34453 fi
34454 fi
34455
34456 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34457
34458 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34459 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34460 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34461 echo $ECHO_N "(cached) $ECHO_C" >&6
34462 else
34463
34464 if test "$cross_compiling" = yes; then
34465
34466 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34467 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34468 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34469 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34470 wx_cv_func_snprintf_pos_params=no
34471
34472
34473 else
34474 cat >conftest.$ac_ext <<_ACEOF
34475 /* confdefs.h. */
34476 _ACEOF
34477 cat confdefs.h >>conftest.$ac_ext
34478 cat >>conftest.$ac_ext <<_ACEOF
34479 /* end confdefs.h. */
34480
34481 #include <stdio.h>
34482
34483 int main (void)
34484 {
34485 char buffer[128];
34486 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34487 if (strcmp ("2 3 1", buffer) == 0)
34488 exit (0);
34489 exit (1);
34490 }
34491
34492 _ACEOF
34493 rm -f conftest$ac_exeext
34494 if { (ac_try="$ac_link"
34495 case "(($ac_try" in
34496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34497 *) ac_try_echo=$ac_try;;
34498 esac
34499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34500 (eval "$ac_link") 2>&5
34501 ac_status=$?
34502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34504 { (case "(($ac_try" in
34505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34506 *) ac_try_echo=$ac_try;;
34507 esac
34508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34509 (eval "$ac_try") 2>&5
34510 ac_status=$?
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); }; }; then
34513 wx_cv_func_snprintf_pos_params=no
34514 else
34515 echo "$as_me: program exited with status $ac_status" >&5
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.$ac_ext >&5
34518
34519 ( exit $ac_status )
34520 wx_cv_func_snprintf_pos_params=yes
34521 fi
34522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34523 fi
34524
34525
34526
34527
34528 fi
34529 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34530 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34531
34532 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34533 cat >>confdefs.h <<\_ACEOF
34534 #define HAVE_UNIX98_PRINTF 1
34535 _ACEOF
34536
34537 fi
34538 fi
34539 fi
34540
34541 if test "$wxUSE_UNICODE" = yes; then
34542
34543
34544 for ac_func in swprintf
34545 do
34546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34550 echo $ECHO_N "(cached) $ECHO_C" >&6
34551 else
34552 cat >conftest.$ac_ext <<_ACEOF
34553 /* confdefs.h. */
34554 _ACEOF
34555 cat confdefs.h >>conftest.$ac_ext
34556 cat >>conftest.$ac_ext <<_ACEOF
34557 /* end confdefs.h. */
34558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34560 #define $ac_func innocuous_$ac_func
34561
34562 /* System header to define __stub macros and hopefully few prototypes,
34563 which can conflict with char $ac_func (); below.
34564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34565 <limits.h> exists even on freestanding compilers. */
34566
34567 #ifdef __STDC__
34568 # include <limits.h>
34569 #else
34570 # include <assert.h>
34571 #endif
34572
34573 #undef $ac_func
34574
34575 /* Override any GCC internal prototype to avoid an error.
34576 Use char because int might match the return type of a GCC
34577 builtin and then its argument prototype would still apply. */
34578 #ifdef __cplusplus
34579 extern "C"
34580 #endif
34581 char $ac_func ();
34582 /* The GNU C library defines this for functions which it implements
34583 to always fail with ENOSYS. Some functions are actually named
34584 something starting with __ and the normal name is an alias. */
34585 #if defined __stub_$ac_func || defined __stub___$ac_func
34586 choke me
34587 #endif
34588
34589 int
34590 main ()
34591 {
34592 return $ac_func ();
34593 ;
34594 return 0;
34595 }
34596 _ACEOF
34597 rm -f conftest.$ac_objext conftest$ac_exeext
34598 if { (ac_try="$ac_link"
34599 case "(($ac_try" in
34600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34601 *) ac_try_echo=$ac_try;;
34602 esac
34603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34604 (eval "$ac_link") 2>conftest.er1
34605 ac_status=$?
34606 grep -v '^ *+' conftest.er1 >conftest.err
34607 rm -f conftest.er1
34608 cat conftest.err >&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } && {
34611 test -z "$ac_c_werror_flag" ||
34612 test ! -s conftest.err
34613 } && test -s conftest$ac_exeext &&
34614 $as_test_x conftest$ac_exeext; then
34615 eval "$as_ac_var=yes"
34616 else
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.$ac_ext >&5
34619
34620 eval "$as_ac_var=no"
34621 fi
34622
34623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34624 conftest$ac_exeext conftest.$ac_ext
34625 fi
34626 ac_res=`eval echo '${'$as_ac_var'}'`
34627 { echo "$as_me:$LINENO: result: $ac_res" >&5
34628 echo "${ECHO_T}$ac_res" >&6; }
34629 if test `eval echo '${'$as_ac_var'}'` = yes; then
34630 cat >>confdefs.h <<_ACEOF
34631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34632 _ACEOF
34633
34634 fi
34635 done
34636
34637
34638 if test "$ac_cv_func_swprintf" = "yes"; then
34639 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34640 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34641 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34642 echo $ECHO_N "(cached) $ECHO_C" >&6
34643 else
34644
34645 cat >conftest.$ac_ext <<_ACEOF
34646 /* confdefs.h. */
34647 _ACEOF
34648 cat confdefs.h >>conftest.$ac_ext
34649 cat >>conftest.$ac_ext <<_ACEOF
34650 /* end confdefs.h. */
34651
34652 #include <stdio.h>
34653 #include <stdarg.h>
34654 #include <wchar.h>
34655
34656 int
34657 main ()
34658 {
34659
34660 wchar_t *buf;
34661 const wchar_t *fmt = L"test";
34662 swprintf(buf, 10u, fmt);
34663
34664 ;
34665 return 0;
34666 }
34667 _ACEOF
34668 rm -f conftest.$ac_objext
34669 if { (ac_try="$ac_compile"
34670 case "(($ac_try" in
34671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34672 *) ac_try_echo=$ac_try;;
34673 esac
34674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34675 (eval "$ac_compile") 2>conftest.er1
34676 ac_status=$?
34677 grep -v '^ *+' conftest.er1 >conftest.err
34678 rm -f conftest.er1
34679 cat conftest.err >&5
34680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34681 (exit $ac_status); } && {
34682 test -z "$ac_c_werror_flag" ||
34683 test ! -s conftest.err
34684 } && test -s conftest.$ac_objext; then
34685 wx_cv_func_broken_swprintf_decl=no
34686 else
34687 echo "$as_me: failed program was:" >&5
34688 sed 's/^/| /' conftest.$ac_ext >&5
34689
34690 wx_cv_func_broken_swprintf_decl=yes
34691
34692 fi
34693
34694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34695
34696
34697 fi
34698 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34699 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34700
34701 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34702 cat >>confdefs.h <<\_ACEOF
34703 #define HAVE_BROKEN_SWPRINTF_DECL 1
34704 _ACEOF
34705
34706 fi
34707 fi
34708
34709 wchar_headers="#include <stdio.h>
34710 #include <wchar.h>"
34711 case "${host}" in
34712 *-*-solaris2* )
34713 { echo "$as_me:$LINENO: checking for widec.h" >&5
34714 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34715 if test "${ac_cv_header_widec_h+set}" = set; then
34716 echo $ECHO_N "(cached) $ECHO_C" >&6
34717 else
34718 cat >conftest.$ac_ext <<_ACEOF
34719 /* confdefs.h. */
34720 _ACEOF
34721 cat confdefs.h >>conftest.$ac_ext
34722 cat >>conftest.$ac_ext <<_ACEOF
34723 /* end confdefs.h. */
34724 $ac_includes_default
34725
34726 #include <widec.h>
34727 _ACEOF
34728 rm -f conftest.$ac_objext
34729 if { (ac_try="$ac_compile"
34730 case "(($ac_try" in
34731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34732 *) ac_try_echo=$ac_try;;
34733 esac
34734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34735 (eval "$ac_compile") 2>conftest.er1
34736 ac_status=$?
34737 grep -v '^ *+' conftest.er1 >conftest.err
34738 rm -f conftest.er1
34739 cat conftest.err >&5
34740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34741 (exit $ac_status); } && {
34742 test -z "$ac_c_werror_flag" ||
34743 test ! -s conftest.err
34744 } && test -s conftest.$ac_objext; then
34745 ac_cv_header_widec_h=yes
34746 else
34747 echo "$as_me: failed program was:" >&5
34748 sed 's/^/| /' conftest.$ac_ext >&5
34749
34750 ac_cv_header_widec_h=no
34751 fi
34752
34753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34754 fi
34755 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34756 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34757
34758
34759 if test "$ac_cv_header_widec_h" = "yes"; then
34760 wchar_headers="$wchar_headers
34761 #include <widec.h>"
34762 fi
34763 esac
34764
34765
34766 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34767 do
34768 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34769 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34770 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34771 echo $ECHO_N "(cached) $ECHO_C" >&6
34772 else
34773
34774 cat >conftest.$ac_ext <<_ACEOF
34775
34776 /* confdefs.h. */
34777 _ACEOF
34778 cat confdefs.h >>conftest.$ac_ext
34779 cat >>conftest.$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34781
34782 $wchar_headers
34783 $ac_includes_default
34784
34785 int
34786 main ()
34787 {
34788
34789 #ifndef $wx_func
34790 &$wx_func;
34791 #endif
34792
34793
34794 ;
34795 return 0;
34796 }
34797
34798 _ACEOF
34799 rm -f conftest.$ac_objext conftest$ac_exeext
34800 if { (ac_try="$ac_link"
34801 case "(($ac_try" in
34802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34803 *) ac_try_echo=$ac_try;;
34804 esac
34805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34806 (eval "$ac_link") 2>conftest.er1
34807 ac_status=$?
34808 grep -v '^ *+' conftest.er1 >conftest.err
34809 rm -f conftest.er1
34810 cat conftest.err >&5
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); } && {
34813 test -z "$ac_c_werror_flag" ||
34814 test ! -s conftest.err
34815 } && test -s conftest$ac_exeext &&
34816 $as_test_x conftest$ac_exeext; then
34817 eval wx_cv_func_$wx_func=yes
34818 else
34819 echo "$as_me: failed program was:" >&5
34820 sed 's/^/| /' conftest.$ac_ext >&5
34821
34822 eval wx_cv_func_$wx_func=no
34823 fi
34824
34825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34826 conftest$ac_exeext conftest.$ac_ext
34827
34828 fi
34829 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34830 { echo "$as_me:$LINENO: result: $ac_res" >&5
34831 echo "${ECHO_T}$ac_res" >&6; }
34832
34833 if eval test \$wx_cv_func_$wx_func = yes
34834 then
34835 cat >>confdefs.h <<_ACEOF
34836 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34837 _ACEOF
34838
34839
34840 else
34841 :
34842
34843 fi
34844 done
34845
34846
34847 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34848 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34849 cat >conftest.$ac_ext <<_ACEOF
34850 /* confdefs.h. */
34851 _ACEOF
34852 cat confdefs.h >>conftest.$ac_ext
34853 cat >>conftest.$ac_ext <<_ACEOF
34854 /* end confdefs.h. */
34855 #include <wchar.h>
34856 int
34857 main ()
34858 {
34859 &_vsnwprintf;
34860 ;
34861 return 0;
34862 }
34863 _ACEOF
34864 rm -f conftest.$ac_objext
34865 if { (ac_try="$ac_compile"
34866 case "(($ac_try" in
34867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34868 *) ac_try_echo=$ac_try;;
34869 esac
34870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34871 (eval "$ac_compile") 2>conftest.er1
34872 ac_status=$?
34873 grep -v '^ *+' conftest.er1 >conftest.err
34874 rm -f conftest.er1
34875 cat conftest.err >&5
34876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34877 (exit $ac_status); } && {
34878 test -z "$ac_c_werror_flag" ||
34879 test ! -s conftest.err
34880 } && test -s conftest.$ac_objext; then
34881 { echo "$as_me:$LINENO: result: yes" >&5
34882 echo "${ECHO_T}yes" >&6; }
34883 cat >>confdefs.h <<\_ACEOF
34884 #define HAVE__VSNWPRINTF 1
34885 _ACEOF
34886
34887 else
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34890
34891 { echo "$as_me:$LINENO: result: no" >&5
34892 echo "${ECHO_T}no" >&6; }
34893 fi
34894
34895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34896 fi
34897
34898 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34899
34900 for wx_func in fnmatch
34901 do
34902 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34903 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34904 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34905 echo $ECHO_N "(cached) $ECHO_C" >&6
34906 else
34907
34908 cat >conftest.$ac_ext <<_ACEOF
34909
34910 /* confdefs.h. */
34911 _ACEOF
34912 cat confdefs.h >>conftest.$ac_ext
34913 cat >>conftest.$ac_ext <<_ACEOF
34914 /* end confdefs.h. */
34915
34916 #include <fnmatch.h>
34917 $ac_includes_default
34918
34919 int
34920 main ()
34921 {
34922
34923 #ifndef $wx_func
34924 &$wx_func;
34925 #endif
34926
34927
34928 ;
34929 return 0;
34930 }
34931
34932 _ACEOF
34933 rm -f conftest.$ac_objext conftest$ac_exeext
34934 if { (ac_try="$ac_link"
34935 case "(($ac_try" in
34936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34937 *) ac_try_echo=$ac_try;;
34938 esac
34939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34940 (eval "$ac_link") 2>conftest.er1
34941 ac_status=$?
34942 grep -v '^ *+' conftest.er1 >conftest.err
34943 rm -f conftest.er1
34944 cat conftest.err >&5
34945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34946 (exit $ac_status); } && {
34947 test -z "$ac_c_werror_flag" ||
34948 test ! -s conftest.err
34949 } && test -s conftest$ac_exeext &&
34950 $as_test_x conftest$ac_exeext; then
34951 eval wx_cv_func_$wx_func=yes
34952 else
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.$ac_ext >&5
34955
34956 eval wx_cv_func_$wx_func=no
34957 fi
34958
34959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34960 conftest$ac_exeext conftest.$ac_ext
34961
34962 fi
34963 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34964 { echo "$as_me:$LINENO: result: $ac_res" >&5
34965 echo "${ECHO_T}$ac_res" >&6; }
34966
34967 if eval test \$wx_cv_func_$wx_func = yes
34968 then
34969 cat >>confdefs.h <<_ACEOF
34970 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34971 _ACEOF
34972
34973
34974 else
34975 :
34976
34977 fi
34978 done
34979
34980 fi
34981
34982 if test "$wxUSE_FILE" = "yes"; then
34983
34984 for wx_func in fsync
34985 do
34986 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34987 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34988 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 else
34991
34992 cat >conftest.$ac_ext <<_ACEOF
34993
34994 /* confdefs.h. */
34995 _ACEOF
34996 cat confdefs.h >>conftest.$ac_ext
34997 cat >>conftest.$ac_ext <<_ACEOF
34998 /* end confdefs.h. */
34999
35000
35001 $ac_includes_default
35002
35003 int
35004 main ()
35005 {
35006
35007 #ifndef $wx_func
35008 &$wx_func;
35009 #endif
35010
35011
35012 ;
35013 return 0;
35014 }
35015
35016 _ACEOF
35017 rm -f conftest.$ac_objext conftest$ac_exeext
35018 if { (ac_try="$ac_link"
35019 case "(($ac_try" in
35020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35021 *) ac_try_echo=$ac_try;;
35022 esac
35023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35024 (eval "$ac_link") 2>conftest.er1
35025 ac_status=$?
35026 grep -v '^ *+' conftest.er1 >conftest.err
35027 rm -f conftest.er1
35028 cat conftest.err >&5
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); } && {
35031 test -z "$ac_c_werror_flag" ||
35032 test ! -s conftest.err
35033 } && test -s conftest$ac_exeext &&
35034 $as_test_x conftest$ac_exeext; then
35035 eval wx_cv_func_$wx_func=yes
35036 else
35037 echo "$as_me: failed program was:" >&5
35038 sed 's/^/| /' conftest.$ac_ext >&5
35039
35040 eval wx_cv_func_$wx_func=no
35041 fi
35042
35043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35044 conftest$ac_exeext conftest.$ac_ext
35045
35046 fi
35047 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35048 { echo "$as_me:$LINENO: result: $ac_res" >&5
35049 echo "${ECHO_T}$ac_res" >&6; }
35050
35051 if eval test \$wx_cv_func_$wx_func = yes
35052 then
35053 cat >>confdefs.h <<_ACEOF
35054 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35055 _ACEOF
35056
35057
35058 else
35059 :
35060
35061 fi
35062 done
35063
35064 fi
35065
35066
35067 for wx_func in round
35068 do
35069 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35070 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35071 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074
35075 cat >conftest.$ac_ext <<_ACEOF
35076
35077 /* confdefs.h. */
35078 _ACEOF
35079 cat confdefs.h >>conftest.$ac_ext
35080 cat >>conftest.$ac_ext <<_ACEOF
35081 /* end confdefs.h. */
35082
35083 #include <math.h>
35084 $ac_includes_default
35085
35086 int
35087 main ()
35088 {
35089
35090 #ifndef $wx_func
35091 &$wx_func;
35092 #endif
35093
35094
35095 ;
35096 return 0;
35097 }
35098
35099 _ACEOF
35100 rm -f conftest.$ac_objext conftest$ac_exeext
35101 if { (ac_try="$ac_link"
35102 case "(($ac_try" in
35103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35104 *) ac_try_echo=$ac_try;;
35105 esac
35106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35107 (eval "$ac_link") 2>conftest.er1
35108 ac_status=$?
35109 grep -v '^ *+' conftest.er1 >conftest.err
35110 rm -f conftest.er1
35111 cat conftest.err >&5
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); } && {
35114 test -z "$ac_c_werror_flag" ||
35115 test ! -s conftest.err
35116 } && test -s conftest$ac_exeext &&
35117 $as_test_x conftest$ac_exeext; then
35118 eval wx_cv_func_$wx_func=yes
35119 else
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.$ac_ext >&5
35122
35123 eval wx_cv_func_$wx_func=no
35124 fi
35125
35126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35127 conftest$ac_exeext conftest.$ac_ext
35128
35129 fi
35130 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35131 { echo "$as_me:$LINENO: result: $ac_res" >&5
35132 echo "${ECHO_T}$ac_res" >&6; }
35133
35134 if eval test \$wx_cv_func_$wx_func = yes
35135 then
35136 cat >>confdefs.h <<_ACEOF
35137 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35138 _ACEOF
35139
35140
35141 else
35142 :
35143
35144 fi
35145 done
35146
35147
35148 if test "$TOOLKIT" != "MSW"; then
35149
35150
35151
35152
35153
35154 # Check whether --with-libiconv-prefix was given.
35155 if test "${with_libiconv_prefix+set}" = set; then
35156 withval=$with_libiconv_prefix;
35157 for dir in `echo "$withval" | tr : ' '`; do
35158 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35159 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35160 done
35161
35162 fi
35163
35164
35165 { echo "$as_me:$LINENO: checking for iconv" >&5
35166 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35167 if test "${am_cv_func_iconv+set}" = set; then
35168 echo $ECHO_N "(cached) $ECHO_C" >&6
35169 else
35170
35171 am_cv_func_iconv="no, consider installing GNU libiconv"
35172 am_cv_lib_iconv=no
35173 cat >conftest.$ac_ext <<_ACEOF
35174 /* confdefs.h. */
35175 _ACEOF
35176 cat confdefs.h >>conftest.$ac_ext
35177 cat >>conftest.$ac_ext <<_ACEOF
35178 /* end confdefs.h. */
35179 #include <stdlib.h>
35180 #include <iconv.h>
35181 int
35182 main ()
35183 {
35184 iconv_t cd = iconv_open("","");
35185 iconv(cd,NULL,NULL,NULL,NULL);
35186 iconv_close(cd);
35187 ;
35188 return 0;
35189 }
35190 _ACEOF
35191 rm -f conftest.$ac_objext conftest$ac_exeext
35192 if { (ac_try="$ac_link"
35193 case "(($ac_try" in
35194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35195 *) ac_try_echo=$ac_try;;
35196 esac
35197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35198 (eval "$ac_link") 2>conftest.er1
35199 ac_status=$?
35200 grep -v '^ *+' conftest.er1 >conftest.err
35201 rm -f conftest.er1
35202 cat conftest.err >&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } && {
35205 test -z "$ac_c_werror_flag" ||
35206 test ! -s conftest.err
35207 } && test -s conftest$ac_exeext &&
35208 $as_test_x conftest$ac_exeext; then
35209 am_cv_func_iconv=yes
35210 else
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35213
35214
35215 fi
35216
35217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35218 conftest$ac_exeext conftest.$ac_ext
35219 if test "$am_cv_func_iconv" != yes; then
35220 am_save_LIBS="$LIBS"
35221 LIBS="$LIBS -liconv"
35222 cat >conftest.$ac_ext <<_ACEOF
35223 /* confdefs.h. */
35224 _ACEOF
35225 cat confdefs.h >>conftest.$ac_ext
35226 cat >>conftest.$ac_ext <<_ACEOF
35227 /* end confdefs.h. */
35228 #include <stdlib.h>
35229 #include <iconv.h>
35230 int
35231 main ()
35232 {
35233 iconv_t cd = iconv_open("","");
35234 iconv(cd,NULL,NULL,NULL,NULL);
35235 iconv_close(cd);
35236 ;
35237 return 0;
35238 }
35239 _ACEOF
35240 rm -f conftest.$ac_objext conftest$ac_exeext
35241 if { (ac_try="$ac_link"
35242 case "(($ac_try" in
35243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35244 *) ac_try_echo=$ac_try;;
35245 esac
35246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35247 (eval "$ac_link") 2>conftest.er1
35248 ac_status=$?
35249 grep -v '^ *+' conftest.er1 >conftest.err
35250 rm -f conftest.er1
35251 cat conftest.err >&5
35252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35253 (exit $ac_status); } && {
35254 test -z "$ac_c_werror_flag" ||
35255 test ! -s conftest.err
35256 } && test -s conftest$ac_exeext &&
35257 $as_test_x conftest$ac_exeext; then
35258 am_cv_lib_iconv=yes
35259 am_cv_func_iconv=yes
35260 else
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.$ac_ext >&5
35263
35264
35265 fi
35266
35267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35268 conftest$ac_exeext conftest.$ac_ext
35269 LIBS="$am_save_LIBS"
35270 fi
35271
35272 fi
35273 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35274 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35275 if test "$am_cv_func_iconv" = yes; then
35276
35277 cat >>confdefs.h <<\_ACEOF
35278 #define HAVE_ICONV 1
35279 _ACEOF
35280
35281 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35282 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35283 if test "${wx_cv_func_iconv_const+set}" = set; then
35284 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 else
35286 cat >conftest.$ac_ext <<_ACEOF
35287 /* confdefs.h. */
35288 _ACEOF
35289 cat confdefs.h >>conftest.$ac_ext
35290 cat >>conftest.$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292
35293 #include <stdlib.h>
35294 #include <iconv.h>
35295 extern
35296 #ifdef __cplusplus
35297 "C"
35298 #endif
35299 #if defined(__STDC__) || defined(__cplusplus)
35300 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35301 #else
35302 size_t iconv();
35303 #endif
35304
35305 int
35306 main ()
35307 {
35308
35309 ;
35310 return 0;
35311 }
35312 _ACEOF
35313 rm -f conftest.$ac_objext
35314 if { (ac_try="$ac_compile"
35315 case "(($ac_try" in
35316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35317 *) ac_try_echo=$ac_try;;
35318 esac
35319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35320 (eval "$ac_compile") 2>conftest.er1
35321 ac_status=$?
35322 grep -v '^ *+' conftest.er1 >conftest.err
35323 rm -f conftest.er1
35324 cat conftest.err >&5
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); } && {
35327 test -z "$ac_c_werror_flag" ||
35328 test ! -s conftest.err
35329 } && test -s conftest.$ac_objext; then
35330 wx_cv_func_iconv_const="no"
35331 else
35332 echo "$as_me: failed program was:" >&5
35333 sed 's/^/| /' conftest.$ac_ext >&5
35334
35335 wx_cv_func_iconv_const="yes"
35336
35337 fi
35338
35339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35340
35341 fi
35342 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35343 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35344
35345 iconv_const=
35346 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35347 iconv_const="const"
35348 fi
35349
35350
35351 cat >>confdefs.h <<_ACEOF
35352 #define ICONV_CONST $iconv_const
35353 _ACEOF
35354
35355 fi
35356 LIBICONV=
35357 if test "$am_cv_lib_iconv" = yes; then
35358 LIBICONV="-liconv"
35359 fi
35360
35361
35362 LIBS="$LIBICONV $LIBS"
35363
35364 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35365
35366 for ac_func in sigaction
35367 do
35368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35369 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35371 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35373 else
35374 cat >conftest.$ac_ext <<_ACEOF
35375 /* confdefs.h. */
35376 _ACEOF
35377 cat confdefs.h >>conftest.$ac_ext
35378 cat >>conftest.$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35382 #define $ac_func innocuous_$ac_func
35383
35384 /* System header to define __stub macros and hopefully few prototypes,
35385 which can conflict with char $ac_func (); below.
35386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35387 <limits.h> exists even on freestanding compilers. */
35388
35389 #ifdef __STDC__
35390 # include <limits.h>
35391 #else
35392 # include <assert.h>
35393 #endif
35394
35395 #undef $ac_func
35396
35397 /* Override any GCC internal prototype to avoid an error.
35398 Use char because int might match the return type of a GCC
35399 builtin and then its argument prototype would still apply. */
35400 #ifdef __cplusplus
35401 extern "C"
35402 #endif
35403 char $ac_func ();
35404 /* The GNU C library defines this for functions which it implements
35405 to always fail with ENOSYS. Some functions are actually named
35406 something starting with __ and the normal name is an alias. */
35407 #if defined __stub_$ac_func || defined __stub___$ac_func
35408 choke me
35409 #endif
35410
35411 int
35412 main ()
35413 {
35414 return $ac_func ();
35415 ;
35416 return 0;
35417 }
35418 _ACEOF
35419 rm -f conftest.$ac_objext conftest$ac_exeext
35420 if { (ac_try="$ac_link"
35421 case "(($ac_try" in
35422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35423 *) ac_try_echo=$ac_try;;
35424 esac
35425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35426 (eval "$ac_link") 2>conftest.er1
35427 ac_status=$?
35428 grep -v '^ *+' conftest.er1 >conftest.err
35429 rm -f conftest.er1
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } && {
35433 test -z "$ac_c_werror_flag" ||
35434 test ! -s conftest.err
35435 } && test -s conftest$ac_exeext &&
35436 $as_test_x conftest$ac_exeext; then
35437 eval "$as_ac_var=yes"
35438 else
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35441
35442 eval "$as_ac_var=no"
35443 fi
35444
35445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35446 conftest$ac_exeext conftest.$ac_ext
35447 fi
35448 ac_res=`eval echo '${'$as_ac_var'}'`
35449 { echo "$as_me:$LINENO: result: $ac_res" >&5
35450 echo "${ECHO_T}$ac_res" >&6; }
35451 if test `eval echo '${'$as_ac_var'}'` = yes; then
35452 cat >>confdefs.h <<_ACEOF
35453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35454 _ACEOF
35455
35456 fi
35457 done
35458
35459
35460 if test "$ac_cv_func_sigaction" = "no"; then
35461 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35462 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35463 wxUSE_ON_FATAL_EXCEPTION=no
35464 fi
35465
35466 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35467 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35468 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35469 if test "${wx_cv_type_sa_handler+set}" = set; then
35470 echo $ECHO_N "(cached) $ECHO_C" >&6
35471 else
35472
35473 ac_ext=cpp
35474 ac_cpp='$CXXCPP $CPPFLAGS'
35475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35478
35479 cat >conftest.$ac_ext <<_ACEOF
35480 /* confdefs.h. */
35481 _ACEOF
35482 cat confdefs.h >>conftest.$ac_ext
35483 cat >>conftest.$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485 #include <signal.h>
35486 int
35487 main ()
35488 {
35489
35490 extern void testSigHandler(int);
35491
35492 struct sigaction sa;
35493 sa.sa_handler = testSigHandler;
35494
35495 ;
35496 return 0;
35497 }
35498 _ACEOF
35499 rm -f conftest.$ac_objext
35500 if { (ac_try="$ac_compile"
35501 case "(($ac_try" in
35502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35503 *) ac_try_echo=$ac_try;;
35504 esac
35505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35506 (eval "$ac_compile") 2>conftest.er1
35507 ac_status=$?
35508 grep -v '^ *+' conftest.er1 >conftest.err
35509 rm -f conftest.er1
35510 cat conftest.err >&5
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); } && {
35513 test -z "$ac_cxx_werror_flag" ||
35514 test ! -s conftest.err
35515 } && test -s conftest.$ac_objext; then
35516
35517 wx_cv_type_sa_handler=int
35518
35519 else
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.$ac_ext >&5
35522
35523
35524 wx_cv_type_sa_handler=void
35525
35526 fi
35527
35528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35529 ac_ext=c
35530 ac_cpp='$CPP $CPPFLAGS'
35531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35534
35535
35536 fi
35537 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35538 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35539
35540 cat >>confdefs.h <<_ACEOF
35541 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35542 _ACEOF
35543
35544 fi
35545 fi
35546
35547 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35548 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35549 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35550 if test "${wx_cv_func_backtrace+set}" = set; then
35551 echo $ECHO_N "(cached) $ECHO_C" >&6
35552 else
35553
35554 ac_ext=cpp
35555 ac_cpp='$CXXCPP $CPPFLAGS'
35556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35559
35560 cat >conftest.$ac_ext <<_ACEOF
35561 /* confdefs.h. */
35562 _ACEOF
35563 cat confdefs.h >>conftest.$ac_ext
35564 cat >>conftest.$ac_ext <<_ACEOF
35565 /* end confdefs.h. */
35566 #include <execinfo.h>
35567 int
35568 main ()
35569 {
35570
35571 void *trace[1];
35572 char **messages;
35573
35574 backtrace(trace, 1);
35575 messages = backtrace_symbols(trace, 1);
35576
35577 ;
35578 return 0;
35579 }
35580 _ACEOF
35581 rm -f conftest.$ac_objext
35582 if { (ac_try="$ac_compile"
35583 case "(($ac_try" in
35584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35585 *) ac_try_echo=$ac_try;;
35586 esac
35587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35588 (eval "$ac_compile") 2>conftest.er1
35589 ac_status=$?
35590 grep -v '^ *+' conftest.er1 >conftest.err
35591 rm -f conftest.er1
35592 cat conftest.err >&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); } && {
35595 test -z "$ac_cxx_werror_flag" ||
35596 test ! -s conftest.err
35597 } && test -s conftest.$ac_objext; then
35598 wx_cv_func_backtrace=yes
35599 else
35600 echo "$as_me: failed program was:" >&5
35601 sed 's/^/| /' conftest.$ac_ext >&5
35602
35603 wx_cv_func_backtrace=no
35604
35605 fi
35606
35607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35608 ac_ext=c
35609 ac_cpp='$CPP $CPPFLAGS'
35610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35613
35614
35615
35616 fi
35617 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35618 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35619
35620
35621 if test "$wx_cv_func_backtrace" = "no"; then
35622 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35623 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35624 wxUSE_STACKWALKER=no
35625 else
35626 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35627 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35628 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35629 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 else
35631
35632 ac_ext=cpp
35633 ac_cpp='$CXXCPP $CPPFLAGS'
35634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35637
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 #include <cxxabi.h>
35645 int
35646 main ()
35647 {
35648
35649 int rc;
35650 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35651
35652 ;
35653 return 0;
35654 }
35655 _ACEOF
35656 rm -f conftest.$ac_objext conftest$ac_exeext
35657 if { (ac_try="$ac_link"
35658 case "(($ac_try" in
35659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35660 *) ac_try_echo=$ac_try;;
35661 esac
35662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35663 (eval "$ac_link") 2>conftest.er1
35664 ac_status=$?
35665 grep -v '^ *+' conftest.er1 >conftest.err
35666 rm -f conftest.er1
35667 cat conftest.err >&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } && {
35670 test -z "$ac_cxx_werror_flag" ||
35671 test ! -s conftest.err
35672 } && test -s conftest$ac_exeext &&
35673 $as_test_x conftest$ac_exeext; then
35674 wx_cv_func_cxa_demangle=yes
35675 else
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35678
35679 wx_cv_func_cxa_demangle=no
35680
35681 fi
35682
35683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35684 conftest$ac_exeext conftest.$ac_ext
35685 ac_ext=c
35686 ac_cpp='$CPP $CPPFLAGS'
35687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35690
35691
35692
35693 fi
35694 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35695 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35696
35697 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35698 cat >>confdefs.h <<\_ACEOF
35699 #define HAVE_CXA_DEMANGLE 1
35700 _ACEOF
35701
35702 fi
35703 fi
35704 fi
35705
35706 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35707 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35708 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35709 wxUSE_STACKWALKER=no
35710 fi
35711
35712
35713
35714
35715 for ac_func in mkstemp mktemp
35716 do
35717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 else
35723 cat >conftest.$ac_ext <<_ACEOF
35724 /* confdefs.h. */
35725 _ACEOF
35726 cat confdefs.h >>conftest.$ac_ext
35727 cat >>conftest.$ac_ext <<_ACEOF
35728 /* end confdefs.h. */
35729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35731 #define $ac_func innocuous_$ac_func
35732
35733 /* System header to define __stub macros and hopefully few prototypes,
35734 which can conflict with char $ac_func (); below.
35735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35736 <limits.h> exists even on freestanding compilers. */
35737
35738 #ifdef __STDC__
35739 # include <limits.h>
35740 #else
35741 # include <assert.h>
35742 #endif
35743
35744 #undef $ac_func
35745
35746 /* Override any GCC internal prototype to avoid an error.
35747 Use char because int might match the return type of a GCC
35748 builtin and then its argument prototype would still apply. */
35749 #ifdef __cplusplus
35750 extern "C"
35751 #endif
35752 char $ac_func ();
35753 /* The GNU C library defines this for functions which it implements
35754 to always fail with ENOSYS. Some functions are actually named
35755 something starting with __ and the normal name is an alias. */
35756 #if defined __stub_$ac_func || defined __stub___$ac_func
35757 choke me
35758 #endif
35759
35760 int
35761 main ()
35762 {
35763 return $ac_func ();
35764 ;
35765 return 0;
35766 }
35767 _ACEOF
35768 rm -f conftest.$ac_objext conftest$ac_exeext
35769 if { (ac_try="$ac_link"
35770 case "(($ac_try" in
35771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35772 *) ac_try_echo=$ac_try;;
35773 esac
35774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35775 (eval "$ac_link") 2>conftest.er1
35776 ac_status=$?
35777 grep -v '^ *+' conftest.er1 >conftest.err
35778 rm -f conftest.er1
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } && {
35782 test -z "$ac_c_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest$ac_exeext &&
35785 $as_test_x conftest$ac_exeext; then
35786 eval "$as_ac_var=yes"
35787 else
35788 echo "$as_me: failed program was:" >&5
35789 sed 's/^/| /' conftest.$ac_ext >&5
35790
35791 eval "$as_ac_var=no"
35792 fi
35793
35794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35795 conftest$ac_exeext conftest.$ac_ext
35796 fi
35797 ac_res=`eval echo '${'$as_ac_var'}'`
35798 { echo "$as_me:$LINENO: result: $ac_res" >&5
35799 echo "${ECHO_T}$ac_res" >&6; }
35800 if test `eval echo '${'$as_ac_var'}'` = yes; then
35801 cat >>confdefs.h <<_ACEOF
35802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35803 _ACEOF
35804 break
35805 fi
35806 done
35807
35808
35809 { echo "$as_me:$LINENO: checking for statfs" >&5
35810 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35811 if test "${wx_cv_func_statfs+set}" = set; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35814 cat >conftest.$ac_ext <<_ACEOF
35815 /* confdefs.h. */
35816 _ACEOF
35817 cat confdefs.h >>conftest.$ac_ext
35818 cat >>conftest.$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35820
35821 #if defined(__BSD__)
35822 #include <sys/param.h>
35823 #include <sys/mount.h>
35824 #else
35825 #include <sys/vfs.h>
35826 #endif
35827
35828 int
35829 main ()
35830 {
35831
35832 long l;
35833 struct statfs fs;
35834 statfs("/", &fs);
35835 l = fs.f_bsize;
35836 l += fs.f_blocks;
35837 l += fs.f_bavail;
35838
35839 ;
35840 return 0;
35841 }
35842 _ACEOF
35843 rm -f conftest.$ac_objext
35844 if { (ac_try="$ac_compile"
35845 case "(($ac_try" in
35846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35847 *) ac_try_echo=$ac_try;;
35848 esac
35849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35850 (eval "$ac_compile") 2>conftest.er1
35851 ac_status=$?
35852 grep -v '^ *+' conftest.er1 >conftest.err
35853 rm -f conftest.er1
35854 cat conftest.err >&5
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); } && {
35857 test -z "$ac_c_werror_flag" ||
35858 test ! -s conftest.err
35859 } && test -s conftest.$ac_objext; then
35860 wx_cv_func_statfs=yes
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865 wx_cv_func_statfs=no
35866
35867 fi
35868
35869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35870
35871 fi
35872 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35873 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35874
35875 if test "$wx_cv_func_statfs" = "yes"; then
35876 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35877 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35878 if test "${wx_cv_func_statfs_decl+set}" = set; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 else
35881 ac_ext=cpp
35882 ac_cpp='$CXXCPP $CPPFLAGS'
35883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35886
35887 cat >conftest.$ac_ext <<_ACEOF
35888 /* confdefs.h. */
35889 _ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893
35894 #if defined(__BSD__)
35895 #include <sys/param.h>
35896 #include <sys/mount.h>
35897 #else
35898 #include <sys/vfs.h>
35899 #endif
35900
35901 int
35902 main ()
35903 {
35904
35905 struct statfs fs;
35906 statfs("", &fs);
35907
35908 ;
35909 return 0;
35910 }
35911 _ACEOF
35912 rm -f conftest.$ac_objext
35913 if { (ac_try="$ac_compile"
35914 case "(($ac_try" in
35915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35916 *) ac_try_echo=$ac_try;;
35917 esac
35918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35919 (eval "$ac_compile") 2>conftest.er1
35920 ac_status=$?
35921 grep -v '^ *+' conftest.er1 >conftest.err
35922 rm -f conftest.er1
35923 cat conftest.err >&5
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); } && {
35926 test -z "$ac_cxx_werror_flag" ||
35927 test ! -s conftest.err
35928 } && test -s conftest.$ac_objext; then
35929 wx_cv_func_statfs_decl=yes
35930 else
35931 echo "$as_me: failed program was:" >&5
35932 sed 's/^/| /' conftest.$ac_ext >&5
35933
35934 wx_cv_func_statfs_decl=no
35935
35936 fi
35937
35938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35939 ac_ext=c
35940 ac_cpp='$CPP $CPPFLAGS'
35941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35944
35945
35946 fi
35947 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35948 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35949
35950 if test "$wx_cv_func_statfs_decl" = "yes"; then
35951 cat >>confdefs.h <<\_ACEOF
35952 #define HAVE_STATFS_DECL 1
35953 _ACEOF
35954
35955 fi
35956
35957 wx_cv_type_statvfs_t="struct statfs"
35958 cat >>confdefs.h <<\_ACEOF
35959 #define HAVE_STATFS 1
35960 _ACEOF
35961
35962 else
35963 { echo "$as_me:$LINENO: checking for statvfs" >&5
35964 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35965 if test "${wx_cv_func_statvfs+set}" = set; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35967 else
35968 cat >conftest.$ac_ext <<_ACEOF
35969 /* confdefs.h. */
35970 _ACEOF
35971 cat confdefs.h >>conftest.$ac_ext
35972 cat >>conftest.$ac_ext <<_ACEOF
35973 /* end confdefs.h. */
35974
35975 #include <stddef.h>
35976 #include <sys/statvfs.h>
35977
35978 int
35979 main ()
35980 {
35981
35982 statvfs("/", NULL);
35983
35984 ;
35985 return 0;
35986 }
35987 _ACEOF
35988 rm -f conftest.$ac_objext
35989 if { (ac_try="$ac_compile"
35990 case "(($ac_try" in
35991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35992 *) ac_try_echo=$ac_try;;
35993 esac
35994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35995 (eval "$ac_compile") 2>conftest.er1
35996 ac_status=$?
35997 grep -v '^ *+' conftest.er1 >conftest.err
35998 rm -f conftest.er1
35999 cat conftest.err >&5
36000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36001 (exit $ac_status); } && {
36002 test -z "$ac_c_werror_flag" ||
36003 test ! -s conftest.err
36004 } && test -s conftest.$ac_objext; then
36005 wx_cv_func_statvfs=yes
36006 else
36007 echo "$as_me: failed program was:" >&5
36008 sed 's/^/| /' conftest.$ac_ext >&5
36009
36010 wx_cv_func_statvfs=no
36011
36012 fi
36013
36014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36015
36016 fi
36017 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36018 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36019
36020 if test "$wx_cv_func_statvfs" = "yes"; then
36021 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36022 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36023 if test "${wx_cv_type_statvfs_t+set}" = set; then
36024 echo $ECHO_N "(cached) $ECHO_C" >&6
36025 else
36026 ac_ext=cpp
36027 ac_cpp='$CXXCPP $CPPFLAGS'
36028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36031
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038
36039 #include <sys/statvfs.h>
36040
36041 int
36042 main ()
36043 {
36044
36045 long l;
36046 statvfs_t fs;
36047 statvfs("/", &fs);
36048 l = fs.f_bsize;
36049 l += fs.f_blocks;
36050 l += fs.f_bavail;
36051
36052 ;
36053 return 0;
36054 }
36055 _ACEOF
36056 rm -f conftest.$ac_objext
36057 if { (ac_try="$ac_compile"
36058 case "(($ac_try" in
36059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36060 *) ac_try_echo=$ac_try;;
36061 esac
36062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36063 (eval "$ac_compile") 2>conftest.er1
36064 ac_status=$?
36065 grep -v '^ *+' conftest.er1 >conftest.err
36066 rm -f conftest.er1
36067 cat conftest.err >&5
36068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36069 (exit $ac_status); } && {
36070 test -z "$ac_cxx_werror_flag" ||
36071 test ! -s conftest.err
36072 } && test -s conftest.$ac_objext; then
36073 wx_cv_type_statvfs_t=statvfs_t
36074 else
36075 echo "$as_me: failed program was:" >&5
36076 sed 's/^/| /' conftest.$ac_ext >&5
36077
36078
36079 cat >conftest.$ac_ext <<_ACEOF
36080 /* confdefs.h. */
36081 _ACEOF
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36085
36086 #include <sys/statvfs.h>
36087
36088 int
36089 main ()
36090 {
36091
36092 long l;
36093 struct statvfs fs;
36094 statvfs("/", &fs);
36095 l = fs.f_bsize;
36096 l += fs.f_blocks;
36097 l += fs.f_bavail;
36098
36099 ;
36100 return 0;
36101 }
36102 _ACEOF
36103 rm -f conftest.$ac_objext
36104 if { (ac_try="$ac_compile"
36105 case "(($ac_try" in
36106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36107 *) ac_try_echo=$ac_try;;
36108 esac
36109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36110 (eval "$ac_compile") 2>conftest.er1
36111 ac_status=$?
36112 grep -v '^ *+' conftest.er1 >conftest.err
36113 rm -f conftest.er1
36114 cat conftest.err >&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); } && {
36117 test -z "$ac_cxx_werror_flag" ||
36118 test ! -s conftest.err
36119 } && test -s conftest.$ac_objext; then
36120 wx_cv_type_statvfs_t="struct statvfs"
36121 else
36122 echo "$as_me: failed program was:" >&5
36123 sed 's/^/| /' conftest.$ac_ext >&5
36124
36125 wx_cv_type_statvfs_t="unknown"
36126
36127 fi
36128
36129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36130
36131
36132 fi
36133
36134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36135 ac_ext=c
36136 ac_cpp='$CPP $CPPFLAGS'
36137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36140
36141
36142 fi
36143 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36144 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36145
36146 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36147 cat >>confdefs.h <<\_ACEOF
36148 #define HAVE_STATVFS 1
36149 _ACEOF
36150
36151 fi
36152 else
36153 wx_cv_type_statvfs_t="unknown"
36154 fi
36155 fi
36156
36157 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36158 cat >>confdefs.h <<_ACEOF
36159 #define WX_STATFS_T $wx_cv_type_statvfs_t
36160 _ACEOF
36161
36162 else
36163 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36164 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36165 fi
36166
36167 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36168
36169
36170 for ac_func in fcntl flock
36171 do
36172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36176 echo $ECHO_N "(cached) $ECHO_C" >&6
36177 else
36178 cat >conftest.$ac_ext <<_ACEOF
36179 /* confdefs.h. */
36180 _ACEOF
36181 cat confdefs.h >>conftest.$ac_ext
36182 cat >>conftest.$ac_ext <<_ACEOF
36183 /* end confdefs.h. */
36184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36186 #define $ac_func innocuous_$ac_func
36187
36188 /* System header to define __stub macros and hopefully few prototypes,
36189 which can conflict with char $ac_func (); below.
36190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36191 <limits.h> exists even on freestanding compilers. */
36192
36193 #ifdef __STDC__
36194 # include <limits.h>
36195 #else
36196 # include <assert.h>
36197 #endif
36198
36199 #undef $ac_func
36200
36201 /* Override any GCC internal prototype to avoid an error.
36202 Use char because int might match the return type of a GCC
36203 builtin and then its argument prototype would still apply. */
36204 #ifdef __cplusplus
36205 extern "C"
36206 #endif
36207 char $ac_func ();
36208 /* The GNU C library defines this for functions which it implements
36209 to always fail with ENOSYS. Some functions are actually named
36210 something starting with __ and the normal name is an alias. */
36211 #if defined __stub_$ac_func || defined __stub___$ac_func
36212 choke me
36213 #endif
36214
36215 int
36216 main ()
36217 {
36218 return $ac_func ();
36219 ;
36220 return 0;
36221 }
36222 _ACEOF
36223 rm -f conftest.$ac_objext conftest$ac_exeext
36224 if { (ac_try="$ac_link"
36225 case "(($ac_try" in
36226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36227 *) ac_try_echo=$ac_try;;
36228 esac
36229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36230 (eval "$ac_link") 2>conftest.er1
36231 ac_status=$?
36232 grep -v '^ *+' conftest.er1 >conftest.err
36233 rm -f conftest.er1
36234 cat conftest.err >&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } && {
36237 test -z "$ac_c_werror_flag" ||
36238 test ! -s conftest.err
36239 } && test -s conftest$ac_exeext &&
36240 $as_test_x conftest$ac_exeext; then
36241 eval "$as_ac_var=yes"
36242 else
36243 echo "$as_me: failed program was:" >&5
36244 sed 's/^/| /' conftest.$ac_ext >&5
36245
36246 eval "$as_ac_var=no"
36247 fi
36248
36249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36250 conftest$ac_exeext conftest.$ac_ext
36251 fi
36252 ac_res=`eval echo '${'$as_ac_var'}'`
36253 { echo "$as_me:$LINENO: result: $ac_res" >&5
36254 echo "${ECHO_T}$ac_res" >&6; }
36255 if test `eval echo '${'$as_ac_var'}'` = yes; then
36256 cat >>confdefs.h <<_ACEOF
36257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36258 _ACEOF
36259 break
36260 fi
36261 done
36262
36263
36264 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36265 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36266 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36267 wxUSE_SNGLINST_CHECKER=no
36268 fi
36269 fi
36270
36271
36272 for ac_func in timegm
36273 do
36274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36277 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36288 #define $ac_func innocuous_$ac_func
36289
36290 /* System header to define __stub macros and hopefully few prototypes,
36291 which can conflict with char $ac_func (); below.
36292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36293 <limits.h> exists even on freestanding compilers. */
36294
36295 #ifdef __STDC__
36296 # include <limits.h>
36297 #else
36298 # include <assert.h>
36299 #endif
36300
36301 #undef $ac_func
36302
36303 /* Override any GCC internal prototype to avoid an error.
36304 Use char because int might match the return type of a GCC
36305 builtin and then its argument prototype would still apply. */
36306 #ifdef __cplusplus
36307 extern "C"
36308 #endif
36309 char $ac_func ();
36310 /* The GNU C library defines this for functions which it implements
36311 to always fail with ENOSYS. Some functions are actually named
36312 something starting with __ and the normal name is an alias. */
36313 #if defined __stub_$ac_func || defined __stub___$ac_func
36314 choke me
36315 #endif
36316
36317 int
36318 main ()
36319 {
36320 return $ac_func ();
36321 ;
36322 return 0;
36323 }
36324 _ACEOF
36325 rm -f conftest.$ac_objext conftest$ac_exeext
36326 if { (ac_try="$ac_link"
36327 case "(($ac_try" in
36328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36329 *) ac_try_echo=$ac_try;;
36330 esac
36331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36332 (eval "$ac_link") 2>conftest.er1
36333 ac_status=$?
36334 grep -v '^ *+' conftest.er1 >conftest.err
36335 rm -f conftest.er1
36336 cat conftest.err >&5
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); } && {
36339 test -z "$ac_c_werror_flag" ||
36340 test ! -s conftest.err
36341 } && test -s conftest$ac_exeext &&
36342 $as_test_x conftest$ac_exeext; then
36343 eval "$as_ac_var=yes"
36344 else
36345 echo "$as_me: failed program was:" >&5
36346 sed 's/^/| /' conftest.$ac_ext >&5
36347
36348 eval "$as_ac_var=no"
36349 fi
36350
36351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36352 conftest$ac_exeext conftest.$ac_ext
36353 fi
36354 ac_res=`eval echo '${'$as_ac_var'}'`
36355 { echo "$as_me:$LINENO: result: $ac_res" >&5
36356 echo "${ECHO_T}$ac_res" >&6; }
36357 if test `eval echo '${'$as_ac_var'}'` = yes; then
36358 cat >>confdefs.h <<_ACEOF
36359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36360 _ACEOF
36361
36362 fi
36363 done
36364
36365
36366
36367
36368 for ac_func in putenv setenv
36369 do
36370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36374 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 else
36376 cat >conftest.$ac_ext <<_ACEOF
36377 /* confdefs.h. */
36378 _ACEOF
36379 cat confdefs.h >>conftest.$ac_ext
36380 cat >>conftest.$ac_ext <<_ACEOF
36381 /* end confdefs.h. */
36382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36384 #define $ac_func innocuous_$ac_func
36385
36386 /* System header to define __stub macros and hopefully few prototypes,
36387 which can conflict with char $ac_func (); below.
36388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36389 <limits.h> exists even on freestanding compilers. */
36390
36391 #ifdef __STDC__
36392 # include <limits.h>
36393 #else
36394 # include <assert.h>
36395 #endif
36396
36397 #undef $ac_func
36398
36399 /* Override any GCC internal prototype to avoid an error.
36400 Use char because int might match the return type of a GCC
36401 builtin and then its argument prototype would still apply. */
36402 #ifdef __cplusplus
36403 extern "C"
36404 #endif
36405 char $ac_func ();
36406 /* The GNU C library defines this for functions which it implements
36407 to always fail with ENOSYS. Some functions are actually named
36408 something starting with __ and the normal name is an alias. */
36409 #if defined __stub_$ac_func || defined __stub___$ac_func
36410 choke me
36411 #endif
36412
36413 int
36414 main ()
36415 {
36416 return $ac_func ();
36417 ;
36418 return 0;
36419 }
36420 _ACEOF
36421 rm -f conftest.$ac_objext conftest$ac_exeext
36422 if { (ac_try="$ac_link"
36423 case "(($ac_try" in
36424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36425 *) ac_try_echo=$ac_try;;
36426 esac
36427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36428 (eval "$ac_link") 2>conftest.er1
36429 ac_status=$?
36430 grep -v '^ *+' conftest.er1 >conftest.err
36431 rm -f conftest.er1
36432 cat conftest.err >&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); } && {
36435 test -z "$ac_c_werror_flag" ||
36436 test ! -s conftest.err
36437 } && test -s conftest$ac_exeext &&
36438 $as_test_x conftest$ac_exeext; then
36439 eval "$as_ac_var=yes"
36440 else
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36443
36444 eval "$as_ac_var=no"
36445 fi
36446
36447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36448 conftest$ac_exeext conftest.$ac_ext
36449 fi
36450 ac_res=`eval echo '${'$as_ac_var'}'`
36451 { echo "$as_me:$LINENO: result: $ac_res" >&5
36452 echo "${ECHO_T}$ac_res" >&6; }
36453 if test `eval echo '${'$as_ac_var'}'` = yes; then
36454 cat >>confdefs.h <<_ACEOF
36455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36456 _ACEOF
36457 break
36458 fi
36459 done
36460
36461
36462 HAVE_SOME_SLEEP_FUNC=0
36463 if test "$USE_BEOS" = 1; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define HAVE_SLEEP 1
36466 _ACEOF
36467
36468 HAVE_SOME_SLEEP_FUNC=1
36469 fi
36470
36471 if test "$USE_DARWIN" = 1; then
36472 cat >>confdefs.h <<\_ACEOF
36473 #define HAVE_USLEEP 1
36474 _ACEOF
36475
36476 HAVE_SOME_SLEEP_FUNC=1
36477 fi
36478
36479 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36480 POSIX4_LINK=
36481
36482 for ac_func in nanosleep
36483 do
36484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36488 echo $ECHO_N "(cached) $ECHO_C" >&6
36489 else
36490 cat >conftest.$ac_ext <<_ACEOF
36491 /* confdefs.h. */
36492 _ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36498 #define $ac_func innocuous_$ac_func
36499
36500 /* System header to define __stub macros and hopefully few prototypes,
36501 which can conflict with char $ac_func (); below.
36502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36503 <limits.h> exists even on freestanding compilers. */
36504
36505 #ifdef __STDC__
36506 # include <limits.h>
36507 #else
36508 # include <assert.h>
36509 #endif
36510
36511 #undef $ac_func
36512
36513 /* Override any GCC internal prototype to avoid an error.
36514 Use char because int might match the return type of a GCC
36515 builtin and then its argument prototype would still apply. */
36516 #ifdef __cplusplus
36517 extern "C"
36518 #endif
36519 char $ac_func ();
36520 /* The GNU C library defines this for functions which it implements
36521 to always fail with ENOSYS. Some functions are actually named
36522 something starting with __ and the normal name is an alias. */
36523 #if defined __stub_$ac_func || defined __stub___$ac_func
36524 choke me
36525 #endif
36526
36527 int
36528 main ()
36529 {
36530 return $ac_func ();
36531 ;
36532 return 0;
36533 }
36534 _ACEOF
36535 rm -f conftest.$ac_objext conftest$ac_exeext
36536 if { (ac_try="$ac_link"
36537 case "(($ac_try" in
36538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36539 *) ac_try_echo=$ac_try;;
36540 esac
36541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36542 (eval "$ac_link") 2>conftest.er1
36543 ac_status=$?
36544 grep -v '^ *+' conftest.er1 >conftest.err
36545 rm -f conftest.er1
36546 cat conftest.err >&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); } && {
36549 test -z "$ac_c_werror_flag" ||
36550 test ! -s conftest.err
36551 } && test -s conftest$ac_exeext &&
36552 $as_test_x conftest$ac_exeext; then
36553 eval "$as_ac_var=yes"
36554 else
36555 echo "$as_me: failed program was:" >&5
36556 sed 's/^/| /' conftest.$ac_ext >&5
36557
36558 eval "$as_ac_var=no"
36559 fi
36560
36561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36562 conftest$ac_exeext conftest.$ac_ext
36563 fi
36564 ac_res=`eval echo '${'$as_ac_var'}'`
36565 { echo "$as_me:$LINENO: result: $ac_res" >&5
36566 echo "${ECHO_T}$ac_res" >&6; }
36567 if test `eval echo '${'$as_ac_var'}'` = yes; then
36568 cat >>confdefs.h <<_ACEOF
36569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36570 _ACEOF
36571 cat >>confdefs.h <<\_ACEOF
36572 #define HAVE_NANOSLEEP 1
36573 _ACEOF
36574
36575 else
36576
36577 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36578 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36579 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 else
36582 ac_check_lib_save_LIBS=$LIBS
36583 LIBS="-lposix4 $LIBS"
36584 cat >conftest.$ac_ext <<_ACEOF
36585 /* confdefs.h. */
36586 _ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590
36591 /* Override any GCC internal prototype to avoid an error.
36592 Use char because int might match the return type of a GCC
36593 builtin and then its argument prototype would still apply. */
36594 #ifdef __cplusplus
36595 extern "C"
36596 #endif
36597 char nanosleep ();
36598 int
36599 main ()
36600 {
36601 return nanosleep ();
36602 ;
36603 return 0;
36604 }
36605 _ACEOF
36606 rm -f conftest.$ac_objext conftest$ac_exeext
36607 if { (ac_try="$ac_link"
36608 case "(($ac_try" in
36609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36610 *) ac_try_echo=$ac_try;;
36611 esac
36612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36613 (eval "$ac_link") 2>conftest.er1
36614 ac_status=$?
36615 grep -v '^ *+' conftest.er1 >conftest.err
36616 rm -f conftest.er1
36617 cat conftest.err >&5
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); } && {
36620 test -z "$ac_c_werror_flag" ||
36621 test ! -s conftest.err
36622 } && test -s conftest$ac_exeext &&
36623 $as_test_x conftest$ac_exeext; then
36624 ac_cv_lib_posix4_nanosleep=yes
36625 else
36626 echo "$as_me: failed program was:" >&5
36627 sed 's/^/| /' conftest.$ac_ext >&5
36628
36629 ac_cv_lib_posix4_nanosleep=no
36630 fi
36631
36632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36633 conftest$ac_exeext conftest.$ac_ext
36634 LIBS=$ac_check_lib_save_LIBS
36635 fi
36636 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36637 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36638 if test $ac_cv_lib_posix4_nanosleep = yes; then
36639
36640 cat >>confdefs.h <<\_ACEOF
36641 #define HAVE_NANOSLEEP 1
36642 _ACEOF
36643
36644 POSIX4_LINK=" -lposix4"
36645
36646 else
36647
36648
36649 for wx_func in usleep
36650 do
36651 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36652 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36653 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36654 echo $ECHO_N "(cached) $ECHO_C" >&6
36655 else
36656
36657 cat >conftest.$ac_ext <<_ACEOF
36658
36659 /* confdefs.h. */
36660 _ACEOF
36661 cat confdefs.h >>conftest.$ac_ext
36662 cat >>conftest.$ac_ext <<_ACEOF
36663 /* end confdefs.h. */
36664
36665
36666 $ac_includes_default
36667
36668 int
36669 main ()
36670 {
36671
36672 #ifndef $wx_func
36673 &$wx_func;
36674 #endif
36675
36676
36677 ;
36678 return 0;
36679 }
36680
36681 _ACEOF
36682 rm -f conftest.$ac_objext conftest$ac_exeext
36683 if { (ac_try="$ac_link"
36684 case "(($ac_try" in
36685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36686 *) ac_try_echo=$ac_try;;
36687 esac
36688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36689 (eval "$ac_link") 2>conftest.er1
36690 ac_status=$?
36691 grep -v '^ *+' conftest.er1 >conftest.err
36692 rm -f conftest.er1
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } && {
36696 test -z "$ac_c_werror_flag" ||
36697 test ! -s conftest.err
36698 } && test -s conftest$ac_exeext &&
36699 $as_test_x conftest$ac_exeext; then
36700 eval wx_cv_func_$wx_func=yes
36701 else
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36704
36705 eval wx_cv_func_$wx_func=no
36706 fi
36707
36708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36709 conftest$ac_exeext conftest.$ac_ext
36710
36711 fi
36712 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36713 { echo "$as_me:$LINENO: result: $ac_res" >&5
36714 echo "${ECHO_T}$ac_res" >&6; }
36715
36716 if eval test \$wx_cv_func_$wx_func = yes
36717 then
36718 cat >>confdefs.h <<_ACEOF
36719 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36720 _ACEOF
36721
36722
36723 else
36724 :
36725 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36726 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36727
36728 fi
36729 done
36730
36731
36732
36733 fi
36734
36735
36736
36737 fi
36738 done
36739
36740 fi
36741
36742
36743 for wx_func in uname
36744 do
36745 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36746 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36747 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36749 else
36750
36751 cat >conftest.$ac_ext <<_ACEOF
36752
36753 /* confdefs.h. */
36754 _ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758
36759 #include <sys/utsname.h>
36760 $ac_includes_default
36761
36762 int
36763 main ()
36764 {
36765
36766 #ifndef $wx_func
36767 &$wx_func;
36768 #endif
36769
36770
36771 ;
36772 return 0;
36773 }
36774
36775 _ACEOF
36776 rm -f conftest.$ac_objext conftest$ac_exeext
36777 if { (ac_try="$ac_link"
36778 case "(($ac_try" in
36779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36780 *) ac_try_echo=$ac_try;;
36781 esac
36782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36783 (eval "$ac_link") 2>conftest.er1
36784 ac_status=$?
36785 grep -v '^ *+' conftest.er1 >conftest.err
36786 rm -f conftest.er1
36787 cat conftest.err >&5
36788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36789 (exit $ac_status); } && {
36790 test -z "$ac_c_werror_flag" ||
36791 test ! -s conftest.err
36792 } && test -s conftest$ac_exeext &&
36793 $as_test_x conftest$ac_exeext; then
36794 eval wx_cv_func_$wx_func=yes
36795 else
36796 echo "$as_me: failed program was:" >&5
36797 sed 's/^/| /' conftest.$ac_ext >&5
36798
36799 eval wx_cv_func_$wx_func=no
36800 fi
36801
36802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36803 conftest$ac_exeext conftest.$ac_ext
36804
36805 fi
36806 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36807 { echo "$as_me:$LINENO: result: $ac_res" >&5
36808 echo "${ECHO_T}$ac_res" >&6; }
36809
36810 if eval test \$wx_cv_func_$wx_func = yes
36811 then
36812 cat >>confdefs.h <<_ACEOF
36813 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36814 _ACEOF
36815
36816
36817 else
36818 :
36819
36820 fi
36821 done
36822
36823 if test "$wx_cv_func_uname" != yes; then
36824
36825 for wx_func in gethostname
36826 do
36827 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36829 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36830 echo $ECHO_N "(cached) $ECHO_C" >&6
36831 else
36832
36833 cat >conftest.$ac_ext <<_ACEOF
36834
36835 /* confdefs.h. */
36836 _ACEOF
36837 cat confdefs.h >>conftest.$ac_ext
36838 cat >>conftest.$ac_ext <<_ACEOF
36839 /* end confdefs.h. */
36840
36841
36842 $ac_includes_default
36843
36844 int
36845 main ()
36846 {
36847
36848 #ifndef $wx_func
36849 &$wx_func;
36850 #endif
36851
36852
36853 ;
36854 return 0;
36855 }
36856
36857 _ACEOF
36858 rm -f conftest.$ac_objext conftest$ac_exeext
36859 if { (ac_try="$ac_link"
36860 case "(($ac_try" in
36861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36862 *) ac_try_echo=$ac_try;;
36863 esac
36864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36865 (eval "$ac_link") 2>conftest.er1
36866 ac_status=$?
36867 grep -v '^ *+' conftest.er1 >conftest.err
36868 rm -f conftest.er1
36869 cat conftest.err >&5
36870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871 (exit $ac_status); } && {
36872 test -z "$ac_c_werror_flag" ||
36873 test ! -s conftest.err
36874 } && test -s conftest$ac_exeext &&
36875 $as_test_x conftest$ac_exeext; then
36876 eval wx_cv_func_$wx_func=yes
36877 else
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.$ac_ext >&5
36880
36881 eval wx_cv_func_$wx_func=no
36882 fi
36883
36884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36885 conftest$ac_exeext conftest.$ac_ext
36886
36887 fi
36888 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36889 { echo "$as_me:$LINENO: result: $ac_res" >&5
36890 echo "${ECHO_T}$ac_res" >&6; }
36891
36892 if eval test \$wx_cv_func_$wx_func = yes
36893 then
36894 cat >>confdefs.h <<_ACEOF
36895 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36896 _ACEOF
36897
36898
36899 else
36900 :
36901
36902 fi
36903 done
36904
36905 fi
36906
36907
36908 for wx_func in strtok_r
36909 do
36910 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36911 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36912 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 else
36915
36916 cat >conftest.$ac_ext <<_ACEOF
36917
36918 /* confdefs.h. */
36919 _ACEOF
36920 cat confdefs.h >>conftest.$ac_ext
36921 cat >>conftest.$ac_ext <<_ACEOF
36922 /* end confdefs.h. */
36923
36924 #define _REENTRANT
36925 $ac_includes_default
36926
36927 int
36928 main ()
36929 {
36930
36931 #ifndef $wx_func
36932 &$wx_func;
36933 #endif
36934
36935
36936 ;
36937 return 0;
36938 }
36939
36940 _ACEOF
36941 rm -f conftest.$ac_objext conftest$ac_exeext
36942 if { (ac_try="$ac_link"
36943 case "(($ac_try" in
36944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36945 *) ac_try_echo=$ac_try;;
36946 esac
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_link") 2>conftest.er1
36949 ac_status=$?
36950 grep -v '^ *+' conftest.er1 >conftest.err
36951 rm -f conftest.er1
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_c_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest$ac_exeext &&
36958 $as_test_x conftest$ac_exeext; then
36959 eval wx_cv_func_$wx_func=yes
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 eval wx_cv_func_$wx_func=no
36965 fi
36966
36967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36968 conftest$ac_exeext conftest.$ac_ext
36969
36970 fi
36971 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36972 { echo "$as_me:$LINENO: result: $ac_res" >&5
36973 echo "${ECHO_T}$ac_res" >&6; }
36974
36975 if eval test \$wx_cv_func_$wx_func = yes
36976 then
36977 cat >>confdefs.h <<_ACEOF
36978 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36979 _ACEOF
36980
36981
36982 else
36983 :
36984
36985 fi
36986 done
36987
36988
36989 INET_LINK=
36990
36991 for ac_func in inet_addr
36992 do
36993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36996 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36997 echo $ECHO_N "(cached) $ECHO_C" >&6
36998 else
36999 cat >conftest.$ac_ext <<_ACEOF
37000 /* confdefs.h. */
37001 _ACEOF
37002 cat confdefs.h >>conftest.$ac_ext
37003 cat >>conftest.$ac_ext <<_ACEOF
37004 /* end confdefs.h. */
37005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37007 #define $ac_func innocuous_$ac_func
37008
37009 /* System header to define __stub macros and hopefully few prototypes,
37010 which can conflict with char $ac_func (); below.
37011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37012 <limits.h> exists even on freestanding compilers. */
37013
37014 #ifdef __STDC__
37015 # include <limits.h>
37016 #else
37017 # include <assert.h>
37018 #endif
37019
37020 #undef $ac_func
37021
37022 /* Override any GCC internal prototype to avoid an error.
37023 Use char because int might match the return type of a GCC
37024 builtin and then its argument prototype would still apply. */
37025 #ifdef __cplusplus
37026 extern "C"
37027 #endif
37028 char $ac_func ();
37029 /* The GNU C library defines this for functions which it implements
37030 to always fail with ENOSYS. Some functions are actually named
37031 something starting with __ and the normal name is an alias. */
37032 #if defined __stub_$ac_func || defined __stub___$ac_func
37033 choke me
37034 #endif
37035
37036 int
37037 main ()
37038 {
37039 return $ac_func ();
37040 ;
37041 return 0;
37042 }
37043 _ACEOF
37044 rm -f conftest.$ac_objext conftest$ac_exeext
37045 if { (ac_try="$ac_link"
37046 case "(($ac_try" in
37047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37048 *) ac_try_echo=$ac_try;;
37049 esac
37050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37051 (eval "$ac_link") 2>conftest.er1
37052 ac_status=$?
37053 grep -v '^ *+' conftest.er1 >conftest.err
37054 rm -f conftest.er1
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } && {
37058 test -z "$ac_c_werror_flag" ||
37059 test ! -s conftest.err
37060 } && test -s conftest$ac_exeext &&
37061 $as_test_x conftest$ac_exeext; then
37062 eval "$as_ac_var=yes"
37063 else
37064 echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37066
37067 eval "$as_ac_var=no"
37068 fi
37069
37070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37071 conftest$ac_exeext conftest.$ac_ext
37072 fi
37073 ac_res=`eval echo '${'$as_ac_var'}'`
37074 { echo "$as_me:$LINENO: result: $ac_res" >&5
37075 echo "${ECHO_T}$ac_res" >&6; }
37076 if test `eval echo '${'$as_ac_var'}'` = yes; then
37077 cat >>confdefs.h <<_ACEOF
37078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37079 _ACEOF
37080 cat >>confdefs.h <<\_ACEOF
37081 #define HAVE_INET_ADDR 1
37082 _ACEOF
37083
37084 else
37085
37086 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37087 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37088 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37089 echo $ECHO_N "(cached) $ECHO_C" >&6
37090 else
37091 ac_check_lib_save_LIBS=$LIBS
37092 LIBS="-lnsl $LIBS"
37093 cat >conftest.$ac_ext <<_ACEOF
37094 /* confdefs.h. */
37095 _ACEOF
37096 cat confdefs.h >>conftest.$ac_ext
37097 cat >>conftest.$ac_ext <<_ACEOF
37098 /* end confdefs.h. */
37099
37100 /* Override any GCC internal prototype to avoid an error.
37101 Use char because int might match the return type of a GCC
37102 builtin and then its argument prototype would still apply. */
37103 #ifdef __cplusplus
37104 extern "C"
37105 #endif
37106 char inet_addr ();
37107 int
37108 main ()
37109 {
37110 return inet_addr ();
37111 ;
37112 return 0;
37113 }
37114 _ACEOF
37115 rm -f conftest.$ac_objext conftest$ac_exeext
37116 if { (ac_try="$ac_link"
37117 case "(($ac_try" in
37118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37119 *) ac_try_echo=$ac_try;;
37120 esac
37121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37122 (eval "$ac_link") 2>conftest.er1
37123 ac_status=$?
37124 grep -v '^ *+' conftest.er1 >conftest.err
37125 rm -f conftest.er1
37126 cat conftest.err >&5
37127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37128 (exit $ac_status); } && {
37129 test -z "$ac_c_werror_flag" ||
37130 test ! -s conftest.err
37131 } && test -s conftest$ac_exeext &&
37132 $as_test_x conftest$ac_exeext; then
37133 ac_cv_lib_nsl_inet_addr=yes
37134 else
37135 echo "$as_me: failed program was:" >&5
37136 sed 's/^/| /' conftest.$ac_ext >&5
37137
37138 ac_cv_lib_nsl_inet_addr=no
37139 fi
37140
37141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37142 conftest$ac_exeext conftest.$ac_ext
37143 LIBS=$ac_check_lib_save_LIBS
37144 fi
37145 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37146 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37147 if test $ac_cv_lib_nsl_inet_addr = yes; then
37148 INET_LINK="nsl"
37149 else
37150
37151 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37152 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37153 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37154 echo $ECHO_N "(cached) $ECHO_C" >&6
37155 else
37156 ac_check_lib_save_LIBS=$LIBS
37157 LIBS="-lresolv $LIBS"
37158 cat >conftest.$ac_ext <<_ACEOF
37159 /* confdefs.h. */
37160 _ACEOF
37161 cat confdefs.h >>conftest.$ac_ext
37162 cat >>conftest.$ac_ext <<_ACEOF
37163 /* end confdefs.h. */
37164
37165 /* Override any GCC internal prototype to avoid an error.
37166 Use char because int might match the return type of a GCC
37167 builtin and then its argument prototype would still apply. */
37168 #ifdef __cplusplus
37169 extern "C"
37170 #endif
37171 char inet_addr ();
37172 int
37173 main ()
37174 {
37175 return inet_addr ();
37176 ;
37177 return 0;
37178 }
37179 _ACEOF
37180 rm -f conftest.$ac_objext conftest$ac_exeext
37181 if { (ac_try="$ac_link"
37182 case "(($ac_try" in
37183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37184 *) ac_try_echo=$ac_try;;
37185 esac
37186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37187 (eval "$ac_link") 2>conftest.er1
37188 ac_status=$?
37189 grep -v '^ *+' conftest.er1 >conftest.err
37190 rm -f conftest.er1
37191 cat conftest.err >&5
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); } && {
37194 test -z "$ac_c_werror_flag" ||
37195 test ! -s conftest.err
37196 } && test -s conftest$ac_exeext &&
37197 $as_test_x conftest$ac_exeext; then
37198 ac_cv_lib_resolv_inet_addr=yes
37199 else
37200 echo "$as_me: failed program was:" >&5
37201 sed 's/^/| /' conftest.$ac_ext >&5
37202
37203 ac_cv_lib_resolv_inet_addr=no
37204 fi
37205
37206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37207 conftest$ac_exeext conftest.$ac_ext
37208 LIBS=$ac_check_lib_save_LIBS
37209 fi
37210 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37211 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37212 if test $ac_cv_lib_resolv_inet_addr = yes; then
37213 INET_LINK="resolv"
37214 else
37215
37216 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37217 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37218 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37220 else
37221 ac_check_lib_save_LIBS=$LIBS
37222 LIBS="-lsocket $LIBS"
37223 cat >conftest.$ac_ext <<_ACEOF
37224 /* confdefs.h. */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229
37230 /* Override any GCC internal prototype to avoid an error.
37231 Use char because int might match the return type of a GCC
37232 builtin and then its argument prototype would still apply. */
37233 #ifdef __cplusplus
37234 extern "C"
37235 #endif
37236 char inet_addr ();
37237 int
37238 main ()
37239 {
37240 return inet_addr ();
37241 ;
37242 return 0;
37243 }
37244 _ACEOF
37245 rm -f conftest.$ac_objext conftest$ac_exeext
37246 if { (ac_try="$ac_link"
37247 case "(($ac_try" in
37248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37249 *) ac_try_echo=$ac_try;;
37250 esac
37251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37252 (eval "$ac_link") 2>conftest.er1
37253 ac_status=$?
37254 grep -v '^ *+' conftest.er1 >conftest.err
37255 rm -f conftest.er1
37256 cat conftest.err >&5
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); } && {
37259 test -z "$ac_c_werror_flag" ||
37260 test ! -s conftest.err
37261 } && test -s conftest$ac_exeext &&
37262 $as_test_x conftest$ac_exeext; then
37263 ac_cv_lib_socket_inet_addr=yes
37264 else
37265 echo "$as_me: failed program was:" >&5
37266 sed 's/^/| /' conftest.$ac_ext >&5
37267
37268 ac_cv_lib_socket_inet_addr=no
37269 fi
37270
37271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37272 conftest$ac_exeext conftest.$ac_ext
37273 LIBS=$ac_check_lib_save_LIBS
37274 fi
37275 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37276 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37277 if test $ac_cv_lib_socket_inet_addr = yes; then
37278 INET_LINK="socket"
37279
37280 fi
37281
37282
37283
37284 fi
37285
37286
37287
37288 fi
37289
37290
37291
37292 fi
37293 done
37294
37295
37296
37297 for ac_func in inet_aton
37298 do
37299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37304 else
37305 cat >conftest.$ac_ext <<_ACEOF
37306 /* confdefs.h. */
37307 _ACEOF
37308 cat confdefs.h >>conftest.$ac_ext
37309 cat >>conftest.$ac_ext <<_ACEOF
37310 /* end confdefs.h. */
37311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37313 #define $ac_func innocuous_$ac_func
37314
37315 /* System header to define __stub macros and hopefully few prototypes,
37316 which can conflict with char $ac_func (); below.
37317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37318 <limits.h> exists even on freestanding compilers. */
37319
37320 #ifdef __STDC__
37321 # include <limits.h>
37322 #else
37323 # include <assert.h>
37324 #endif
37325
37326 #undef $ac_func
37327
37328 /* Override any GCC internal prototype to avoid an error.
37329 Use char because int might match the return type of a GCC
37330 builtin and then its argument prototype would still apply. */
37331 #ifdef __cplusplus
37332 extern "C"
37333 #endif
37334 char $ac_func ();
37335 /* The GNU C library defines this for functions which it implements
37336 to always fail with ENOSYS. Some functions are actually named
37337 something starting with __ and the normal name is an alias. */
37338 #if defined __stub_$ac_func || defined __stub___$ac_func
37339 choke me
37340 #endif
37341
37342 int
37343 main ()
37344 {
37345 return $ac_func ();
37346 ;
37347 return 0;
37348 }
37349 _ACEOF
37350 rm -f conftest.$ac_objext conftest$ac_exeext
37351 if { (ac_try="$ac_link"
37352 case "(($ac_try" in
37353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37354 *) ac_try_echo=$ac_try;;
37355 esac
37356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37357 (eval "$ac_link") 2>conftest.er1
37358 ac_status=$?
37359 grep -v '^ *+' conftest.er1 >conftest.err
37360 rm -f conftest.er1
37361 cat conftest.err >&5
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); } && {
37364 test -z "$ac_c_werror_flag" ||
37365 test ! -s conftest.err
37366 } && test -s conftest$ac_exeext &&
37367 $as_test_x conftest$ac_exeext; then
37368 eval "$as_ac_var=yes"
37369 else
37370 echo "$as_me: failed program was:" >&5
37371 sed 's/^/| /' conftest.$ac_ext >&5
37372
37373 eval "$as_ac_var=no"
37374 fi
37375
37376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37377 conftest$ac_exeext conftest.$ac_ext
37378 fi
37379 ac_res=`eval echo '${'$as_ac_var'}'`
37380 { echo "$as_me:$LINENO: result: $ac_res" >&5
37381 echo "${ECHO_T}$ac_res" >&6; }
37382 if test `eval echo '${'$as_ac_var'}'` = yes; then
37383 cat >>confdefs.h <<_ACEOF
37384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37385 _ACEOF
37386 cat >>confdefs.h <<\_ACEOF
37387 #define HAVE_INET_ATON 1
37388 _ACEOF
37389
37390 else
37391
37392 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37393 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37394 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37395 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37396 echo $ECHO_N "(cached) $ECHO_C" >&6
37397 else
37398 ac_check_lib_save_LIBS=$LIBS
37399 LIBS="-l$INET_LINK $LIBS"
37400 cat >conftest.$ac_ext <<_ACEOF
37401 /* confdefs.h. */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37406
37407 /* Override any GCC internal prototype to avoid an error.
37408 Use char because int might match the return type of a GCC
37409 builtin and then its argument prototype would still apply. */
37410 #ifdef __cplusplus
37411 extern "C"
37412 #endif
37413 char inet_aton ();
37414 int
37415 main ()
37416 {
37417 return inet_aton ();
37418 ;
37419 return 0;
37420 }
37421 _ACEOF
37422 rm -f conftest.$ac_objext conftest$ac_exeext
37423 if { (ac_try="$ac_link"
37424 case "(($ac_try" in
37425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37426 *) ac_try_echo=$ac_try;;
37427 esac
37428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37429 (eval "$ac_link") 2>conftest.er1
37430 ac_status=$?
37431 grep -v '^ *+' conftest.er1 >conftest.err
37432 rm -f conftest.er1
37433 cat conftest.err >&5
37434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435 (exit $ac_status); } && {
37436 test -z "$ac_c_werror_flag" ||
37437 test ! -s conftest.err
37438 } && test -s conftest$ac_exeext &&
37439 $as_test_x conftest$ac_exeext; then
37440 eval "$as_ac_Lib=yes"
37441 else
37442 echo "$as_me: failed program was:" >&5
37443 sed 's/^/| /' conftest.$ac_ext >&5
37444
37445 eval "$as_ac_Lib=no"
37446 fi
37447
37448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37449 conftest$ac_exeext conftest.$ac_ext
37450 LIBS=$ac_check_lib_save_LIBS
37451 fi
37452 ac_res=`eval echo '${'$as_ac_Lib'}'`
37453 { echo "$as_me:$LINENO: result: $ac_res" >&5
37454 echo "${ECHO_T}$ac_res" >&6; }
37455 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37456 cat >>confdefs.h <<\_ACEOF
37457 #define HAVE_INET_ATON 1
37458 _ACEOF
37459
37460 fi
37461
37462
37463 fi
37464 done
37465
37466
37467 if test "x$INET_LINK" != "x"; then
37468 cat >>confdefs.h <<\_ACEOF
37469 #define HAVE_INET_ADDR 1
37470 _ACEOF
37471
37472 INET_LINK=" -l$INET_LINK"
37473 fi
37474
37475
37476 for wx_func in fdopen
37477 do
37478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37480 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37481 echo $ECHO_N "(cached) $ECHO_C" >&6
37482 else
37483
37484 cat >conftest.$ac_ext <<_ACEOF
37485
37486 /* confdefs.h. */
37487 _ACEOF
37488 cat confdefs.h >>conftest.$ac_ext
37489 cat >>conftest.$ac_ext <<_ACEOF
37490 /* end confdefs.h. */
37491
37492
37493 $ac_includes_default
37494
37495 int
37496 main ()
37497 {
37498
37499 #ifndef $wx_func
37500 &$wx_func;
37501 #endif
37502
37503
37504 ;
37505 return 0;
37506 }
37507
37508 _ACEOF
37509 rm -f conftest.$ac_objext conftest$ac_exeext
37510 if { (ac_try="$ac_link"
37511 case "(($ac_try" in
37512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37513 *) ac_try_echo=$ac_try;;
37514 esac
37515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37516 (eval "$ac_link") 2>conftest.er1
37517 ac_status=$?
37518 grep -v '^ *+' conftest.er1 >conftest.err
37519 rm -f conftest.er1
37520 cat conftest.err >&5
37521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37522 (exit $ac_status); } && {
37523 test -z "$ac_c_werror_flag" ||
37524 test ! -s conftest.err
37525 } && test -s conftest$ac_exeext &&
37526 $as_test_x conftest$ac_exeext; then
37527 eval wx_cv_func_$wx_func=yes
37528 else
37529 echo "$as_me: failed program was:" >&5
37530 sed 's/^/| /' conftest.$ac_ext >&5
37531
37532 eval wx_cv_func_$wx_func=no
37533 fi
37534
37535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37536 conftest$ac_exeext conftest.$ac_ext
37537
37538 fi
37539 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37540 { echo "$as_me:$LINENO: result: $ac_res" >&5
37541 echo "${ECHO_T}$ac_res" >&6; }
37542
37543 if eval test \$wx_cv_func_$wx_func = yes
37544 then
37545 cat >>confdefs.h <<_ACEOF
37546 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37547 _ACEOF
37548
37549
37550 else
37551 :
37552
37553 fi
37554 done
37555
37556
37557 fi
37558
37559
37560
37561 cat >confcache <<\_ACEOF
37562 # This file is a shell script that caches the results of configure
37563 # tests run on this system so they can be shared between configure
37564 # scripts and configure runs, see configure's option --config-cache.
37565 # It is not useful on other systems. If it contains results you don't
37566 # want to keep, you may remove or edit it.
37567 #
37568 # config.status only pays attention to the cache file if you give it
37569 # the --recheck option to rerun configure.
37570 #
37571 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37572 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37573 # following values.
37574
37575 _ACEOF
37576
37577 # The following way of writing the cache mishandles newlines in values,
37578 # but we know of no workaround that is simple, portable, and efficient.
37579 # So, we kill variables containing newlines.
37580 # Ultrix sh set writes to stderr and can't be redirected directly,
37581 # and sets the high bit in the cache file unless we assign to the vars.
37582 (
37583 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37584 eval ac_val=\$$ac_var
37585 case $ac_val in #(
37586 *${as_nl}*)
37587 case $ac_var in #(
37588 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37589 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37590 esac
37591 case $ac_var in #(
37592 _ | IFS | as_nl) ;; #(
37593 *) $as_unset $ac_var ;;
37594 esac ;;
37595 esac
37596 done
37597
37598 (set) 2>&1 |
37599 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37600 *${as_nl}ac_space=\ *)
37601 # `set' does not quote correctly, so add quotes (double-quote
37602 # substitution turns \\\\ into \\, and sed turns \\ into \).
37603 sed -n \
37604 "s/'/'\\\\''/g;
37605 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37606 ;; #(
37607 *)
37608 # `set' quotes correctly as required by POSIX, so do not add quotes.
37609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37610 ;;
37611 esac |
37612 sort
37613 ) |
37614 sed '
37615 /^ac_cv_env_/b end
37616 t clear
37617 :clear
37618 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37619 t end
37620 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37621 :end' >>confcache
37622 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37623 if test -w "$cache_file"; then
37624 test "x$cache_file" != "x/dev/null" &&
37625 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37626 echo "$as_me: updating cache $cache_file" >&6;}
37627 cat confcache >$cache_file
37628 else
37629 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37630 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37631 fi
37632 fi
37633 rm -f confcache
37634
37635
37636 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37637
37638
37639 THREADS_LINK=
37640 THREADS_CFLAGS=
37641
37642 if test "$wxUSE_THREADS" = "yes" ; then
37643 if test "$USE_BEOS" = 1; then
37644 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37645 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37646 wxUSE_THREADS="no"
37647 fi
37648 fi
37649
37650 if test "$wxUSE_THREADS" = "yes" ; then
37651
37652
37653 THREAD_OPTS="-pthread"
37654 case "${host}" in
37655 *-*-solaris2* | *-*-sunos4* )
37656 if test "x$GCC" = "xyes"; then
37657 THREAD_OPTS="-pthreads $THREAD_OPTS"
37658 else
37659 THREAD_OPTS="-mt $THREAD_OPTS"
37660 fi
37661 ;;
37662 *-*-freebsd*)
37663 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37664 ;;
37665 *-*-darwin* | *-*-cygwin* )
37666 THREAD_OPTS=""
37667 ;;
37668 *-*-aix*)
37669 THREAD_OPTS="pthreads"
37670 ;;
37671 *-hp-hpux* )
37672 if test "x$GCC" = "xyes"; then
37673 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37674 THREAD_OPTS=""
37675 else
37676 THREAD_OPTS="-mt"
37677 fi
37678 ;;
37679
37680 *-*-irix* )
37681 if test "x$GCC" = "xyes"; then
37682 THREAD_OPTS=""
37683 fi
37684 ;;
37685
37686 *-*-*UnixWare*)
37687 if test "x$GCC" != "xyes"; then
37688 THREAD_OPTS="-Ethread"
37689 fi
37690 ;;
37691 esac
37692
37693 THREAD_OPTS="$THREAD_OPTS pthread none"
37694
37695 THREADS_OK=no
37696 for flag in $THREAD_OPTS; do
37697 case $flag in
37698 none)
37699 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37700 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37701 ;;
37702
37703 -*)
37704 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37705 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37706 THREADS_CFLAGS="$flag"
37707 ;;
37708
37709 *)
37710 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37711 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37712 THREADS_LINK="-l$flag"
37713 ;;
37714 esac
37715
37716 save_LIBS="$LIBS"
37717 save_CFLAGS="$CFLAGS"
37718 LIBS="$THREADS_LINK $LIBS"
37719 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37720
37721 cat >conftest.$ac_ext <<_ACEOF
37722 /* confdefs.h. */
37723 _ACEOF
37724 cat confdefs.h >>conftest.$ac_ext
37725 cat >>conftest.$ac_ext <<_ACEOF
37726 /* end confdefs.h. */
37727 #include <pthread.h>
37728 int
37729 main ()
37730 {
37731 pthread_create(0,0,0,0);
37732 ;
37733 return 0;
37734 }
37735 _ACEOF
37736 rm -f conftest.$ac_objext conftest$ac_exeext
37737 if { (ac_try="$ac_link"
37738 case "(($ac_try" in
37739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37740 *) ac_try_echo=$ac_try;;
37741 esac
37742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37743 (eval "$ac_link") 2>conftest.er1
37744 ac_status=$?
37745 grep -v '^ *+' conftest.er1 >conftest.err
37746 rm -f conftest.er1
37747 cat conftest.err >&5
37748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37749 (exit $ac_status); } && {
37750 test -z "$ac_c_werror_flag" ||
37751 test ! -s conftest.err
37752 } && test -s conftest$ac_exeext &&
37753 $as_test_x conftest$ac_exeext; then
37754 THREADS_OK=yes
37755 else
37756 echo "$as_me: failed program was:" >&5
37757 sed 's/^/| /' conftest.$ac_ext >&5
37758
37759
37760 fi
37761
37762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37763 conftest$ac_exeext conftest.$ac_ext
37764
37765 LIBS="$save_LIBS"
37766 CFLAGS="$save_CFLAGS"
37767
37768 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37769 echo "${ECHO_T}$THREADS_OK" >&6; }
37770 if test "x$THREADS_OK" = "xyes"; then
37771 break;
37772 fi
37773
37774 THREADS_LINK=""
37775 THREADS_CFLAGS=""
37776 done
37777
37778 if test "x$THREADS_OK" != "xyes"; then
37779 wxUSE_THREADS=no
37780 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37781 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37782 else
37783 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37784 LIBS="$THREADS_LINK $LIBS"
37785
37786 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37787 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37788 flag=no
37789 case "${host}" in
37790 *-aix*)
37791 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37792 flag="-D_THREAD_SAFE"
37793 ;;
37794 *-freebsd*)
37795 flag="-D_THREAD_SAFE"
37796 ;;
37797 *-hp-hpux* )
37798 flag="-D_REENTRANT"
37799 if test "x$GCC" != "xyes"; then
37800 flag="$flag -D_RWSTD_MULTI_THREAD"
37801 fi
37802 ;;
37803 *solaris* | alpha*-osf*)
37804 flag="-D_REENTRANT"
37805 ;;
37806 esac
37807 { echo "$as_me:$LINENO: result: ${flag}" >&5
37808 echo "${ECHO_T}${flag}" >&6; }
37809 if test "x$flag" != xno; then
37810 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37811 fi
37812
37813 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37814 fi
37815 fi
37816
37817 if test "$wxUSE_THREADS" = "yes" ; then
37818
37819 for ac_func in thr_setconcurrency
37820 do
37821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37825 echo $ECHO_N "(cached) $ECHO_C" >&6
37826 else
37827 cat >conftest.$ac_ext <<_ACEOF
37828 /* confdefs.h. */
37829 _ACEOF
37830 cat confdefs.h >>conftest.$ac_ext
37831 cat >>conftest.$ac_ext <<_ACEOF
37832 /* end confdefs.h. */
37833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37835 #define $ac_func innocuous_$ac_func
37836
37837 /* System header to define __stub macros and hopefully few prototypes,
37838 which can conflict with char $ac_func (); below.
37839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37840 <limits.h> exists even on freestanding compilers. */
37841
37842 #ifdef __STDC__
37843 # include <limits.h>
37844 #else
37845 # include <assert.h>
37846 #endif
37847
37848 #undef $ac_func
37849
37850 /* Override any GCC internal prototype to avoid an error.
37851 Use char because int might match the return type of a GCC
37852 builtin and then its argument prototype would still apply. */
37853 #ifdef __cplusplus
37854 extern "C"
37855 #endif
37856 char $ac_func ();
37857 /* The GNU C library defines this for functions which it implements
37858 to always fail with ENOSYS. Some functions are actually named
37859 something starting with __ and the normal name is an alias. */
37860 #if defined __stub_$ac_func || defined __stub___$ac_func
37861 choke me
37862 #endif
37863
37864 int
37865 main ()
37866 {
37867 return $ac_func ();
37868 ;
37869 return 0;
37870 }
37871 _ACEOF
37872 rm -f conftest.$ac_objext conftest$ac_exeext
37873 if { (ac_try="$ac_link"
37874 case "(($ac_try" in
37875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37876 *) ac_try_echo=$ac_try;;
37877 esac
37878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37879 (eval "$ac_link") 2>conftest.er1
37880 ac_status=$?
37881 grep -v '^ *+' conftest.er1 >conftest.err
37882 rm -f conftest.er1
37883 cat conftest.err >&5
37884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885 (exit $ac_status); } && {
37886 test -z "$ac_c_werror_flag" ||
37887 test ! -s conftest.err
37888 } && test -s conftest$ac_exeext &&
37889 $as_test_x conftest$ac_exeext; then
37890 eval "$as_ac_var=yes"
37891 else
37892 echo "$as_me: failed program was:" >&5
37893 sed 's/^/| /' conftest.$ac_ext >&5
37894
37895 eval "$as_ac_var=no"
37896 fi
37897
37898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37899 conftest$ac_exeext conftest.$ac_ext
37900 fi
37901 ac_res=`eval echo '${'$as_ac_var'}'`
37902 { echo "$as_me:$LINENO: result: $ac_res" >&5
37903 echo "${ECHO_T}$ac_res" >&6; }
37904 if test `eval echo '${'$as_ac_var'}'` = yes; then
37905 cat >>confdefs.h <<_ACEOF
37906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37907 _ACEOF
37908
37909 fi
37910 done
37911
37912
37913 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37914 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37915 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37916 echo $ECHO_N "(cached) $ECHO_C" >&6
37917 else
37918
37919 cat >conftest.$ac_ext <<_ACEOF
37920 /* confdefs.h. */
37921 _ACEOF
37922 cat confdefs.h >>conftest.$ac_ext
37923 cat >>conftest.$ac_ext <<_ACEOF
37924 /* end confdefs.h. */
37925 #include <pthread.h>
37926 void ThreadCleanupFunc(void *p);
37927
37928 int
37929 main ()
37930 {
37931
37932 void *p;
37933 pthread_cleanup_push(ThreadCleanupFunc, p);
37934 pthread_cleanup_pop(0);
37935
37936 ;
37937 return 0;
37938 }
37939 _ACEOF
37940 rm -f conftest.$ac_objext
37941 if { (ac_try="$ac_compile"
37942 case "(($ac_try" in
37943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37944 *) ac_try_echo=$ac_try;;
37945 esac
37946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37947 (eval "$ac_compile") 2>conftest.er1
37948 ac_status=$?
37949 grep -v '^ *+' conftest.er1 >conftest.err
37950 rm -f conftest.er1
37951 cat conftest.err >&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); } && {
37954 test -z "$ac_c_werror_flag" ||
37955 test ! -s conftest.err
37956 } && test -s conftest.$ac_objext; then
37957
37958 wx_cv_func_pthread_cleanup=yes
37959
37960 else
37961 echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.$ac_ext >&5
37963
37964
37965 wx_cv_func_pthread_cleanup=no
37966
37967
37968 fi
37969
37970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37971
37972 fi
37973 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37974 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37975 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37976 cat >>confdefs.h <<\_ACEOF
37977 #define wxHAVE_PTHREAD_CLEANUP 1
37978 _ACEOF
37979
37980 fi
37981
37982 { echo "$as_me:$LINENO: checking for sched.h" >&5
37983 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37984 if test "${ac_cv_header_sched_h+set}" = set; then
37985 echo $ECHO_N "(cached) $ECHO_C" >&6
37986 else
37987 cat >conftest.$ac_ext <<_ACEOF
37988 /* confdefs.h. */
37989 _ACEOF
37990 cat confdefs.h >>conftest.$ac_ext
37991 cat >>conftest.$ac_ext <<_ACEOF
37992 /* end confdefs.h. */
37993 $ac_includes_default
37994
37995 #include <sched.h>
37996 _ACEOF
37997 rm -f conftest.$ac_objext
37998 if { (ac_try="$ac_compile"
37999 case "(($ac_try" in
38000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38001 *) ac_try_echo=$ac_try;;
38002 esac
38003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38004 (eval "$ac_compile") 2>conftest.er1
38005 ac_status=$?
38006 grep -v '^ *+' conftest.er1 >conftest.err
38007 rm -f conftest.er1
38008 cat conftest.err >&5
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); } && {
38011 test -z "$ac_c_werror_flag" ||
38012 test ! -s conftest.err
38013 } && test -s conftest.$ac_objext; then
38014 ac_cv_header_sched_h=yes
38015 else
38016 echo "$as_me: failed program was:" >&5
38017 sed 's/^/| /' conftest.$ac_ext >&5
38018
38019 ac_cv_header_sched_h=no
38020 fi
38021
38022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38023 fi
38024 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38025 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38026
38027
38028 if test "$ac_cv_header_sched_h" = "yes"; then
38029 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38030 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38031 if test "${ac_cv_func_sched_yield+set}" = set; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 else
38034 cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h. */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h. */
38040 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38042 #define sched_yield innocuous_sched_yield
38043
38044 /* System header to define __stub macros and hopefully few prototypes,
38045 which can conflict with char sched_yield (); below.
38046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38047 <limits.h> exists even on freestanding compilers. */
38048
38049 #ifdef __STDC__
38050 # include <limits.h>
38051 #else
38052 # include <assert.h>
38053 #endif
38054
38055 #undef sched_yield
38056
38057 /* Override any GCC internal prototype to avoid an error.
38058 Use char because int might match the return type of a GCC
38059 builtin and then its argument prototype would still apply. */
38060 #ifdef __cplusplus
38061 extern "C"
38062 #endif
38063 char sched_yield ();
38064 /* The GNU C library defines this for functions which it implements
38065 to always fail with ENOSYS. Some functions are actually named
38066 something starting with __ and the normal name is an alias. */
38067 #if defined __stub_sched_yield || defined __stub___sched_yield
38068 choke me
38069 #endif
38070
38071 int
38072 main ()
38073 {
38074 return sched_yield ();
38075 ;
38076 return 0;
38077 }
38078 _ACEOF
38079 rm -f conftest.$ac_objext conftest$ac_exeext
38080 if { (ac_try="$ac_link"
38081 case "(($ac_try" in
38082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38083 *) ac_try_echo=$ac_try;;
38084 esac
38085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38086 (eval "$ac_link") 2>conftest.er1
38087 ac_status=$?
38088 grep -v '^ *+' conftest.er1 >conftest.err
38089 rm -f conftest.er1
38090 cat conftest.err >&5
38091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38092 (exit $ac_status); } && {
38093 test -z "$ac_c_werror_flag" ||
38094 test ! -s conftest.err
38095 } && test -s conftest$ac_exeext &&
38096 $as_test_x conftest$ac_exeext; then
38097 ac_cv_func_sched_yield=yes
38098 else
38099 echo "$as_me: failed program was:" >&5
38100 sed 's/^/| /' conftest.$ac_ext >&5
38101
38102 ac_cv_func_sched_yield=no
38103 fi
38104
38105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38106 conftest$ac_exeext conftest.$ac_ext
38107 fi
38108 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38109 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38110 if test $ac_cv_func_sched_yield = yes; then
38111 cat >>confdefs.h <<\_ACEOF
38112 #define HAVE_SCHED_YIELD 1
38113 _ACEOF
38114
38115 else
38116
38117 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38118 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38119 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38120 echo $ECHO_N "(cached) $ECHO_C" >&6
38121 else
38122 ac_check_lib_save_LIBS=$LIBS
38123 LIBS="-lposix4 $LIBS"
38124 cat >conftest.$ac_ext <<_ACEOF
38125 /* confdefs.h. */
38126 _ACEOF
38127 cat confdefs.h >>conftest.$ac_ext
38128 cat >>conftest.$ac_ext <<_ACEOF
38129 /* end confdefs.h. */
38130
38131 /* Override any GCC internal prototype to avoid an error.
38132 Use char because int might match the return type of a GCC
38133 builtin and then its argument prototype would still apply. */
38134 #ifdef __cplusplus
38135 extern "C"
38136 #endif
38137 char sched_yield ();
38138 int
38139 main ()
38140 {
38141 return sched_yield ();
38142 ;
38143 return 0;
38144 }
38145 _ACEOF
38146 rm -f conftest.$ac_objext conftest$ac_exeext
38147 if { (ac_try="$ac_link"
38148 case "(($ac_try" in
38149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38150 *) ac_try_echo=$ac_try;;
38151 esac
38152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38153 (eval "$ac_link") 2>conftest.er1
38154 ac_status=$?
38155 grep -v '^ *+' conftest.er1 >conftest.err
38156 rm -f conftest.er1
38157 cat conftest.err >&5
38158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38159 (exit $ac_status); } && {
38160 test -z "$ac_c_werror_flag" ||
38161 test ! -s conftest.err
38162 } && test -s conftest$ac_exeext &&
38163 $as_test_x conftest$ac_exeext; then
38164 ac_cv_lib_posix4_sched_yield=yes
38165 else
38166 echo "$as_me: failed program was:" >&5
38167 sed 's/^/| /' conftest.$ac_ext >&5
38168
38169 ac_cv_lib_posix4_sched_yield=no
38170 fi
38171
38172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38173 conftest$ac_exeext conftest.$ac_ext
38174 LIBS=$ac_check_lib_save_LIBS
38175 fi
38176 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38177 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38178 if test $ac_cv_lib_posix4_sched_yield = yes; then
38179 cat >>confdefs.h <<\_ACEOF
38180 #define HAVE_SCHED_YIELD 1
38181 _ACEOF
38182 POSIX4_LINK=" -lposix4"
38183 else
38184 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38185 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38186
38187 fi
38188
38189
38190
38191 fi
38192
38193 fi
38194
38195 HAVE_PRIOR_FUNCS=0
38196 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38197 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38198 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38199 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 else
38201 cat >conftest.$ac_ext <<_ACEOF
38202 /* confdefs.h. */
38203 _ACEOF
38204 cat confdefs.h >>conftest.$ac_ext
38205 cat >>conftest.$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38207 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38209 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38210
38211 /* System header to define __stub macros and hopefully few prototypes,
38212 which can conflict with char pthread_attr_getschedpolicy (); below.
38213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38214 <limits.h> exists even on freestanding compilers. */
38215
38216 #ifdef __STDC__
38217 # include <limits.h>
38218 #else
38219 # include <assert.h>
38220 #endif
38221
38222 #undef pthread_attr_getschedpolicy
38223
38224 /* Override any GCC internal prototype to avoid an error.
38225 Use char because int might match the return type of a GCC
38226 builtin and then its argument prototype would still apply. */
38227 #ifdef __cplusplus
38228 extern "C"
38229 #endif
38230 char pthread_attr_getschedpolicy ();
38231 /* The GNU C library defines this for functions which it implements
38232 to always fail with ENOSYS. Some functions are actually named
38233 something starting with __ and the normal name is an alias. */
38234 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38235 choke me
38236 #endif
38237
38238 int
38239 main ()
38240 {
38241 return pthread_attr_getschedpolicy ();
38242 ;
38243 return 0;
38244 }
38245 _ACEOF
38246 rm -f conftest.$ac_objext conftest$ac_exeext
38247 if { (ac_try="$ac_link"
38248 case "(($ac_try" in
38249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38250 *) ac_try_echo=$ac_try;;
38251 esac
38252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38253 (eval "$ac_link") 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } && {
38260 test -z "$ac_c_werror_flag" ||
38261 test ! -s conftest.err
38262 } && test -s conftest$ac_exeext &&
38263 $as_test_x conftest$ac_exeext; then
38264 ac_cv_func_pthread_attr_getschedpolicy=yes
38265 else
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38268
38269 ac_cv_func_pthread_attr_getschedpolicy=no
38270 fi
38271
38272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38273 conftest$ac_exeext conftest.$ac_ext
38274 fi
38275 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38276 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38277 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38278 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38279 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38280 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38282 else
38283 cat >conftest.$ac_ext <<_ACEOF
38284 /* confdefs.h. */
38285 _ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38289 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38291 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38292
38293 /* System header to define __stub macros and hopefully few prototypes,
38294 which can conflict with char pthread_attr_setschedparam (); below.
38295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38296 <limits.h> exists even on freestanding compilers. */
38297
38298 #ifdef __STDC__
38299 # include <limits.h>
38300 #else
38301 # include <assert.h>
38302 #endif
38303
38304 #undef pthread_attr_setschedparam
38305
38306 /* Override any GCC internal prototype to avoid an error.
38307 Use char because int might match the return type of a GCC
38308 builtin and then its argument prototype would still apply. */
38309 #ifdef __cplusplus
38310 extern "C"
38311 #endif
38312 char pthread_attr_setschedparam ();
38313 /* The GNU C library defines this for functions which it implements
38314 to always fail with ENOSYS. Some functions are actually named
38315 something starting with __ and the normal name is an alias. */
38316 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38317 choke me
38318 #endif
38319
38320 int
38321 main ()
38322 {
38323 return pthread_attr_setschedparam ();
38324 ;
38325 return 0;
38326 }
38327 _ACEOF
38328 rm -f conftest.$ac_objext conftest$ac_exeext
38329 if { (ac_try="$ac_link"
38330 case "(($ac_try" in
38331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38332 *) ac_try_echo=$ac_try;;
38333 esac
38334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38335 (eval "$ac_link") 2>conftest.er1
38336 ac_status=$?
38337 grep -v '^ *+' conftest.er1 >conftest.err
38338 rm -f conftest.er1
38339 cat conftest.err >&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } && {
38342 test -z "$ac_c_werror_flag" ||
38343 test ! -s conftest.err
38344 } && test -s conftest$ac_exeext &&
38345 $as_test_x conftest$ac_exeext; then
38346 ac_cv_func_pthread_attr_setschedparam=yes
38347 else
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.$ac_ext >&5
38350
38351 ac_cv_func_pthread_attr_setschedparam=no
38352 fi
38353
38354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38355 conftest$ac_exeext conftest.$ac_ext
38356 fi
38357 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38358 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38359 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38360 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38361 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38362 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38363 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 else
38365 cat >conftest.$ac_ext <<_ACEOF
38366 /* confdefs.h. */
38367 _ACEOF
38368 cat confdefs.h >>conftest.$ac_ext
38369 cat >>conftest.$ac_ext <<_ACEOF
38370 /* end confdefs.h. */
38371 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38373 #define sched_get_priority_max innocuous_sched_get_priority_max
38374
38375 /* System header to define __stub macros and hopefully few prototypes,
38376 which can conflict with char sched_get_priority_max (); below.
38377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38378 <limits.h> exists even on freestanding compilers. */
38379
38380 #ifdef __STDC__
38381 # include <limits.h>
38382 #else
38383 # include <assert.h>
38384 #endif
38385
38386 #undef sched_get_priority_max
38387
38388 /* Override any GCC internal prototype to avoid an error.
38389 Use char because int might match the return type of a GCC
38390 builtin and then its argument prototype would still apply. */
38391 #ifdef __cplusplus
38392 extern "C"
38393 #endif
38394 char sched_get_priority_max ();
38395 /* The GNU C library defines this for functions which it implements
38396 to always fail with ENOSYS. Some functions are actually named
38397 something starting with __ and the normal name is an alias. */
38398 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38399 choke me
38400 #endif
38401
38402 int
38403 main ()
38404 {
38405 return sched_get_priority_max ();
38406 ;
38407 return 0;
38408 }
38409 _ACEOF
38410 rm -f conftest.$ac_objext conftest$ac_exeext
38411 if { (ac_try="$ac_link"
38412 case "(($ac_try" in
38413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38414 *) ac_try_echo=$ac_try;;
38415 esac
38416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38417 (eval "$ac_link") 2>conftest.er1
38418 ac_status=$?
38419 grep -v '^ *+' conftest.er1 >conftest.err
38420 rm -f conftest.er1
38421 cat conftest.err >&5
38422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38423 (exit $ac_status); } && {
38424 test -z "$ac_c_werror_flag" ||
38425 test ! -s conftest.err
38426 } && test -s conftest$ac_exeext &&
38427 $as_test_x conftest$ac_exeext; then
38428 ac_cv_func_sched_get_priority_max=yes
38429 else
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38432
38433 ac_cv_func_sched_get_priority_max=no
38434 fi
38435
38436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38437 conftest$ac_exeext conftest.$ac_ext
38438 fi
38439 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38440 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38441 if test $ac_cv_func_sched_get_priority_max = yes; then
38442 HAVE_PRIOR_FUNCS=1
38443 else
38444 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38445 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38446 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 else
38449 ac_check_lib_save_LIBS=$LIBS
38450 LIBS="-lposix4 $LIBS"
38451 cat >conftest.$ac_ext <<_ACEOF
38452 /* confdefs.h. */
38453 _ACEOF
38454 cat confdefs.h >>conftest.$ac_ext
38455 cat >>conftest.$ac_ext <<_ACEOF
38456 /* end confdefs.h. */
38457
38458 /* Override any GCC internal prototype to avoid an error.
38459 Use char because int might match the return type of a GCC
38460 builtin and then its argument prototype would still apply. */
38461 #ifdef __cplusplus
38462 extern "C"
38463 #endif
38464 char sched_get_priority_max ();
38465 int
38466 main ()
38467 {
38468 return sched_get_priority_max ();
38469 ;
38470 return 0;
38471 }
38472 _ACEOF
38473 rm -f conftest.$ac_objext conftest$ac_exeext
38474 if { (ac_try="$ac_link"
38475 case "(($ac_try" in
38476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38477 *) ac_try_echo=$ac_try;;
38478 esac
38479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38480 (eval "$ac_link") 2>conftest.er1
38481 ac_status=$?
38482 grep -v '^ *+' conftest.er1 >conftest.err
38483 rm -f conftest.er1
38484 cat conftest.err >&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } && {
38487 test -z "$ac_c_werror_flag" ||
38488 test ! -s conftest.err
38489 } && test -s conftest$ac_exeext &&
38490 $as_test_x conftest$ac_exeext; then
38491 ac_cv_lib_posix4_sched_get_priority_max=yes
38492 else
38493 echo "$as_me: failed program was:" >&5
38494 sed 's/^/| /' conftest.$ac_ext >&5
38495
38496 ac_cv_lib_posix4_sched_get_priority_max=no
38497 fi
38498
38499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38500 conftest$ac_exeext conftest.$ac_ext
38501 LIBS=$ac_check_lib_save_LIBS
38502 fi
38503 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38504 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38505 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38506
38507 HAVE_PRIOR_FUNCS=1
38508 POSIX4_LINK=" -lposix4"
38509
38510 fi
38511
38512
38513 fi
38514
38515
38516 fi
38517
38518
38519 fi
38520
38521
38522 if test "$HAVE_PRIOR_FUNCS" = 1; then
38523 cat >>confdefs.h <<\_ACEOF
38524 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38525 _ACEOF
38526
38527 else
38528 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38529 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38530 fi
38531
38532 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38533 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38534 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38535 echo $ECHO_N "(cached) $ECHO_C" >&6
38536 else
38537 cat >conftest.$ac_ext <<_ACEOF
38538 /* confdefs.h. */
38539 _ACEOF
38540 cat confdefs.h >>conftest.$ac_ext
38541 cat >>conftest.$ac_ext <<_ACEOF
38542 /* end confdefs.h. */
38543 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38545 #define pthread_cancel innocuous_pthread_cancel
38546
38547 /* System header to define __stub macros and hopefully few prototypes,
38548 which can conflict with char pthread_cancel (); below.
38549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38550 <limits.h> exists even on freestanding compilers. */
38551
38552 #ifdef __STDC__
38553 # include <limits.h>
38554 #else
38555 # include <assert.h>
38556 #endif
38557
38558 #undef pthread_cancel
38559
38560 /* Override any GCC internal prototype to avoid an error.
38561 Use char because int might match the return type of a GCC
38562 builtin and then its argument prototype would still apply. */
38563 #ifdef __cplusplus
38564 extern "C"
38565 #endif
38566 char pthread_cancel ();
38567 /* The GNU C library defines this for functions which it implements
38568 to always fail with ENOSYS. Some functions are actually named
38569 something starting with __ and the normal name is an alias. */
38570 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38571 choke me
38572 #endif
38573
38574 int
38575 main ()
38576 {
38577 return pthread_cancel ();
38578 ;
38579 return 0;
38580 }
38581 _ACEOF
38582 rm -f conftest.$ac_objext conftest$ac_exeext
38583 if { (ac_try="$ac_link"
38584 case "(($ac_try" in
38585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38586 *) ac_try_echo=$ac_try;;
38587 esac
38588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38589 (eval "$ac_link") 2>conftest.er1
38590 ac_status=$?
38591 grep -v '^ *+' conftest.er1 >conftest.err
38592 rm -f conftest.er1
38593 cat conftest.err >&5
38594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38595 (exit $ac_status); } && {
38596 test -z "$ac_c_werror_flag" ||
38597 test ! -s conftest.err
38598 } && test -s conftest$ac_exeext &&
38599 $as_test_x conftest$ac_exeext; then
38600 ac_cv_func_pthread_cancel=yes
38601 else
38602 echo "$as_me: failed program was:" >&5
38603 sed 's/^/| /' conftest.$ac_ext >&5
38604
38605 ac_cv_func_pthread_cancel=no
38606 fi
38607
38608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38609 conftest$ac_exeext conftest.$ac_ext
38610 fi
38611 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38612 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38613 if test $ac_cv_func_pthread_cancel = yes; then
38614 cat >>confdefs.h <<\_ACEOF
38615 #define HAVE_PTHREAD_CANCEL 1
38616 _ACEOF
38617
38618 else
38619 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38620 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38621 fi
38622
38623
38624 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38625 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38626 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38627 echo $ECHO_N "(cached) $ECHO_C" >&6
38628 else
38629 cat >conftest.$ac_ext <<_ACEOF
38630 /* confdefs.h. */
38631 _ACEOF
38632 cat confdefs.h >>conftest.$ac_ext
38633 cat >>conftest.$ac_ext <<_ACEOF
38634 /* end confdefs.h. */
38635 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38637 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38638
38639 /* System header to define __stub macros and hopefully few prototypes,
38640 which can conflict with char pthread_mutex_timedlock (); below.
38641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38642 <limits.h> exists even on freestanding compilers. */
38643
38644 #ifdef __STDC__
38645 # include <limits.h>
38646 #else
38647 # include <assert.h>
38648 #endif
38649
38650 #undef pthread_mutex_timedlock
38651
38652 /* Override any GCC internal prototype to avoid an error.
38653 Use char because int might match the return type of a GCC
38654 builtin and then its argument prototype would still apply. */
38655 #ifdef __cplusplus
38656 extern "C"
38657 #endif
38658 char pthread_mutex_timedlock ();
38659 /* The GNU C library defines this for functions which it implements
38660 to always fail with ENOSYS. Some functions are actually named
38661 something starting with __ and the normal name is an alias. */
38662 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38663 choke me
38664 #endif
38665
38666 int
38667 main ()
38668 {
38669 return pthread_mutex_timedlock ();
38670 ;
38671 return 0;
38672 }
38673 _ACEOF
38674 rm -f conftest.$ac_objext conftest$ac_exeext
38675 if { (ac_try="$ac_link"
38676 case "(($ac_try" in
38677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38678 *) ac_try_echo=$ac_try;;
38679 esac
38680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38681 (eval "$ac_link") 2>conftest.er1
38682 ac_status=$?
38683 grep -v '^ *+' conftest.er1 >conftest.err
38684 rm -f conftest.er1
38685 cat conftest.err >&5
38686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38687 (exit $ac_status); } && {
38688 test -z "$ac_c_werror_flag" ||
38689 test ! -s conftest.err
38690 } && test -s conftest$ac_exeext &&
38691 $as_test_x conftest$ac_exeext; then
38692 ac_cv_func_pthread_mutex_timedlock=yes
38693 else
38694 echo "$as_me: failed program was:" >&5
38695 sed 's/^/| /' conftest.$ac_ext >&5
38696
38697 ac_cv_func_pthread_mutex_timedlock=no
38698 fi
38699
38700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38701 conftest$ac_exeext conftest.$ac_ext
38702 fi
38703 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38704 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38705 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38706 cat >>confdefs.h <<\_ACEOF
38707 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38708 _ACEOF
38709
38710 else
38711 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38712 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38713 fi
38714
38715
38716 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38717 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38718 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38719 echo $ECHO_N "(cached) $ECHO_C" >&6
38720 else
38721 cat >conftest.$ac_ext <<_ACEOF
38722 /* confdefs.h. */
38723 _ACEOF
38724 cat confdefs.h >>conftest.$ac_ext
38725 cat >>conftest.$ac_ext <<_ACEOF
38726 /* end confdefs.h. */
38727 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38729 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38730
38731 /* System header to define __stub macros and hopefully few prototypes,
38732 which can conflict with char pthread_attr_setstacksize (); below.
38733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38734 <limits.h> exists even on freestanding compilers. */
38735
38736 #ifdef __STDC__
38737 # include <limits.h>
38738 #else
38739 # include <assert.h>
38740 #endif
38741
38742 #undef pthread_attr_setstacksize
38743
38744 /* Override any GCC internal prototype to avoid an error.
38745 Use char because int might match the return type of a GCC
38746 builtin and then its argument prototype would still apply. */
38747 #ifdef __cplusplus
38748 extern "C"
38749 #endif
38750 char pthread_attr_setstacksize ();
38751 /* The GNU C library defines this for functions which it implements
38752 to always fail with ENOSYS. Some functions are actually named
38753 something starting with __ and the normal name is an alias. */
38754 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38755 choke me
38756 #endif
38757
38758 int
38759 main ()
38760 {
38761 return pthread_attr_setstacksize ();
38762 ;
38763 return 0;
38764 }
38765 _ACEOF
38766 rm -f conftest.$ac_objext conftest$ac_exeext
38767 if { (ac_try="$ac_link"
38768 case "(($ac_try" in
38769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38770 *) ac_try_echo=$ac_try;;
38771 esac
38772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38773 (eval "$ac_link") 2>conftest.er1
38774 ac_status=$?
38775 grep -v '^ *+' conftest.er1 >conftest.err
38776 rm -f conftest.er1
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } && {
38780 test -z "$ac_c_werror_flag" ||
38781 test ! -s conftest.err
38782 } && test -s conftest$ac_exeext &&
38783 $as_test_x conftest$ac_exeext; then
38784 ac_cv_func_pthread_attr_setstacksize=yes
38785 else
38786 echo "$as_me: failed program was:" >&5
38787 sed 's/^/| /' conftest.$ac_ext >&5
38788
38789 ac_cv_func_pthread_attr_setstacksize=no
38790 fi
38791
38792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38793 conftest$ac_exeext conftest.$ac_ext
38794 fi
38795 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38796 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38797 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38798 cat >>confdefs.h <<\_ACEOF
38799 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38800 _ACEOF
38801
38802 fi
38803
38804
38805
38806 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38807 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38808 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38809 echo $ECHO_N "(cached) $ECHO_C" >&6
38810 else
38811
38812 cat >conftest.$ac_ext <<_ACEOF
38813 /* confdefs.h. */
38814 _ACEOF
38815 cat confdefs.h >>conftest.$ac_ext
38816 cat >>conftest.$ac_ext <<_ACEOF
38817 /* end confdefs.h. */
38818 #include <pthread.h>
38819 int
38820 main ()
38821 {
38822
38823 pthread_mutexattr_t attr;
38824 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38825
38826 ;
38827 return 0;
38828 }
38829 _ACEOF
38830 rm -f conftest.$ac_objext
38831 if { (ac_try="$ac_compile"
38832 case "(($ac_try" in
38833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38834 *) ac_try_echo=$ac_try;;
38835 esac
38836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38837 (eval "$ac_compile") 2>conftest.er1
38838 ac_status=$?
38839 grep -v '^ *+' conftest.er1 >conftest.err
38840 rm -f conftest.er1
38841 cat conftest.err >&5
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); } && {
38844 test -z "$ac_c_werror_flag" ||
38845 test ! -s conftest.err
38846 } && test -s conftest.$ac_objext; then
38847 wx_cv_type_pthread_mutexattr_t=yes
38848 else
38849 echo "$as_me: failed program was:" >&5
38850 sed 's/^/| /' conftest.$ac_ext >&5
38851
38852 wx_cv_type_pthread_mutexattr_t=no
38853
38854 fi
38855
38856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38857
38858 fi
38859 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38860 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38861
38862 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38863 cat >>confdefs.h <<\_ACEOF
38864 #define HAVE_PTHREAD_MUTEXATTR_T 1
38865 _ACEOF
38866
38867
38868 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38869 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38870 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38871 echo $ECHO_N "(cached) $ECHO_C" >&6
38872 else
38873
38874 cat >conftest.$ac_ext <<_ACEOF
38875 /* confdefs.h. */
38876 _ACEOF
38877 cat confdefs.h >>conftest.$ac_ext
38878 cat >>conftest.$ac_ext <<_ACEOF
38879 /* end confdefs.h. */
38880 #include <pthread.h>
38881 int
38882 main ()
38883 {
38884
38885 pthread_mutexattr_t attr;
38886 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38887
38888 ;
38889 return 0;
38890 }
38891 _ACEOF
38892 rm -f conftest.$ac_objext
38893 if { (ac_try="$ac_compile"
38894 case "(($ac_try" in
38895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38896 *) ac_try_echo=$ac_try;;
38897 esac
38898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38899 (eval "$ac_compile") 2>conftest.er1
38900 ac_status=$?
38901 grep -v '^ *+' conftest.er1 >conftest.err
38902 rm -f conftest.er1
38903 cat conftest.err >&5
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); } && {
38906 test -z "$ac_c_werror_flag" ||
38907 test ! -s conftest.err
38908 } && test -s conftest.$ac_objext; then
38909 wx_cv_func_pthread_mutexattr_settype_decl=yes
38910 else
38911 echo "$as_me: failed program was:" >&5
38912 sed 's/^/| /' conftest.$ac_ext >&5
38913
38914 wx_cv_func_pthread_mutexattr_settype_decl=no
38915
38916 fi
38917
38918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38919
38920 fi
38921 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38922 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38923 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38924 cat >>confdefs.h <<\_ACEOF
38925 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38926 _ACEOF
38927
38928 fi
38929 else
38930 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38931 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38932 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38933 echo $ECHO_N "(cached) $ECHO_C" >&6
38934 else
38935
38936 cat >conftest.$ac_ext <<_ACEOF
38937 /* confdefs.h. */
38938 _ACEOF
38939 cat confdefs.h >>conftest.$ac_ext
38940 cat >>conftest.$ac_ext <<_ACEOF
38941 /* end confdefs.h. */
38942 #include <pthread.h>
38943 int
38944 main ()
38945 {
38946
38947 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38948
38949 ;
38950 return 0;
38951 }
38952 _ACEOF
38953 rm -f conftest.$ac_objext
38954 if { (ac_try="$ac_compile"
38955 case "(($ac_try" in
38956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38957 *) ac_try_echo=$ac_try;;
38958 esac
38959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38960 (eval "$ac_compile") 2>conftest.er1
38961 ac_status=$?
38962 grep -v '^ *+' conftest.er1 >conftest.err
38963 rm -f conftest.er1
38964 cat conftest.err >&5
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); } && {
38967 test -z "$ac_c_werror_flag" ||
38968 test ! -s conftest.err
38969 } && test -s conftest.$ac_objext; then
38970
38971 wx_cv_type_pthread_rec_mutex_init=yes
38972
38973 else
38974 echo "$as_me: failed program was:" >&5
38975 sed 's/^/| /' conftest.$ac_ext >&5
38976
38977
38978 wx_cv_type_pthread_rec_mutex_init=no
38979
38980
38981 fi
38982
38983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38984
38985 fi
38986 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38987 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38988 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38989 cat >>confdefs.h <<\_ACEOF
38990 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38991 _ACEOF
38992
38993 else
38994 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38995 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38996 fi
38997 fi
38998 fi
38999
39000 else
39001 if test "$wxUSE_THREADS" = "yes" ; then
39002 case "${host}" in
39003 *-*-mingw32* )
39004 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39005 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39006 if test "${wx_cv_cflags_mthread+set}" = set; then
39007 echo $ECHO_N "(cached) $ECHO_C" >&6
39008 else
39009
39010 CFLAGS_OLD="$CFLAGS"
39011 CFLAGS="-mthreads $CFLAGS"
39012 cat >conftest.$ac_ext <<_ACEOF
39013 /* confdefs.h. */
39014 _ACEOF
39015 cat confdefs.h >>conftest.$ac_ext
39016 cat >>conftest.$ac_ext <<_ACEOF
39017 /* end confdefs.h. */
39018
39019 int
39020 main ()
39021 {
39022
39023 ;
39024 return 0;
39025 }
39026 _ACEOF
39027 rm -f conftest.$ac_objext
39028 if { (ac_try="$ac_compile"
39029 case "(($ac_try" in
39030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39031 *) ac_try_echo=$ac_try;;
39032 esac
39033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39034 (eval "$ac_compile") 2>conftest.er1
39035 ac_status=$?
39036 grep -v '^ *+' conftest.er1 >conftest.err
39037 rm -f conftest.er1
39038 cat conftest.err >&5
39039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040 (exit $ac_status); } && {
39041 test -z "$ac_c_werror_flag" ||
39042 test ! -s conftest.err
39043 } && test -s conftest.$ac_objext; then
39044 wx_cv_cflags_mthread=yes
39045 else
39046 echo "$as_me: failed program was:" >&5
39047 sed 's/^/| /' conftest.$ac_ext >&5
39048
39049 wx_cv_cflags_mthread=no
39050
39051 fi
39052
39053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39054
39055
39056 fi
39057 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39058 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39059
39060 if test "$wx_cv_cflags_mthread" = "yes"; then
39061 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39062 LDFLAGS="$LDFLAGS -mthreads"
39063 else
39064 CFLAGS="$CFLAGS_OLD"
39065 fi
39066 ;;
39067 *-pc-os2*emx )
39068 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39069 LDFLAGS="$LDFLAGS -Zmt"
39070 ;;
39071 esac
39072 fi
39073 fi
39074
39075 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39076 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39077 if test "${ac_cv_func_localtime_r+set}" = set; then
39078 echo $ECHO_N "(cached) $ECHO_C" >&6
39079 else
39080 cat >conftest.$ac_ext <<_ACEOF
39081 /* confdefs.h. */
39082 _ACEOF
39083 cat confdefs.h >>conftest.$ac_ext
39084 cat >>conftest.$ac_ext <<_ACEOF
39085 /* end confdefs.h. */
39086 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39088 #define localtime_r innocuous_localtime_r
39089
39090 /* System header to define __stub macros and hopefully few prototypes,
39091 which can conflict with char localtime_r (); below.
39092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39093 <limits.h> exists even on freestanding compilers. */
39094
39095 #ifdef __STDC__
39096 # include <limits.h>
39097 #else
39098 # include <assert.h>
39099 #endif
39100
39101 #undef localtime_r
39102
39103 /* Override any GCC internal prototype to avoid an error.
39104 Use char because int might match the return type of a GCC
39105 builtin and then its argument prototype would still apply. */
39106 #ifdef __cplusplus
39107 extern "C"
39108 #endif
39109 char localtime_r ();
39110 /* The GNU C library defines this for functions which it implements
39111 to always fail with ENOSYS. Some functions are actually named
39112 something starting with __ and the normal name is an alias. */
39113 #if defined __stub_localtime_r || defined __stub___localtime_r
39114 choke me
39115 #endif
39116
39117 int
39118 main ()
39119 {
39120 return localtime_r ();
39121 ;
39122 return 0;
39123 }
39124 _ACEOF
39125 rm -f conftest.$ac_objext conftest$ac_exeext
39126 if { (ac_try="$ac_link"
39127 case "(($ac_try" in
39128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39129 *) ac_try_echo=$ac_try;;
39130 esac
39131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39132 (eval "$ac_link") 2>conftest.er1
39133 ac_status=$?
39134 grep -v '^ *+' conftest.er1 >conftest.err
39135 rm -f conftest.er1
39136 cat conftest.err >&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } && {
39139 test -z "$ac_c_werror_flag" ||
39140 test ! -s conftest.err
39141 } && test -s conftest$ac_exeext &&
39142 $as_test_x conftest$ac_exeext; then
39143 ac_cv_func_localtime_r=yes
39144 else
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39147
39148 ac_cv_func_localtime_r=no
39149 fi
39150
39151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39152 conftest$ac_exeext conftest.$ac_ext
39153 fi
39154 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39155 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39156 if test $ac_cv_func_localtime_r = yes; then
39157 cat >>confdefs.h <<\_ACEOF
39158 #define HAVE_LOCALTIME_R 1
39159 _ACEOF
39160
39161 fi
39162
39163 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39164 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39165 if test "${ac_cv_func_gmtime_r+set}" = set; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 else
39168 cat >conftest.$ac_ext <<_ACEOF
39169 /* confdefs.h. */
39170 _ACEOF
39171 cat confdefs.h >>conftest.$ac_ext
39172 cat >>conftest.$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39174 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39176 #define gmtime_r innocuous_gmtime_r
39177
39178 /* System header to define __stub macros and hopefully few prototypes,
39179 which can conflict with char gmtime_r (); below.
39180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39181 <limits.h> exists even on freestanding compilers. */
39182
39183 #ifdef __STDC__
39184 # include <limits.h>
39185 #else
39186 # include <assert.h>
39187 #endif
39188
39189 #undef gmtime_r
39190
39191 /* Override any GCC internal prototype to avoid an error.
39192 Use char because int might match the return type of a GCC
39193 builtin and then its argument prototype would still apply. */
39194 #ifdef __cplusplus
39195 extern "C"
39196 #endif
39197 char gmtime_r ();
39198 /* The GNU C library defines this for functions which it implements
39199 to always fail with ENOSYS. Some functions are actually named
39200 something starting with __ and the normal name is an alias. */
39201 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39202 choke me
39203 #endif
39204
39205 int
39206 main ()
39207 {
39208 return gmtime_r ();
39209 ;
39210 return 0;
39211 }
39212 _ACEOF
39213 rm -f conftest.$ac_objext conftest$ac_exeext
39214 if { (ac_try="$ac_link"
39215 case "(($ac_try" in
39216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39217 *) ac_try_echo=$ac_try;;
39218 esac
39219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39220 (eval "$ac_link") 2>conftest.er1
39221 ac_status=$?
39222 grep -v '^ *+' conftest.er1 >conftest.err
39223 rm -f conftest.er1
39224 cat conftest.err >&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } && {
39227 test -z "$ac_c_werror_flag" ||
39228 test ! -s conftest.err
39229 } && test -s conftest$ac_exeext &&
39230 $as_test_x conftest$ac_exeext; then
39231 ac_cv_func_gmtime_r=yes
39232 else
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39235
39236 ac_cv_func_gmtime_r=no
39237 fi
39238
39239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39240 conftest$ac_exeext conftest.$ac_ext
39241 fi
39242 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39243 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39244 if test $ac_cv_func_gmtime_r = yes; then
39245 cat >>confdefs.h <<\_ACEOF
39246 #define HAVE_GMTIME_R 1
39247 _ACEOF
39248
39249 fi
39250
39251 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39252 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39253 if test "${ac_cv_func_readdir_r+set}" = set; then
39254 echo $ECHO_N "(cached) $ECHO_C" >&6
39255 else
39256 cat >conftest.$ac_ext <<_ACEOF
39257 /* confdefs.h. */
39258 _ACEOF
39259 cat confdefs.h >>conftest.$ac_ext
39260 cat >>conftest.$ac_ext <<_ACEOF
39261 /* end confdefs.h. */
39262 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39264 #define readdir_r innocuous_readdir_r
39265
39266 /* System header to define __stub macros and hopefully few prototypes,
39267 which can conflict with char readdir_r (); below.
39268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39269 <limits.h> exists even on freestanding compilers. */
39270
39271 #ifdef __STDC__
39272 # include <limits.h>
39273 #else
39274 # include <assert.h>
39275 #endif
39276
39277 #undef readdir_r
39278
39279 /* Override any GCC internal prototype to avoid an error.
39280 Use char because int might match the return type of a GCC
39281 builtin and then its argument prototype would still apply. */
39282 #ifdef __cplusplus
39283 extern "C"
39284 #endif
39285 char readdir_r ();
39286 /* The GNU C library defines this for functions which it implements
39287 to always fail with ENOSYS. Some functions are actually named
39288 something starting with __ and the normal name is an alias. */
39289 #if defined __stub_readdir_r || defined __stub___readdir_r
39290 choke me
39291 #endif
39292
39293 int
39294 main ()
39295 {
39296 return readdir_r ();
39297 ;
39298 return 0;
39299 }
39300 _ACEOF
39301 rm -f conftest.$ac_objext conftest$ac_exeext
39302 if { (ac_try="$ac_link"
39303 case "(($ac_try" in
39304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39305 *) ac_try_echo=$ac_try;;
39306 esac
39307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39308 (eval "$ac_link") 2>conftest.er1
39309 ac_status=$?
39310 grep -v '^ *+' conftest.er1 >conftest.err
39311 rm -f conftest.er1
39312 cat conftest.err >&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } && {
39315 test -z "$ac_c_werror_flag" ||
39316 test ! -s conftest.err
39317 } && test -s conftest$ac_exeext &&
39318 $as_test_x conftest$ac_exeext; then
39319 ac_cv_func_readdir_r=yes
39320 else
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39323
39324 ac_cv_func_readdir_r=no
39325 fi
39326
39327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39328 conftest$ac_exeext conftest.$ac_ext
39329 fi
39330 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39331 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39332 if test $ac_cv_func_readdir_r = yes; then
39333 cat >>confdefs.h <<\_ACEOF
39334 #define HAVE_READDIR_R 1
39335 _ACEOF
39336
39337 fi
39338
39339
39340
39341
39342 ac_ext=c
39343 ac_cpp='$CPP $CPPFLAGS'
39344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39347
39348 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39349 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39350
39351 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39352 echo $ECHO_N "(cached) $ECHO_C" >&6
39353 else
39354
39355
39356
39357 ac_cv_func_which_gethostbyname_r=unknown
39358
39359 #
39360 # ONE ARGUMENT (sanity check)
39361 #
39362
39363 # This should fail, as there is no variant of gethostbyname_r() that takes
39364 # a single argument. If it actually compiles, then we can assume that
39365 # netdb.h is not declaring the function, and the compiler is thereby
39366 # assuming an implicit prototype. In which case, we're out of luck.
39367 #
39368 cat >conftest.$ac_ext <<_ACEOF
39369 /* confdefs.h. */
39370 _ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39374 #include <netdb.h>
39375 int
39376 main ()
39377 {
39378
39379 char *name = "www.gnu.org";
39380 (void)gethostbyname_r(name) /* ; */
39381
39382 ;
39383 return 0;
39384 }
39385 _ACEOF
39386 rm -f conftest.$ac_objext
39387 if { (ac_try="$ac_compile"
39388 case "(($ac_try" in
39389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39391 esac
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_compile") 2>conftest.er1
39394 ac_status=$?
39395 grep -v '^ *+' conftest.er1 >conftest.err
39396 rm -f conftest.er1
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest.$ac_objext; then
39403 ac_cv_func_which_gethostbyname_r=no
39404 else
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39407
39408
39409 fi
39410
39411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39412
39413 #
39414 # SIX ARGUMENTS
39415 # (e.g. Linux)
39416 #
39417
39418 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39419
39420 cat >conftest.$ac_ext <<_ACEOF
39421 /* confdefs.h. */
39422 _ACEOF
39423 cat confdefs.h >>conftest.$ac_ext
39424 cat >>conftest.$ac_ext <<_ACEOF
39425 /* end confdefs.h. */
39426 #include <netdb.h>
39427 int
39428 main ()
39429 {
39430
39431 char *name = "www.gnu.org";
39432 struct hostent ret, *retp;
39433 char buf[1024];
39434 int buflen = 1024;
39435 int my_h_errno;
39436 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39437
39438 ;
39439 return 0;
39440 }
39441 _ACEOF
39442 rm -f conftest.$ac_objext
39443 if { (ac_try="$ac_compile"
39444 case "(($ac_try" in
39445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39446 *) ac_try_echo=$ac_try;;
39447 esac
39448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39449 (eval "$ac_compile") 2>conftest.er1
39450 ac_status=$?
39451 grep -v '^ *+' conftest.er1 >conftest.err
39452 rm -f conftest.er1
39453 cat conftest.err >&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } && {
39456 test -z "$ac_c_werror_flag" ||
39457 test ! -s conftest.err
39458 } && test -s conftest.$ac_objext; then
39459 ac_cv_func_which_gethostbyname_r=six
39460 else
39461 echo "$as_me: failed program was:" >&5
39462 sed 's/^/| /' conftest.$ac_ext >&5
39463
39464
39465 fi
39466
39467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39468
39469 fi
39470
39471 #
39472 # FIVE ARGUMENTS
39473 # (e.g. Solaris)
39474 #
39475
39476 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39477
39478 cat >conftest.$ac_ext <<_ACEOF
39479 /* confdefs.h. */
39480 _ACEOF
39481 cat confdefs.h >>conftest.$ac_ext
39482 cat >>conftest.$ac_ext <<_ACEOF
39483 /* end confdefs.h. */
39484 #include <netdb.h>
39485 int
39486 main ()
39487 {
39488
39489 char *name = "www.gnu.org";
39490 struct hostent ret;
39491 char buf[1024];
39492 int buflen = 1024;
39493 int my_h_errno;
39494 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39495
39496 ;
39497 return 0;
39498 }
39499 _ACEOF
39500 rm -f conftest.$ac_objext
39501 if { (ac_try="$ac_compile"
39502 case "(($ac_try" in
39503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39504 *) ac_try_echo=$ac_try;;
39505 esac
39506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39507 (eval "$ac_compile") 2>conftest.er1
39508 ac_status=$?
39509 grep -v '^ *+' conftest.er1 >conftest.err
39510 rm -f conftest.er1
39511 cat conftest.err >&5
39512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39513 (exit $ac_status); } && {
39514 test -z "$ac_c_werror_flag" ||
39515 test ! -s conftest.err
39516 } && test -s conftest.$ac_objext; then
39517 ac_cv_func_which_gethostbyname_r=five
39518 else
39519 echo "$as_me: failed program was:" >&5
39520 sed 's/^/| /' conftest.$ac_ext >&5
39521
39522
39523 fi
39524
39525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39526
39527 fi
39528
39529 #
39530 # THREE ARGUMENTS
39531 # (e.g. AIX, HP-UX, Tru64)
39532 #
39533
39534 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39535
39536 cat >conftest.$ac_ext <<_ACEOF
39537 /* confdefs.h. */
39538 _ACEOF
39539 cat confdefs.h >>conftest.$ac_ext
39540 cat >>conftest.$ac_ext <<_ACEOF
39541 /* end confdefs.h. */
39542 #include <netdb.h>
39543 int
39544 main ()
39545 {
39546
39547 char *name = "www.gnu.org";
39548 struct hostent ret;
39549 struct hostent_data data;
39550 (void)gethostbyname_r(name, &ret, &data) /* ; */
39551
39552 ;
39553 return 0;
39554 }
39555 _ACEOF
39556 rm -f conftest.$ac_objext
39557 if { (ac_try="$ac_compile"
39558 case "(($ac_try" in
39559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39560 *) ac_try_echo=$ac_try;;
39561 esac
39562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39563 (eval "$ac_compile") 2>conftest.er1
39564 ac_status=$?
39565 grep -v '^ *+' conftest.er1 >conftest.err
39566 rm -f conftest.er1
39567 cat conftest.err >&5
39568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39569 (exit $ac_status); } && {
39570 test -z "$ac_c_werror_flag" ||
39571 test ! -s conftest.err
39572 } && test -s conftest.$ac_objext; then
39573 ac_cv_func_which_gethostbyname_r=three
39574 else
39575 echo "$as_me: failed program was:" >&5
39576 sed 's/^/| /' conftest.$ac_ext >&5
39577
39578
39579 fi
39580
39581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39582
39583 fi
39584
39585
39586
39587 fi
39588
39589 case "$ac_cv_func_which_gethostbyname_r" in
39590 three)
39591 { echo "$as_me:$LINENO: result: three" >&5
39592 echo "${ECHO_T}three" >&6; }
39593 cat >>confdefs.h <<\_ACEOF
39594 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39595 _ACEOF
39596
39597 ;;
39598
39599 five)
39600 { echo "$as_me:$LINENO: result: five" >&5
39601 echo "${ECHO_T}five" >&6; }
39602 cat >>confdefs.h <<\_ACEOF
39603 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39604 _ACEOF
39605
39606 ;;
39607
39608 six)
39609 { echo "$as_me:$LINENO: result: six" >&5
39610 echo "${ECHO_T}six" >&6; }
39611 cat >>confdefs.h <<\_ACEOF
39612 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39613 _ACEOF
39614
39615 ;;
39616
39617 no)
39618 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39619 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39620 ;;
39621
39622 unknown)
39623 { echo "$as_me:$LINENO: result: can't tell" >&5
39624 echo "${ECHO_T}can't tell" >&6; }
39625 ;;
39626
39627 *)
39628 { { echo "$as_me:$LINENO: error: internal error" >&5
39629 echo "$as_me: error: internal error" >&2;}
39630 { (exit 1); exit 1; }; }
39631 ;;
39632 esac
39633
39634 ac_ext=c
39635 ac_cpp='$CPP $CPPFLAGS'
39636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39639
39640
39641
39642 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39643 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39644 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39645 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39646 if test "${ac_cv_func_gethostbyname+set}" = set; then
39647 echo $ECHO_N "(cached) $ECHO_C" >&6
39648 else
39649 cat >conftest.$ac_ext <<_ACEOF
39650 /* confdefs.h. */
39651 _ACEOF
39652 cat confdefs.h >>conftest.$ac_ext
39653 cat >>conftest.$ac_ext <<_ACEOF
39654 /* end confdefs.h. */
39655 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39657 #define gethostbyname innocuous_gethostbyname
39658
39659 /* System header to define __stub macros and hopefully few prototypes,
39660 which can conflict with char gethostbyname (); below.
39661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39662 <limits.h> exists even on freestanding compilers. */
39663
39664 #ifdef __STDC__
39665 # include <limits.h>
39666 #else
39667 # include <assert.h>
39668 #endif
39669
39670 #undef gethostbyname
39671
39672 /* Override any GCC internal prototype to avoid an error.
39673 Use char because int might match the return type of a GCC
39674 builtin and then its argument prototype would still apply. */
39675 #ifdef __cplusplus
39676 extern "C"
39677 #endif
39678 char gethostbyname ();
39679 /* The GNU C library defines this for functions which it implements
39680 to always fail with ENOSYS. Some functions are actually named
39681 something starting with __ and the normal name is an alias. */
39682 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39683 choke me
39684 #endif
39685
39686 int
39687 main ()
39688 {
39689 return gethostbyname ();
39690 ;
39691 return 0;
39692 }
39693 _ACEOF
39694 rm -f conftest.$ac_objext conftest$ac_exeext
39695 if { (ac_try="$ac_link"
39696 case "(($ac_try" in
39697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39698 *) ac_try_echo=$ac_try;;
39699 esac
39700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39701 (eval "$ac_link") 2>conftest.er1
39702 ac_status=$?
39703 grep -v '^ *+' conftest.er1 >conftest.err
39704 rm -f conftest.er1
39705 cat conftest.err >&5
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); } && {
39708 test -z "$ac_c_werror_flag" ||
39709 test ! -s conftest.err
39710 } && test -s conftest$ac_exeext &&
39711 $as_test_x conftest$ac_exeext; then
39712 ac_cv_func_gethostbyname=yes
39713 else
39714 echo "$as_me: failed program was:" >&5
39715 sed 's/^/| /' conftest.$ac_ext >&5
39716
39717 ac_cv_func_gethostbyname=no
39718 fi
39719
39720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39721 conftest$ac_exeext conftest.$ac_ext
39722 fi
39723 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39724 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39725 if test $ac_cv_func_gethostbyname = yes; then
39726 cat >>confdefs.h <<\_ACEOF
39727 #define HAVE_GETHOSTBYNAME 1
39728 _ACEOF
39729
39730 fi
39731
39732 fi
39733 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39734 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39735 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39736 echo $ECHO_N "(cached) $ECHO_C" >&6
39737 else
39738
39739 { echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39740 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
39741 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39742 echo $ECHO_N "(cached) $ECHO_C" >&6
39743 else
39744 cat >conftest.$ac_ext <<_ACEOF
39745 /* confdefs.h. */
39746 _ACEOF
39747 cat confdefs.h >>conftest.$ac_ext
39748 cat >>conftest.$ac_ext <<_ACEOF
39749 /* end confdefs.h. */
39750 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39752 #define getservbyname_r innocuous_getservbyname_r
39753
39754 /* System header to define __stub macros and hopefully few prototypes,
39755 which can conflict with char getservbyname_r (); below.
39756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39757 <limits.h> exists even on freestanding compilers. */
39758
39759 #ifdef __STDC__
39760 # include <limits.h>
39761 #else
39762 # include <assert.h>
39763 #endif
39764
39765 #undef getservbyname_r
39766
39767 /* Override any GCC internal prototype to avoid an error.
39768 Use char because int might match the return type of a GCC
39769 builtin and then its argument prototype would still apply. */
39770 #ifdef __cplusplus
39771 extern "C"
39772 #endif
39773 char getservbyname_r ();
39774 /* The GNU C library defines this for functions which it implements
39775 to always fail with ENOSYS. Some functions are actually named
39776 something starting with __ and the normal name is an alias. */
39777 #if defined __stub_getservbyname_r || defined __stub___getservbyname_r
39778 choke me
39779 #endif
39780
39781 int
39782 main ()
39783 {
39784 return getservbyname_r ();
39785 ;
39786 return 0;
39787 }
39788 _ACEOF
39789 rm -f conftest.$ac_objext conftest$ac_exeext
39790 if { (ac_try="$ac_link"
39791 case "(($ac_try" in
39792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39793 *) ac_try_echo=$ac_try;;
39794 esac
39795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39796 (eval "$ac_link") 2>conftest.er1
39797 ac_status=$?
39798 grep -v '^ *+' conftest.er1 >conftest.err
39799 rm -f conftest.er1
39800 cat conftest.err >&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } && {
39803 test -z "$ac_c_werror_flag" ||
39804 test ! -s conftest.err
39805 } && test -s conftest$ac_exeext &&
39806 $as_test_x conftest$ac_exeext; then
39807 ac_cv_func_getservbyname_r=yes
39808 else
39809 echo "$as_me: failed program was:" >&5
39810 sed 's/^/| /' conftest.$ac_ext >&5
39811
39812 ac_cv_func_getservbyname_r=no
39813 fi
39814
39815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39816 conftest$ac_exeext conftest.$ac_ext
39817 fi
39818 { echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39819 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6; }
39820 if test $ac_cv_func_getservbyname_r = yes; then
39821
39822 cat >conftest.$ac_ext <<_ACEOF
39823 /* confdefs.h. */
39824 _ACEOF
39825 cat confdefs.h >>conftest.$ac_ext
39826 cat >>conftest.$ac_ext <<_ACEOF
39827 /* end confdefs.h. */
39828
39829 # include <netdb.h>
39830
39831 int
39832 main ()
39833 {
39834
39835
39836 char *name;
39837 char *proto;
39838 struct servent *se;
39839 struct servent_data data;
39840 (void) getservbyname_r(name, proto, se, &data);
39841
39842
39843 ;
39844 return 0;
39845 }
39846 _ACEOF
39847 rm -f conftest.$ac_objext
39848 if { (ac_try="$ac_compile"
39849 case "(($ac_try" in
39850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39851 *) ac_try_echo=$ac_try;;
39852 esac
39853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39854 (eval "$ac_compile") 2>conftest.er1
39855 ac_status=$?
39856 grep -v '^ *+' conftest.er1 >conftest.err
39857 rm -f conftest.er1
39858 cat conftest.err >&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); } && {
39861 test -z "$ac_c_werror_flag" ||
39862 test ! -s conftest.err
39863 } && test -s conftest.$ac_objext; then
39864 ac_cv_func_which_getservbyname_r=four
39865 else
39866 echo "$as_me: failed program was:" >&5
39867 sed 's/^/| /' conftest.$ac_ext >&5
39868
39869
39870 cat >conftest.$ac_ext <<_ACEOF
39871 /* confdefs.h. */
39872 _ACEOF
39873 cat confdefs.h >>conftest.$ac_ext
39874 cat >>conftest.$ac_ext <<_ACEOF
39875 /* end confdefs.h. */
39876
39877 # include <netdb.h>
39878
39879 int
39880 main ()
39881 {
39882
39883 char *name;
39884 char *proto;
39885 struct servent *se, *res;
39886 char buffer[2048];
39887 int buflen = 2048;
39888 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39889
39890 ;
39891 return 0;
39892 }
39893 _ACEOF
39894 rm -f conftest.$ac_objext
39895 if { (ac_try="$ac_compile"
39896 case "(($ac_try" in
39897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39898 *) ac_try_echo=$ac_try;;
39899 esac
39900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39901 (eval "$ac_compile") 2>conftest.er1
39902 ac_status=$?
39903 grep -v '^ *+' conftest.er1 >conftest.err
39904 rm -f conftest.er1
39905 cat conftest.err >&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); } && {
39908 test -z "$ac_c_werror_flag" ||
39909 test ! -s conftest.err
39910 } && test -s conftest.$ac_objext; then
39911 ac_cv_func_which_getservbyname_r=six
39912 else
39913 echo "$as_me: failed program was:" >&5
39914 sed 's/^/| /' conftest.$ac_ext >&5
39915
39916
39917 cat >conftest.$ac_ext <<_ACEOF
39918 /* confdefs.h. */
39919 _ACEOF
39920 cat confdefs.h >>conftest.$ac_ext
39921 cat >>conftest.$ac_ext <<_ACEOF
39922 /* end confdefs.h. */
39923
39924 # include <netdb.h>
39925
39926 int
39927 main ()
39928 {
39929
39930 char *name;
39931 char *proto;
39932 struct servent *se;
39933 char buffer[2048];
39934 int buflen = 2048;
39935 (void) getservbyname_r(name, proto, se, buffer, buflen)
39936
39937 ;
39938 return 0;
39939 }
39940 _ACEOF
39941 rm -f conftest.$ac_objext
39942 if { (ac_try="$ac_compile"
39943 case "(($ac_try" in
39944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39945 *) ac_try_echo=$ac_try;;
39946 esac
39947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39948 (eval "$ac_compile") 2>conftest.er1
39949 ac_status=$?
39950 grep -v '^ *+' conftest.er1 >conftest.err
39951 rm -f conftest.er1
39952 cat conftest.err >&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); } && {
39955 test -z "$ac_c_werror_flag" ||
39956 test ! -s conftest.err
39957 } && test -s conftest.$ac_objext; then
39958 ac_cv_func_which_getservbyname_r=five
39959 else
39960 echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.$ac_ext >&5
39962
39963 ac_cv_func_which_getservbyname_r=no
39964 fi
39965
39966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39967
39968
39969
39970
39971 fi
39972
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974
39975
39976 fi
39977
39978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39979
39980 else
39981 ac_cv_func_which_getservbyname_r=no
39982 fi
39983
39984 fi
39985 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39986 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39987
39988 if test $ac_cv_func_which_getservbyname_r = six; then
39989 cat >>confdefs.h <<\_ACEOF
39990 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39991 _ACEOF
39992
39993 elif test $ac_cv_func_which_getservbyname_r = five; then
39994 cat >>confdefs.h <<\_ACEOF
39995 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39996 _ACEOF
39997
39998 elif test $ac_cv_func_which_getservbyname_r = four; then
39999 cat >>confdefs.h <<\_ACEOF
40000 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40001 _ACEOF
40002
40003
40004 fi
40005
40006
40007 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40008 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40009
40010 for ac_func in getservbyname
40011 do
40012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40015 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 else
40018 cat >conftest.$ac_ext <<_ACEOF
40019 /* confdefs.h. */
40020 _ACEOF
40021 cat confdefs.h >>conftest.$ac_ext
40022 cat >>conftest.$ac_ext <<_ACEOF
40023 /* end confdefs.h. */
40024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40026 #define $ac_func innocuous_$ac_func
40027
40028 /* System header to define __stub macros and hopefully few prototypes,
40029 which can conflict with char $ac_func (); below.
40030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40031 <limits.h> exists even on freestanding compilers. */
40032
40033 #ifdef __STDC__
40034 # include <limits.h>
40035 #else
40036 # include <assert.h>
40037 #endif
40038
40039 #undef $ac_func
40040
40041 /* Override any GCC internal prototype to avoid an error.
40042 Use char because int might match the return type of a GCC
40043 builtin and then its argument prototype would still apply. */
40044 #ifdef __cplusplus
40045 extern "C"
40046 #endif
40047 char $ac_func ();
40048 /* The GNU C library defines this for functions which it implements
40049 to always fail with ENOSYS. Some functions are actually named
40050 something starting with __ and the normal name is an alias. */
40051 #if defined __stub_$ac_func || defined __stub___$ac_func
40052 choke me
40053 #endif
40054
40055 int
40056 main ()
40057 {
40058 return $ac_func ();
40059 ;
40060 return 0;
40061 }
40062 _ACEOF
40063 rm -f conftest.$ac_objext conftest$ac_exeext
40064 if { (ac_try="$ac_link"
40065 case "(($ac_try" in
40066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40067 *) ac_try_echo=$ac_try;;
40068 esac
40069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40070 (eval "$ac_link") 2>conftest.er1
40071 ac_status=$?
40072 grep -v '^ *+' conftest.er1 >conftest.err
40073 rm -f conftest.er1
40074 cat conftest.err >&5
40075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40076 (exit $ac_status); } && {
40077 test -z "$ac_c_werror_flag" ||
40078 test ! -s conftest.err
40079 } && test -s conftest$ac_exeext &&
40080 $as_test_x conftest$ac_exeext; then
40081 eval "$as_ac_var=yes"
40082 else
40083 echo "$as_me: failed program was:" >&5
40084 sed 's/^/| /' conftest.$ac_ext >&5
40085
40086 eval "$as_ac_var=no"
40087 fi
40088
40089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40090 conftest$ac_exeext conftest.$ac_ext
40091 fi
40092 ac_res=`eval echo '${'$as_ac_var'}'`
40093 { echo "$as_me:$LINENO: result: $ac_res" >&5
40094 echo "${ECHO_T}$ac_res" >&6; }
40095 if test `eval echo '${'$as_ac_var'}'` = yes; then
40096 cat >>confdefs.h <<_ACEOF
40097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40098 _ACEOF
40099 cat >>confdefs.h <<\_ACEOF
40100 #define HAVE_GETSERVBYNAME 1
40101 _ACEOF
40102
40103 fi
40104 done
40105
40106 fi
40107
40108 if test "$wxUSE_THREADS" = "yes"; then
40109 cat >>confdefs.h <<\_ACEOF
40110 #define wxUSE_THREADS 1
40111 _ACEOF
40112
40113
40114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40115 else
40116 if test "$wx_cv_func_strtok_r" = "yes"; then
40117 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40118 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40119 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40120 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40121 { echo "$as_me:$LINENO: result: yes" >&5
40122 echo "${ECHO_T}yes" >&6; }
40123 else
40124 { echo "$as_me:$LINENO: result: no" >&5
40125 echo "${ECHO_T}no" >&6; }
40126 fi
40127 fi
40128 fi
40129
40130 if test "$WXGTK20" = 1 ; then
40131 cat >>confdefs.h <<_ACEOF
40132 #define __WXGTK20__ $WXGTK20
40133 _ACEOF
40134
40135 WXGTK12=1
40136 fi
40137
40138 if test "$WXGTK12" = 1 ; then
40139 cat >>confdefs.h <<_ACEOF
40140 #define __WXGTK12__ $WXGTK12
40141 _ACEOF
40142
40143 fi
40144
40145 if test "$WXGTK127" = 1 ; then
40146 cat >>confdefs.h <<_ACEOF
40147 #define __WXGTK127__ $WXGTK127
40148 _ACEOF
40149
40150 fi
40151
40152 if test "$WXGPE" = 1 ; then
40153 cat >>confdefs.h <<_ACEOF
40154 #define __WXGPE__ $WXGPE
40155 _ACEOF
40156
40157 fi
40158
40159 DEBUG_CFLAGS=
40160 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40161 DEBUG_CFLAGS="-g"
40162 wxUSE_OPTIMISE=no
40163 fi
40164
40165 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40166 wxUSE_DEBUG_INFO=yes
40167 if test "$GCC" = yes; then
40168 DEBUG_CFLAGS="-ggdb"
40169 fi
40170 fi
40171
40172 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40173 cat >>confdefs.h <<\_ACEOF
40174 #define WXDEBUG 1
40175 _ACEOF
40176
40177 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40178 else
40179 if test "$wxUSE_GTK" = 1 ; then
40180 if test "x$wxGTK_VERSION" = "x1" ; then
40181 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40182 fi
40183 fi
40184 fi
40185
40186 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40187 cat >>confdefs.h <<\_ACEOF
40188 #define wxUSE_MEMORY_TRACING 1
40189 _ACEOF
40190
40191 cat >>confdefs.h <<\_ACEOF
40192 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40193 _ACEOF
40194
40195 cat >>confdefs.h <<\_ACEOF
40196 #define wxUSE_DEBUG_NEW_ALWAYS 1
40197 _ACEOF
40198
40199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40200 fi
40201
40202 if test "$wxUSE_DMALLOC" = "yes" ; then
40203 DMALLOC_LIBS="-ldmallocthcxx"
40204 fi
40205
40206 PROFILE_FLAGS=
40207 if test "$wxUSE_PROFILE" = "yes" ; then
40208 PROFILE_FLAGS=" -pg"
40209 fi
40210
40211 if test "$GCC" = "yes" ; then
40212 if test "$wxUSE_NO_RTTI" = "yes" ; then
40213 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40214 fi
40215 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40216 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40217 fi
40218 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40219 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40220 fi
40221
40222 case "${host}" in
40223 powerpc*-*-aix* )
40224 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40225 ;;
40226 *-hppa* )
40227 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40228 ;;
40229 esac
40230 fi
40231
40232 OPTIMISE_CFLAGS=
40233 if test "$wxUSE_OPTIMISE" = "no" ; then
40234 if test "$GCC" = yes ; then
40235 OPTIMISE_CFLAGS="-O0"
40236 fi
40237 else
40238 if test "$GCC" = yes ; then
40239 case "${host}" in
40240 *-pc-os2_emx | *-pc-os2-emx )
40241 OPTIMISE_CFLAGS="-O2"
40242 ;;
40243 *)
40244 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40245 ;;
40246 esac
40247 else
40248 OPTIMISE_CFLAGS="-O"
40249 fi
40250 fi
40251
40252
40253 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40254 cat >>confdefs.h <<\_ACEOF
40255 #define WXWIN_COMPATIBILITY_2_6 1
40256 _ACEOF
40257
40258
40259 WXWIN_COMPATIBILITY_2_8="yes"
40260 fi
40261
40262 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40263 cat >>confdefs.h <<\_ACEOF
40264 #define WXWIN_COMPATIBILITY_2_8 1
40265 _ACEOF
40266
40267 fi
40268
40269
40270 if test "$wxUSE_GUI" = "yes"; then
40271 cat >>confdefs.h <<\_ACEOF
40272 #define wxUSE_GUI 1
40273 _ACEOF
40274
40275
40276 fi
40277
40278
40279 if test "$wxUSE_UNIX" = "yes"; then
40280 cat >>confdefs.h <<\_ACEOF
40281 #define wxUSE_UNIX 1
40282 _ACEOF
40283
40284 fi
40285
40286
40287 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40288
40289 HAVE_DL_FUNCS=0
40290 HAVE_SHL_FUNCS=0
40291 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40292 if test "$USE_DARWIN" = 1; then
40293 HAVE_DL_FUNCS=1
40294 elif test "$USE_DOS" = 1; then
40295 HAVE_DL_FUNCS=0
40296 else
40297
40298 for ac_func in dlopen
40299 do
40300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40303 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40304 echo $ECHO_N "(cached) $ECHO_C" >&6
40305 else
40306 cat >conftest.$ac_ext <<_ACEOF
40307 /* confdefs.h. */
40308 _ACEOF
40309 cat confdefs.h >>conftest.$ac_ext
40310 cat >>conftest.$ac_ext <<_ACEOF
40311 /* end confdefs.h. */
40312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40314 #define $ac_func innocuous_$ac_func
40315
40316 /* System header to define __stub macros and hopefully few prototypes,
40317 which can conflict with char $ac_func (); below.
40318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40319 <limits.h> exists even on freestanding compilers. */
40320
40321 #ifdef __STDC__
40322 # include <limits.h>
40323 #else
40324 # include <assert.h>
40325 #endif
40326
40327 #undef $ac_func
40328
40329 /* Override any GCC internal prototype to avoid an error.
40330 Use char because int might match the return type of a GCC
40331 builtin and then its argument prototype would still apply. */
40332 #ifdef __cplusplus
40333 extern "C"
40334 #endif
40335 char $ac_func ();
40336 /* The GNU C library defines this for functions which it implements
40337 to always fail with ENOSYS. Some functions are actually named
40338 something starting with __ and the normal name is an alias. */
40339 #if defined __stub_$ac_func || defined __stub___$ac_func
40340 choke me
40341 #endif
40342
40343 int
40344 main ()
40345 {
40346 return $ac_func ();
40347 ;
40348 return 0;
40349 }
40350 _ACEOF
40351 rm -f conftest.$ac_objext conftest$ac_exeext
40352 if { (ac_try="$ac_link"
40353 case "(($ac_try" in
40354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40355 *) ac_try_echo=$ac_try;;
40356 esac
40357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40358 (eval "$ac_link") 2>conftest.er1
40359 ac_status=$?
40360 grep -v '^ *+' conftest.er1 >conftest.err
40361 rm -f conftest.er1
40362 cat conftest.err >&5
40363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40364 (exit $ac_status); } && {
40365 test -z "$ac_c_werror_flag" ||
40366 test ! -s conftest.err
40367 } && test -s conftest$ac_exeext &&
40368 $as_test_x conftest$ac_exeext; then
40369 eval "$as_ac_var=yes"
40370 else
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.$ac_ext >&5
40373
40374 eval "$as_ac_var=no"
40375 fi
40376
40377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40378 conftest$ac_exeext conftest.$ac_ext
40379 fi
40380 ac_res=`eval echo '${'$as_ac_var'}'`
40381 { echo "$as_me:$LINENO: result: $ac_res" >&5
40382 echo "${ECHO_T}$ac_res" >&6; }
40383 if test `eval echo '${'$as_ac_var'}'` = yes; then
40384 cat >>confdefs.h <<_ACEOF
40385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40386 _ACEOF
40387
40388 cat >>confdefs.h <<\_ACEOF
40389 #define HAVE_DLOPEN 1
40390 _ACEOF
40391
40392 HAVE_DL_FUNCS=1
40393
40394 else
40395
40396 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40397 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40398 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40399 echo $ECHO_N "(cached) $ECHO_C" >&6
40400 else
40401 ac_check_lib_save_LIBS=$LIBS
40402 LIBS="-ldl $LIBS"
40403 cat >conftest.$ac_ext <<_ACEOF
40404 /* confdefs.h. */
40405 _ACEOF
40406 cat confdefs.h >>conftest.$ac_ext
40407 cat >>conftest.$ac_ext <<_ACEOF
40408 /* end confdefs.h. */
40409
40410 /* Override any GCC internal prototype to avoid an error.
40411 Use char because int might match the return type of a GCC
40412 builtin and then its argument prototype would still apply. */
40413 #ifdef __cplusplus
40414 extern "C"
40415 #endif
40416 char dlopen ();
40417 int
40418 main ()
40419 {
40420 return dlopen ();
40421 ;
40422 return 0;
40423 }
40424 _ACEOF
40425 rm -f conftest.$ac_objext conftest$ac_exeext
40426 if { (ac_try="$ac_link"
40427 case "(($ac_try" in
40428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40429 *) ac_try_echo=$ac_try;;
40430 esac
40431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40432 (eval "$ac_link") 2>conftest.er1
40433 ac_status=$?
40434 grep -v '^ *+' conftest.er1 >conftest.err
40435 rm -f conftest.er1
40436 cat conftest.err >&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); } && {
40439 test -z "$ac_c_werror_flag" ||
40440 test ! -s conftest.err
40441 } && test -s conftest$ac_exeext &&
40442 $as_test_x conftest$ac_exeext; then
40443 ac_cv_lib_dl_dlopen=yes
40444 else
40445 echo "$as_me: failed program was:" >&5
40446 sed 's/^/| /' conftest.$ac_ext >&5
40447
40448 ac_cv_lib_dl_dlopen=no
40449 fi
40450
40451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40452 conftest$ac_exeext conftest.$ac_ext
40453 LIBS=$ac_check_lib_save_LIBS
40454 fi
40455 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40456 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40457 if test $ac_cv_lib_dl_dlopen = yes; then
40458
40459 cat >>confdefs.h <<\_ACEOF
40460 #define HAVE_DLOPEN 1
40461 _ACEOF
40462
40463 HAVE_DL_FUNCS=1
40464 DL_LINK=" -ldl$DL_LINK"
40465
40466 else
40467
40468
40469 for ac_func in shl_load
40470 do
40471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40475 echo $ECHO_N "(cached) $ECHO_C" >&6
40476 else
40477 cat >conftest.$ac_ext <<_ACEOF
40478 /* confdefs.h. */
40479 _ACEOF
40480 cat confdefs.h >>conftest.$ac_ext
40481 cat >>conftest.$ac_ext <<_ACEOF
40482 /* end confdefs.h. */
40483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40485 #define $ac_func innocuous_$ac_func
40486
40487 /* System header to define __stub macros and hopefully few prototypes,
40488 which can conflict with char $ac_func (); below.
40489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40490 <limits.h> exists even on freestanding compilers. */
40491
40492 #ifdef __STDC__
40493 # include <limits.h>
40494 #else
40495 # include <assert.h>
40496 #endif
40497
40498 #undef $ac_func
40499
40500 /* Override any GCC internal prototype to avoid an error.
40501 Use char because int might match the return type of a GCC
40502 builtin and then its argument prototype would still apply. */
40503 #ifdef __cplusplus
40504 extern "C"
40505 #endif
40506 char $ac_func ();
40507 /* The GNU C library defines this for functions which it implements
40508 to always fail with ENOSYS. Some functions are actually named
40509 something starting with __ and the normal name is an alias. */
40510 #if defined __stub_$ac_func || defined __stub___$ac_func
40511 choke me
40512 #endif
40513
40514 int
40515 main ()
40516 {
40517 return $ac_func ();
40518 ;
40519 return 0;
40520 }
40521 _ACEOF
40522 rm -f conftest.$ac_objext conftest$ac_exeext
40523 if { (ac_try="$ac_link"
40524 case "(($ac_try" in
40525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40526 *) ac_try_echo=$ac_try;;
40527 esac
40528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40529 (eval "$ac_link") 2>conftest.er1
40530 ac_status=$?
40531 grep -v '^ *+' conftest.er1 >conftest.err
40532 rm -f conftest.er1
40533 cat conftest.err >&5
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); } && {
40536 test -z "$ac_c_werror_flag" ||
40537 test ! -s conftest.err
40538 } && test -s conftest$ac_exeext &&
40539 $as_test_x conftest$ac_exeext; then
40540 eval "$as_ac_var=yes"
40541 else
40542 echo "$as_me: failed program was:" >&5
40543 sed 's/^/| /' conftest.$ac_ext >&5
40544
40545 eval "$as_ac_var=no"
40546 fi
40547
40548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40549 conftest$ac_exeext conftest.$ac_ext
40550 fi
40551 ac_res=`eval echo '${'$as_ac_var'}'`
40552 { echo "$as_me:$LINENO: result: $ac_res" >&5
40553 echo "${ECHO_T}$ac_res" >&6; }
40554 if test `eval echo '${'$as_ac_var'}'` = yes; then
40555 cat >>confdefs.h <<_ACEOF
40556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40557 _ACEOF
40558
40559 cat >>confdefs.h <<\_ACEOF
40560 #define HAVE_SHL_LOAD 1
40561 _ACEOF
40562
40563 HAVE_SHL_FUNCS=1
40564
40565 else
40566
40567 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40568 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40569 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40570 echo $ECHO_N "(cached) $ECHO_C" >&6
40571 else
40572 ac_check_lib_save_LIBS=$LIBS
40573 LIBS="-lshl_load $LIBS"
40574 cat >conftest.$ac_ext <<_ACEOF
40575 /* confdefs.h. */
40576 _ACEOF
40577 cat confdefs.h >>conftest.$ac_ext
40578 cat >>conftest.$ac_ext <<_ACEOF
40579 /* end confdefs.h. */
40580
40581 /* Override any GCC internal prototype to avoid an error.
40582 Use char because int might match the return type of a GCC
40583 builtin and then its argument prototype would still apply. */
40584 #ifdef __cplusplus
40585 extern "C"
40586 #endif
40587 char dld ();
40588 int
40589 main ()
40590 {
40591 return dld ();
40592 ;
40593 return 0;
40594 }
40595 _ACEOF
40596 rm -f conftest.$ac_objext conftest$ac_exeext
40597 if { (ac_try="$ac_link"
40598 case "(($ac_try" in
40599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40600 *) ac_try_echo=$ac_try;;
40601 esac
40602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40603 (eval "$ac_link") 2>conftest.er1
40604 ac_status=$?
40605 grep -v '^ *+' conftest.er1 >conftest.err
40606 rm -f conftest.er1
40607 cat conftest.err >&5
40608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40609 (exit $ac_status); } && {
40610 test -z "$ac_c_werror_flag" ||
40611 test ! -s conftest.err
40612 } && test -s conftest$ac_exeext &&
40613 $as_test_x conftest$ac_exeext; then
40614 ac_cv_lib_shl_load_dld=yes
40615 else
40616 echo "$as_me: failed program was:" >&5
40617 sed 's/^/| /' conftest.$ac_ext >&5
40618
40619 ac_cv_lib_shl_load_dld=no
40620 fi
40621
40622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40623 conftest$ac_exeext conftest.$ac_ext
40624 LIBS=$ac_check_lib_save_LIBS
40625 fi
40626 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40627 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40628 if test $ac_cv_lib_shl_load_dld = yes; then
40629
40630 HAVE_SHL_FUNCS=1
40631 DL_LINK=" -ldld$DL_LINK"
40632
40633 fi
40634
40635
40636 fi
40637 done
40638
40639
40640 fi
40641
40642
40643 fi
40644 done
40645
40646
40647 if test "$HAVE_DL_FUNCS" = 1; then
40648
40649 for ac_func in dlerror
40650 do
40651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40655 echo $ECHO_N "(cached) $ECHO_C" >&6
40656 else
40657 cat >conftest.$ac_ext <<_ACEOF
40658 /* confdefs.h. */
40659 _ACEOF
40660 cat confdefs.h >>conftest.$ac_ext
40661 cat >>conftest.$ac_ext <<_ACEOF
40662 /* end confdefs.h. */
40663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40665 #define $ac_func innocuous_$ac_func
40666
40667 /* System header to define __stub macros and hopefully few prototypes,
40668 which can conflict with char $ac_func (); below.
40669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40670 <limits.h> exists even on freestanding compilers. */
40671
40672 #ifdef __STDC__
40673 # include <limits.h>
40674 #else
40675 # include <assert.h>
40676 #endif
40677
40678 #undef $ac_func
40679
40680 /* Override any GCC internal prototype to avoid an error.
40681 Use char because int might match the return type of a GCC
40682 builtin and then its argument prototype would still apply. */
40683 #ifdef __cplusplus
40684 extern "C"
40685 #endif
40686 char $ac_func ();
40687 /* The GNU C library defines this for functions which it implements
40688 to always fail with ENOSYS. Some functions are actually named
40689 something starting with __ and the normal name is an alias. */
40690 #if defined __stub_$ac_func || defined __stub___$ac_func
40691 choke me
40692 #endif
40693
40694 int
40695 main ()
40696 {
40697 return $ac_func ();
40698 ;
40699 return 0;
40700 }
40701 _ACEOF
40702 rm -f conftest.$ac_objext conftest$ac_exeext
40703 if { (ac_try="$ac_link"
40704 case "(($ac_try" in
40705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40706 *) ac_try_echo=$ac_try;;
40707 esac
40708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40709 (eval "$ac_link") 2>conftest.er1
40710 ac_status=$?
40711 grep -v '^ *+' conftest.er1 >conftest.err
40712 rm -f conftest.er1
40713 cat conftest.err >&5
40714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40715 (exit $ac_status); } && {
40716 test -z "$ac_c_werror_flag" ||
40717 test ! -s conftest.err
40718 } && test -s conftest$ac_exeext &&
40719 $as_test_x conftest$ac_exeext; then
40720 eval "$as_ac_var=yes"
40721 else
40722 echo "$as_me: failed program was:" >&5
40723 sed 's/^/| /' conftest.$ac_ext >&5
40724
40725 eval "$as_ac_var=no"
40726 fi
40727
40728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40729 conftest$ac_exeext conftest.$ac_ext
40730 fi
40731 ac_res=`eval echo '${'$as_ac_var'}'`
40732 { echo "$as_me:$LINENO: result: $ac_res" >&5
40733 echo "${ECHO_T}$ac_res" >&6; }
40734 if test `eval echo '${'$as_ac_var'}'` = yes; then
40735 cat >>confdefs.h <<_ACEOF
40736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40737 _ACEOF
40738 cat >>confdefs.h <<\_ACEOF
40739 #define HAVE_DLERROR 1
40740 _ACEOF
40741
40742 else
40743
40744 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40745 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40746 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40747 echo $ECHO_N "(cached) $ECHO_C" >&6
40748 else
40749 ac_check_lib_save_LIBS=$LIBS
40750 LIBS="-ldl $LIBS"
40751 cat >conftest.$ac_ext <<_ACEOF
40752 /* confdefs.h. */
40753 _ACEOF
40754 cat confdefs.h >>conftest.$ac_ext
40755 cat >>conftest.$ac_ext <<_ACEOF
40756 /* end confdefs.h. */
40757
40758 /* Override any GCC internal prototype to avoid an error.
40759 Use char because int might match the return type of a GCC
40760 builtin and then its argument prototype would still apply. */
40761 #ifdef __cplusplus
40762 extern "C"
40763 #endif
40764 char dlerror ();
40765 int
40766 main ()
40767 {
40768 return dlerror ();
40769 ;
40770 return 0;
40771 }
40772 _ACEOF
40773 rm -f conftest.$ac_objext conftest$ac_exeext
40774 if { (ac_try="$ac_link"
40775 case "(($ac_try" in
40776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40777 *) ac_try_echo=$ac_try;;
40778 esac
40779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40780 (eval "$ac_link") 2>conftest.er1
40781 ac_status=$?
40782 grep -v '^ *+' conftest.er1 >conftest.err
40783 rm -f conftest.er1
40784 cat conftest.err >&5
40785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40786 (exit $ac_status); } && {
40787 test -z "$ac_c_werror_flag" ||
40788 test ! -s conftest.err
40789 } && test -s conftest$ac_exeext &&
40790 $as_test_x conftest$ac_exeext; then
40791 ac_cv_lib_dl_dlerror=yes
40792 else
40793 echo "$as_me: failed program was:" >&5
40794 sed 's/^/| /' conftest.$ac_ext >&5
40795
40796 ac_cv_lib_dl_dlerror=no
40797 fi
40798
40799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40800 conftest$ac_exeext conftest.$ac_ext
40801 LIBS=$ac_check_lib_save_LIBS
40802 fi
40803 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40804 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40805 if test $ac_cv_lib_dl_dlerror = yes; then
40806 cat >>confdefs.h <<\_ACEOF
40807 #define HAVE_DLERROR 1
40808 _ACEOF
40809
40810 fi
40811
40812
40813
40814 fi
40815 done
40816
40817 fi
40818 fi
40819
40820 if test "$HAVE_DL_FUNCS" = 0; then
40821 if test "$HAVE_SHL_FUNCS" = 0; then
40822 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40823 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40824 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40825 wxUSE_DYNAMIC_LOADER=no
40826 wxUSE_DYNLIB_CLASS=no
40827 else
40828 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40829 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40830 fi
40831 fi
40832 fi
40833 fi
40834 fi
40835
40836 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40837 cat >>confdefs.h <<\_ACEOF
40838 #define wxUSE_DYNAMIC_LOADER 1
40839 _ACEOF
40840
40841 fi
40842 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40843 cat >>confdefs.h <<\_ACEOF
40844 #define wxUSE_DYNLIB_CLASS 1
40845 _ACEOF
40846
40847 fi
40848
40849
40850
40851 if test "$wxUSE_PLUGINS" = "yes" ; then
40852 if test "$wxUSE_SHARED" = "no" ; then
40853 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40854 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40855 wxUSE_PLUGINS=no
40856 fi
40857 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40858 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40859 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40860 wxUSE_PLUGINS=no
40861 fi
40862 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40863 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40864 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40865 wxUSE_PLUGINS=no
40866 fi
40867 if test "$wxUSE_PLUGINS" = "yes" ; then
40868 cat >>confdefs.h <<\_ACEOF
40869 #define wxUSE_PLUGINS 1
40870 _ACEOF
40871
40872 fi
40873 fi
40874
40875
40876 if test "$wxUSE_STL" = "yes"; then
40877 cat >>confdefs.h <<\_ACEOF
40878 #define wxUSE_STL 1
40879 _ACEOF
40880
40881 fi
40882
40883 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40884 cat >>confdefs.h <<\_ACEOF
40885 #define wxUSE_EXTENDED_RTTI 1
40886 _ACEOF
40887
40888 fi
40889
40890 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40891 cat >>confdefs.h <<\_ACEOF
40892 #define wxUSE_APPLE_IEEE 1
40893 _ACEOF
40894
40895 fi
40896
40897 if test "$wxUSE_TIMER" = "yes"; then
40898 cat >>confdefs.h <<\_ACEOF
40899 #define wxUSE_TIMER 1
40900 _ACEOF
40901
40902 fi
40903
40904 if test "$USE_UNIX" = "1" ; then
40905 if test "$wxUSE_MGL" != 1; then
40906 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40907 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40908 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40909 echo $ECHO_N "(cached) $ECHO_C" >&6
40910 else
40911
40912 cat >conftest.$ac_ext <<_ACEOF
40913 /* confdefs.h. */
40914 _ACEOF
40915 cat confdefs.h >>conftest.$ac_ext
40916 cat >>conftest.$ac_ext <<_ACEOF
40917 /* end confdefs.h. */
40918
40919 #include <sys/ioctl.h>
40920 #include <sys/soundcard.h>
40921
40922 int
40923 main ()
40924 {
40925
40926 ioctl(0, SNDCTL_DSP_SPEED, 0);
40927
40928 ;
40929 return 0;
40930 }
40931 _ACEOF
40932 rm -f conftest.$ac_objext conftest$ac_exeext
40933 if { (ac_try="$ac_link"
40934 case "(($ac_try" in
40935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40936 *) ac_try_echo=$ac_try;;
40937 esac
40938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40939 (eval "$ac_link") 2>conftest.er1
40940 ac_status=$?
40941 grep -v '^ *+' conftest.er1 >conftest.err
40942 rm -f conftest.er1
40943 cat conftest.err >&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); } && {
40946 test -z "$ac_c_werror_flag" ||
40947 test ! -s conftest.err
40948 } && test -s conftest$ac_exeext &&
40949 $as_test_x conftest$ac_exeext; then
40950 ac_cv_header_sys_soundcard=yes
40951 else
40952 echo "$as_me: failed program was:" >&5
40953 sed 's/^/| /' conftest.$ac_ext >&5
40954
40955
40956 saveLibs="$LIBS"
40957 LIBS="$saveLibs -lossaudio"
40958 cat >conftest.$ac_ext <<_ACEOF
40959 /* confdefs.h. */
40960 _ACEOF
40961 cat confdefs.h >>conftest.$ac_ext
40962 cat >>conftest.$ac_ext <<_ACEOF
40963 /* end confdefs.h. */
40964
40965 #include <sys/ioctl.h>
40966 #include <sys/soundcard.h>
40967
40968 int
40969 main ()
40970 {
40971
40972 ioctl(0, SNDCTL_DSP_SPEED, 0);
40973
40974 ;
40975 return 0;
40976 }
40977 _ACEOF
40978 rm -f conftest.$ac_objext conftest$ac_exeext
40979 if { (ac_try="$ac_link"
40980 case "(($ac_try" in
40981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40982 *) ac_try_echo=$ac_try;;
40983 esac
40984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40985 (eval "$ac_link") 2>conftest.er1
40986 ac_status=$?
40987 grep -v '^ *+' conftest.er1 >conftest.err
40988 rm -f conftest.er1
40989 cat conftest.err >&5
40990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40991 (exit $ac_status); } && {
40992 test -z "$ac_c_werror_flag" ||
40993 test ! -s conftest.err
40994 } && test -s conftest$ac_exeext &&
40995 $as_test_x conftest$ac_exeext; then
40996 ac_cv_header_sys_soundcard=yes
40997 else
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.$ac_ext >&5
41000
41001
41002 LIBS="$saveLibs"
41003 ac_cv_header_sys_soundcard=no
41004
41005
41006 fi
41007
41008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41009 conftest$ac_exeext conftest.$ac_ext
41010
41011
41012 fi
41013
41014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41015 conftest$ac_exeext conftest.$ac_ext
41016
41017 fi
41018 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41019 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41020 fi
41021
41022 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41023 cat >>confdefs.h <<\_ACEOF
41024 #define HAVE_SYS_SOUNDCARD_H 1
41025 _ACEOF
41026
41027 fi
41028 fi
41029
41030 WITH_PLUGIN_SDL=0
41031 if test "$wxUSE_SOUND" = "yes"; then
41032 if test "$USE_UNIX" = "1" ; then
41033 if test "$wxUSE_LIBSDL" != "no"; then
41034
41035 # Check whether --with-sdl-prefix was given.
41036 if test "${with_sdl_prefix+set}" = set; then
41037 withval=$with_sdl_prefix; sdl_prefix="$withval"
41038 else
41039 sdl_prefix=""
41040 fi
41041
41042
41043 # Check whether --with-sdl-exec-prefix was given.
41044 if test "${with_sdl_exec_prefix+set}" = set; then
41045 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41046 else
41047 sdl_exec_prefix=""
41048 fi
41049
41050 # Check whether --enable-sdltest was given.
41051 if test "${enable_sdltest+set}" = set; then
41052 enableval=$enable_sdltest;
41053 else
41054 enable_sdltest=yes
41055 fi
41056
41057
41058 if test x$sdl_exec_prefix != x ; then
41059 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41060 if test x${SDL_CONFIG+set} != xset ; then
41061 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41062 fi
41063 fi
41064 if test x$sdl_prefix != x ; then
41065 sdl_args="$sdl_args --prefix=$sdl_prefix"
41066 if test x${SDL_CONFIG+set} != xset ; then
41067 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41068 fi
41069 fi
41070
41071 if test "x$prefix" != xNONE; then
41072 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41073 fi
41074 # Extract the first word of "sdl-config", so it can be a program name with args.
41075 set dummy sdl-config; ac_word=$2
41076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41078 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41079 echo $ECHO_N "(cached) $ECHO_C" >&6
41080 else
41081 case $SDL_CONFIG in
41082 [\\/]* | ?:[\\/]*)
41083 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41084 ;;
41085 *)
41086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41087 for as_dir in $PATH
41088 do
41089 IFS=$as_save_IFS
41090 test -z "$as_dir" && as_dir=.
41091 for ac_exec_ext in '' $ac_executable_extensions; do
41092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41093 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41095 break 2
41096 fi
41097 done
41098 done
41099 IFS=$as_save_IFS
41100
41101 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41102 ;;
41103 esac
41104 fi
41105 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41106 if test -n "$SDL_CONFIG"; then
41107 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41108 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41109 else
41110 { echo "$as_me:$LINENO: result: no" >&5
41111 echo "${ECHO_T}no" >&6; }
41112 fi
41113
41114
41115 min_sdl_version=1.2.0
41116 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41117 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41118 no_sdl=""
41119 if test "$SDL_CONFIG" = "no" ; then
41120 no_sdl=yes
41121 else
41122 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41123 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41124
41125 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41127 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41129 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41131 if test "x$enable_sdltest" = "xyes" ; then
41132 ac_save_CFLAGS="$CFLAGS"
41133 ac_save_CXXFLAGS="$CXXFLAGS"
41134 ac_save_LIBS="$LIBS"
41135 CFLAGS="$CFLAGS $SDL_CFLAGS"
41136 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41137 LIBS="$LIBS $SDL_LIBS"
41138 rm -f conf.sdltest
41139 if test "$cross_compiling" = yes; then
41140 echo $ac_n "cross compiling; assumed OK... $ac_c"
41141 else
41142 cat >conftest.$ac_ext <<_ACEOF
41143 /* confdefs.h. */
41144 _ACEOF
41145 cat confdefs.h >>conftest.$ac_ext
41146 cat >>conftest.$ac_ext <<_ACEOF
41147 /* end confdefs.h. */
41148
41149 #include <stdio.h>
41150 #include <stdlib.h>
41151 #include <string.h>
41152 #include "SDL.h"
41153
41154 char*
41155 my_strdup (char *str)
41156 {
41157 char *new_str;
41158
41159 if (str)
41160 {
41161 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41162 strcpy (new_str, str);
41163 }
41164 else
41165 new_str = NULL;
41166
41167 return new_str;
41168 }
41169
41170 int main (int argc, char *argv[])
41171 {
41172 int major, minor, micro;
41173 char *tmp_version;
41174
41175 /* This hangs on some systems (?)
41176 system ("touch conf.sdltest");
41177 */
41178 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41179
41180 /* HP/UX 9 (%@#!) writes to sscanf strings */
41181 tmp_version = my_strdup("$min_sdl_version");
41182 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41183 printf("%s, bad version string\n", "$min_sdl_version");
41184 exit(1);
41185 }
41186
41187 if (($sdl_major_version > major) ||
41188 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41189 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41190 {
41191 return 0;
41192 }
41193 else
41194 {
41195 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41196 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41197 printf("*** best to upgrade to the required version.\n");
41198 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41199 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41200 printf("*** config.cache before re-running configure\n");
41201 return 1;
41202 }
41203 }
41204
41205
41206 _ACEOF
41207 rm -f conftest$ac_exeext
41208 if { (ac_try="$ac_link"
41209 case "(($ac_try" in
41210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41211 *) ac_try_echo=$ac_try;;
41212 esac
41213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41214 (eval "$ac_link") 2>&5
41215 ac_status=$?
41216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41218 { (case "(($ac_try" in
41219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41220 *) ac_try_echo=$ac_try;;
41221 esac
41222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41223 (eval "$ac_try") 2>&5
41224 ac_status=$?
41225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41226 (exit $ac_status); }; }; then
41227 :
41228 else
41229 echo "$as_me: program exited with status $ac_status" >&5
41230 echo "$as_me: failed program was:" >&5
41231 sed 's/^/| /' conftest.$ac_ext >&5
41232
41233 ( exit $ac_status )
41234 no_sdl=yes
41235 fi
41236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41237 fi
41238
41239
41240 CFLAGS="$ac_save_CFLAGS"
41241 CXXFLAGS="$ac_save_CXXFLAGS"
41242 LIBS="$ac_save_LIBS"
41243 fi
41244 fi
41245 if test "x$no_sdl" = x ; then
41246 { echo "$as_me:$LINENO: result: yes" >&5
41247 echo "${ECHO_T}yes" >&6; }
41248
41249 EXTRALIBS_SDL="$SDL_LIBS"
41250 CFLAGS="$SDL_CFLAGS $CFLAGS"
41251 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41252 cat >>confdefs.h <<\_ACEOF
41253 #define wxUSE_LIBSDL 1
41254 _ACEOF
41255
41256
41257 else
41258 { echo "$as_me:$LINENO: result: no" >&5
41259 echo "${ECHO_T}no" >&6; }
41260 if test "$SDL_CONFIG" = "no" ; then
41261 echo "*** The sdl-config script installed by SDL could not be found"
41262 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41263 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41264 echo "*** full path to sdl-config."
41265 else
41266 if test -f conf.sdltest ; then
41267 :
41268 else
41269 echo "*** Could not run SDL test program, checking why..."
41270 CFLAGS="$CFLAGS $SDL_CFLAGS"
41271 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41272 LIBS="$LIBS $SDL_LIBS"
41273 cat >conftest.$ac_ext <<_ACEOF
41274 /* confdefs.h. */
41275 _ACEOF
41276 cat confdefs.h >>conftest.$ac_ext
41277 cat >>conftest.$ac_ext <<_ACEOF
41278 /* end confdefs.h. */
41279
41280 #include <stdio.h>
41281 #include "SDL.h"
41282
41283 int main(int argc, char *argv[])
41284 { return 0; }
41285 #undef main
41286 #define main K_and_R_C_main
41287
41288 int
41289 main ()
41290 {
41291 return 0;
41292 ;
41293 return 0;
41294 }
41295 _ACEOF
41296 rm -f conftest.$ac_objext conftest$ac_exeext
41297 if { (ac_try="$ac_link"
41298 case "(($ac_try" in
41299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41300 *) ac_try_echo=$ac_try;;
41301 esac
41302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41303 (eval "$ac_link") 2>conftest.er1
41304 ac_status=$?
41305 grep -v '^ *+' conftest.er1 >conftest.err
41306 rm -f conftest.er1
41307 cat conftest.err >&5
41308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41309 (exit $ac_status); } && {
41310 test -z "$ac_c_werror_flag" ||
41311 test ! -s conftest.err
41312 } && test -s conftest$ac_exeext &&
41313 $as_test_x conftest$ac_exeext; then
41314 echo "*** The test program compiled, but did not run. This usually means"
41315 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41316 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41317 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41318 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41319 echo "*** is required on your system"
41320 echo "***"
41321 echo "*** If you have an old version installed, it is best to remove it, although"
41322 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41323 else
41324 echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.$ac_ext >&5
41326
41327 echo "*** The test program failed to compile or link. See the file config.log for the"
41328 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41329 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41330 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41331 fi
41332
41333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41334 conftest$ac_exeext conftest.$ac_ext
41335 CFLAGS="$ac_save_CFLAGS"
41336 CXXFLAGS="$ac_save_CXXFLAGS"
41337 LIBS="$ac_save_LIBS"
41338 fi
41339 fi
41340 SDL_CFLAGS=""
41341 SDL_LIBS=""
41342 wxUSE_LIBSDL="no"
41343 fi
41344
41345
41346 rm -f conf.sdltest
41347
41348 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41349 WITH_PLUGIN_SDL=1
41350 fi
41351 fi
41352 else
41353 if test "$wxUSE_MGL" = 1; then
41354 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41355 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41356 wxUSE_SOUND="no"
41357 fi
41358 fi
41359 fi
41360
41361 if test "$wxUSE_SOUND" = "yes"; then
41362 cat >>confdefs.h <<\_ACEOF
41363 #define wxUSE_SOUND 1
41364 _ACEOF
41365
41366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41367 fi
41368
41369 if test "$WXGTK20" = 1; then
41370
41371
41372 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41373 if test -n "$ac_tool_prefix"; then
41374 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41375 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41378 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41379 echo $ECHO_N "(cached) $ECHO_C" >&6
41380 else
41381 case $PKG_CONFIG in
41382 [\\/]* | ?:[\\/]*)
41383 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41384 ;;
41385 *)
41386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41387 for as_dir in $PATH
41388 do
41389 IFS=$as_save_IFS
41390 test -z "$as_dir" && as_dir=.
41391 for ac_exec_ext in '' $ac_executable_extensions; do
41392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41393 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41395 break 2
41396 fi
41397 done
41398 done
41399 IFS=$as_save_IFS
41400
41401 ;;
41402 esac
41403 fi
41404 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41405 if test -n "$PKG_CONFIG"; then
41406 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41407 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41408 else
41409 { echo "$as_me:$LINENO: result: no" >&5
41410 echo "${ECHO_T}no" >&6; }
41411 fi
41412
41413
41414 fi
41415 if test -z "$ac_cv_path_PKG_CONFIG"; then
41416 ac_pt_PKG_CONFIG=$PKG_CONFIG
41417 # Extract the first word of "pkg-config", so it can be a program name with args.
41418 set dummy pkg-config; ac_word=$2
41419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41421 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41422 echo $ECHO_N "(cached) $ECHO_C" >&6
41423 else
41424 case $ac_pt_PKG_CONFIG in
41425 [\\/]* | ?:[\\/]*)
41426 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41427 ;;
41428 *)
41429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41430 for as_dir in $PATH
41431 do
41432 IFS=$as_save_IFS
41433 test -z "$as_dir" && as_dir=.
41434 for ac_exec_ext in '' $ac_executable_extensions; do
41435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41436 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41438 break 2
41439 fi
41440 done
41441 done
41442 IFS=$as_save_IFS
41443
41444 ;;
41445 esac
41446 fi
41447 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41448 if test -n "$ac_pt_PKG_CONFIG"; then
41449 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41450 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41451 else
41452 { echo "$as_me:$LINENO: result: no" >&5
41453 echo "${ECHO_T}no" >&6; }
41454 fi
41455
41456 if test "x$ac_pt_PKG_CONFIG" = x; then
41457 PKG_CONFIG=""
41458 else
41459 case $cross_compiling:$ac_tool_warned in
41460 yes:)
41461 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41462 whose name does not start with the host triplet. If you think this
41463 configuration is useful to you, please write to autoconf@gnu.org." >&5
41464 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41465 whose name does not start with the host triplet. If you think this
41466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41467 ac_tool_warned=yes ;;
41468 esac
41469 PKG_CONFIG=$ac_pt_PKG_CONFIG
41470 fi
41471 else
41472 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41473 fi
41474
41475 fi
41476 if test -n "$PKG_CONFIG"; then
41477 _pkg_min_version=0.9.0
41478 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41479 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41480 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41481 { echo "$as_me:$LINENO: result: yes" >&5
41482 echo "${ECHO_T}yes" >&6; }
41483 else
41484 { echo "$as_me:$LINENO: result: no" >&5
41485 echo "${ECHO_T}no" >&6; }
41486 PKG_CONFIG=""
41487 fi
41488
41489 fi
41490
41491 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41492 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41493
41494
41495 pkg_failed=no
41496 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41497 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41498
41499 if test -n "$PKG_CONFIG"; then
41500 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41501 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41502 else
41503 if test -n "$PKG_CONFIG" && \
41504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41505 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41506 ac_status=$?
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; then
41509 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41510 else
41511 pkg_failed=yes
41512 fi
41513 fi
41514 else
41515 pkg_failed=untried
41516 fi
41517 if test -n "$PKG_CONFIG"; then
41518 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41519 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41520 else
41521 if test -n "$PKG_CONFIG" && \
41522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41523 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41524 ac_status=$?
41525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41526 (exit $ac_status); }; then
41527 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41528 else
41529 pkg_failed=yes
41530 fi
41531 fi
41532 else
41533 pkg_failed=untried
41534 fi
41535
41536
41537
41538 if test $pkg_failed = yes; then
41539
41540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41541 _pkg_short_errors_supported=yes
41542 else
41543 _pkg_short_errors_supported=no
41544 fi
41545 if test $_pkg_short_errors_supported = yes; then
41546 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41547 else
41548 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41549 fi
41550 # Put the nasty error message in config.log where it belongs
41551 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41552
41553
41554 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41555 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41556 wxUSE_LIBGNOMEPRINT="no"
41557
41558
41559 elif test $pkg_failed = untried; then
41560
41561 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41562 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41563 wxUSE_LIBGNOMEPRINT="no"
41564
41565
41566 else
41567 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41568 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41569 { echo "$as_me:$LINENO: result: yes" >&5
41570 echo "${ECHO_T}yes" >&6; }
41571
41572 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41573 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41574 cat >>confdefs.h <<\_ACEOF
41575 #define wxUSE_LIBGNOMEPRINT 1
41576 _ACEOF
41577
41578
41579 fi
41580 fi
41581 fi
41582
41583 if test "$wxUSE_MIMETYPE" = "yes" ; then
41584 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41585
41586
41587 pkg_failed=no
41588 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41589 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41590
41591 if test -n "$PKG_CONFIG"; then
41592 if test -n "$GNOMEVFS_CFLAGS"; then
41593 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41594 else
41595 if test -n "$PKG_CONFIG" && \
41596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41597 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41598 ac_status=$?
41599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41600 (exit $ac_status); }; then
41601 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41602 else
41603 pkg_failed=yes
41604 fi
41605 fi
41606 else
41607 pkg_failed=untried
41608 fi
41609 if test -n "$PKG_CONFIG"; then
41610 if test -n "$GNOMEVFS_LIBS"; then
41611 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41612 else
41613 if test -n "$PKG_CONFIG" && \
41614 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41615 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41616 ac_status=$?
41617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41618 (exit $ac_status); }; then
41619 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41620 else
41621 pkg_failed=yes
41622 fi
41623 fi
41624 else
41625 pkg_failed=untried
41626 fi
41627
41628
41629
41630 if test $pkg_failed = yes; then
41631
41632 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41633 _pkg_short_errors_supported=yes
41634 else
41635 _pkg_short_errors_supported=no
41636 fi
41637 if test $_pkg_short_errors_supported = yes; then
41638 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41639 else
41640 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41641 fi
41642 # Put the nasty error message in config.log where it belongs
41643 echo "$GNOMEVFS_PKG_ERRORS" >&5
41644
41645
41646 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41647 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41648 wxUSE_LIBGNOMEVFS="no"
41649
41650
41651 elif test $pkg_failed = untried; then
41652
41653 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41654 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41655 wxUSE_LIBGNOMEVFS="no"
41656
41657
41658 else
41659 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41660 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41661 { echo "$as_me:$LINENO: result: yes" >&5
41662 echo "${ECHO_T}yes" >&6; }
41663
41664 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41665 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41666 cat >>confdefs.h <<\_ACEOF
41667 #define wxUSE_LIBGNOMEVFS 1
41668 _ACEOF
41669
41670
41671 fi
41672 fi
41673 fi
41674
41675 if test "$wxUSE_LIBHILDON" = "yes" ; then
41676
41677 pkg_failed=no
41678 { echo "$as_me:$LINENO: checking for HILDON" >&5
41679 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41680
41681 if test -n "$PKG_CONFIG"; then
41682 if test -n "$HILDON_CFLAGS"; then
41683 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41684 else
41685 if test -n "$PKG_CONFIG" && \
41686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41687 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41688 ac_status=$?
41689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41690 (exit $ac_status); }; then
41691 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41692 else
41693 pkg_failed=yes
41694 fi
41695 fi
41696 else
41697 pkg_failed=untried
41698 fi
41699 if test -n "$PKG_CONFIG"; then
41700 if test -n "$HILDON_LIBS"; then
41701 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41702 else
41703 if test -n "$PKG_CONFIG" && \
41704 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41705 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41706 ac_status=$?
41707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41708 (exit $ac_status); }; then
41709 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41710 else
41711 pkg_failed=yes
41712 fi
41713 fi
41714 else
41715 pkg_failed=untried
41716 fi
41717
41718
41719
41720 if test $pkg_failed = yes; then
41721
41722 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41723 _pkg_short_errors_supported=yes
41724 else
41725 _pkg_short_errors_supported=no
41726 fi
41727 if test $_pkg_short_errors_supported = yes; then
41728 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41729 else
41730 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41731 fi
41732 # Put the nasty error message in config.log where it belongs
41733 echo "$HILDON_PKG_ERRORS" >&5
41734
41735
41736 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41737 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41738 wxUSE_LIBHILDON="no"
41739
41740
41741 elif test $pkg_failed = untried; then
41742
41743 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41744 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41745 wxUSE_LIBHILDON="no"
41746
41747
41748 else
41749 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41750 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41751 { echo "$as_me:$LINENO: result: yes" >&5
41752 echo "${ECHO_T}yes" >&6; }
41753
41754 EXTRALIBS_HILDON="$HILDON_LIBS"
41755 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41756 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41757 cat >>confdefs.h <<\_ACEOF
41758 #define wxUSE_LIBHILDON 1
41759 _ACEOF
41760
41761
41762 fi
41763 fi
41764 fi
41765
41766 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41767 cat >>confdefs.h <<\_ACEOF
41768 #define wxUSE_CMDLINE_PARSER 1
41769 _ACEOF
41770
41771 fi
41772
41773 if test "$wxUSE_STOPWATCH" = "yes"; then
41774 cat >>confdefs.h <<\_ACEOF
41775 #define wxUSE_STOPWATCH 1
41776 _ACEOF
41777
41778 fi
41779
41780 if test "$wxUSE_DATETIME" = "yes"; then
41781 cat >>confdefs.h <<\_ACEOF
41782 #define wxUSE_DATETIME 1
41783 _ACEOF
41784
41785 fi
41786
41787 if test "$wxUSE_FILE" = "yes"; then
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_FILE 1
41790 _ACEOF
41791
41792 fi
41793
41794 if test "$wxUSE_FFILE" = "yes"; then
41795 cat >>confdefs.h <<\_ACEOF
41796 #define wxUSE_FFILE 1
41797 _ACEOF
41798
41799 fi
41800
41801 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41802 if test "$wxUSE_STREAMS" != yes; then
41803 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41804 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41805 wxUSE_ARCHIVE_STREAMS=no
41806 else
41807 cat >>confdefs.h <<\_ACEOF
41808 #define wxUSE_ARCHIVE_STREAMS 1
41809 _ACEOF
41810
41811 fi
41812 fi
41813
41814 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41815 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41816 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41817 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41818 elif test "$wxUSE_ZLIB" = "no"; then
41819 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41820 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41821 else
41822 cat >>confdefs.h <<\_ACEOF
41823 #define wxUSE_ZIPSTREAM 1
41824 _ACEOF
41825
41826 fi
41827 fi
41828
41829 if test "$wxUSE_TARSTREAM" = "yes"; then
41830 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41831 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41832 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41833 else
41834 cat >>confdefs.h <<\_ACEOF
41835 #define wxUSE_TARSTREAM 1
41836 _ACEOF
41837
41838 fi
41839 fi
41840
41841 if test "$wxUSE_FILESYSTEM" = "yes"; then
41842 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41843 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41844 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41845 wxUSE_FILESYSTEM=no
41846 else
41847 cat >>confdefs.h <<\_ACEOF
41848 #define wxUSE_FILESYSTEM 1
41849 _ACEOF
41850
41851 fi
41852 fi
41853
41854 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41855 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41856 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41857 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41858 else
41859 cat >>confdefs.h <<\_ACEOF
41860 #define wxUSE_FS_ARCHIVE 1
41861 _ACEOF
41862
41863 fi
41864 fi
41865
41866 if test "$wxUSE_FS_ZIP" = "yes"; then
41867 if test "$wxUSE_FS_ARCHIVE" != yes; then
41868 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41869 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41870 else
41871 cat >>confdefs.h <<\_ACEOF
41872 #define wxUSE_FS_ZIP 1
41873 _ACEOF
41874
41875 fi
41876 fi
41877
41878 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41879 if test "$USE_UNIX" != 1; then
41880 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41881 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41882 wxUSE_ON_FATAL_EXCEPTION=no
41883 else
41884 cat >>confdefs.h <<\_ACEOF
41885 #define wxUSE_ON_FATAL_EXCEPTION 1
41886 _ACEOF
41887
41888 fi
41889 fi
41890
41891 if test "$wxUSE_STACKWALKER" = "yes"; then
41892 cat >>confdefs.h <<\_ACEOF
41893 #define wxUSE_STACKWALKER 1
41894 _ACEOF
41895
41896 fi
41897
41898 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41899 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41900 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41901 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41902 wxUSE_DEBUGREPORT=no
41903 else
41904 cat >>confdefs.h <<\_ACEOF
41905 #define wxUSE_DEBUGREPORT 1
41906 _ACEOF
41907
41908 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41910 fi
41911 fi
41912 fi
41913
41914 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41915 cat >>confdefs.h <<\_ACEOF
41916 #define wxUSE_SNGLINST_CHECKER 1
41917 _ACEOF
41918
41919 fi
41920
41921 if test "$wxUSE_BUSYINFO" = "yes"; then
41922 cat >>confdefs.h <<\_ACEOF
41923 #define wxUSE_BUSYINFO 1
41924 _ACEOF
41925
41926 fi
41927
41928 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41929 cat >>confdefs.h <<\_ACEOF
41930 #define wxUSE_STD_IOSTREAM 1
41931 _ACEOF
41932
41933 fi
41934
41935 if test "$wxUSE_STD_STRING" = "yes"; then
41936 cat >>confdefs.h <<\_ACEOF
41937 #define wxUSE_STD_STRING 1
41938 _ACEOF
41939
41940 fi
41941
41942 if test "$wxUSE_STDPATHS" = "yes"; then
41943 cat >>confdefs.h <<\_ACEOF
41944 #define wxUSE_STDPATHS 1
41945 _ACEOF
41946
41947 fi
41948
41949 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41950 cat >>confdefs.h <<\_ACEOF
41951 #define wxUSE_TEXTBUFFER 1
41952 _ACEOF
41953
41954 fi
41955
41956 if test "$wxUSE_TEXTFILE" = "yes"; then
41957 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41958 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41959 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41960 else
41961 cat >>confdefs.h <<\_ACEOF
41962 #define wxUSE_TEXTFILE 1
41963 _ACEOF
41964
41965 fi
41966 fi
41967
41968 if test "$wxUSE_CONFIG" = "yes" ; then
41969 if test "$wxUSE_TEXTFILE" != "yes"; then
41970 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41971 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41972 else
41973 cat >>confdefs.h <<\_ACEOF
41974 #define wxUSE_CONFIG 1
41975 _ACEOF
41976
41977 cat >>confdefs.h <<\_ACEOF
41978 #define wxUSE_CONFIG_NATIVE 1
41979 _ACEOF
41980
41981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41982 fi
41983 fi
41984
41985 if test "$wxUSE_INTL" = "yes" ; then
41986 if test "$wxUSE_FILE" != "yes"; then
41987 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41988 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41989 else
41990 cat >>confdefs.h <<\_ACEOF
41991 #define wxUSE_INTL 1
41992 _ACEOF
41993
41994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41995 GUIDIST="$GUIDIST INTL_DIST"
41996 fi
41997 fi
41998
41999 if test "$wxUSE_LOG" = "yes"; then
42000 cat >>confdefs.h <<\_ACEOF
42001 #define wxUSE_LOG 1
42002 _ACEOF
42003
42004
42005 if test "$wxUSE_LOGGUI" = "yes"; then
42006 cat >>confdefs.h <<\_ACEOF
42007 #define wxUSE_LOGGUI 1
42008 _ACEOF
42009
42010 fi
42011
42012 if test "$wxUSE_LOGWINDOW" = "yes"; then
42013 cat >>confdefs.h <<\_ACEOF
42014 #define wxUSE_LOGWINDOW 1
42015 _ACEOF
42016
42017 fi
42018
42019 if test "$wxUSE_LOGDIALOG" = "yes"; then
42020 cat >>confdefs.h <<\_ACEOF
42021 #define wxUSE_LOG_DIALOG 1
42022 _ACEOF
42023
42024 fi
42025
42026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42027 fi
42028
42029 if test "$wxUSE_LONGLONG" = "yes"; then
42030 cat >>confdefs.h <<\_ACEOF
42031 #define wxUSE_LONGLONG 1
42032 _ACEOF
42033
42034 fi
42035
42036 if test "$wxUSE_GEOMETRY" = "yes"; then
42037 cat >>confdefs.h <<\_ACEOF
42038 #define wxUSE_GEOMETRY 1
42039 _ACEOF
42040
42041 fi
42042
42043 if test "$wxUSE_STREAMS" = "yes" ; then
42044 cat >>confdefs.h <<\_ACEOF
42045 #define wxUSE_STREAMS 1
42046 _ACEOF
42047
42048 fi
42049
42050 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42051 cat >>confdefs.h <<\_ACEOF
42052 #define wxUSE_PRINTF_POS_PARAMS 1
42053 _ACEOF
42054
42055 fi
42056
42057
42058
42059 if test "$wxUSE_DATETIME" = "yes"; then
42060
42061 for ac_func in strptime
42062 do
42063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42066 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42067 echo $ECHO_N "(cached) $ECHO_C" >&6
42068 else
42069 cat >conftest.$ac_ext <<_ACEOF
42070 /* confdefs.h. */
42071 _ACEOF
42072 cat confdefs.h >>conftest.$ac_ext
42073 cat >>conftest.$ac_ext <<_ACEOF
42074 /* end confdefs.h. */
42075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42077 #define $ac_func innocuous_$ac_func
42078
42079 /* System header to define __stub macros and hopefully few prototypes,
42080 which can conflict with char $ac_func (); below.
42081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42082 <limits.h> exists even on freestanding compilers. */
42083
42084 #ifdef __STDC__
42085 # include <limits.h>
42086 #else
42087 # include <assert.h>
42088 #endif
42089
42090 #undef $ac_func
42091
42092 /* Override any GCC internal prototype to avoid an error.
42093 Use char because int might match the return type of a GCC
42094 builtin and then its argument prototype would still apply. */
42095 #ifdef __cplusplus
42096 extern "C"
42097 #endif
42098 char $ac_func ();
42099 /* The GNU C library defines this for functions which it implements
42100 to always fail with ENOSYS. Some functions are actually named
42101 something starting with __ and the normal name is an alias. */
42102 #if defined __stub_$ac_func || defined __stub___$ac_func
42103 choke me
42104 #endif
42105
42106 int
42107 main ()
42108 {
42109 return $ac_func ();
42110 ;
42111 return 0;
42112 }
42113 _ACEOF
42114 rm -f conftest.$ac_objext conftest$ac_exeext
42115 if { (ac_try="$ac_link"
42116 case "(($ac_try" in
42117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42118 *) ac_try_echo=$ac_try;;
42119 esac
42120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42121 (eval "$ac_link") 2>conftest.er1
42122 ac_status=$?
42123 grep -v '^ *+' conftest.er1 >conftest.err
42124 rm -f conftest.er1
42125 cat conftest.err >&5
42126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 (exit $ac_status); } && {
42128 test -z "$ac_c_werror_flag" ||
42129 test ! -s conftest.err
42130 } && test -s conftest$ac_exeext &&
42131 $as_test_x conftest$ac_exeext; then
42132 eval "$as_ac_var=yes"
42133 else
42134 echo "$as_me: failed program was:" >&5
42135 sed 's/^/| /' conftest.$ac_ext >&5
42136
42137 eval "$as_ac_var=no"
42138 fi
42139
42140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42141 conftest$ac_exeext conftest.$ac_ext
42142 fi
42143 ac_res=`eval echo '${'$as_ac_var'}'`
42144 { echo "$as_me:$LINENO: result: $ac_res" >&5
42145 echo "${ECHO_T}$ac_res" >&6; }
42146 if test `eval echo '${'$as_ac_var'}'` = yes; then
42147 cat >>confdefs.h <<_ACEOF
42148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42149 _ACEOF
42150
42151 fi
42152 done
42153
42154 if test "$ac_cv_func_strptime" = "yes"; then
42155 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42156 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42157 if test "${wx_cv_func_strptime_decl+set}" = set; then
42158 echo $ECHO_N "(cached) $ECHO_C" >&6
42159 else
42160
42161 ac_ext=cpp
42162 ac_cpp='$CXXCPP $CPPFLAGS'
42163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42166
42167 cat >conftest.$ac_ext <<_ACEOF
42168 /* confdefs.h. */
42169 _ACEOF
42170 cat confdefs.h >>conftest.$ac_ext
42171 cat >>conftest.$ac_ext <<_ACEOF
42172 /* end confdefs.h. */
42173
42174 #include <time.h>
42175
42176 int
42177 main ()
42178 {
42179
42180 struct tm t;
42181 strptime("foo", "bar", &t);
42182
42183 ;
42184 return 0;
42185 }
42186 _ACEOF
42187 rm -f conftest.$ac_objext
42188 if { (ac_try="$ac_compile"
42189 case "(($ac_try" in
42190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42191 *) ac_try_echo=$ac_try;;
42192 esac
42193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42194 (eval "$ac_compile") 2>conftest.er1
42195 ac_status=$?
42196 grep -v '^ *+' conftest.er1 >conftest.err
42197 rm -f conftest.er1
42198 cat conftest.err >&5
42199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42200 (exit $ac_status); } && {
42201 test -z "$ac_cxx_werror_flag" ||
42202 test ! -s conftest.err
42203 } && test -s conftest.$ac_objext; then
42204 wx_cv_func_strptime_decl=yes
42205 else
42206 echo "$as_me: failed program was:" >&5
42207 sed 's/^/| /' conftest.$ac_ext >&5
42208
42209 wx_cv_func_strptime_decl=no
42210
42211 fi
42212
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42214 ac_ext=c
42215 ac_cpp='$CPP $CPPFLAGS'
42216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42219
42220
42221
42222 fi
42223 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42224 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42225 fi
42226 if test "$wx_cv_func_strptime_decl" = "yes"; then
42227 cat >>confdefs.h <<\_ACEOF
42228 #define HAVE_STRPTIME_DECL 1
42229 _ACEOF
42230
42231 fi
42232
42233 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42234 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42235 if test "${wx_cv_var_timezone+set}" = set; then
42236 echo $ECHO_N "(cached) $ECHO_C" >&6
42237 else
42238
42239 ac_ext=cpp
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42244
42245 cat >conftest.$ac_ext <<_ACEOF
42246 /* confdefs.h. */
42247 _ACEOF
42248 cat confdefs.h >>conftest.$ac_ext
42249 cat >>conftest.$ac_ext <<_ACEOF
42250 /* end confdefs.h. */
42251
42252 #include <time.h>
42253
42254 int
42255 main ()
42256 {
42257
42258 int tz;
42259 tz = timezone;
42260
42261 ;
42262 return 0;
42263 }
42264 _ACEOF
42265 rm -f conftest.$ac_objext
42266 if { (ac_try="$ac_compile"
42267 case "(($ac_try" in
42268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42269 *) ac_try_echo=$ac_try;;
42270 esac
42271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42272 (eval "$ac_compile") 2>conftest.er1
42273 ac_status=$?
42274 grep -v '^ *+' conftest.er1 >conftest.err
42275 rm -f conftest.er1
42276 cat conftest.err >&5
42277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278 (exit $ac_status); } && {
42279 test -z "$ac_cxx_werror_flag" ||
42280 test ! -s conftest.err
42281 } && test -s conftest.$ac_objext; then
42282
42283 wx_cv_var_timezone=timezone
42284
42285 else
42286 echo "$as_me: failed program was:" >&5
42287 sed 's/^/| /' conftest.$ac_ext >&5
42288
42289
42290 cat >conftest.$ac_ext <<_ACEOF
42291 /* confdefs.h. */
42292 _ACEOF
42293 cat confdefs.h >>conftest.$ac_ext
42294 cat >>conftest.$ac_ext <<_ACEOF
42295 /* end confdefs.h. */
42296
42297 #include <time.h>
42298
42299 int
42300 main ()
42301 {
42302
42303 int tz;
42304 tz = _timezone;
42305
42306 ;
42307 return 0;
42308 }
42309 _ACEOF
42310 rm -f conftest.$ac_objext
42311 if { (ac_try="$ac_compile"
42312 case "(($ac_try" in
42313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42314 *) ac_try_echo=$ac_try;;
42315 esac
42316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42317 (eval "$ac_compile") 2>conftest.er1
42318 ac_status=$?
42319 grep -v '^ *+' conftest.er1 >conftest.err
42320 rm -f conftest.er1
42321 cat conftest.err >&5
42322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42323 (exit $ac_status); } && {
42324 test -z "$ac_cxx_werror_flag" ||
42325 test ! -s conftest.err
42326 } && test -s conftest.$ac_objext; then
42327
42328 wx_cv_var_timezone=_timezone
42329
42330 else
42331 echo "$as_me: failed program was:" >&5
42332 sed 's/^/| /' conftest.$ac_ext >&5
42333
42334
42335 cat >conftest.$ac_ext <<_ACEOF
42336 /* confdefs.h. */
42337 _ACEOF
42338 cat confdefs.h >>conftest.$ac_ext
42339 cat >>conftest.$ac_ext <<_ACEOF
42340 /* end confdefs.h. */
42341
42342 #include <time.h>
42343
42344 int
42345 main ()
42346 {
42347
42348 int tz;
42349 tz = __timezone;
42350
42351 ;
42352 return 0;
42353 }
42354 _ACEOF
42355 rm -f conftest.$ac_objext
42356 if { (ac_try="$ac_compile"
42357 case "(($ac_try" in
42358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42359 *) ac_try_echo=$ac_try;;
42360 esac
42361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42362 (eval "$ac_compile") 2>conftest.er1
42363 ac_status=$?
42364 grep -v '^ *+' conftest.er1 >conftest.err
42365 rm -f conftest.er1
42366 cat conftest.err >&5
42367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368 (exit $ac_status); } && {
42369 test -z "$ac_cxx_werror_flag" ||
42370 test ! -s conftest.err
42371 } && test -s conftest.$ac_objext; then
42372
42373 wx_cv_var_timezone=__timezone
42374
42375 else
42376 echo "$as_me: failed program was:" >&5
42377 sed 's/^/| /' conftest.$ac_ext >&5
42378
42379
42380 if test "$USE_DOS" = 0 ; then
42381 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42382 echo "$as_me: WARNING: no timezone variable" >&2;}
42383 fi
42384
42385
42386 fi
42387
42388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42389
42390
42391 fi
42392
42393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42394
42395
42396 fi
42397
42398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42399 ac_ext=c
42400 ac_cpp='$CPP $CPPFLAGS'
42401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42404
42405
42406
42407 fi
42408 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42409 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42410
42411 if test "x$wx_cv_var_timezone" != x ; then
42412 cat >>confdefs.h <<_ACEOF
42413 #define WX_TIMEZONE $wx_cv_var_timezone
42414 _ACEOF
42415
42416 fi
42417
42418
42419 for ac_func in localtime
42420 do
42421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42422 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42424 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42425 echo $ECHO_N "(cached) $ECHO_C" >&6
42426 else
42427 cat >conftest.$ac_ext <<_ACEOF
42428 /* confdefs.h. */
42429 _ACEOF
42430 cat confdefs.h >>conftest.$ac_ext
42431 cat >>conftest.$ac_ext <<_ACEOF
42432 /* end confdefs.h. */
42433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42435 #define $ac_func innocuous_$ac_func
42436
42437 /* System header to define __stub macros and hopefully few prototypes,
42438 which can conflict with char $ac_func (); below.
42439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42440 <limits.h> exists even on freestanding compilers. */
42441
42442 #ifdef __STDC__
42443 # include <limits.h>
42444 #else
42445 # include <assert.h>
42446 #endif
42447
42448 #undef $ac_func
42449
42450 /* Override any GCC internal prototype to avoid an error.
42451 Use char because int might match the return type of a GCC
42452 builtin and then its argument prototype would still apply. */
42453 #ifdef __cplusplus
42454 extern "C"
42455 #endif
42456 char $ac_func ();
42457 /* The GNU C library defines this for functions which it implements
42458 to always fail with ENOSYS. Some functions are actually named
42459 something starting with __ and the normal name is an alias. */
42460 #if defined __stub_$ac_func || defined __stub___$ac_func
42461 choke me
42462 #endif
42463
42464 int
42465 main ()
42466 {
42467 return $ac_func ();
42468 ;
42469 return 0;
42470 }
42471 _ACEOF
42472 rm -f conftest.$ac_objext conftest$ac_exeext
42473 if { (ac_try="$ac_link"
42474 case "(($ac_try" in
42475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42476 *) ac_try_echo=$ac_try;;
42477 esac
42478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42479 (eval "$ac_link") 2>conftest.er1
42480 ac_status=$?
42481 grep -v '^ *+' conftest.er1 >conftest.err
42482 rm -f conftest.er1
42483 cat conftest.err >&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); } && {
42486 test -z "$ac_c_werror_flag" ||
42487 test ! -s conftest.err
42488 } && test -s conftest$ac_exeext &&
42489 $as_test_x conftest$ac_exeext; then
42490 eval "$as_ac_var=yes"
42491 else
42492 echo "$as_me: failed program was:" >&5
42493 sed 's/^/| /' conftest.$ac_ext >&5
42494
42495 eval "$as_ac_var=no"
42496 fi
42497
42498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42499 conftest$ac_exeext conftest.$ac_ext
42500 fi
42501 ac_res=`eval echo '${'$as_ac_var'}'`
42502 { echo "$as_me:$LINENO: result: $ac_res" >&5
42503 echo "${ECHO_T}$ac_res" >&6; }
42504 if test `eval echo '${'$as_ac_var'}'` = yes; then
42505 cat >>confdefs.h <<_ACEOF
42506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42507 _ACEOF
42508
42509 fi
42510 done
42511
42512
42513 if test "$ac_cv_func_localtime" = "yes"; then
42514 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42515 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42516 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42517 echo $ECHO_N "(cached) $ECHO_C" >&6
42518 else
42519
42520 cat >conftest.$ac_ext <<_ACEOF
42521 /* confdefs.h. */
42522 _ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42526
42527 #include <time.h>
42528
42529 int
42530 main ()
42531 {
42532
42533 struct tm tm;
42534 tm.tm_gmtoff++;
42535
42536 ;
42537 return 0;
42538 }
42539 _ACEOF
42540 rm -f conftest.$ac_objext
42541 if { (ac_try="$ac_compile"
42542 case "(($ac_try" in
42543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42544 *) ac_try_echo=$ac_try;;
42545 esac
42546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42547 (eval "$ac_compile") 2>conftest.er1
42548 ac_status=$?
42549 grep -v '^ *+' conftest.er1 >conftest.err
42550 rm -f conftest.er1
42551 cat conftest.err >&5
42552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42553 (exit $ac_status); } && {
42554 test -z "$ac_c_werror_flag" ||
42555 test ! -s conftest.err
42556 } && test -s conftest.$ac_objext; then
42557
42558 wx_cv_struct_tm_has_gmtoff=yes
42559
42560 else
42561 echo "$as_me: failed program was:" >&5
42562 sed 's/^/| /' conftest.$ac_ext >&5
42563
42564 wx_cv_struct_tm_has_gmtoff=no
42565
42566 fi
42567
42568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42569
42570 fi
42571 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42572 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42573 fi
42574
42575 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42576 cat >>confdefs.h <<\_ACEOF
42577 #define WX_GMTOFF_IN_TM 1
42578 _ACEOF
42579
42580 fi
42581
42582
42583
42584 for ac_func in gettimeofday ftime
42585 do
42586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42590 echo $ECHO_N "(cached) $ECHO_C" >&6
42591 else
42592 cat >conftest.$ac_ext <<_ACEOF
42593 /* confdefs.h. */
42594 _ACEOF
42595 cat confdefs.h >>conftest.$ac_ext
42596 cat >>conftest.$ac_ext <<_ACEOF
42597 /* end confdefs.h. */
42598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42600 #define $ac_func innocuous_$ac_func
42601
42602 /* System header to define __stub macros and hopefully few prototypes,
42603 which can conflict with char $ac_func (); below.
42604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42605 <limits.h> exists even on freestanding compilers. */
42606
42607 #ifdef __STDC__
42608 # include <limits.h>
42609 #else
42610 # include <assert.h>
42611 #endif
42612
42613 #undef $ac_func
42614
42615 /* Override any GCC internal prototype to avoid an error.
42616 Use char because int might match the return type of a GCC
42617 builtin and then its argument prototype would still apply. */
42618 #ifdef __cplusplus
42619 extern "C"
42620 #endif
42621 char $ac_func ();
42622 /* The GNU C library defines this for functions which it implements
42623 to always fail with ENOSYS. Some functions are actually named
42624 something starting with __ and the normal name is an alias. */
42625 #if defined __stub_$ac_func || defined __stub___$ac_func
42626 choke me
42627 #endif
42628
42629 int
42630 main ()
42631 {
42632 return $ac_func ();
42633 ;
42634 return 0;
42635 }
42636 _ACEOF
42637 rm -f conftest.$ac_objext conftest$ac_exeext
42638 if { (ac_try="$ac_link"
42639 case "(($ac_try" in
42640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42641 *) ac_try_echo=$ac_try;;
42642 esac
42643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42644 (eval "$ac_link") 2>conftest.er1
42645 ac_status=$?
42646 grep -v '^ *+' conftest.er1 >conftest.err
42647 rm -f conftest.er1
42648 cat conftest.err >&5
42649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650 (exit $ac_status); } && {
42651 test -z "$ac_c_werror_flag" ||
42652 test ! -s conftest.err
42653 } && test -s conftest$ac_exeext &&
42654 $as_test_x conftest$ac_exeext; then
42655 eval "$as_ac_var=yes"
42656 else
42657 echo "$as_me: failed program was:" >&5
42658 sed 's/^/| /' conftest.$ac_ext >&5
42659
42660 eval "$as_ac_var=no"
42661 fi
42662
42663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42664 conftest$ac_exeext conftest.$ac_ext
42665 fi
42666 ac_res=`eval echo '${'$as_ac_var'}'`
42667 { echo "$as_me:$LINENO: result: $ac_res" >&5
42668 echo "${ECHO_T}$ac_res" >&6; }
42669 if test `eval echo '${'$as_ac_var'}'` = yes; then
42670 cat >>confdefs.h <<_ACEOF
42671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42672 _ACEOF
42673 break
42674 fi
42675 done
42676
42677
42678 if test "$ac_cv_func_gettimeofday" = "yes"; then
42679 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42680 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42681 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42682 echo $ECHO_N "(cached) $ECHO_C" >&6
42683 else
42684
42685 cat >conftest.$ac_ext <<_ACEOF
42686 /* confdefs.h. */
42687 _ACEOF
42688 cat confdefs.h >>conftest.$ac_ext
42689 cat >>conftest.$ac_ext <<_ACEOF
42690 /* end confdefs.h. */
42691
42692 #include <sys/time.h>
42693 #include <unistd.h>
42694
42695 int
42696 main ()
42697 {
42698
42699 struct timeval tv;
42700 gettimeofday(&tv, NULL);
42701
42702 ;
42703 return 0;
42704 }
42705 _ACEOF
42706 rm -f conftest.$ac_objext
42707 if { (ac_try="$ac_compile"
42708 case "(($ac_try" in
42709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42710 *) ac_try_echo=$ac_try;;
42711 esac
42712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42713 (eval "$ac_compile") 2>conftest.er1
42714 ac_status=$?
42715 grep -v '^ *+' conftest.er1 >conftest.err
42716 rm -f conftest.er1
42717 cat conftest.err >&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } && {
42720 test -z "$ac_c_werror_flag" ||
42721 test ! -s conftest.err
42722 } && test -s conftest.$ac_objext; then
42723 wx_cv_func_gettimeofday_has_2_args=yes
42724 else
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.$ac_ext >&5
42727
42728 cat >conftest.$ac_ext <<_ACEOF
42729 /* confdefs.h. */
42730 _ACEOF
42731 cat confdefs.h >>conftest.$ac_ext
42732 cat >>conftest.$ac_ext <<_ACEOF
42733 /* end confdefs.h. */
42734
42735 #include <sys/time.h>
42736 #include <unistd.h>
42737
42738 int
42739 main ()
42740 {
42741
42742 struct timeval tv;
42743 gettimeofday(&tv);
42744
42745 ;
42746 return 0;
42747 }
42748 _ACEOF
42749 rm -f conftest.$ac_objext
42750 if { (ac_try="$ac_compile"
42751 case "(($ac_try" in
42752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42753 *) ac_try_echo=$ac_try;;
42754 esac
42755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42756 (eval "$ac_compile") 2>conftest.er1
42757 ac_status=$?
42758 grep -v '^ *+' conftest.er1 >conftest.err
42759 rm -f conftest.er1
42760 cat conftest.err >&5
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); } && {
42763 test -z "$ac_c_werror_flag" ||
42764 test ! -s conftest.err
42765 } && test -s conftest.$ac_objext; then
42766 wx_cv_func_gettimeofday_has_2_args=no
42767 else
42768 echo "$as_me: failed program was:" >&5
42769 sed 's/^/| /' conftest.$ac_ext >&5
42770
42771
42772 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42773 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42774 wx_cv_func_gettimeofday_has_2_args=unknown
42775
42776
42777 fi
42778
42779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42780
42781 fi
42782
42783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42784
42785 fi
42786 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42787 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42788
42789 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42790 cat >>confdefs.h <<\_ACEOF
42791 #define WX_GETTIMEOFDAY_NO_TZ 1
42792 _ACEOF
42793
42794 fi
42795 fi
42796
42797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42798 fi
42799
42800
42801 if test "$wxUSE_SOCKETS" = "yes"; then
42802 if test "$wxUSE_MGL" = "1"; then
42803 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42804 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42805 wxUSE_SOCKETS="no"
42806 fi
42807 fi
42808
42809 if test "$wxUSE_SOCKETS" = "yes"; then
42810 if test "$TOOLKIT" != "MSW"; then
42811 { echo "$as_me:$LINENO: checking for socket" >&5
42812 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42813 if test "${ac_cv_func_socket+set}" = set; then
42814 echo $ECHO_N "(cached) $ECHO_C" >&6
42815 else
42816 cat >conftest.$ac_ext <<_ACEOF
42817 /* confdefs.h. */
42818 _ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42822 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42824 #define socket innocuous_socket
42825
42826 /* System header to define __stub macros and hopefully few prototypes,
42827 which can conflict with char socket (); below.
42828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42829 <limits.h> exists even on freestanding compilers. */
42830
42831 #ifdef __STDC__
42832 # include <limits.h>
42833 #else
42834 # include <assert.h>
42835 #endif
42836
42837 #undef socket
42838
42839 /* Override any GCC internal prototype to avoid an error.
42840 Use char because int might match the return type of a GCC
42841 builtin and then its argument prototype would still apply. */
42842 #ifdef __cplusplus
42843 extern "C"
42844 #endif
42845 char socket ();
42846 /* The GNU C library defines this for functions which it implements
42847 to always fail with ENOSYS. Some functions are actually named
42848 something starting with __ and the normal name is an alias. */
42849 #if defined __stub_socket || defined __stub___socket
42850 choke me
42851 #endif
42852
42853 int
42854 main ()
42855 {
42856 return socket ();
42857 ;
42858 return 0;
42859 }
42860 _ACEOF
42861 rm -f conftest.$ac_objext conftest$ac_exeext
42862 if { (ac_try="$ac_link"
42863 case "(($ac_try" in
42864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42865 *) ac_try_echo=$ac_try;;
42866 esac
42867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42868 (eval "$ac_link") 2>conftest.er1
42869 ac_status=$?
42870 grep -v '^ *+' conftest.er1 >conftest.err
42871 rm -f conftest.er1
42872 cat conftest.err >&5
42873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42874 (exit $ac_status); } && {
42875 test -z "$ac_c_werror_flag" ||
42876 test ! -s conftest.err
42877 } && test -s conftest$ac_exeext &&
42878 $as_test_x conftest$ac_exeext; then
42879 ac_cv_func_socket=yes
42880 else
42881 echo "$as_me: failed program was:" >&5
42882 sed 's/^/| /' conftest.$ac_ext >&5
42883
42884 ac_cv_func_socket=no
42885 fi
42886
42887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42888 conftest$ac_exeext conftest.$ac_ext
42889 fi
42890 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42891 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42892 if test $ac_cv_func_socket = yes; then
42893 :
42894 else
42895
42896 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42897 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42898 if test "${ac_cv_lib_socket_socket+set}" = set; then
42899 echo $ECHO_N "(cached) $ECHO_C" >&6
42900 else
42901 ac_check_lib_save_LIBS=$LIBS
42902 LIBS="-lsocket $LIBS"
42903 cat >conftest.$ac_ext <<_ACEOF
42904 /* confdefs.h. */
42905 _ACEOF
42906 cat confdefs.h >>conftest.$ac_ext
42907 cat >>conftest.$ac_ext <<_ACEOF
42908 /* end confdefs.h. */
42909
42910 /* Override any GCC internal prototype to avoid an error.
42911 Use char because int might match the return type of a GCC
42912 builtin and then its argument prototype would still apply. */
42913 #ifdef __cplusplus
42914 extern "C"
42915 #endif
42916 char socket ();
42917 int
42918 main ()
42919 {
42920 return socket ();
42921 ;
42922 return 0;
42923 }
42924 _ACEOF
42925 rm -f conftest.$ac_objext conftest$ac_exeext
42926 if { (ac_try="$ac_link"
42927 case "(($ac_try" in
42928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42929 *) ac_try_echo=$ac_try;;
42930 esac
42931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42932 (eval "$ac_link") 2>conftest.er1
42933 ac_status=$?
42934 grep -v '^ *+' conftest.er1 >conftest.err
42935 rm -f conftest.er1
42936 cat conftest.err >&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } && {
42939 test -z "$ac_c_werror_flag" ||
42940 test ! -s conftest.err
42941 } && test -s conftest$ac_exeext &&
42942 $as_test_x conftest$ac_exeext; then
42943 ac_cv_lib_socket_socket=yes
42944 else
42945 echo "$as_me: failed program was:" >&5
42946 sed 's/^/| /' conftest.$ac_ext >&5
42947
42948 ac_cv_lib_socket_socket=no
42949 fi
42950
42951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42952 conftest$ac_exeext conftest.$ac_ext
42953 LIBS=$ac_check_lib_save_LIBS
42954 fi
42955 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42956 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42957 if test $ac_cv_lib_socket_socket = yes; then
42958 if test "$INET_LINK" != " -lsocket"; then
42959 INET_LINK="$INET_LINK -lsocket"
42960 fi
42961 else
42962
42963 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42964 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42965 wxUSE_SOCKETS=no
42966
42967
42968 fi
42969
42970
42971
42972 fi
42973
42974 fi
42975 fi
42976
42977 if test "$wxUSE_SOCKETS" = "yes" ; then
42978 if test "$TOOLKIT" != "MSW"; then
42979 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42980 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42981 if test "${wx_cv_type_getsockname3+set}" = set; then
42982 echo $ECHO_N "(cached) $ECHO_C" >&6
42983 else
42984
42985 ac_ext=cpp
42986 ac_cpp='$CXXCPP $CPPFLAGS'
42987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42990
42991 cat >conftest.$ac_ext <<_ACEOF
42992 /* confdefs.h. */
42993 _ACEOF
42994 cat confdefs.h >>conftest.$ac_ext
42995 cat >>conftest.$ac_ext <<_ACEOF
42996 /* end confdefs.h. */
42997
42998 #include <sys/types.h>
42999 #include <sys/socket.h>
43000
43001 int
43002 main ()
43003 {
43004
43005 socklen_t len;
43006 getsockname(0, 0, &len);
43007
43008 ;
43009 return 0;
43010 }
43011 _ACEOF
43012 rm -f conftest.$ac_objext
43013 if { (ac_try="$ac_compile"
43014 case "(($ac_try" in
43015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43016 *) ac_try_echo=$ac_try;;
43017 esac
43018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43019 (eval "$ac_compile") 2>conftest.er1
43020 ac_status=$?
43021 grep -v '^ *+' conftest.er1 >conftest.err
43022 rm -f conftest.er1
43023 cat conftest.err >&5
43024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43025 (exit $ac_status); } && {
43026 test -z "$ac_cxx_werror_flag" ||
43027 test ! -s conftest.err
43028 } && test -s conftest.$ac_objext; then
43029 wx_cv_type_getsockname3=socklen_t
43030 else
43031 echo "$as_me: failed program was:" >&5
43032 sed 's/^/| /' conftest.$ac_ext >&5
43033
43034
43035 CFLAGS_OLD="$CFLAGS"
43036 if test "$GCC" = yes ; then
43037 CFLAGS="-Werror $CFLAGS"
43038 fi
43039
43040 cat >conftest.$ac_ext <<_ACEOF
43041 /* confdefs.h. */
43042 _ACEOF
43043 cat confdefs.h >>conftest.$ac_ext
43044 cat >>conftest.$ac_ext <<_ACEOF
43045 /* end confdefs.h. */
43046
43047 #include <sys/types.h>
43048 #include <sys/socket.h>
43049
43050 int
43051 main ()
43052 {
43053
43054 size_t len;
43055 getsockname(0, 0, &len);
43056
43057 ;
43058 return 0;
43059 }
43060 _ACEOF
43061 rm -f conftest.$ac_objext
43062 if { (ac_try="$ac_compile"
43063 case "(($ac_try" in
43064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43065 *) ac_try_echo=$ac_try;;
43066 esac
43067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43068 (eval "$ac_compile") 2>conftest.er1
43069 ac_status=$?
43070 grep -v '^ *+' conftest.er1 >conftest.err
43071 rm -f conftest.er1
43072 cat conftest.err >&5
43073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43074 (exit $ac_status); } && {
43075 test -z "$ac_cxx_werror_flag" ||
43076 test ! -s conftest.err
43077 } && test -s conftest.$ac_objext; then
43078 wx_cv_type_getsockname3=size_t
43079 else
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.$ac_ext >&5
43082
43083 cat >conftest.$ac_ext <<_ACEOF
43084 /* confdefs.h. */
43085 _ACEOF
43086 cat confdefs.h >>conftest.$ac_ext
43087 cat >>conftest.$ac_ext <<_ACEOF
43088 /* end confdefs.h. */
43089
43090 #include <sys/types.h>
43091 #include <sys/socket.h>
43092
43093 int
43094 main ()
43095 {
43096
43097 int len;
43098 getsockname(0, 0, &len);
43099
43100 ;
43101 return 0;
43102 }
43103 _ACEOF
43104 rm -f conftest.$ac_objext
43105 if { (ac_try="$ac_compile"
43106 case "(($ac_try" in
43107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43108 *) ac_try_echo=$ac_try;;
43109 esac
43110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43111 (eval "$ac_compile") 2>conftest.er1
43112 ac_status=$?
43113 grep -v '^ *+' conftest.er1 >conftest.err
43114 rm -f conftest.er1
43115 cat conftest.err >&5
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); } && {
43118 test -z "$ac_cxx_werror_flag" ||
43119 test ! -s conftest.err
43120 } && test -s conftest.$ac_objext; then
43121 wx_cv_type_getsockname3=int
43122 else
43123 echo "$as_me: failed program was:" >&5
43124 sed 's/^/| /' conftest.$ac_ext >&5
43125
43126 wx_cv_type_getsockname3=unknown
43127
43128 fi
43129
43130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43131
43132 fi
43133
43134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43135
43136 CFLAGS="$CFLAGS_OLD"
43137
43138
43139 fi
43140
43141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43142 ac_ext=c
43143 ac_cpp='$CPP $CPPFLAGS'
43144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43147
43148
43149 fi
43150 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43151 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43152
43153 if test "$wx_cv_type_getsockname3" = "unknown"; then
43154 wxUSE_SOCKETS=no
43155 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43156 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43157 else
43158 cat >>confdefs.h <<_ACEOF
43159 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43160 _ACEOF
43161
43162 fi
43163 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43164 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43165 if test "${wx_cv_type_getsockopt5+set}" = set; then
43166 echo $ECHO_N "(cached) $ECHO_C" >&6
43167 else
43168
43169 ac_ext=cpp
43170 ac_cpp='$CXXCPP $CPPFLAGS'
43171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43174
43175 cat >conftest.$ac_ext <<_ACEOF
43176 /* confdefs.h. */
43177 _ACEOF
43178 cat confdefs.h >>conftest.$ac_ext
43179 cat >>conftest.$ac_ext <<_ACEOF
43180 /* end confdefs.h. */
43181
43182 #include <sys/types.h>
43183 #include <sys/socket.h>
43184
43185 int
43186 main ()
43187 {
43188
43189 socklen_t len;
43190 getsockopt(0, 0, 0, 0, &len);
43191
43192 ;
43193 return 0;
43194 }
43195 _ACEOF
43196 rm -f conftest.$ac_objext
43197 if { (ac_try="$ac_compile"
43198 case "(($ac_try" in
43199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43200 *) ac_try_echo=$ac_try;;
43201 esac
43202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43203 (eval "$ac_compile") 2>conftest.er1
43204 ac_status=$?
43205 grep -v '^ *+' conftest.er1 >conftest.err
43206 rm -f conftest.er1
43207 cat conftest.err >&5
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); } && {
43210 test -z "$ac_cxx_werror_flag" ||
43211 test ! -s conftest.err
43212 } && test -s conftest.$ac_objext; then
43213 wx_cv_type_getsockopt5=socklen_t
43214 else
43215 echo "$as_me: failed program was:" >&5
43216 sed 's/^/| /' conftest.$ac_ext >&5
43217
43218
43219 cat >conftest.$ac_ext <<_ACEOF
43220 /* confdefs.h. */
43221 _ACEOF
43222 cat confdefs.h >>conftest.$ac_ext
43223 cat >>conftest.$ac_ext <<_ACEOF
43224 /* end confdefs.h. */
43225
43226 #include <sys/types.h>
43227 #include <sys/socket.h>
43228
43229 int
43230 main ()
43231 {
43232
43233 size_t len;
43234 getsockopt(0, 0, 0, 0, &len);
43235
43236 ;
43237 return 0;
43238 }
43239 _ACEOF
43240 rm -f conftest.$ac_objext
43241 if { (ac_try="$ac_compile"
43242 case "(($ac_try" in
43243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43244 *) ac_try_echo=$ac_try;;
43245 esac
43246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43247 (eval "$ac_compile") 2>conftest.er1
43248 ac_status=$?
43249 grep -v '^ *+' conftest.er1 >conftest.err
43250 rm -f conftest.er1
43251 cat conftest.err >&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); } && {
43254 test -z "$ac_cxx_werror_flag" ||
43255 test ! -s conftest.err
43256 } && test -s conftest.$ac_objext; then
43257 wx_cv_type_getsockopt5=size_t
43258 else
43259 echo "$as_me: failed program was:" >&5
43260 sed 's/^/| /' conftest.$ac_ext >&5
43261
43262 cat >conftest.$ac_ext <<_ACEOF
43263 /* confdefs.h. */
43264 _ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43268
43269 #include <sys/types.h>
43270 #include <sys/socket.h>
43271
43272 int
43273 main ()
43274 {
43275
43276 int len;
43277 getsockopt(0, 0, 0, 0, &len);
43278
43279 ;
43280 return 0;
43281 }
43282 _ACEOF
43283 rm -f conftest.$ac_objext
43284 if { (ac_try="$ac_compile"
43285 case "(($ac_try" in
43286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43287 *) ac_try_echo=$ac_try;;
43288 esac
43289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43290 (eval "$ac_compile") 2>conftest.er1
43291 ac_status=$?
43292 grep -v '^ *+' conftest.er1 >conftest.err
43293 rm -f conftest.er1
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } && {
43297 test -z "$ac_cxx_werror_flag" ||
43298 test ! -s conftest.err
43299 } && test -s conftest.$ac_objext; then
43300 wx_cv_type_getsockopt5=int
43301 else
43302 echo "$as_me: failed program was:" >&5
43303 sed 's/^/| /' conftest.$ac_ext >&5
43304
43305 wx_cv_type_getsockopt5=unknown
43306
43307 fi
43308
43309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43310
43311 fi
43312
43313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43314
43315
43316 fi
43317
43318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43319 ac_ext=c
43320 ac_cpp='$CPP $CPPFLAGS'
43321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43324
43325
43326 fi
43327 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43328 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43329
43330 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43331 wxUSE_SOCKETS=no
43332 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43333 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43334 else
43335 cat >>confdefs.h <<_ACEOF
43336 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43337 _ACEOF
43338
43339 fi
43340 fi
43341 fi
43342
43343 if test "$wxUSE_SOCKETS" = "yes" ; then
43344 cat >>confdefs.h <<\_ACEOF
43345 #define wxUSE_SOCKETS 1
43346 _ACEOF
43347
43348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43349 fi
43350
43351 if test "$wxUSE_PROTOCOL" = "yes"; then
43352 if test "$wxUSE_SOCKETS" != "yes"; then
43353 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43354 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43355 wxUSE_PROTOCOL=no
43356 fi
43357 fi
43358
43359 if test "$wxUSE_PROTOCOL" = "yes"; then
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_PROTOCOL 1
43362 _ACEOF
43363
43364
43365 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43366 cat >>confdefs.h <<\_ACEOF
43367 #define wxUSE_PROTOCOL_HTTP 1
43368 _ACEOF
43369
43370 fi
43371 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43372 cat >>confdefs.h <<\_ACEOF
43373 #define wxUSE_PROTOCOL_FTP 1
43374 _ACEOF
43375
43376 fi
43377 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43378 cat >>confdefs.h <<\_ACEOF
43379 #define wxUSE_PROTOCOL_FILE 1
43380 _ACEOF
43381
43382 fi
43383 else
43384 if test "$wxUSE_FS_INET" = "yes"; then
43385 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43386 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43387 wxUSE_FS_INET="no"
43388 fi
43389 fi
43390
43391 if test "$wxUSE_URL" = "yes"; then
43392 if test "$wxUSE_PROTOCOL" != "yes"; then
43393 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43394 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43395 wxUSE_URL=no
43396 fi
43397 if test "$wxUSE_URL" = "yes"; then
43398 cat >>confdefs.h <<\_ACEOF
43399 #define wxUSE_URL 1
43400 _ACEOF
43401
43402 fi
43403 fi
43404
43405 if test "$wxUSE_VARIANT" = "yes"; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_VARIANT 1
43408 _ACEOF
43409
43410 fi
43411
43412 if test "$wxUSE_FS_INET" = "yes"; then
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_FS_INET 1
43415 _ACEOF
43416
43417 fi
43418
43419
43420 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43421 wxUSE_JOYSTICK=no
43422
43423 if test "$TOOLKIT" = "MSW"; then
43424 wxUSE_JOYSTICK=yes
43425
43426 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43427 if test "$USE_DARWIN" = 1; then
43428 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43429 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43430 ac_ext=cpp
43431 ac_cpp='$CXXCPP $CPPFLAGS'
43432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435
43436 cat >conftest.$ac_ext <<_ACEOF
43437 /* confdefs.h. */
43438 _ACEOF
43439 cat confdefs.h >>conftest.$ac_ext
43440 cat >>conftest.$ac_ext <<_ACEOF
43441 /* end confdefs.h. */
43442 #include <IOKit/hid/IOHIDLib.h>
43443 int
43444 main ()
43445 {
43446 IOHIDQueueInterface *qi = NULL;
43447 IOHIDCallbackFunction cb = NULL;
43448 qi->setEventCallout(NULL, cb, NULL, NULL);
43449 ;
43450 return 0;
43451 }
43452 _ACEOF
43453 rm -f conftest.$ac_objext
43454 if { (ac_try="$ac_compile"
43455 case "(($ac_try" in
43456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43457 *) ac_try_echo=$ac_try;;
43458 esac
43459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43460 (eval "$ac_compile") 2>conftest.er1
43461 ac_status=$?
43462 grep -v '^ *+' conftest.er1 >conftest.err
43463 rm -f conftest.er1
43464 cat conftest.err >&5
43465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43466 (exit $ac_status); } && {
43467 test -z "$ac_cxx_werror_flag" ||
43468 test ! -s conftest.err
43469 } && test -s conftest.$ac_objext; then
43470 wxUSE_JOYSTICK=yes
43471
43472 else
43473 echo "$as_me: failed program was:" >&5
43474 sed 's/^/| /' conftest.$ac_ext >&5
43475
43476
43477 fi
43478
43479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43480 ac_ext=c
43481 ac_cpp='$CPP $CPPFLAGS'
43482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43485
43486 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43487 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43488 fi
43489
43490 else
43491 if test "$wxUSE_MGL" != "1"; then
43492 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43493 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43494 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43495 echo $ECHO_N "(cached) $ECHO_C" >&6
43496 else
43497 cat >conftest.$ac_ext <<_ACEOF
43498 /* confdefs.h. */
43499 _ACEOF
43500 cat confdefs.h >>conftest.$ac_ext
43501 cat >>conftest.$ac_ext <<_ACEOF
43502 /* end confdefs.h. */
43503 $ac_includes_default
43504
43505 #include <linux/joystick.h>
43506 _ACEOF
43507 rm -f conftest.$ac_objext
43508 if { (ac_try="$ac_compile"
43509 case "(($ac_try" in
43510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43511 *) ac_try_echo=$ac_try;;
43512 esac
43513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43514 (eval "$ac_compile") 2>conftest.er1
43515 ac_status=$?
43516 grep -v '^ *+' conftest.er1 >conftest.err
43517 rm -f conftest.er1
43518 cat conftest.err >&5
43519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520 (exit $ac_status); } && {
43521 test -z "$ac_c_werror_flag" ||
43522 test ! -s conftest.err
43523 } && test -s conftest.$ac_objext; then
43524 ac_cv_header_linux_joystick_h=yes
43525 else
43526 echo "$as_me: failed program was:" >&5
43527 sed 's/^/| /' conftest.$ac_ext >&5
43528
43529 ac_cv_header_linux_joystick_h=no
43530 fi
43531
43532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43533 fi
43534 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43535 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43536 if test $ac_cv_header_linux_joystick_h = yes; then
43537 wxUSE_JOYSTICK=yes
43538 fi
43539
43540
43541 fi
43542 fi
43543
43544 if test "$wxUSE_JOYSTICK" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_JOYSTICK 1
43547 _ACEOF
43548
43549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43550 else
43551 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43552 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43553 fi
43554 fi
43555
43556
43557
43558 if test "$wxUSE_FONTMAP" = "yes" ; then
43559 cat >>confdefs.h <<\_ACEOF
43560 #define wxUSE_FONTMAP 1
43561 _ACEOF
43562
43563 fi
43564
43565 if test "$wxUSE_UNICODE" = "yes" ; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define wxUSE_UNICODE 1
43568 _ACEOF
43569
43570
43571 if test "$USE_WIN32" != 1; then
43572 wxUSE_UNICODE_MSLU=no
43573 fi
43574
43575 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43576 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43577 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43578 if test "${ac_cv_lib_unicows_main+set}" = set; then
43579 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 else
43581 ac_check_lib_save_LIBS=$LIBS
43582 LIBS="-lunicows $LIBS"
43583 cat >conftest.$ac_ext <<_ACEOF
43584 /* confdefs.h. */
43585 _ACEOF
43586 cat confdefs.h >>conftest.$ac_ext
43587 cat >>conftest.$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43589
43590
43591 int
43592 main ()
43593 {
43594 return main ();
43595 ;
43596 return 0;
43597 }
43598 _ACEOF
43599 rm -f conftest.$ac_objext conftest$ac_exeext
43600 if { (ac_try="$ac_link"
43601 case "(($ac_try" in
43602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43603 *) ac_try_echo=$ac_try;;
43604 esac
43605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43606 (eval "$ac_link") 2>conftest.er1
43607 ac_status=$?
43608 grep -v '^ *+' conftest.er1 >conftest.err
43609 rm -f conftest.er1
43610 cat conftest.err >&5
43611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43612 (exit $ac_status); } && {
43613 test -z "$ac_c_werror_flag" ||
43614 test ! -s conftest.err
43615 } && test -s conftest$ac_exeext &&
43616 $as_test_x conftest$ac_exeext; then
43617 ac_cv_lib_unicows_main=yes
43618 else
43619 echo "$as_me: failed program was:" >&5
43620 sed 's/^/| /' conftest.$ac_ext >&5
43621
43622 ac_cv_lib_unicows_main=no
43623 fi
43624
43625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43626 conftest$ac_exeext conftest.$ac_ext
43627 LIBS=$ac_check_lib_save_LIBS
43628 fi
43629 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43630 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43631 if test $ac_cv_lib_unicows_main = yes; then
43632
43633 cat >>confdefs.h <<\_ACEOF
43634 #define wxUSE_UNICODE_MSLU 1
43635 _ACEOF
43636
43637
43638 else
43639
43640 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43641 Applications will only run on Windows NT/2000/XP!" >&5
43642 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43643 Applications will only run on Windows NT/2000/XP!" >&2;}
43644 wxUSE_UNICODE_MSLU=no
43645
43646 fi
43647
43648 fi
43649 fi
43650
43651 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43652 cat >>confdefs.h <<\_ACEOF
43653 #define wxUSE_UNICODE_UTF8 1
43654 _ACEOF
43655
43656 fi
43657
43658 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43659 cat >>confdefs.h <<\_ACEOF
43660 #define wxUSE_EXPERIMENTAL_PRINTF 1
43661 _ACEOF
43662
43663 fi
43664
43665
43666 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43667 cat >>confdefs.h <<\_ACEOF
43668 #define wxUSE_POSTSCRIPT 1
43669 _ACEOF
43670
43671 fi
43672
43673 cat >>confdefs.h <<\_ACEOF
43674 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43675 _ACEOF
43676
43677
43678 cat >>confdefs.h <<\_ACEOF
43679 #define wxUSE_NORMALIZED_PS_FONTS 1
43680 _ACEOF
43681
43682
43683
43684 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define wxUSE_CONSTRAINTS 1
43687 _ACEOF
43688
43689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43690 fi
43691
43692 if test "$wxUSE_MDI" = "yes"; then
43693 cat >>confdefs.h <<\_ACEOF
43694 #define wxUSE_MDI 1
43695 _ACEOF
43696
43697
43698 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_MDI_ARCHITECTURE 1
43701 _ACEOF
43702
43703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43704 fi
43705 fi
43706
43707 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43710 _ACEOF
43711
43712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43713 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43715 fi
43716 fi
43717
43718 if test "$wxUSE_HELP" = "yes"; then
43719 cat >>confdefs.h <<\_ACEOF
43720 #define wxUSE_HELP 1
43721 _ACEOF
43722
43723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43724
43725 if test "$wxUSE_MSW" = 1; then
43726 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43727 cat >>confdefs.h <<\_ACEOF
43728 #define wxUSE_MS_HTML_HELP 1
43729 _ACEOF
43730
43731 fi
43732 fi
43733
43734 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43735 if test "$wxUSE_HTML" = "yes"; then
43736 cat >>confdefs.h <<\_ACEOF
43737 #define wxUSE_WXHTML_HELP 1
43738 _ACEOF
43739
43740 else
43741 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43742 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43743 wxUSE_WXHTML_HELP=no
43744 fi
43745 fi
43746 fi
43747
43748 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43749 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43750 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43751 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43752 else
43753 cat >>confdefs.h <<\_ACEOF
43754 #define wxUSE_PRINTING_ARCHITECTURE 1
43755 _ACEOF
43756
43757 fi
43758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43759 fi
43760
43761
43762
43763 if test "$wxUSE_METAFILE" = "yes"; then
43764 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43765 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43766 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43767 wxUSE_METAFILE=no
43768 fi
43769 fi
43770
43771
43772 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43773 -o "$wxUSE_CLIPBOARD" = "yes" \
43774 -o "$wxUSE_OLE" = "yes" \
43775 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43776 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43777 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43778 if test "${ac_cv_header_ole2_h+set}" = set; then
43779 echo $ECHO_N "(cached) $ECHO_C" >&6
43780 else
43781 cat >conftest.$ac_ext <<_ACEOF
43782 /* confdefs.h. */
43783 _ACEOF
43784 cat confdefs.h >>conftest.$ac_ext
43785 cat >>conftest.$ac_ext <<_ACEOF
43786 /* end confdefs.h. */
43787
43788
43789 #include <ole2.h>
43790 _ACEOF
43791 rm -f conftest.$ac_objext
43792 if { (ac_try="$ac_compile"
43793 case "(($ac_try" in
43794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43795 *) ac_try_echo=$ac_try;;
43796 esac
43797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43798 (eval "$ac_compile") 2>conftest.er1
43799 ac_status=$?
43800 grep -v '^ *+' conftest.er1 >conftest.err
43801 rm -f conftest.er1
43802 cat conftest.err >&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); } && {
43805 test -z "$ac_c_werror_flag" ||
43806 test ! -s conftest.err
43807 } && test -s conftest.$ac_objext; then
43808 ac_cv_header_ole2_h=yes
43809 else
43810 echo "$as_me: failed program was:" >&5
43811 sed 's/^/| /' conftest.$ac_ext >&5
43812
43813 ac_cv_header_ole2_h=no
43814 fi
43815
43816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43817 fi
43818 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43819 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43820
43821
43822
43823 if test "$ac_cv_header_ole2_h" = "yes" ; then
43824 if test "$GCC" = yes ; then
43825 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43826 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43827 cat >conftest.$ac_ext <<_ACEOF
43828 /* confdefs.h. */
43829 _ACEOF
43830 cat confdefs.h >>conftest.$ac_ext
43831 cat >>conftest.$ac_ext <<_ACEOF
43832 /* end confdefs.h. */
43833 #include <windows.h>
43834 #include <ole2.h>
43835 int
43836 main ()
43837 {
43838
43839 ;
43840 return 0;
43841 }
43842 _ACEOF
43843 rm -f conftest.$ac_objext
43844 if { (ac_try="$ac_compile"
43845 case "(($ac_try" in
43846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43847 *) ac_try_echo=$ac_try;;
43848 esac
43849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43850 (eval "$ac_compile") 2>conftest.er1
43851 ac_status=$?
43852 grep -v '^ *+' conftest.er1 >conftest.err
43853 rm -f conftest.er1
43854 cat conftest.err >&5
43855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43856 (exit $ac_status); } && {
43857 test -z "$ac_c_werror_flag" ||
43858 test ! -s conftest.err
43859 } && test -s conftest.$ac_objext; then
43860 { echo "$as_me:$LINENO: result: no" >&5
43861 echo "${ECHO_T}no" >&6; }
43862 else
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43865
43866 { echo "$as_me:$LINENO: result: yes" >&5
43867 echo "${ECHO_T}yes" >&6; }
43868 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43869 fi
43870
43871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43872 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43873 if test "$wxUSE_OLE" = "yes" ; then
43874 cat >>confdefs.h <<\_ACEOF
43875 #define wxUSE_OLE 1
43876 _ACEOF
43877
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_OLE_AUTOMATION 1
43880 _ACEOF
43881
43882 cat >>confdefs.h <<\_ACEOF
43883 #define wxUSE_ACTIVEX 1
43884 _ACEOF
43885
43886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43887 fi
43888 fi
43889
43890 if test "$wxUSE_DATAOBJ" = "yes" ; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_DATAOBJ 1
43893 _ACEOF
43894
43895 fi
43896 else
43897 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43898 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43899
43900 wxUSE_CLIPBOARD=no
43901 wxUSE_DRAG_AND_DROP=no
43902 wxUSE_DATAOBJ=no
43903 wxUSE_OLE=no
43904 fi
43905
43906 if test "$wxUSE_METAFILE" = "yes"; then
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_METAFILE 1
43909 _ACEOF
43910
43911
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_ENH_METAFILE 1
43914 _ACEOF
43915
43916 fi
43917 fi
43918
43919 if test "$wxUSE_IPC" = "yes"; then
43920 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43921 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43922 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43923 wxUSE_IPC=no
43924 fi
43925
43926 if test "$wxUSE_IPC" = "yes"; then
43927 cat >>confdefs.h <<\_ACEOF
43928 #define wxUSE_IPC 1
43929 _ACEOF
43930
43931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43932 fi
43933 fi
43934
43935 if test "$wxUSE_DATAOBJ" = "yes"; then
43936 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43937 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43938 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43939 wxUSE_DATAOBJ=no
43940 else
43941 cat >>confdefs.h <<\_ACEOF
43942 #define wxUSE_DATAOBJ 1
43943 _ACEOF
43944
43945 fi
43946 else
43947 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43948 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43949 wxUSE_CLIPBOARD=no
43950 wxUSE_DRAG_AND_DROP=no
43951 fi
43952
43953 if test "$wxUSE_CLIPBOARD" = "yes"; then
43954 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43955 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43956 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43957 wxUSE_CLIPBOARD=no
43958 fi
43959
43960 if test "$wxUSE_CLIPBOARD" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_CLIPBOARD 1
43963 _ACEOF
43964
43965 fi
43966 fi
43967
43968 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43969 if test "$wxUSE_GTK" = 1; then
43970 if test "$WXGTK12" != 1; then
43971 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43972 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43973 wxUSE_DRAG_AND_DROP=no
43974 fi
43975 fi
43976
43977 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43978 "$wxUSE_DFB" = 1; then
43979 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43980 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43981 wxUSE_DRAG_AND_DROP=no
43982 fi
43983
43984 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43985 cat >>confdefs.h <<\_ACEOF
43986 #define wxUSE_DRAG_AND_DROP 1
43987 _ACEOF
43988
43989 fi
43990
43991 fi
43992
43993 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43995 fi
43996
43997 if test "$wxUSE_SPLINES" = "yes" ; then
43998 cat >>confdefs.h <<\_ACEOF
43999 #define wxUSE_SPLINES 1
44000 _ACEOF
44001
44002 fi
44003
44004 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44005 cat >>confdefs.h <<\_ACEOF
44006 #define wxUSE_MOUSEWHEEL 1
44007 _ACEOF
44008
44009 fi
44010
44011
44012 USES_CONTROLS=0
44013 if test "$wxUSE_CONTROLS" = "yes"; then
44014 USES_CONTROLS=1
44015 fi
44016
44017 if test "$wxUSE_ACCEL" = "yes"; then
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_ACCEL 1
44020 _ACEOF
44021
44022 USES_CONTROLS=1
44023 fi
44024
44025 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44026 cat >>confdefs.h <<\_ACEOF
44027 #define wxUSE_ANIMATIONCTRL 1
44028 _ACEOF
44029
44030 USES_CONTROLS=1
44031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44032 fi
44033
44034 if test "$wxUSE_BUTTON" = "yes"; then
44035 cat >>confdefs.h <<\_ACEOF
44036 #define wxUSE_BUTTON 1
44037 _ACEOF
44038
44039 USES_CONTROLS=1
44040 fi
44041
44042 if test "$wxUSE_BMPBUTTON" = "yes"; then
44043 cat >>confdefs.h <<\_ACEOF
44044 #define wxUSE_BMPBUTTON 1
44045 _ACEOF
44046
44047 USES_CONTROLS=1
44048 fi
44049
44050 if test "$wxUSE_CALCTRL" = "yes"; then
44051 cat >>confdefs.h <<\_ACEOF
44052 #define wxUSE_CALENDARCTRL 1
44053 _ACEOF
44054
44055 USES_CONTROLS=1
44056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44057 fi
44058
44059 if test "$wxUSE_CARET" = "yes"; then
44060 cat >>confdefs.h <<\_ACEOF
44061 #define wxUSE_CARET 1
44062 _ACEOF
44063
44064 USES_CONTROLS=1
44065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44066 fi
44067
44068 if test "$wxUSE_COLLPANE" = "yes"; then
44069 cat >>confdefs.h <<\_ACEOF
44070 #define wxUSE_COLLPANE 1
44071 _ACEOF
44072
44073 USES_CONTROLS=1
44074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44075 fi
44076
44077 if test "$wxUSE_COMBOBOX" = "yes"; then
44078 cat >>confdefs.h <<\_ACEOF
44079 #define wxUSE_COMBOBOX 1
44080 _ACEOF
44081
44082 USES_CONTROLS=1
44083 fi
44084
44085 if test "$wxUSE_COMBOCTRL" = "yes"; then
44086 cat >>confdefs.h <<\_ACEOF
44087 #define wxUSE_COMBOCTRL 1
44088 _ACEOF
44089
44090 USES_CONTROLS=1
44091 fi
44092
44093 if test "$wxUSE_CHOICE" = "yes"; then
44094 cat >>confdefs.h <<\_ACEOF
44095 #define wxUSE_CHOICE 1
44096 _ACEOF
44097
44098 USES_CONTROLS=1
44099 fi
44100
44101 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44102 cat >>confdefs.h <<\_ACEOF
44103 #define wxUSE_CHOICEBOOK 1
44104 _ACEOF
44105
44106 USES_CONTROLS=1
44107 fi
44108
44109 if test "$wxUSE_CHECKBOX" = "yes"; then
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_CHECKBOX 1
44112 _ACEOF
44113
44114 USES_CONTROLS=1
44115 fi
44116
44117 if test "$wxUSE_CHECKLST" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_CHECKLISTBOX 1
44120 _ACEOF
44121
44122 USES_CONTROLS=1
44123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44124 fi
44125
44126 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44127 cat >>confdefs.h <<\_ACEOF
44128 #define wxUSE_COLOURPICKERCTRL 1
44129 _ACEOF
44130
44131 USES_CONTROLS=1
44132 fi
44133
44134 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44135 cat >>confdefs.h <<\_ACEOF
44136 #define wxUSE_DATEPICKCTRL 1
44137 _ACEOF
44138
44139 USES_CONTROLS=1
44140 fi
44141
44142 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44143 cat >>confdefs.h <<\_ACEOF
44144 #define wxUSE_DIRPICKERCTRL 1
44145 _ACEOF
44146
44147 USES_CONTROLS=1
44148 fi
44149
44150 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44151 cat >>confdefs.h <<\_ACEOF
44152 #define wxUSE_FILEPICKERCTRL 1
44153 _ACEOF
44154
44155 USES_CONTROLS=1
44156 fi
44157
44158 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44159 cat >>confdefs.h <<\_ACEOF
44160 #define wxUSE_FONTPICKERCTRL 1
44161 _ACEOF
44162
44163 USES_CONTROLS=1
44164 fi
44165
44166 if test "$wxUSE_DISPLAY" = "yes"; then
44167 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44168 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44169 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44170 wxUSE_DISPLAY=no
44171 else
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_DISPLAY 1
44174 _ACEOF
44175
44176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44177 fi
44178 fi
44179
44180 if test "$wxUSE_DETECT_SM" = "yes"; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define wxUSE_DETECT_SM 1
44183 _ACEOF
44184
44185 fi
44186
44187 if test "$wxUSE_GAUGE" = "yes"; then
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_GAUGE 1
44190 _ACEOF
44191
44192 USES_CONTROLS=1
44193 fi
44194
44195 if test "$wxUSE_GRID" = "yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_GRID 1
44198 _ACEOF
44199
44200 USES_CONTROLS=1
44201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44202 fi
44203
44204 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44205 cat >>confdefs.h <<\_ACEOF
44206 #define wxUSE_HYPERLINKCTRL 1
44207 _ACEOF
44208
44209 USES_CONTROLS=1
44210 fi
44211
44212 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_BITMAPCOMBOBOX 1
44215 _ACEOF
44216
44217 USES_CONTROLS=1
44218 fi
44219
44220 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44221 cat >>confdefs.h <<\_ACEOF
44222 #define wxUSE_DATAVIEWCTRL 1
44223 _ACEOF
44224
44225 USES_CONTROLS=1
44226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44227 fi
44228
44229 if test "$wxUSE_IMAGLIST" = "yes"; then
44230 cat >>confdefs.h <<\_ACEOF
44231 #define wxUSE_IMAGLIST 1
44232 _ACEOF
44233
44234 fi
44235
44236 if test "$wxUSE_LISTBOOK" = "yes"; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_LISTBOOK 1
44239 _ACEOF
44240
44241 USES_CONTROLS=1
44242 fi
44243
44244 if test "$wxUSE_LISTBOX" = "yes"; then
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_LISTBOX 1
44247 _ACEOF
44248
44249 USES_CONTROLS=1
44250 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44251 fi
44252
44253 if test "$wxUSE_LISTCTRL" = "yes"; then
44254 if test "$wxUSE_IMAGLIST" = "yes"; then
44255 cat >>confdefs.h <<\_ACEOF
44256 #define wxUSE_LISTCTRL 1
44257 _ACEOF
44258
44259 USES_CONTROLS=1
44260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44261 else
44262 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44263 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44264 fi
44265 fi
44266
44267 if test "$wxUSE_NOTEBOOK" = "yes"; then
44268 cat >>confdefs.h <<\_ACEOF
44269 #define wxUSE_NOTEBOOK 1
44270 _ACEOF
44271
44272 USES_CONTROLS=1
44273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44274 fi
44275
44276 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_ODCOMBOBOX 1
44279 _ACEOF
44280
44281 USES_CONTROLS=1
44282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44283 fi
44284
44285
44286 if test "$wxUSE_RADIOBOX" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_RADIOBOX 1
44289 _ACEOF
44290
44291 USES_CONTROLS=1
44292 fi
44293
44294 if test "$wxUSE_RADIOBTN" = "yes"; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_RADIOBTN 1
44297 _ACEOF
44298
44299 USES_CONTROLS=1
44300 fi
44301
44302 if test "$wxUSE_SASH" = "yes"; then
44303 cat >>confdefs.h <<\_ACEOF
44304 #define wxUSE_SASH 1
44305 _ACEOF
44306
44307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44308 fi
44309
44310 if test "$wxUSE_SCROLLBAR" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_SCROLLBAR 1
44313 _ACEOF
44314
44315 USES_CONTROLS=1
44316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44317 fi
44318
44319 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44320 cat >>confdefs.h <<\_ACEOF
44321 #define wxUSE_SEARCHCTRL 1
44322 _ACEOF
44323
44324 USES_CONTROLS=1
44325 fi
44326
44327 if test "$wxUSE_SLIDER" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_SLIDER 1
44330 _ACEOF
44331
44332 USES_CONTROLS=1
44333 fi
44334
44335 if test "$wxUSE_SPINBTN" = "yes"; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_SPINBTN 1
44338 _ACEOF
44339
44340 USES_CONTROLS=1
44341 fi
44342
44343 if test "$wxUSE_SPINCTRL" = "yes"; then
44344 cat >>confdefs.h <<\_ACEOF
44345 #define wxUSE_SPINCTRL 1
44346 _ACEOF
44347
44348 USES_CONTROLS=1
44349 fi
44350
44351 if test "$wxUSE_SPLITTER" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_SPLITTER 1
44354 _ACEOF
44355
44356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44357 fi
44358
44359 if test "$wxUSE_STATBMP" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_STATBMP 1
44362 _ACEOF
44363
44364 USES_CONTROLS=1
44365 fi
44366
44367 if test "$wxUSE_STATBOX" = "yes"; then
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_STATBOX 1
44370 _ACEOF
44371
44372 USES_CONTROLS=1
44373 fi
44374
44375 if test "$wxUSE_STATTEXT" = "yes"; then
44376 cat >>confdefs.h <<\_ACEOF
44377 #define wxUSE_STATTEXT 1
44378 _ACEOF
44379
44380 USES_CONTROLS=1
44381 fi
44382
44383 if test "$wxUSE_STATLINE" = "yes"; then
44384 cat >>confdefs.h <<\_ACEOF
44385 #define wxUSE_STATLINE 1
44386 _ACEOF
44387
44388 USES_CONTROLS=1
44389 fi
44390
44391 if test "$wxUSE_STATUSBAR" = "yes"; then
44392 cat >>confdefs.h <<\_ACEOF
44393 #define wxUSE_NATIVE_STATUSBAR 1
44394 _ACEOF
44395
44396 cat >>confdefs.h <<\_ACEOF
44397 #define wxUSE_STATUSBAR 1
44398 _ACEOF
44399
44400 USES_CONTROLS=1
44401
44402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44403 fi
44404
44405 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44406 cat >>confdefs.h <<\_ACEOF
44407 #define wxUSE_TAB_DIALOG 1
44408 _ACEOF
44409
44410 fi
44411
44412 if test "$wxUSE_TEXTCTRL" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_TEXTCTRL 1
44415 _ACEOF
44416
44417 USES_CONTROLS=1
44418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44419 fi
44420
44421 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44422 if test "$wxUSE_COCOA" = 1 ; then
44423 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44424 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44425 wxUSE_TOGGLEBTN=no
44426 fi
44427
44428 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_TOGGLEBTN 1
44431 _ACEOF
44432
44433 USES_CONTROLS=1
44434 fi
44435 fi
44436
44437 if test "$wxUSE_TOOLBAR" = "yes"; then
44438 cat >>confdefs.h <<\_ACEOF
44439 #define wxUSE_TOOLBAR 1
44440 _ACEOF
44441
44442 USES_CONTROLS=1
44443
44444 if test "$wxUSE_UNIVERSAL" = "yes"; then
44445 wxUSE_TOOLBAR_NATIVE="no"
44446 else
44447 wxUSE_TOOLBAR_NATIVE="yes"
44448 cat >>confdefs.h <<\_ACEOF
44449 #define wxUSE_TOOLBAR_NATIVE 1
44450 _ACEOF
44451
44452 fi
44453
44454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44455 fi
44456
44457 if test "$wxUSE_TOOLTIPS" = "yes"; then
44458 if test "$wxUSE_MOTIF" = 1; then
44459 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44460 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44461 else
44462 if test "$wxUSE_UNIVERSAL" = "yes"; then
44463 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44464 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44465 else
44466 cat >>confdefs.h <<\_ACEOF
44467 #define wxUSE_TOOLTIPS 1
44468 _ACEOF
44469
44470 fi
44471 fi
44472 fi
44473
44474 if test "$wxUSE_TREEBOOK" = "yes"; then
44475 cat >>confdefs.h <<\_ACEOF
44476 #define wxUSE_TREEBOOK 1
44477 _ACEOF
44478
44479 USES_CONTROLS=1
44480 fi
44481
44482 if test "$wxUSE_TOOLBOOK" = "yes"; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_TOOLBOOK 1
44485 _ACEOF
44486
44487 USES_CONTROLS=1
44488 fi
44489
44490 if test "$wxUSE_TREECTRL" = "yes"; then
44491 if test "$wxUSE_IMAGLIST" = "yes"; then
44492 cat >>confdefs.h <<\_ACEOF
44493 #define wxUSE_TREECTRL 1
44494 _ACEOF
44495
44496 USES_CONTROLS=1
44497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44498 else
44499 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44500 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44501 fi
44502 fi
44503
44504 if test "$wxUSE_POPUPWIN" = "yes"; then
44505 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44506 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44507 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44508 else
44509 if test "$wxUSE_PM" = 1; then
44510 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44511 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44512 else
44513 cat >>confdefs.h <<\_ACEOF
44514 #define wxUSE_POPUPWIN 1
44515 _ACEOF
44516
44517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44518
44519 USES_CONTROLS=1
44520 fi
44521 fi
44522 fi
44523
44524 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44525 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44526 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44527 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44528 else
44529 cat >>confdefs.h <<\_ACEOF
44530 #define wxUSE_DIALUP_MANAGER 1
44531 _ACEOF
44532
44533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44534 fi
44535 fi
44536
44537 if test "$wxUSE_TIPWINDOW" = "yes"; then
44538 if test "$wxUSE_PM" = 1; then
44539 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44540 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44541 else
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_TIPWINDOW 1
44544 _ACEOF
44545
44546 fi
44547 fi
44548
44549 if test "$USES_CONTROLS" = 1; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_CONTROLS 1
44552 _ACEOF
44553
44554 fi
44555
44556
44557 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44558 cat >>confdefs.h <<\_ACEOF
44559 #define wxUSE_ACCESSIBILITY 1
44560 _ACEOF
44561
44562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44563 fi
44564
44565 if test "$wxUSE_DC_CACHEING" = "yes"; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_DC_CACHEING 1
44568 _ACEOF
44569
44570 fi
44571
44572 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44573 cat >>confdefs.h <<\_ACEOF
44574 #define wxUSE_DRAGIMAGE 1
44575 _ACEOF
44576
44577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44578 fi
44579
44580 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44581 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44582 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44583 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44584 else
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_EXCEPTIONS 1
44587 _ACEOF
44588
44589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44590 fi
44591 fi
44592
44593 USE_HTML=0
44594 if test "$wxUSE_HTML" = "yes"; then
44595 cat >>confdefs.h <<\_ACEOF
44596 #define wxUSE_HTML 1
44597 _ACEOF
44598
44599 USE_HTML=1
44600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44601 if test "$wxUSE_MAC" = 1; then
44602 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44603 fi
44604 fi
44605 if test "$wxUSE_WEBKIT" = "yes"; then
44606 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44607 old_CPPFLAGS="$CPPFLAGS"
44608 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44609 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44610 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44611 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44612 echo $ECHO_N "(cached) $ECHO_C" >&6
44613 else
44614 cat >conftest.$ac_ext <<_ACEOF
44615 /* confdefs.h. */
44616 _ACEOF
44617 cat confdefs.h >>conftest.$ac_ext
44618 cat >>conftest.$ac_ext <<_ACEOF
44619 /* end confdefs.h. */
44620
44621 #include <Carbon/Carbon.h>
44622 #include <WebKit/WebKit.h>
44623
44624
44625 #include <WebKit/HIWebView.h>
44626 _ACEOF
44627 rm -f conftest.$ac_objext
44628 if { (ac_try="$ac_compile"
44629 case "(($ac_try" in
44630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44631 *) ac_try_echo=$ac_try;;
44632 esac
44633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44634 (eval "$ac_compile") 2>conftest.er1
44635 ac_status=$?
44636 grep -v '^ *+' conftest.er1 >conftest.err
44637 rm -f conftest.er1
44638 cat conftest.err >&5
44639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640 (exit $ac_status); } && {
44641 test -z "$ac_c_werror_flag" ||
44642 test ! -s conftest.err
44643 } && test -s conftest.$ac_objext; then
44644 ac_cv_header_WebKit_HIWebView_h=yes
44645 else
44646 echo "$as_me: failed program was:" >&5
44647 sed 's/^/| /' conftest.$ac_ext >&5
44648
44649 ac_cv_header_WebKit_HIWebView_h=no
44650 fi
44651
44652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44653 fi
44654 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44655 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44656 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44657
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_WEBKIT 1
44660 _ACEOF
44661
44662 WEBKIT_LINK="-framework WebKit"
44663
44664 else
44665
44666 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44667 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44668 wxUSE_WEBKIT=no
44669
44670 fi
44671
44672
44673 CPPFLAGS="$old_CPPFLAGS"
44674 elif test "$wxUSE_COCOA" = 1; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_WEBKIT 1
44677 _ACEOF
44678
44679 else
44680 wxUSE_WEBKIT=no
44681 fi
44682 fi
44683
44684 USE_XRC=0
44685 if test "$wxUSE_XRC" = "yes"; then
44686 if test "$wxUSE_XML" != "yes"; then
44687 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44688 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44689 wxUSE_XRC=no
44690 else
44691 cat >>confdefs.h <<\_ACEOF
44692 #define wxUSE_XRC 1
44693 _ACEOF
44694
44695 USE_XRC=1
44696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44697 fi
44698 fi
44699
44700 USE_AUI=0
44701 if test "$wxUSE_AUI" = "yes"; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_AUI 1
44704 _ACEOF
44705
44706 USE_AUI=1
44707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44708 fi
44709
44710 USE_STC=0
44711 if test "$wxUSE_STC" = "yes"; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_STC 1
44714 _ACEOF
44715
44716 USE_STC=1
44717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44718 fi
44719
44720 if test "$wxUSE_MENUS" = "yes"; then
44721 cat >>confdefs.h <<\_ACEOF
44722 #define wxUSE_MENUS 1
44723 _ACEOF
44724
44725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44726 fi
44727
44728 if test "$wxUSE_METAFILE" = "yes"; then
44729 cat >>confdefs.h <<\_ACEOF
44730 #define wxUSE_METAFILE 1
44731 _ACEOF
44732
44733 fi
44734
44735 if test "$wxUSE_MIMETYPE" = "yes"; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_MIMETYPE 1
44738 _ACEOF
44739
44740 fi
44741
44742 if test "$wxUSE_MINIFRAME" = "yes"; then
44743 cat >>confdefs.h <<\_ACEOF
44744 #define wxUSE_MINIFRAME 1
44745 _ACEOF
44746
44747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44748 fi
44749
44750 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44751 cat >>confdefs.h <<\_ACEOF
44752 #define wxUSE_SYSTEM_OPTIONS 1
44753 _ACEOF
44754
44755 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44756 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44758 fi
44759 fi
44760
44761
44762 if test "$wxUSE_VALIDATORS" = "yes"; then
44763 cat >>confdefs.h <<\_ACEOF
44764 #define wxUSE_VALIDATORS 1
44765 _ACEOF
44766
44767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44768 fi
44769
44770 if test "$wxUSE_PALETTE" = "yes" ; then
44771 if test "$wxUSE_DFB" = 1; then
44772 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44773 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44774 wxUSE_PALETTE=no
44775 else
44776 cat >>confdefs.h <<\_ACEOF
44777 #define wxUSE_PALETTE 1
44778 _ACEOF
44779
44780 fi
44781 fi
44782
44783 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44784 LIBS=" -lunicows $LIBS"
44785 fi
44786
44787 USE_RICHTEXT=0
44788 if test "$wxUSE_RICHTEXT" = "yes"; then
44789 cat >>confdefs.h <<\_ACEOF
44790 #define wxUSE_RICHTEXT 1
44791 _ACEOF
44792
44793 USE_RICHTEXT=1
44794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44795 fi
44796
44797
44798 if test "$wxUSE_IMAGE" = "yes" ; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_IMAGE 1
44801 _ACEOF
44802
44803
44804 if test "$wxUSE_GIF" = "yes" ; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_GIF 1
44807 _ACEOF
44808
44809 fi
44810
44811 if test "$wxUSE_PCX" = "yes" ; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_PCX 1
44814 _ACEOF
44815
44816 fi
44817
44818 if test "$wxUSE_TGA" = "yes" ; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_TGA 1
44821 _ACEOF
44822
44823 fi
44824
44825 if test "$wxUSE_IFF" = "yes" ; then
44826 cat >>confdefs.h <<\_ACEOF
44827 #define wxUSE_IFF 1
44828 _ACEOF
44829
44830 fi
44831
44832 if test "$wxUSE_PNM" = "yes" ; then
44833 cat >>confdefs.h <<\_ACEOF
44834 #define wxUSE_PNM 1
44835 _ACEOF
44836
44837 fi
44838
44839 if test "$wxUSE_XPM" = "yes" ; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_XPM 1
44842 _ACEOF
44843
44844 fi
44845
44846 if test "$wxUSE_ICO_CUR" = "yes" ; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_ICO_CUR 1
44849 _ACEOF
44850
44851 fi
44852 fi
44853
44854
44855 if test "$wxUSE_ABOUTDLG" = "yes"; then
44856 cat >>confdefs.h <<\_ACEOF
44857 #define wxUSE_ABOUTDLG 1
44858 _ACEOF
44859
44860 fi
44861
44862 if test "$wxUSE_CHOICEDLG" = "yes"; then
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_CHOICEDLG 1
44865 _ACEOF
44866
44867 fi
44868
44869 if test "$wxUSE_COLOURDLG" = "yes"; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_COLOURDLG 1
44872 _ACEOF
44873
44874 fi
44875
44876 if test "$wxUSE_FILEDLG" = "yes"; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_FILEDLG 1
44879 _ACEOF
44880
44881 fi
44882
44883 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44884 cat >>confdefs.h <<\_ACEOF
44885 #define wxUSE_FINDREPLDLG 1
44886 _ACEOF
44887
44888 fi
44889
44890 if test "$wxUSE_FONTDLG" = "yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_FONTDLG 1
44893 _ACEOF
44894
44895 fi
44896
44897 if test "$wxUSE_DIRDLG" = "yes"; then
44898 if test "$wxUSE_TREECTRL" != "yes"; then
44899 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44900 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44901 else
44902 cat >>confdefs.h <<\_ACEOF
44903 #define wxUSE_DIRDLG 1
44904 _ACEOF
44905
44906 fi
44907 fi
44908
44909 if test "$wxUSE_MSGDLG" = "yes"; then
44910 cat >>confdefs.h <<\_ACEOF
44911 #define wxUSE_MSGDLG 1
44912 _ACEOF
44913
44914 fi
44915
44916 if test "$wxUSE_NUMBERDLG" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_NUMBERDLG 1
44919 _ACEOF
44920
44921 fi
44922
44923 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44925 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44926 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44927 else
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_PROGRESSDLG 1
44930 _ACEOF
44931
44932 fi
44933 fi
44934
44935 if test "$wxUSE_SPLASH" = "yes"; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_SPLASH 1
44938 _ACEOF
44939
44940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44941 fi
44942
44943 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44944 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44945 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44946 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44947 else
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_STARTUP_TIPS 1
44950 _ACEOF
44951
44952 fi
44953 fi
44954
44955 if test "$wxUSE_TEXTDLG" = "yes"; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_TEXTDLG 1
44958 _ACEOF
44959
44960 fi
44961
44962 if test "$wxUSE_WIZARDDLG" = "yes"; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_WIZARDDLG 1
44965 _ACEOF
44966
44967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44968 fi
44969
44970
44971 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44972 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44973 cat >>confdefs.h <<\_ACEOF
44974 #define wxUSE_GRAPHICS_CONTEXT 1
44975 _ACEOF
44976
44977 elif test "$wxUSE_GTK" != 1; then
44978 cat >>confdefs.h <<\_ACEOF
44979 #define wxUSE_GRAPHICS_CONTEXT 1
44980 _ACEOF
44981
44982 else
44983
44984 pkg_failed=no
44985 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44986 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44987
44988 if test -n "$PKG_CONFIG"; then
44989 if test -n "$CAIRO_CFLAGS"; then
44990 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44991 else
44992 if test -n "$PKG_CONFIG" && \
44993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44994 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44995 ac_status=$?
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; then
44998 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44999 else
45000 pkg_failed=yes
45001 fi
45002 fi
45003 else
45004 pkg_failed=untried
45005 fi
45006 if test -n "$PKG_CONFIG"; then
45007 if test -n "$CAIRO_LIBS"; then
45008 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45009 else
45010 if test -n "$PKG_CONFIG" && \
45011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45012 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45013 ac_status=$?
45014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45015 (exit $ac_status); }; then
45016 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45017 else
45018 pkg_failed=yes
45019 fi
45020 fi
45021 else
45022 pkg_failed=untried
45023 fi
45024
45025
45026
45027 if test $pkg_failed = yes; then
45028
45029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45030 _pkg_short_errors_supported=yes
45031 else
45032 _pkg_short_errors_supported=no
45033 fi
45034 if test $_pkg_short_errors_supported = yes; then
45035 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45036 else
45037 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45038 fi
45039 # Put the nasty error message in config.log where it belongs
45040 echo "$CAIRO_PKG_ERRORS" >&5
45041
45042 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45043 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45044
45045 elif test $pkg_failed = untried; then
45046 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45047 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45048
45049 else
45050 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45051 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45052 { echo "$as_me:$LINENO: result: yes" >&5
45053 echo "${ECHO_T}yes" >&6; }
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_GRAPHICS_CONTEXT 1
45056 _ACEOF
45057
45058 fi
45059 fi
45060 fi
45061
45062
45063 USE_MEDIA=0
45064
45065 if test "$wxUSE_MEDIACTRL" = "yes"; then
45066 USE_MEDIA=1
45067
45068 if test "$wxUSE_GTK" = 1; then
45069 wxUSE_GSTREAMER="no"
45070
45071 GST_VERSION_MAJOR=0
45072 GST_VERSION_MINOR=10
45073 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45074
45075 if test "$wxUSE_GSTREAMER8" = "no"; then
45076
45077 pkg_failed=no
45078 { echo "$as_me:$LINENO: checking for GST" >&5
45079 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45080
45081 if test -n "$PKG_CONFIG"; then
45082 if test -n "$GST_CFLAGS"; then
45083 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45084 else
45085 if test -n "$PKG_CONFIG" && \
45086 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45087 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45088 ac_status=$?
45089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45090 (exit $ac_status); }; then
45091 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45092 else
45093 pkg_failed=yes
45094 fi
45095 fi
45096 else
45097 pkg_failed=untried
45098 fi
45099 if test -n "$PKG_CONFIG"; then
45100 if test -n "$GST_LIBS"; then
45101 pkg_cv_GST_LIBS="$GST_LIBS"
45102 else
45103 if test -n "$PKG_CONFIG" && \
45104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45105 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45106 ac_status=$?
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); }; then
45109 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45110 else
45111 pkg_failed=yes
45112 fi
45113 fi
45114 else
45115 pkg_failed=untried
45116 fi
45117
45118
45119
45120 if test $pkg_failed = yes; then
45121
45122 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45123 _pkg_short_errors_supported=yes
45124 else
45125 _pkg_short_errors_supported=no
45126 fi
45127 if test $_pkg_short_errors_supported = yes; then
45128 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45129 else
45130 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45131 fi
45132 # Put the nasty error message in config.log where it belongs
45133 echo "$GST_PKG_ERRORS" >&5
45134
45135
45136 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45137 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45138 GST_VERSION_MINOR=8
45139
45140
45141 elif test $pkg_failed = untried; then
45142
45143 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45144 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45145 GST_VERSION_MINOR=8
45146
45147
45148 else
45149 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45150 GST_LIBS=$pkg_cv_GST_LIBS
45151 { echo "$as_me:$LINENO: result: yes" >&5
45152 echo "${ECHO_T}yes" >&6; }
45153
45154 wxUSE_GSTREAMER="yes"
45155 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45156
45157 fi
45158 else
45159 GST_VERSION_MINOR=8
45160 fi
45161
45162 if test $GST_VERSION_MINOR = "8"; then
45163 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45164
45165 pkg_failed=no
45166 { echo "$as_me:$LINENO: checking for GST" >&5
45167 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45168
45169 if test -n "$PKG_CONFIG"; then
45170 if test -n "$GST_CFLAGS"; then
45171 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45172 else
45173 if test -n "$PKG_CONFIG" && \
45174 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45175 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45176 ac_status=$?
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); }; then
45179 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45180 else
45181 pkg_failed=yes
45182 fi
45183 fi
45184 else
45185 pkg_failed=untried
45186 fi
45187 if test -n "$PKG_CONFIG"; then
45188 if test -n "$GST_LIBS"; then
45189 pkg_cv_GST_LIBS="$GST_LIBS"
45190 else
45191 if test -n "$PKG_CONFIG" && \
45192 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45193 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45194 ac_status=$?
45195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45196 (exit $ac_status); }; then
45197 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45198 else
45199 pkg_failed=yes
45200 fi
45201 fi
45202 else
45203 pkg_failed=untried
45204 fi
45205
45206
45207
45208 if test $pkg_failed = yes; then
45209
45210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45211 _pkg_short_errors_supported=yes
45212 else
45213 _pkg_short_errors_supported=no
45214 fi
45215 if test $_pkg_short_errors_supported = yes; then
45216 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45217 else
45218 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45219 fi
45220 # Put the nasty error message in config.log where it belongs
45221 echo "$GST_PKG_ERRORS" >&5
45222
45223
45224 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45225 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45226
45227 elif test $pkg_failed = untried; then
45228
45229 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45230 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45231
45232 else
45233 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45234 GST_LIBS=$pkg_cv_GST_LIBS
45235 { echo "$as_me:$LINENO: result: yes" >&5
45236 echo "${ECHO_T}yes" >&6; }
45237 wxUSE_GSTREAMER="yes"
45238 fi
45239 fi
45240
45241
45242 if test "$wxUSE_GSTREAMER" = "yes"; then
45243 case "${host}" in
45244 *-*-solaris2* )
45245 if "$GCC" = yes; then
45246 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45247 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45248 fi
45249 esac
45250
45251 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45252 LIBS="$GST_LIBS $LIBS"
45253
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_GSTREAMER 1
45256 _ACEOF
45257
45258 else
45259 USE_MEDIA=0
45260 fi
45261 fi
45262
45263 if test $USE_MEDIA = 1; then
45264 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_MEDIACTRL 1
45267 _ACEOF
45268
45269 fi
45270 fi
45271
45272
45273 if test "$cross_compiling" = "yes"; then
45274 OSINFO="\"$host\""
45275 else
45276 OSINFO=`uname -s -r -m`
45277 OSINFO="\"$OSINFO\""
45278 fi
45279
45280 cat >>confdefs.h <<_ACEOF
45281 #define WXWIN_OS_DESCRIPTION $OSINFO
45282 _ACEOF
45283
45284
45285
45286 if test "x$prefix" != "xNONE"; then
45287 wxPREFIX=$prefix
45288 else
45289 wxPREFIX=$ac_default_prefix
45290 fi
45291
45292 cat >>confdefs.h <<_ACEOF
45293 #define wxINSTALL_PREFIX "$wxPREFIX"
45294 _ACEOF
45295
45296
45297
45298
45299 CORE_BASE_LIBS="net base"
45300 CORE_GUI_LIBS="adv core"
45301
45302 if test "$wxUSE_XML" = "yes" ; then
45303 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45304 fi
45305 if test "$wxUSE_ODBC" != "no" ; then
45306 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45307 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45308 fi
45309 if test "$wxUSE_HTML" = "yes" ; then
45310 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45311 fi
45312 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45313 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45314 fi
45315 if test "$wxUSE_XRC" = "yes" ; then
45316 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45317 fi
45318 if test "$wxUSE_AUI" = "yes" ; then
45319 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45320 fi
45321 if test "$wxUSE_STC" = "yes" ; then
45322 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45323 fi
45324
45325 if test "$wxUSE_GUI" != "yes"; then
45326 CORE_GUI_LIBS=""
45327 fi
45328
45329
45330
45331
45332
45333
45334 if test "$wxUSE_MAC" = 1 ; then
45335 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45336 if test "$USE_DARWIN" = 1; then
45337 LDFLAGS="$LDFLAGS -framework QuickTime"
45338 else
45339 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45340 fi
45341 fi
45342 if test "$USE_DARWIN" = 1; then
45343 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45344 else
45345 LDFLAGS="$LDFLAGS -lCarbonLib"
45346 fi
45347 fi
45348 if test "$wxUSE_COCOA" = 1 ; then
45349 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45350 if test "$wxUSE_MEDIACTRL" = "yes"; then
45351 LDFLAGS="$LDFLAGS -framework QuickTime"
45352 fi
45353 fi
45354 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45355 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45356 fi
45357
45358 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45359
45360 if test "$wxUSE_GUI" = "yes"; then
45361
45362
45363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45364 dynamic erase event exec font image minimal mobile \
45365 mobile/wxedit mobile/styles propsize render \
45366 rotate shaped svg taborder vscroll widgets"
45367
45368 if test "$wxUSE_MONOLITHIC" != "yes"; then
45369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45370 fi
45371 if test "$TOOLKIT" = "MSW"; then
45372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45373 if test "$wxUSE_UNIVERSAL" != "yes"; then
45374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45375 fi
45376 fi
45377 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45379 fi
45380 else
45381 SAMPLES_SUBDIRS="console"
45382 fi
45383
45384
45385 if test "x$INTELCC" = "xyes" ; then
45386 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45387 elif test "$GCC" = yes ; then
45388 CWARNINGS="-Wall -Wundef"
45389 fi
45390
45391 if test "x$INTELCXX" = "xyes" ; then
45392 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45393 elif test "$GXX" = yes ; then
45394 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45395 fi
45396
45397
45398 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45399 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45400
45401
45402 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45403 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45404 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45405 $CPPFLAGS `
45406
45407 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45408 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45409 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45410
45411 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45412
45413
45414 if test "x$MWCC" = "xyes"; then
45415
45416 CC="$CC -cwd source -I-"
45417 CXX="$CXX -cwd source -I-"
45418 fi
45419
45420
45421 LIBS=`echo $LIBS`
45422 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45423 EXTRALIBS_XML="$EXPAT_LINK"
45424 EXTRALIBS_HTML="$MSPACK_LINK"
45425 EXTRALIBS_ODBC="$ODBC_LINK"
45426 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45427 if test "$wxUSE_GUI" = "yes"; then
45428 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45429 fi
45430 if test "$wxUSE_OPENGL" = "yes"; then
45431 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45432 fi
45433
45434 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45435
45436 WXCONFIG_LIBS="$LIBS"
45437
45438 if test "$wxUSE_REGEX" = "builtin" ; then
45439 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45440 fi
45441 if test "$wxUSE_EXPAT" = "builtin" ; then
45442 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45443 fi
45444 if test "$wxUSE_ODBC" = "builtin" ; then
45445 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45446 fi
45447 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45448 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45449 fi
45450 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45451 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45452 fi
45453 if test "$wxUSE_LIBPNG" = "builtin" ; then
45454 wxconfig_3rdparty="png $wxconfig_3rdparty"
45455 fi
45456 if test "$wxUSE_ZLIB" = "builtin" ; then
45457 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45458 fi
45459
45460 for i in $wxconfig_3rdparty ; do
45461 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45462 done
45463
45464
45465 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45466 WXUNIV=1
45467
45468 case "$wxUNIV_THEMES" in
45469 ''|all)
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_ALL_THEMES 1
45472 _ACEOF
45473
45474 ;;
45475
45476 *)
45477 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45478 cat >>confdefs.h <<_ACEOF
45479 #define wxUSE_THEME_$t 1
45480 _ACEOF
45481
45482 done
45483 esac
45484 else
45485 WXUNIV=0
45486 fi
45487
45488
45489
45490
45491
45492
45493
45494
45495
45496 if test $wxUSE_MONOLITHIC = "yes" ; then
45497 MONOLITHIC=1
45498 else
45499 MONOLITHIC=0
45500 fi
45501
45502 if test $wxUSE_PLUGINS = "yes" ; then
45503 USE_PLUGINS=1
45504 else
45505 USE_PLUGINS=0
45506 fi
45507
45508 if test $wxUSE_ODBC != "no" ; then
45509 USE_ODBC=1
45510 else
45511 USE_ODBC=0
45512 fi
45513
45514 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45515 USE_QA=1
45516 else
45517 USE_QA=0
45518 fi
45519
45520 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45521 OFFICIAL_BUILD=1
45522 else
45523 OFFICIAL_BUILD=0
45524 fi
45525
45526
45527
45528
45529
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545
45546
45547
45548
45549
45550
45551 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45552
45553
45554
45555
45556
45557
45558
45559
45560 case "$TOOLKIT" in
45561 GTK)
45562 TOOLKIT_DESC="GTK+"
45563 if test "$WXGTK20" = 1; then
45564 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45565 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45566 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45567 fi
45568 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45569 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45570 fi
45571 if test "$wxUSE_LIBHILDON" = "yes"; then
45572 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45573 fi
45574
45575 if test "$TOOLKIT_EXTRA" != ""; then
45576 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45577 fi
45578 fi
45579 ;;
45580
45581 ?*)
45582 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45583 ;;
45584
45585 *)
45586 TOOLKIT_DESC="base only"
45587 ;;
45588 esac
45589
45590 if test "$wxUSE_WINE" = "yes"; then
45591 BAKEFILE_FORCE_PLATFORM=win32
45592 fi
45593
45594 if test "$wxUSE_MAC" = 1 ; then
45595 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45596 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45597 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45598 else
45599 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45600 fi
45601 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45602 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45603 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45604 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45605 bk_use_pch=no
45606 fi
45607 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45608 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45609 fi
45610
45611 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45612 then
45613 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45614 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45615 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45616 echo $ECHO_N "(cached) $ECHO_C" >&6
45617 else
45618
45619 echo '#include <stdio.h>
45620 const wchar_t test_var[] = L"awidetest";' > conftest.h
45621
45622 echo '#include "conftest.h"
45623 int main()
45624 {
45625 printf("%ls", test_var);
45626 return 0;
45627 }' > conftest.cpp
45628
45629 wx_cv_gcc_pch_bug="pch not supported"
45630
45631 if $CXX conftest.h >/dev/null 2>&1
45632 then
45633 wx_cv_gcc_pch_bug=
45634
45635 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45636 then
45637 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45638 grep awidetest >/dev/null
45639 then
45640 wx_cv_gcc_pch_bug=no
45641 else
45642 wx_cv_gcc_pch_bug=yes
45643 fi
45644 fi
45645 fi
45646
45647 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45648
45649 fi
45650 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45651 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45652
45653 if test "$wx_cv_gcc_pch_bug" = yes; then
45654 bk_use_pch=no
45655 fi
45656 fi
45657
45658
45659
45660
45661 if test "x$BAKEFILE_HOST" = "x"; then
45662 if test "x${host}" = "x" ; then
45663 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45664 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45665 { (exit 1); exit 1; }; }
45666 fi
45667
45668 BAKEFILE_HOST="${host}"
45669 fi
45670
45671 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45672
45673 if test -n "$ac_tool_prefix"; then
45674 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45675 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45678 if test "${ac_cv_prog_RANLIB+set}" = set; then
45679 echo $ECHO_N "(cached) $ECHO_C" >&6
45680 else
45681 if test -n "$RANLIB"; then
45682 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45683 else
45684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45685 for as_dir in $PATH
45686 do
45687 IFS=$as_save_IFS
45688 test -z "$as_dir" && as_dir=.
45689 for ac_exec_ext in '' $ac_executable_extensions; do
45690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45691 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45693 break 2
45694 fi
45695 done
45696 done
45697 IFS=$as_save_IFS
45698
45699 fi
45700 fi
45701 RANLIB=$ac_cv_prog_RANLIB
45702 if test -n "$RANLIB"; then
45703 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45704 echo "${ECHO_T}$RANLIB" >&6; }
45705 else
45706 { echo "$as_me:$LINENO: result: no" >&5
45707 echo "${ECHO_T}no" >&6; }
45708 fi
45709
45710
45711 fi
45712 if test -z "$ac_cv_prog_RANLIB"; then
45713 ac_ct_RANLIB=$RANLIB
45714 # Extract the first word of "ranlib", so it can be a program name with args.
45715 set dummy ranlib; ac_word=$2
45716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45718 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45719 echo $ECHO_N "(cached) $ECHO_C" >&6
45720 else
45721 if test -n "$ac_ct_RANLIB"; then
45722 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45723 else
45724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45725 for as_dir in $PATH
45726 do
45727 IFS=$as_save_IFS
45728 test -z "$as_dir" && as_dir=.
45729 for ac_exec_ext in '' $ac_executable_extensions; do
45730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45731 ac_cv_prog_ac_ct_RANLIB="ranlib"
45732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45733 break 2
45734 fi
45735 done
45736 done
45737 IFS=$as_save_IFS
45738
45739 fi
45740 fi
45741 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45742 if test -n "$ac_ct_RANLIB"; then
45743 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45744 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45745 else
45746 { echo "$as_me:$LINENO: result: no" >&5
45747 echo "${ECHO_T}no" >&6; }
45748 fi
45749
45750 if test "x$ac_ct_RANLIB" = x; then
45751 RANLIB=":"
45752 else
45753 case $cross_compiling:$ac_tool_warned in
45754 yes:)
45755 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45756 whose name does not start with the host triplet. If you think this
45757 configuration is useful to you, please write to autoconf@gnu.org." >&5
45758 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45759 whose name does not start with the host triplet. If you think this
45760 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45761 ac_tool_warned=yes ;;
45762 esac
45763 RANLIB=$ac_ct_RANLIB
45764 fi
45765 else
45766 RANLIB="$ac_cv_prog_RANLIB"
45767 fi
45768
45769 # Find a good install program. We prefer a C program (faster),
45770 # so one script is as good as another. But avoid the broken or
45771 # incompatible versions:
45772 # SysV /etc/install, /usr/sbin/install
45773 # SunOS /usr/etc/install
45774 # IRIX /sbin/install
45775 # AIX /bin/install
45776 # AmigaOS /C/install, which installs bootblocks on floppy discs
45777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45780 # OS/2's system install, which has a completely different semantic
45781 # ./install, which can be erroneously created by make from ./install.sh.
45782 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45783 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45784 if test -z "$INSTALL"; then
45785 if test "${ac_cv_path_install+set}" = set; then
45786 echo $ECHO_N "(cached) $ECHO_C" >&6
45787 else
45788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45789 for as_dir in $PATH
45790 do
45791 IFS=$as_save_IFS
45792 test -z "$as_dir" && as_dir=.
45793 # Account for people who put trailing slashes in PATH elements.
45794 case $as_dir/ in
45795 ./ | .// | /cC/* | \
45796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45797 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45798 /usr/ucb/* ) ;;
45799 *)
45800 # OSF1 and SCO ODT 3.0 have their own names for install.
45801 # Don't use installbsd from OSF since it installs stuff as root
45802 # by default.
45803 for ac_prog in ginstall scoinst install; do
45804 for ac_exec_ext in '' $ac_executable_extensions; do
45805 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45806 if test $ac_prog = install &&
45807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45808 # AIX install. It has an incompatible calling convention.
45809 :
45810 elif test $ac_prog = install &&
45811 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45812 # program-specific install script used by HP pwplus--don't use.
45813 :
45814 else
45815 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45816 break 3
45817 fi
45818 fi
45819 done
45820 done
45821 ;;
45822 esac
45823 done
45824 IFS=$as_save_IFS
45825
45826
45827 fi
45828 if test "${ac_cv_path_install+set}" = set; then
45829 INSTALL=$ac_cv_path_install
45830 else
45831 # As a last resort, use the slow shell script. Don't cache a
45832 # value for INSTALL within a source directory, because that will
45833 # break other packages using the cache if that directory is
45834 # removed, or if the value is a relative name.
45835 INSTALL=$ac_install_sh
45836 fi
45837 fi
45838 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45839 echo "${ECHO_T}$INSTALL" >&6; }
45840
45841 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45842 # It thinks the first close brace ends the variable substitution.
45843 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45844
45845 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45846
45847 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45848
45849 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45851 LN_S=$as_ln_s
45852 if test "$LN_S" = "ln -s"; then
45853 { echo "$as_me:$LINENO: result: yes" >&5
45854 echo "${ECHO_T}yes" >&6; }
45855 else
45856 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45857 echo "${ECHO_T}no, using $LN_S" >&6; }
45858 fi
45859
45860
45861 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45862 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45863 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45864 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45866 else
45867 cat >conftest.make <<\_ACEOF
45868 SHELL = /bin/sh
45869 all:
45870 @echo '@@@%%%=$(MAKE)=@@@%%%'
45871 _ACEOF
45872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45873 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45874 *@@@%%%=?*=@@@%%%*)
45875 eval ac_cv_prog_make_${ac_make}_set=yes;;
45876 *)
45877 eval ac_cv_prog_make_${ac_make}_set=no;;
45878 esac
45879 rm -f conftest.make
45880 fi
45881 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45882 { echo "$as_me:$LINENO: result: yes" >&5
45883 echo "${ECHO_T}yes" >&6; }
45884 SET_MAKE=
45885 else
45886 { echo "$as_me:$LINENO: result: no" >&5
45887 echo "${ECHO_T}no" >&6; }
45888 SET_MAKE="MAKE=${MAKE-make}"
45889 fi
45890
45891
45892
45893 if test "x$SUNCXX" = "xyes"; then
45894 AR=$CXX
45895 AROPTIONS="-xar -o"
45896
45897 elif test "x$SGICC" = "xyes"; then
45898 AR=$CXX
45899 AROPTIONS="-ar -o"
45900
45901 else
45902 if test -n "$ac_tool_prefix"; then
45903 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45904 set dummy ${ac_tool_prefix}ar; ac_word=$2
45905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45907 if test "${ac_cv_prog_AR+set}" = set; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45909 else
45910 if test -n "$AR"; then
45911 ac_cv_prog_AR="$AR" # Let the user override the test.
45912 else
45913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45914 for as_dir in $PATH
45915 do
45916 IFS=$as_save_IFS
45917 test -z "$as_dir" && as_dir=.
45918 for ac_exec_ext in '' $ac_executable_extensions; do
45919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45920 ac_cv_prog_AR="${ac_tool_prefix}ar"
45921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45922 break 2
45923 fi
45924 done
45925 done
45926 IFS=$as_save_IFS
45927
45928 fi
45929 fi
45930 AR=$ac_cv_prog_AR
45931 if test -n "$AR"; then
45932 { echo "$as_me:$LINENO: result: $AR" >&5
45933 echo "${ECHO_T}$AR" >&6; }
45934 else
45935 { echo "$as_me:$LINENO: result: no" >&5
45936 echo "${ECHO_T}no" >&6; }
45937 fi
45938
45939
45940 fi
45941 if test -z "$ac_cv_prog_AR"; then
45942 ac_ct_AR=$AR
45943 # Extract the first word of "ar", so it can be a program name with args.
45944 set dummy ar; ac_word=$2
45945 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45947 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45948 echo $ECHO_N "(cached) $ECHO_C" >&6
45949 else
45950 if test -n "$ac_ct_AR"; then
45951 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45952 else
45953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45954 for as_dir in $PATH
45955 do
45956 IFS=$as_save_IFS
45957 test -z "$as_dir" && as_dir=.
45958 for ac_exec_ext in '' $ac_executable_extensions; do
45959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45960 ac_cv_prog_ac_ct_AR="ar"
45961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45962 break 2
45963 fi
45964 done
45965 done
45966 IFS=$as_save_IFS
45967
45968 fi
45969 fi
45970 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45971 if test -n "$ac_ct_AR"; then
45972 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45973 echo "${ECHO_T}$ac_ct_AR" >&6; }
45974 else
45975 { echo "$as_me:$LINENO: result: no" >&5
45976 echo "${ECHO_T}no" >&6; }
45977 fi
45978
45979 if test "x$ac_ct_AR" = x; then
45980 AR="ar"
45981 else
45982 case $cross_compiling:$ac_tool_warned in
45983 yes:)
45984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45985 whose name does not start with the host triplet. If you think this
45986 configuration is useful to you, please write to autoconf@gnu.org." >&5
45987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45988 whose name does not start with the host triplet. If you think this
45989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45990 ac_tool_warned=yes ;;
45991 esac
45992 AR=$ac_ct_AR
45993 fi
45994 else
45995 AR="$ac_cv_prog_AR"
45996 fi
45997
45998 AROPTIONS=rcu
45999 fi
46000
46001
46002 if test -n "$ac_tool_prefix"; then
46003 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46004 set dummy ${ac_tool_prefix}strip; ac_word=$2
46005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46007 if test "${ac_cv_prog_STRIP+set}" = set; then
46008 echo $ECHO_N "(cached) $ECHO_C" >&6
46009 else
46010 if test -n "$STRIP"; then
46011 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46012 else
46013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46014 for as_dir in $PATH
46015 do
46016 IFS=$as_save_IFS
46017 test -z "$as_dir" && as_dir=.
46018 for ac_exec_ext in '' $ac_executable_extensions; do
46019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46020 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46022 break 2
46023 fi
46024 done
46025 done
46026 IFS=$as_save_IFS
46027
46028 fi
46029 fi
46030 STRIP=$ac_cv_prog_STRIP
46031 if test -n "$STRIP"; then
46032 { echo "$as_me:$LINENO: result: $STRIP" >&5
46033 echo "${ECHO_T}$STRIP" >&6; }
46034 else
46035 { echo "$as_me:$LINENO: result: no" >&5
46036 echo "${ECHO_T}no" >&6; }
46037 fi
46038
46039
46040 fi
46041 if test -z "$ac_cv_prog_STRIP"; then
46042 ac_ct_STRIP=$STRIP
46043 # Extract the first word of "strip", so it can be a program name with args.
46044 set dummy strip; ac_word=$2
46045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46047 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46048 echo $ECHO_N "(cached) $ECHO_C" >&6
46049 else
46050 if test -n "$ac_ct_STRIP"; then
46051 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46052 else
46053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46054 for as_dir in $PATH
46055 do
46056 IFS=$as_save_IFS
46057 test -z "$as_dir" && as_dir=.
46058 for ac_exec_ext in '' $ac_executable_extensions; do
46059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46060 ac_cv_prog_ac_ct_STRIP="strip"
46061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46062 break 2
46063 fi
46064 done
46065 done
46066 IFS=$as_save_IFS
46067
46068 fi
46069 fi
46070 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46071 if test -n "$ac_ct_STRIP"; then
46072 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46073 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46074 else
46075 { echo "$as_me:$LINENO: result: no" >&5
46076 echo "${ECHO_T}no" >&6; }
46077 fi
46078
46079 if test "x$ac_ct_STRIP" = x; then
46080 STRIP=":"
46081 else
46082 case $cross_compiling:$ac_tool_warned in
46083 yes:)
46084 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46085 whose name does not start with the host triplet. If you think this
46086 configuration is useful to you, please write to autoconf@gnu.org." >&5
46087 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46088 whose name does not start with the host triplet. If you think this
46089 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46090 ac_tool_warned=yes ;;
46091 esac
46092 STRIP=$ac_ct_STRIP
46093 fi
46094 else
46095 STRIP="$ac_cv_prog_STRIP"
46096 fi
46097
46098 if test -n "$ac_tool_prefix"; then
46099 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46100 set dummy ${ac_tool_prefix}nm; ac_word=$2
46101 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46103 if test "${ac_cv_prog_NM+set}" = set; then
46104 echo $ECHO_N "(cached) $ECHO_C" >&6
46105 else
46106 if test -n "$NM"; then
46107 ac_cv_prog_NM="$NM" # Let the user override the test.
46108 else
46109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46110 for as_dir in $PATH
46111 do
46112 IFS=$as_save_IFS
46113 test -z "$as_dir" && as_dir=.
46114 for ac_exec_ext in '' $ac_executable_extensions; do
46115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46116 ac_cv_prog_NM="${ac_tool_prefix}nm"
46117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46118 break 2
46119 fi
46120 done
46121 done
46122 IFS=$as_save_IFS
46123
46124 fi
46125 fi
46126 NM=$ac_cv_prog_NM
46127 if test -n "$NM"; then
46128 { echo "$as_me:$LINENO: result: $NM" >&5
46129 echo "${ECHO_T}$NM" >&6; }
46130 else
46131 { echo "$as_me:$LINENO: result: no" >&5
46132 echo "${ECHO_T}no" >&6; }
46133 fi
46134
46135
46136 fi
46137 if test -z "$ac_cv_prog_NM"; then
46138 ac_ct_NM=$NM
46139 # Extract the first word of "nm", so it can be a program name with args.
46140 set dummy nm; ac_word=$2
46141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46143 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46144 echo $ECHO_N "(cached) $ECHO_C" >&6
46145 else
46146 if test -n "$ac_ct_NM"; then
46147 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46148 else
46149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46150 for as_dir in $PATH
46151 do
46152 IFS=$as_save_IFS
46153 test -z "$as_dir" && as_dir=.
46154 for ac_exec_ext in '' $ac_executable_extensions; do
46155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46156 ac_cv_prog_ac_ct_NM="nm"
46157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46158 break 2
46159 fi
46160 done
46161 done
46162 IFS=$as_save_IFS
46163
46164 fi
46165 fi
46166 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46167 if test -n "$ac_ct_NM"; then
46168 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46169 echo "${ECHO_T}$ac_ct_NM" >&6; }
46170 else
46171 { echo "$as_me:$LINENO: result: no" >&5
46172 echo "${ECHO_T}no" >&6; }
46173 fi
46174
46175 if test "x$ac_ct_NM" = x; then
46176 NM=":"
46177 else
46178 case $cross_compiling:$ac_tool_warned in
46179 yes:)
46180 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46181 whose name does not start with the host triplet. If you think this
46182 configuration is useful to you, please write to autoconf@gnu.org." >&5
46183 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46184 whose name does not start with the host triplet. If you think this
46185 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46186 ac_tool_warned=yes ;;
46187 esac
46188 NM=$ac_ct_NM
46189 fi
46190 else
46191 NM="$ac_cv_prog_NM"
46192 fi
46193
46194
46195 case ${BAKEFILE_HOST} in
46196 *-hp-hpux* )
46197 INSTALL_DIR="mkdir -p"
46198 ;;
46199 * )
46200 INSTALL_DIR='$(INSTALL) -d'
46201 ;;
46202 esac
46203
46204
46205 LDFLAGS_GUI=
46206 case ${BAKEFILE_HOST} in
46207 *-*-cygwin* | *-*-mingw32* )
46208 LDFLAGS_GUI="-mwindows"
46209 esac
46210
46211
46212 fi
46213
46214 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46215 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46216 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46217 echo $ECHO_N "(cached) $ECHO_C" >&6
46218 else
46219
46220 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46221 egrep -s GNU > /dev/null); then
46222 bakefile_cv_prog_makeisgnu="yes"
46223 else
46224 bakefile_cv_prog_makeisgnu="no"
46225 fi
46226
46227 fi
46228 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46229 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46230
46231 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46232 IF_GNU_MAKE=""
46233 else
46234 IF_GNU_MAKE="#"
46235 fi
46236
46237
46238
46239 PLATFORM_UNIX=0
46240 PLATFORM_WIN32=0
46241 PLATFORM_MSDOS=0
46242 PLATFORM_MAC=0
46243 PLATFORM_MACOS=0
46244 PLATFORM_MACOSX=0
46245 PLATFORM_OS2=0
46246 PLATFORM_BEOS=0
46247
46248 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46249 case "${BAKEFILE_HOST}" in
46250 *-*-mingw32* )
46251 PLATFORM_WIN32=1
46252 ;;
46253 *-pc-msdosdjgpp )
46254 PLATFORM_MSDOS=1
46255 ;;
46256 *-pc-os2_emx | *-pc-os2-emx )
46257 PLATFORM_OS2=1
46258 ;;
46259 *-*-darwin* )
46260 PLATFORM_MAC=1
46261 PLATFORM_MACOSX=1
46262 ;;
46263 *-*-beos* )
46264 PLATFORM_BEOS=1
46265 ;;
46266 powerpc-apple-macos* )
46267 PLATFORM_MAC=1
46268 PLATFORM_MACOS=1
46269 ;;
46270 * )
46271 PLATFORM_UNIX=1
46272 ;;
46273 esac
46274 else
46275 case "$BAKEFILE_FORCE_PLATFORM" in
46276 win32 )
46277 PLATFORM_WIN32=1
46278 ;;
46279 msdos )
46280 PLATFORM_MSDOS=1
46281 ;;
46282 os2 )
46283 PLATFORM_OS2=1
46284 ;;
46285 darwin )
46286 PLATFORM_MAC=1
46287 PLATFORM_MACOSX=1
46288 ;;
46289 unix )
46290 PLATFORM_UNIX=1
46291 ;;
46292 beos )
46293 PLATFORM_BEOS=1
46294 ;;
46295 * )
46296 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46297 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46298 { (exit 1); exit 1; }; }
46299 ;;
46300 esac
46301 fi
46302
46303
46304
46305
46306
46307
46308
46309
46310
46311
46312
46313 # Check whether --enable-omf was given.
46314 if test "${enable_omf+set}" = set; then
46315 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46316 fi
46317
46318
46319 case "${BAKEFILE_HOST}" in
46320 *-*-darwin* )
46321 if test "x$GCC" = "xyes"; then
46322 CFLAGS="$CFLAGS -fno-common"
46323 CXXFLAGS="$CXXFLAGS -fno-common"
46324 fi
46325 if test "x$XLCC" = "xyes"; then
46326 CFLAGS="$CFLAGS -qnocommon"
46327 CXXFLAGS="$CXXFLAGS -qnocommon"
46328 fi
46329 ;;
46330
46331 *-pc-os2_emx | *-pc-os2-emx )
46332 if test "x$bk_os2_use_omf" = "xyes" ; then
46333 AR=emxomfar
46334 RANLIB=:
46335 LDFLAGS="-Zomf $LDFLAGS"
46336 CFLAGS="-Zomf $CFLAGS"
46337 CXXFLAGS="-Zomf $CXXFLAGS"
46338 OS2_LIBEXT="lib"
46339 else
46340 OS2_LIBEXT="a"
46341 fi
46342 ;;
46343
46344 i*86-*-beos* )
46345 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46346 ;;
46347 esac
46348
46349
46350 SO_SUFFIX="so"
46351 SO_SUFFIX_MODULE="so"
46352 EXEEXT=""
46353 LIBPREFIX="lib"
46354 LIBEXT=".a"
46355 DLLPREFIX="lib"
46356 DLLPREFIX_MODULE=""
46357 DLLIMP_SUFFIX=""
46358 dlldir="$libdir"
46359
46360 case "${BAKEFILE_HOST}" in
46361 *-hp-hpux* )
46362 SO_SUFFIX="sl"
46363 SO_SUFFIX_MODULE="sl"
46364 ;;
46365 *-*-aix* )
46366 SO_SUFFIX="a"
46367 SO_SUFFIX_MODULE="a"
46368 ;;
46369 *-*-cygwin* )
46370 SO_SUFFIX="dll"
46371 SO_SUFFIX_MODULE="dll"
46372 DLLIMP_SUFFIX="dll.a"
46373 EXEEXT=".exe"
46374 DLLPREFIX="cyg"
46375 dlldir="$bindir"
46376 ;;
46377 *-*-mingw32* )
46378 SO_SUFFIX="dll"
46379 SO_SUFFIX_MODULE="dll"
46380 DLLIMP_SUFFIX="dll.a"
46381 EXEEXT=".exe"
46382 DLLPREFIX=""
46383 dlldir="$bindir"
46384 ;;
46385 *-pc-msdosdjgpp )
46386 EXEEXT=".exe"
46387 DLLPREFIX=""
46388 dlldir="$bindir"
46389 ;;
46390 *-pc-os2_emx | *-pc-os2-emx )
46391 SO_SUFFIX="dll"
46392 SO_SUFFIX_MODULE="dll"
46393 DLLIMP_SUFFIX=$OS2_LIBEXT
46394 EXEEXT=".exe"
46395 DLLPREFIX=""
46396 LIBPREFIX=""
46397 LIBEXT=".$OS2_LIBEXT"
46398 dlldir="$bindir"
46399 ;;
46400 *-*-darwin* )
46401 SO_SUFFIX="dylib"
46402 SO_SUFFIX_MODULE="bundle"
46403 ;;
46404 esac
46405
46406 if test "x$DLLIMP_SUFFIX" = "x" ; then
46407 DLLIMP_SUFFIX="$SO_SUFFIX"
46408 fi
46409
46410
46411
46412
46413
46414
46415
46416
46417
46418
46419
46420
46421 PIC_FLAG=""
46422 if test "x$GCC" = "xyes"; then
46423 PIC_FLAG="-fPIC"
46424 fi
46425
46426 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46427 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46428 WINDOWS_IMPLIB=0
46429
46430 case "${BAKEFILE_HOST}" in
46431 *-hp-hpux* )
46432 if test "x$GCC" != "xyes"; then
46433 LDFLAGS="$LDFLAGS -L/usr/lib"
46434
46435 SHARED_LD_CC="${CC} -b -o"
46436 SHARED_LD_CXX="${CXX} -b -o"
46437 PIC_FLAG="+Z"
46438 fi
46439 ;;
46440
46441 *-*-linux* )
46442 if test "x$GCC" != "xyes"; then
46443 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46444 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46445 if test "${bakefile_cv_prog_icc+set}" = set; then
46446 echo $ECHO_N "(cached) $ECHO_C" >&6
46447 else
46448
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455
46456 int
46457 main ()
46458 {
46459
46460 #ifndef __INTEL_COMPILER
46461 This is not ICC
46462 #endif
46463
46464 ;
46465 return 0;
46466 }
46467 _ACEOF
46468 rm -f conftest.$ac_objext
46469 if { (ac_try="$ac_compile"
46470 case "(($ac_try" in
46471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46472 *) ac_try_echo=$ac_try;;
46473 esac
46474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46475 (eval "$ac_compile") 2>conftest.er1
46476 ac_status=$?
46477 grep -v '^ *+' conftest.er1 >conftest.err
46478 rm -f conftest.er1
46479 cat conftest.err >&5
46480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46481 (exit $ac_status); } && {
46482 test -z "$ac_c_werror_flag" ||
46483 test ! -s conftest.err
46484 } && test -s conftest.$ac_objext; then
46485 bakefile_cv_prog_icc=yes
46486 else
46487 echo "$as_me: failed program was:" >&5
46488 sed 's/^/| /' conftest.$ac_ext >&5
46489
46490 bakefile_cv_prog_icc=no
46491
46492 fi
46493
46494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46495
46496 fi
46497 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46498 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46499 if test "$bakefile_cv_prog_icc" = "yes"; then
46500 PIC_FLAG="-KPIC"
46501 fi
46502 fi
46503 ;;
46504
46505 *-*-solaris2* )
46506 if test "x$GCC" != xyes ; then
46507 SHARED_LD_CC="${CC} -G -o"
46508 SHARED_LD_CXX="${CXX} -G -o"
46509 PIC_FLAG="-KPIC"
46510 fi
46511 ;;
46512
46513 *-*-darwin* )
46514
46515 D='$'
46516 cat <<EOF >shared-ld-sh
46517 #!/bin/sh
46518 #-----------------------------------------------------------------------------
46519 #-- Name: distrib/mac/shared-ld-sh
46520 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46521 #-- Author: Gilles Depeyrot
46522 #-- Copyright: (c) 2002 Gilles Depeyrot
46523 #-- Licence: any use permitted
46524 #-----------------------------------------------------------------------------
46525
46526 verbose=0
46527 args=""
46528 objects=""
46529 linking_flag="-dynamiclib"
46530 ldargs="-r -keep_private_externs -nostdlib"
46531
46532 while test ${D}# -gt 0; do
46533 case ${D}1 in
46534
46535 -v)
46536 verbose=1
46537 ;;
46538
46539 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46540 # collect these options and values
46541 args="${D}{args} ${D}1 ${D}2"
46542 shift
46543 ;;
46544
46545 -s|-Wl,*)
46546 # collect these load args
46547 ldargs="${D}{ldargs} ${D}1"
46548 ;;
46549
46550 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46551 # collect these options
46552 args="${D}{args} ${D}1"
46553 ;;
46554
46555 -dynamiclib|-bundle)
46556 linking_flag="${D}1"
46557 ;;
46558
46559 -*)
46560 echo "shared-ld: unhandled option '${D}1'"
46561 exit 1
46562 ;;
46563
46564 *.o | *.a | *.dylib)
46565 # collect object files
46566 objects="${D}{objects} ${D}1"
46567 ;;
46568
46569 *)
46570 echo "shared-ld: unhandled argument '${D}1'"
46571 exit 1
46572 ;;
46573
46574 esac
46575 shift
46576 done
46577
46578 status=0
46579
46580 #
46581 # Link one module containing all the others
46582 #
46583 if test ${D}{verbose} = 1; then
46584 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46585 fi
46586 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46587 status=${D}?
46588
46589 #
46590 # Link the shared library from the single module created, but only if the
46591 # previous command didn't fail:
46592 #
46593 if test ${D}{status} = 0; then
46594 if test ${D}{verbose} = 1; then
46595 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46596 fi
46597 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46598 status=${D}?
46599 fi
46600
46601 #
46602 # Remove intermediate module
46603 #
46604 rm -f master.${D}${D}.o
46605
46606 exit ${D}status
46607 EOF
46608
46609 chmod +x shared-ld-sh
46610
46611 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46612 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46613
46614
46615 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46616 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46617 if test "${bakefile_cv_gcc31+set}" = set; then
46618 echo $ECHO_N "(cached) $ECHO_C" >&6
46619 else
46620
46621 cat >conftest.$ac_ext <<_ACEOF
46622 /* confdefs.h. */
46623 _ACEOF
46624 cat confdefs.h >>conftest.$ac_ext
46625 cat >>conftest.$ac_ext <<_ACEOF
46626 /* end confdefs.h. */
46627
46628 int
46629 main ()
46630 {
46631
46632 #if (__GNUC__ < 3) || \
46633 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46634 This is old gcc
46635 #endif
46636
46637 ;
46638 return 0;
46639 }
46640 _ACEOF
46641 rm -f conftest.$ac_objext
46642 if { (ac_try="$ac_compile"
46643 case "(($ac_try" in
46644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46645 *) ac_try_echo=$ac_try;;
46646 esac
46647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46648 (eval "$ac_compile") 2>conftest.er1
46649 ac_status=$?
46650 grep -v '^ *+' conftest.er1 >conftest.err
46651 rm -f conftest.er1
46652 cat conftest.err >&5
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); } && {
46655 test -z "$ac_c_werror_flag" ||
46656 test ! -s conftest.err
46657 } && test -s conftest.$ac_objext; then
46658
46659 bakefile_cv_gcc31=yes
46660
46661 else
46662 echo "$as_me: failed program was:" >&5
46663 sed 's/^/| /' conftest.$ac_ext >&5
46664
46665
46666 bakefile_cv_gcc31=no
46667
46668
46669 fi
46670
46671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46672
46673 fi
46674 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46675 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46676 if test "$bakefile_cv_gcc31" = "no"; then
46677 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46678 SHARED_LD_CXX="$SHARED_LD_CC"
46679 else
46680 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46681 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46682 fi
46683
46684 if test "x$GCC" == "xyes"; then
46685 PIC_FLAG="-dynamic -fPIC"
46686 fi
46687 if test "x$XLCC" = "xyes"; then
46688 PIC_FLAG="-dynamic -DPIC"
46689 fi
46690 ;;
46691
46692 *-*-aix* )
46693 if test "x$GCC" = "xyes"; then
46694 PIC_FLAG=""
46695
46696 case "${BAKEFILE_HOST}" in
46697 *-*-aix5* )
46698 LD_EXPFULL="-Wl,-bexpfull"
46699 ;;
46700 esac
46701
46702 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46703 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46704 else
46705 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46706 set dummy makeC++SharedLib; ac_word=$2
46707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46709 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46710 echo $ECHO_N "(cached) $ECHO_C" >&6
46711 else
46712 if test -n "$AIX_CXX_LD"; then
46713 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46714 else
46715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46716 for as_dir in $PATH
46717 do
46718 IFS=$as_save_IFS
46719 test -z "$as_dir" && as_dir=.
46720 for ac_exec_ext in '' $ac_executable_extensions; do
46721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46722 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46724 break 2
46725 fi
46726 done
46727 done
46728 IFS=$as_save_IFS
46729
46730 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46731 fi
46732 fi
46733 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46734 if test -n "$AIX_CXX_LD"; then
46735 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46736 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46737 else
46738 { echo "$as_me:$LINENO: result: no" >&5
46739 echo "${ECHO_T}no" >&6; }
46740 fi
46741
46742
46743 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46744 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46745 fi
46746 ;;
46747
46748 *-*-beos* )
46749 SHARED_LD_CC="${LD} -nostart -o"
46750 SHARED_LD_CXX="${LD} -nostart -o"
46751 ;;
46752
46753 *-*-irix* )
46754 if test "x$GCC" != "xyes"; then
46755 PIC_FLAG="-KPIC"
46756 fi
46757 ;;
46758
46759 *-*-cygwin* | *-*-mingw32* )
46760 PIC_FLAG=""
46761 SHARED_LD_CC="\$(CC) -shared -o"
46762 SHARED_LD_CXX="\$(CXX) -shared -o"
46763 WINDOWS_IMPLIB=1
46764 ;;
46765
46766 *-pc-os2_emx | *-pc-os2-emx )
46767 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46768 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46769 PIC_FLAG=""
46770
46771 D='$'
46772 cat <<EOF >dllar.sh
46773 #!/bin/sh
46774 #
46775 # dllar - a tool to build both a .dll and an .a file
46776 # from a set of object (.o) files for EMX/OS2.
46777 #
46778 # Written by Andrew Zabolotny, bit@freya.etu.ru
46779 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46780 #
46781 # This script will accept a set of files on the command line.
46782 # All the public symbols from the .o files will be exported into
46783 # a .DEF file, then linker will be run (through gcc) against them to
46784 # build a shared library consisting of all given .o files. All libraries
46785 # (.a) will be first decompressed into component .o files then act as
46786 # described above. You can optionally give a description (-d "description")
46787 # which will be put into .DLL. To see the list of accepted options (as well
46788 # as command-line format) simply run this program without options. The .DLL
46789 # is built to be imported by name (there is no guarantee that new versions
46790 # of the library you build will have same ordinals for same symbols).
46791 #
46792 # dllar is free software; you can redistribute it and/or modify
46793 # it under the terms of the GNU General Public License as published by
46794 # the Free Software Foundation; either version 2, or (at your option)
46795 # any later version.
46796 #
46797 # dllar is distributed in the hope that it will be useful,
46798 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46799 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46800 # GNU General Public License for more details.
46801 #
46802 # You should have received a copy of the GNU General Public License
46803 # along with dllar; see the file COPYING. If not, write to the Free
46804 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46805 # 02111-1307, USA.
46806
46807 # To successfuly run this program you will need:
46808 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46809 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46810 # - gcc
46811 # (used to build the .dll)
46812 # - emxexp
46813 # (used to create .def file from .o files)
46814 # - emximp
46815 # (used to create .a file from .def file)
46816 # - GNU text utilites (cat, sort, uniq)
46817 # used to process emxexp output
46818 # - GNU file utilities (mv, rm)
46819 # - GNU sed
46820 # - lxlite (optional, see flag below)
46821 # (used for general .dll cleanup)
46822 #
46823
46824 flag_USE_LXLITE=1;
46825
46826 #
46827 # helper functions
46828 # basnam, variant of basename, which does _not_ remove the path, _iff_
46829 # second argument (suffix to remove) is given
46830 basnam(){
46831 case ${D}# in
46832 1)
46833 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46834 ;;
46835 2)
46836 echo ${D}1 | sed 's/'${D}2'${D}//'
46837 ;;
46838 *)
46839 echo "error in basnam ${D}*"
46840 exit 8
46841 ;;
46842 esac
46843 }
46844
46845 # Cleanup temporary files and output
46846 CleanUp() {
46847 cd ${D}curDir
46848 for i in ${D}inputFiles ; do
46849 case ${D}i in
46850 *!)
46851 rm -rf \`basnam ${D}i !\`
46852 ;;
46853 *)
46854 ;;
46855 esac
46856 done
46857
46858 # Kill result in case of failure as there is just to many stupid make/nmake
46859 # things out there which doesn't do this.
46860 if [ ${D}# -eq 0 ]; then
46861 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46862 fi
46863 }
46864
46865 # Print usage and exit script with rc=1.
46866 PrintHelp() {
46867 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46868 echo ' [-name-mangler-script script.sh]'
46869 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46870 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46871 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46872 echo ' [*.o] [*.a]'
46873 echo '*> "output_file" should have no extension.'
46874 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46875 echo ' The import library name is derived from this and is set to "name".a,'
46876 echo ' unless overridden by -import'
46877 echo '*> "importlib_name" should have no extension.'
46878 echo ' If it has the .o, or .a extension, it is automatically removed.'
46879 echo ' This name is used as the import library name and may be longer and'
46880 echo ' more descriptive than the DLL name which has to follow the old '
46881 echo ' 8.3 convention of FAT.'
46882 echo '*> "script.sh may be given to override the output_file name by a'
46883 echo ' different name. It is mainly useful if the regular make process'
46884 echo ' of some package does not take into account OS/2 restriction of'
46885 echo ' DLL name lengths. It takes the importlib name as input and is'
46886 echo ' supposed to procude a shorter name as output. The script should'
46887 echo ' expect to get importlib_name without extension and should produce'
46888 echo ' a (max.) 8 letter name without extension.'
46889 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46890 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46891 echo ' These flags will be put at the start of GCC command line.'
46892 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46893 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46894 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46895 echo ' If the last character of a symbol is "*", all symbols beginning'
46896 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46897 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46898 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46899 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46900 echo ' C runtime DLLs.'
46901 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46902 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46903 echo ' unchanged to GCC at the end of command line.'
46904 echo '*> If you create a DLL from a library and you do not specify -o,'
46905 echo ' the basename for DLL and import library will be set to library name,'
46906 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46907 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46908 echo ' library will be renamed into gcc_s.a.'
46909 echo '--------'
46910 echo 'Example:'
46911 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46912 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46913 CleanUp
46914 exit 1
46915 }
46916
46917 # Execute a command.
46918 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46919 # @Uses Whatever CleanUp() uses.
46920 doCommand() {
46921 echo "${D}*"
46922 eval ${D}*
46923 rcCmd=${D}?
46924
46925 if [ ${D}rcCmd -ne 0 ]; then
46926 echo "command failed, exit code="${D}rcCmd
46927 CleanUp
46928 exit ${D}rcCmd
46929 fi
46930 }
46931
46932 # main routine
46933 # setup globals
46934 cmdLine=${D}*
46935 outFile=""
46936 outimpFile=""
46937 inputFiles=""
46938 renameScript=""
46939 description=""
46940 CC=gcc.exe
46941 CFLAGS="-s -Zcrtdll"
46942 EXTRA_CFLAGS=""
46943 EXPORT_BY_ORDINALS=0
46944 exclude_symbols=""
46945 library_flags=""
46946 curDir=\`pwd\`
46947 curDirS=curDir
46948 case ${D}curDirS in
46949 */)
46950 ;;
46951 *)
46952 curDirS=${D}{curDirS}"/"
46953 ;;
46954 esac
46955 # Parse commandline
46956 libsToLink=0
46957 omfLinking=0
46958 while [ ${D}1 ]; do
46959 case ${D}1 in
46960 -ord*)
46961 EXPORT_BY_ORDINALS=1;
46962 ;;
46963 -o*)
46964 shift
46965 outFile=${D}1
46966 ;;
46967 -i*)
46968 shift
46969 outimpFile=${D}1
46970 ;;
46971 -name-mangler-script)
46972 shift
46973 renameScript=${D}1
46974 ;;
46975 -d*)
46976 shift
46977 description=${D}1
46978 ;;
46979 -f*)
46980 shift
46981 CFLAGS=${D}1
46982 ;;
46983 -c*)
46984 shift
46985 CC=${D}1
46986 ;;
46987 -h*)
46988 PrintHelp
46989 ;;
46990 -ex*)
46991 shift
46992 exclude_symbols=${D}{exclude_symbols}${D}1" "
46993 ;;
46994 -libf*)
46995 shift
46996 library_flags=${D}{library_flags}${D}1" "
46997 ;;
46998 -nocrt*)
46999 CFLAGS="-s"
47000 ;;
47001 -nolxl*)
47002 flag_USE_LXLITE=0
47003 ;;
47004 -* | /*)
47005 case ${D}1 in
47006 -L* | -l*)
47007 libsToLink=1
47008 ;;
47009 -Zomf)
47010 omfLinking=1
47011 ;;
47012 *)
47013 ;;
47014 esac
47015 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47016 ;;
47017 *.dll)
47018 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47019 if [ ${D}omfLinking -eq 1 ]; then
47020 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47021 else
47022 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47023 fi
47024 ;;
47025 *)
47026 found=0;
47027 if [ ${D}libsToLink -ne 0 ]; then
47028 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47029 else
47030 for file in ${D}1 ; do
47031 if [ -f ${D}file ]; then
47032 inputFiles="${D}{inputFiles} ${D}file"
47033 found=1
47034 fi
47035 done
47036 if [ ${D}found -eq 0 ]; then
47037 echo "ERROR: No file(s) found: "${D}1
47038 exit 8
47039 fi
47040 fi
47041 ;;
47042 esac
47043 shift
47044 done # iterate cmdline words
47045
47046 #
47047 if [ -z "${D}inputFiles" ]; then
47048 echo "dllar: no input files"
47049 PrintHelp
47050 fi
47051
47052 # Now extract all .o files from .a files
47053 newInputFiles=""
47054 for file in ${D}inputFiles ; do
47055 case ${D}file in
47056 *.a | *.lib)
47057 case ${D}file in
47058 *.a)
47059 suffix=".a"
47060 AR="ar"
47061 ;;
47062 *.lib)
47063 suffix=".lib"
47064 AR="emxomfar"
47065 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47066 ;;
47067 *)
47068 ;;
47069 esac
47070 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47071 mkdir ${D}dirname
47072 if [ ${D}? -ne 0 ]; then
47073 echo "Failed to create subdirectory ./${D}dirname"
47074 CleanUp
47075 exit 8;
47076 fi
47077 # Append '!' to indicate archive
47078 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47079 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47080 cd ${D}curDir
47081 found=0;
47082 for subfile in ${D}dirname/*.o* ; do
47083 if [ -f ${D}subfile ]; then
47084 found=1
47085 if [ -s ${D}subfile ]; then
47086 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47087 newInputFiles="${D}newInputFiles ${D}subfile"
47088 fi
47089 fi
47090 done
47091 if [ ${D}found -eq 0 ]; then
47092 echo "WARNING: there are no files in archive \\'${D}file\\'"
47093 fi
47094 ;;
47095 *)
47096 newInputFiles="${D}{newInputFiles} ${D}file"
47097 ;;
47098 esac
47099 done
47100 inputFiles="${D}newInputFiles"
47101
47102 # Output filename(s).
47103 do_backup=0;
47104 if [ -z ${D}outFile ]; then
47105 do_backup=1;
47106 set outFile ${D}inputFiles; outFile=${D}2
47107 fi
47108
47109 # If it is an archive, remove the '!' and the '_%' suffixes
47110 case ${D}outFile in
47111 *_%!)
47112 outFile=\`basnam ${D}outFile _%!\`
47113 ;;
47114 *)
47115 ;;
47116 esac
47117 case ${D}outFile in
47118 *.dll)
47119 outFile=\`basnam ${D}outFile .dll\`
47120 ;;
47121 *.DLL)
47122 outFile=\`basnam ${D}outFile .DLL\`
47123 ;;
47124 *.o)
47125 outFile=\`basnam ${D}outFile .o\`
47126 ;;
47127 *.obj)
47128 outFile=\`basnam ${D}outFile .obj\`
47129 ;;
47130 *.a)
47131 outFile=\`basnam ${D}outFile .a\`
47132 ;;
47133 *.lib)
47134 outFile=\`basnam ${D}outFile .lib\`
47135 ;;
47136 *)
47137 ;;
47138 esac
47139 case ${D}outimpFile in
47140 *.a)
47141 outimpFile=\`basnam ${D}outimpFile .a\`
47142 ;;
47143 *.lib)
47144 outimpFile=\`basnam ${D}outimpFile .lib\`
47145 ;;
47146 *)
47147 ;;
47148 esac
47149 if [ -z ${D}outimpFile ]; then
47150 outimpFile=${D}outFile
47151 fi
47152 defFile="${D}{outFile}.def"
47153 arcFile="${D}{outimpFile}.a"
47154 arcFile2="${D}{outimpFile}.lib"
47155
47156 #create ${D}dllFile as something matching 8.3 restrictions,
47157 if [ -z ${D}renameScript ] ; then
47158 dllFile="${D}outFile"
47159 else
47160 dllFile=\`${D}renameScript ${D}outimpFile\`
47161 fi
47162
47163 if [ ${D}do_backup -ne 0 ] ; then
47164 if [ -f ${D}arcFile ] ; then
47165 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47166 fi
47167 if [ -f ${D}arcFile2 ] ; then
47168 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47169 fi
47170 fi
47171
47172 # Extract public symbols from all the object files.
47173 tmpdefFile=${D}{defFile}_%
47174 rm -f ${D}tmpdefFile
47175 for file in ${D}inputFiles ; do
47176 case ${D}file in
47177 *!)
47178 ;;
47179 *)
47180 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47181 ;;
47182 esac
47183 done
47184
47185 # Create the def file.
47186 rm -f ${D}defFile
47187 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47188 dllFile="${D}{dllFile}.dll"
47189 if [ ! -z ${D}description ]; then
47190 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47191 fi
47192 echo "EXPORTS" >> ${D}defFile
47193
47194 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47195 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47196
47197 # Checks if the export is ok or not.
47198 for word in ${D}exclude_symbols; do
47199 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47200 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47201 done
47202
47203
47204 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47205 sed "=" < ${D}tmpdefFile | \\
47206 sed '
47207 N
47208 : loop
47209 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47210 t loop
47211 ' > ${D}{tmpdefFile}%
47212 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47213 else
47214 rm -f ${D}{tmpdefFile}%
47215 fi
47216 cat ${D}tmpdefFile >> ${D}defFile
47217 rm -f ${D}tmpdefFile
47218
47219 # Do linking, create implib, and apply lxlite.
47220 gccCmdl="";
47221 for file in ${D}inputFiles ; do
47222 case ${D}file in
47223 *!)
47224 ;;
47225 *)
47226 gccCmdl="${D}gccCmdl ${D}file"
47227 ;;
47228 esac
47229 done
47230 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47231 touch "${D}{outFile}.dll"
47232
47233 doCommand "emximp -o ${D}arcFile ${D}defFile"
47234 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47235 add_flags="";
47236 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47237 add_flags="-ynd"
47238 fi
47239 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47240 fi
47241 doCommand "emxomf -s -l ${D}arcFile"
47242
47243 # Successful exit.
47244 CleanUp 1
47245 exit 0
47246 EOF
47247
47248 chmod +x dllar.sh
47249 ;;
47250
47251 powerpc-apple-macos* | \
47252 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47253 *-*-mirbsd* | \
47254 *-*-sunos4* | \
47255 *-*-osf* | \
47256 *-*-dgux5* | \
47257 *-*-sysv5* | \
47258 *-pc-msdosdjgpp )
47259 ;;
47260
47261 *)
47262 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47263 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47264 { (exit 1); exit 1; }; }
47265 esac
47266
47267 if test "x$PIC_FLAG" != "x" ; then
47268 PIC_FLAG="$PIC_FLAG -DPIC"
47269 fi
47270
47271 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47272 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47273 fi
47274 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47275 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47276 fi
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286 USE_SOVERSION=0
47287 USE_SOVERLINUX=0
47288 USE_SOVERSOLARIS=0
47289 USE_SOVERCYGWIN=0
47290 USE_SOSYMLINKS=0
47291 USE_MACVERSION=0
47292 SONAME_FLAG=
47293
47294 case "${BAKEFILE_HOST}" in
47295 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47296 SONAME_FLAG="-Wl,-soname,"
47297 USE_SOVERSION=1
47298 USE_SOVERLINUX=1
47299 USE_SOSYMLINKS=1
47300 ;;
47301
47302 *-*-solaris2* )
47303 SONAME_FLAG="-h "
47304 USE_SOVERSION=1
47305 USE_SOVERSOLARIS=1
47306 USE_SOSYMLINKS=1
47307 ;;
47308
47309 *-*-darwin* )
47310 USE_MACVERSION=1
47311 USE_SOVERSION=1
47312 USE_SOSYMLINKS=1
47313 ;;
47314
47315 *-*-cygwin* )
47316 USE_SOVERSION=1
47317 USE_SOVERCYGWIN=1
47318 ;;
47319 esac
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330 # Check whether --enable-dependency-tracking was given.
47331 if test "${enable_dependency_tracking+set}" = set; then
47332 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47333 fi
47334
47335
47336 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47337 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47338
47339 BK_DEPS=""
47340 if test "x$bk_use_trackdeps" = "xno" ; then
47341 DEPS_TRACKING=0
47342 { echo "$as_me:$LINENO: result: disabled" >&5
47343 echo "${ECHO_T}disabled" >&6; }
47344 else
47345 DEPS_TRACKING=1
47346
47347 if test "x$GCC" = "xyes"; then
47348 DEPSMODE=gcc
47349 case "${BAKEFILE_HOST}" in
47350 *-*-darwin* )
47351 DEPSFLAG="-no-cpp-precomp -MMD"
47352 ;;
47353 * )
47354 DEPSFLAG="-MMD"
47355 ;;
47356 esac
47357 { echo "$as_me:$LINENO: result: gcc" >&5
47358 echo "${ECHO_T}gcc" >&6; }
47359 elif test "x$MWCC" = "xyes"; then
47360 DEPSMODE=mwcc
47361 DEPSFLAG="-MM"
47362 { echo "$as_me:$LINENO: result: mwcc" >&5
47363 echo "${ECHO_T}mwcc" >&6; }
47364 elif test "x$SUNCC" = "xyes"; then
47365 DEPSMODE=unixcc
47366 DEPSFLAG="-xM1"
47367 { echo "$as_me:$LINENO: result: Sun cc" >&5
47368 echo "${ECHO_T}Sun cc" >&6; }
47369 elif test "x$SGICC" = "xyes"; then
47370 DEPSMODE=unixcc
47371 DEPSFLAG="-M"
47372 { echo "$as_me:$LINENO: result: SGI cc" >&5
47373 echo "${ECHO_T}SGI cc" >&6; }
47374 elif test "x$HPCC" = "xyes"; then
47375 DEPSMODE=unixcc
47376 DEPSFLAG="+make"
47377 { echo "$as_me:$LINENO: result: HP cc" >&5
47378 echo "${ECHO_T}HP cc" >&6; }
47379 elif test "x$COMPAQCC" = "xyes"; then
47380 DEPSMODE=gcc
47381 DEPSFLAG="-MD"
47382 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47383 echo "${ECHO_T}Compaq cc" >&6; }
47384 else
47385 DEPS_TRACKING=0
47386 { echo "$as_me:$LINENO: result: none" >&5
47387 echo "${ECHO_T}none" >&6; }
47388 fi
47389
47390 if test $DEPS_TRACKING = 1 ; then
47391
47392 D='$'
47393 cat <<EOF >bk-deps
47394 #!/bin/sh
47395
47396 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47397 # script. It is used to track C/C++ files dependencies in portable way.
47398 #
47399 # Permission is given to use this file in any way.
47400
47401 DEPSMODE=${DEPSMODE}
47402 DEPSDIR=.deps
47403 DEPSFLAG="${DEPSFLAG}"
47404
47405 mkdir -p ${D}DEPSDIR
47406
47407 if test ${D}DEPSMODE = gcc ; then
47408 ${D}* ${D}{DEPSFLAG}
47409 status=${D}?
47410 if test ${D}{status} != 0 ; then
47411 exit ${D}{status}
47412 fi
47413 # move created file to the location we want it in:
47414 while test ${D}# -gt 0; do
47415 case "${D}1" in
47416 -o )
47417 shift
47418 objfile=${D}1
47419 ;;
47420 -* )
47421 ;;
47422 * )
47423 srcfile=${D}1
47424 ;;
47425 esac
47426 shift
47427 done
47428 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47429 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47430 if test -f ${D}depfile ; then
47431 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47432 rm -f ${D}depfile
47433 else
47434 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47435 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47436 if test ! -f ${D}depfile ; then
47437 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47438 depfile="${D}objfile.d"
47439 fi
47440 if test -f ${D}depfile ; then
47441 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47442 rm -f ${D}depfile
47443 fi
47444 fi
47445 exit 0
47446 elif test ${D}DEPSMODE = mwcc ; then
47447 ${D}* || exit ${D}?
47448 # Run mwcc again with -MM and redirect into the dep file we want
47449 # NOTE: We can't use shift here because we need ${D}* to be valid
47450 prevarg=
47451 for arg in ${D}* ; do
47452 if test "${D}prevarg" = "-o"; then
47453 objfile=${D}arg
47454 else
47455 case "${D}arg" in
47456 -* )
47457 ;;
47458 * )
47459 srcfile=${D}arg
47460 ;;
47461 esac
47462 fi
47463 prevarg="${D}arg"
47464 done
47465 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47466 exit 0
47467 elif test ${D}DEPSMODE = unixcc; then
47468 ${D}* || exit ${D}?
47469 # Run compiler again with deps flag and redirect into the dep file.
47470 # It doesn't work if the '-o FILE' option is used, but without it the
47471 # dependency file will contain the wrong name for the object. So it is
47472 # removed from the command line, and the dep file is fixed with sed.
47473 cmd=""
47474 while test ${D}# -gt 0; do
47475 case "${D}1" in
47476 -o )
47477 shift
47478 objfile=${D}1
47479 ;;
47480 * )
47481 eval arg${D}#=\\${D}1
47482 cmd="${D}cmd \\${D}arg${D}#"
47483 ;;
47484 esac
47485 shift
47486 done
47487 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47488 exit 0
47489 else
47490 ${D}*
47491 exit ${D}?
47492 fi
47493 EOF
47494
47495 chmod +x bk-deps
47496 BK_DEPS="`pwd`/bk-deps"
47497 fi
47498 fi
47499
47500
47501
47502
47503
47504 case ${BAKEFILE_HOST} in
47505 *-*-cygwin* | *-*-mingw32* )
47506 if test -n "$ac_tool_prefix"; then
47507 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47508 set dummy ${ac_tool_prefix}windres; ac_word=$2
47509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47511 if test "${ac_cv_prog_WINDRES+set}" = set; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47513 else
47514 if test -n "$WINDRES"; then
47515 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47516 else
47517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47518 for as_dir in $PATH
47519 do
47520 IFS=$as_save_IFS
47521 test -z "$as_dir" && as_dir=.
47522 for ac_exec_ext in '' $ac_executable_extensions; do
47523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47524 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47526 break 2
47527 fi
47528 done
47529 done
47530 IFS=$as_save_IFS
47531
47532 fi
47533 fi
47534 WINDRES=$ac_cv_prog_WINDRES
47535 if test -n "$WINDRES"; then
47536 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47537 echo "${ECHO_T}$WINDRES" >&6; }
47538 else
47539 { echo "$as_me:$LINENO: result: no" >&5
47540 echo "${ECHO_T}no" >&6; }
47541 fi
47542
47543
47544 fi
47545 if test -z "$ac_cv_prog_WINDRES"; then
47546 ac_ct_WINDRES=$WINDRES
47547 # Extract the first word of "windres", so it can be a program name with args.
47548 set dummy windres; ac_word=$2
47549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47551 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47553 else
47554 if test -n "$ac_ct_WINDRES"; then
47555 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47556 else
47557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47558 for as_dir in $PATH
47559 do
47560 IFS=$as_save_IFS
47561 test -z "$as_dir" && as_dir=.
47562 for ac_exec_ext in '' $ac_executable_extensions; do
47563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47564 ac_cv_prog_ac_ct_WINDRES="windres"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47566 break 2
47567 fi
47568 done
47569 done
47570 IFS=$as_save_IFS
47571
47572 fi
47573 fi
47574 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47575 if test -n "$ac_ct_WINDRES"; then
47576 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47577 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47578 else
47579 { echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6; }
47581 fi
47582
47583 if test "x$ac_ct_WINDRES" = x; then
47584 WINDRES=""
47585 else
47586 case $cross_compiling:$ac_tool_warned in
47587 yes:)
47588 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47589 whose name does not start with the host triplet. If you think this
47590 configuration is useful to you, please write to autoconf@gnu.org." >&5
47591 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47592 whose name does not start with the host triplet. If you think this
47593 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47594 ac_tool_warned=yes ;;
47595 esac
47596 WINDRES=$ac_ct_WINDRES
47597 fi
47598 else
47599 WINDRES="$ac_cv_prog_WINDRES"
47600 fi
47601
47602 ;;
47603
47604 *-*-darwin* | powerpc-apple-macos* )
47605 # Extract the first word of "Rez", so it can be a program name with args.
47606 set dummy Rez; ac_word=$2
47607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47609 if test "${ac_cv_prog_REZ+set}" = set; then
47610 echo $ECHO_N "(cached) $ECHO_C" >&6
47611 else
47612 if test -n "$REZ"; then
47613 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47614 else
47615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47616 for as_dir in $PATH
47617 do
47618 IFS=$as_save_IFS
47619 test -z "$as_dir" && as_dir=.
47620 for ac_exec_ext in '' $ac_executable_extensions; do
47621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47622 ac_cv_prog_REZ="Rez"
47623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47624 break 2
47625 fi
47626 done
47627 done
47628 IFS=$as_save_IFS
47629
47630 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47631 fi
47632 fi
47633 REZ=$ac_cv_prog_REZ
47634 if test -n "$REZ"; then
47635 { echo "$as_me:$LINENO: result: $REZ" >&5
47636 echo "${ECHO_T}$REZ" >&6; }
47637 else
47638 { echo "$as_me:$LINENO: result: no" >&5
47639 echo "${ECHO_T}no" >&6; }
47640 fi
47641
47642
47643 # Extract the first word of "SetFile", so it can be a program name with args.
47644 set dummy SetFile; ac_word=$2
47645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47647 if test "${ac_cv_prog_SETFILE+set}" = set; then
47648 echo $ECHO_N "(cached) $ECHO_C" >&6
47649 else
47650 if test -n "$SETFILE"; then
47651 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47652 else
47653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47654 for as_dir in $PATH
47655 do
47656 IFS=$as_save_IFS
47657 test -z "$as_dir" && as_dir=.
47658 for ac_exec_ext in '' $ac_executable_extensions; do
47659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47660 ac_cv_prog_SETFILE="SetFile"
47661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47662 break 2
47663 fi
47664 done
47665 done
47666 IFS=$as_save_IFS
47667
47668 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47669 fi
47670 fi
47671 SETFILE=$ac_cv_prog_SETFILE
47672 if test -n "$SETFILE"; then
47673 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47674 echo "${ECHO_T}$SETFILE" >&6; }
47675 else
47676 { echo "$as_me:$LINENO: result: no" >&5
47677 echo "${ECHO_T}no" >&6; }
47678 fi
47679
47680
47681 ;;
47682 esac
47683
47684
47685
47686
47687
47688
47689 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47690
47691
47692 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47693
47694
47695
47696 # Check whether --enable-precomp-headers was given.
47697 if test "${enable_precomp_headers+set}" = set; then
47698 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47699 fi
47700
47701
47702 GCC_PCH=0
47703 ICC_PCH=0
47704 USE_PCH=0
47705 BK_MAKE_PCH=""
47706
47707 case ${BAKEFILE_HOST} in
47708 *-*-cygwin* )
47709 bk_use_pch="no"
47710 ;;
47711 esac
47712
47713 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47714 if test "x$GCC" = "xyes"; then
47715 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47716 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47717 cat >conftest.$ac_ext <<_ACEOF
47718 /* confdefs.h. */
47719 _ACEOF
47720 cat confdefs.h >>conftest.$ac_ext
47721 cat >>conftest.$ac_ext <<_ACEOF
47722 /* end confdefs.h. */
47723
47724 int
47725 main ()
47726 {
47727
47728 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47729 There is no PCH support
47730 #endif
47731 #if (__GNUC__ < 3)
47732 There is no PCH support
47733 #endif
47734 #if (__GNUC__ == 3) && \
47735 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47736 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47737 ( defined(__INTEL_COMPILER) )
47738 There is no PCH support
47739 #endif
47740
47741 ;
47742 return 0;
47743 }
47744 _ACEOF
47745 rm -f conftest.$ac_objext
47746 if { (ac_try="$ac_compile"
47747 case "(($ac_try" in
47748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47749 *) ac_try_echo=$ac_try;;
47750 esac
47751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47752 (eval "$ac_compile") 2>conftest.er1
47753 ac_status=$?
47754 grep -v '^ *+' conftest.er1 >conftest.err
47755 rm -f conftest.er1
47756 cat conftest.err >&5
47757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47758 (exit $ac_status); } && {
47759 test -z "$ac_c_werror_flag" ||
47760 test ! -s conftest.err
47761 } && test -s conftest.$ac_objext; then
47762
47763 { echo "$as_me:$LINENO: result: yes" >&5
47764 echo "${ECHO_T}yes" >&6; }
47765 GCC_PCH=1
47766
47767 else
47768 echo "$as_me: failed program was:" >&5
47769 sed 's/^/| /' conftest.$ac_ext >&5
47770
47771
47772 cat >conftest.$ac_ext <<_ACEOF
47773 /* confdefs.h. */
47774 _ACEOF
47775 cat confdefs.h >>conftest.$ac_ext
47776 cat >>conftest.$ac_ext <<_ACEOF
47777 /* end confdefs.h. */
47778
47779 int
47780 main ()
47781 {
47782
47783 #if !defined(__INTEL_COMPILER) || \
47784 (__INTEL_COMPILER < 800)
47785 There is no PCH support
47786 #endif
47787
47788 ;
47789 return 0;
47790 }
47791 _ACEOF
47792 rm -f conftest.$ac_objext
47793 if { (ac_try="$ac_compile"
47794 case "(($ac_try" in
47795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47796 *) ac_try_echo=$ac_try;;
47797 esac
47798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47799 (eval "$ac_compile") 2>conftest.er1
47800 ac_status=$?
47801 grep -v '^ *+' conftest.er1 >conftest.err
47802 rm -f conftest.er1
47803 cat conftest.err >&5
47804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47805 (exit $ac_status); } && {
47806 test -z "$ac_c_werror_flag" ||
47807 test ! -s conftest.err
47808 } && test -s conftest.$ac_objext; then
47809
47810 { echo "$as_me:$LINENO: result: yes" >&5
47811 echo "${ECHO_T}yes" >&6; }
47812 ICC_PCH=1
47813
47814 else
47815 echo "$as_me: failed program was:" >&5
47816 sed 's/^/| /' conftest.$ac_ext >&5
47817
47818
47819 { echo "$as_me:$LINENO: result: no" >&5
47820 echo "${ECHO_T}no" >&6; }
47821
47822 fi
47823
47824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47825
47826 fi
47827
47828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47829 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47830 USE_PCH=1
47831
47832 D='$'
47833 cat <<EOF >bk-make-pch
47834 #!/bin/sh
47835
47836 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47837 # script. It is used to generated precompiled headers.
47838 #
47839 # Permission is given to use this file in any way.
47840
47841 outfile="${D}{1}"
47842 header="${D}{2}"
47843 shift
47844 shift
47845
47846 compiler=""
47847 headerfile=""
47848
47849 while test ${D}{#} -gt 0; do
47850 add_to_cmdline=1
47851 case "${D}{1}" in
47852 -I* )
47853 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47854 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47855 headerfile="${D}{incdir}/${D}{header}"
47856 fi
47857 ;;
47858 -use-pch|-use_pch )
47859 shift
47860 add_to_cmdline=0
47861 ;;
47862 esac
47863 if test ${D}add_to_cmdline = 1 ; then
47864 compiler="${D}{compiler} ${D}{1}"
47865 fi
47866 shift
47867 done
47868
47869 if test "x${D}{headerfile}" = "x" ; then
47870 echo "error: can't find header ${D}{header} in include paths" >&2
47871 else
47872 if test -f ${D}{outfile} ; then
47873 rm -f ${D}{outfile}
47874 else
47875 mkdir -p \`dirname ${D}{outfile}\`
47876 fi
47877 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47878 mkdir -p .deps
47879 if test "x${GCC_PCH}" = "x1" ; then
47880 # can do this because gcc is >= 3.4:
47881 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47882 elif test "x${ICC_PCH}" = "x1" ; then
47883 filename=pch_gen-${D}${D}
47884 file=${D}{filename}.c
47885 dfile=${D}{filename}.d
47886 cat > ${D}file <<EOT
47887 #include "${D}header"
47888 EOT
47889 # using -MF icc complains about differing command lines in creation/use
47890 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47891 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47892 rm -f ${D}file ${D}dfile ${D}{filename}.o
47893 fi
47894 exit ${D}{?}
47895 fi
47896 EOF
47897
47898 chmod +x bk-make-pch
47899 BK_MAKE_PCH="`pwd`/bk-make-pch"
47900 fi
47901 fi
47902 fi
47903
47904
47905
47906
47907
47908 COND_BUILD_DEBUG="#"
47909 if test "x$BUILD" = "xdebug" ; then
47910 COND_BUILD_DEBUG=""
47911 fi
47912
47913 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47914 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47915 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47916 fi
47917
47918 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47919 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47920 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47921 fi
47922
47923 COND_BUILD_DEBUG_UNICODE_0="#"
47924 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47925 COND_BUILD_DEBUG_UNICODE_0=""
47926 fi
47927
47928 COND_BUILD_DEBUG_UNICODE_1="#"
47929 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47930 COND_BUILD_DEBUG_UNICODE_1=""
47931 fi
47932
47933 COND_BUILD_RELEASE="#"
47934 if test "x$BUILD" = "xrelease" ; then
47935 COND_BUILD_RELEASE=""
47936 fi
47937
47938 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47939 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47940 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47941 fi
47942
47943 COND_BUILD_RELEASE_UNICODE_0="#"
47944 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47945 COND_BUILD_RELEASE_UNICODE_0=""
47946 fi
47947
47948 COND_BUILD_RELEASE_UNICODE_1="#"
47949 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47950 COND_BUILD_RELEASE_UNICODE_1=""
47951 fi
47952
47953 COND_DEBUG_FLAG_1="#"
47954 if test "x$DEBUG_FLAG" = "x1" ; then
47955 COND_DEBUG_FLAG_1=""
47956 fi
47957
47958 COND_DEBUG_INFO_0="#"
47959 if test "x$DEBUG_INFO" = "x0" ; then
47960 COND_DEBUG_INFO_0=""
47961 fi
47962
47963 COND_DEBUG_INFO_1="#"
47964 if test "x$DEBUG_INFO" = "x1" ; then
47965 COND_DEBUG_INFO_1=""
47966 fi
47967
47968 COND_DEPS_TRACKING_0="#"
47969 if test "x$DEPS_TRACKING" = "x0" ; then
47970 COND_DEPS_TRACKING_0=""
47971 fi
47972
47973 COND_DEPS_TRACKING_1="#"
47974 if test "x$DEPS_TRACKING" = "x1" ; then
47975 COND_DEPS_TRACKING_1=""
47976 fi
47977
47978 COND_GCC_PCH_1="#"
47979 if test "x$GCC_PCH" = "x1" ; then
47980 COND_GCC_PCH_1=""
47981 fi
47982
47983 COND_ICC_PCH_1="#"
47984 if test "x$ICC_PCH" = "x1" ; then
47985 COND_ICC_PCH_1=""
47986 fi
47987
47988 COND_MONOLITHIC_0="#"
47989 if test "x$MONOLITHIC" = "x0" ; then
47990 COND_MONOLITHIC_0=""
47991 fi
47992
47993 COND_MONOLITHIC_0_SHARED_0="#"
47994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47995 COND_MONOLITHIC_0_SHARED_0=""
47996 fi
47997
47998 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48001 fi
48002
48003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48006 fi
48007
48008 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48010 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48011 fi
48012
48013 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48015 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48016 fi
48017
48018 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48021 fi
48022
48023 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48025 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48026 fi
48027
48028 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48030 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48031 fi
48032
48033 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48035 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48036 fi
48037
48038 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48040 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48041 fi
48042
48043 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48045 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48046 fi
48047
48048 COND_MONOLITHIC_0_SHARED_1="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48050 COND_MONOLITHIC_0_SHARED_1=""
48051 fi
48052
48053 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48055 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48056 fi
48057
48058 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48061 fi
48062
48063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48065 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48066 fi
48067
48068 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48071 fi
48072
48073 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48075 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48076 fi
48077
48078 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48080 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48081 fi
48082
48083 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48085 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48086 fi
48087
48088 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48090 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48091 fi
48092
48093 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48095 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48096 fi
48097
48098 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48100 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48101 fi
48102
48103 COND_MONOLITHIC_0_USE_AUI_1="#"
48104 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48105 COND_MONOLITHIC_0_USE_AUI_1=""
48106 fi
48107
48108 COND_MONOLITHIC_0_USE_GUI_1="#"
48109 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48110 COND_MONOLITHIC_0_USE_GUI_1=""
48111 fi
48112
48113 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48114 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48115 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48116 fi
48117
48118 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48119 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48120 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48121 fi
48122
48123 COND_MONOLITHIC_0_USE_HTML_1="#"
48124 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48125 COND_MONOLITHIC_0_USE_HTML_1=""
48126 fi
48127
48128 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48129 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48130 COND_MONOLITHIC_0_USE_MEDIA_1=""
48131 fi
48132
48133 COND_MONOLITHIC_0_USE_ODBC_1="#"
48134 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48135 COND_MONOLITHIC_0_USE_ODBC_1=""
48136 fi
48137
48138 COND_MONOLITHIC_0_USE_QA_1="#"
48139 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48140 COND_MONOLITHIC_0_USE_QA_1=""
48141 fi
48142
48143 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48144 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48145 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48146 fi
48147
48148 COND_MONOLITHIC_0_USE_STC_1="#"
48149 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48150 COND_MONOLITHIC_0_USE_STC_1=""
48151 fi
48152
48153 COND_MONOLITHIC_0_USE_XRC_1="#"
48154 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48155 COND_MONOLITHIC_0_USE_XRC_1=""
48156 fi
48157
48158 COND_MONOLITHIC_1="#"
48159 if test "x$MONOLITHIC" = "x1" ; then
48160 COND_MONOLITHIC_1=""
48161 fi
48162
48163 COND_MONOLITHIC_1_SHARED_0="#"
48164 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48165 COND_MONOLITHIC_1_SHARED_0=""
48166 fi
48167
48168 COND_MONOLITHIC_1_SHARED_1="#"
48169 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48170 COND_MONOLITHIC_1_SHARED_1=""
48171 fi
48172
48173 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48174 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48175 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48176 fi
48177
48178 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48179 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48180 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48181 fi
48182
48183 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48184 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48185 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48186 fi
48187
48188 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48189 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48190 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48191 fi
48192
48193 COND_PLATFORM_MACOSX_1="#"
48194 if test "x$PLATFORM_MACOSX" = "x1" ; then
48195 COND_PLATFORM_MACOSX_1=""
48196 fi
48197
48198 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48199 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48200 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48201 fi
48202
48203 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48204 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48205 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48206 fi
48207
48208 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48209 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48210 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48211 fi
48212
48213 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48214 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48215 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48216 fi
48217
48218 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48219 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48220 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48221 fi
48222
48223 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48224 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48225 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48226 fi
48227
48228 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48229 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48230 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48231 fi
48232
48233 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48234 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48235 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48236 fi
48237
48238 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48239 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48240 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48241 fi
48242
48243 COND_PLATFORM_MACOS_1="#"
48244 if test "x$PLATFORM_MACOS" = "x1" ; then
48245 COND_PLATFORM_MACOS_1=""
48246 fi
48247
48248 COND_PLATFORM_MAC_1="#"
48249 if test "x$PLATFORM_MAC" = "x1" ; then
48250 COND_PLATFORM_MAC_1=""
48251 fi
48252
48253 COND_PLATFORM_MSDOS_0="#"
48254 if test "x$PLATFORM_MSDOS" = "x0" ; then
48255 COND_PLATFORM_MSDOS_0=""
48256 fi
48257
48258 COND_PLATFORM_MSDOS_1="#"
48259 if test "x$PLATFORM_MSDOS" = "x1" ; then
48260 COND_PLATFORM_MSDOS_1=""
48261 fi
48262
48263 COND_PLATFORM_OS2_1="#"
48264 if test "x$PLATFORM_OS2" = "x1" ; then
48265 COND_PLATFORM_OS2_1=""
48266 fi
48267
48268 COND_PLATFORM_UNIX_0="#"
48269 if test "x$PLATFORM_UNIX" = "x0" ; then
48270 COND_PLATFORM_UNIX_0=""
48271 fi
48272
48273 COND_PLATFORM_UNIX_1="#"
48274 if test "x$PLATFORM_UNIX" = "x1" ; then
48275 COND_PLATFORM_UNIX_1=""
48276 fi
48277
48278 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48279 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48280 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48281 fi
48282
48283 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48284 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48285 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48286 fi
48287
48288 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48289 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48290 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48291 fi
48292
48293 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48294 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48295 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48296 fi
48297
48298 COND_PLATFORM_WIN32_0="#"
48299 if test "x$PLATFORM_WIN32" = "x0" ; then
48300 COND_PLATFORM_WIN32_0=""
48301 fi
48302
48303 COND_PLATFORM_WIN32_1="#"
48304 if test "x$PLATFORM_WIN32" = "x1" ; then
48305 COND_PLATFORM_WIN32_1=""
48306 fi
48307
48308 COND_SHARED_0="#"
48309 if test "x$SHARED" = "x0" ; then
48310 COND_SHARED_0=""
48311 fi
48312
48313 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48314 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48315 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48316 fi
48317
48318 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48319 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48320 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48321 fi
48322
48323 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48324 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48325 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48326 fi
48327
48328 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48329 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48330 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48331 fi
48332
48333 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48334 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48335 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48336 fi
48337
48338 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48339 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48340 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48341 fi
48342
48343 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48344 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48345 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48346 fi
48347
48348 COND_SHARED_0_USE_STC_1="#"
48349 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48350 COND_SHARED_0_USE_STC_1=""
48351 fi
48352
48353 COND_SHARED_0_USE_XRC_1="#"
48354 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48355 COND_SHARED_0_USE_XRC_1=""
48356 fi
48357
48358 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48359 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48360 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48361 fi
48362
48363 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48364 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48365 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48366 fi
48367
48368 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48369 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48370 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48371 fi
48372
48373 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48374 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48375 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48376 fi
48377
48378 COND_SHARED_1="#"
48379 if test "x$SHARED" = "x1" ; then
48380 COND_SHARED_1=""
48381 fi
48382
48383 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48384 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48385 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48386 fi
48387
48388 COND_SHARED_1_USE_XRC_1="#"
48389 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48390 COND_SHARED_1_USE_XRC_1=""
48391 fi
48392
48393 COND_TOOLKIT_="#"
48394 if test "x$TOOLKIT" = "x" ; then
48395 COND_TOOLKIT_=""
48396 fi
48397
48398 COND_TOOLKIT_COCOA="#"
48399 if test "x$TOOLKIT" = "xCOCOA" ; then
48400 COND_TOOLKIT_COCOA=""
48401 fi
48402
48403 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48404 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48405 COND_TOOLKIT_COCOA_USE_GUI_1=""
48406 fi
48407
48408 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48409 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48410 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48411 fi
48412
48413 COND_TOOLKIT_DFB="#"
48414 if test "x$TOOLKIT" = "xDFB" ; then
48415 COND_TOOLKIT_DFB=""
48416 fi
48417
48418 COND_TOOLKIT_DFB_USE_GUI_1="#"
48419 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48420 COND_TOOLKIT_DFB_USE_GUI_1=""
48421 fi
48422
48423 COND_TOOLKIT_GTK="#"
48424 if test "x$TOOLKIT" = "xGTK" ; then
48425 COND_TOOLKIT_GTK=""
48426 fi
48427
48428 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48429 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48430 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48431 fi
48432
48433 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48434 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48435 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48436 fi
48437
48438 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48439 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48440 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48441 fi
48442
48443 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48444 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48445 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48446 fi
48447
48448 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48449 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48450 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48451 fi
48452
48453 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48454 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48455 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48456 fi
48457
48458 COND_TOOLKIT_GTK_USE_GUI_1="#"
48459 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48460 COND_TOOLKIT_GTK_USE_GUI_1=""
48461 fi
48462
48463 COND_TOOLKIT_MAC="#"
48464 if test "x$TOOLKIT" = "xMAC" ; then
48465 COND_TOOLKIT_MAC=""
48466 fi
48467
48468 COND_TOOLKIT_MAC_USE_GUI_1="#"
48469 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48470 COND_TOOLKIT_MAC_USE_GUI_1=""
48471 fi
48472
48473 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48474 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48475 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48476 fi
48477
48478 COND_TOOLKIT_MGL="#"
48479 if test "x$TOOLKIT" = "xMGL" ; then
48480 COND_TOOLKIT_MGL=""
48481 fi
48482
48483 COND_TOOLKIT_MGL_USE_GUI_1="#"
48484 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48485 COND_TOOLKIT_MGL_USE_GUI_1=""
48486 fi
48487
48488 COND_TOOLKIT_MOTIF="#"
48489 if test "x$TOOLKIT" = "xMOTIF" ; then
48490 COND_TOOLKIT_MOTIF=""
48491 fi
48492
48493 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48494 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48495 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48496 fi
48497
48498 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48499 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48500 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48501 fi
48502
48503 COND_TOOLKIT_MSW="#"
48504 if test "x$TOOLKIT" = "xMSW" ; then
48505 COND_TOOLKIT_MSW=""
48506 fi
48507
48508 COND_TOOLKIT_MSW_USE_GUI_1="#"
48509 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48510 COND_TOOLKIT_MSW_USE_GUI_1=""
48511 fi
48512
48513 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48514 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48515 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48516 fi
48517
48518 COND_TOOLKIT_MSW_WXUNIV_0="#"
48519 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48520 COND_TOOLKIT_MSW_WXUNIV_0=""
48521 fi
48522
48523 COND_TOOLKIT_PM="#"
48524 if test "x$TOOLKIT" = "xPM" ; then
48525 COND_TOOLKIT_PM=""
48526 fi
48527
48528 COND_TOOLKIT_PM_USE_GUI_1="#"
48529 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48530 COND_TOOLKIT_PM_USE_GUI_1=""
48531 fi
48532
48533 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48534 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48535 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48536 fi
48537
48538 COND_TOOLKIT_WINCE="#"
48539 if test "x$TOOLKIT" = "xWINCE" ; then
48540 COND_TOOLKIT_WINCE=""
48541 fi
48542
48543 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48544 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48545 COND_TOOLKIT_WINCE_USE_GUI_1=""
48546 fi
48547
48548 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48549 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48550 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48551 fi
48552
48553 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48554 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48555 COND_TOOLKIT_WINCE_WXUNIV_0=""
48556 fi
48557
48558 COND_TOOLKIT_X11="#"
48559 if test "x$TOOLKIT" = "xX11" ; then
48560 COND_TOOLKIT_X11=""
48561 fi
48562
48563 COND_TOOLKIT_X11_USE_GUI_1="#"
48564 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48565 COND_TOOLKIT_X11_USE_GUI_1=""
48566 fi
48567
48568 COND_UNICODE_1="#"
48569 if test "x$UNICODE" = "x1" ; then
48570 COND_UNICODE_1=""
48571 fi
48572
48573 COND_USE_EXCEPTIONS_0="#"
48574 if test "x$USE_EXCEPTIONS" = "x0" ; then
48575 COND_USE_EXCEPTIONS_0=""
48576 fi
48577
48578 COND_USE_EXCEPTIONS_1="#"
48579 if test "x$USE_EXCEPTIONS" = "x1" ; then
48580 COND_USE_EXCEPTIONS_1=""
48581 fi
48582
48583 COND_USE_GUI_0="#"
48584 if test "x$USE_GUI" = "x0" ; then
48585 COND_USE_GUI_0=""
48586 fi
48587
48588 COND_USE_GUI_1="#"
48589 if test "x$USE_GUI" = "x1" ; then
48590 COND_USE_GUI_1=""
48591 fi
48592
48593 COND_USE_GUI_1_USE_OPENGL_1="#"
48594 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48595 COND_USE_GUI_1_USE_OPENGL_1=""
48596 fi
48597
48598 COND_USE_GUI_1_WXUNIV_0="#"
48599 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48600 COND_USE_GUI_1_WXUNIV_0=""
48601 fi
48602
48603 COND_USE_GUI_1_WXUNIV_1="#"
48604 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48605 COND_USE_GUI_1_WXUNIV_1=""
48606 fi
48607
48608 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48609 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48610 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48611 fi
48612
48613 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48614 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48615 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48616 fi
48617
48618 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48619 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48620 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48621 fi
48622
48623 COND_USE_ODBC_1="#"
48624 if test "x$USE_ODBC" = "x1" ; then
48625 COND_USE_ODBC_1=""
48626 fi
48627
48628 COND_USE_OPENGL_1="#"
48629 if test "x$USE_OPENGL" = "x1" ; then
48630 COND_USE_OPENGL_1=""
48631 fi
48632
48633 COND_USE_PCH_1="#"
48634 if test "x$USE_PCH" = "x1" ; then
48635 COND_USE_PCH_1=""
48636 fi
48637
48638 COND_USE_PLUGINS_0="#"
48639 if test "x$USE_PLUGINS" = "x0" ; then
48640 COND_USE_PLUGINS_0=""
48641 fi
48642
48643 COND_USE_RTTI_0="#"
48644 if test "x$USE_RTTI" = "x0" ; then
48645 COND_USE_RTTI_0=""
48646 fi
48647
48648 COND_USE_RTTI_1="#"
48649 if test "x$USE_RTTI" = "x1" ; then
48650 COND_USE_RTTI_1=""
48651 fi
48652
48653 COND_USE_SOSYMLINKS_1="#"
48654 if test "x$USE_SOSYMLINKS" = "x1" ; then
48655 COND_USE_SOSYMLINKS_1=""
48656 fi
48657
48658 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48659 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48660 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48661 fi
48662
48663 COND_USE_SOVERLINUX_1="#"
48664 if test "x$USE_SOVERLINUX" = "x1" ; then
48665 COND_USE_SOVERLINUX_1=""
48666 fi
48667
48668 COND_USE_SOVERSION_0="#"
48669 if test "x$USE_SOVERSION" = "x0" ; then
48670 COND_USE_SOVERSION_0=""
48671 fi
48672
48673 COND_USE_SOVERSOLARIS_1="#"
48674 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48675 COND_USE_SOVERSOLARIS_1=""
48676 fi
48677
48678 COND_USE_STC_1="#"
48679 if test "x$USE_STC" = "x1" ; then
48680 COND_USE_STC_1=""
48681 fi
48682
48683 COND_USE_THREADS_0="#"
48684 if test "x$USE_THREADS" = "x0" ; then
48685 COND_USE_THREADS_0=""
48686 fi
48687
48688 COND_USE_THREADS_1="#"
48689 if test "x$USE_THREADS" = "x1" ; then
48690 COND_USE_THREADS_1=""
48691 fi
48692
48693 COND_USE_XRC_1="#"
48694 if test "x$USE_XRC" = "x1" ; then
48695 COND_USE_XRC_1=""
48696 fi
48697
48698 COND_WINDOWS_IMPLIB_1="#"
48699 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48700 COND_WINDOWS_IMPLIB_1=""
48701 fi
48702
48703 COND_WITH_PLUGIN_SDL_1="#"
48704 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48705 COND_WITH_PLUGIN_SDL_1=""
48706 fi
48707
48708 COND_WXUNIV_0="#"
48709 if test "x$WXUNIV" = "x0" ; then
48710 COND_WXUNIV_0=""
48711 fi
48712
48713 COND_WXUNIV_1="#"
48714 if test "x$WXUNIV" = "x1" ; then
48715 COND_WXUNIV_1=""
48716 fi
48717
48718 COND_WXUSE_EXPAT_BUILTIN="#"
48719 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48720 COND_WXUSE_EXPAT_BUILTIN=""
48721 fi
48722
48723 COND_WXUSE_LIBJPEG_BUILTIN="#"
48724 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48725 COND_WXUSE_LIBJPEG_BUILTIN=""
48726 fi
48727
48728 COND_WXUSE_LIBPNG_BUILTIN="#"
48729 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48730 COND_WXUSE_LIBPNG_BUILTIN=""
48731 fi
48732
48733 COND_WXUSE_LIBTIFF_BUILTIN="#"
48734 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48735 COND_WXUSE_LIBTIFF_BUILTIN=""
48736 fi
48737
48738 COND_WXUSE_ODBC_BUILTIN="#"
48739 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48740 COND_WXUSE_ODBC_BUILTIN=""
48741 fi
48742
48743 COND_WXUSE_REGEX_BUILTIN="#"
48744 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48745 COND_WXUSE_REGEX_BUILTIN=""
48746 fi
48747
48748 COND_WXUSE_ZLIB_BUILTIN="#"
48749 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48750 COND_WXUSE_ZLIB_BUILTIN=""
48751 fi
48752
48753
48754
48755 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48756 { { 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
48757 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;}
48758 { (exit 1); exit 1; }; }
48759 fi
48760
48761 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48762 { { 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
48763 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;}
48764 { (exit 1); exit 1; }; }
48765 fi
48766
48767
48768 if test $GCC_PCH = 1
48769 then
48770 if test "$wx_cv_gcc_pch_bug" = yes; then
48771 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48772 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48773 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48774 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48775 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48776 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48777 fi
48778
48779 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48780 fi
48781
48782
48783 if test "$wxUSE_MAC" = 1 ; then
48784 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48785 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48786 mv temp bk-deps
48787 chmod +x bk-deps
48788 fi
48789 fi
48790
48791 if test "$wxUSE_SHARED" = "yes"; then
48792
48793 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48794 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48795
48796 case "${host}" in
48797 *-pc-os2_emx | *-pc-os2-emx )
48798 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48799 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48800 cp -p ${srcdir}/src/os2/dllnames.sh .
48801 cp -p ${srcdir}/src/os2/dllar.sh .
48802 ;;
48803 esac
48804 else
48805
48806 EXE_LINKER="$CXX -o"
48807
48808 fi
48809 if test "$wxUSE_OMF" = "yes"; then
48810 case "${host}" in
48811 *-pc-os2_emx | *-pc-os2-emx )
48812 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48813 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48814 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48815 ;;
48816 esac
48817 fi
48818
48819 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48820
48821 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48884 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48885 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48886 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48887 echo $ECHO_N "(cached) $ECHO_C" >&6
48888 else
48889 cat >conftest.make <<\_ACEOF
48890 SHELL = /bin/sh
48891 all:
48892 @echo '@@@%%%=$(MAKE)=@@@%%%'
48893 _ACEOF
48894 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48895 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48896 *@@@%%%=?*=@@@%%%*)
48897 eval ac_cv_prog_make_${ac_make}_set=yes;;
48898 *)
48899 eval ac_cv_prog_make_${ac_make}_set=no;;
48900 esac
48901 rm -f conftest.make
48902 fi
48903 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48904 { echo "$as_me:$LINENO: result: yes" >&5
48905 echo "${ECHO_T}yes" >&6; }
48906 SET_MAKE=
48907 else
48908 { echo "$as_me:$LINENO: result: no" >&5
48909 echo "${ECHO_T}no" >&6; }
48910 SET_MAKE="MAKE=${MAKE-make}"
48911 fi
48912
48913
48914
48915 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48916
48917
48918 if test "$USE_WIN32" = 1; then
48919 ac_config_commands="$ac_config_commands
48920 rcdefs.h
48921 "
48922
48923 fi
48924
48925 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48926
48927
48928 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48929
48930
48931 if test "$wx_cv_version_script" = "yes"; then
48932 ac_config_files="$ac_config_files version-script"
48933
48934 fi
48935 ac_config_files="$ac_config_files Makefile"
48936
48937
48938 ac_config_commands="$ac_config_commands wx-config"
48939
48940
48941
48942 if test "$wxWITH_SUBDIRS" != "no"; then
48943 if test "$wxUSE_GUI" = "yes"; then
48944 SUBDIRS="samples demos utils"
48945 else SUBDIRS="samples utils"
48946 fi
48947
48948
48949
48950 # Check whether --with-cppunit-prefix was given.
48951 if test "${with_cppunit_prefix+set}" = set; then
48952 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48953 else
48954 cppunit_config_prefix=""
48955 fi
48956
48957
48958 # Check whether --with-cppunit-exec-prefix was given.
48959 if test "${with_cppunit_exec_prefix+set}" = set; then
48960 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48961 else
48962 cppunit_config_exec_prefix=""
48963 fi
48964
48965
48966 if test x$cppunit_config_exec_prefix != x ; then
48967 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48968 if test x${CPPUNIT_CONFIG+set} != xset ; then
48969 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48970 fi
48971 fi
48972 if test x$cppunit_config_prefix != x ; then
48973 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48974 if test x${CPPUNIT_CONFIG+set} != xset ; then
48975 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48976 fi
48977 fi
48978
48979 # Extract the first word of "cppunit-config", so it can be a program name with args.
48980 set dummy cppunit-config; ac_word=$2
48981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48983 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48984 echo $ECHO_N "(cached) $ECHO_C" >&6
48985 else
48986 case $CPPUNIT_CONFIG in
48987 [\\/]* | ?:[\\/]*)
48988 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48989 ;;
48990 *)
48991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48992 for as_dir in $PATH
48993 do
48994 IFS=$as_save_IFS
48995 test -z "$as_dir" && as_dir=.
48996 for ac_exec_ext in '' $ac_executable_extensions; do
48997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48998 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49000 break 2
49001 fi
49002 done
49003 done
49004 IFS=$as_save_IFS
49005
49006 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49007 ;;
49008 esac
49009 fi
49010 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49011 if test -n "$CPPUNIT_CONFIG"; then
49012 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49013 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49014 else
49015 { echo "$as_me:$LINENO: result: no" >&5
49016 echo "${ECHO_T}no" >&6; }
49017 fi
49018
49019
49020 cppunit_version_min=1.8.0
49021
49022 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49023 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49024 no_cppunit=""
49025 if test "$CPPUNIT_CONFIG" = "no" ; then
49026 { echo "$as_me:$LINENO: result: no" >&5
49027 echo "${ECHO_T}no" >&6; }
49028 no_cppunit=yes
49029 else
49030 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49031 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49032 cppunit_version=`$CPPUNIT_CONFIG --version`
49033
49034 cppunit_major_version=`echo $cppunit_version | \
49035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49036 cppunit_minor_version=`echo $cppunit_version | \
49037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49038 cppunit_micro_version=`echo $cppunit_version | \
49039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49040
49041 cppunit_major_min=`echo $cppunit_version_min | \
49042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49043 if test "x${cppunit_major_min}" = "x" ; then
49044 cppunit_major_min=0
49045 fi
49046
49047 cppunit_minor_min=`echo $cppunit_version_min | \
49048 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49049 if test "x${cppunit_minor_min}" = "x" ; then
49050 cppunit_minor_min=0
49051 fi
49052
49053 cppunit_micro_min=`echo $cppunit_version_min | \
49054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49055 if test "x${cppunit_micro_min}" = "x" ; then
49056 cppunit_micro_min=0
49057 fi
49058
49059 cppunit_version_proper=`expr \
49060 $cppunit_major_version \> $cppunit_major_min \| \
49061 $cppunit_major_version \= $cppunit_major_min \& \
49062 $cppunit_minor_version \> $cppunit_minor_min \| \
49063 $cppunit_major_version \= $cppunit_major_min \& \
49064 $cppunit_minor_version \= $cppunit_minor_min \& \
49065 $cppunit_micro_version \>= $cppunit_micro_min `
49066
49067 if test "$cppunit_version_proper" = "1" ; then
49068 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49069 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49070 else
49071 { echo "$as_me:$LINENO: result: no" >&5
49072 echo "${ECHO_T}no" >&6; }
49073 no_cppunit=yes
49074 fi
49075 fi
49076
49077 if test "x$no_cppunit" = x ; then
49078 SUBDIRS="$SUBDIRS tests"
49079 else
49080 CPPUNIT_CFLAGS=""
49081 CPPUNIT_LIBS=""
49082 :
49083 fi
49084
49085
49086
49087
49088
49089 for subdir in `echo $SUBDIRS`; do
49090 if test -d ${srcdir}/${subdir} ; then
49091 if test "$wxUSE_GUI" = "yes"; then
49092 if test ${subdir} = "samples"; then
49093 makefiles="samples/Makefile.in $makefiles"
49094 for sample in `echo $SAMPLES_SUBDIRS`; do
49095 if test -d $srcdir/samples/$sample; then
49096 makefiles="samples/$sample/Makefile.in $makefiles"
49097 fi
49098 done
49099 else
49100 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49101 eval "disabled=\$$disabled_var"
49102 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49103 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49104 fi
49105 else if test ${subdir} = "samples"; then
49106 makefiles="samples/Makefile.in samples/console/Makefile.in"
49107 elif test ${subdir} = "utils"; then
49108 makefiles=""
49109 for util in HelpGen tex2rtf ; do
49110 if test -d $srcdir/utils/$util ; then
49111 makefiles="utils/$util/Makefile.in \
49112 utils/$util/src/Makefile.in \
49113 $makefiles"
49114 fi
49115 done
49116 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49117 fi
49118 fi
49119
49120 for mkin in $makefiles ; do
49121 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49122 ac_config_files="$ac_config_files $mk"
49123
49124 done
49125 fi
49126 done
49127 fi
49128 cat >confcache <<\_ACEOF
49129 # This file is a shell script that caches the results of configure
49130 # tests run on this system so they can be shared between configure
49131 # scripts and configure runs, see configure's option --config-cache.
49132 # It is not useful on other systems. If it contains results you don't
49133 # want to keep, you may remove or edit it.
49134 #
49135 # config.status only pays attention to the cache file if you give it
49136 # the --recheck option to rerun configure.
49137 #
49138 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49139 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49140 # following values.
49141
49142 _ACEOF
49143
49144 # The following way of writing the cache mishandles newlines in values,
49145 # but we know of no workaround that is simple, portable, and efficient.
49146 # So, we kill variables containing newlines.
49147 # Ultrix sh set writes to stderr and can't be redirected directly,
49148 # and sets the high bit in the cache file unless we assign to the vars.
49149 (
49150 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49151 eval ac_val=\$$ac_var
49152 case $ac_val in #(
49153 *${as_nl}*)
49154 case $ac_var in #(
49155 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49156 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49157 esac
49158 case $ac_var in #(
49159 _ | IFS | as_nl) ;; #(
49160 *) $as_unset $ac_var ;;
49161 esac ;;
49162 esac
49163 done
49164
49165 (set) 2>&1 |
49166 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49167 *${as_nl}ac_space=\ *)
49168 # `set' does not quote correctly, so add quotes (double-quote
49169 # substitution turns \\\\ into \\, and sed turns \\ into \).
49170 sed -n \
49171 "s/'/'\\\\''/g;
49172 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49173 ;; #(
49174 *)
49175 # `set' quotes correctly as required by POSIX, so do not add quotes.
49176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49177 ;;
49178 esac |
49179 sort
49180 ) |
49181 sed '
49182 /^ac_cv_env_/b end
49183 t clear
49184 :clear
49185 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49186 t end
49187 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49188 :end' >>confcache
49189 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49190 if test -w "$cache_file"; then
49191 test "x$cache_file" != "x/dev/null" &&
49192 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49193 echo "$as_me: updating cache $cache_file" >&6;}
49194 cat confcache >$cache_file
49195 else
49196 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49197 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49198 fi
49199 fi
49200 rm -f confcache
49201
49202 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49203 # Let make expand exec_prefix.
49204 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49205
49206 DEFS=-DHAVE_CONFIG_H
49207
49208 ac_libobjs=
49209 ac_ltlibobjs=
49210 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49211 # 1. Remove the extension, and $U if already installed.
49212 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49213 ac_i=`echo "$ac_i" | sed "$ac_script"`
49214 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49215 # will be set to the directory where LIBOBJS objects are built.
49216 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49217 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49218 done
49219 LIBOBJS=$ac_libobjs
49220
49221 LTLIBOBJS=$ac_ltlibobjs
49222
49223
49224
49225 : ${CONFIG_STATUS=./config.status}
49226 ac_clean_files_save=$ac_clean_files
49227 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49228 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49229 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49230 cat >$CONFIG_STATUS <<_ACEOF
49231 #! $SHELL
49232 # Generated by $as_me.
49233 # Run this file to recreate the current configuration.
49234 # Compiler output produced by configure, useful for debugging
49235 # configure, is in config.log if it exists.
49236
49237 debug=false
49238 ac_cs_recheck=false
49239 ac_cs_silent=false
49240 SHELL=\${CONFIG_SHELL-$SHELL}
49241 _ACEOF
49242
49243 cat >>$CONFIG_STATUS <<\_ACEOF
49244 ## --------------------- ##
49245 ## M4sh Initialization. ##
49246 ## --------------------- ##
49247
49248 # Be more Bourne compatible
49249 DUALCASE=1; export DUALCASE # for MKS sh
49250 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49251 emulate sh
49252 NULLCMD=:
49253 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49254 # is contrary to our usage. Disable this feature.
49255 alias -g '${1+"$@"}'='"$@"'
49256 setopt NO_GLOB_SUBST
49257 else
49258 case `(set -o) 2>/dev/null` in
49259 *posix*) set -o posix ;;
49260 esac
49261
49262 fi
49263
49264
49265
49266
49267 # PATH needs CR
49268 # Avoid depending upon Character Ranges.
49269 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49270 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49271 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49272 as_cr_digits='0123456789'
49273 as_cr_alnum=$as_cr_Letters$as_cr_digits
49274
49275 # The user is always right.
49276 if test "${PATH_SEPARATOR+set}" != set; then
49277 echo "#! /bin/sh" >conf$$.sh
49278 echo "exit 0" >>conf$$.sh
49279 chmod +x conf$$.sh
49280 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49281 PATH_SEPARATOR=';'
49282 else
49283 PATH_SEPARATOR=:
49284 fi
49285 rm -f conf$$.sh
49286 fi
49287
49288 # Support unset when possible.
49289 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49290 as_unset=unset
49291 else
49292 as_unset=false
49293 fi
49294
49295
49296 # IFS
49297 # We need space, tab and new line, in precisely that order. Quoting is
49298 # there to prevent editors from complaining about space-tab.
49299 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49300 # splitting by setting IFS to empty value.)
49301 as_nl='
49302 '
49303 IFS=" "" $as_nl"
49304
49305 # Find who we are. Look in the path if we contain no directory separator.
49306 case $0 in
49307 *[\\/]* ) as_myself=$0 ;;
49308 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49309 for as_dir in $PATH
49310 do
49311 IFS=$as_save_IFS
49312 test -z "$as_dir" && as_dir=.
49313 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49314 done
49315 IFS=$as_save_IFS
49316
49317 ;;
49318 esac
49319 # We did not find ourselves, most probably we were run as `sh COMMAND'
49320 # in which case we are not to be found in the path.
49321 if test "x$as_myself" = x; then
49322 as_myself=$0
49323 fi
49324 if test ! -f "$as_myself"; then
49325 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49326 { (exit 1); exit 1; }
49327 fi
49328
49329 # Work around bugs in pre-3.0 UWIN ksh.
49330 for as_var in ENV MAIL MAILPATH
49331 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49332 done
49333 PS1='$ '
49334 PS2='> '
49335 PS4='+ '
49336
49337 # NLS nuisances.
49338 for as_var in \
49339 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49340 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49341 LC_TELEPHONE LC_TIME
49342 do
49343 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49344 eval $as_var=C; export $as_var
49345 else
49346 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49347 fi
49348 done
49349
49350 # Required to use basename.
49351 if expr a : '\(a\)' >/dev/null 2>&1 &&
49352 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49353 as_expr=expr
49354 else
49355 as_expr=false
49356 fi
49357
49358 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49359 as_basename=basename
49360 else
49361 as_basename=false
49362 fi
49363
49364
49365 # Name of the executable.
49366 as_me=`$as_basename -- "$0" ||
49367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49368 X"$0" : 'X\(//\)$' \| \
49369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49370 echo X/"$0" |
49371 sed '/^.*\/\([^/][^/]*\)\/*$/{
49372 s//\1/
49373 q
49374 }
49375 /^X\/\(\/\/\)$/{
49376 s//\1/
49377 q
49378 }
49379 /^X\/\(\/\).*/{
49380 s//\1/
49381 q
49382 }
49383 s/.*/./; q'`
49384
49385 # CDPATH.
49386 $as_unset CDPATH
49387
49388
49389
49390 as_lineno_1=$LINENO
49391 as_lineno_2=$LINENO
49392 test "x$as_lineno_1" != "x$as_lineno_2" &&
49393 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49394
49395 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49396 # uniformly replaced by the line number. The first 'sed' inserts a
49397 # line-number line after each line using $LINENO; the second 'sed'
49398 # does the real work. The second script uses 'N' to pair each
49399 # line-number line with the line containing $LINENO, and appends
49400 # trailing '-' during substitution so that $LINENO is not a special
49401 # case at line end.
49402 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49403 # scripts with optimization help from Paolo Bonzini. Blame Lee
49404 # E. McMahon (1931-1989) for sed's syntax. :-)
49405 sed -n '
49406 p
49407 /[$]LINENO/=
49408 ' <$as_myself |
49409 sed '
49410 s/[$]LINENO.*/&-/
49411 t lineno
49412 b
49413 :lineno
49414 N
49415 :loop
49416 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49417 t loop
49418 s/-\n.*//
49419 ' >$as_me.lineno &&
49420 chmod +x "$as_me.lineno" ||
49421 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49422 { (exit 1); exit 1; }; }
49423
49424 # Don't try to exec as it changes $[0], causing all sort of problems
49425 # (the dirname of $[0] is not the place where we might find the
49426 # original and so on. Autoconf is especially sensitive to this).
49427 . "./$as_me.lineno"
49428 # Exit status is that of the last command.
49429 exit
49430 }
49431
49432
49433 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49434 as_dirname=dirname
49435 else
49436 as_dirname=false
49437 fi
49438
49439 ECHO_C= ECHO_N= ECHO_T=
49440 case `echo -n x` in
49441 -n*)
49442 case `echo 'x\c'` in
49443 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49444 *) ECHO_C='\c';;
49445 esac;;
49446 *)
49447 ECHO_N='-n';;
49448 esac
49449
49450 if expr a : '\(a\)' >/dev/null 2>&1 &&
49451 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49452 as_expr=expr
49453 else
49454 as_expr=false
49455 fi
49456
49457 rm -f conf$$ conf$$.exe conf$$.file
49458 if test -d conf$$.dir; then
49459 rm -f conf$$.dir/conf$$.file
49460 else
49461 rm -f conf$$.dir
49462 mkdir conf$$.dir
49463 fi
49464 echo >conf$$.file
49465 if ln -s conf$$.file conf$$ 2>/dev/null; then
49466 as_ln_s='ln -s'
49467 # ... but there are two gotchas:
49468 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49469 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49470 # In both cases, we have to default to `cp -p'.
49471 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49472 as_ln_s='cp -p'
49473 elif ln conf$$.file conf$$ 2>/dev/null; then
49474 as_ln_s=ln
49475 else
49476 as_ln_s='cp -p'
49477 fi
49478 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49479 rmdir conf$$.dir 2>/dev/null
49480
49481 if mkdir -p . 2>/dev/null; then
49482 as_mkdir_p=:
49483 else
49484 test -d ./-p && rmdir ./-p
49485 as_mkdir_p=false
49486 fi
49487
49488 if test -x / >/dev/null 2>&1; then
49489 as_test_x='test -x'
49490 else
49491 if ls -dL / >/dev/null 2>&1; then
49492 as_ls_L_option=L
49493 else
49494 as_ls_L_option=
49495 fi
49496 as_test_x='
49497 eval sh -c '\''
49498 if test -d "$1"; then
49499 test -d "$1/.";
49500 else
49501 case $1 in
49502 -*)set "./$1";;
49503 esac;
49504 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49505 ???[sx]*):;;*)false;;esac;fi
49506 '\'' sh
49507 '
49508 fi
49509 as_executable_p=$as_test_x
49510
49511 # Sed expression to map a string onto a valid CPP name.
49512 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49513
49514 # Sed expression to map a string onto a valid variable name.
49515 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49516
49517
49518 exec 6>&1
49519
49520 # Save the log message, to keep $[0] and so on meaningful, and to
49521 # report actual input values of CONFIG_FILES etc. instead of their
49522 # values after options handling.
49523 ac_log="
49524 This file was extended by wxWidgets $as_me 2.9.0, which was
49525 generated by GNU Autoconf 2.61. Invocation command line was
49526
49527 CONFIG_FILES = $CONFIG_FILES
49528 CONFIG_HEADERS = $CONFIG_HEADERS
49529 CONFIG_LINKS = $CONFIG_LINKS
49530 CONFIG_COMMANDS = $CONFIG_COMMANDS
49531 $ $0 $@
49532
49533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49534 "
49535
49536 _ACEOF
49537
49538 cat >>$CONFIG_STATUS <<_ACEOF
49539 # Files that config.status was made for.
49540 config_files="$ac_config_files"
49541 config_headers="$ac_config_headers"
49542 config_commands="$ac_config_commands"
49543
49544 _ACEOF
49545
49546 cat >>$CONFIG_STATUS <<\_ACEOF
49547 ac_cs_usage="\
49548 \`$as_me' instantiates files from templates according to the
49549 current configuration.
49550
49551 Usage: $0 [OPTIONS] [FILE]...
49552
49553 -h, --help print this help, then exit
49554 -V, --version print version number and configuration settings, then exit
49555 -q, --quiet do not print progress messages
49556 -d, --debug don't remove temporary files
49557 --recheck update $as_me by reconfiguring in the same conditions
49558 --file=FILE[:TEMPLATE]
49559 instantiate the configuration file FILE
49560 --header=FILE[:TEMPLATE]
49561 instantiate the configuration header FILE
49562
49563 Configuration files:
49564 $config_files
49565
49566 Configuration headers:
49567 $config_headers
49568
49569 Configuration commands:
49570 $config_commands
49571
49572 Report bugs to <bug-autoconf@gnu.org>."
49573
49574 _ACEOF
49575 cat >>$CONFIG_STATUS <<_ACEOF
49576 ac_cs_version="\\
49577 wxWidgets config.status 2.9.0
49578 configured by $0, generated by GNU Autoconf 2.61,
49579 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49580
49581 Copyright (C) 2006 Free Software Foundation, Inc.
49582 This config.status script is free software; the Free Software Foundation
49583 gives unlimited permission to copy, distribute and modify it."
49584
49585 ac_pwd='$ac_pwd'
49586 srcdir='$srcdir'
49587 INSTALL='$INSTALL'
49588 _ACEOF
49589
49590 cat >>$CONFIG_STATUS <<\_ACEOF
49591 # If no file are specified by the user, then we need to provide default
49592 # value. By we need to know if files were specified by the user.
49593 ac_need_defaults=:
49594 while test $# != 0
49595 do
49596 case $1 in
49597 --*=*)
49598 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49599 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49600 ac_shift=:
49601 ;;
49602 *)
49603 ac_option=$1
49604 ac_optarg=$2
49605 ac_shift=shift
49606 ;;
49607 esac
49608
49609 case $ac_option in
49610 # Handling of the options.
49611 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49612 ac_cs_recheck=: ;;
49613 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49614 echo "$ac_cs_version"; exit ;;
49615 --debug | --debu | --deb | --de | --d | -d )
49616 debug=: ;;
49617 --file | --fil | --fi | --f )
49618 $ac_shift
49619 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49620 ac_need_defaults=false;;
49621 --header | --heade | --head | --hea )
49622 $ac_shift
49623 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49624 ac_need_defaults=false;;
49625 --he | --h)
49626 # Conflict between --help and --header
49627 { echo "$as_me: error: ambiguous option: $1
49628 Try \`$0 --help' for more information." >&2
49629 { (exit 1); exit 1; }; };;
49630 --help | --hel | -h )
49631 echo "$ac_cs_usage"; exit ;;
49632 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49633 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49634 ac_cs_silent=: ;;
49635
49636 # This is an error.
49637 -*) { echo "$as_me: error: unrecognized option: $1
49638 Try \`$0 --help' for more information." >&2
49639 { (exit 1); exit 1; }; } ;;
49640
49641 *) ac_config_targets="$ac_config_targets $1"
49642 ac_need_defaults=false ;;
49643
49644 esac
49645 shift
49646 done
49647
49648 ac_configure_extra_args=
49649
49650 if $ac_cs_silent; then
49651 exec 6>/dev/null
49652 ac_configure_extra_args="$ac_configure_extra_args --silent"
49653 fi
49654
49655 _ACEOF
49656 cat >>$CONFIG_STATUS <<_ACEOF
49657 if \$ac_cs_recheck; then
49658 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49659 CONFIG_SHELL=$SHELL
49660 export CONFIG_SHELL
49661 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49662 fi
49663
49664 _ACEOF
49665 cat >>$CONFIG_STATUS <<\_ACEOF
49666 exec 5>>config.log
49667 {
49668 echo
49669 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49670 ## Running $as_me. ##
49671 _ASBOX
49672 echo "$ac_log"
49673 } >&5
49674
49675 _ACEOF
49676 cat >>$CONFIG_STATUS <<_ACEOF
49677 #
49678 # INIT-COMMANDS
49679 #
49680
49681 CPP="$CPP"
49682 infile="$srcdir/include/wx/msw/genrcdefs.h"
49683 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49684
49685
49686 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49687 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49688 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49689 LN_S="${LN_S}"
49690
49691
49692 _ACEOF
49693
49694 cat >>$CONFIG_STATUS <<\_ACEOF
49695
49696 # Handling of arguments.
49697 for ac_config_target in $ac_config_targets
49698 do
49699 case $ac_config_target in
49700 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49701 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49702 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49703 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49704 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49705 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49706 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49707 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49708
49709 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49710 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49711 { (exit 1); exit 1; }; };;
49712 esac
49713 done
49714
49715
49716 # If the user did not use the arguments to specify the items to instantiate,
49717 # then the envvar interface is used. Set only those that are not.
49718 # We use the long form for the default assignment because of an extremely
49719 # bizarre bug on SunOS 4.1.3.
49720 if $ac_need_defaults; then
49721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49723 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49724 fi
49725
49726 # Have a temporary directory for convenience. Make it in the build tree
49727 # simply because there is no reason against having it here, and in addition,
49728 # creating and moving files from /tmp can sometimes cause problems.
49729 # Hook for its removal unless debugging.
49730 # Note that there is a small window in which the directory will not be cleaned:
49731 # after its creation but before its name has been assigned to `$tmp'.
49732 $debug ||
49733 {
49734 tmp=
49735 trap 'exit_status=$?
49736 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49737 ' 0
49738 trap '{ (exit 1); exit 1; }' 1 2 13 15
49739 }
49740 # Create a (secure) tmp directory for tmp files.
49741
49742 {
49743 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49744 test -n "$tmp" && test -d "$tmp"
49745 } ||
49746 {
49747 tmp=./conf$$-$RANDOM
49748 (umask 077 && mkdir "$tmp")
49749 } ||
49750 {
49751 echo "$me: cannot create a temporary directory in ." >&2
49752 { (exit 1); exit 1; }
49753 }
49754
49755 #
49756 # Set up the sed scripts for CONFIG_FILES section.
49757 #
49758
49759 # No need to generate the scripts if there are no CONFIG_FILES.
49760 # This happens for instance when ./config.status config.h
49761 if test -n "$CONFIG_FILES"; then
49762
49763 _ACEOF
49764
49765
49766
49767 ac_delim='%!_!# '
49768 for ac_last_try in false false false false false :; do
49769 cat >conf$$subs.sed <<_ACEOF
49770 SHELL!$SHELL$ac_delim
49771 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49772 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49773 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49774 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49775 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49776 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49777 exec_prefix!$exec_prefix$ac_delim
49778 prefix!$prefix$ac_delim
49779 program_transform_name!$program_transform_name$ac_delim
49780 bindir!$bindir$ac_delim
49781 sbindir!$sbindir$ac_delim
49782 libexecdir!$libexecdir$ac_delim
49783 datarootdir!$datarootdir$ac_delim
49784 datadir!$datadir$ac_delim
49785 sysconfdir!$sysconfdir$ac_delim
49786 sharedstatedir!$sharedstatedir$ac_delim
49787 localstatedir!$localstatedir$ac_delim
49788 includedir!$includedir$ac_delim
49789 oldincludedir!$oldincludedir$ac_delim
49790 docdir!$docdir$ac_delim
49791 infodir!$infodir$ac_delim
49792 htmldir!$htmldir$ac_delim
49793 dvidir!$dvidir$ac_delim
49794 pdfdir!$pdfdir$ac_delim
49795 psdir!$psdir$ac_delim
49796 libdir!$libdir$ac_delim
49797 localedir!$localedir$ac_delim
49798 mandir!$mandir$ac_delim
49799 DEFS!$DEFS$ac_delim
49800 ECHO_C!$ECHO_C$ac_delim
49801 ECHO_N!$ECHO_N$ac_delim
49802 ECHO_T!$ECHO_T$ac_delim
49803 LIBS!$LIBS$ac_delim
49804 build_alias!$build_alias$ac_delim
49805 host_alias!$host_alias$ac_delim
49806 target_alias!$target_alias$ac_delim
49807 build!$build$ac_delim
49808 build_cpu!$build_cpu$ac_delim
49809 build_vendor!$build_vendor$ac_delim
49810 build_os!$build_os$ac_delim
49811 host!$host$ac_delim
49812 host_cpu!$host_cpu$ac_delim
49813 host_vendor!$host_vendor$ac_delim
49814 host_os!$host_os$ac_delim
49815 target!$target$ac_delim
49816 target_cpu!$target_cpu$ac_delim
49817 target_vendor!$target_vendor$ac_delim
49818 target_os!$target_os$ac_delim
49819 wx_top_builddir!$wx_top_builddir$ac_delim
49820 CC!$CC$ac_delim
49821 CFLAGS!$CFLAGS$ac_delim
49822 LDFLAGS!$LDFLAGS$ac_delim
49823 CPPFLAGS!$CPPFLAGS$ac_delim
49824 ac_ct_CC!$ac_ct_CC$ac_delim
49825 EXEEXT!$EXEEXT$ac_delim
49826 OBJEXT!$OBJEXT$ac_delim
49827 CPP!$CPP$ac_delim
49828 GREP!$GREP$ac_delim
49829 EGREP!$EGREP$ac_delim
49830 CXX!$CXX$ac_delim
49831 CXXFLAGS!$CXXFLAGS$ac_delim
49832 ac_ct_CXX!$ac_ct_CXX$ac_delim
49833 RANLIB!$RANLIB$ac_delim
49834 AR!$AR$ac_delim
49835 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49836 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49837 INSTALL_DATA!$INSTALL_DATA$ac_delim
49838 STRIP!$STRIP$ac_delim
49839 WINDRES!$WINDRES$ac_delim
49840 DLLTOOL!$DLLTOOL$ac_delim
49841 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49842 LN_S!$LN_S$ac_delim
49843 subdirs!$subdirs$ac_delim
49844 PKG_CONFIG!$PKG_CONFIG$ac_delim
49845 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49846 GTK_LIBS!$GTK_LIBS$ac_delim
49847 GTK_CONFIG!$GTK_CONFIG$ac_delim
49848 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49849 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49850 XMKMF!$XMKMF$ac_delim
49851 X_CFLAGS!$X_CFLAGS$ac_delim
49852 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49853 X_LIBS!$X_LIBS$ac_delim
49854 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49855 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49856 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49857 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49858 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49859 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49860 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49861 REZ!$REZ$ac_delim
49862 DEREZ!$DEREZ$ac_delim
49863 SETFILE!$SETFILE$ac_delim
49864 LIBICONV!$LIBICONV$ac_delim
49865 SDL_CONFIG!$SDL_CONFIG$ac_delim
49866 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49867 _ACEOF
49868
49869 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49870 break
49871 elif $ac_last_try; then
49872 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49873 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49874 { (exit 1); exit 1; }; }
49875 else
49876 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49877 fi
49878 done
49879
49880 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49881 if test -n "$ac_eof"; then
49882 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49883 ac_eof=`expr $ac_eof + 1`
49884 fi
49885
49886 cat >>$CONFIG_STATUS <<_ACEOF
49887 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49888 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49889 _ACEOF
49890 sed '
49891 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49892 s/^/s,@/; s/!/@,|#_!!_#|/
49893 :n
49894 t n
49895 s/'"$ac_delim"'$/,g/; t
49896 s/$/\\/; p
49897 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49898 ' >>$CONFIG_STATUS <conf$$subs.sed
49899 rm -f conf$$subs.sed
49900 cat >>$CONFIG_STATUS <<_ACEOF
49901 CEOF$ac_eof
49902 _ACEOF
49903
49904
49905 ac_delim='%!_!# '
49906 for ac_last_try in false false false false false :; do
49907 cat >conf$$subs.sed <<_ACEOF
49908 SDL_LIBS!$SDL_LIBS$ac_delim
49909 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49910 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49911 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49912 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49913 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49914 HILDON_LIBS!$HILDON_LIBS$ac_delim
49915 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49916 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49917 GST_CFLAGS!$GST_CFLAGS$ac_delim
49918 GST_LIBS!$GST_LIBS$ac_delim
49919 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49920 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49921 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49922 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49923 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49924 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49925 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49926 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49927 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49928 VENDOR!$VENDOR$ac_delim
49929 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49930 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49931 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49932 WXUNIV!$WXUNIV$ac_delim
49933 MONOLITHIC!$MONOLITHIC$ac_delim
49934 USE_PLUGINS!$USE_PLUGINS$ac_delim
49935 CXXWARNINGS!$CXXWARNINGS$ac_delim
49936 EXTRALIBS!$EXTRALIBS$ac_delim
49937 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49938 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49939 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49940 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49941 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49942 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49943 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49944 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49945 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49946 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49947 UNICODE!$UNICODE$ac_delim
49948 BUILD!$BUILD$ac_delim
49949 DEBUG_INFO!$DEBUG_INFO$ac_delim
49950 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49951 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49952 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49953 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49954 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49955 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49956 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49957 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49958 SET_MAKE!$SET_MAKE$ac_delim
49959 MAKE_SET!$MAKE_SET$ac_delim
49960 AROPTIONS!$AROPTIONS$ac_delim
49961 NM!$NM$ac_delim
49962 INSTALL_DIR!$INSTALL_DIR$ac_delim
49963 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49964 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49965 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49966 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49967 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49968 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49969 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49970 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49971 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49972 SO_SUFFIX!$SO_SUFFIX$ac_delim
49973 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49974 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49975 LIBPREFIX!$LIBPREFIX$ac_delim
49976 LIBEXT!$LIBEXT$ac_delim
49977 DLLPREFIX!$DLLPREFIX$ac_delim
49978 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49979 dlldir!$dlldir$ac_delim
49980 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49981 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49982 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49983 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49984 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49985 PIC_FLAG!$PIC_FLAG$ac_delim
49986 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49987 USE_SOVERSION!$USE_SOVERSION$ac_delim
49988 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49989 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49990 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49991 USE_MACVERSION!$USE_MACVERSION$ac_delim
49992 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49993 SONAME_FLAG!$SONAME_FLAG$ac_delim
49994 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49995 BK_DEPS!$BK_DEPS$ac_delim
49996 GCC_PCH!$GCC_PCH$ac_delim
49997 ICC_PCH!$ICC_PCH$ac_delim
49998 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49999 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50000 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50001 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50002 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50003 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50004 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50005 _ACEOF
50006
50007 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50008 break
50009 elif $ac_last_try; then
50010 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50011 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50012 { (exit 1); exit 1; }; }
50013 else
50014 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50015 fi
50016 done
50017
50018 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50019 if test -n "$ac_eof"; then
50020 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50021 ac_eof=`expr $ac_eof + 1`
50022 fi
50023
50024 cat >>$CONFIG_STATUS <<_ACEOF
50025 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50026 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50027 _ACEOF
50028 sed '
50029 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50030 s/^/s,@/; s/!/@,|#_!!_#|/
50031 :n
50032 t n
50033 s/'"$ac_delim"'$/,g/; t
50034 s/$/\\/; p
50035 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50036 ' >>$CONFIG_STATUS <conf$$subs.sed
50037 rm -f conf$$subs.sed
50038 cat >>$CONFIG_STATUS <<_ACEOF
50039 CEOF$ac_eof
50040 _ACEOF
50041
50042
50043 ac_delim='%!_!# '
50044 for ac_last_try in false false false false false :; do
50045 cat >conf$$subs.sed <<_ACEOF
50046 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50047 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50048 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50049 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50050 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50051 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50052 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50053 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50054 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50055 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50056 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50057 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50058 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50062 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50064 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50065 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50066 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50067 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50068 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50069 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50070 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50071 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50072 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50073 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50074 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50075 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50076 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50077 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50078 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50079 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50080 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50081 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50082 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50083 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50084 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50085 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50086 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50087 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50088 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50089 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50090 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50091 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50092 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50093 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50094 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50095 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50096 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50097 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50099 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50101 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50102 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50103 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50104 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50105 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50106 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50107 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50108 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50109 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50110 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50111 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50112 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50113 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50114 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50115 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50116 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50117 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50118 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50119 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50120 COND_SHARED_0!$COND_SHARED_0$ac_delim
50121 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50122 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50123 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50124 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50125 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50126 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50127 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50128 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50129 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50130 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50131 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50132 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50133 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50134 COND_SHARED_1!$COND_SHARED_1$ac_delim
50135 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50136 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50137 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50138 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50139 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50140 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50141 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50142 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50143 _ACEOF
50144
50145 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50146 break
50147 elif $ac_last_try; then
50148 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50149 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50150 { (exit 1); exit 1; }; }
50151 else
50152 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50153 fi
50154 done
50155
50156 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50157 if test -n "$ac_eof"; then
50158 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50159 ac_eof=`expr $ac_eof + 1`
50160 fi
50161
50162 cat >>$CONFIG_STATUS <<_ACEOF
50163 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50165 _ACEOF
50166 sed '
50167 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50168 s/^/s,@/; s/!/@,|#_!!_#|/
50169 :n
50170 t n
50171 s/'"$ac_delim"'$/,g/; t
50172 s/$/\\/; p
50173 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50174 ' >>$CONFIG_STATUS <conf$$subs.sed
50175 rm -f conf$$subs.sed
50176 cat >>$CONFIG_STATUS <<_ACEOF
50177 CEOF$ac_eof
50178 _ACEOF
50179
50180
50181 ac_delim='%!_!# '
50182 for ac_last_try in false false false false false :; do
50183 cat >conf$$subs.sed <<_ACEOF
50184 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50185 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50186 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50189 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50190 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50191 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50192 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50193 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50194 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50195 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50196 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50197 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50198 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50199 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50200 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50201 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50202 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50203 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50204 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50205 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50206 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50207 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50208 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50210 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50211 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50212 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50213 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50214 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50215 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50216 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50217 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50218 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50219 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50220 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50221 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50222 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50223 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50224 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50225 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50226 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50227 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50228 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50229 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50230 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50231 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50232 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50233 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50234 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50235 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50236 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50237 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50238 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50239 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50240 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50241 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50242 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50243 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50244 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50245 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50246 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50247 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50248 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50249 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50250 SHARED!$SHARED$ac_delim
50251 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50252 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50253 USE_GUI!$USE_GUI$ac_delim
50254 AFMINSTALL!$AFMINSTALL$ac_delim
50255 WIN32INSTALL!$WIN32INSTALL$ac_delim
50256 TOOLKIT!$TOOLKIT$ac_delim
50257 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50258 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50259 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50260 cross_compiling!$cross_compiling$ac_delim
50261 WIDGET_SET!$WIDGET_SET$ac_delim
50262 WX_RELEASE!$WX_RELEASE$ac_delim
50263 WX_VERSION!$WX_VERSION$ac_delim
50264 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50265 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50266 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50267 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50268 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50269 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50270 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50271 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50272 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50273 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50274 EXE_LINKER!$EXE_LINKER$ac_delim
50275 GUIDIST!$GUIDIST$ac_delim
50276 DISTDIR!$DISTDIR$ac_delim
50277 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50278 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50279 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50280 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50281 _ACEOF
50282
50283 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50284 break
50285 elif $ac_last_try; then
50286 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50287 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50288 { (exit 1); exit 1; }; }
50289 else
50290 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50291 fi
50292 done
50293
50294 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50295 if test -n "$ac_eof"; then
50296 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50297 ac_eof=`expr $ac_eof + 1`
50298 fi
50299
50300 cat >>$CONFIG_STATUS <<_ACEOF
50301 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50302 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50303 _ACEOF
50304 sed '
50305 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50306 s/^/s,@/; s/!/@,|#_!!_#|/
50307 :n
50308 t n
50309 s/'"$ac_delim"'$/,g/; t
50310 s/$/\\/; p
50311 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50312 ' >>$CONFIG_STATUS <conf$$subs.sed
50313 rm -f conf$$subs.sed
50314 cat >>$CONFIG_STATUS <<_ACEOF
50315 CEOF$ac_eof
50316 _ACEOF
50317
50318
50319 ac_delim='%!_!# '
50320 for ac_last_try in false false false false false :; do
50321 cat >conf$$subs.sed <<_ACEOF
50322 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50323 RESCOMP!$RESCOMP$ac_delim
50324 RESFLAGS!$RESFLAGS$ac_delim
50325 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50326 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50327 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50328 LIBWXMACRES!$LIBWXMACRES$ac_delim
50329 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50330 MACSETFILE!$MACSETFILE$ac_delim
50331 GCC!$GCC$ac_delim
50332 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50333 LIBOBJS!$LIBOBJS$ac_delim
50334 LTLIBOBJS!$LTLIBOBJS$ac_delim
50335 _ACEOF
50336
50337 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50338 break
50339 elif $ac_last_try; then
50340 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50341 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50342 { (exit 1); exit 1; }; }
50343 else
50344 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50345 fi
50346 done
50347
50348 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50349 if test -n "$ac_eof"; then
50350 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50351 ac_eof=`expr $ac_eof + 1`
50352 fi
50353
50354 cat >>$CONFIG_STATUS <<_ACEOF
50355 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50356 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50357 _ACEOF
50358 sed '
50359 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50360 s/^/s,@/; s/!/@,|#_!!_#|/
50361 :n
50362 t n
50363 s/'"$ac_delim"'$/,g/; t
50364 s/$/\\/; p
50365 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50366 ' >>$CONFIG_STATUS <conf$$subs.sed
50367 rm -f conf$$subs.sed
50368 cat >>$CONFIG_STATUS <<_ACEOF
50369 :end
50370 s/|#_!!_#|//g
50371 CEOF$ac_eof
50372 _ACEOF
50373
50374
50375 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50376 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50377 # trailing colons and then remove the whole line if VPATH becomes empty
50378 # (actually we leave an empty line to preserve line numbers).
50379 if test "x$srcdir" = x.; then
50380 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50381 s/:*\$(srcdir):*/:/
50382 s/:*\${srcdir}:*/:/
50383 s/:*@srcdir@:*/:/
50384 s/^\([^=]*=[ ]*\):*/\1/
50385 s/:*$//
50386 s/^[^=]*=[ ]*$//
50387 }'
50388 fi
50389
50390 cat >>$CONFIG_STATUS <<\_ACEOF
50391 fi # test -n "$CONFIG_FILES"
50392
50393
50394 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50395 do
50396 case $ac_tag in
50397 :[FHLC]) ac_mode=$ac_tag; continue;;
50398 esac
50399 case $ac_mode$ac_tag in
50400 :[FHL]*:*);;
50401 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50402 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50403 { (exit 1); exit 1; }; };;
50404 :[FH]-) ac_tag=-:-;;
50405 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50406 esac
50407 ac_save_IFS=$IFS
50408 IFS=:
50409 set x $ac_tag
50410 IFS=$ac_save_IFS
50411 shift
50412 ac_file=$1
50413 shift
50414
50415 case $ac_mode in
50416 :L) ac_source=$1;;
50417 :[FH])
50418 ac_file_inputs=
50419 for ac_f
50420 do
50421 case $ac_f in
50422 -) ac_f="$tmp/stdin";;
50423 *) # Look for the file first in the build tree, then in the source tree
50424 # (if the path is not absolute). The absolute path cannot be DOS-style,
50425 # because $ac_f cannot contain `:'.
50426 test -f "$ac_f" ||
50427 case $ac_f in
50428 [\\/$]*) false;;
50429 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50430 esac ||
50431 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50432 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50433 { (exit 1); exit 1; }; };;
50434 esac
50435 ac_file_inputs="$ac_file_inputs $ac_f"
50436 done
50437
50438 # Let's still pretend it is `configure' which instantiates (i.e., don't
50439 # use $as_me), people would be surprised to read:
50440 # /* config.h. Generated by config.status. */
50441 configure_input="Generated from "`IFS=:
50442 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50443 if test x"$ac_file" != x-; then
50444 configure_input="$ac_file. $configure_input"
50445 { echo "$as_me:$LINENO: creating $ac_file" >&5
50446 echo "$as_me: creating $ac_file" >&6;}
50447 fi
50448
50449 case $ac_tag in
50450 *:-:* | *:-) cat >"$tmp/stdin";;
50451 esac
50452 ;;
50453 esac
50454
50455 ac_dir=`$as_dirname -- "$ac_file" ||
50456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50457 X"$ac_file" : 'X\(//\)[^/]' \| \
50458 X"$ac_file" : 'X\(//\)$' \| \
50459 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50460 echo X"$ac_file" |
50461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50462 s//\1/
50463 q
50464 }
50465 /^X\(\/\/\)[^/].*/{
50466 s//\1/
50467 q
50468 }
50469 /^X\(\/\/\)$/{
50470 s//\1/
50471 q
50472 }
50473 /^X\(\/\).*/{
50474 s//\1/
50475 q
50476 }
50477 s/.*/./; q'`
50478 { as_dir="$ac_dir"
50479 case $as_dir in #(
50480 -*) as_dir=./$as_dir;;
50481 esac
50482 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50483 as_dirs=
50484 while :; do
50485 case $as_dir in #(
50486 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50487 *) as_qdir=$as_dir;;
50488 esac
50489 as_dirs="'$as_qdir' $as_dirs"
50490 as_dir=`$as_dirname -- "$as_dir" ||
50491 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50492 X"$as_dir" : 'X\(//\)[^/]' \| \
50493 X"$as_dir" : 'X\(//\)$' \| \
50494 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50495 echo X"$as_dir" |
50496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50497 s//\1/
50498 q
50499 }
50500 /^X\(\/\/\)[^/].*/{
50501 s//\1/
50502 q
50503 }
50504 /^X\(\/\/\)$/{
50505 s//\1/
50506 q
50507 }
50508 /^X\(\/\).*/{
50509 s//\1/
50510 q
50511 }
50512 s/.*/./; q'`
50513 test -d "$as_dir" && break
50514 done
50515 test -z "$as_dirs" || eval "mkdir $as_dirs"
50516 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50517 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50518 { (exit 1); exit 1; }; }; }
50519 ac_builddir=.
50520
50521 case "$ac_dir" in
50522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50523 *)
50524 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50525 # A ".." for each directory in $ac_dir_suffix.
50526 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50527 case $ac_top_builddir_sub in
50528 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50529 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50530 esac ;;
50531 esac
50532 ac_abs_top_builddir=$ac_pwd
50533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50534 # for backward compatibility:
50535 ac_top_builddir=$ac_top_build_prefix
50536
50537 case $srcdir in
50538 .) # We are building in place.
50539 ac_srcdir=.
50540 ac_top_srcdir=$ac_top_builddir_sub
50541 ac_abs_top_srcdir=$ac_pwd ;;
50542 [\\/]* | ?:[\\/]* ) # Absolute name.
50543 ac_srcdir=$srcdir$ac_dir_suffix;
50544 ac_top_srcdir=$srcdir
50545 ac_abs_top_srcdir=$srcdir ;;
50546 *) # Relative name.
50547 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50548 ac_top_srcdir=$ac_top_build_prefix$srcdir
50549 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50550 esac
50551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50552
50553
50554 case $ac_mode in
50555 :F)
50556 #
50557 # CONFIG_FILE
50558 #
50559
50560 case $INSTALL in
50561 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50562 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50563 esac
50564 _ACEOF
50565
50566 cat >>$CONFIG_STATUS <<\_ACEOF
50567 # If the template does not know about datarootdir, expand it.
50568 # FIXME: This hack should be removed a few years after 2.60.
50569 ac_datarootdir_hack=; ac_datarootdir_seen=
50570
50571 case `sed -n '/datarootdir/ {
50572 p
50573 q
50574 }
50575 /@datadir@/p
50576 /@docdir@/p
50577 /@infodir@/p
50578 /@localedir@/p
50579 /@mandir@/p
50580 ' $ac_file_inputs` in
50581 *datarootdir*) ac_datarootdir_seen=yes;;
50582 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50583 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50584 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50585 _ACEOF
50586 cat >>$CONFIG_STATUS <<_ACEOF
50587 ac_datarootdir_hack='
50588 s&@datadir@&$datadir&g
50589 s&@docdir@&$docdir&g
50590 s&@infodir@&$infodir&g
50591 s&@localedir@&$localedir&g
50592 s&@mandir@&$mandir&g
50593 s&\\\${datarootdir}&$datarootdir&g' ;;
50594 esac
50595 _ACEOF
50596
50597 # Neutralize VPATH when `$srcdir' = `.'.
50598 # Shell code in configure.ac might set extrasub.
50599 # FIXME: do we really want to maintain this feature?
50600 cat >>$CONFIG_STATUS <<_ACEOF
50601 sed "$ac_vpsub
50602 $extrasub
50603 _ACEOF
50604 cat >>$CONFIG_STATUS <<\_ACEOF
50605 :t
50606 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50607 s&@configure_input@&$configure_input&;t t
50608 s&@top_builddir@&$ac_top_builddir_sub&;t t
50609 s&@srcdir@&$ac_srcdir&;t t
50610 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50611 s&@top_srcdir@&$ac_top_srcdir&;t t
50612 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50613 s&@builddir@&$ac_builddir&;t t
50614 s&@abs_builddir@&$ac_abs_builddir&;t t
50615 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50616 s&@INSTALL@&$ac_INSTALL&;t t
50617 $ac_datarootdir_hack
50618 " $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
50619
50620 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50621 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50622 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50623 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50624 which seems to be undefined. Please make sure it is defined." >&5
50625 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50626 which seems to be undefined. Please make sure it is defined." >&2;}
50627
50628 rm -f "$tmp/stdin"
50629 case $ac_file in
50630 -) cat "$tmp/out"; rm -f "$tmp/out";;
50631 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50632 esac
50633 ;;
50634 :H)
50635 #
50636 # CONFIG_HEADER
50637 #
50638 _ACEOF
50639
50640 # Transform confdefs.h into a sed script `conftest.defines', that
50641 # substitutes the proper values into config.h.in to produce config.h.
50642 rm -f conftest.defines conftest.tail
50643 # First, append a space to every undef/define line, to ease matching.
50644 echo 's/$/ /' >conftest.defines
50645 # Then, protect against being on the right side of a sed subst, or in
50646 # an unquoted here document, in config.status. If some macros were
50647 # called several times there might be several #defines for the same
50648 # symbol, which is useless. But do not sort them, since the last
50649 # AC_DEFINE must be honored.
50650 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50651 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50652 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50653 # PARAMS is the parameter list in the macro definition--in most cases, it's
50654 # just an empty string.
50655 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50656 ac_dB='\\)[ (].*,\\1define\\2'
50657 ac_dC=' '
50658 ac_dD=' ,'
50659
50660 uniq confdefs.h |
50661 sed -n '
50662 t rset
50663 :rset
50664 s/^[ ]*#[ ]*define[ ][ ]*//
50665 t ok
50666 d
50667 :ok
50668 s/[\\&,]/\\&/g
50669 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50670 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50671 ' >>conftest.defines
50672
50673 # Remove the space that was appended to ease matching.
50674 # Then replace #undef with comments. This is necessary, for
50675 # example, in the case of _POSIX_SOURCE, which is predefined and required
50676 # on some systems where configure will not decide to define it.
50677 # (The regexp can be short, since the line contains either #define or #undef.)
50678 echo 's/ $//
50679 s,^[ #]*u.*,/* & */,' >>conftest.defines
50680
50681 # Break up conftest.defines:
50682 ac_max_sed_lines=50
50683
50684 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50685 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50686 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50687 # et cetera.
50688 ac_in='$ac_file_inputs'
50689 ac_out='"$tmp/out1"'
50690 ac_nxt='"$tmp/out2"'
50691
50692 while :
50693 do
50694 # Write a here document:
50695 cat >>$CONFIG_STATUS <<_ACEOF
50696 # First, check the format of the line:
50697 cat >"\$tmp/defines.sed" <<\\CEOF
50698 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50699 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50700 b
50701 :def
50702 _ACEOF
50703 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50704 echo 'CEOF
50705 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50706 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50707 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50708 grep . conftest.tail >/dev/null || break
50709 rm -f conftest.defines
50710 mv conftest.tail conftest.defines
50711 done
50712 rm -f conftest.defines conftest.tail
50713
50714 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50715 cat >>$CONFIG_STATUS <<\_ACEOF
50716 if test x"$ac_file" != x-; then
50717 echo "/* $configure_input */" >"$tmp/config.h"
50718 cat "$ac_result" >>"$tmp/config.h"
50719 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50720 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50721 echo "$as_me: $ac_file is unchanged" >&6;}
50722 else
50723 rm -f $ac_file
50724 mv "$tmp/config.h" $ac_file
50725 fi
50726 else
50727 echo "/* $configure_input */"
50728 cat "$ac_result"
50729 fi
50730 rm -f "$tmp/out12"
50731 ;;
50732
50733 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50734 echo "$as_me: executing $ac_file commands" >&6;}
50735 ;;
50736 esac
50737
50738
50739 case $ac_file$ac_mode in
50740 "rcdefs.h":C)
50741 mkdir -p $outdir &&
50742 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50743 ;;
50744 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50745 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50746 "wx-config":C) rm -f wx-config
50747 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50748 ;;
50749
50750 esac
50751 done # for ac_tag
50752
50753
50754 { (exit 0); exit 0; }
50755 _ACEOF
50756 chmod +x $CONFIG_STATUS
50757 ac_clean_files=$ac_clean_files_save
50758
50759
50760 # configure is writing to config.log, and then calls config.status.
50761 # config.status does its own redirection, appending to config.log.
50762 # Unfortunately, on DOS this fails, as config.log is still kept open
50763 # by configure, so config.status won't be able to write to it; its
50764 # output is simply discarded. So we exec the FD to /dev/null,
50765 # effectively closing config.log, so it can be properly (re)opened and
50766 # appended to by config.status. When coming back to configure, we
50767 # need to make the FD available again.
50768 if test "$no_create" != yes; then
50769 ac_cs_success=:
50770 ac_config_status_args=
50771 test "$silent" = yes &&
50772 ac_config_status_args="$ac_config_status_args --quiet"
50773 exec 5>/dev/null
50774 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50775 exec 5>>config.log
50776 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50777 # would make configure fail if this is the last instruction.
50778 $ac_cs_success || { (exit 1); exit 1; }
50779 fi
50780
50781 #
50782 # CONFIG_SUBDIRS section.
50783 #
50784 if test "$no_recursion" != yes; then
50785
50786 # Remove --cache-file and --srcdir arguments so they do not pile up.
50787 ac_sub_configure_args=
50788 ac_prev=
50789 eval "set x $ac_configure_args"
50790 shift
50791 for ac_arg
50792 do
50793 if test -n "$ac_prev"; then
50794 ac_prev=
50795 continue
50796 fi
50797 case $ac_arg in
50798 -cache-file | --cache-file | --cache-fil | --cache-fi \
50799 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50800 ac_prev=cache_file ;;
50801 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50802 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50803 | --c=*)
50804 ;;
50805 --config-cache | -C)
50806 ;;
50807 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50808 ac_prev=srcdir ;;
50809 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50810 ;;
50811 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50812 ac_prev=prefix ;;
50813 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50814 ;;
50815 *)
50816 case $ac_arg in
50817 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50818 esac
50819 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50820 esac
50821 done
50822
50823 # Always prepend --prefix to ensure using the same prefix
50824 # in subdir configurations.
50825 ac_arg="--prefix=$prefix"
50826 case $ac_arg in
50827 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50828 esac
50829 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50830
50831 # Pass --silent
50832 if test "$silent" = yes; then
50833 ac_sub_configure_args="--silent $ac_sub_configure_args"
50834 fi
50835
50836 ac_popdir=`pwd`
50837 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50838
50839 # Do not complain, so a configure script can configure whichever
50840 # parts of a large source tree are present.
50841 test -d "$srcdir/$ac_dir" || continue
50842
50843 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50844 echo "$as_me:$LINENO: $ac_msg" >&5
50845 echo "$ac_msg" >&6
50846 { as_dir="$ac_dir"
50847 case $as_dir in #(
50848 -*) as_dir=./$as_dir;;
50849 esac
50850 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50851 as_dirs=
50852 while :; do
50853 case $as_dir in #(
50854 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50855 *) as_qdir=$as_dir;;
50856 esac
50857 as_dirs="'$as_qdir' $as_dirs"
50858 as_dir=`$as_dirname -- "$as_dir" ||
50859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50860 X"$as_dir" : 'X\(//\)[^/]' \| \
50861 X"$as_dir" : 'X\(//\)$' \| \
50862 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50863 echo X"$as_dir" |
50864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50865 s//\1/
50866 q
50867 }
50868 /^X\(\/\/\)[^/].*/{
50869 s//\1/
50870 q
50871 }
50872 /^X\(\/\/\)$/{
50873 s//\1/
50874 q
50875 }
50876 /^X\(\/\).*/{
50877 s//\1/
50878 q
50879 }
50880 s/.*/./; q'`
50881 test -d "$as_dir" && break
50882 done
50883 test -z "$as_dirs" || eval "mkdir $as_dirs"
50884 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50885 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50886 { (exit 1); exit 1; }; }; }
50887 ac_builddir=.
50888
50889 case "$ac_dir" in
50890 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50891 *)
50892 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50893 # A ".." for each directory in $ac_dir_suffix.
50894 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50895 case $ac_top_builddir_sub in
50896 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50897 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50898 esac ;;
50899 esac
50900 ac_abs_top_builddir=$ac_pwd
50901 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50902 # for backward compatibility:
50903 ac_top_builddir=$ac_top_build_prefix
50904
50905 case $srcdir in
50906 .) # We are building in place.
50907 ac_srcdir=.
50908 ac_top_srcdir=$ac_top_builddir_sub
50909 ac_abs_top_srcdir=$ac_pwd ;;
50910 [\\/]* | ?:[\\/]* ) # Absolute name.
50911 ac_srcdir=$srcdir$ac_dir_suffix;
50912 ac_top_srcdir=$srcdir
50913 ac_abs_top_srcdir=$srcdir ;;
50914 *) # Relative name.
50915 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50916 ac_top_srcdir=$ac_top_build_prefix$srcdir
50917 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50918 esac
50919 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50920
50921
50922 cd "$ac_dir"
50923
50924 # Check for guested configure; otherwise get Cygnus style configure.
50925 if test -f "$ac_srcdir/configure.gnu"; then
50926 ac_sub_configure=$ac_srcdir/configure.gnu
50927 elif test -f "$ac_srcdir/configure"; then
50928 ac_sub_configure=$ac_srcdir/configure
50929 elif test -f "$ac_srcdir/configure.in"; then
50930 # This should be Cygnus configure.
50931 ac_sub_configure=$ac_aux_dir/configure
50932 else
50933 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50934 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50935 ac_sub_configure=
50936 fi
50937
50938 # The recursion is here.
50939 if test -n "$ac_sub_configure"; then
50940 # Make the cache file name correct relative to the subdirectory.
50941 case $cache_file in
50942 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50943 *) # Relative name.
50944 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50945 esac
50946
50947 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50948 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50949 # The eval makes quoting arguments work.
50950 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50951 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50952 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50953 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50954 { (exit 1); exit 1; }; }
50955 fi
50956
50957 cd "$ac_popdir"
50958 done
50959 fi
50960
50961
50962 echo
50963 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50964 echo ""
50965 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50966 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50967
50968 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50969 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50970 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50971
50972 echo " What level of wxWidgets compatibility should be enabled?"
50973 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50974 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50975
50976 echo " Which libraries should wxWidgets use?"
50977 echo " jpeg ${wxUSE_LIBJPEG-none}"
50978 echo " png ${wxUSE_LIBPNG-none}"
50979 echo " regex ${wxUSE_REGEX}"
50980 echo " tiff ${wxUSE_LIBTIFF-none}"
50981 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50982 echo " xpm ${wxUSE_LIBXPM-none}"
50983 fi
50984 echo " zlib ${wxUSE_ZLIB}"
50985 echo " odbc ${wxUSE_ODBC}"
50986 echo " expat ${wxUSE_EXPAT}"
50987 echo " libmspack ${wxUSE_LIBMSPACK}"
50988 echo " sdl ${wxUSE_LIBSDL}"
50989
50990 echo ""
50991