]> git.saurik.com Git - wxWidgets.git/blob - configure
fix wxComboCtrl colours under Windows Vista (patch 1710006)
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 CXXWARNINGS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
904 COND_TOOLKIT_
905 COND_TOOLKIT_COCOA
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB
909 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_ODBC_1
951 COND_USE_OPENGL_1
952 COND_USE_PCH_1
953 COND_USE_PLUGINS_0
954 COND_USE_RTTI_0
955 COND_USE_RTTI_1
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSION_0
960 COND_USE_SOVERSOLARIS_1
961 COND_USE_STC_1
962 COND_USE_THREADS_0
963 COND_USE_THREADS_1
964 COND_USE_XRC_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
967 COND_WXUNIV_0
968 COND_WXUNIV_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
976 SHARED
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
979 USE_GUI
980 AFMINSTALL
981 WIN32INSTALL
982 TOOLKIT
983 TOOLKIT_DIR
984 TOOLCHAIN_NAME
985 TOOLCHAIN_FULLNAME
986 cross_compiling
987 WIDGET_SET
988 WX_RELEASE
989 WX_VERSION
990 WX_SUBVERSION
991 WX_CHARTYPE
992 WX_DEBUGTYPE
993 WXCONFIG_CPPFLAGS
994 WXCONFIG_CFLAGS
995 WXCONFIG_CXXFLAGS
996 WXCONFIG_LIBS
997 WXCONFIG_RPATH
998 WXCONFIG_LDFLAGS_GUI
999 WXCONFIG_RESFLAGS
1000 EXE_LINKER
1001 GUIDIST
1002 DISTDIR
1003 SAMPLES_SUBDIRS
1004 LDFLAGS_GL
1005 OPENGL_LIBS
1006 DMALLOC_LIBS
1007 WX_VERSION_TAG
1008 RESCOMP
1009 RESFLAGS
1010 RESPROGRAMOBJ
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1013 LIBWXMACRES
1014 POSTLINK_COMMAND
1015 MACSETFILE
1016 GCC
1017 CPPUNIT_CONFIG
1018 LIBOBJS
1019 LTLIBOBJS'
1020 ac_subst_files=''
1021 ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 CXX
1031 CXXFLAGS
1032 CCC
1033 PKG_CONFIG
1034 DIRECTFB_CFLAGS
1035 DIRECTFB_LIBS
1036 XMKMF
1037 PANGOX_CFLAGS
1038 PANGOX_LIBS
1039 PANGOFT2_CFLAGS
1040 PANGOFT2_LIBS
1041 PANGOXFT_CFLAGS
1042 PANGOXFT_LIBS
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1045 GNOMEVFS_CFLAGS
1046 GNOMEVFS_LIBS
1047 HILDON_CFLAGS
1048 HILDON_LIBS
1049 CAIRO_CFLAGS
1050 CAIRO_LIBS
1051 GST_CFLAGS
1052 GST_LIBS'
1053 ac_subdirs_all='src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1638 --enable-gpe use GNOME PDA Environment features if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL for containers
1643 --enable-extended_rtti use extended RTTI (XTI)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-intl use internationalization system
1661 --enable-config use wxConfig (and derived) classes
1662 --enable-protocols use wxProtocol and derived classes
1663 --enable-ftp use wxFTP (requires wxProtocol
1664 --enable-http use wxHTTP (requires wxProtocol
1665 --enable-fileproto use wxFileProto class (requires wxProtocol
1666 --enable-sockets use socket/network classes
1667 --enable-ole use OLE classes (Win32 only)
1668 --enable-dataobj use data object classes
1669 --enable-ipc use interprocess communication (wxSocket etc.)
1670 --enable-apple_ieee use the Apple IEEE codec
1671 --enable-arcstream use wxArchive streams
1672 --enable-backtrace use wxStackWalker class for getting backtraces
1673 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1674 --enable-cmdline use wxCmdLineParser class
1675 --enable-datetime use wxDateTime class
1676 --enable-debugreport use wxDebugReport class
1677 --enable-dialupman use dialup network classes
1678 --enable-dynlib use wxLibrary class for DLL loading
1679 --enable-dynamicloader use (new) wxDynamicLibrary class
1680 --enable-exceptions build exception-safe library
1681 --enable-ffile use wxFFile class
1682 --enable-file use wxFile class
1683 --enable-filesystem use virtual file systems classes
1684 --enable-fontmap use font encodings conversion classes
1685 --enable-fs_archive use virtual archive filesystems
1686 --enable-fs_inet use virtual HTTP/FTP filesystems
1687 --enable-fs_zip now replaced by fs_archive
1688 --enable-geometry use geometry class
1689 --enable-log use logging system
1690 --enable-longlong use wxLongLong class
1691 --enable-mimetype use wxMimeTypesManager
1692 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1693 --enable-utf8 use UTF-8 representation for strings (Unix only)
1694 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1695 --enable-snglinst use wxSingleInstanceChecker class
1696 --enable-std_iostreams use standard C++ stream classes
1697 --enable-std_string use standard C++ string classes
1698 --enable-stdpaths use wxStandardPaths class
1699 --enable-stopwatch use wxStopWatch class
1700 --enable-streams use wxStream etc classes
1701 --enable-sysoptions use wxSystemOptions
1702 --enable-tarstream use wxTar streams
1703 --enable-textbuf use wxTextBuffer class
1704 --enable-textfile use wxTextFile class
1705 --enable-timer use wxTimer class
1706 --enable-unicode compile wxString with Unicode support
1707 --enable-sound use wxSound class
1708 --enable-mediactrl use wxMediaCtrl class
1709 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-zipstream use wxZip streams
1712 --enable-url use wxURL class
1713 --enable-variant use wxVariant class
1714 --enable-protocol use wxProtocol class
1715 --enable-protocol-http HTTP support in wxProtocol
1716 --enable-protocol-ftp FTP support in wxProtocol
1717 --enable-protocol-file FILE support in wxProtocol
1718 --enable-threads use threads
1719 --enable-docview use document view architecture
1720 --enable-help use help subsystem
1721 --enable-mshtmlhelp use MS HTML Help (win32)
1722 --enable-html use wxHTML sub-library
1723 --enable-htmlhelp use wxHTML-based help
1724 --enable-xrc use XRC resources sub-library
1725 --enable-aui use AUI docking library
1726 --enable-stc use wxStyledTextCtrl library
1727 --enable-constraints use layout-constraints system
1728 --enable-printarch use printing architecture
1729 --enable-mdi use multiple document interface architecture
1730 --enable-mdidoc use docview architecture with MDI
1731 --enable-loggui use standard GUI logger
1732 --enable-logwin use wxLogWindow
1733 --enable-logdialog use wxLogDialog
1734 --enable-webkit use wxWebKitCtrl (Mac)
1735 --enable-richtext use wxRichTextCtrl
1736 --enable-graphics_ctx use graphics context 2D drawing API
1737 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1738 --enable-clipboard use wxClipboard class
1739 --enable-dnd use Drag'n'Drop classes
1740 --enable-metafile use win32 metafiles
1741 --enable-controls use all usual controls
1742 --enable-accel use accelerators
1743 --enable-animatectrl use wxAnimationCtrl class
1744 --enable-button use wxButton class
1745 --enable-bmpbutton use wxBitmapButton class
1746 --enable-bmpcombobox use wxBitmapComboBox class
1747 --enable-calendar use wxCalendarCtrl class
1748 --enable-caret use wxCaret class
1749 --enable-checkbox use wxCheckBox class
1750 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1751 --enable-choice use wxChoice class
1752 --enable-choicebook use wxChoicebook class
1753 --enable-collpane use wxCollapsiblePane class
1754 --enable-colourpicker use wxColourPickerCtrl class
1755 --enable-combobox use wxComboBox class
1756 --enable-comboctrl use wxComboCtrl class
1757 --enable-datepick use wxDatePickerCtrl class
1758 --enable-dirpicker use wxDirPickerCtrl class
1759 --enable-display use wxDisplay class
1760 --enable-detect_sm use code to detect X11 session manager
1761 --enable-editablebox use wxEditableListBox class
1762 --enable-filepicker use wxFilePickerCtrl class
1763 --enable-fontpicker use wxFontPickerCtrl class
1764 --enable-gauge use wxGauge class
1765 --enable-grid use wxGrid class
1766 --enable-dataviewctrl use wxDataViewCtrl class
1767 --enable-hyperlink use wxHyperlinkCtrl class
1768 --enable-imaglist use wxImageList class
1769 --enable-listbook use wxListbook class
1770 --enable-listbox use wxListBox class
1771 --enable-listctrl use wxListCtrl class
1772 --enable-notebook use wxNotebook class
1773 --enable-odcombobox use wxOwnerDrawnComboBox class
1774 --enable-radiobox use wxRadioBox class
1775 --enable-radiobtn use wxRadioButton class
1776 --enable-sash use wxSashWindow class
1777 --enable-scrollbar use wxScrollBar class and scrollable windows
1778 --enable-searchctrl use wxSearchCtrl class
1779 --enable-slider use wxSlider class
1780 --enable-spinbtn use wxSpinButton class
1781 --enable-spinctrl use wxSpinCtrl class
1782 --enable-splitter use wxSplitterWindow class
1783 --enable-statbmp use wxStaticBitmap class
1784 --enable-statbox use wxStaticBox class
1785 --enable-statline use wxStaticLine class
1786 --enable-stattext use wxStaticText class
1787 --enable-statusbar use wxStatusBar class
1788 --enable-tabdialog use wxTabControl class
1789 --enable-textctrl use wxTextCtrl class
1790 --enable-togglebtn use wxToggleButton class
1791 --enable-toolbar use wxToolBar class
1792 --enable-tbarnative use native wxToolBar class
1793 --enable-treebook use wxTreebook class
1794 --enable-toolbook use wxToolbook class
1795 --enable-treectrl use wxTreeCtrl class
1796 --enable-tipwindow use wxTipWindow class
1797 --enable-popupwin use wxPopUpWindow class
1798 --enable-commondlg use all common dialogs
1799 --enable-aboutdlg use wxAboutBox
1800 --enable-choicedlg use wxChoiceDialog
1801 --enable-coldlg use wxColourDialog
1802 --enable-filedlg use wxFileDialog
1803 --enable-finddlg use wxFindReplaceDialog
1804 --enable-fontdlg use wxFontDialog
1805 --enable-dirdlg use wxDirDialog
1806 --enable-msgdlg use wxMessageDialog
1807 --enable-numberdlg use wxNumberEntryDialog
1808 --enable-splash use wxSplashScreen
1809 --enable-textdlg use wxTextDialog
1810 --enable-tipdlg use startup tips
1811 --enable-progressdlg use wxProgressDialog
1812 --enable-wizarddlg use wxWizard
1813 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1814 --enable-miniframe use wxMiniFrame class
1815 --enable-tooltips use wxToolTip class
1816 --enable-splines use spline drawing code
1817 --enable-mousewheel use mousewheel
1818 --enable-validators use wxValidator and derived classes
1819 --enable-busyinfo use wxBusyInfo
1820 --enable-joystick use wxJoystick
1821 --enable-metafiles use wxMetaFile (Win32 only)
1822 --enable-dragimage use wxDragImage
1823 --enable-accessibility enable accessibility support
1824 --enable-dccache cache temporary wxDC objects (Win32 only)
1825 --enable-palette use wxPalette class
1826 --enable-image use wxImage class
1827 --enable-gif use gif images (GIF file format)
1828 --enable-pcx use pcx images (PCX file format)
1829 --enable-tga use tga images (TGA file format)
1830 --enable-iff use iff images (IFF file format)
1831 --enable-pnm use pnm images (PNM file format)
1832 --enable-xpm use xpm images (XPM file format)
1833 --enable-icocur use Windows ICO and CUR formats
1834 --enable-official_build official build of wxWidgets (win32 DLL only)
1835 --enable-vendor=VENDOR vendor name (win32 DLL only)
1836 --disable-largefile omit support for large files
1837 --disable-gtktest do not try to compile and run a test GTK+ program
1838 --disable-gtktest Do not try to compile and run a test GTK program
1839 --disable-sdltest Do not try to compile and run a test SDL program
1840 --enable-omf use OMF object format (OS/2)
1841 --disable-dependency-tracking
1842 don't use dependency tracking even if the compiler
1843 can
1844 --disable-precomp-headers
1845 don't use precompiled headers even if compiler can
1846
1847 Optional Packages:
1848 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1849 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1850 --without-subdirs don't generate makefiles for samples/demos/...
1851 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1852 --with-motif use Motif/Lesstif
1853 --with-mac use Mac OS X
1854 --with-cocoa use Cocoa
1855 --with-wine use Wine
1856 --with-msw use MS-Windows
1857 --with-pm use OS/2 Presentation Manager
1858 --with-mgl use SciTech MGL
1859 --with-directfb use DirectFB
1860 --with-microwin use MicroWindows
1861 --with-x11 use X11
1862 --with-libpng use libpng (PNG image format)
1863 --with-libjpeg use libjpeg (JPEG file format)
1864 --with-libtiff use libtiff (TIFF file format)
1865 --with-libxpm use libxpm (XPM file format)
1866 --with-libmspack use libmspack (CHM help files loading)
1867 --with-sdl use SDL for audio on Unix
1868 --with-gnomeprint use GNOME print for printing under GNOME
1869 --with-gnomevfs use GNOME VFS for associating MIME types
1870 --with-hildon use Hildon framework for Nokia 770
1871 --with-opengl use OpenGL (or Mesa)
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1874 --with-regex enable support for wxRegEx class
1875 --with-zlib use zlib for LZW compression
1876 --with-odbc use the IODBC and wxODBC classes
1877 --with-expat enable XML support using expat parser
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1880 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1881 --with-x use the X Window System
1882 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1883 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1884 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1885 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1886 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1887
1888 Some influential environment variables:
1889 CC C compiler command
1890 CFLAGS C compiler flags
1891 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1892 nonstandard directory <lib dir>
1893 LIBS libraries to pass to the linker, e.g. -l<library>
1894 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1895 you have headers in a nonstandard directory <include dir>
1896 CPP C preprocessor
1897 CXX C++ compiler command
1898 CXXFLAGS C++ compiler flags
1899 PKG_CONFIG path to pkg-config utility
1900 DIRECTFB_CFLAGS
1901 C compiler flags for DIRECTFB, overriding pkg-config
1902 DIRECTFB_LIBS
1903 linker flags for DIRECTFB, overriding pkg-config
1904 XMKMF Path to xmkmf, Makefile generator for X Window System
1905 PANGOX_CFLAGS
1906 C compiler flags for PANGOX, overriding pkg-config
1907 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1908 PANGOFT2_CFLAGS
1909 C compiler flags for PANGOFT2, overriding pkg-config
1910 PANGOFT2_LIBS
1911 linker flags for PANGOFT2, overriding pkg-config
1912 PANGOXFT_CFLAGS
1913 C compiler flags for PANGOXFT, overriding pkg-config
1914 PANGOXFT_LIBS
1915 linker flags for PANGOXFT, overriding pkg-config
1916 LIBGNOMEPRINTUI_CFLAGS
1917 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1918 LIBGNOMEPRINTUI_LIBS
1919 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1920 GNOMEVFS_CFLAGS
1921 C compiler flags for GNOMEVFS, overriding pkg-config
1922 GNOMEVFS_LIBS
1923 linker flags for GNOMEVFS, overriding pkg-config
1924 HILDON_CFLAGS
1925 C compiler flags for HILDON, overriding pkg-config
1926 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1927 CAIRO_CFLAGS
1928 C compiler flags for CAIRO, overriding pkg-config
1929 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1930 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1931 GST_LIBS linker flags for GST, overriding pkg-config
1932
1933 Use these variables to override the choices made by `configure' or to help
1934 it to find libraries and programs with nonstandard names/locations.
1935
1936 Report bugs to <wx-dev@lists.wxwidgets.org>.
1937 _ACEOF
1938 ac_status=$?
1939 fi
1940
1941 if test "$ac_init_help" = "recursive"; then
1942 # If there are subdirs, report their specific --help.
1943 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1944 test -d "$ac_dir" || continue
1945 ac_builddir=.
1946
1947 case "$ac_dir" in
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1949 *)
1950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1951 # A ".." for each directory in $ac_dir_suffix.
1952 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1953 case $ac_top_builddir_sub in
1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1956 esac ;;
1957 esac
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1962
1963 case $srcdir in
1964 .) # We are building in place.
1965 ac_srcdir=.
1966 ac_top_srcdir=$ac_top_builddir_sub
1967 ac_abs_top_srcdir=$ac_pwd ;;
1968 [\\/]* | ?:[\\/]* ) # Absolute name.
1969 ac_srcdir=$srcdir$ac_dir_suffix;
1970 ac_top_srcdir=$srcdir
1971 ac_abs_top_srcdir=$srcdir ;;
1972 *) # Relative name.
1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974 ac_top_srcdir=$ac_top_build_prefix$srcdir
1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1976 esac
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1978
1979 cd "$ac_dir" || { ac_status=$?; continue; }
1980 # Check for guested configure.
1981 if test -f "$ac_srcdir/configure.gnu"; then
1982 echo &&
1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984 elif test -f "$ac_srcdir/configure"; then
1985 echo &&
1986 $SHELL "$ac_srcdir/configure" --help=recursive
1987 else
1988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1989 fi || ac_status=$?
1990 cd "$ac_pwd" || { ac_status=$?; break; }
1991 done
1992 fi
1993
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1996 cat <<\_ACEOF
1997 wxWidgets configure 2.9.0
1998 generated by GNU Autoconf 2.61
1999
2000 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2001 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2002 This configure script is free software; the Free Software Foundation
2003 gives unlimited permission to copy, distribute and modify it.
2004 _ACEOF
2005 exit
2006 fi
2007 cat >config.log <<_ACEOF
2008 This file contains any messages produced by compilers while
2009 running configure, to aid debugging if configure makes a mistake.
2010
2011 It was created by wxWidgets $as_me 2.9.0, which was
2012 generated by GNU Autoconf 2.61. Invocation command line was
2013
2014 $ $0 $@
2015
2016 _ACEOF
2017 exec 5>>config.log
2018 {
2019 cat <<_ASUNAME
2020 ## --------- ##
2021 ## Platform. ##
2022 ## --------- ##
2023
2024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2029
2030 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2031 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2032
2033 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2034 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2035 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2036 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2037 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2038 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2039 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2040
2041 _ASUNAME
2042
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 for as_dir in $PATH
2045 do
2046 IFS=$as_save_IFS
2047 test -z "$as_dir" && as_dir=.
2048 echo "PATH: $as_dir"
2049 done
2050 IFS=$as_save_IFS
2051
2052 } >&5
2053
2054 cat >&5 <<_ACEOF
2055
2056
2057 ## ----------- ##
2058 ## Core tests. ##
2059 ## ----------- ##
2060
2061 _ACEOF
2062
2063
2064 # Keep a trace of the command line.
2065 # Strip out --no-create and --no-recursion so they do not pile up.
2066 # Strip out --silent because we don't want to record it for future runs.
2067 # Also quote any args containing shell meta-characters.
2068 # Make two passes to allow for proper duplicate-argument suppression.
2069 ac_configure_args=
2070 ac_configure_args0=
2071 ac_configure_args1=
2072 ac_must_keep_next=false
2073 for ac_pass in 1 2
2074 do
2075 for ac_arg
2076 do
2077 case $ac_arg in
2078 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080 | -silent | --silent | --silen | --sile | --sil)
2081 continue ;;
2082 *\'*)
2083 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 esac
2085 case $ac_pass in
2086 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2087 2)
2088 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2089 if test $ac_must_keep_next = true; then
2090 ac_must_keep_next=false # Got value, back to normal.
2091 else
2092 case $ac_arg in
2093 *=* | --config-cache | -C | -disable-* | --disable-* \
2094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096 | -with-* | --with-* | -without-* | --without-* | --x)
2097 case "$ac_configure_args0 " in
2098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2099 esac
2100 ;;
2101 -* ) ac_must_keep_next=true ;;
2102 esac
2103 fi
2104 ac_configure_args="$ac_configure_args '$ac_arg'"
2105 ;;
2106 esac
2107 done
2108 done
2109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2111
2112 # When interrupted or exit'd, cleanup temporary files, and complete
2113 # config.log. We remove comments because anyway the quotes in there
2114 # would cause problems or look ugly.
2115 # WARNING: Use '\'' to represent an apostrophe within the trap.
2116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117 trap 'exit_status=$?
2118 # Save into config.log some information that might help in debugging.
2119 {
2120 echo
2121
2122 cat <<\_ASBOX
2123 ## ---------------- ##
2124 ## Cache variables. ##
2125 ## ---------------- ##
2126 _ASBOX
2127 echo
2128 # The following way of writing the cache mishandles newlines in values,
2129 (
2130 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131 eval ac_val=\$$ac_var
2132 case $ac_val in #(
2133 *${as_nl}*)
2134 case $ac_var in #(
2135 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2136 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2137 esac
2138 case $ac_var in #(
2139 _ | IFS | as_nl) ;; #(
2140 *) $as_unset $ac_var ;;
2141 esac ;;
2142 esac
2143 done
2144 (set) 2>&1 |
2145 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2146 *${as_nl}ac_space=\ *)
2147 sed -n \
2148 "s/'\''/'\''\\\\'\'''\''/g;
2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2150 ;; #(
2151 *)
2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2153 ;;
2154 esac |
2155 sort
2156 )
2157 echo
2158
2159 cat <<\_ASBOX
2160 ## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##
2163 _ASBOX
2164 echo
2165 for ac_var in $ac_subst_vars
2166 do
2167 eval ac_val=\$$ac_var
2168 case $ac_val in
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2170 esac
2171 echo "$ac_var='\''$ac_val'\''"
2172 done | sort
2173 echo
2174
2175 if test -n "$ac_subst_files"; then
2176 cat <<\_ASBOX
2177 ## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##
2180 _ASBOX
2181 echo
2182 for ac_var in $ac_subst_files
2183 do
2184 eval ac_val=\$$ac_var
2185 case $ac_val in
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 esac
2188 echo "$ac_var='\''$ac_val'\''"
2189 done | sort
2190 echo
2191 fi
2192
2193 if test -s confdefs.h; then
2194 cat <<\_ASBOX
2195 ## ----------- ##
2196 ## confdefs.h. ##
2197 ## ----------- ##
2198 _ASBOX
2199 echo
2200 cat confdefs.h
2201 echo
2202 fi
2203 test "$ac_signal" != 0 &&
2204 echo "$as_me: caught signal $ac_signal"
2205 echo "$as_me: exit $exit_status"
2206 } >&5
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2209 exit $exit_status
2210 ' 0
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2213 done
2214 ac_signal=0
2215
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2218
2219 # Predefined preprocessor variables.
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2223 _ACEOF
2224
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 _ACEOF
2229
2230
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2233 _ACEOF
2234
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_STRING "$PACKAGE_STRING"
2238 _ACEOF
2239
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 _ACEOF
2244
2245
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer explicitly selected file to automatically selected ones.
2248 if test -n "$CONFIG_SITE"; then
2249 set x "$CONFIG_SITE"
2250 elif test "x$prefix" != xNONE; then
2251 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2252 else
2253 set x "$ac_default_prefix/share/config.site" \
2254 "$ac_default_prefix/etc/config.site"
2255 fi
2256 shift
2257 for ac_site_file
2258 do
2259 if test -r "$ac_site_file"; then
2260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2261 echo "$as_me: loading site script $ac_site_file" >&6;}
2262 sed 's/^/| /' "$ac_site_file" >&5
2263 . "$ac_site_file"
2264 fi
2265 done
2266
2267 if test -r "$cache_file"; then
2268 # Some versions of bash will fail to source /dev/null (special
2269 # files actually), so we avoid doing that.
2270 if test -f "$cache_file"; then
2271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2272 echo "$as_me: loading cache $cache_file" >&6;}
2273 case $cache_file in
2274 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2275 *) . "./$cache_file";;
2276 esac
2277 fi
2278 else
2279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2280 echo "$as_me: creating cache $cache_file" >&6;}
2281 >$cache_file
2282 fi
2283
2284 # Check that the precious variables saved in the cache have kept the same
2285 # value.
2286 ac_cache_corrupted=false
2287 for ac_var in $ac_precious_vars; do
2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2289 eval ac_new_set=\$ac_env_${ac_var}_set
2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2291 eval ac_new_val=\$ac_env_${ac_var}_value
2292 case $ac_old_set,$ac_new_set in
2293 set,)
2294 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2295 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2297 ,set)
2298 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2299 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2301 ,);;
2302 *)
2303 if test "x$ac_old_val" != "x$ac_new_val"; then
2304 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2305 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2306 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2307 echo "$as_me: former value: $ac_old_val" >&2;}
2308 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2309 echo "$as_me: current value: $ac_new_val" >&2;}
2310 ac_cache_corrupted=:
2311 fi;;
2312 esac
2313 # Pass precious variables to config.status.
2314 if test "$ac_new_set" = set; then
2315 case $ac_new_val in
2316 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2317 *) ac_arg=$ac_var=$ac_new_val ;;
2318 esac
2319 case " $ac_configure_args " in
2320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2322 esac
2323 fi
2324 done
2325 if $ac_cache_corrupted; then
2326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2330 { (exit 1); exit 1; }; }
2331 fi
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357 ac_ext=c
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2362
2363
2364
2365
2366
2367 ac_aux_dir=
2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2370 ac_aux_dir=$ac_dir
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2372 break
2373 elif test -f "$ac_dir/install.sh"; then
2374 ac_aux_dir=$ac_dir
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2376 break
2377 elif test -f "$ac_dir/shtool"; then
2378 ac_aux_dir=$ac_dir
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2380 break
2381 fi
2382 done
2383 if test -z "$ac_aux_dir"; then
2384 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2385 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396
2397
2398 # Make sure we can run config.sub.
2399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2400 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2401 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2402 { (exit 1); exit 1; }; }
2403
2404 { echo "$as_me:$LINENO: checking build system type" >&5
2405 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2406 if test "${ac_cv_build+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 ac_build_alias=$build_alias
2410 test "x$ac_build_alias" = x &&
2411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2412 test "x$ac_build_alias" = x &&
2413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2415 { (exit 1); exit 1; }; }
2416 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2417 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2418 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2419 { (exit 1); exit 1; }; }
2420
2421 fi
2422 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2423 echo "${ECHO_T}$ac_cv_build" >&6; }
2424 case $ac_cv_build in
2425 *-*-*) ;;
2426 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2427 echo "$as_me: error: invalid value of canonical build" >&2;}
2428 { (exit 1); exit 1; }; };;
2429 esac
2430 build=$ac_cv_build
2431 ac_save_IFS=$IFS; IFS='-'
2432 set x $ac_cv_build
2433 shift
2434 build_cpu=$1
2435 build_vendor=$2
2436 shift; shift
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2439 build_os=$*
2440 IFS=$ac_save_IFS
2441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2442
2443
2444 { echo "$as_me:$LINENO: checking host system type" >&5
2445 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2446 if test "${ac_cv_host+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 else
2449 if test "x$host_alias" = x; then
2450 ac_cv_host=$ac_cv_build
2451 else
2452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2453 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2454 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2455 { (exit 1); exit 1; }; }
2456 fi
2457
2458 fi
2459 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2460 echo "${ECHO_T}$ac_cv_host" >&6; }
2461 case $ac_cv_host in
2462 *-*-*) ;;
2463 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2464 echo "$as_me: error: invalid value of canonical host" >&2;}
2465 { (exit 1); exit 1; }; };;
2466 esac
2467 host=$ac_cv_host
2468 ac_save_IFS=$IFS; IFS='-'
2469 set x $ac_cv_host
2470 shift
2471 host_cpu=$1
2472 host_vendor=$2
2473 shift; shift
2474 # Remember, the first character of IFS is used to create $*,
2475 # except with old shells:
2476 host_os=$*
2477 IFS=$ac_save_IFS
2478 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2479
2480
2481 { echo "$as_me:$LINENO: checking target system type" >&5
2482 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_target+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486 if test "x$target_alias" = x; then
2487 ac_cv_target=$ac_cv_host
2488 else
2489 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2490 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2491 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2492 { (exit 1); exit 1; }; }
2493 fi
2494
2495 fi
2496 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2497 echo "${ECHO_T}$ac_cv_target" >&6; }
2498 case $ac_cv_target in
2499 *-*-*) ;;
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2501 echo "$as_me: error: invalid value of canonical target" >&2;}
2502 { (exit 1); exit 1; }; };;
2503 esac
2504 target=$ac_cv_target
2505 ac_save_IFS=$IFS; IFS='-'
2506 set x $ac_cv_target
2507 shift
2508 target_cpu=$1
2509 target_vendor=$2
2510 shift; shift
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2513 target_os=$*
2514 IFS=$ac_save_IFS
2515 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2516
2517
2518 # The aliases save the names the user supplied, while $host etc.
2519 # will get canonicalized.
2520 test -n "$target_alias" &&
2521 test "$program_prefix$program_suffix$program_transform_name" = \
2522 NONENONEs,x,x, &&
2523 program_prefix=${target_alias}-
2524
2525
2526
2527 wx_major_version_number=2
2528 wx_minor_version_number=9
2529 wx_release_number=0
2530 wx_subrelease_number=0
2531
2532 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2533 WX_VERSION=$WX_RELEASE.$wx_release_number
2534 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2535
2536 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2537
2538
2539 wx_top_builddir="`pwd`"
2540
2541
2542
2543
2544 USE_UNIX=1
2545 USE_OS2=0
2546 USE_WIN32=0
2547 USE_DOS=0
2548 USE_BEOS=0
2549 USE_MAC=0
2550
2551 USE_AIX=
2552 USE_BSD= USE_DARWIN= USE_FREEBSD=
2553 USE_GNU= USE_HPUX=
2554 USE_LINUX=
2555 USE_NETBSD=
2556 USE_OPENBSD=
2557 USE_OSF= USE_SGI=
2558 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2559 USE_ULTRIX=
2560 USE_UNIXWARE=
2561
2562 USE_ALPHA=
2563
2564 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2565
2566 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2567
2568 DEFAULT_wxUSE_COCOA=0
2569 DEFAULT_wxUSE_GTK=0
2570 DEFAULT_wxUSE_MAC=0
2571 DEFAULT_wxUSE_MGL=0
2572 DEFAULT_wxUSE_MICROWIN=0
2573 DEFAULT_wxUSE_MOTIF=0
2574 DEFAULT_wxUSE_MSW=0
2575 DEFAULT_wxUSE_PM=0
2576 DEFAULT_wxUSE_X11=0
2577 DEFAULT_wxUSE_DFB=0
2578
2579 DEFAULT_DEFAULT_wxUSE_COCOA=0
2580 DEFAULT_DEFAULT_wxUSE_GTK=0
2581 DEFAULT_DEFAULT_wxUSE_MAC=0
2582 DEFAULT_DEFAULT_wxUSE_MGL=0
2583 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2585 DEFAULT_DEFAULT_wxUSE_MSW=0
2586 DEFAULT_DEFAULT_wxUSE_PM=0
2587 DEFAULT_DEFAULT_wxUSE_X11=0
2588 DEFAULT_DEFAULT_wxUSE_DFB=0
2589
2590 PROGRAM_EXT=
2591 SO_SUFFIX=so
2592 SAMPLES_RPATH_FLAG=
2593 SAMPLES_RPATH_POSTLINK=
2594
2595 DEFAULT_STD_FLAG=yes
2596
2597 case "${host}" in
2598 *-hp-hpux* )
2599 USE_HPUX=1
2600 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2601 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2602 SO_SUFFIX=sl
2603 cat >>confdefs.h <<\_ACEOF
2604 #define __HPUX__ 1
2605 _ACEOF
2606
2607
2608 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2609 ;;
2610 *-*-linux* )
2611 USE_LINUX=1
2612 cat >>confdefs.h <<\_ACEOF
2613 #define __LINUX__ 1
2614 _ACEOF
2615
2616 TMP=`uname -m`
2617 if test "x$TMP" = "xalpha"; then
2618 USE_ALPHA=1
2619 cat >>confdefs.h <<\_ACEOF
2620 #define __ALPHA__ 1
2621 _ACEOF
2622
2623 fi
2624 DEFAULT_DEFAULT_wxUSE_GTK=1
2625 ;;
2626 *-*-gnu* | *-*-k*bsd*-gnu )
2627 USE_GNU=1
2628 TMP=`uname -m`
2629 if test "x$TMP" = "xalpha"; then
2630 USE_ALPHA=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __ALPHA__ 1
2633 _ACEOF
2634
2635 fi
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2637 ;;
2638 *-*-irix5* | *-*-irix6* )
2639 USE_SGI=1
2640 USE_SVR4=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __SGI__ 1
2643 _ACEOF
2644
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __SVR4__ 1
2647 _ACEOF
2648
2649 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2650 ;;
2651 *-*-solaris2* )
2652 USE_SUN=1
2653 USE_SOLARIS=1
2654 USE_SVR4=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __SUN__ 1
2657 _ACEOF
2658
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SOLARIS__ 1
2661 _ACEOF
2662
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SVR4__ 1
2665 _ACEOF
2666
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2669 ;;
2670 *-*-sunos4* )
2671 USE_SUN=1
2672 USE_SUNOS=1
2673 USE_BSD=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUNOS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __BSD__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 ;;
2688 *-*-freebsd*)
2689 USE_BSD=1
2690 USE_FREEBSD=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __FREEBSD__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 ;;
2701 *-*-openbsd*|*-*-mirbsd*)
2702 USE_BSD=1
2703 USE_OPENBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __OPENBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-netbsd*)
2715 USE_BSD=1
2716 USE_NETBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __NETBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727
2728 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2729 ;;
2730 *-*-osf* )
2731 USE_ALPHA=1
2732 USE_OSF=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __ALPHA__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __OSF__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2743 ;;
2744 *-*-dgux5* )
2745 USE_ALPHA=1
2746 USE_SVR4=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __ALPHA__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __SVR4__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 ;;
2757 *-*-sysv5* )
2758 USE_SYSV=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SYSV__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-aix* )
2771 USE_AIX=1
2772 USE_SYSV=1
2773 USE_SVR4=1
2774 SO_SUFFIX=a
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __AIX__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789
2790 *-*-*UnixWare*)
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 USE_UNIXWARE=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __UNIXWARE__ 1
2796 _ACEOF
2797
2798 ;;
2799
2800 *-*-cygwin* | *-*-mingw32* )
2801 SO_SUFFIX=dll
2802 PROGRAM_EXT=".exe"
2803 DEFAULT_DEFAULT_wxUSE_MSW=1
2804 ;;
2805
2806 *-pc-msdosdjgpp )
2807 USE_UNIX=0
2808 USE_DOS=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __DOS__ 1
2811 _ACEOF
2812
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_MGL=1
2815 ;;
2816
2817 *-pc-os2_emx | *-pc-os2-emx )
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __EMX__ 1
2820 _ACEOF
2821
2822 USE_OS2=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __OS2__ 1
2825 _ACEOF
2826
2827 PROGRAM_EXT=".exe"
2828 DEFAULT_DEFAULT_wxUSE_PM=1
2829 CXX=gcc
2830 LDFLAGS="$LDFLAGS -Zcrtdll"
2831 ac_executable_extensions=".exe"
2832 export ac_executable_extensions
2833 ac_save_IFS="$IFS"
2834 IFS='\\'
2835 ac_TEMP_PATH=
2836 for ac_dir in $PATH; do
2837 IFS=$ac_save_IFS
2838 if test -z "$ac_TEMP_PATH"; then
2839 ac_TEMP_PATH="$ac_dir"
2840 else
2841 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2842 fi
2843 done
2844 export PATH="$ac_TEMP_PATH"
2845 unset ac_TEMP_PATH
2846 DEFAULT_STD_FLAG=no
2847 ;;
2848
2849 *-*-darwin* )
2850 USE_BSD=1
2851 USE_DARWIN=1
2852 SO_SUFFIX=dylib
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __BSD__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DARWIN__ 1
2859 _ACEOF
2860
2861 cat >>confdefs.h <<\_ACEOF
2862 #define TARGET_CARBON 1
2863 _ACEOF
2864
2865 DEFAULT_DEFAULT_wxUSE_MAC=1
2866 DEFAULT_STD_FLAG=no
2867 ;;
2868 powerpc-apple-macos* )
2869 USE_UNIX=0
2870 ac_cv_c_bigendian=yes
2871 SO_SUFFIX=shlib
2872 DEFAULT_DEFAULT_wxUSE_MAC=1
2873 DEFAULT_STD_FLAG=no
2874 ;;
2875
2876 *-*-beos* )
2877 USE_BEOS=1
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __BEOS__ 1
2880 _ACEOF
2881
2882 ;;
2883
2884 *)
2885 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2886 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2887 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2888 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2889
2890 DEFAULT_DEFAULT_wxUSE_X11=1
2891 DEFAULT_wxUSE_SHARED=no
2892 esac
2893
2894
2895
2896
2897 wx_arg_cache_file="configarg.cache"
2898 echo "loading argument cache $wx_arg_cache_file"
2899 rm -f ${wx_arg_cache_file}.tmp
2900 touch ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}
2902
2903
2904 DEBUG_CONFIGURE=0
2905 if test $DEBUG_CONFIGURE = 1; then
2906 DEFAULT_wxUSE_UNIVERSAL=no
2907 DEFAULT_wxUSE_STL=no
2908 DEFAULT_wxUSE_EXTENDED_RTTI=no
2909
2910 DEFAULT_wxUSE_NANOX=no
2911
2912 DEFAULT_wxUSE_THREADS=yes
2913
2914 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2915 DEFAULT_wxUSE_OPTIMISE=no
2916 DEFAULT_wxUSE_PROFILE=no
2917 DEFAULT_wxUSE_NO_DEPS=no
2918 DEFAULT_wxUSE_VARARG_MACROS=no
2919 DEFAULT_wxUSE_NO_RTTI=no
2920 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2921 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2922 DEFAULT_wxUSE_RPATH=yes
2923 DEFAULT_wxUSE_PERMISSIVE=no
2924 DEFAULT_wxUSE_DEBUG_FLAG=yes
2925 DEFAULT_wxUSE_DEBUG_INFO=yes
2926 DEFAULT_wxUSE_DEBUG_GDB=yes
2927 DEFAULT_wxUSE_MEM_TRACING=no
2928 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_APPLE_IEEE=no
2931
2932 DEFAULT_wxUSE_EXCEPTIONS=no
2933 DEFAULT_wxUSE_LOG=yes
2934 DEFAULT_wxUSE_LOGWINDOW=no
2935 DEFAULT_wxUSE_LOGGUI=no
2936 DEFAULT_wxUSE_LOGDIALOG=no
2937
2938 DEFAULT_wxUSE_GUI=yes
2939 DEFAULT_wxUSE_CONTROLS=no
2940
2941 DEFAULT_wxUSE_REGEX=no
2942 DEFAULT_wxUSE_XML=no
2943 DEFAULT_wxUSE_EXPAT=no
2944 DEFAULT_wxUSE_ZLIB=no
2945 DEFAULT_wxUSE_LIBPNG=no
2946 DEFAULT_wxUSE_LIBJPEG=no
2947 DEFAULT_wxUSE_LIBTIFF=no
2948 DEFAULT_wxUSE_LIBXPM=no
2949 DEFAULT_wxUSE_LIBMSPACK=no
2950 DEFAULT_wxUSE_LIBSDL=no
2951 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2952 DEFAULT_wxUSE_LIBGNOMEVFS=no
2953 DEFAULT_wxUSE_LIBHILDON=no
2954 DEFAULT_wxUSE_ODBC=no
2955 DEFAULT_wxUSE_OPENGL=no
2956
2957 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2958 DEFAULT_wxUSE_STACKWALKER=no
2959 DEFAULT_wxUSE_DEBUGREPORT=no
2960 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2961 DEFAULT_wxUSE_STD_IOSTREAM=no
2962 DEFAULT_wxUSE_STD_STRING=no
2963 DEFAULT_wxUSE_CMDLINE_PARSER=no
2964 DEFAULT_wxUSE_DATETIME=no
2965 DEFAULT_wxUSE_TIMER=no
2966 DEFAULT_wxUSE_STOPWATCH=no
2967 DEFAULT_wxUSE_FILE=no
2968 DEFAULT_wxUSE_FFILE=no
2969 DEFAULT_wxUSE_STDPATHS=no
2970 DEFAULT_wxUSE_TEXTBUFFER=no
2971 DEFAULT_wxUSE_TEXTFILE=no
2972 DEFAULT_wxUSE_SOUND=no
2973 DEFAULT_wxUSE_MEDIACTRL=no
2974 DEFAULT_wxUSE_GSTREAMER8=no
2975 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2976 DEFAULT_wxUSE_INTL=no
2977 DEFAULT_wxUSE_CONFIG=no
2978 DEFAULT_wxUSE_FONTMAP=no
2979 DEFAULT_wxUSE_STREAMS=no
2980 DEFAULT_wxUSE_SOCKETS=no
2981 DEFAULT_wxUSE_OLE=no
2982 DEFAULT_wxUSE_DATAOBJ=no
2983 DEFAULT_wxUSE_DIALUP_MANAGER=no
2984 DEFAULT_wxUSE_JOYSTICK=no
2985 DEFAULT_wxUSE_DYNLIB_CLASS=no
2986 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2987 DEFAULT_wxUSE_LONGLONG=no
2988 DEFAULT_wxUSE_GEOMETRY=no
2989
2990 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2991 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2992 DEFAULT_wxUSE_POSTSCRIPT=no
2993
2994 DEFAULT_wxUSE_CLIPBOARD=no
2995 DEFAULT_wxUSE_TOOLTIPS=no
2996 DEFAULT_wxUSE_DRAG_AND_DROP=no
2997 DEFAULT_wxUSE_DRAGIMAGE=no
2998 DEFAULT_wxUSE_SPLINES=no
2999 DEFAULT_wxUSE_MOUSEWHEEL=no
3000
3001 DEFAULT_wxUSE_MDI=no
3002 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3003 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3004 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3005
3006 DEFAULT_wxUSE_CONSTRAINTS=no
3007 DEFAULT_wxUSE_IPC=no
3008 DEFAULT_wxUSE_HELP=no
3009 DEFAULT_wxUSE_MS_HTML_HELP=no
3010 DEFAULT_wxUSE_WXHTML_HELP=no
3011 DEFAULT_wxUSE_TREELAYOUT=no
3012 DEFAULT_wxUSE_METAFILE=no
3013 DEFAULT_wxUSE_MIMETYPE=no
3014 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3015 DEFAULT_wxUSE_PROTOCOL=no
3016 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3017 DEFAULT_wxUSE_PROTOCOL_FTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FILE=no
3019 DEFAULT_wxUSE_URL=no
3020 DEFAULT_wxUSE_VARIANT=no
3021
3022 DEFAULT_wxUSE_ABOUTDLG=no
3023 DEFAULT_wxUSE_COMMONDLGS=no
3024 DEFAULT_wxUSE_CHOICEDLG=no
3025 DEFAULT_wxUSE_COLOURDLG=no
3026 DEFAULT_wxUSE_DIRDLG=no
3027 DEFAULT_wxUSE_FILEDLG=no
3028 DEFAULT_wxUSE_FINDREPLDLG=no
3029 DEFAULT_wxUSE_FONTDLG=no
3030 DEFAULT_wxUSE_MSGDLG=no
3031 DEFAULT_wxUSE_NUMBERDLG=no
3032 DEFAULT_wxUSE_TEXTDLG=no
3033 DEFAULT_wxUSE_SPLASH=no
3034 DEFAULT_wxUSE_STARTUP_TIPS=no
3035 DEFAULT_wxUSE_PROGRESSDLG=no
3036 DEFAULT_wxUSE_WIZARDDLG=no
3037
3038 DEFAULT_wxUSE_MENUS=no
3039 DEFAULT_wxUSE_MINIFRAME=no
3040 DEFAULT_wxUSE_HTML=no
3041 DEFAULT_wxUSE_RICHTEXT=no
3042 DEFAULT_wxUSE_XRC=no
3043 DEFAULT_wxUSE_AUI=no
3044 DEFAULT_wxUSE_STC=no
3045 DEFAULT_wxUSE_WEBKIT=no
3046 DEFAULT_wxUSE_FILESYSTEM=no
3047 DEFAULT_wxUSE_FS_INET=no
3048 DEFAULT_wxUSE_FS_ZIP=no
3049 DEFAULT_wxUSE_FS_ARCHIVE=no
3050 DEFAULT_wxUSE_BUSYINFO=no
3051 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3052 DEFAULT_wxUSE_ZIPSTREAM=no
3053 DEFAULT_wxUSE_TARSTREAM=no
3054 DEFAULT_wxUSE_VALIDATORS=no
3055
3056 DEFAULT_wxUSE_ACCEL=no
3057 DEFAULT_wxUSE_ANIMATIONCTRL=no
3058 DEFAULT_wxUSE_BUTTON=no
3059 DEFAULT_wxUSE_BMPBUTTON=no
3060 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3061 DEFAULT_wxUSE_CALCTRL=no
3062 DEFAULT_wxUSE_CARET=no
3063 DEFAULT_wxUSE_CHECKBOX=no
3064 DEFAULT_wxUSE_CHECKLST=no
3065 DEFAULT_wxUSE_CHOICE=no
3066 DEFAULT_wxUSE_CHOICEBOOK=no
3067 DEFAULT_wxUSE_COLLPANE=no
3068 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3069 DEFAULT_wxUSE_COMBOBOX=no
3070 DEFAULT_wxUSE_COMBOCTRL=no
3071 DEFAULT_wxUSE_DATEPICKCTRL=no
3072 DEFAULT_wxUSE_DISPLAY=no
3073 DEFAULT_wxUSE_DETECT_SM=no
3074 DEFAULT_wxUSE_DIRPICKERCTRL=no
3075 DEFAULT_wxUSE_EDITABLELISTBOX=no
3076 DEFAULT_wxUSE_FILEPICKERCTRL=no
3077 DEFAULT_wxUSE_FONTPICKERCTRL=no
3078 DEFAULT_wxUSE_GAUGE=no
3079 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3080 DEFAULT_wxUSE_GRID=no
3081 DEFAULT_wxUSE_HYPERLINKCTRL=no
3082 DEFAULT_wxUSE_DATAVIEWCTRL=no
3083 DEFAULT_wxUSE_IMAGLIST=no
3084 DEFAULT_wxUSE_LISTBOOK=no
3085 DEFAULT_wxUSE_LISTBOX=no
3086 DEFAULT_wxUSE_LISTCTRL=no
3087 DEFAULT_wxUSE_NOTEBOOK=no
3088 DEFAULT_wxUSE_ODCOMBOBOX=no
3089 DEFAULT_wxUSE_RADIOBOX=no
3090 DEFAULT_wxUSE_RADIOBTN=no
3091 DEFAULT_wxUSE_SASH=no
3092 DEFAULT_wxUSE_SCROLLBAR=no
3093 DEFAULT_wxUSE_SEARCHCTRL=no
3094 DEFAULT_wxUSE_SLIDER=no
3095 DEFAULT_wxUSE_SPINBTN=no
3096 DEFAULT_wxUSE_SPINCTRL=no
3097 DEFAULT_wxUSE_SPLITTER=no
3098 DEFAULT_wxUSE_STATBMP=no
3099 DEFAULT_wxUSE_STATBOX=no
3100 DEFAULT_wxUSE_STATLINE=no
3101 DEFAULT_wxUSE_STATTEXT=no
3102 DEFAULT_wxUSE_STATUSBAR=yes
3103 DEFAULT_wxUSE_TAB_DIALOG=no
3104 DEFAULT_wxUSE_TEXTCTRL=no
3105 DEFAULT_wxUSE_TOGGLEBTN=no
3106 DEFAULT_wxUSE_TOOLBAR=no
3107 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3108 DEFAULT_wxUSE_TREEBOOK=no
3109 DEFAULT_wxUSE_TOOLBOOK=no
3110 DEFAULT_wxUSE_TREECTRL=no
3111 DEFAULT_wxUSE_POPUPWIN=no
3112 DEFAULT_wxUSE_TIPWINDOW=no
3113
3114 DEFAULT_wxUSE_UNICODE=no
3115 DEFAULT_wxUSE_UNICODE_MSLU=no
3116 DEFAULT_wxUSE_UNICODE_UTF8=auto
3117 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3118 DEFAULT_wxUSE_WCSRTOMBS=no
3119
3120 DEFAULT_wxUSE_PALETTE=no
3121 DEFAULT_wxUSE_IMAGE=no
3122 DEFAULT_wxUSE_GIF=no
3123 DEFAULT_wxUSE_PCX=no
3124 DEFAULT_wxUSE_TGA=no
3125 DEFAULT_wxUSE_PNM=no
3126 DEFAULT_wxUSE_IFF=no
3127 DEFAULT_wxUSE_XPM=no
3128 DEFAULT_wxUSE_ICO_CUR=no
3129 DEFAULT_wxUSE_ACCESSIBILITY=no
3130
3131 DEFAULT_wxUSE_MONOLITHIC=no
3132 DEFAULT_wxUSE_PLUGINS=no
3133 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3134 else
3135 DEFAULT_wxUSE_UNIVERSAL=no
3136 DEFAULT_wxUSE_STL=no
3137 DEFAULT_wxUSE_EXTENDED_RTTI=no
3138
3139 DEFAULT_wxUSE_NANOX=no
3140
3141 DEFAULT_wxUSE_THREADS=yes
3142
3143 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3144 DEFAULT_wxUSE_OPTIMISE=yes
3145 DEFAULT_wxUSE_PROFILE=no
3146 DEFAULT_wxUSE_NO_DEPS=no
3147 DEFAULT_wxUSE_VARARG_MACROS=yes
3148 DEFAULT_wxUSE_NO_RTTI=no
3149 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3150 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3151 DEFAULT_wxUSE_RPATH=yes
3152 DEFAULT_wxUSE_PERMISSIVE=no
3153 DEFAULT_wxUSE_DEBUG_FLAG=no
3154 DEFAULT_wxUSE_DEBUG_INFO=no
3155 DEFAULT_wxUSE_DEBUG_GDB=no
3156 DEFAULT_wxUSE_MEM_TRACING=no
3157 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3158 DEFAULT_wxUSE_DMALLOC=no
3159 DEFAULT_wxUSE_APPLE_IEEE=yes
3160
3161 DEFAULT_wxUSE_EXCEPTIONS=yes
3162 DEFAULT_wxUSE_LOG=yes
3163 DEFAULT_wxUSE_LOGWINDOW=yes
3164 DEFAULT_wxUSE_LOGGUI=yes
3165 DEFAULT_wxUSE_LOGDIALOG=yes
3166
3167 DEFAULT_wxUSE_GUI=yes
3168
3169 DEFAULT_wxUSE_REGEX=yes
3170 DEFAULT_wxUSE_XML=yes
3171 DEFAULT_wxUSE_EXPAT=yes
3172 DEFAULT_wxUSE_ZLIB=yes
3173 DEFAULT_wxUSE_LIBPNG=yes
3174 DEFAULT_wxUSE_LIBJPEG=yes
3175 DEFAULT_wxUSE_LIBTIFF=yes
3176 DEFAULT_wxUSE_LIBXPM=yes
3177 DEFAULT_wxUSE_LIBMSPACK=yes
3178 DEFAULT_wxUSE_LIBSDL=no
3179 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3180 DEFAULT_wxUSE_LIBGNOMEVFS=no
3181 DEFAULT_wxUSE_LIBHILDON=no
3182 DEFAULT_wxUSE_ODBC=no
3183 DEFAULT_wxUSE_OPENGL=no
3184
3185 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3186 DEFAULT_wxUSE_STACKWALKER=yes
3187 DEFAULT_wxUSE_DEBUGREPORT=yes
3188 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3189 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3190 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3192 DEFAULT_wxUSE_DATETIME=yes
3193 DEFAULT_wxUSE_TIMER=yes
3194 DEFAULT_wxUSE_STOPWATCH=yes
3195 DEFAULT_wxUSE_FILE=yes
3196 DEFAULT_wxUSE_FFILE=yes
3197 DEFAULT_wxUSE_STDPATHS=yes
3198 DEFAULT_wxUSE_TEXTBUFFER=yes
3199 DEFAULT_wxUSE_TEXTFILE=yes
3200 DEFAULT_wxUSE_SOUND=yes
3201 DEFAULT_wxUSE_MEDIACTRL=no
3202 DEFAULT_wxUSE_GSTREAMER8=no
3203 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3204 DEFAULT_wxUSE_INTL=yes
3205 DEFAULT_wxUSE_CONFIG=yes
3206 DEFAULT_wxUSE_FONTMAP=yes
3207 DEFAULT_wxUSE_STREAMS=yes
3208 DEFAULT_wxUSE_SOCKETS=yes
3209 DEFAULT_wxUSE_OLE=yes
3210 DEFAULT_wxUSE_DATAOBJ=yes
3211 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3212 DEFAULT_wxUSE_JOYSTICK=yes
3213 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3214 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3215 DEFAULT_wxUSE_LONGLONG=yes
3216 DEFAULT_wxUSE_GEOMETRY=yes
3217
3218 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3219 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3220 DEFAULT_wxUSE_POSTSCRIPT=yes
3221
3222 DEFAULT_wxUSE_CLIPBOARD=yes
3223 DEFAULT_wxUSE_TOOLTIPS=yes
3224 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3225 DEFAULT_wxUSE_DRAGIMAGE=yes
3226 DEFAULT_wxUSE_SPLINES=yes
3227 DEFAULT_wxUSE_MOUSEWHEEL=yes
3228
3229 DEFAULT_wxUSE_MDI=yes
3230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3233
3234 DEFAULT_wxUSE_CONSTRAINTS=yes
3235 DEFAULT_wxUSE_IPC=yes
3236 DEFAULT_wxUSE_HELP=yes
3237 DEFAULT_wxUSE_MS_HTML_HELP=yes
3238 DEFAULT_wxUSE_WXHTML_HELP=yes
3239 DEFAULT_wxUSE_TREELAYOUT=yes
3240 DEFAULT_wxUSE_METAFILE=yes
3241 DEFAULT_wxUSE_MIMETYPE=yes
3242 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3243 DEFAULT_wxUSE_PROTOCOL=yes
3244 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3245 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3247 DEFAULT_wxUSE_URL=yes
3248 DEFAULT_wxUSE_VARIANT=yes
3249
3250 DEFAULT_wxUSE_ABOUTDLG=yes
3251 DEFAULT_wxUSE_COMMONDLGS=yes
3252 DEFAULT_wxUSE_CHOICEDLG=yes
3253 DEFAULT_wxUSE_COLOURDLG=yes
3254 DEFAULT_wxUSE_DIRDLG=yes
3255 DEFAULT_wxUSE_FILEDLG=yes
3256 DEFAULT_wxUSE_FINDREPLDLG=yes
3257 DEFAULT_wxUSE_FONTDLG=yes
3258 DEFAULT_wxUSE_MSGDLG=yes
3259 DEFAULT_wxUSE_NUMBERDLG=yes
3260 DEFAULT_wxUSE_TEXTDLG=yes
3261 DEFAULT_wxUSE_SPLASH=yes
3262 DEFAULT_wxUSE_STARTUP_TIPS=yes
3263 DEFAULT_wxUSE_PROGRESSDLG=yes
3264 DEFAULT_wxUSE_WIZARDDLG=yes
3265
3266 DEFAULT_wxUSE_MENUS=yes
3267 DEFAULT_wxUSE_MINIFRAME=yes
3268 DEFAULT_wxUSE_HTML=yes
3269 DEFAULT_wxUSE_RICHTEXT=yes
3270 DEFAULT_wxUSE_XRC=yes
3271 DEFAULT_wxUSE_AUI=yes
3272 DEFAULT_wxUSE_STC=yes
3273 DEFAULT_wxUSE_WEBKIT=yes
3274 DEFAULT_wxUSE_FILESYSTEM=yes
3275 DEFAULT_wxUSE_FS_INET=yes
3276 DEFAULT_wxUSE_FS_ZIP=yes
3277 DEFAULT_wxUSE_FS_ARCHIVE=yes
3278 DEFAULT_wxUSE_BUSYINFO=yes
3279 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3280 DEFAULT_wxUSE_ZIPSTREAM=yes
3281 DEFAULT_wxUSE_TARSTREAM=yes
3282 DEFAULT_wxUSE_VALIDATORS=yes
3283
3284 DEFAULT_wxUSE_ACCEL=yes
3285 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3286 DEFAULT_wxUSE_BUTTON=yes
3287 DEFAULT_wxUSE_BMPBUTTON=yes
3288 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3289 DEFAULT_wxUSE_CALCTRL=yes
3290 DEFAULT_wxUSE_CARET=yes
3291 DEFAULT_wxUSE_CHECKBOX=yes
3292 DEFAULT_wxUSE_CHECKLST=yes
3293 DEFAULT_wxUSE_CHOICE=yes
3294 DEFAULT_wxUSE_CHOICEBOOK=yes
3295 DEFAULT_wxUSE_COLLPANE=yes
3296 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3297 DEFAULT_wxUSE_COMBOBOX=yes
3298 DEFAULT_wxUSE_COMBOCTRL=yes
3299 DEFAULT_wxUSE_DATEPICKCTRL=yes
3300 DEFAULT_wxUSE_DISPLAY=yes
3301 DEFAULT_wxUSE_DETECT_SM=yes
3302 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3303 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3304 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3305 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3306 DEFAULT_wxUSE_GAUGE=yes
3307 DEFAULT_wxUSE_GRID=yes
3308 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3309 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3310 DEFAULT_wxUSE_DATAVIEWCTRL=no
3311 DEFAULT_wxUSE_IMAGLIST=yes
3312 DEFAULT_wxUSE_LISTBOOK=yes
3313 DEFAULT_wxUSE_LISTBOX=yes
3314 DEFAULT_wxUSE_LISTCTRL=yes
3315 DEFAULT_wxUSE_NOTEBOOK=yes
3316 DEFAULT_wxUSE_ODCOMBOBOX=yes
3317 DEFAULT_wxUSE_RADIOBOX=yes
3318 DEFAULT_wxUSE_RADIOBTN=yes
3319 DEFAULT_wxUSE_SASH=yes
3320 DEFAULT_wxUSE_SCROLLBAR=yes
3321 DEFAULT_wxUSE_SEARCHCTRL=yes
3322 DEFAULT_wxUSE_SLIDER=yes
3323 DEFAULT_wxUSE_SPINBTN=yes
3324 DEFAULT_wxUSE_SPINCTRL=yes
3325 DEFAULT_wxUSE_SPLITTER=yes
3326 DEFAULT_wxUSE_STATBMP=yes
3327 DEFAULT_wxUSE_STATBOX=yes
3328 DEFAULT_wxUSE_STATLINE=yes
3329 DEFAULT_wxUSE_STATTEXT=yes
3330 DEFAULT_wxUSE_STATUSBAR=yes
3331 DEFAULT_wxUSE_TAB_DIALOG=no
3332 DEFAULT_wxUSE_TEXTCTRL=yes
3333 DEFAULT_wxUSE_TOGGLEBTN=yes
3334 DEFAULT_wxUSE_TOOLBAR=yes
3335 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3336 DEFAULT_wxUSE_TREEBOOK=yes
3337 DEFAULT_wxUSE_TOOLBOOK=yes
3338 DEFAULT_wxUSE_TREECTRL=yes
3339 DEFAULT_wxUSE_POPUPWIN=yes
3340 DEFAULT_wxUSE_TIPWINDOW=yes
3341
3342 DEFAULT_wxUSE_UNICODE=no
3343 DEFAULT_wxUSE_UNICODE_MSLU=yes
3344 DEFAULT_wxUSE_UNICODE_UTF8=auto
3345 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3346 DEFAULT_wxUSE_WCSRTOMBS=no
3347
3348 DEFAULT_wxUSE_PALETTE=yes
3349 DEFAULT_wxUSE_IMAGE=yes
3350 DEFAULT_wxUSE_GIF=yes
3351 DEFAULT_wxUSE_PCX=yes
3352 DEFAULT_wxUSE_TGA=yes
3353 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3354 DEFAULT_wxUSE_XPM=yes
3355 DEFAULT_wxUSE_ICO_CUR=yes
3356 DEFAULT_wxUSE_ACCESSIBILITY=no
3357
3358 DEFAULT_wxUSE_MONOLITHIC=no
3359 DEFAULT_wxUSE_PLUGINS=no
3360 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3361
3362 DEFAULT_wxUSE_GTK2=yes
3363 fi
3364
3365
3366
3367
3368 for toolkit in `echo $ALL_TOOLKITS`; do
3369 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 has_toolkit_in_cache=1
3372 eval "DEFAULT_$LINE"
3373 eval "CACHE_$toolkit=1"
3374
3375 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3376 if test "x$LINE" != "x" ; then
3377 eval "DEFAULT_$LINE"
3378 fi
3379 fi
3380 done
3381
3382
3383
3384 enablestring=
3385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3387 no_cache=0
3388 # Check whether --enable-gui was given.
3389 if test "${enable_gui+set}" = set; then
3390 enableval=$enable_gui;
3391 if test "$enableval" = yes; then
3392 ac_cv_use_gui='wxUSE_GUI=yes'
3393 else
3394 ac_cv_use_gui='wxUSE_GUI=no'
3395 fi
3396
3397 else
3398
3399 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3402 else
3403 no_cache=1
3404 fi
3405
3406 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3407
3408 fi
3409
3410
3411 eval "$ac_cv_use_gui"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_GUI" = yes; then
3417 { echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6; }
3419 else
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3422 fi
3423
3424
3425 enablestring=
3426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3428 no_cache=0
3429 # Check whether --enable-monolithic was given.
3430 if test "${enable_monolithic+set}" = set; then
3431 enableval=$enable_monolithic;
3432 if test "$enableval" = yes; then
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3434 else
3435 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3443 else
3444 no_cache=1
3445 fi
3446
3447 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3448
3449 fi
3450
3451
3452 eval "$ac_cv_use_monolithic"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_MONOLITHIC" = yes; then
3458 { echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6; }
3460 else
3461 { echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6; }
3463 fi
3464
3465
3466 enablestring=
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3469 no_cache=0
3470 # Check whether --enable-plugins was given.
3471 if test "${enable_plugins+set}" = set; then
3472 enableval=$enable_plugins;
3473 if test "$enableval" = yes; then
3474 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3475 else
3476 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3489
3490 fi
3491
3492
3493 eval "$ac_cv_use_plugins"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_PLUGINS" = yes; then
3499 { echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6; }
3501 else
3502 { echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6; }
3504 fi
3505
3506
3507 withstring=without
3508 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3510 no_cache=0
3511
3512 # Check whether --with-subdirs was given.
3513 if test "${with_subdirs+set}" = set; then
3514 withval=$with_subdirs;
3515 if test "$withval" = yes; then
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3517 else
3518 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3519 fi
3520
3521 else
3522
3523 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3531
3532 fi
3533
3534
3535 eval "$ac_cv_use_subdirs"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxWITH_SUBDIRS" = yes; then
3541 { echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6; }
3543 else
3544 { echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6; }
3546 fi
3547
3548
3549 if test "$wxUSE_GUI" = "yes"; then
3550
3551
3552 enablestring=
3553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3555 no_cache=0
3556 # Check whether --enable-universal was given.
3557 if test "${enable_universal+set}" = set; then
3558 enableval=$enable_universal;
3559 if test "$enableval" = yes; then
3560 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3561 else
3562 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3563 fi
3564
3565 else
3566
3567 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3570 else
3571 no_cache=1
3572 fi
3573
3574 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3575
3576 fi
3577
3578
3579 eval "$ac_cv_use_universal"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3582 fi
3583
3584 if test "$wxUSE_UNIVERSAL" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3587 else
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3590 fi
3591
3592
3593 # Check whether --with-gtk was given.
3594 if test "${with_gtk+set}" = set; then
3595 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3596 fi
3597
3598
3599 # Check whether --with-motif was given.
3600 if test "${with_motif+set}" = set; then
3601 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3602 fi
3603
3604
3605 # Check whether --with-mac was given.
3606 if test "${with_mac+set}" = set; then
3607 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3608 fi
3609
3610
3611 # Check whether --with-cocoa was given.
3612 if test "${with_cocoa+set}" = set; then
3613 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3614 fi
3615
3616
3617 # Check whether --with-wine was given.
3618 if test "${with_wine+set}" = set; then
3619 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3620 fi
3621
3622
3623 # Check whether --with-msw was given.
3624 if test "${with_msw+set}" = set; then
3625 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3626 fi
3627
3628
3629 # Check whether --with-pm was given.
3630 if test "${with_pm+set}" = set; then
3631 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3632 fi
3633
3634
3635 # Check whether --with-mgl was given.
3636 if test "${with_mgl+set}" = set; then
3637 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3638 fi
3639
3640
3641 # Check whether --with-directfb was given.
3642 if test "${with_directfb+set}" = set; then
3643 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3644 fi
3645
3646
3647 # Check whether --with-microwin was given.
3648 if test "${with_microwin+set}" = set; then
3649 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3650 fi
3651
3652
3653 # Check whether --with-x11 was given.
3654 if test "${with_x11+set}" = set; then
3655 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3656 fi
3657
3658
3659 enablestring=
3660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3662 no_cache=0
3663 # Check whether --enable-nanox was given.
3664 if test "${enable_nanox+set}" = set; then
3665 enableval=$enable_nanox;
3666 if test "$enableval" = yes; then
3667 ac_cv_use_nanox='wxUSE_NANOX=yes'
3668 else
3669 ac_cv_use_nanox='wxUSE_NANOX=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3682
3683 fi
3684
3685
3686 eval "$ac_cv_use_nanox"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3689 fi
3690
3691 if test "$wxUSE_NANOX" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 else
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 fi
3698
3699
3700 # Check whether --enable-gtk2 was given.
3701 if test "${enable_gtk2+set}" = set; then
3702 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3703 fi
3704
3705
3706 enablestring=
3707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3709 no_cache=0
3710 # Check whether --enable-gpe was given.
3711 if test "${enable_gpe+set}" = set; then
3712 enableval=$enable_gpe;
3713 if test "$enableval" = yes; then
3714 ac_cv_use_gpe='wxUSE_GPE=yes'
3715 else
3716 ac_cv_use_gpe='wxUSE_GPE=no'
3717 fi
3718
3719 else
3720
3721 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3724 else
3725 no_cache=1
3726 fi
3727
3728 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3729
3730 fi
3731
3732
3733 eval "$ac_cv_use_gpe"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_GPE" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 else
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 fi
3745
3746
3747
3748 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3750 no_cache=0
3751
3752 # Check whether --with-libpng was given.
3753 if test "${with_libpng+set}" = set; then
3754 withval=$with_libpng;
3755 if test "$withval" = yes; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3757 elif test "$withval" = no; then
3758 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3759 elif test "$withval" = sys; then
3760 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3761 elif test "$withval" = builtin; then
3762 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3763 else
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3767 fi
3768
3769 else
3770
3771 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x ; then
3773 eval "DEFAULT_$LINE"
3774 else
3775 no_cache=1
3776 fi
3777
3778 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3779
3780 fi
3781
3782
3783 eval "$ac_cv_use_libpng"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3786 fi
3787
3788 if test "$wxUSE_LIBPNG" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBPNG" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBPNG" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBPNG" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3800 else
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3804 fi
3805
3806
3807 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3809 no_cache=0
3810
3811 # Check whether --with-libjpeg was given.
3812 if test "${with_libjpeg+set}" = set; then
3813 withval=$with_libjpeg;
3814 if test "$withval" = yes; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3816 elif test "$withval" = no; then
3817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3818 elif test "$withval" = sys; then
3819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3820 elif test "$withval" = builtin; then
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3822 else
3823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3824 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3825 { (exit 1); exit 1; }; }
3826 fi
3827
3828 else
3829
3830 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3833 else
3834 no_cache=1
3835 fi
3836
3837 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3838
3839 fi
3840
3841
3842 eval "$ac_cv_use_libjpeg"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_LIBJPEG" = yes; then
3848 { echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = no; then
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = sys; then
3854 { echo "$as_me:$LINENO: result: system version" >&5
3855 echo "${ECHO_T}system version" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = builtin; then
3857 { echo "$as_me:$LINENO: result: builtin version" >&5
3858 echo "${ECHO_T}builtin version" >&6; }
3859 else
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3863 fi
3864
3865
3866 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3868 no_cache=0
3869
3870 # Check whether --with-libtiff was given.
3871 if test "${with_libtiff+set}" = set; then
3872 withval=$with_libtiff;
3873 if test "$withval" = yes; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3875 elif test "$withval" = no; then
3876 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3877 elif test "$withval" = sys; then
3878 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3879 elif test "$withval" = builtin; then
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3881 else
3882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3883 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3884 { (exit 1); exit 1; }; }
3885 fi
3886
3887 else
3888
3889 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3892 else
3893 no_cache=1
3894 fi
3895
3896 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3897
3898 fi
3899
3900
3901 eval "$ac_cv_use_libtiff"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_LIBTIFF" = yes; then
3907 { echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = no; then
3910 { echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = sys; then
3913 { echo "$as_me:$LINENO: result: system version" >&5
3914 echo "${ECHO_T}system version" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = builtin; then
3916 { echo "$as_me:$LINENO: result: builtin version" >&5
3917 echo "${ECHO_T}builtin version" >&6; }
3918 else
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3922 fi
3923
3924
3925 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3927 no_cache=0
3928
3929 # Check whether --with-libxpm was given.
3930 if test "${with_libxpm+set}" = set; then
3931 withval=$with_libxpm;
3932 if test "$withval" = yes; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3934 elif test "$withval" = no; then
3935 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3936 elif test "$withval" = sys; then
3937 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3938 elif test "$withval" = builtin; then
3939 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3940 else
3941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3942 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3943 { (exit 1); exit 1; }; }
3944 fi
3945
3946 else
3947
3948 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3951 else
3952 no_cache=1
3953 fi
3954
3955 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3956
3957 fi
3958
3959
3960 eval "$ac_cv_use_libxpm"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3963 fi
3964
3965 if test "$wxUSE_LIBXPM" = yes; then
3966 { echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6; }
3968 elif test "$wxUSE_LIBXPM" = no; then
3969 { echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6; }
3971 elif test "$wxUSE_LIBXPM" = sys; then
3972 { echo "$as_me:$LINENO: result: system version" >&5
3973 echo "${ECHO_T}system version" >&6; }
3974 elif test "$wxUSE_LIBXPM" = builtin; then
3975 { echo "$as_me:$LINENO: result: builtin version" >&5
3976 echo "${ECHO_T}builtin version" >&6; }
3977 else
3978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3980 { (exit 1); exit 1; }; }
3981 fi
3982
3983
3984 withstring=
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3987 no_cache=0
3988
3989 # Check whether --with-libmspack was given.
3990 if test "${with_libmspack+set}" = set; then
3991 withval=$with_libmspack;
3992 if test "$withval" = yes; then
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3994 else
3995 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3996 fi
3997
3998 else
3999
4000 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4003 else
4004 no_cache=1
4005 fi
4006
4007 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4008
4009 fi
4010
4011
4012 eval "$ac_cv_use_libmspack"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4015 fi
4016
4017 if test "$wxUSE_LIBMSPACK" = yes; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 else
4021 { echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6; }
4023 fi
4024
4025
4026 withstring=
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4029 no_cache=0
4030
4031 # Check whether --with-sdl was given.
4032 if test "${with_sdl+set}" = set; then
4033 withval=$with_sdl;
4034 if test "$withval" = yes; then
4035 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4036 else
4037 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4038 fi
4039
4040 else
4041
4042 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4050
4051 fi
4052
4053
4054 eval "$ac_cv_use_sdl"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4057 fi
4058
4059 if test "$wxUSE_LIBSDL" = yes; then
4060 { echo "$as_me:$LINENO: result: yes" >&5
4061 echo "${ECHO_T}yes" >&6; }
4062 else
4063 { echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6; }
4065 fi
4066
4067
4068 withstring=
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4071 no_cache=0
4072
4073 # Check whether --with-gnomeprint was given.
4074 if test "${with_gnomeprint+set}" = set; then
4075 withval=$with_gnomeprint;
4076 if test "$withval" = yes; then
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4078 else
4079 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4080 fi
4081
4082 else
4083
4084 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x ; then
4086 eval "DEFAULT_$LINE"
4087 else
4088 no_cache=1
4089 fi
4090
4091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4092
4093 fi
4094
4095
4096 eval "$ac_cv_use_gnomeprint"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4099 fi
4100
4101 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4102 { echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6; }
4104 else
4105 { echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6; }
4107 fi
4108
4109
4110 withstring=
4111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4112 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4113 no_cache=0
4114
4115 # Check whether --with-gnomevfs was given.
4116 if test "${with_gnomevfs+set}" = set; then
4117 withval=$with_gnomevfs;
4118 if test "$withval" = yes; then
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4120 else
4121 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4122 fi
4123
4124 else
4125
4126 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x ; then
4128 eval "DEFAULT_$LINE"
4129 else
4130 no_cache=1
4131 fi
4132
4133 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4134
4135 fi
4136
4137
4138 eval "$ac_cv_use_gnomevfs"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4144 { echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6; }
4146 else
4147 { echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6; }
4149 fi
4150
4151
4152 withstring=
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4155 no_cache=0
4156
4157 # Check whether --with-hildon was given.
4158 if test "${with_hildon+set}" = set; then
4159 withval=$with_hildon;
4160 if test "$withval" = yes; then
4161 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4162 else
4163 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4164 fi
4165
4166 else
4167
4168 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4171 else
4172 no_cache=1
4173 fi
4174
4175 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4176
4177 fi
4178
4179
4180 eval "$ac_cv_use_hildon"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_LIBHILDON" = yes; then
4186 { echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6; }
4188 else
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4191 fi
4192
4193
4194 withstring=
4195 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4196 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4197 no_cache=0
4198
4199 # Check whether --with-opengl was given.
4200 if test "${with_opengl+set}" = set; then
4201 withval=$with_opengl;
4202 if test "$withval" = yes; then
4203 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4204 else
4205 ac_cv_use_opengl='wxUSE_OPENGL=no'
4206 fi
4207
4208 else
4209
4210 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4213 else
4214 no_cache=1
4215 fi
4216
4217 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4218
4219 fi
4220
4221
4222 eval "$ac_cv_use_opengl"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_OPENGL" = yes; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 else
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4233 fi
4234
4235
4236 if test "$wxUSE_UNIVERSAL" = "yes"; then
4237
4238 # Check whether --with-themes was given.
4239 if test "${with_themes+set}" = set; then
4240 withval=$with_themes; wxUNIV_THEMES="$withval"
4241 fi
4242
4243 fi
4244
4245 fi
4246
4247
4248 withstring=
4249 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4250 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4251 no_cache=0
4252
4253 # Check whether --with-dmalloc was given.
4254 if test "${with_dmalloc+set}" = set; then
4255 withval=$with_dmalloc;
4256 if test "$withval" = yes; then
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4258 else
4259 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4260 fi
4261
4262 else
4263
4264 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4267 else
4268 no_cache=1
4269 fi
4270
4271 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4272
4273 fi
4274
4275
4276 eval "$ac_cv_use_dmalloc"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_DMALLOC" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 else
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4287 fi
4288
4289
4290 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4291 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4292 no_cache=0
4293
4294 # Check whether --with-regex was given.
4295 if test "${with_regex+set}" = set; then
4296 withval=$with_regex;
4297 if test "$withval" = yes; then
4298 ac_cv_use_regex='wxUSE_REGEX=yes'
4299 elif test "$withval" = no; then
4300 ac_cv_use_regex='wxUSE_REGEX=no'
4301 elif test "$withval" = sys; then
4302 ac_cv_use_regex='wxUSE_REGEX=sys'
4303 elif test "$withval" = builtin; then
4304 ac_cv_use_regex='wxUSE_REGEX=builtin'
4305 else
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4309 fi
4310
4311 else
4312
4313 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 else
4317 no_cache=1
4318 fi
4319
4320 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4321
4322 fi
4323
4324
4325 eval "$ac_cv_use_regex"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_REGEX" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_REGEX" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_REGEX" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_REGEX" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348
4349 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4350 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4351 no_cache=0
4352
4353 # Check whether --with-zlib was given.
4354 if test "${with_zlib+set}" = set; then
4355 withval=$with_zlib;
4356 if test "$withval" = yes; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4358 elif test "$withval" = no; then
4359 ac_cv_use_zlib='wxUSE_ZLIB=no'
4360 elif test "$withval" = sys; then
4361 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4362 elif test "$withval" = builtin; then
4363 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4364 else
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4368 fi
4369
4370 else
4371
4372 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4375 else
4376 no_cache=1
4377 fi
4378
4379 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4380
4381 fi
4382
4383
4384 eval "$ac_cv_use_zlib"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4387 fi
4388
4389 if test "$wxUSE_ZLIB" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_ZLIB" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_ZLIB" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_ZLIB" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4401 else
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4405 fi
4406
4407
4408 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4409 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4410 no_cache=0
4411
4412 # Check whether --with-odbc was given.
4413 if test "${with_odbc+set}" = set; then
4414 withval=$with_odbc;
4415 if test "$withval" = yes; then
4416 ac_cv_use_odbc='wxUSE_ODBC=yes'
4417 elif test "$withval" = no; then
4418 ac_cv_use_odbc='wxUSE_ODBC=no'
4419 elif test "$withval" = sys; then
4420 ac_cv_use_odbc='wxUSE_ODBC=sys'
4421 elif test "$withval" = builtin; then
4422 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4423 else
4424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4426 { (exit 1); exit 1; }; }
4427 fi
4428
4429 else
4430
4431 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4434 else
4435 no_cache=1
4436 fi
4437
4438 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4439
4440 fi
4441
4442
4443 eval "$ac_cv_use_odbc"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4446 fi
4447
4448 if test "$wxUSE_ODBC" = yes; then
4449 { echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6; }
4451 elif test "$wxUSE_ODBC" = no; then
4452 { echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6; }
4454 elif test "$wxUSE_ODBC" = sys; then
4455 { echo "$as_me:$LINENO: result: system version" >&5
4456 echo "${ECHO_T}system version" >&6; }
4457 elif test "$wxUSE_ODBC" = builtin; then
4458 { echo "$as_me:$LINENO: result: builtin version" >&5
4459 echo "${ECHO_T}builtin version" >&6; }
4460 else
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4464 fi
4465
4466
4467 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4468 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4469 no_cache=0
4470
4471 # Check whether --with-expat was given.
4472 if test "${with_expat+set}" = set; then
4473 withval=$with_expat;
4474 if test "$withval" = yes; then
4475 ac_cv_use_expat='wxUSE_EXPAT=yes'
4476 elif test "$withval" = no; then
4477 ac_cv_use_expat='wxUSE_EXPAT=no'
4478 elif test "$withval" = sys; then
4479 ac_cv_use_expat='wxUSE_EXPAT=sys'
4480 elif test "$withval" = builtin; then
4481 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4482 else
4483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4485 { (exit 1); exit 1; }; }
4486 fi
4487
4488 else
4489
4490 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4493 else
4494 no_cache=1
4495 fi
4496
4497 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4498
4499 fi
4500
4501
4502 eval "$ac_cv_use_expat"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_EXPAT" = yes; then
4508 { echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6; }
4510 elif test "$wxUSE_EXPAT" = no; then
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4513 elif test "$wxUSE_EXPAT" = sys; then
4514 { echo "$as_me:$LINENO: result: system version" >&5
4515 echo "${ECHO_T}system version" >&6; }
4516 elif test "$wxUSE_EXPAT" = builtin; then
4517 { echo "$as_me:$LINENO: result: builtin version" >&5
4518 echo "${ECHO_T}builtin version" >&6; }
4519 else
4520 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4521 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4522 { (exit 1); exit 1; }; }
4523 fi
4524
4525
4526
4527
4528 enablestring=
4529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4531 no_cache=0
4532 # Check whether --enable-shared was given.
4533 if test "${enable_shared+set}" = set; then
4534 enableval=$enable_shared;
4535 if test "$enableval" = yes; then
4536 ac_cv_use_shared='wxUSE_SHARED=yes'
4537 else
4538 ac_cv_use_shared='wxUSE_SHARED=no'
4539 fi
4540
4541 else
4542
4543 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4546 else
4547 no_cache=1
4548 fi
4549
4550 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4551
4552 fi
4553
4554
4555 eval "$ac_cv_use_shared"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4558 fi
4559
4560 if test "$wxUSE_SHARED" = yes; then
4561 { echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6; }
4563 else
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4566 fi
4567
4568
4569 enablestring=
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4572 no_cache=0
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4578 else
4579 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4580 fi
4581
4582 else
4583
4584 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4587 else
4588 no_cache=1
4589 fi
4590
4591 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4592
4593 fi
4594
4595
4596 eval "$ac_cv_use_optimise"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4599 fi
4600
4601 if test "$wxUSE_OPTIMISE" = yes; then
4602 { echo "$as_me:$LINENO: result: yes" >&5
4603 echo "${ECHO_T}yes" >&6; }
4604 else
4605 { echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6; }
4607 fi
4608
4609
4610 enablestring=
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4613 no_cache=0
4614 # Check whether --enable-debug was given.
4615 if test "${enable_debug+set}" = set; then
4616 enableval=$enable_debug;
4617 if test "$enableval" = yes; then
4618 ac_cv_use_debug='wxUSE_DEBUG=yes'
4619 else
4620 ac_cv_use_debug='wxUSE_DEBUG=no'
4621 fi
4622
4623 else
4624
4625 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4628 else
4629 no_cache=1
4630 fi
4631
4632 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4633
4634 fi
4635
4636
4637 eval "$ac_cv_use_debug"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4640 fi
4641
4642 if test "$wxUSE_DEBUG" = yes; then
4643 { echo "$as_me:$LINENO: result: yes" >&5
4644 echo "${ECHO_T}yes" >&6; }
4645 else
4646 { echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6; }
4648 fi
4649
4650
4651 enablestring=
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4654 no_cache=0
4655 # Check whether --enable-stl was given.
4656 if test "${enable_stl+set}" = set; then
4657 enableval=$enable_stl;
4658 if test "$enableval" = yes; then
4659 ac_cv_use_stl='wxUSE_STL=yes'
4660 else
4661 ac_cv_use_stl='wxUSE_STL=no'
4662 fi
4663
4664 else
4665
4666 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4669 else
4670 no_cache=1
4671 fi
4672
4673 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4674
4675 fi
4676
4677
4678 eval "$ac_cv_use_stl"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4681 fi
4682
4683 if test "$wxUSE_STL" = yes; then
4684 { echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6; }
4686 else
4687 { echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6; }
4689 fi
4690
4691
4692 enablestring=
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 no_cache=0
4696 # Check whether --enable-extended_rtti was given.
4697 if test "${enable_extended_rtti+set}" = set; then
4698 enableval=$enable_extended_rtti;
4699 if test "$enableval" = yes; then
4700 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4701 else
4702 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4703 fi
4704
4705 else
4706
4707 LINE=`grep "wxUSE_EXTENDED_RTTI" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4710 else
4711 no_cache=1
4712 fi
4713
4714 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4715
4716 fi
4717
4718
4719 eval "$ac_cv_use_extended_rtti"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4725 { echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6; }
4727 else
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4730 fi
4731
4732 if test "$USE_OS2" = "1"; then
4733 DEFAULT_wxUSE_OMF=no
4734
4735 enablestring=
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4738 no_cache=0
4739 # Check whether --enable-omf was given.
4740 if test "${enable_omf+set}" = set; then
4741 enableval=$enable_omf;
4742 if test "$enableval" = yes; then
4743 ac_cv_use_omf='wxUSE_OMF=yes'
4744 else
4745 ac_cv_use_omf='wxUSE_OMF=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4758
4759 fi
4760
4761
4762 eval "$ac_cv_use_omf"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_OMF" = yes; then
4768 { echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6; }
4770 else
4771 { echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6; }
4773 fi
4774
4775 fi
4776
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4780 BUILD=debug
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4784 BUILD=release
4785 fi
4786
4787
4788 enablestring=
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4791 no_cache=0
4792 # Check whether --enable-debug_flag was given.
4793 if test "${enable_debug_flag+set}" = set; then
4794 enableval=$enable_debug_flag;
4795 if test "$enableval" = yes; then
4796 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4797 else
4798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4811
4812 fi
4813
4814
4815 eval "$ac_cv_use_debug_flag"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4818 fi
4819
4820 if test "$wxUSE_DEBUG_FLAG" = yes; then
4821 { echo "$as_me:$LINENO: result: yes" >&5
4822 echo "${ECHO_T}yes" >&6; }
4823 else
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4826 fi
4827
4828
4829 enablestring=
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4832 no_cache=0
4833 # Check whether --enable-debug_info was given.
4834 if test "${enable_debug_info+set}" = set; then
4835 enableval=$enable_debug_info;
4836 if test "$enableval" = yes; then
4837 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4838 else
4839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4852
4853 fi
4854
4855
4856 eval "$ac_cv_use_debug_info"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4859 fi
4860
4861 if test "$wxUSE_DEBUG_INFO" = yes; then
4862 { echo "$as_me:$LINENO: result: yes" >&5
4863 echo "${ECHO_T}yes" >&6; }
4864 else
4865 { echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6; }
4867 fi
4868
4869
4870 enablestring=
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4873 no_cache=0
4874 # Check whether --enable-debug_gdb was given.
4875 if test "${enable_debug_gdb+set}" = set; then
4876 enableval=$enable_debug_gdb;
4877 if test "$enableval" = yes; then
4878 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4879 else
4880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4893
4894 fi
4895
4896
4897 eval "$ac_cv_use_debug_gdb"
4898 if test "$no_cache" != 1; then
4899 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4900 fi
4901
4902 if test "$wxUSE_DEBUG_GDB" = yes; then
4903 { echo "$as_me:$LINENO: result: yes" >&5
4904 echo "${ECHO_T}yes" >&6; }
4905 else
4906 { echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6; }
4908 fi
4909
4910
4911 enablestring=
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4914 no_cache=0
4915 # Check whether --enable-debug_cntxt was given.
4916 if test "${enable_debug_cntxt+set}" = set; then
4917 enableval=$enable_debug_cntxt;
4918 if test "$enableval" = yes; then
4919 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4920 else
4921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4934
4935 fi
4936
4937
4938 eval "$ac_cv_use_debug_cntxt"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4941 fi
4942
4943 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4944 { echo "$as_me:$LINENO: result: yes" >&5
4945 echo "${ECHO_T}yes" >&6; }
4946 else
4947 { echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6; }
4949 fi
4950
4951
4952 enablestring=
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4955 no_cache=0
4956 # Check whether --enable-mem_tracing was given.
4957 if test "${enable_mem_tracing+set}" = set; then
4958 enableval=$enable_mem_tracing;
4959 if test "$enableval" = yes; then
4960 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4961 else
4962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4963 fi
4964
4965 else
4966
4967 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4970 else
4971 no_cache=1
4972 fi
4973
4974 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4975
4976 fi
4977
4978
4979 eval "$ac_cv_use_mem_tracing"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_MEM_TRACING" = yes; then
4985 { echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6; }
4987 else
4988 { echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6; }
4990 fi
4991
4992
4993 enablestring=
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4996 no_cache=0
4997 # Check whether --enable-profile was given.
4998 if test "${enable_profile+set}" = set; then
4999 enableval=$enable_profile;
5000 if test "$enableval" = yes; then
5001 ac_cv_use_profile='wxUSE_PROFILE=yes'
5002 else
5003 ac_cv_use_profile='wxUSE_PROFILE=no'
5004 fi
5005
5006 else
5007
5008 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5011 else
5012 no_cache=1
5013 fi
5014
5015 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5016
5017 fi
5018
5019
5020 eval "$ac_cv_use_profile"
5021 if test "$no_cache" != 1; then
5022 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5023 fi
5024
5025 if test "$wxUSE_PROFILE" = yes; then
5026 { echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5031 fi
5032
5033
5034 enablestring=
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5037 no_cache=0
5038 # Check whether --enable-no_rtti was given.
5039 if test "${enable_no_rtti+set}" = set; then
5040 enableval=$enable_no_rtti;
5041 if test "$enableval" = yes; then
5042 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5043 else
5044 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5045 fi
5046
5047 else
5048
5049 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5052 else
5053 no_cache=1
5054 fi
5055
5056 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5057
5058 fi
5059
5060
5061 eval "$ac_cv_use_no_rtti"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5064 fi
5065
5066 if test "$wxUSE_NO_RTTI" = yes; then
5067 { echo "$as_me:$LINENO: result: yes" >&5
5068 echo "${ECHO_T}yes" >&6; }
5069 else
5070 { echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6; }
5072 fi
5073
5074
5075 enablestring=
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5078 no_cache=0
5079 # Check whether --enable-no_exceptions was given.
5080 if test "${enable_no_exceptions+set}" = set; then
5081 enableval=$enable_no_exceptions;
5082 if test "$enableval" = yes; then
5083 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5084 else
5085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5086 fi
5087
5088 else
5089
5090 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x ; then
5092 eval "DEFAULT_$LINE"
5093 else
5094 no_cache=1
5095 fi
5096
5097 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5098
5099 fi
5100
5101
5102 eval "$ac_cv_use_no_exceptions"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5105 fi
5106
5107 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5108 { echo "$as_me:$LINENO: result: yes" >&5
5109 echo "${ECHO_T}yes" >&6; }
5110 else
5111 { echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6; }
5113 fi
5114
5115
5116 enablestring=
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5119 no_cache=0
5120 # Check whether --enable-permissive was given.
5121 if test "${enable_permissive+set}" = set; then
5122 enableval=$enable_permissive;
5123 if test "$enableval" = yes; then
5124 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5125 else
5126 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5127 fi
5128
5129 else
5130
5131 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5134 else
5135 no_cache=1
5136 fi
5137
5138 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5139
5140 fi
5141
5142
5143 eval "$ac_cv_use_permissive"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test "$wxUSE_PERMISSIVE" = yes; then
5149 { echo "$as_me:$LINENO: result: yes" >&5
5150 echo "${ECHO_T}yes" >&6; }
5151 else
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5154 fi
5155
5156
5157 enablestring=
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5160 no_cache=0
5161 # Check whether --enable-no_deps was given.
5162 if test "${enable_no_deps+set}" = set; then
5163 enableval=$enable_no_deps;
5164 if test "$enableval" = yes; then
5165 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5166 else
5167 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5168 fi
5169
5170 else
5171
5172 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x ; then
5174 eval "DEFAULT_$LINE"
5175 else
5176 no_cache=1
5177 fi
5178
5179 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5180
5181 fi
5182
5183
5184 eval "$ac_cv_use_no_deps"
5185 if test "$no_cache" != 1; then
5186 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5187 fi
5188
5189 if test "$wxUSE_NO_DEPS" = yes; then
5190 { echo "$as_me:$LINENO: result: yes" >&5
5191 echo "${ECHO_T}yes" >&6; }
5192 else
5193 { echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6; }
5195 fi
5196
5197
5198 enablestring=
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5201 no_cache=0
5202 # Check whether --enable-vararg_macros was given.
5203 if test "${enable_vararg_macros+set}" = set; then
5204 enableval=$enable_vararg_macros;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5207 else
5208 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5209 fi
5210
5211 else
5212
5213 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5216 else
5217 no_cache=1
5218 fi
5219
5220 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5221
5222 fi
5223
5224
5225 eval "$ac_cv_use_vararg_macros"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5228 fi
5229
5230 if test "$wxUSE_VARARG_MACROS" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5233 else
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5236 fi
5237
5238
5239 enablestring=
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5242 no_cache=0
5243 # Check whether --enable-universal_binary was given.
5244 if test "${enable_universal_binary+set}" = set; then
5245 enableval=$enable_universal_binary;
5246 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5247
5248 else
5249
5250 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5258
5259 fi
5260
5261
5262 eval "$wx_cv_use_universal_binary"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5268 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5269
5270
5271
5272 enablestring=enable
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5275 no_cache=0
5276 # Check whether --enable-compat26 was given.
5277 if test "${enable_compat26+set}" = set; then
5278 enableval=$enable_compat26;
5279 if test "$enableval" = yes; then
5280 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5281 else
5282 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5283 fi
5284
5285 else
5286
5287 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5290 else
5291 no_cache=1
5292 fi
5293
5294 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5295
5296 fi
5297
5298
5299 eval "$ac_cv_use_compat26"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5305 { echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6; }
5307 else
5308 { echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6; }
5310 fi
5311
5312
5313 enablestring=disable
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5316 no_cache=0
5317 # Check whether --enable-compat28 was given.
5318 if test "${enable_compat28+set}" = set; then
5319 enableval=$enable_compat28;
5320 if test "$enableval" = yes; then
5321 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5322 else
5323 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5324 fi
5325
5326 else
5327
5328 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5329 if test "x$LINE" != x ; then
5330 eval "DEFAULT_$LINE"
5331 else
5332 no_cache=1
5333 fi
5334
5335 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5336
5337 fi
5338
5339
5340 eval "$ac_cv_use_compat28"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5346 { echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6; }
5348 else
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5351 fi
5352
5353
5354
5355 enablestring=
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5358 no_cache=0
5359 # Check whether --enable-rpath was given.
5360 if test "${enable_rpath+set}" = set; then
5361 enableval=$enable_rpath;
5362 if test "$enableval" = yes; then
5363 ac_cv_use_rpath='wxUSE_RPATH=yes'
5364 else
5365 ac_cv_use_rpath='wxUSE_RPATH=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5378
5379 fi
5380
5381
5382 eval "$ac_cv_use_rpath"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test "$wxUSE_RPATH" = yes; then
5388 { echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6; }
5390 else
5391 { echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6; }
5393 fi
5394
5395
5396
5397
5398
5399 enablestring=
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5402 no_cache=0
5403 # Check whether --enable-intl was given.
5404 if test "${enable_intl+set}" = set; then
5405 enableval=$enable_intl;
5406 if test "$enableval" = yes; then
5407 ac_cv_use_intl='wxUSE_INTL=yes'
5408 else
5409 ac_cv_use_intl='wxUSE_INTL=no'
5410 fi
5411
5412 else
5413
5414 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 else
5418 no_cache=1
5419 fi
5420
5421 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5422
5423 fi
5424
5425
5426 eval "$ac_cv_use_intl"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_INTL" = yes; then
5432 { echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6; }
5434 else
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5437 fi
5438
5439
5440 enablestring=
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5443 no_cache=0
5444 # Check whether --enable-config was given.
5445 if test "${enable_config+set}" = set; then
5446 enableval=$enable_config;
5447 if test "$enableval" = yes; then
5448 ac_cv_use_config='wxUSE_CONFIG=yes'
5449 else
5450 ac_cv_use_config='wxUSE_CONFIG=no'
5451 fi
5452
5453 else
5454
5455 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 else
5459 no_cache=1
5460 fi
5461
5462 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5463
5464 fi
5465
5466
5467 eval "$ac_cv_use_config"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_CONFIG" = yes; then
5473 { echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6; }
5475 else
5476 { echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6; }
5478 fi
5479
5480
5481
5482 enablestring=
5483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5484 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5485 no_cache=0
5486 # Check whether --enable-protocols was given.
5487 if test "${enable_protocols+set}" = set; then
5488 enableval=$enable_protocols;
5489 if test "$enableval" = yes; then
5490 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5491 else
5492 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5505
5506 fi
5507
5508
5509 eval "$ac_cv_use_protocols"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5512 fi
5513
5514 if test "$wxUSE_PROTOCOL" = yes; then
5515 { echo "$as_me:$LINENO: result: yes" >&5
5516 echo "${ECHO_T}yes" >&6; }
5517 else
5518 { echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6; }
5520 fi
5521
5522
5523 enablestring=
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5526 no_cache=0
5527 # Check whether --enable-ftp was given.
5528 if test "${enable_ftp+set}" = set; then
5529 enableval=$enable_ftp;
5530 if test "$enableval" = yes; then
5531 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5532 else
5533 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5546
5547 fi
5548
5549
5550 eval "$ac_cv_use_ftp"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5556 { echo "$as_me:$LINENO: result: yes" >&5
5557 echo "${ECHO_T}yes" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5561 fi
5562
5563
5564 enablestring=
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5567 no_cache=0
5568 # Check whether --enable-http was given.
5569 if test "${enable_http+set}" = set; then
5570 enableval=$enable_http;
5571 if test "$enableval" = yes; then
5572 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5573 else
5574 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5587
5588 fi
5589
5590
5591 eval "$ac_cv_use_http"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5594 fi
5595
5596 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5597 { echo "$as_me:$LINENO: result: yes" >&5
5598 echo "${ECHO_T}yes" >&6; }
5599 else
5600 { echo "$as_me:$LINENO: result: no" >&5
5601 echo "${ECHO_T}no" >&6; }
5602 fi
5603
5604
5605 enablestring=
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5608 no_cache=0
5609 # Check whether --enable-fileproto was given.
5610 if test "${enable_fileproto+set}" = set; then
5611 enableval=$enable_fileproto;
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5614 else
5615 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5628
5629 fi
5630
5631
5632 eval "$ac_cv_use_fileproto"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5635 fi
5636
5637 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5638 { echo "$as_me:$LINENO: result: yes" >&5
5639 echo "${ECHO_T}yes" >&6; }
5640 else
5641 { echo "$as_me:$LINENO: result: no" >&5
5642 echo "${ECHO_T}no" >&6; }
5643 fi
5644
5645
5646 enablestring=
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5649 no_cache=0
5650 # Check whether --enable-sockets was given.
5651 if test "${enable_sockets+set}" = set; then
5652 enableval=$enable_sockets;
5653 if test "$enableval" = yes; then
5654 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5655 else
5656 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5669
5670 fi
5671
5672
5673 eval "$ac_cv_use_sockets"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5676 fi
5677
5678 if test "$wxUSE_SOCKETS" = yes; then
5679 { echo "$as_me:$LINENO: result: yes" >&5
5680 echo "${ECHO_T}yes" >&6; }
5681 else
5682 { echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6; }
5684 fi
5685
5686
5687 enablestring=
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5690 no_cache=0
5691 # Check whether --enable-ole was given.
5692 if test "${enable_ole+set}" = set; then
5693 enableval=$enable_ole;
5694 if test "$enableval" = yes; then
5695 ac_cv_use_ole='wxUSE_OLE=yes'
5696 else
5697 ac_cv_use_ole='wxUSE_OLE=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5710
5711 fi
5712
5713
5714 eval "$ac_cv_use_ole"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5717 fi
5718
5719 if test "$wxUSE_OLE" = yes; then
5720 { echo "$as_me:$LINENO: result: yes" >&5
5721 echo "${ECHO_T}yes" >&6; }
5722 else
5723 { echo "$as_me:$LINENO: result: no" >&5
5724 echo "${ECHO_T}no" >&6; }
5725 fi
5726
5727
5728 enablestring=
5729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5730 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5731 no_cache=0
5732 # Check whether --enable-dataobj was given.
5733 if test "${enable_dataobj+set}" = set; then
5734 enableval=$enable_dataobj;
5735 if test "$enableval" = yes; then
5736 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5737 else
5738 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5751
5752 fi
5753
5754
5755 eval "$ac_cv_use_dataobj"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5758 fi
5759
5760 if test "$wxUSE_DATAOBJ" = yes; then
5761 { echo "$as_me:$LINENO: result: yes" >&5
5762 echo "${ECHO_T}yes" >&6; }
5763 else
5764 { echo "$as_me:$LINENO: result: no" >&5
5765 echo "${ECHO_T}no" >&6; }
5766 fi
5767
5768
5769
5770 enablestring=
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5773 no_cache=0
5774 # Check whether --enable-ipc was given.
5775 if test "${enable_ipc+set}" = set; then
5776 enableval=$enable_ipc;
5777 if test "$enableval" = yes; then
5778 ac_cv_use_ipc='wxUSE_IPC=yes'
5779 else
5780 ac_cv_use_ipc='wxUSE_IPC=no'
5781 fi
5782
5783 else
5784
5785 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x ; then
5787 eval "DEFAULT_$LINE"
5788 else
5789 no_cache=1
5790 fi
5791
5792 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5793
5794 fi
5795
5796
5797 eval "$ac_cv_use_ipc"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_IPC" = yes; then
5803 { echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6; }
5805 else
5806 { echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6; }
5808 fi
5809
5810
5811
5812 enablestring=
5813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5814 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5815 no_cache=0
5816 # Check whether --enable-apple_ieee was given.
5817 if test "${enable_apple_ieee+set}" = set; then
5818 enableval=$enable_apple_ieee;
5819 if test "$enableval" = yes; then
5820 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5821 else
5822 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5835
5836 fi
5837
5838
5839 eval "$ac_cv_use_apple_ieee"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5842 fi
5843
5844 if test "$wxUSE_APPLE_IEEE" = yes; then
5845 { echo "$as_me:$LINENO: result: yes" >&5
5846 echo "${ECHO_T}yes" >&6; }
5847 else
5848 { echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6; }
5850 fi
5851
5852
5853 enablestring=
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5856 no_cache=0
5857 # Check whether --enable-arcstream was given.
5858 if test "${enable_arcstream+set}" = set; then
5859 enableval=$enable_arcstream;
5860 if test "$enableval" = yes; then
5861 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5862 else
5863 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5876
5877 fi
5878
5879
5880 eval "$ac_cv_use_arcstream"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5886 { echo "$as_me:$LINENO: result: yes" >&5
5887 echo "${ECHO_T}yes" >&6; }
5888 else
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5891 fi
5892
5893
5894 enablestring=
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5897 no_cache=0
5898 # Check whether --enable-backtrace was given.
5899 if test "${enable_backtrace+set}" = set; then
5900 enableval=$enable_backtrace;
5901 if test "$enableval" = yes; then
5902 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5903 else
5904 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5905 fi
5906
5907 else
5908
5909 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5912 else
5913 no_cache=1
5914 fi
5915
5916 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5917
5918 fi
5919
5920
5921 eval "$ac_cv_use_backtrace"
5922 if test "$no_cache" != 1; then
5923 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5924 fi
5925
5926 if test "$wxUSE_STACKWALKER" = yes; then
5927 { echo "$as_me:$LINENO: result: yes" >&5
5928 echo "${ECHO_T}yes" >&6; }
5929 else
5930 { echo "$as_me:$LINENO: result: no" >&5
5931 echo "${ECHO_T}no" >&6; }
5932 fi
5933
5934
5935 enablestring=
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5938 no_cache=0
5939 # Check whether --enable-catch_segvs was given.
5940 if test "${enable_catch_segvs+set}" = set; then
5941 enableval=$enable_catch_segvs;
5942 if test "$enableval" = yes; then
5943 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5944 else
5945 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5946 fi
5947
5948 else
5949
5950 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5958
5959 fi
5960
5961
5962 eval "$ac_cv_use_catch_segvs"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5965 fi
5966
5967 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5968 { echo "$as_me:$LINENO: result: yes" >&5
5969 echo "${ECHO_T}yes" >&6; }
5970 else
5971 { echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6; }
5973 fi
5974
5975
5976 enablestring=
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5979 no_cache=0
5980 # Check whether --enable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval=$enable_cmdline;
5983 if test "$enableval" = yes; then
5984 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5985 else
5986 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5987 fi
5988
5989 else
5990
5991 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5994 else
5995 no_cache=1
5996 fi
5997
5998 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5999
6000 fi
6001
6002
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6006 fi
6007
6008 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6009 { echo "$as_me:$LINENO: result: yes" >&5
6010 echo "${ECHO_T}yes" >&6; }
6011 else
6012 { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6014 fi
6015
6016
6017 enablestring=
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6020 no_cache=0
6021 # Check whether --enable-datetime was given.
6022 if test "${enable_datetime+set}" = set; then
6023 enableval=$enable_datetime;
6024 if test "$enableval" = yes; then
6025 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6026 else
6027 ac_cv_use_datetime='wxUSE_DATETIME=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6040
6041 fi
6042
6043
6044 eval "$ac_cv_use_datetime"
6045 if test "$no_cache" != 1; then
6046 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6047 fi
6048
6049 if test "$wxUSE_DATETIME" = yes; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6052 else
6053 { echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6; }
6055 fi
6056
6057
6058 enablestring=
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6061 no_cache=0
6062 # Check whether --enable-debugreport was given.
6063 if test "${enable_debugreport+set}" = set; then
6064 enableval=$enable_debugreport;
6065 if test "$enableval" = yes; then
6066 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6067 else
6068 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6081
6082 fi
6083
6084
6085 eval "$ac_cv_use_debugreport"
6086 if test "$no_cache" != 1; then
6087 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6088 fi
6089
6090 if test "$wxUSE_DEBUGREPORT" = yes; then
6091 { echo "$as_me:$LINENO: result: yes" >&5
6092 echo "${ECHO_T}yes" >&6; }
6093 else
6094 { echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6; }
6096 fi
6097
6098
6099 enablestring=
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6102 no_cache=0
6103 # Check whether --enable-dialupman was given.
6104 if test "${enable_dialupman+set}" = set; then
6105 enableval=$enable_dialupman;
6106 if test "$enableval" = yes; then
6107 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6108 else
6109 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6122
6123 fi
6124
6125
6126 eval "$ac_cv_use_dialupman"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6129 fi
6130
6131 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6132 { echo "$as_me:$LINENO: result: yes" >&5
6133 echo "${ECHO_T}yes" >&6; }
6134 else
6135 { echo "$as_me:$LINENO: result: no" >&5
6136 echo "${ECHO_T}no" >&6; }
6137 fi
6138
6139
6140 enablestring=
6141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6143 no_cache=0
6144 # Check whether --enable-dynlib was given.
6145 if test "${enable_dynlib+set}" = set; then
6146 enableval=$enable_dynlib;
6147 if test "$enableval" = yes; then
6148 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6149 else
6150 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6151 fi
6152
6153 else
6154
6155 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6163
6164 fi
6165
6166
6167 eval "$ac_cv_use_dynlib"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6170 fi
6171
6172 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6173 { echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6; }
6175 else
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6178 fi
6179
6180
6181 enablestring=
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6184 no_cache=0
6185 # Check whether --enable-dynamicloader was given.
6186 if test "${enable_dynamicloader+set}" = set; then
6187 enableval=$enable_dynamicloader;
6188 if test "$enableval" = yes; then
6189 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6190 else
6191 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6192 fi
6193
6194 else
6195
6196 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6204
6205 fi
6206
6207
6208 eval "$ac_cv_use_dynamicloader"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6211 fi
6212
6213 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6214 { echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6; }
6216 else
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6219 fi
6220
6221
6222 enablestring=
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6225 no_cache=0
6226 # Check whether --enable-exceptions was given.
6227 if test "${enable_exceptions+set}" = set; then
6228 enableval=$enable_exceptions;
6229 if test "$enableval" = yes; then
6230 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6231 else
6232 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6233 fi
6234
6235 else
6236
6237 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6245
6246 fi
6247
6248
6249 eval "$ac_cv_use_exceptions"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6252 fi
6253
6254 if test "$wxUSE_EXCEPTIONS" = yes; then
6255 { echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6; }
6257 else
6258 { echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6; }
6260 fi
6261
6262
6263 enablestring=
6264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6266 no_cache=0
6267 # Check whether --enable-ffile was given.
6268 if test "${enable_ffile+set}" = set; then
6269 enableval=$enable_ffile;
6270 if test "$enableval" = yes; then
6271 ac_cv_use_ffile='wxUSE_FFILE=yes'
6272 else
6273 ac_cv_use_ffile='wxUSE_FFILE=no'
6274 fi
6275
6276 else
6277
6278 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6286
6287 fi
6288
6289
6290 eval "$ac_cv_use_ffile"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6293 fi
6294
6295 if test "$wxUSE_FFILE" = yes; then
6296 { echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6; }
6298 else
6299 { echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6; }
6301 fi
6302
6303
6304 enablestring=
6305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6307 no_cache=0
6308 # Check whether --enable-file was given.
6309 if test "${enable_file+set}" = set; then
6310 enableval=$enable_file;
6311 if test "$enableval" = yes; then
6312 ac_cv_use_file='wxUSE_FILE=yes'
6313 else
6314 ac_cv_use_file='wxUSE_FILE=no'
6315 fi
6316
6317 else
6318
6319 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 else
6323 no_cache=1
6324 fi
6325
6326 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6327
6328 fi
6329
6330
6331 eval "$ac_cv_use_file"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6334 fi
6335
6336 if test "$wxUSE_FILE" = yes; then
6337 { echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6; }
6339 else
6340 { echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6; }
6342 fi
6343
6344
6345 enablestring=
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6348 no_cache=0
6349 # Check whether --enable-filesystem was given.
6350 if test "${enable_filesystem+set}" = set; then
6351 enableval=$enable_filesystem;
6352 if test "$enableval" = yes; then
6353 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6354 else
6355 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6356 fi
6357
6358 else
6359
6360 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6368
6369 fi
6370
6371
6372 eval "$ac_cv_use_filesystem"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6375 fi
6376
6377 if test "$wxUSE_FILESYSTEM" = yes; then
6378 { echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6; }
6380 else
6381 { echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6; }
6383 fi
6384
6385
6386 enablestring=
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6389 no_cache=0
6390 # Check whether --enable-fontmap was given.
6391 if test "${enable_fontmap+set}" = set; then
6392 enableval=$enable_fontmap;
6393 if test "$enableval" = yes; then
6394 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6395 else
6396 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6409
6410 fi
6411
6412
6413 eval "$ac_cv_use_fontmap"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6416 fi
6417
6418 if test "$wxUSE_FONTMAP" = yes; then
6419 { echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6; }
6421 else
6422 { echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6; }
6424 fi
6425
6426
6427 enablestring=
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6430 no_cache=0
6431 # Check whether --enable-fs_archive was given.
6432 if test "${enable_fs_archive+set}" = set; then
6433 enableval=$enable_fs_archive;
6434 if test "$enableval" = yes; then
6435 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6436 else
6437 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6450
6451 fi
6452
6453
6454 eval "$ac_cv_use_fs_archive"
6455 if test "$no_cache" != 1; then
6456 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6457 fi
6458
6459 if test "$wxUSE_FS_ARCHIVE" = yes; then
6460 { echo "$as_me:$LINENO: result: yes" >&5
6461 echo "${ECHO_T}yes" >&6; }
6462 else
6463 { echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6; }
6465 fi
6466
6467
6468 enablestring=
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6471 no_cache=0
6472 # Check whether --enable-fs_inet was given.
6473 if test "${enable_fs_inet+set}" = set; then
6474 enableval=$enable_fs_inet;
6475 if test "$enableval" = yes; then
6476 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6477 else
6478 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6491
6492 fi
6493
6494
6495 eval "$ac_cv_use_fs_inet"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6498 fi
6499
6500 if test "$wxUSE_FS_INET" = yes; then
6501 { echo "$as_me:$LINENO: result: yes" >&5
6502 echo "${ECHO_T}yes" >&6; }
6503 else
6504 { echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6; }
6506 fi
6507
6508
6509 enablestring=
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6512 no_cache=0
6513 # Check whether --enable-fs_zip was given.
6514 if test "${enable_fs_zip+set}" = set; then
6515 enableval=$enable_fs_zip;
6516 if test "$enableval" = yes; then
6517 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6518 else
6519 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6532
6533 fi
6534
6535
6536 eval "$ac_cv_use_fs_zip"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6539 fi
6540
6541 if test "$wxUSE_FS_ZIP" = yes; then
6542 { echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6; }
6544 else
6545 { echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6; }
6547 fi
6548
6549
6550 enablestring=
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6553 no_cache=0
6554 # Check whether --enable-geometry was given.
6555 if test "${enable_geometry+set}" = set; then
6556 enableval=$enable_geometry;
6557 if test "$enableval" = yes; then
6558 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6559 else
6560 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6573
6574 fi
6575
6576
6577 eval "$ac_cv_use_geometry"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6580 fi
6581
6582 if test "$wxUSE_GEOMETRY" = yes; then
6583 { echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6; }
6585 else
6586 { echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6; }
6588 fi
6589
6590
6591 enablestring=
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6594 no_cache=0
6595 # Check whether --enable-log was given.
6596 if test "${enable_log+set}" = set; then
6597 enableval=$enable_log;
6598 if test "$enableval" = yes; then
6599 ac_cv_use_log='wxUSE_LOG=yes'
6600 else
6601 ac_cv_use_log='wxUSE_LOG=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6614
6615 fi
6616
6617
6618 eval "$ac_cv_use_log"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test "$wxUSE_LOG" = yes; then
6624 { echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6; }
6626 else
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6629 fi
6630
6631
6632 enablestring=
6633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6635 no_cache=0
6636 # Check whether --enable-longlong was given.
6637 if test "${enable_longlong+set}" = set; then
6638 enableval=$enable_longlong;
6639 if test "$enableval" = yes; then
6640 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6641 else
6642 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6655
6656 fi
6657
6658
6659 eval "$ac_cv_use_longlong"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_LONGLONG" = yes; then
6665 { echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6; }
6667 else
6668 { echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6; }
6670 fi
6671
6672
6673 enablestring=
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6676 no_cache=0
6677 # Check whether --enable-mimetype was given.
6678 if test "${enable_mimetype+set}" = set; then
6679 enableval=$enable_mimetype;
6680 if test "$enableval" = yes; then
6681 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6682 else
6683 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6684 fi
6685
6686 else
6687
6688 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 else
6692 no_cache=1
6693 fi
6694
6695 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6696
6697 fi
6698
6699
6700 eval "$ac_cv_use_mimetype"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6703 fi
6704
6705 if test "$wxUSE_MIMETYPE" = yes; then
6706 { echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6; }
6708 else
6709 { echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6; }
6711 fi
6712
6713
6714 enablestring=
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6717 no_cache=0
6718 # Check whether --enable-mslu was given.
6719 if test "${enable_mslu+set}" = set; then
6720 enableval=$enable_mslu;
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6723 else
6724 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6725 fi
6726
6727 else
6728
6729 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6732 else
6733 no_cache=1
6734 fi
6735
6736 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6737
6738 fi
6739
6740
6741 eval "$ac_cv_use_mslu"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_UNICODE_MSLU" = yes; then
6747 { echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6; }
6749 else
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6752 fi
6753
6754
6755 enablestring=
6756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6758 no_cache=0
6759 # Check whether --enable-utf8 was given.
6760 if test "${enable_utf8+set}" = set; then
6761 enableval=$enable_utf8;
6762 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6763
6764 else
6765
6766 LINE=`grep "wxUSE_UNICODE_UTF8" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6769 else
6770 no_cache=1
6771 fi
6772
6773 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6774
6775 fi
6776
6777
6778 eval "$wx_cv_use_utf8"
6779 if test "$no_cache" != 1; then
6780 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6784 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6785
6786
6787 enablestring=
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6790 no_cache=0
6791 # Check whether --enable-utf8only was given.
6792 if test "${enable_utf8only+set}" = set; then
6793 enableval=$enable_utf8only;
6794 if test "$enableval" = yes; then
6795 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6796 else
6797 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6798 fi
6799
6800 else
6801
6802 LINE=`grep "wxUSE_UNICODE_UTF8_LOCALE" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6805 else
6806 no_cache=1
6807 fi
6808
6809 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6810
6811 fi
6812
6813
6814 eval "$ac_cv_use_utf8only"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6817 fi
6818
6819 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6820 { echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6; }
6822 else
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6825 fi
6826
6827
6828 enablestring=
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6831 no_cache=0
6832 # Check whether --enable-snglinst was given.
6833 if test "${enable_snglinst+set}" = set; then
6834 enableval=$enable_snglinst;
6835 if test "$enableval" = yes; then
6836 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6837 else
6838 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6846 else
6847 no_cache=1
6848 fi
6849
6850 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6851
6852 fi
6853
6854
6855 eval "$ac_cv_use_snglinst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6858 fi
6859
6860 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6861 { echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6; }
6863 else
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6866 fi
6867
6868
6869 enablestring=
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6872 no_cache=0
6873 # Check whether --enable-std_iostreams was given.
6874 if test "${enable_std_iostreams+set}" = set; then
6875 enableval=$enable_std_iostreams;
6876 if test "$enableval" = yes; then
6877 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6878 else
6879 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6880 fi
6881
6882 else
6883
6884 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6887 else
6888 no_cache=1
6889 fi
6890
6891 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6892
6893 fi
6894
6895
6896 eval "$ac_cv_use_std_iostreams"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6899 fi
6900
6901 if test "$wxUSE_STD_IOSTREAM" = yes; then
6902 { echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6; }
6904 else
6905 { echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6; }
6907 fi
6908
6909
6910 enablestring=
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6913 no_cache=0
6914 # Check whether --enable-std_string was given.
6915 if test "${enable_std_string+set}" = set; then
6916 enableval=$enable_std_string;
6917 if test "$enableval" = yes; then
6918 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6919 else
6920 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6921 fi
6922
6923 else
6924
6925 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6928 else
6929 no_cache=1
6930 fi
6931
6932 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6933
6934 fi
6935
6936
6937 eval "$ac_cv_use_std_string"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test "$wxUSE_STD_STRING" = yes; then
6943 { echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6; }
6945 else
6946 { echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6; }
6948 fi
6949
6950
6951 enablestring=
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6954 no_cache=0
6955 # Check whether --enable-stdpaths was given.
6956 if test "${enable_stdpaths+set}" = set; then
6957 enableval=$enable_stdpaths;
6958 if test "$enableval" = yes; then
6959 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6960 else
6961 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6962 fi
6963
6964 else
6965
6966 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6969 else
6970 no_cache=1
6971 fi
6972
6973 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6974
6975 fi
6976
6977
6978 eval "$ac_cv_use_stdpaths"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6981 fi
6982
6983 if test "$wxUSE_STDPATHS" = yes; then
6984 { echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6; }
6986 else
6987 { echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6; }
6989 fi
6990
6991
6992 enablestring=
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6995 no_cache=0
6996 # Check whether --enable-stopwatch was given.
6997 if test "${enable_stopwatch+set}" = set; then
6998 enableval=$enable_stopwatch;
6999 if test "$enableval" = yes; then
7000 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7001 else
7002 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7003 fi
7004
7005 else
7006
7007 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7010 else
7011 no_cache=1
7012 fi
7013
7014 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7015
7016 fi
7017
7018
7019 eval "$ac_cv_use_stopwatch"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7022 fi
7023
7024 if test "$wxUSE_STOPWATCH" = yes; then
7025 { echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6; }
7027 else
7028 { echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6; }
7030 fi
7031
7032
7033 enablestring=
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7036 no_cache=0
7037 # Check whether --enable-streams was given.
7038 if test "${enable_streams+set}" = set; then
7039 enableval=$enable_streams;
7040 if test "$enableval" = yes; then
7041 ac_cv_use_streams='wxUSE_STREAMS=yes'
7042 else
7043 ac_cv_use_streams='wxUSE_STREAMS=no'
7044 fi
7045
7046 else
7047
7048 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7051 else
7052 no_cache=1
7053 fi
7054
7055 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7056
7057 fi
7058
7059
7060 eval "$ac_cv_use_streams"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7063 fi
7064
7065 if test "$wxUSE_STREAMS" = yes; then
7066 { echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6; }
7068 else
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7071 fi
7072
7073
7074 enablestring=
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7077 no_cache=0
7078 # Check whether --enable-system_options was given.
7079 if test "${enable_system_options+set}" = set; then
7080 enableval=$enable_system_options;
7081 if test "$enableval" = yes; then
7082 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7083 else
7084 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7085 fi
7086
7087 else
7088
7089 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 else
7093 no_cache=1
7094 fi
7095
7096 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7097
7098 fi
7099
7100
7101 eval "$ac_cv_use_system_options"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7104 fi
7105
7106 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7107 { echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6; }
7109 else
7110 { echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6; }
7112 fi
7113
7114
7115 enablestring=
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7118 no_cache=0
7119 # Check whether --enable-tarstream was given.
7120 if test "${enable_tarstream+set}" = set; then
7121 enableval=$enable_tarstream;
7122 if test "$enableval" = yes; then
7123 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7124 else
7125 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7126 fi
7127
7128 else
7129
7130 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7133 else
7134 no_cache=1
7135 fi
7136
7137 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7138
7139 fi
7140
7141
7142 eval "$ac_cv_use_tarstream"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7145 fi
7146
7147 if test "$wxUSE_TARSTREAM" = yes; then
7148 { echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6; }
7150 else
7151 { echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6; }
7153 fi
7154
7155
7156 enablestring=
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7159 no_cache=0
7160 # Check whether --enable-textbuf was given.
7161 if test "${enable_textbuf+set}" = set; then
7162 enableval=$enable_textbuf;
7163 if test "$enableval" = yes; then
7164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7165 else
7166 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7167 fi
7168
7169 else
7170
7171 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7174 else
7175 no_cache=1
7176 fi
7177
7178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7179
7180 fi
7181
7182
7183 eval "$ac_cv_use_textbuf"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7186 fi
7187
7188 if test "$wxUSE_TEXTBUFFER" = yes; then
7189 { echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6; }
7191 else
7192 { echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6; }
7194 fi
7195
7196
7197 enablestring=
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7200 no_cache=0
7201 # Check whether --enable-textfile was given.
7202 if test "${enable_textfile+set}" = set; then
7203 enableval=$enable_textfile;
7204 if test "$enableval" = yes; then
7205 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7206 else
7207 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7208 fi
7209
7210 else
7211
7212 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 else
7216 no_cache=1
7217 fi
7218
7219 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7220
7221 fi
7222
7223
7224 eval "$ac_cv_use_textfile"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7227 fi
7228
7229 if test "$wxUSE_TEXTFILE" = yes; then
7230 { echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6; }
7232 else
7233 { echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6; }
7235 fi
7236
7237
7238 enablestring=
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7241 no_cache=0
7242 # Check whether --enable-timer was given.
7243 if test "${enable_timer+set}" = set; then
7244 enableval=$enable_timer;
7245 if test "$enableval" = yes; then
7246 ac_cv_use_timer='wxUSE_TIMER=yes'
7247 else
7248 ac_cv_use_timer='wxUSE_TIMER=no'
7249 fi
7250
7251 else
7252
7253 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7256 else
7257 no_cache=1
7258 fi
7259
7260 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7261
7262 fi
7263
7264
7265 eval "$ac_cv_use_timer"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7268 fi
7269
7270 if test "$wxUSE_TIMER" = yes; then
7271 { echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6; }
7273 else
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7276 fi
7277
7278
7279 enablestring=
7280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7282 no_cache=0
7283 # Check whether --enable-unicode was given.
7284 if test "${enable_unicode+set}" = set; then
7285 enableval=$enable_unicode;
7286 if test "$enableval" = yes; then
7287 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7288 else
7289 ac_cv_use_unicode='wxUSE_UNICODE=no'
7290 fi
7291
7292 else
7293
7294 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7297 else
7298 no_cache=1
7299 fi
7300
7301 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7302
7303 fi
7304
7305
7306 eval "$ac_cv_use_unicode"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7309 fi
7310
7311 if test "$wxUSE_UNICODE" = yes; then
7312 { echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6; }
7314 else
7315 { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7317 fi
7318
7319
7320 enablestring=
7321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7323 no_cache=0
7324 # Check whether --enable-sound was given.
7325 if test "${enable_sound+set}" = set; then
7326 enableval=$enable_sound;
7327 if test "$enableval" = yes; then
7328 ac_cv_use_sound='wxUSE_SOUND=yes'
7329 else
7330 ac_cv_use_sound='wxUSE_SOUND=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7343
7344 fi
7345
7346
7347 eval "$ac_cv_use_sound"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_SOUND" = yes; then
7353 { echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6; }
7355 else
7356 { echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6; }
7358 fi
7359
7360
7361 enablestring=
7362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7364 no_cache=0
7365 # Check whether --enable-mediactrl was given.
7366 if test "${enable_mediactrl+set}" = set; then
7367 enableval=$enable_mediactrl;
7368 if test "$enableval" = yes; then
7369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7370 else
7371 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7384
7385 fi
7386
7387
7388 eval "$ac_cv_use_mediactrl"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7391 fi
7392
7393 if test "$wxUSE_MEDIACTRL" = yes; then
7394 { echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6; }
7396 else
7397 { echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6; }
7399 fi
7400
7401
7402 enablestring=
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7405 no_cache=0
7406 # Check whether --enable-gstreamer8 was given.
7407 if test "${enable_gstreamer8+set}" = set; then
7408 enableval=$enable_gstreamer8;
7409 if test "$enableval" = yes; then
7410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7411 else
7412 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7425
7426 fi
7427
7428
7429 eval "$ac_cv_use_gstreamer8"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7432 fi
7433
7434 if test "$wxUSE_GSTREAMER8" = yes; then
7435 { echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6; }
7437 else
7438 { echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6; }
7440 fi
7441
7442
7443 enablestring=
7444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7446 no_cache=0
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7452 else
7453 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7466
7467 fi
7468
7469
7470 eval "$ac_cv_use_printfposparam"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7473 fi
7474
7475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7476 { echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6; }
7478 else
7479 { echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6; }
7481 fi
7482
7483
7484 enablestring=
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7487 no_cache=0
7488 # Check whether --enable-zipstream was given.
7489 if test "${enable_zipstream+set}" = set; then
7490 enableval=$enable_zipstream;
7491 if test "$enableval" = yes; then
7492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7493 else
7494 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7507
7508 fi
7509
7510
7511 eval "$ac_cv_use_zipstream"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7514 fi
7515
7516 if test "$wxUSE_ZIPSTREAM" = yes; then
7517 { echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6; }
7519 else
7520 { echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6; }
7522 fi
7523
7524
7525
7526 enablestring=
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7529 no_cache=0
7530 # Check whether --enable-url was given.
7531 if test "${enable_url+set}" = set; then
7532 enableval=$enable_url;
7533 if test "$enableval" = yes; then
7534 ac_cv_use_url='wxUSE_URL=yes'
7535 else
7536 ac_cv_use_url='wxUSE_URL=no'
7537 fi
7538
7539 else
7540
7541 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7544 else
7545 no_cache=1
7546 fi
7547
7548 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7549
7550 fi
7551
7552
7553 eval "$ac_cv_use_url"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7556 fi
7557
7558 if test "$wxUSE_URL" = yes; then
7559 { echo "$as_me:$LINENO: result: yes" >&5
7560 echo "${ECHO_T}yes" >&6; }
7561 else
7562 { echo "$as_me:$LINENO: result: no" >&5
7563 echo "${ECHO_T}no" >&6; }
7564 fi
7565
7566
7567 enablestring=
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7570 no_cache=0
7571 # Check whether --enable-variant was given.
7572 if test "${enable_variant+set}" = set; then
7573 enableval=$enable_variant;
7574 if test "$enableval" = yes; then
7575 ac_cv_use_variant='wxUSE_VARIANT=yes'
7576 else
7577 ac_cv_use_variant='wxUSE_VARIANT=no'
7578 fi
7579
7580 else
7581
7582 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7585 else
7586 no_cache=1
7587 fi
7588
7589 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7590
7591 fi
7592
7593
7594 eval "$ac_cv_use_variant"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7597 fi
7598
7599 if test "$wxUSE_VARIANT" = yes; then
7600 { echo "$as_me:$LINENO: result: yes" >&5
7601 echo "${ECHO_T}yes" >&6; }
7602 else
7603 { echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6; }
7605 fi
7606
7607
7608 enablestring=
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7611 no_cache=0
7612 # Check whether --enable-protocol was given.
7613 if test "${enable_protocol+set}" = set; then
7614 enableval=$enable_protocol;
7615 if test "$enableval" = yes; then
7616 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7617 else
7618 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7619 fi
7620
7621 else
7622
7623 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7626 else
7627 no_cache=1
7628 fi
7629
7630 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7631
7632 fi
7633
7634
7635 eval "$ac_cv_use_protocol"
7636 if test "$no_cache" != 1; then
7637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7638 fi
7639
7640 if test "$wxUSE_PROTOCOL" = yes; then
7641 { echo "$as_me:$LINENO: result: yes" >&5
7642 echo "${ECHO_T}yes" >&6; }
7643 else
7644 { echo "$as_me:$LINENO: result: no" >&5
7645 echo "${ECHO_T}no" >&6; }
7646 fi
7647
7648
7649 enablestring=
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7652 no_cache=0
7653 # Check whether --enable-protocol_http was given.
7654 if test "${enable_protocol_http+set}" = set; then
7655 enableval=$enable_protocol_http;
7656 if test "$enableval" = yes; then
7657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7658 else
7659 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7660 fi
7661
7662 else
7663
7664 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7667 else
7668 no_cache=1
7669 fi
7670
7671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7672
7673 fi
7674
7675
7676 eval "$ac_cv_use_protocol_http"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7679 fi
7680
7681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7682 { echo "$as_me:$LINENO: result: yes" >&5
7683 echo "${ECHO_T}yes" >&6; }
7684 else
7685 { echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6; }
7687 fi
7688
7689
7690 enablestring=
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7693 no_cache=0
7694 # Check whether --enable-protocol_ftp was given.
7695 if test "${enable_protocol_ftp+set}" = set; then
7696 enableval=$enable_protocol_ftp;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7699 else
7700 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7701 fi
7702
7703 else
7704
7705 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 else
7709 no_cache=1
7710 fi
7711
7712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7713
7714 fi
7715
7716
7717 eval "$ac_cv_use_protocol_ftp"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7720 fi
7721
7722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7725 else
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7728 fi
7729
7730
7731 enablestring=
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7734 no_cache=0
7735 # Check whether --enable-protocol_file was given.
7736 if test "${enable_protocol_file+set}" = set; then
7737 enableval=$enable_protocol_file;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7740 else
7741 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7742 fi
7743
7744 else
7745
7746 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7749 else
7750 no_cache=1
7751 fi
7752
7753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7754
7755 fi
7756
7757
7758 eval "$ac_cv_use_protocol_file"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7761 fi
7762
7763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7766 else
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7769 fi
7770
7771
7772
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-threads was given.
7780 if test "${enable_threads+set}" = set; then
7781 enableval=$enable_threads;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_threads='wxUSE_THREADS=yes'
7784 else
7785 ac_cv_use_threads='wxUSE_THREADS=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7793 else
7794 no_cache=1
7795 fi
7796
7797 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_threads"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_THREADS" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7810 else
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7813 fi
7814
7815
7816 if test "$wxUSE_GUI" = "yes"; then
7817
7818
7819
7820 enablestring=
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7823 no_cache=0
7824 # Check whether --enable-docview was given.
7825 if test "${enable_docview+set}" = set; then
7826 enableval=$enable_docview;
7827 if test "$enableval" = yes; then
7828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7829 else
7830 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7831 fi
7832
7833 else
7834
7835 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7838 else
7839 no_cache=1
7840 fi
7841
7842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7843
7844 fi
7845
7846
7847 eval "$ac_cv_use_docview"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7850 fi
7851
7852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7853 { echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6; }
7855 else
7856 { echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6; }
7858 fi
7859
7860
7861 enablestring=
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7864 no_cache=0
7865 # Check whether --enable-help was given.
7866 if test "${enable_help+set}" = set; then
7867 enableval=$enable_help;
7868 if test "$enableval" = yes; then
7869 ac_cv_use_help='wxUSE_HELP=yes'
7870 else
7871 ac_cv_use_help='wxUSE_HELP=no'
7872 fi
7873
7874 else
7875
7876 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7879 else
7880 no_cache=1
7881 fi
7882
7883 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7884
7885 fi
7886
7887
7888 eval "$ac_cv_use_help"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7891 fi
7892
7893 if test "$wxUSE_HELP" = yes; then
7894 { echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6; }
7896 else
7897 { echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6; }
7899 fi
7900
7901
7902 enablestring=
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7905 no_cache=0
7906 # Check whether --enable-mshtmlhelp was given.
7907 if test "${enable_mshtmlhelp+set}" = set; then
7908 enableval=$enable_mshtmlhelp;
7909 if test "$enableval" = yes; then
7910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7911 else
7912 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7913 fi
7914
7915 else
7916
7917 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x ; then
7919 eval "DEFAULT_$LINE"
7920 else
7921 no_cache=1
7922 fi
7923
7924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7925
7926 fi
7927
7928
7929 eval "$ac_cv_use_mshtmlhelp"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test "$wxUSE_MS_HTML_HELP" = yes; then
7935 { echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6; }
7937 else
7938 { echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6; }
7940 fi
7941
7942
7943 enablestring=
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7946 no_cache=0
7947 # Check whether --enable-html was given.
7948 if test "${enable_html+set}" = set; then
7949 enableval=$enable_html;
7950 if test "$enableval" = yes; then
7951 ac_cv_use_html='wxUSE_HTML=yes'
7952 else
7953 ac_cv_use_html='wxUSE_HTML=no'
7954 fi
7955
7956 else
7957
7958 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7959 if test "x$LINE" != x ; then
7960 eval "DEFAULT_$LINE"
7961 else
7962 no_cache=1
7963 fi
7964
7965 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7966
7967 fi
7968
7969
7970 eval "$ac_cv_use_html"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7973 fi
7974
7975 if test "$wxUSE_HTML" = yes; then
7976 { echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6; }
7978 else
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7981 fi
7982
7983
7984 enablestring=
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7987 no_cache=0
7988 # Check whether --enable-htmlhelp was given.
7989 if test "${enable_htmlhelp+set}" = set; then
7990 enableval=$enable_htmlhelp;
7991 if test "$enableval" = yes; then
7992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7993 else
7994 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7995 fi
7996
7997 else
7998
7999 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8002 else
8003 no_cache=1
8004 fi
8005
8006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8007
8008 fi
8009
8010
8011 eval "$ac_cv_use_htmlhelp"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8014 fi
8015
8016 if test "$wxUSE_WXHTML_HELP" = yes; then
8017 { echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6; }
8019 else
8020 { echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6; }
8022 fi
8023
8024
8025 enablestring=
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8028 no_cache=0
8029 # Check whether --enable-xrc was given.
8030 if test "${enable_xrc+set}" = set; then
8031 enableval=$enable_xrc;
8032 if test "$enableval" = yes; then
8033 ac_cv_use_xrc='wxUSE_XRC=yes'
8034 else
8035 ac_cv_use_xrc='wxUSE_XRC=no'
8036 fi
8037
8038 else
8039
8040 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8043 else
8044 no_cache=1
8045 fi
8046
8047 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8048
8049 fi
8050
8051
8052 eval "$ac_cv_use_xrc"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8055 fi
8056
8057 if test "$wxUSE_XRC" = yes; then
8058 { echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6; }
8060 else
8061 { echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6; }
8063 fi
8064
8065
8066 enablestring=
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8069 no_cache=0
8070 # Check whether --enable-aui was given.
8071 if test "${enable_aui+set}" = set; then
8072 enableval=$enable_aui;
8073 if test "$enableval" = yes; then
8074 ac_cv_use_aui='wxUSE_AUI=yes'
8075 else
8076 ac_cv_use_aui='wxUSE_AUI=no'
8077 fi
8078
8079 else
8080
8081 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
8082 if test "x$LINE" != x ; then
8083 eval "DEFAULT_$LINE"
8084 else
8085 no_cache=1
8086 fi
8087
8088 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8089
8090 fi
8091
8092
8093 eval "$ac_cv_use_aui"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8096 fi
8097
8098 if test "$wxUSE_AUI" = yes; then
8099 { echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6; }
8101 else
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8104 fi
8105
8106
8107 enablestring=
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8110 no_cache=0
8111 # Check whether --enable-stc was given.
8112 if test "${enable_stc+set}" = set; then
8113 enableval=$enable_stc;
8114 if test "$enableval" = yes; then
8115 ac_cv_use_stc='wxUSE_STC=yes'
8116 else
8117 ac_cv_use_stc='wxUSE_STC=no'
8118 fi
8119
8120 else
8121
8122 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
8123 if test "x$LINE" != x ; then
8124 eval "DEFAULT_$LINE"
8125 else
8126 no_cache=1
8127 fi
8128
8129 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8130
8131 fi
8132
8133
8134 eval "$ac_cv_use_stc"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8137 fi
8138
8139 if test "$wxUSE_STC" = yes; then
8140 { echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6; }
8142 else
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8145 fi
8146
8147
8148 enablestring=
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8151 no_cache=0
8152 # Check whether --enable-constraints was given.
8153 if test "${enable_constraints+set}" = set; then
8154 enableval=$enable_constraints;
8155 if test "$enableval" = yes; then
8156 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8157 else
8158 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8159 fi
8160
8161 else
8162
8163 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8166 else
8167 no_cache=1
8168 fi
8169
8170 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8171
8172 fi
8173
8174
8175 eval "$ac_cv_use_constraints"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8178 fi
8179
8180 if test "$wxUSE_CONSTRAINTS" = yes; then
8181 { echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6; }
8183 else
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8186 fi
8187
8188
8189 enablestring=
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8192 no_cache=0
8193 # Check whether --enable-printarch was given.
8194 if test "${enable_printarch+set}" = set; then
8195 enableval=$enable_printarch;
8196 if test "$enableval" = yes; then
8197 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8198 else
8199 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8200 fi
8201
8202 else
8203
8204 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x ; then
8206 eval "DEFAULT_$LINE"
8207 else
8208 no_cache=1
8209 fi
8210
8211 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8212
8213 fi
8214
8215
8216 eval "$ac_cv_use_printarch"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8219 fi
8220
8221 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8222 { echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6; }
8224 else
8225 { echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6; }
8227 fi
8228
8229
8230 enablestring=
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8233 no_cache=0
8234 # Check whether --enable-mdi was given.
8235 if test "${enable_mdi+set}" = set; then
8236 enableval=$enable_mdi;
8237 if test "$enableval" = yes; then
8238 ac_cv_use_mdi='wxUSE_MDI=yes'
8239 else
8240 ac_cv_use_mdi='wxUSE_MDI=no'
8241 fi
8242
8243 else
8244
8245 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x ; then
8247 eval "DEFAULT_$LINE"
8248 else
8249 no_cache=1
8250 fi
8251
8252 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8253
8254 fi
8255
8256
8257 eval "$ac_cv_use_mdi"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8260 fi
8261
8262 if test "$wxUSE_MDI" = yes; then
8263 { echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6; }
8265 else
8266 { echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6; }
8268 fi
8269
8270
8271 enablestring=
8272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8274 no_cache=0
8275 # Check whether --enable-mdidoc was given.
8276 if test "${enable_mdidoc+set}" = set; then
8277 enableval=$enable_mdidoc;
8278 if test "$enableval" = yes; then
8279 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8280 else
8281 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8282 fi
8283
8284 else
8285
8286 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x ; then
8288 eval "DEFAULT_$LINE"
8289 else
8290 no_cache=1
8291 fi
8292
8293 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8294
8295 fi
8296
8297
8298 eval "$ac_cv_use_mdidoc"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8301 fi
8302
8303 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8304 { echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6; }
8306 else
8307 { echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6; }
8309 fi
8310
8311
8312 enablestring=
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8315 no_cache=0
8316 # Check whether --enable-loggui was given.
8317 if test "${enable_loggui+set}" = set; then
8318 enableval=$enable_loggui;
8319 if test "$enableval" = yes; then
8320 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8321 else
8322 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8323 fi
8324
8325 else
8326
8327 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8328 if test "x$LINE" != x ; then
8329 eval "DEFAULT_$LINE"
8330 else
8331 no_cache=1
8332 fi
8333
8334 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8335
8336 fi
8337
8338
8339 eval "$ac_cv_use_loggui"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8342 fi
8343
8344 if test "$wxUSE_LOGGUI" = yes; then
8345 { echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6; }
8347 else
8348 { echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6; }
8350 fi
8351
8352
8353 enablestring=
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8356 no_cache=0
8357 # Check whether --enable-logwin was given.
8358 if test "${enable_logwin+set}" = set; then
8359 enableval=$enable_logwin;
8360 if test "$enableval" = yes; then
8361 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8362 else
8363 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8364 fi
8365
8366 else
8367
8368 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8369 if test "x$LINE" != x ; then
8370 eval "DEFAULT_$LINE"
8371 else
8372 no_cache=1
8373 fi
8374
8375 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8376
8377 fi
8378
8379
8380 eval "$ac_cv_use_logwin"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8383 fi
8384
8385 if test "$wxUSE_LOGWINDOW" = yes; then
8386 { echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6; }
8388 else
8389 { echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6; }
8391 fi
8392
8393
8394 enablestring=
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8397 no_cache=0
8398 # Check whether --enable-logdialog was given.
8399 if test "${enable_logdialog+set}" = set; then
8400 enableval=$enable_logdialog;
8401 if test "$enableval" = yes; then
8402 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8403 else
8404 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8405 fi
8406
8407 else
8408
8409 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8412 else
8413 no_cache=1
8414 fi
8415
8416 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8417
8418 fi
8419
8420
8421 eval "$ac_cv_use_logdialog"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8424 fi
8425
8426 if test "$wxUSE_LOGDIALOG" = yes; then
8427 { echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6; }
8429 else
8430 { echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6; }
8432 fi
8433
8434
8435 enablestring=
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8438 no_cache=0
8439 # Check whether --enable-webkit was given.
8440 if test "${enable_webkit+set}" = set; then
8441 enableval=$enable_webkit;
8442 if test "$enableval" = yes; then
8443 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8444 else
8445 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8446 fi
8447
8448 else
8449
8450 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8451 if test "x$LINE" != x ; then
8452 eval "DEFAULT_$LINE"
8453 else
8454 no_cache=1
8455 fi
8456
8457 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8458
8459 fi
8460
8461
8462 eval "$ac_cv_use_webkit"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8465 fi
8466
8467 if test "$wxUSE_WEBKIT" = yes; then
8468 { echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6; }
8470 else
8471 { echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6; }
8473 fi
8474
8475
8476 enablestring=
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8479 no_cache=0
8480 # Check whether --enable-richtext was given.
8481 if test "${enable_richtext+set}" = set; then
8482 enableval=$enable_richtext;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8485 else
8486 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8487 fi
8488
8489 else
8490
8491 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8494 else
8495 no_cache=1
8496 fi
8497
8498 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8499
8500 fi
8501
8502
8503 eval "$ac_cv_use_richtext"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8506 fi
8507
8508 if test "$wxUSE_RICHTEXT" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8511 else
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8514 fi
8515
8516
8517 enablestring=
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8520 no_cache=0
8521 # Check whether --enable-graphics_ctx was given.
8522 if test "${enable_graphics_ctx+set}" = set; then
8523 enableval=$enable_graphics_ctx;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8526 else
8527 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8528 fi
8529
8530 else
8531
8532 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8535 else
8536 no_cache=1
8537 fi
8538
8539 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8540
8541 fi
8542
8543
8544 eval "$ac_cv_use_graphics_ctx"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8547 fi
8548
8549 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8552 else
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8555 fi
8556
8557
8558
8559 enablestring=
8560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8562 no_cache=0
8563 # Check whether --enable-postscript was given.
8564 if test "${enable_postscript+set}" = set; then
8565 enableval=$enable_postscript;
8566 if test "$enableval" = yes; then
8567 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8568 else
8569 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8570 fi
8571
8572 else
8573
8574 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8577 else
8578 no_cache=1
8579 fi
8580
8581 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8582
8583 fi
8584
8585
8586 eval "$ac_cv_use_postscript"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8589 fi
8590
8591 if test "$wxUSE_POSTSCRIPT" = yes; then
8592 { echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6; }
8594 else
8595 { echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6; }
8597 fi
8598
8599
8600
8601
8602
8603 enablestring=
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8606 no_cache=0
8607 # Check whether --enable-clipboard was given.
8608 if test "${enable_clipboard+set}" = set; then
8609 enableval=$enable_clipboard;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8612 else
8613 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8626
8627 fi
8628
8629
8630 eval "$ac_cv_use_clipboard"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_CLIPBOARD" = yes; then
8636 { echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6; }
8638 else
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8641 fi
8642
8643
8644 enablestring=
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8647 no_cache=0
8648 # Check whether --enable-dnd was given.
8649 if test "${enable_dnd+set}" = set; then
8650 enableval=$enable_dnd;
8651 if test "$enableval" = yes; then
8652 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8653 else
8654 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8655 fi
8656
8657 else
8658
8659 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8662 else
8663 no_cache=1
8664 fi
8665
8666 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8667
8668 fi
8669
8670
8671 eval "$ac_cv_use_dnd"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8677 { echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6; }
8679 else
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8682 fi
8683
8684
8685 enablestring=
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8688 no_cache=0
8689 # Check whether --enable-metafile was given.
8690 if test "${enable_metafile+set}" = set; then
8691 enableval=$enable_metafile;
8692 if test "$enableval" = yes; then
8693 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8694 else
8695 ac_cv_use_metafile='wxUSE_METAFILE=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8708
8709 fi
8710
8711
8712 eval "$ac_cv_use_metafile"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_METAFILE" = yes; then
8718 { echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6; }
8720 else
8721 { echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6; }
8723 fi
8724
8725
8726
8727
8728
8729 enablestring=
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8732 no_cache=0
8733 # Check whether --enable-controls was given.
8734 if test "${enable_controls+set}" = set; then
8735 enableval=$enable_controls;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8738 else
8739 ac_cv_use_controls='wxUSE_CONTROLS=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8747 else
8748 no_cache=1
8749 fi
8750
8751 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8752
8753 fi
8754
8755
8756 eval "$ac_cv_use_controls"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_CONTROLS" = yes; then
8762 { echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6; }
8764 else
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8767 fi
8768
8769
8770 if test "$wxUSE_CONTROLS" = "yes"; then
8771 DEFAULT_wxUSE_ACCEL=yes
8772 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8773 DEFAULT_wxUSE_BMPBUTTON=yes
8774 DEFAULT_wxUSE_BUTTON=yes
8775 DEFAULT_wxUSE_CALCTRL=yes
8776 DEFAULT_wxUSE_CARET=yes
8777 DEFAULT_wxUSE_COMBOBOX=yes
8778 DEFAULT_wxUSE_CHECKBOX=yes
8779 DEFAULT_wxUSE_CHECKLISTBOX=yes
8780 DEFAULT_wxUSE_CHOICE=yes
8781 DEFAULT_wxUSE_CHOICEBOOK=yes
8782 DEFAULT_wxUSE_COLLPANE=yes
8783 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8784 DEFAULT_wxUSE_COMBOBOX=yes
8785 DEFAULT_wxUSE_DATEPICKCTRL=yes
8786 DEFAULT_wxUSE_DISPLAY=yes
8787 DEFAULT_wxUSE_DETECT_SM=yes
8788 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8789 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8790 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8791 DEFAULT_wxUSE_GAUGE=yes
8792 DEFAULT_wxUSE_GRID=yes
8793 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8794 DEFAULT_wxUSE_DATAVIEWCTRL=no
8795 DEFAULT_wxUSE_IMAGLIST=yes
8796 DEFAULT_wxUSE_LISTBOOK=yes
8797 DEFAULT_wxUSE_LISTBOX=yes
8798 DEFAULT_wxUSE_LISTCTRL=yes
8799 DEFAULT_wxUSE_NOTEBOOK=yes
8800 DEFAULT_wxUSE_RADIOBOX=yes
8801 DEFAULT_wxUSE_RADIOBTN=yes
8802 DEFAULT_wxUSE_SASH=yes
8803 DEFAULT_wxUSE_SCROLLBAR=yes
8804 DEFAULT_wxUSE_SEARCHCTRL=yes
8805 DEFAULT_wxUSE_SLIDER=yes
8806 DEFAULT_wxUSE_SPINBTN=yes
8807 DEFAULT_wxUSE_SPINCTRL=yes
8808 DEFAULT_wxUSE_SPLITTER=yes
8809 DEFAULT_wxUSE_STATBMP=yes
8810 DEFAULT_wxUSE_STATBOX=yes
8811 DEFAULT_wxUSE_STATLINE=yes
8812 DEFAULT_wxUSE_STATUSBAR=yes
8813 DEFAULT_wxUSE_TAB_DIALOG=yes
8814 DEFAULT_wxUSE_TOGGLEBTN=yes
8815 DEFAULT_wxUSE_TOOLBAR=yes
8816 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8817 DEFAULT_wxUSE_TOOLTIPS=yes
8818 DEFAULT_wxUSE_TREEBOOK=yes
8819 DEFAULT_wxUSE_TOOLBOOK=yes
8820 DEFAULT_wxUSE_TREECTRL=yes
8821 DEFAULT_wxUSE_POPUPWIN=yes
8822 DEFAULT_wxUSE_TIPWINDOW=yes
8823 elif test "$wxUSE_CONTROLS" = "no"; then
8824 DEFAULT_wxUSE_ACCEL=no
8825 DEFAULT_wxUSE_ANIMATIONCTRL=no
8826 DEFAULT_wxUSE_BMPBUTTON=no
8827 DEFAULT_wxUSE_BUTTON=no
8828 DEFAULT_wxUSE_CALCTRL=no
8829 DEFAULT_wxUSE_CARET=no
8830 DEFAULT_wxUSE_COLLPANE=no
8831 DEFAULT_wxUSE_COMBOBOX=no
8832 DEFAULT_wxUSE_CHECKBOX=no
8833 DEFAULT_wxUSE_CHECKLISTBOX=no
8834 DEFAULT_wxUSE_CHOICE=no
8835 DEFAULT_wxUSE_CHOICEBOOK=no
8836 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8837 DEFAULT_wxUSE_COMBOBOX=no
8838 DEFAULT_wxUSE_DATEPICKCTRL=no
8839 DEFAULT_wxUSE_DISPLAY=no
8840 DEFAULT_wxUSE_DETECT_SM=no
8841 DEFAULT_wxUSE_DIRPICKERCTRL=no
8842 DEFAULT_wxUSE_FILEPICKERCTRL=no
8843 DEFAULT_wxUSE_FONTPICKERCTRL=no
8844 DEFAULT_wxUSE_GAUGE=no
8845 DEFAULT_wxUSE_GRID=no
8846 DEFAULT_wxUSE_HYPERLINKCTRL=no
8847 DEFAULT_wxUSE_DATAVIEWCTRL=no
8848 DEFAULT_wxUSE_IMAGLIST=no
8849 DEFAULT_wxUSE_LISTBOOK=no
8850 DEFAULT_wxUSE_LISTBOX=no
8851 DEFAULT_wxUSE_LISTCTRL=no
8852 DEFAULT_wxUSE_NOTEBOOK=no
8853 DEFAULT_wxUSE_RADIOBOX=no
8854 DEFAULT_wxUSE_RADIOBTN=no
8855 DEFAULT_wxUSE_SASH=no
8856 DEFAULT_wxUSE_SCROLLBAR=no
8857 DEFAULT_wxUSE_SEARCHCTRL=no
8858 DEFAULT_wxUSE_SLIDER=no
8859 DEFAULT_wxUSE_SPINBTN=no
8860 DEFAULT_wxUSE_SPINCTRL=no
8861 DEFAULT_wxUSE_SPLITTER=no
8862 DEFAULT_wxUSE_STATBMP=no
8863 DEFAULT_wxUSE_STATBOX=no
8864 DEFAULT_wxUSE_STATLINE=no
8865 DEFAULT_wxUSE_STATUSBAR=no
8866 DEFAULT_wxUSE_TAB_DIALOG=no
8867 DEFAULT_wxUSE_TOGGLEBTN=no
8868 DEFAULT_wxUSE_TOOLBAR=no
8869 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8870 DEFAULT_wxUSE_TOOLTIPS=no
8871 DEFAULT_wxUSE_TREEBOOK=no
8872 DEFAULT_wxUSE_TOOLBOOK=no
8873 DEFAULT_wxUSE_TREECTRL=no
8874 DEFAULT_wxUSE_POPUPWIN=no
8875 DEFAULT_wxUSE_TIPWINDOW=no
8876 fi
8877
8878
8879 enablestring=
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8882 no_cache=0
8883 # Check whether --enable-accel was given.
8884 if test "${enable_accel+set}" = set; then
8885 enableval=$enable_accel;
8886 if test "$enableval" = yes; then
8887 ac_cv_use_accel='wxUSE_ACCEL=yes'
8888 else
8889 ac_cv_use_accel='wxUSE_ACCEL=no'
8890 fi
8891
8892 else
8893
8894 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8897 else
8898 no_cache=1
8899 fi
8900
8901 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8902
8903 fi
8904
8905
8906 eval "$ac_cv_use_accel"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test "$wxUSE_ACCEL" = yes; then
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8914 else
8915 { echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6; }
8917 fi
8918
8919
8920 enablestring=
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8923 no_cache=0
8924 # Check whether --enable-animatectrl was given.
8925 if test "${enable_animatectrl+set}" = set; then
8926 enableval=$enable_animatectrl;
8927 if test "$enableval" = yes; then
8928 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8929 else
8930 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8931 fi
8932
8933 else
8934
8935 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8938 else
8939 no_cache=1
8940 fi
8941
8942 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8943
8944 fi
8945
8946
8947 eval "$ac_cv_use_animatectrl"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8950 fi
8951
8952 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8953 { echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6; }
8955 else
8956 { echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6; }
8958 fi
8959
8960
8961 enablestring=
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8964 no_cache=0
8965 # Check whether --enable-button was given.
8966 if test "${enable_button+set}" = set; then
8967 enableval=$enable_button;
8968 if test "$enableval" = yes; then
8969 ac_cv_use_button='wxUSE_BUTTON=yes'
8970 else
8971 ac_cv_use_button='wxUSE_BUTTON=no'
8972 fi
8973
8974 else
8975
8976 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8979 else
8980 no_cache=1
8981 fi
8982
8983 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8984
8985 fi
8986
8987
8988 eval "$ac_cv_use_button"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8991 fi
8992
8993 if test "$wxUSE_BUTTON" = yes; then
8994 { echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6; }
8996 else
8997 { echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6; }
8999 fi
9000
9001
9002 enablestring=
9003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9005 no_cache=0
9006 # Check whether --enable-bmpbutton was given.
9007 if test "${enable_bmpbutton+set}" = set; then
9008 enableval=$enable_bmpbutton;
9009 if test "$enableval" = yes; then
9010 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9011 else
9012 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9013 fi
9014
9015 else
9016
9017 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x ; then
9019 eval "DEFAULT_$LINE"
9020 else
9021 no_cache=1
9022 fi
9023
9024 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9025
9026 fi
9027
9028
9029 eval "$ac_cv_use_bmpbutton"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_BMPBUTTON" = yes; then
9035 { echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6; }
9037 else
9038 { echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6; }
9040 fi
9041
9042
9043 enablestring=
9044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9046 no_cache=0
9047 # Check whether --enable-bmpcombobox was given.
9048 if test "${enable_bmpcombobox+set}" = set; then
9049 enableval=$enable_bmpcombobox;
9050 if test "$enableval" = yes; then
9051 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9052 else
9053 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9054 fi
9055
9056 else
9057
9058 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x ; then
9060 eval "DEFAULT_$LINE"
9061 else
9062 no_cache=1
9063 fi
9064
9065 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9066
9067 fi
9068
9069
9070 eval "$ac_cv_use_bmpcombobox"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9076 { echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6; }
9078 else
9079 { echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6; }
9081 fi
9082
9083
9084 enablestring=
9085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9087 no_cache=0
9088 # Check whether --enable-calendar was given.
9089 if test "${enable_calendar+set}" = set; then
9090 enableval=$enable_calendar;
9091 if test "$enableval" = yes; then
9092 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9093 else
9094 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9095 fi
9096
9097 else
9098
9099 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x ; then
9101 eval "DEFAULT_$LINE"
9102 else
9103 no_cache=1
9104 fi
9105
9106 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9107
9108 fi
9109
9110
9111 eval "$ac_cv_use_calendar"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_CALCTRL" = yes; then
9117 { echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6; }
9119 else
9120 { echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6; }
9122 fi
9123
9124
9125 enablestring=
9126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9128 no_cache=0
9129 # Check whether --enable-caret was given.
9130 if test "${enable_caret+set}" = set; then
9131 enableval=$enable_caret;
9132 if test "$enableval" = yes; then
9133 ac_cv_use_caret='wxUSE_CARET=yes'
9134 else
9135 ac_cv_use_caret='wxUSE_CARET=no'
9136 fi
9137
9138 else
9139
9140 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9141 if test "x$LINE" != x ; then
9142 eval "DEFAULT_$LINE"
9143 else
9144 no_cache=1
9145 fi
9146
9147 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9148
9149 fi
9150
9151
9152 eval "$ac_cv_use_caret"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_CARET" = yes; then
9158 { echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6; }
9160 else
9161 { echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6; }
9163 fi
9164
9165
9166 enablestring=
9167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9169 no_cache=0
9170 # Check whether --enable-checkbox was given.
9171 if test "${enable_checkbox+set}" = set; then
9172 enableval=$enable_checkbox;
9173 if test "$enableval" = yes; then
9174 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9175 else
9176 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9177 fi
9178
9179 else
9180
9181 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9182 if test "x$LINE" != x ; then
9183 eval "DEFAULT_$LINE"
9184 else
9185 no_cache=1
9186 fi
9187
9188 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9189
9190 fi
9191
9192
9193 eval "$ac_cv_use_checkbox"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_CHECKBOX" = yes; then
9199 { echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6; }
9201 else
9202 { echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6; }
9204 fi
9205
9206
9207 enablestring=
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9210 no_cache=0
9211 # Check whether --enable-checklst was given.
9212 if test "${enable_checklst+set}" = set; then
9213 enableval=$enable_checklst;
9214 if test "$enableval" = yes; then
9215 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9216 else
9217 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9218 fi
9219
9220 else
9221
9222 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9225 else
9226 no_cache=1
9227 fi
9228
9229 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9230
9231 fi
9232
9233
9234 eval "$ac_cv_use_checklst"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_CHECKLST" = yes; then
9240 { echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6; }
9242 else
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9245 fi
9246
9247
9248 enablestring=
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9251 no_cache=0
9252 # Check whether --enable-choice was given.
9253 if test "${enable_choice+set}" = set; then
9254 enableval=$enable_choice;
9255 if test "$enableval" = yes; then
9256 ac_cv_use_choice='wxUSE_CHOICE=yes'
9257 else
9258 ac_cv_use_choice='wxUSE_CHOICE=no'
9259 fi
9260
9261 else
9262
9263 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9266 else
9267 no_cache=1
9268 fi
9269
9270 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9271
9272 fi
9273
9274
9275 eval "$ac_cv_use_choice"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_CHOICE" = yes; then
9281 { echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6; }
9283 else
9284 { echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6; }
9286 fi
9287
9288
9289 enablestring=
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9292 no_cache=0
9293 # Check whether --enable-choicebook was given.
9294 if test "${enable_choicebook+set}" = set; then
9295 enableval=$enable_choicebook;
9296 if test "$enableval" = yes; then
9297 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9298 else
9299 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9300 fi
9301
9302 else
9303
9304 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9305 if test "x$LINE" != x ; then
9306 eval "DEFAULT_$LINE"
9307 else
9308 no_cache=1
9309 fi
9310
9311 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9312
9313 fi
9314
9315
9316 eval "$ac_cv_use_choicebook"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_CHOICEBOOK" = yes; then
9322 { echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6; }
9324 else
9325 { echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6; }
9327 fi
9328
9329
9330 enablestring=
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9333 no_cache=0
9334 # Check whether --enable-collpane was given.
9335 if test "${enable_collpane+set}" = set; then
9336 enableval=$enable_collpane;
9337 if test "$enableval" = yes; then
9338 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9339 else
9340 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9341 fi
9342
9343 else
9344
9345 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9348 else
9349 no_cache=1
9350 fi
9351
9352 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9353
9354 fi
9355
9356
9357 eval "$ac_cv_use_collpane"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_COLLPANE" = yes; then
9363 { echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6; }
9365 else
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9368 fi
9369
9370
9371 enablestring=
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9374 no_cache=0
9375 # Check whether --enable-colourpicker was given.
9376 if test "${enable_colourpicker+set}" = set; then
9377 enableval=$enable_colourpicker;
9378 if test "$enableval" = yes; then
9379 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9380 else
9381 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9382 fi
9383
9384 else
9385
9386 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9389 else
9390 no_cache=1
9391 fi
9392
9393 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9394
9395 fi
9396
9397
9398 eval "$ac_cv_use_colourpicker"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9404 { echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6; }
9406 else
9407 { echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6; }
9409 fi
9410
9411
9412 enablestring=
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9415 no_cache=0
9416 # Check whether --enable-combobox was given.
9417 if test "${enable_combobox+set}" = set; then
9418 enableval=$enable_combobox;
9419 if test "$enableval" = yes; then
9420 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9421 else
9422 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9423 fi
9424
9425 else
9426
9427 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9428 if test "x$LINE" != x ; then
9429 eval "DEFAULT_$LINE"
9430 else
9431 no_cache=1
9432 fi
9433
9434 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9435
9436 fi
9437
9438
9439 eval "$ac_cv_use_combobox"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_COMBOBOX" = yes; then
9445 { echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6; }
9447 else
9448 { echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6; }
9450 fi
9451
9452
9453 enablestring=
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9456 no_cache=0
9457 # Check whether --enable-comboctrl was given.
9458 if test "${enable_comboctrl+set}" = set; then
9459 enableval=$enable_comboctrl;
9460 if test "$enableval" = yes; then
9461 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9462 else
9463 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9464 fi
9465
9466 else
9467
9468 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9469 if test "x$LINE" != x ; then
9470 eval "DEFAULT_$LINE"
9471 else
9472 no_cache=1
9473 fi
9474
9475 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9476
9477 fi
9478
9479
9480 eval "$ac_cv_use_comboctrl"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_COMBOCTRL" = yes; then
9486 { echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6; }
9488 else
9489 { echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6; }
9491 fi
9492
9493
9494 enablestring=
9495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9497 no_cache=0
9498 # Check whether --enable-datepick was given.
9499 if test "${enable_datepick+set}" = set; then
9500 enableval=$enable_datepick;
9501 if test "$enableval" = yes; then
9502 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9503 else
9504 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9505 fi
9506
9507 else
9508
9509 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9510 if test "x$LINE" != x ; then
9511 eval "DEFAULT_$LINE"
9512 else
9513 no_cache=1
9514 fi
9515
9516 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9517
9518 fi
9519
9520
9521 eval "$ac_cv_use_datepick"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_DATEPICKCTRL" = yes; then
9527 { echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6; }
9529 else
9530 { echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6; }
9532 fi
9533
9534
9535 enablestring=
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9538 no_cache=0
9539 # Check whether --enable-dirpicker was given.
9540 if test "${enable_dirpicker+set}" = set; then
9541 enableval=$enable_dirpicker;
9542 if test "$enableval" = yes; then
9543 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9544 else
9545 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9546 fi
9547
9548 else
9549
9550 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9553 else
9554 no_cache=1
9555 fi
9556
9557 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9558
9559 fi
9560
9561
9562 eval "$ac_cv_use_dirpicker"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9568 { echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6; }
9570 else
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9573 fi
9574
9575
9576 enablestring=
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9579 no_cache=0
9580 # Check whether --enable-display was given.
9581 if test "${enable_display+set}" = set; then
9582 enableval=$enable_display;
9583 if test "$enableval" = yes; then
9584 ac_cv_use_display='wxUSE_DISPLAY=yes'
9585 else
9586 ac_cv_use_display='wxUSE_DISPLAY=no'
9587 fi
9588
9589 else
9590
9591 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x ; then
9593 eval "DEFAULT_$LINE"
9594 else
9595 no_cache=1
9596 fi
9597
9598 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9599
9600 fi
9601
9602
9603 eval "$ac_cv_use_display"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9606 fi
9607
9608 if test "$wxUSE_DISPLAY" = yes; then
9609 { echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6; }
9611 else
9612 { echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6; }
9614 fi
9615
9616
9617 enablestring=
9618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9620 no_cache=0
9621 # Check whether --enable-detect_sm was given.
9622 if test "${enable_detect_sm+set}" = set; then
9623 enableval=$enable_detect_sm;
9624 if test "$enableval" = yes; then
9625 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9626 else
9627 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9628 fi
9629
9630 else
9631
9632 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x ; then
9634 eval "DEFAULT_$LINE"
9635 else
9636 no_cache=1
9637 fi
9638
9639 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9640
9641 fi
9642
9643
9644 eval "$ac_cv_use_detect_sm"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9647 fi
9648
9649 if test "$wxUSE_DETECT_SM" = yes; then
9650 { echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6; }
9652 else
9653 { echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6; }
9655 fi
9656
9657
9658 enablestring=
9659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9661 no_cache=0
9662 # Check whether --enable-editablebox was given.
9663 if test "${enable_editablebox+set}" = set; then
9664 enableval=$enable_editablebox;
9665 if test "$enableval" = yes; then
9666 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9667 else
9668 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9669 fi
9670
9671 else
9672
9673 LINE=`grep "wxUSE_EDITABLELISTBOX" ${wx_arg_cache_file}`
9674 if test "x$LINE" != x ; then
9675 eval "DEFAULT_$LINE"
9676 else
9677 no_cache=1
9678 fi
9679
9680 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9681
9682 fi
9683
9684
9685 eval "$ac_cv_use_editablebox"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9691 { echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6; }
9693 else
9694 { echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6; }
9696 fi
9697
9698
9699 enablestring=
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9702 no_cache=0
9703 # Check whether --enable-filepicker was given.
9704 if test "${enable_filepicker+set}" = set; then
9705 enableval=$enable_filepicker;
9706 if test "$enableval" = yes; then
9707 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9708 else
9709 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9710 fi
9711
9712 else
9713
9714 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x ; then
9716 eval "DEFAULT_$LINE"
9717 else
9718 no_cache=1
9719 fi
9720
9721 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9722
9723 fi
9724
9725
9726 eval "$ac_cv_use_filepicker"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9729 fi
9730
9731 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9732 { echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6; }
9734 else
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9737 fi
9738
9739
9740 enablestring=
9741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9743 no_cache=0
9744 # Check whether --enable-fontpicker was given.
9745 if test "${enable_fontpicker+set}" = set; then
9746 enableval=$enable_fontpicker;
9747 if test "$enableval" = yes; then
9748 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9749 else
9750 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9751 fi
9752
9753 else
9754
9755 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9756 if test "x$LINE" != x ; then
9757 eval "DEFAULT_$LINE"
9758 else
9759 no_cache=1
9760 fi
9761
9762 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9763
9764 fi
9765
9766
9767 eval "$ac_cv_use_fontpicker"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9770 fi
9771
9772 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9773 { echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6; }
9775 else
9776 { echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6; }
9778 fi
9779
9780
9781 enablestring=
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9784 no_cache=0
9785 # Check whether --enable-gauge was given.
9786 if test "${enable_gauge+set}" = set; then
9787 enableval=$enable_gauge;
9788 if test "$enableval" = yes; then
9789 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9790 else
9791 ac_cv_use_gauge='wxUSE_GAUGE=no'
9792 fi
9793
9794 else
9795
9796 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9799 else
9800 no_cache=1
9801 fi
9802
9803 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9804
9805 fi
9806
9807
9808 eval "$ac_cv_use_gauge"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test "$wxUSE_GAUGE" = yes; then
9814 { echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6; }
9816 else
9817 { echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6; }
9819 fi
9820
9821
9822 enablestring=
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9825 no_cache=0
9826 # Check whether --enable-grid was given.
9827 if test "${enable_grid+set}" = set; then
9828 enableval=$enable_grid;
9829 if test "$enableval" = yes; then
9830 ac_cv_use_grid='wxUSE_GRID=yes'
9831 else
9832 ac_cv_use_grid='wxUSE_GRID=no'
9833 fi
9834
9835 else
9836
9837 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9838 if test "x$LINE" != x ; then
9839 eval "DEFAULT_$LINE"
9840 else
9841 no_cache=1
9842 fi
9843
9844 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9845
9846 fi
9847
9848
9849 eval "$ac_cv_use_grid"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9852 fi
9853
9854 if test "$wxUSE_GRID" = yes; then
9855 { echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6; }
9857 else
9858 { echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6; }
9860 fi
9861
9862
9863 enablestring=
9864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9866 no_cache=0
9867 # Check whether --enable-dataviewctrl was given.
9868 if test "${enable_dataviewctrl+set}" = set; then
9869 enableval=$enable_dataviewctrl;
9870 if test "$enableval" = yes; then
9871 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9872 else
9873 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9874 fi
9875
9876 else
9877
9878 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9881 else
9882 no_cache=1
9883 fi
9884
9885 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9886
9887 fi
9888
9889
9890 eval "$ac_cv_use_dataviewctrl"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9893 fi
9894
9895 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9896 { echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6; }
9898 else
9899 { echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6; }
9901 fi
9902
9903
9904 enablestring=
9905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9907 no_cache=0
9908 # Check whether --enable-hyperlink was given.
9909 if test "${enable_hyperlink+set}" = set; then
9910 enableval=$enable_hyperlink;
9911 if test "$enableval" = yes; then
9912 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9913 else
9914 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9915 fi
9916
9917 else
9918
9919 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9922 else
9923 no_cache=1
9924 fi
9925
9926 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9927
9928 fi
9929
9930
9931 eval "$ac_cv_use_hyperlink"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9934 fi
9935
9936 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9937 { echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6; }
9939 else
9940 { echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6; }
9942 fi
9943
9944
9945 enablestring=
9946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9948 no_cache=0
9949 # Check whether --enable-imaglist was given.
9950 if test "${enable_imaglist+set}" = set; then
9951 enableval=$enable_imaglist;
9952 if test "$enableval" = yes; then
9953 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9954 else
9955 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9956 fi
9957
9958 else
9959
9960 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9963 else
9964 no_cache=1
9965 fi
9966
9967 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9968
9969 fi
9970
9971
9972 eval "$ac_cv_use_imaglist"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9975 fi
9976
9977 if test "$wxUSE_IMAGLIST" = yes; then
9978 { echo "$as_me:$LINENO: result: yes" >&5
9979 echo "${ECHO_T}yes" >&6; }
9980 else
9981 { echo "$as_me:$LINENO: result: no" >&5
9982 echo "${ECHO_T}no" >&6; }
9983 fi
9984
9985
9986 enablestring=
9987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9988 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9989 no_cache=0
9990 # Check whether --enable-listbook was given.
9991 if test "${enable_listbook+set}" = set; then
9992 enableval=$enable_listbook;
9993 if test "$enableval" = yes; then
9994 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9995 else
9996 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9997 fi
9998
9999 else
10000
10001 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10004 else
10005 no_cache=1
10006 fi
10007
10008 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10009
10010 fi
10011
10012
10013 eval "$ac_cv_use_listbook"
10014 if test "$no_cache" != 1; then
10015 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10016 fi
10017
10018 if test "$wxUSE_LISTBOOK" = yes; then
10019 { echo "$as_me:$LINENO: result: yes" >&5
10020 echo "${ECHO_T}yes" >&6; }
10021 else
10022 { echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6; }
10024 fi
10025
10026
10027 enablestring=
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10030 no_cache=0
10031 # Check whether --enable-listbox was given.
10032 if test "${enable_listbox+set}" = set; then
10033 enableval=$enable_listbox;
10034 if test "$enableval" = yes; then
10035 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10036 else
10037 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10038 fi
10039
10040 else
10041
10042 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10045 else
10046 no_cache=1
10047 fi
10048
10049 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10050
10051 fi
10052
10053
10054 eval "$ac_cv_use_listbox"
10055 if test "$no_cache" != 1; then
10056 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10057 fi
10058
10059 if test "$wxUSE_LISTBOX" = yes; then
10060 { echo "$as_me:$LINENO: result: yes" >&5
10061 echo "${ECHO_T}yes" >&6; }
10062 else
10063 { echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6; }
10065 fi
10066
10067
10068 enablestring=
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10071 no_cache=0
10072 # Check whether --enable-listctrl was given.
10073 if test "${enable_listctrl+set}" = set; then
10074 enableval=$enable_listctrl;
10075 if test "$enableval" = yes; then
10076 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10077 else
10078 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10079 fi
10080
10081 else
10082
10083 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10086 else
10087 no_cache=1
10088 fi
10089
10090 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10091
10092 fi
10093
10094
10095 eval "$ac_cv_use_listctrl"
10096 if test "$no_cache" != 1; then
10097 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10098 fi
10099
10100 if test "$wxUSE_LISTCTRL" = yes; then
10101 { echo "$as_me:$LINENO: result: yes" >&5
10102 echo "${ECHO_T}yes" >&6; }
10103 else
10104 { echo "$as_me:$LINENO: result: no" >&5
10105 echo "${ECHO_T}no" >&6; }
10106 fi
10107
10108
10109 enablestring=
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10112 no_cache=0
10113 # Check whether --enable-notebook was given.
10114 if test "${enable_notebook+set}" = set; then
10115 enableval=$enable_notebook;
10116 if test "$enableval" = yes; then
10117 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10118 else
10119 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10120 fi
10121
10122 else
10123
10124 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10127 else
10128 no_cache=1
10129 fi
10130
10131 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10132
10133 fi
10134
10135
10136 eval "$ac_cv_use_notebook"
10137 if test "$no_cache" != 1; then
10138 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10139 fi
10140
10141 if test "$wxUSE_NOTEBOOK" = yes; then
10142 { echo "$as_me:$LINENO: result: yes" >&5
10143 echo "${ECHO_T}yes" >&6; }
10144 else
10145 { echo "$as_me:$LINENO: result: no" >&5
10146 echo "${ECHO_T}no" >&6; }
10147 fi
10148
10149
10150 enablestring=
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10153 no_cache=0
10154 # Check whether --enable-odcombobox was given.
10155 if test "${enable_odcombobox+set}" = set; then
10156 enableval=$enable_odcombobox;
10157 if test "$enableval" = yes; then
10158 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10159 else
10160 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10161 fi
10162
10163 else
10164
10165 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10168 else
10169 no_cache=1
10170 fi
10171
10172 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10173
10174 fi
10175
10176
10177 eval "$ac_cv_use_odcombobox"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10180 fi
10181
10182 if test "$wxUSE_ODCOMBOBOX" = yes; then
10183 { echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6; }
10185 else
10186 { echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6; }
10188 fi
10189
10190
10191 enablestring=
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10194 no_cache=0
10195 # Check whether --enable-radiobox was given.
10196 if test "${enable_radiobox+set}" = set; then
10197 enableval=$enable_radiobox;
10198 if test "$enableval" = yes; then
10199 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10200 else
10201 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10202 fi
10203
10204 else
10205
10206 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10209 else
10210 no_cache=1
10211 fi
10212
10213 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10214
10215 fi
10216
10217
10218 eval "$ac_cv_use_radiobox"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10221 fi
10222
10223 if test "$wxUSE_RADIOBOX" = yes; then
10224 { echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6; }
10226 else
10227 { echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6; }
10229 fi
10230
10231
10232 enablestring=
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10235 no_cache=0
10236 # Check whether --enable-radiobtn was given.
10237 if test "${enable_radiobtn+set}" = set; then
10238 enableval=$enable_radiobtn;
10239 if test "$enableval" = yes; then
10240 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10241 else
10242 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10243 fi
10244
10245 else
10246
10247 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x ; then
10249 eval "DEFAULT_$LINE"
10250 else
10251 no_cache=1
10252 fi
10253
10254 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10255
10256 fi
10257
10258
10259 eval "$ac_cv_use_radiobtn"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10262 fi
10263
10264 if test "$wxUSE_RADIOBTN" = yes; then
10265 { echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6; }
10267 else
10268 { echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6; }
10270 fi
10271
10272
10273 enablestring=
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10276 no_cache=0
10277 # Check whether --enable-sash was given.
10278 if test "${enable_sash+set}" = set; then
10279 enableval=$enable_sash;
10280 if test "$enableval" = yes; then
10281 ac_cv_use_sash='wxUSE_SASH=yes'
10282 else
10283 ac_cv_use_sash='wxUSE_SASH=no'
10284 fi
10285
10286 else
10287
10288 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10291 else
10292 no_cache=1
10293 fi
10294
10295 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10296
10297 fi
10298
10299
10300 eval "$ac_cv_use_sash"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10303 fi
10304
10305 if test "$wxUSE_SASH" = yes; then
10306 { echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6; }
10308 else
10309 { echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6; }
10311 fi
10312
10313
10314 enablestring=
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10317 no_cache=0
10318 # Check whether --enable-scrollbar was given.
10319 if test "${enable_scrollbar+set}" = set; then
10320 enableval=$enable_scrollbar;
10321 if test "$enableval" = yes; then
10322 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10323 else
10324 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10325 fi
10326
10327 else
10328
10329 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x ; then
10331 eval "DEFAULT_$LINE"
10332 else
10333 no_cache=1
10334 fi
10335
10336 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10337
10338 fi
10339
10340
10341 eval "$ac_cv_use_scrollbar"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10344 fi
10345
10346 if test "$wxUSE_SCROLLBAR" = yes; then
10347 { echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6; }
10349 else
10350 { echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6; }
10352 fi
10353
10354
10355 enablestring=
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10358 no_cache=0
10359 # Check whether --enable-searchctrl was given.
10360 if test "${enable_searchctrl+set}" = set; then
10361 enableval=$enable_searchctrl;
10362 if test "$enableval" = yes; then
10363 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10364 else
10365 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10366 fi
10367
10368 else
10369
10370 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x ; then
10372 eval "DEFAULT_$LINE"
10373 else
10374 no_cache=1
10375 fi
10376
10377 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10378
10379 fi
10380
10381
10382 eval "$ac_cv_use_searchctrl"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10385 fi
10386
10387 if test "$wxUSE_SEARCHCTRL" = yes; then
10388 { echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6; }
10390 else
10391 { echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6; }
10393 fi
10394
10395
10396 enablestring=
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10399 no_cache=0
10400 # Check whether --enable-slider was given.
10401 if test "${enable_slider+set}" = set; then
10402 enableval=$enable_slider;
10403 if test "$enableval" = yes; then
10404 ac_cv_use_slider='wxUSE_SLIDER=yes'
10405 else
10406 ac_cv_use_slider='wxUSE_SLIDER=no'
10407 fi
10408
10409 else
10410
10411 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10414 else
10415 no_cache=1
10416 fi
10417
10418 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10419
10420 fi
10421
10422
10423 eval "$ac_cv_use_slider"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10426 fi
10427
10428 if test "$wxUSE_SLIDER" = yes; then
10429 { echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6; }
10431 else
10432 { echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6; }
10434 fi
10435
10436
10437 enablestring=
10438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10440 no_cache=0
10441 # Check whether --enable-spinbtn was given.
10442 if test "${enable_spinbtn+set}" = set; then
10443 enableval=$enable_spinbtn;
10444 if test "$enableval" = yes; then
10445 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10446 else
10447 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10448 fi
10449
10450 else
10451
10452 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x ; then
10454 eval "DEFAULT_$LINE"
10455 else
10456 no_cache=1
10457 fi
10458
10459 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10460
10461 fi
10462
10463
10464 eval "$ac_cv_use_spinbtn"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10467 fi
10468
10469 if test "$wxUSE_SPINBTN" = yes; then
10470 { echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6; }
10472 else
10473 { echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6; }
10475 fi
10476
10477
10478 enablestring=
10479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10481 no_cache=0
10482 # Check whether --enable-spinctrl was given.
10483 if test "${enable_spinctrl+set}" = set; then
10484 enableval=$enable_spinctrl;
10485 if test "$enableval" = yes; then
10486 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10487 else
10488 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10489 fi
10490
10491 else
10492
10493 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10494 if test "x$LINE" != x ; then
10495 eval "DEFAULT_$LINE"
10496 else
10497 no_cache=1
10498 fi
10499
10500 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10501
10502 fi
10503
10504
10505 eval "$ac_cv_use_spinctrl"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10508 fi
10509
10510 if test "$wxUSE_SPINCTRL" = yes; then
10511 { echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6; }
10513 else
10514 { echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6; }
10516 fi
10517
10518
10519 enablestring=
10520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10522 no_cache=0
10523 # Check whether --enable-splitter was given.
10524 if test "${enable_splitter+set}" = set; then
10525 enableval=$enable_splitter;
10526 if test "$enableval" = yes; then
10527 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10528 else
10529 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10530 fi
10531
10532 else
10533
10534 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10535 if test "x$LINE" != x ; then
10536 eval "DEFAULT_$LINE"
10537 else
10538 no_cache=1
10539 fi
10540
10541 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10542
10543 fi
10544
10545
10546 eval "$ac_cv_use_splitter"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10549 fi
10550
10551 if test "$wxUSE_SPLITTER" = yes; then
10552 { echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6; }
10554 else
10555 { echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6; }
10557 fi
10558
10559
10560 enablestring=
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10563 no_cache=0
10564 # Check whether --enable-statbmp was given.
10565 if test "${enable_statbmp+set}" = set; then
10566 enableval=$enable_statbmp;
10567 if test "$enableval" = yes; then
10568 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10569 else
10570 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10571 fi
10572
10573 else
10574
10575 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10576 if test "x$LINE" != x ; then
10577 eval "DEFAULT_$LINE"
10578 else
10579 no_cache=1
10580 fi
10581
10582 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10583
10584 fi
10585
10586
10587 eval "$ac_cv_use_statbmp"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10590 fi
10591
10592 if test "$wxUSE_STATBMP" = yes; then
10593 { echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6; }
10595 else
10596 { echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6; }
10598 fi
10599
10600
10601 enablestring=
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10604 no_cache=0
10605 # Check whether --enable-statbox was given.
10606 if test "${enable_statbox+set}" = set; then
10607 enableval=$enable_statbox;
10608 if test "$enableval" = yes; then
10609 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10610 else
10611 ac_cv_use_statbox='wxUSE_STATBOX=no'
10612 fi
10613
10614 else
10615
10616 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10617 if test "x$LINE" != x ; then
10618 eval "DEFAULT_$LINE"
10619 else
10620 no_cache=1
10621 fi
10622
10623 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10624
10625 fi
10626
10627
10628 eval "$ac_cv_use_statbox"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10631 fi
10632
10633 if test "$wxUSE_STATBOX" = yes; then
10634 { echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6; }
10636 else
10637 { echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6; }
10639 fi
10640
10641
10642 enablestring=
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10645 no_cache=0
10646 # Check whether --enable-statline was given.
10647 if test "${enable_statline+set}" = set; then
10648 enableval=$enable_statline;
10649 if test "$enableval" = yes; then
10650 ac_cv_use_statline='wxUSE_STATLINE=yes'
10651 else
10652 ac_cv_use_statline='wxUSE_STATLINE=no'
10653 fi
10654
10655 else
10656
10657 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10658 if test "x$LINE" != x ; then
10659 eval "DEFAULT_$LINE"
10660 else
10661 no_cache=1
10662 fi
10663
10664 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10665
10666 fi
10667
10668
10669 eval "$ac_cv_use_statline"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10672 fi
10673
10674 if test "$wxUSE_STATLINE" = yes; then
10675 { echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6; }
10677 else
10678 { echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6; }
10680 fi
10681
10682
10683 enablestring=
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10686 no_cache=0
10687 # Check whether --enable-stattext was given.
10688 if test "${enable_stattext+set}" = set; then
10689 enableval=$enable_stattext;
10690 if test "$enableval" = yes; then
10691 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10692 else
10693 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10694 fi
10695
10696 else
10697
10698 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10699 if test "x$LINE" != x ; then
10700 eval "DEFAULT_$LINE"
10701 else
10702 no_cache=1
10703 fi
10704
10705 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10706
10707 fi
10708
10709
10710 eval "$ac_cv_use_stattext"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10713 fi
10714
10715 if test "$wxUSE_STATTEXT" = yes; then
10716 { echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6; }
10718 else
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10721 fi
10722
10723
10724 enablestring=
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10727 no_cache=0
10728 # Check whether --enable-statusbar was given.
10729 if test "${enable_statusbar+set}" = set; then
10730 enableval=$enable_statusbar;
10731 if test "$enableval" = yes; then
10732 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10733 else
10734 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10735 fi
10736
10737 else
10738
10739 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10740 if test "x$LINE" != x ; then
10741 eval "DEFAULT_$LINE"
10742 else
10743 no_cache=1
10744 fi
10745
10746 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10747
10748 fi
10749
10750
10751 eval "$ac_cv_use_statusbar"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test "$wxUSE_STATUSBAR" = yes; then
10757 { echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6; }
10759 else
10760 { echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6; }
10762 fi
10763
10764
10765 enablestring=
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10768 no_cache=0
10769 # Check whether --enable-tabdialog was given.
10770 if test "${enable_tabdialog+set}" = set; then
10771 enableval=$enable_tabdialog;
10772 if test "$enableval" = yes; then
10773 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10774 else
10775 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10776 fi
10777
10778 else
10779
10780 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10781 if test "x$LINE" != x ; then
10782 eval "DEFAULT_$LINE"
10783 else
10784 no_cache=1
10785 fi
10786
10787 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10788
10789 fi
10790
10791
10792 eval "$ac_cv_use_tabdialog"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10795 fi
10796
10797 if test "$wxUSE_TAB_DIALOG" = yes; then
10798 { echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6; }
10800 else
10801 { echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6; }
10803 fi
10804
10805
10806 enablestring=
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10809 no_cache=0
10810 # Check whether --enable-textctrl was given.
10811 if test "${enable_textctrl+set}" = set; then
10812 enableval=$enable_textctrl;
10813 if test "$enableval" = yes; then
10814 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10815 else
10816 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10817 fi
10818
10819 else
10820
10821 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10822 if test "x$LINE" != x ; then
10823 eval "DEFAULT_$LINE"
10824 else
10825 no_cache=1
10826 fi
10827
10828 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10829
10830 fi
10831
10832
10833 eval "$ac_cv_use_textctrl"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10836 fi
10837
10838 if test "$wxUSE_TEXTCTRL" = yes; then
10839 { echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6; }
10841 else
10842 { echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6; }
10844 fi
10845
10846
10847 enablestring=
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10850 no_cache=0
10851 # Check whether --enable-togglebtn was given.
10852 if test "${enable_togglebtn+set}" = set; then
10853 enableval=$enable_togglebtn;
10854 if test "$enableval" = yes; then
10855 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10856 else
10857 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10858 fi
10859
10860 else
10861
10862 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10865 else
10866 no_cache=1
10867 fi
10868
10869 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10870
10871 fi
10872
10873
10874 eval "$ac_cv_use_togglebtn"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10877 fi
10878
10879 if test "$wxUSE_TOGGLEBTN" = yes; then
10880 { echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6; }
10882 else
10883 { echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6; }
10885 fi
10886
10887
10888 enablestring=
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10891 no_cache=0
10892 # Check whether --enable-toolbar was given.
10893 if test "${enable_toolbar+set}" = set; then
10894 enableval=$enable_toolbar;
10895 if test "$enableval" = yes; then
10896 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10897 else
10898 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10899 fi
10900
10901 else
10902
10903 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10906 else
10907 no_cache=1
10908 fi
10909
10910 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10911
10912 fi
10913
10914
10915 eval "$ac_cv_use_toolbar"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10918 fi
10919
10920 if test "$wxUSE_TOOLBAR" = yes; then
10921 { echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6; }
10923 else
10924 { echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6; }
10926 fi
10927
10928
10929 enablestring=
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10932 no_cache=0
10933 # Check whether --enable-tbarnative was given.
10934 if test "${enable_tbarnative+set}" = set; then
10935 enableval=$enable_tbarnative;
10936 if test "$enableval" = yes; then
10937 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10938 else
10939 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10940 fi
10941
10942 else
10943
10944 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10945 if test "x$LINE" != x ; then
10946 eval "DEFAULT_$LINE"
10947 else
10948 no_cache=1
10949 fi
10950
10951 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10952
10953 fi
10954
10955
10956 eval "$ac_cv_use_tbarnative"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10959 fi
10960
10961 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10962 { echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6; }
10964 else
10965 { echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6; }
10967 fi
10968
10969
10970 enablestring=
10971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10973 no_cache=0
10974 # Check whether --enable-treebook was given.
10975 if test "${enable_treebook+set}" = set; then
10976 enableval=$enable_treebook;
10977 if test "$enableval" = yes; then
10978 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10979 else
10980 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10981 fi
10982
10983 else
10984
10985 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10986 if test "x$LINE" != x ; then
10987 eval "DEFAULT_$LINE"
10988 else
10989 no_cache=1
10990 fi
10991
10992 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10993
10994 fi
10995
10996
10997 eval "$ac_cv_use_treebook"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11000 fi
11001
11002 if test "$wxUSE_TREEBOOK" = yes; then
11003 { echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6; }
11005 else
11006 { echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6; }
11008 fi
11009
11010
11011 enablestring=
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11014 no_cache=0
11015 # Check whether --enable-toolbook was given.
11016 if test "${enable_toolbook+set}" = set; then
11017 enableval=$enable_toolbook;
11018 if test "$enableval" = yes; then
11019 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11020 else
11021 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11022 fi
11023
11024 else
11025
11026 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
11027 if test "x$LINE" != x ; then
11028 eval "DEFAULT_$LINE"
11029 else
11030 no_cache=1
11031 fi
11032
11033 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11034
11035 fi
11036
11037
11038 eval "$ac_cv_use_toolbook"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11041 fi
11042
11043 if test "$wxUSE_TOOLBOOK" = yes; then
11044 { echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6; }
11046 else
11047 { echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6; }
11049 fi
11050
11051
11052 enablestring=
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11055 no_cache=0
11056 # Check whether --enable-treectrl was given.
11057 if test "${enable_treectrl+set}" = set; then
11058 enableval=$enable_treectrl;
11059 if test "$enableval" = yes; then
11060 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11061 else
11062 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11063 fi
11064
11065 else
11066
11067 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
11068 if test "x$LINE" != x ; then
11069 eval "DEFAULT_$LINE"
11070 else
11071 no_cache=1
11072 fi
11073
11074 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11075
11076 fi
11077
11078
11079 eval "$ac_cv_use_treectrl"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11082 fi
11083
11084 if test "$wxUSE_TREECTRL" = yes; then
11085 { echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6; }
11087 else
11088 { echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; }
11090 fi
11091
11092
11093 enablestring=
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11096 no_cache=0
11097 # Check whether --enable-tipwindow was given.
11098 if test "${enable_tipwindow+set}" = set; then
11099 enableval=$enable_tipwindow;
11100 if test "$enableval" = yes; then
11101 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11102 else
11103 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11104 fi
11105
11106 else
11107
11108 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
11109 if test "x$LINE" != x ; then
11110 eval "DEFAULT_$LINE"
11111 else
11112 no_cache=1
11113 fi
11114
11115 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11116
11117 fi
11118
11119
11120 eval "$ac_cv_use_tipwindow"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11123 fi
11124
11125 if test "$wxUSE_TIPWINDOW" = yes; then
11126 { echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6; }
11128 else
11129 { echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6; }
11131 fi
11132
11133
11134 enablestring=
11135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11137 no_cache=0
11138 # Check whether --enable-popupwin was given.
11139 if test "${enable_popupwin+set}" = set; then
11140 enableval=$enable_popupwin;
11141 if test "$enableval" = yes; then
11142 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11143 else
11144 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11145 fi
11146
11147 else
11148
11149 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11150 if test "x$LINE" != x ; then
11151 eval "DEFAULT_$LINE"
11152 else
11153 no_cache=1
11154 fi
11155
11156 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11157
11158 fi
11159
11160
11161 eval "$ac_cv_use_popupwin"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11164 fi
11165
11166 if test "$wxUSE_POPUPWIN" = yes; then
11167 { echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6; }
11169 else
11170 { echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6; }
11172 fi
11173
11174
11175
11176
11177 enablestring=
11178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11180 no_cache=0
11181 # Check whether --enable-commondlg was given.
11182 if test "${enable_commondlg+set}" = set; then
11183 enableval=$enable_commondlg;
11184 if test "$enableval" = yes; then
11185 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11186 else
11187 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11188 fi
11189
11190 else
11191
11192 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11193 if test "x$LINE" != x ; then
11194 eval "DEFAULT_$LINE"
11195 else
11196 no_cache=1
11197 fi
11198
11199 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11200
11201 fi
11202
11203
11204 eval "$ac_cv_use_commondlg"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test "$wxUSE_COMMONDLGS" = yes; then
11210 { echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6; }
11212 else
11213 { echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6; }
11215 fi
11216
11217
11218 enablestring=
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11221 no_cache=0
11222 # Check whether --enable-aboutdlg was given.
11223 if test "${enable_aboutdlg+set}" = set; then
11224 enableval=$enable_aboutdlg;
11225 if test "$enableval" = yes; then
11226 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11227 else
11228 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11229 fi
11230
11231 else
11232
11233 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11236 else
11237 no_cache=1
11238 fi
11239
11240 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11241
11242 fi
11243
11244
11245 eval "$ac_cv_use_aboutdlg"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11248 fi
11249
11250 if test "$wxUSE_ABOUTDLG" = yes; then
11251 { echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6; }
11253 else
11254 { echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6; }
11256 fi
11257
11258
11259 enablestring=
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11262 no_cache=0
11263 # Check whether --enable-choicedlg was given.
11264 if test "${enable_choicedlg+set}" = set; then
11265 enableval=$enable_choicedlg;
11266 if test "$enableval" = yes; then
11267 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11268 else
11269 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11270 fi
11271
11272 else
11273
11274 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11275 if test "x$LINE" != x ; then
11276 eval "DEFAULT_$LINE"
11277 else
11278 no_cache=1
11279 fi
11280
11281 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11282
11283 fi
11284
11285
11286 eval "$ac_cv_use_choicedlg"
11287 if test "$no_cache" != 1; then
11288 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11289 fi
11290
11291 if test "$wxUSE_CHOICEDLG" = yes; then
11292 { echo "$as_me:$LINENO: result: yes" >&5
11293 echo "${ECHO_T}yes" >&6; }
11294 else
11295 { echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6; }
11297 fi
11298
11299
11300 enablestring=
11301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11302 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11303 no_cache=0
11304 # Check whether --enable-coldlg was given.
11305 if test "${enable_coldlg+set}" = set; then
11306 enableval=$enable_coldlg;
11307 if test "$enableval" = yes; then
11308 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11309 else
11310 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11311 fi
11312
11313 else
11314
11315 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11316 if test "x$LINE" != x ; then
11317 eval "DEFAULT_$LINE"
11318 else
11319 no_cache=1
11320 fi
11321
11322 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11323
11324 fi
11325
11326
11327 eval "$ac_cv_use_coldlg"
11328 if test "$no_cache" != 1; then
11329 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11330 fi
11331
11332 if test "$wxUSE_COLOURDLG" = yes; then
11333 { echo "$as_me:$LINENO: result: yes" >&5
11334 echo "${ECHO_T}yes" >&6; }
11335 else
11336 { echo "$as_me:$LINENO: result: no" >&5
11337 echo "${ECHO_T}no" >&6; }
11338 fi
11339
11340
11341 enablestring=
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11344 no_cache=0
11345 # Check whether --enable-filedlg was given.
11346 if test "${enable_filedlg+set}" = set; then
11347 enableval=$enable_filedlg;
11348 if test "$enableval" = yes; then
11349 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11350 else
11351 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11352 fi
11353
11354 else
11355
11356 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11357 if test "x$LINE" != x ; then
11358 eval "DEFAULT_$LINE"
11359 else
11360 no_cache=1
11361 fi
11362
11363 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11364
11365 fi
11366
11367
11368 eval "$ac_cv_use_filedlg"
11369 if test "$no_cache" != 1; then
11370 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11371 fi
11372
11373 if test "$wxUSE_FILEDLG" = yes; then
11374 { echo "$as_me:$LINENO: result: yes" >&5
11375 echo "${ECHO_T}yes" >&6; }
11376 else
11377 { echo "$as_me:$LINENO: result: no" >&5
11378 echo "${ECHO_T}no" >&6; }
11379 fi
11380
11381
11382 enablestring=
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11385 no_cache=0
11386 # Check whether --enable-finddlg was given.
11387 if test "${enable_finddlg+set}" = set; then
11388 enableval=$enable_finddlg;
11389 if test "$enableval" = yes; then
11390 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11391 else
11392 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11393 fi
11394
11395 else
11396
11397 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11398 if test "x$LINE" != x ; then
11399 eval "DEFAULT_$LINE"
11400 else
11401 no_cache=1
11402 fi
11403
11404 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11405
11406 fi
11407
11408
11409 eval "$ac_cv_use_finddlg"
11410 if test "$no_cache" != 1; then
11411 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11412 fi
11413
11414 if test "$wxUSE_FINDREPLDLG" = yes; then
11415 { echo "$as_me:$LINENO: result: yes" >&5
11416 echo "${ECHO_T}yes" >&6; }
11417 else
11418 { echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6; }
11420 fi
11421
11422
11423 enablestring=
11424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11425 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11426 no_cache=0
11427 # Check whether --enable-fontdlg was given.
11428 if test "${enable_fontdlg+set}" = set; then
11429 enableval=$enable_fontdlg;
11430 if test "$enableval" = yes; then
11431 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11432 else
11433 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11434 fi
11435
11436 else
11437
11438 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11439 if test "x$LINE" != x ; then
11440 eval "DEFAULT_$LINE"
11441 else
11442 no_cache=1
11443 fi
11444
11445 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11446
11447 fi
11448
11449
11450 eval "$ac_cv_use_fontdlg"
11451 if test "$no_cache" != 1; then
11452 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11453 fi
11454
11455 if test "$wxUSE_FONTDLG" = yes; then
11456 { echo "$as_me:$LINENO: result: yes" >&5
11457 echo "${ECHO_T}yes" >&6; }
11458 else
11459 { echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6; }
11461 fi
11462
11463
11464 enablestring=
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11467 no_cache=0
11468 # Check whether --enable-dirdlg was given.
11469 if test "${enable_dirdlg+set}" = set; then
11470 enableval=$enable_dirdlg;
11471 if test "$enableval" = yes; then
11472 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11473 else
11474 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11475 fi
11476
11477 else
11478
11479 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11482 else
11483 no_cache=1
11484 fi
11485
11486 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11487
11488 fi
11489
11490
11491 eval "$ac_cv_use_dirdlg"
11492 if test "$no_cache" != 1; then
11493 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11494 fi
11495
11496 if test "$wxUSE_DIRDLG" = yes; then
11497 { echo "$as_me:$LINENO: result: yes" >&5
11498 echo "${ECHO_T}yes" >&6; }
11499 else
11500 { echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6; }
11502 fi
11503
11504
11505 enablestring=
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11508 no_cache=0
11509 # Check whether --enable-msgdlg was given.
11510 if test "${enable_msgdlg+set}" = set; then
11511 enableval=$enable_msgdlg;
11512 if test "$enableval" = yes; then
11513 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11514 else
11515 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11516 fi
11517
11518 else
11519
11520 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11523 else
11524 no_cache=1
11525 fi
11526
11527 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11528
11529 fi
11530
11531
11532 eval "$ac_cv_use_msgdlg"
11533 if test "$no_cache" != 1; then
11534 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11535 fi
11536
11537 if test "$wxUSE_MSGDLG" = yes; then
11538 { echo "$as_me:$LINENO: result: yes" >&5
11539 echo "${ECHO_T}yes" >&6; }
11540 else
11541 { echo "$as_me:$LINENO: result: no" >&5
11542 echo "${ECHO_T}no" >&6; }
11543 fi
11544
11545
11546 enablestring=
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11549 no_cache=0
11550 # Check whether --enable-numberdlg was given.
11551 if test "${enable_numberdlg+set}" = set; then
11552 enableval=$enable_numberdlg;
11553 if test "$enableval" = yes; then
11554 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11555 else
11556 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11557 fi
11558
11559 else
11560
11561 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11562 if test "x$LINE" != x ; then
11563 eval "DEFAULT_$LINE"
11564 else
11565 no_cache=1
11566 fi
11567
11568 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11569
11570 fi
11571
11572
11573 eval "$ac_cv_use_numberdlg"
11574 if test "$no_cache" != 1; then
11575 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11576 fi
11577
11578 if test "$wxUSE_NUMBERDLG" = yes; then
11579 { echo "$as_me:$LINENO: result: yes" >&5
11580 echo "${ECHO_T}yes" >&6; }
11581 else
11582 { echo "$as_me:$LINENO: result: no" >&5
11583 echo "${ECHO_T}no" >&6; }
11584 fi
11585
11586
11587 enablestring=
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11590 no_cache=0
11591 # Check whether --enable-splash was given.
11592 if test "${enable_splash+set}" = set; then
11593 enableval=$enable_splash;
11594 if test "$enableval" = yes; then
11595 ac_cv_use_splash='wxUSE_SPLASH=yes'
11596 else
11597 ac_cv_use_splash='wxUSE_SPLASH=no'
11598 fi
11599
11600 else
11601
11602 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11605 else
11606 no_cache=1
11607 fi
11608
11609 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11610
11611 fi
11612
11613
11614 eval "$ac_cv_use_splash"
11615 if test "$no_cache" != 1; then
11616 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11617 fi
11618
11619 if test "$wxUSE_SPLASH" = yes; then
11620 { echo "$as_me:$LINENO: result: yes" >&5
11621 echo "${ECHO_T}yes" >&6; }
11622 else
11623 { echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6; }
11625 fi
11626
11627
11628 enablestring=
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11631 no_cache=0
11632 # Check whether --enable-textdlg was given.
11633 if test "${enable_textdlg+set}" = set; then
11634 enableval=$enable_textdlg;
11635 if test "$enableval" = yes; then
11636 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11637 else
11638 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11639 fi
11640
11641 else
11642
11643 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11644 if test "x$LINE" != x ; then
11645 eval "DEFAULT_$LINE"
11646 else
11647 no_cache=1
11648 fi
11649
11650 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11651
11652 fi
11653
11654
11655 eval "$ac_cv_use_textdlg"
11656 if test "$no_cache" != 1; then
11657 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11658 fi
11659
11660 if test "$wxUSE_TEXTDLG" = yes; then
11661 { echo "$as_me:$LINENO: result: yes" >&5
11662 echo "${ECHO_T}yes" >&6; }
11663 else
11664 { echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6; }
11666 fi
11667
11668
11669 enablestring=
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11672 no_cache=0
11673 # Check whether --enable-tipdlg was given.
11674 if test "${enable_tipdlg+set}" = set; then
11675 enableval=$enable_tipdlg;
11676 if test "$enableval" = yes; then
11677 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11678 else
11679 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11680 fi
11681
11682 else
11683
11684 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11687 else
11688 no_cache=1
11689 fi
11690
11691 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11692
11693 fi
11694
11695
11696 eval "$ac_cv_use_tipdlg"
11697 if test "$no_cache" != 1; then
11698 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11699 fi
11700
11701 if test "$wxUSE_STARTUP_TIPS" = yes; then
11702 { echo "$as_me:$LINENO: result: yes" >&5
11703 echo "${ECHO_T}yes" >&6; }
11704 else
11705 { echo "$as_me:$LINENO: result: no" >&5
11706 echo "${ECHO_T}no" >&6; }
11707 fi
11708
11709
11710 enablestring=
11711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11712 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11713 no_cache=0
11714 # Check whether --enable-progressdlg was given.
11715 if test "${enable_progressdlg+set}" = set; then
11716 enableval=$enable_progressdlg;
11717 if test "$enableval" = yes; then
11718 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11719 else
11720 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11721 fi
11722
11723 else
11724
11725 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11726 if test "x$LINE" != x ; then
11727 eval "DEFAULT_$LINE"
11728 else
11729 no_cache=1
11730 fi
11731
11732 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11733
11734 fi
11735
11736
11737 eval "$ac_cv_use_progressdlg"
11738 if test "$no_cache" != 1; then
11739 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11740 fi
11741
11742 if test "$wxUSE_PROGRESSDLG" = yes; then
11743 { echo "$as_me:$LINENO: result: yes" >&5
11744 echo "${ECHO_T}yes" >&6; }
11745 else
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11748 fi
11749
11750
11751 enablestring=
11752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11753 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11754 no_cache=0
11755 # Check whether --enable-wizarddlg was given.
11756 if test "${enable_wizarddlg+set}" = set; then
11757 enableval=$enable_wizarddlg;
11758 if test "$enableval" = yes; then
11759 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11760 else
11761 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11762 fi
11763
11764 else
11765
11766 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11769 else
11770 no_cache=1
11771 fi
11772
11773 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11774
11775 fi
11776
11777
11778 eval "$ac_cv_use_wizarddlg"
11779 if test "$no_cache" != 1; then
11780 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11781 fi
11782
11783 if test "$wxUSE_WIZARDDLG" = yes; then
11784 { echo "$as_me:$LINENO: result: yes" >&5
11785 echo "${ECHO_T}yes" >&6; }
11786 else
11787 { echo "$as_me:$LINENO: result: no" >&5
11788 echo "${ECHO_T}no" >&6; }
11789 fi
11790
11791
11792
11793
11794 enablestring=
11795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11796 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11797 no_cache=0
11798 # Check whether --enable-menus was given.
11799 if test "${enable_menus+set}" = set; then
11800 enableval=$enable_menus;
11801 if test "$enableval" = yes; then
11802 ac_cv_use_menus='wxUSE_MENUS=yes'
11803 else
11804 ac_cv_use_menus='wxUSE_MENUS=no'
11805 fi
11806
11807 else
11808
11809 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11810 if test "x$LINE" != x ; then
11811 eval "DEFAULT_$LINE"
11812 else
11813 no_cache=1
11814 fi
11815
11816 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11817
11818 fi
11819
11820
11821 eval "$ac_cv_use_menus"
11822 if test "$no_cache" != 1; then
11823 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11824 fi
11825
11826 if test "$wxUSE_MENUS" = yes; then
11827 { echo "$as_me:$LINENO: result: yes" >&5
11828 echo "${ECHO_T}yes" >&6; }
11829 else
11830 { echo "$as_me:$LINENO: result: no" >&5
11831 echo "${ECHO_T}no" >&6; }
11832 fi
11833
11834
11835 enablestring=
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11838 no_cache=0
11839 # Check whether --enable-miniframe was given.
11840 if test "${enable_miniframe+set}" = set; then
11841 enableval=$enable_miniframe;
11842 if test "$enableval" = yes; then
11843 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11844 else
11845 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11846 fi
11847
11848 else
11849
11850 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11853 else
11854 no_cache=1
11855 fi
11856
11857 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11858
11859 fi
11860
11861
11862 eval "$ac_cv_use_miniframe"
11863 if test "$no_cache" != 1; then
11864 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11865 fi
11866
11867 if test "$wxUSE_MINIFRAME" = yes; then
11868 { echo "$as_me:$LINENO: result: yes" >&5
11869 echo "${ECHO_T}yes" >&6; }
11870 else
11871 { echo "$as_me:$LINENO: result: no" >&5
11872 echo "${ECHO_T}no" >&6; }
11873 fi
11874
11875
11876 enablestring=
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11879 no_cache=0
11880 # Check whether --enable-tooltips was given.
11881 if test "${enable_tooltips+set}" = set; then
11882 enableval=$enable_tooltips;
11883 if test "$enableval" = yes; then
11884 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11885 else
11886 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11887 fi
11888
11889 else
11890
11891 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11892 if test "x$LINE" != x ; then
11893 eval "DEFAULT_$LINE"
11894 else
11895 no_cache=1
11896 fi
11897
11898 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11899
11900 fi
11901
11902
11903 eval "$ac_cv_use_tooltips"
11904 if test "$no_cache" != 1; then
11905 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11906 fi
11907
11908 if test "$wxUSE_TOOLTIPS" = yes; then
11909 { echo "$as_me:$LINENO: result: yes" >&5
11910 echo "${ECHO_T}yes" >&6; }
11911 else
11912 { echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6; }
11914 fi
11915
11916
11917 enablestring=
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11920 no_cache=0
11921 # Check whether --enable-splines was given.
11922 if test "${enable_splines+set}" = set; then
11923 enableval=$enable_splines;
11924 if test "$enableval" = yes; then
11925 ac_cv_use_splines='wxUSE_SPLINES=yes'
11926 else
11927 ac_cv_use_splines='wxUSE_SPLINES=no'
11928 fi
11929
11930 else
11931
11932 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11933 if test "x$LINE" != x ; then
11934 eval "DEFAULT_$LINE"
11935 else
11936 no_cache=1
11937 fi
11938
11939 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11940
11941 fi
11942
11943
11944 eval "$ac_cv_use_splines"
11945 if test "$no_cache" != 1; then
11946 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11947 fi
11948
11949 if test "$wxUSE_SPLINES" = yes; then
11950 { echo "$as_me:$LINENO: result: yes" >&5
11951 echo "${ECHO_T}yes" >&6; }
11952 else
11953 { echo "$as_me:$LINENO: result: no" >&5
11954 echo "${ECHO_T}no" >&6; }
11955 fi
11956
11957
11958 enablestring=
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11961 no_cache=0
11962 # Check whether --enable-mousewheel was given.
11963 if test "${enable_mousewheel+set}" = set; then
11964 enableval=$enable_mousewheel;
11965 if test "$enableval" = yes; then
11966 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11967 else
11968 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11969 fi
11970
11971 else
11972
11973 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11976 else
11977 no_cache=1
11978 fi
11979
11980 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11981
11982 fi
11983
11984
11985 eval "$ac_cv_use_mousewheel"
11986 if test "$no_cache" != 1; then
11987 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11988 fi
11989
11990 if test "$wxUSE_MOUSEWHEEL" = yes; then
11991 { echo "$as_me:$LINENO: result: yes" >&5
11992 echo "${ECHO_T}yes" >&6; }
11993 else
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
11996 fi
11997
11998
11999 enablestring=
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12002 no_cache=0
12003 # Check whether --enable-validators was given.
12004 if test "${enable_validators+set}" = set; then
12005 enableval=$enable_validators;
12006 if test "$enableval" = yes; then
12007 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12008 else
12009 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12010 fi
12011
12012 else
12013
12014 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
12015 if test "x$LINE" != x ; then
12016 eval "DEFAULT_$LINE"
12017 else
12018 no_cache=1
12019 fi
12020
12021 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12022
12023 fi
12024
12025
12026 eval "$ac_cv_use_validators"
12027 if test "$no_cache" != 1; then
12028 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12029 fi
12030
12031 if test "$wxUSE_VALIDATORS" = yes; then
12032 { echo "$as_me:$LINENO: result: yes" >&5
12033 echo "${ECHO_T}yes" >&6; }
12034 else
12035 { echo "$as_me:$LINENO: result: no" >&5
12036 echo "${ECHO_T}no" >&6; }
12037 fi
12038
12039
12040 enablestring=
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12043 no_cache=0
12044 # Check whether --enable-busyinfo was given.
12045 if test "${enable_busyinfo+set}" = set; then
12046 enableval=$enable_busyinfo;
12047 if test "$enableval" = yes; then
12048 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12049 else
12050 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12051 fi
12052
12053 else
12054
12055 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
12056 if test "x$LINE" != x ; then
12057 eval "DEFAULT_$LINE"
12058 else
12059 no_cache=1
12060 fi
12061
12062 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12063
12064 fi
12065
12066
12067 eval "$ac_cv_use_busyinfo"
12068 if test "$no_cache" != 1; then
12069 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12070 fi
12071
12072 if test "$wxUSE_BUSYINFO" = yes; then
12073 { echo "$as_me:$LINENO: result: yes" >&5
12074 echo "${ECHO_T}yes" >&6; }
12075 else
12076 { echo "$as_me:$LINENO: result: no" >&5
12077 echo "${ECHO_T}no" >&6; }
12078 fi
12079
12080
12081 enablestring=
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12084 no_cache=0
12085 # Check whether --enable-joystick was given.
12086 if test "${enable_joystick+set}" = set; then
12087 enableval=$enable_joystick;
12088 if test "$enableval" = yes; then
12089 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12090 else
12091 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12092 fi
12093
12094 else
12095
12096 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12099 else
12100 no_cache=1
12101 fi
12102
12103 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12104
12105 fi
12106
12107
12108 eval "$ac_cv_use_joystick"
12109 if test "$no_cache" != 1; then
12110 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12111 fi
12112
12113 if test "$wxUSE_JOYSTICK" = yes; then
12114 { echo "$as_me:$LINENO: result: yes" >&5
12115 echo "${ECHO_T}yes" >&6; }
12116 else
12117 { echo "$as_me:$LINENO: result: no" >&5
12118 echo "${ECHO_T}no" >&6; }
12119 fi
12120
12121
12122 enablestring=
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12125 no_cache=0
12126 # Check whether --enable-metafile was given.
12127 if test "${enable_metafile+set}" = set; then
12128 enableval=$enable_metafile;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12131 else
12132 ac_cv_use_metafile='wxUSE_METAFILE=no'
12133 fi
12134
12135 else
12136
12137 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12140 else
12141 no_cache=1
12142 fi
12143
12144 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12145
12146 fi
12147
12148
12149 eval "$ac_cv_use_metafile"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12152 fi
12153
12154 if test "$wxUSE_METAFILE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12157 else
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12160 fi
12161
12162
12163 enablestring=
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12166 no_cache=0
12167 # Check whether --enable-dragimage was given.
12168 if test "${enable_dragimage+set}" = set; then
12169 enableval=$enable_dragimage;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12172 else
12173 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12174 fi
12175
12176 else
12177
12178 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12181 else
12182 no_cache=1
12183 fi
12184
12185 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12186
12187 fi
12188
12189
12190 eval "$ac_cv_use_dragimage"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12193 fi
12194
12195 if test "$wxUSE_DRAGIMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12198 else
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12201 fi
12202
12203
12204 enablestring=
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12207 no_cache=0
12208 # Check whether --enable-accessibility was given.
12209 if test "${enable_accessibility+set}" = set; then
12210 enableval=$enable_accessibility;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12213 else
12214 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12215 fi
12216
12217 else
12218
12219 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12222 else
12223 no_cache=1
12224 fi
12225
12226 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12227
12228 fi
12229
12230
12231 eval "$ac_cv_use_accessibility"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12234 fi
12235
12236 if test "$wxUSE_ACCESSIBILITY" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12239 else
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12242 fi
12243
12244
12245 if test "$wxUSE_MSW" = "1"; then
12246
12247 enablestring=
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12250 no_cache=0
12251 # Check whether --enable-dccache was given.
12252 if test "${enable_dccache+set}" = set; then
12253 enableval=$enable_dccache;
12254 if test "$enableval" = yes; then
12255 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12256 else
12257 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12258 fi
12259
12260 else
12261
12262 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12263 if test "x$LINE" != x ; then
12264 eval "DEFAULT_$LINE"
12265 else
12266 no_cache=1
12267 fi
12268
12269 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12270
12271 fi
12272
12273
12274 eval "$ac_cv_use_dccache"
12275 if test "$no_cache" != 1; then
12276 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12277 fi
12278
12279 if test "$wxUSE_DC_CACHEING" = yes; then
12280 { echo "$as_me:$LINENO: result: yes" >&5
12281 echo "${ECHO_T}yes" >&6; }
12282 else
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12285 fi
12286
12287 fi
12288
12289
12290
12291 enablestring=
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12294 no_cache=0
12295 # Check whether --enable-palette was given.
12296 if test "${enable_palette+set}" = set; then
12297 enableval=$enable_palette;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_palette='wxUSE_PALETTE=yes'
12300 else
12301 ac_cv_use_palette='wxUSE_PALETTE=no'
12302 fi
12303
12304 else
12305
12306 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 else
12310 no_cache=1
12311 fi
12312
12313 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12314
12315 fi
12316
12317
12318 eval "$ac_cv_use_palette"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test "$wxUSE_PALETTE" = yes; then
12324 { echo "$as_me:$LINENO: result: yes" >&5
12325 echo "${ECHO_T}yes" >&6; }
12326 else
12327 { echo "$as_me:$LINENO: result: no" >&5
12328 echo "${ECHO_T}no" >&6; }
12329 fi
12330
12331
12332 enablestring=
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12335 no_cache=0
12336 # Check whether --enable-image was given.
12337 if test "${enable_image+set}" = set; then
12338 enableval=$enable_image;
12339 if test "$enableval" = yes; then
12340 ac_cv_use_image='wxUSE_IMAGE=yes'
12341 else
12342 ac_cv_use_image='wxUSE_IMAGE=no'
12343 fi
12344
12345 else
12346
12347 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12350 else
12351 no_cache=1
12352 fi
12353
12354 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12355
12356 fi
12357
12358
12359 eval "$ac_cv_use_image"
12360 if test "$no_cache" != 1; then
12361 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12362 fi
12363
12364 if test "$wxUSE_IMAGE" = yes; then
12365 { echo "$as_me:$LINENO: result: yes" >&5
12366 echo "${ECHO_T}yes" >&6; }
12367 else
12368 { echo "$as_me:$LINENO: result: no" >&5
12369 echo "${ECHO_T}no" >&6; }
12370 fi
12371
12372
12373 enablestring=
12374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12376 no_cache=0
12377 # Check whether --enable-gif was given.
12378 if test "${enable_gif+set}" = set; then
12379 enableval=$enable_gif;
12380 if test "$enableval" = yes; then
12381 ac_cv_use_gif='wxUSE_GIF=yes'
12382 else
12383 ac_cv_use_gif='wxUSE_GIF=no'
12384 fi
12385
12386 else
12387
12388 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12389 if test "x$LINE" != x ; then
12390 eval "DEFAULT_$LINE"
12391 else
12392 no_cache=1
12393 fi
12394
12395 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12396
12397 fi
12398
12399
12400 eval "$ac_cv_use_gif"
12401 if test "$no_cache" != 1; then
12402 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12403 fi
12404
12405 if test "$wxUSE_GIF" = yes; then
12406 { echo "$as_me:$LINENO: result: yes" >&5
12407 echo "${ECHO_T}yes" >&6; }
12408 else
12409 { echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6; }
12411 fi
12412
12413
12414 enablestring=
12415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12416 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12417 no_cache=0
12418 # Check whether --enable-pcx was given.
12419 if test "${enable_pcx+set}" = set; then
12420 enableval=$enable_pcx;
12421 if test "$enableval" = yes; then
12422 ac_cv_use_pcx='wxUSE_PCX=yes'
12423 else
12424 ac_cv_use_pcx='wxUSE_PCX=no'
12425 fi
12426
12427 else
12428
12429 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12430 if test "x$LINE" != x ; then
12431 eval "DEFAULT_$LINE"
12432 else
12433 no_cache=1
12434 fi
12435
12436 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12437
12438 fi
12439
12440
12441 eval "$ac_cv_use_pcx"
12442 if test "$no_cache" != 1; then
12443 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12444 fi
12445
12446 if test "$wxUSE_PCX" = yes; then
12447 { echo "$as_me:$LINENO: result: yes" >&5
12448 echo "${ECHO_T}yes" >&6; }
12449 else
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12452 fi
12453
12454
12455 enablestring=
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12458 no_cache=0
12459 # Check whether --enable-tga was given.
12460 if test "${enable_tga+set}" = set; then
12461 enableval=$enable_tga;
12462 if test "$enableval" = yes; then
12463 ac_cv_use_tga='wxUSE_TGA=yes'
12464 else
12465 ac_cv_use_tga='wxUSE_TGA=no'
12466 fi
12467
12468 else
12469
12470 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12473 else
12474 no_cache=1
12475 fi
12476
12477 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12478
12479 fi
12480
12481
12482 eval "$ac_cv_use_tga"
12483 if test "$no_cache" != 1; then
12484 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12485 fi
12486
12487 if test "$wxUSE_TGA" = yes; then
12488 { echo "$as_me:$LINENO: result: yes" >&5
12489 echo "${ECHO_T}yes" >&6; }
12490 else
12491 { echo "$as_me:$LINENO: result: no" >&5
12492 echo "${ECHO_T}no" >&6; }
12493 fi
12494
12495
12496 enablestring=
12497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12498 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12499 no_cache=0
12500 # Check whether --enable-iff was given.
12501 if test "${enable_iff+set}" = set; then
12502 enableval=$enable_iff;
12503 if test "$enableval" = yes; then
12504 ac_cv_use_iff='wxUSE_IFF=yes'
12505 else
12506 ac_cv_use_iff='wxUSE_IFF=no'
12507 fi
12508
12509 else
12510
12511 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12512 if test "x$LINE" != x ; then
12513 eval "DEFAULT_$LINE"
12514 else
12515 no_cache=1
12516 fi
12517
12518 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12519
12520 fi
12521
12522
12523 eval "$ac_cv_use_iff"
12524 if test "$no_cache" != 1; then
12525 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12526 fi
12527
12528 if test "$wxUSE_IFF" = yes; then
12529 { echo "$as_me:$LINENO: result: yes" >&5
12530 echo "${ECHO_T}yes" >&6; }
12531 else
12532 { echo "$as_me:$LINENO: result: no" >&5
12533 echo "${ECHO_T}no" >&6; }
12534 fi
12535
12536
12537 enablestring=
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12540 no_cache=0
12541 # Check whether --enable-pnm was given.
12542 if test "${enable_pnm+set}" = set; then
12543 enableval=$enable_pnm;
12544 if test "$enableval" = yes; then
12545 ac_cv_use_pnm='wxUSE_PNM=yes'
12546 else
12547 ac_cv_use_pnm='wxUSE_PNM=no'
12548 fi
12549
12550 else
12551
12552 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12553 if test "x$LINE" != x ; then
12554 eval "DEFAULT_$LINE"
12555 else
12556 no_cache=1
12557 fi
12558
12559 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12560
12561 fi
12562
12563
12564 eval "$ac_cv_use_pnm"
12565 if test "$no_cache" != 1; then
12566 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12567 fi
12568
12569 if test "$wxUSE_PNM" = yes; then
12570 { echo "$as_me:$LINENO: result: yes" >&5
12571 echo "${ECHO_T}yes" >&6; }
12572 else
12573 { echo "$as_me:$LINENO: result: no" >&5
12574 echo "${ECHO_T}no" >&6; }
12575 fi
12576
12577
12578 enablestring=
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12581 no_cache=0
12582 # Check whether --enable-xpm was given.
12583 if test "${enable_xpm+set}" = set; then
12584 enableval=$enable_xpm;
12585 if test "$enableval" = yes; then
12586 ac_cv_use_xpm='wxUSE_XPM=yes'
12587 else
12588 ac_cv_use_xpm='wxUSE_XPM=no'
12589 fi
12590
12591 else
12592
12593 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12594 if test "x$LINE" != x ; then
12595 eval "DEFAULT_$LINE"
12596 else
12597 no_cache=1
12598 fi
12599
12600 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12601
12602 fi
12603
12604
12605 eval "$ac_cv_use_xpm"
12606 if test "$no_cache" != 1; then
12607 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12608 fi
12609
12610 if test "$wxUSE_XPM" = yes; then
12611 { echo "$as_me:$LINENO: result: yes" >&5
12612 echo "${ECHO_T}yes" >&6; }
12613 else
12614 { echo "$as_me:$LINENO: result: no" >&5
12615 echo "${ECHO_T}no" >&6; }
12616 fi
12617
12618
12619 enablestring=
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12622 no_cache=0
12623 # Check whether --enable-ico_cur was given.
12624 if test "${enable_ico_cur+set}" = set; then
12625 enableval=$enable_ico_cur;
12626 if test "$enableval" = yes; then
12627 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12628 else
12629 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12630 fi
12631
12632 else
12633
12634 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x ; then
12636 eval "DEFAULT_$LINE"
12637 else
12638 no_cache=1
12639 fi
12640
12641 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12642
12643 fi
12644
12645
12646 eval "$ac_cv_use_ico_cur"
12647 if test "$no_cache" != 1; then
12648 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12649 fi
12650
12651 if test "$wxUSE_ICO_CUR" = yes; then
12652 { echo "$as_me:$LINENO: result: yes" >&5
12653 echo "${ECHO_T}yes" >&6; }
12654 else
12655 { echo "$as_me:$LINENO: result: no" >&5
12656 echo "${ECHO_T}no" >&6; }
12657 fi
12658
12659
12660 fi
12661
12662
12663
12664 # Check whether --with-flavour was given.
12665 if test "${with_flavour+set}" = set; then
12666 withval=$with_flavour; WX_FLAVOUR="$withval"
12667 fi
12668
12669
12670
12671
12672 enablestring=
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12675 no_cache=0
12676 # Check whether --enable-official_build was given.
12677 if test "${enable_official_build+set}" = set; then
12678 enableval=$enable_official_build;
12679 if test "$enableval" = yes; then
12680 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12681 else
12682 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12683 fi
12684
12685 else
12686
12687 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12690 else
12691 no_cache=1
12692 fi
12693
12694 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12695
12696 fi
12697
12698
12699 eval "$ac_cv_use_official_build"
12700 if test "$no_cache" != 1; then
12701 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12702 fi
12703
12704 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12705 { echo "$as_me:$LINENO: result: yes" >&5
12706 echo "${ECHO_T}yes" >&6; }
12707 else
12708 { echo "$as_me:$LINENO: result: no" >&5
12709 echo "${ECHO_T}no" >&6; }
12710 fi
12711
12712 # Check whether --enable-vendor was given.
12713 if test "${enable_vendor+set}" = set; then
12714 enableval=$enable_vendor; VENDOR="$enableval"
12715 fi
12716
12717 if test "x$VENDOR" = "x"; then
12718 VENDOR="custom"
12719 fi
12720
12721
12722
12723
12724 echo "saving argument cache $wx_arg_cache_file"
12725 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12726
12727
12728
12729 { echo "$as_me:$LINENO: checking for toolkit" >&5
12730 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12731
12732 # In Wine, we need to default to MSW, not GTK or MOTIF
12733 if test "$wxUSE_WINE" = "yes"; then
12734 DEFAULT_DEFAULT_wxUSE_GTK=0
12735 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12736 DEFAULT_DEFAULT_wxUSE_MSW=1
12737 wxUSE_SHARED=no
12738 CC=${CC:-winegcc}
12739 CXX=${CXX:-wineg++}
12740 fi
12741
12742
12743 if test "$wxUSE_GUI" = "yes"; then
12744
12745 if test "$USE_BEOS" = 1; then
12746 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12747 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12748 { (exit 1); exit 1; }; }
12749 fi
12750
12751 if test "$TOOLKIT_GIVEN" = 1; then
12752 for toolkit in `echo $ALL_TOOLKITS`; do
12753 var=wxUSE_$toolkit
12754 eval "value=\$${var}"
12755 if test "x$value" = "xno"; then
12756 eval "$var=0"
12757 elif test "x$value" != "x"; then
12758 eval "$var=1"
12759 fi
12760
12761 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12762 eval "wx${toolkit}_VERSION=$value"
12763 fi
12764 done
12765 else
12766 for toolkit in `echo $ALL_TOOLKITS`; do
12767 if test "$has_toolkit_in_cache" != 1; then
12768 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12769 else
12770 var=DEFAULT_wxUSE_$toolkit
12771
12772 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12773 if test "x$version" != "x"; then
12774 eval "wx${toolkit}_VERSION=$version"
12775 fi
12776 fi
12777 eval "wxUSE_$toolkit=\$${var}"
12778 done
12779 fi
12780
12781 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12782 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12783 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12784
12785 case "${host}" in
12786 *-pc-os2_emx | *-pc-os2-emx )
12787 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12788 esac
12789
12790 case "$NUM_TOOLKITS" in
12791 1)
12792 ;;
12793 0)
12794 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12795 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12796 { (exit 1); exit 1; }; }
12797 ;;
12798 *)
12799 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12800 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12801 { (exit 1); exit 1; }; }
12802 esac
12803
12804 # to be removed when --disable-gtk2 isn't needed
12805 if test "x$wxUSE_GTK2" = "xyes"; then
12806 wxGTK_VERSION=2
12807 elif test "x$wxUSE_GTK2" = "xno"; then
12808 wxGTK_VERSION=1
12809 fi
12810
12811 for toolkit in `echo $ALL_TOOLKITS`; do
12812 var=wxUSE_$toolkit
12813 eval "value=\$${var}"
12814 if test "x$value" != x; then
12815 cache_var=CACHE_$toolkit
12816 eval "cache=\$${cache_var}"
12817 if test "$cache" = 1; then
12818 echo "$var=$value" >> ${wx_arg_cache_file}
12819 eval "version=\$wx${toolkit}_VERSION"
12820 if test "x$version" != "x"; then
12821 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12822 fi
12823 fi
12824 if test "$value" = 1; then
12825 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12826 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12827 echo "${ECHO_T}$toolkit_echo" >&6; }
12828 fi
12829 fi
12830 done
12831 else
12832 if test "x$host_alias" != "x"; then
12833 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12834 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12835 else
12836 { echo "$as_me:$LINENO: result: base only" >&5
12837 echo "${ECHO_T}base only" >&6; }
12838 fi
12839 fi
12840
12841
12842 cat >confcache <<\_ACEOF
12843 # This file is a shell script that caches the results of configure
12844 # tests run on this system so they can be shared between configure
12845 # scripts and configure runs, see configure's option --config-cache.
12846 # It is not useful on other systems. If it contains results you don't
12847 # want to keep, you may remove or edit it.
12848 #
12849 # config.status only pays attention to the cache file if you give it
12850 # the --recheck option to rerun configure.
12851 #
12852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12854 # following values.
12855
12856 _ACEOF
12857
12858 # The following way of writing the cache mishandles newlines in values,
12859 # but we know of no workaround that is simple, portable, and efficient.
12860 # So, we kill variables containing newlines.
12861 # Ultrix sh set writes to stderr and can't be redirected directly,
12862 # and sets the high bit in the cache file unless we assign to the vars.
12863 (
12864 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12865 eval ac_val=\$$ac_var
12866 case $ac_val in #(
12867 *${as_nl}*)
12868 case $ac_var in #(
12869 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12870 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12871 esac
12872 case $ac_var in #(
12873 _ | IFS | as_nl) ;; #(
12874 *) $as_unset $ac_var ;;
12875 esac ;;
12876 esac
12877 done
12878
12879 (set) 2>&1 |
12880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12881 *${as_nl}ac_space=\ *)
12882 # `set' does not quote correctly, so add quotes (double-quote
12883 # substitution turns \\\\ into \\, and sed turns \\ into \).
12884 sed -n \
12885 "s/'/'\\\\''/g;
12886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12887 ;; #(
12888 *)
12889 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12891 ;;
12892 esac |
12893 sort
12894 ) |
12895 sed '
12896 /^ac_cv_env_/b end
12897 t clear
12898 :clear
12899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12900 t end
12901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12902 :end' >>confcache
12903 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12904 if test -w "$cache_file"; then
12905 test "x$cache_file" != "x/dev/null" &&
12906 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12907 echo "$as_me: updating cache $cache_file" >&6;}
12908 cat confcache >$cache_file
12909 else
12910 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12911 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12912 fi
12913 fi
12914 rm -f confcache
12915
12916 CFLAGS=${CFLAGS:=}
12917
12918
12919
12920 ac_ext=c
12921 ac_cpp='$CPP $CPPFLAGS'
12922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 if test -n "$ac_tool_prefix"; then
12926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12927 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 else
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC="$CC" # Let the user override the test.
12935 else
12936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12937 for as_dir in $PATH
12938 do
12939 IFS=$as_save_IFS
12940 test -z "$as_dir" && as_dir=.
12941 for ac_exec_ext in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12945 break 2
12946 fi
12947 done
12948 done
12949 IFS=$as_save_IFS
12950
12951 fi
12952 fi
12953 CC=$ac_cv_prog_CC
12954 if test -n "$CC"; then
12955 { echo "$as_me:$LINENO: result: $CC" >&5
12956 echo "${ECHO_T}$CC" >&6; }
12957 else
12958 { echo "$as_me:$LINENO: result: no" >&5
12959 echo "${ECHO_T}no" >&6; }
12960 fi
12961
12962
12963 fi
12964 if test -z "$ac_cv_prog_CC"; then
12965 ac_ct_CC=$CC
12966 # Extract the first word of "gcc", so it can be a program name with args.
12967 set dummy gcc; ac_word=$2
12968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 else
12973 if test -n "$ac_ct_CC"; then
12974 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12975 else
12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12977 for as_dir in $PATH
12978 do
12979 IFS=$as_save_IFS
12980 test -z "$as_dir" && as_dir=.
12981 for ac_exec_ext in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_ac_ct_CC="gcc"
12984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12985 break 2
12986 fi
12987 done
12988 done
12989 IFS=$as_save_IFS
12990
12991 fi
12992 fi
12993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12994 if test -n "$ac_ct_CC"; then
12995 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12996 echo "${ECHO_T}$ac_ct_CC" >&6; }
12997 else
12998 { echo "$as_me:$LINENO: result: no" >&5
12999 echo "${ECHO_T}no" >&6; }
13000 fi
13001
13002 if test "x$ac_ct_CC" = x; then
13003 CC=""
13004 else
13005 case $cross_compiling:$ac_tool_warned in
13006 yes:)
13007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13008 whose name does not start with the host triplet. If you think this
13009 configuration is useful to you, please write to autoconf@gnu.org." >&5
13010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13011 whose name does not start with the host triplet. If you think this
13012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13013 ac_tool_warned=yes ;;
13014 esac
13015 CC=$ac_ct_CC
13016 fi
13017 else
13018 CC="$ac_cv_prog_CC"
13019 fi
13020
13021 if test -z "$CC"; then
13022 if test -n "$ac_tool_prefix"; then
13023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13024 set dummy ${ac_tool_prefix}cc; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_CC+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030 if test -n "$CC"; then
13031 ac_cv_prog_CC="$CC" # Let the user override the test.
13032 else
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13035 do
13036 IFS=$as_save_IFS
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC="${ac_tool_prefix}cc"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 break 2
13043 fi
13044 done
13045 done
13046 IFS=$as_save_IFS
13047
13048 fi
13049 fi
13050 CC=$ac_cv_prog_CC
13051 if test -n "$CC"; then
13052 { echo "$as_me:$LINENO: result: $CC" >&5
13053 echo "${ECHO_T}$CC" >&6; }
13054 else
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13057 fi
13058
13059
13060 fi
13061 fi
13062 if test -z "$CC"; then
13063 # Extract the first word of "cc", so it can be a program name with args.
13064 set dummy cc; ac_word=$2
13065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13067 if test "${ac_cv_prog_CC+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 else
13070 if test -n "$CC"; then
13071 ac_cv_prog_CC="$CC" # Let the user override the test.
13072 else
13073 ac_prog_rejected=no
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13076 do
13077 IFS=$as_save_IFS
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13082 ac_prog_rejected=yes
13083 continue
13084 fi
13085 ac_cv_prog_CC="cc"
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13087 break 2
13088 fi
13089 done
13090 done
13091 IFS=$as_save_IFS
13092
13093 if test $ac_prog_rejected = yes; then
13094 # We found a bogon in the path, so make sure we never use it.
13095 set dummy $ac_cv_prog_CC
13096 shift
13097 if test $# != 0; then
13098 # We chose a different compiler from the bogus one.
13099 # However, it has the same basename, so the bogon will be chosen
13100 # first if we set CC to just the basename; use the full file name.
13101 shift
13102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13103 fi
13104 fi
13105 fi
13106 fi
13107 CC=$ac_cv_prog_CC
13108 if test -n "$CC"; then
13109 { echo "$as_me:$LINENO: result: $CC" >&5
13110 echo "${ECHO_T}$CC" >&6; }
13111 else
13112 { echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6; }
13114 fi
13115
13116
13117 fi
13118 if test -z "$CC"; then
13119 if test -n "$ac_tool_prefix"; then
13120 for ac_prog in cl.exe
13121 do
13122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13126 if test "${ac_cv_prog_CC+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 else
13129 if test -n "$CC"; then
13130 ac_cv_prog_CC="$CC" # Let the user override the test.
13131 else
13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133 for as_dir in $PATH
13134 do
13135 IFS=$as_save_IFS
13136 test -z "$as_dir" && as_dir=.
13137 for ac_exec_ext in '' $ac_executable_extensions; do
13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13141 break 2
13142 fi
13143 done
13144 done
13145 IFS=$as_save_IFS
13146
13147 fi
13148 fi
13149 CC=$ac_cv_prog_CC
13150 if test -n "$CC"; then
13151 { echo "$as_me:$LINENO: result: $CC" >&5
13152 echo "${ECHO_T}$CC" >&6; }
13153 else
13154 { echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6; }
13156 fi
13157
13158
13159 test -n "$CC" && break
13160 done
13161 fi
13162 if test -z "$CC"; then
13163 ac_ct_CC=$CC
13164 for ac_prog in cl.exe
13165 do
13166 # Extract the first word of "$ac_prog", so it can be a program name with args.
13167 set dummy $ac_prog; ac_word=$2
13168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 if test -n "$ac_ct_CC"; then
13174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13175 else
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13178 do
13179 IFS=$as_save_IFS
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_ac_ct_CC="$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13185 break 2
13186 fi
13187 done
13188 done
13189 IFS=$as_save_IFS
13190
13191 fi
13192 fi
13193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13194 if test -n "$ac_ct_CC"; then
13195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13196 echo "${ECHO_T}$ac_ct_CC" >&6; }
13197 else
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13200 fi
13201
13202
13203 test -n "$ac_ct_CC" && break
13204 done
13205
13206 if test "x$ac_ct_CC" = x; then
13207 CC=""
13208 else
13209 case $cross_compiling:$ac_tool_warned in
13210 yes:)
13211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13212 whose name does not start with the host triplet. If you think this
13213 configuration is useful to you, please write to autoconf@gnu.org." >&5
13214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13215 whose name does not start with the host triplet. If you think this
13216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13217 ac_tool_warned=yes ;;
13218 esac
13219 CC=$ac_ct_CC
13220 fi
13221 fi
13222
13223 fi
13224
13225
13226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: no acceptable C compiler found in \$PATH
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13231
13232 # Provide some information about the compiler.
13233 echo "$as_me:$LINENO: checking for C compiler version" >&5
13234 ac_compiler=`set X $ac_compile; echo $2`
13235 { (ac_try="$ac_compiler --version >&5"
13236 case "(($ac_try" in
13237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13239 esac
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_compiler --version >&5") 2>&5
13242 ac_status=$?
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }
13245 { (ac_try="$ac_compiler -v >&5"
13246 case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13249 esac
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_compiler -v >&5") 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }
13255 { (ac_try="$ac_compiler -V >&5"
13256 case "(($ac_try" in
13257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13259 esac
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_compiler -V >&5") 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }
13265
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276
13277 ;
13278 return 0;
13279 }
13280 _ACEOF
13281 ac_clean_files_save=$ac_clean_files
13282 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13283 # Try to create an executable without -o first, disregard a.out.
13284 # It will help us diagnose broken compilers, and finding out an intuition
13285 # of exeext.
13286 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13289 #
13290 # List of possible output files, starting from the most likely.
13291 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13292 # only as a last resort. b.out is created by i960 compilers.
13293 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13294 #
13295 # The IRIX 6 linker writes into existing files which may not be
13296 # executable, retaining their permissions. Remove them first so a
13297 # subsequent execution test works.
13298 ac_rmfiles=
13299 for ac_file in $ac_files
13300 do
13301 case $ac_file in
13302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13304 esac
13305 done
13306 rm -f $ac_rmfiles
13307
13308 if { (ac_try="$ac_link_default"
13309 case "(($ac_try" in
13310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13311 *) ac_try_echo=$ac_try;;
13312 esac
13313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13314 (eval "$ac_link_default") 2>&5
13315 ac_status=$?
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; then
13318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13321 # so that the user can short-circuit this test for compilers unknown to
13322 # Autoconf.
13323 for ac_file in $ac_files ''
13324 do
13325 test -f "$ac_file" || continue
13326 case $ac_file in
13327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13328 ;;
13329 [ab].out )
13330 # We found the default executable, but exeext='' is most
13331 # certainly right.
13332 break;;
13333 *.* )
13334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13335 then :; else
13336 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13337 fi
13338 # We set ac_cv_exeext here because the later test for it is not
13339 # safe: cross compilers may not add the suffix if given an `-o'
13340 # argument, so we may need to know it at that point already.
13341 # Even if this section looks crufty: it has the advantage of
13342 # actually working.
13343 break;;
13344 * )
13345 break;;
13346 esac
13347 done
13348 test "$ac_cv_exeext" = no && ac_cv_exeext=
13349
13350 else
13351 ac_file=''
13352 fi
13353
13354 { echo "$as_me:$LINENO: result: $ac_file" >&5
13355 echo "${ECHO_T}$ac_file" >&6; }
13356 if test -z "$ac_file"; then
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.$ac_ext >&5
13359
13360 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: C compiler cannot create executables
13363 See \`config.log' for more details." >&2;}
13364 { (exit 77); exit 77; }; }
13365 fi
13366
13367 ac_exeext=$ac_cv_exeext
13368
13369 # Check that the compiler produces executables we can run. If not, either
13370 # the compiler is broken, or we cross compile.
13371 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13374 # If not cross compiling, check that we can run a simple program.
13375 if test "$cross_compiling" != yes; then
13376 if { ac_try='./$ac_file'
13377 { (case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 cross_compiling=no
13387 else
13388 if test "$cross_compiling" = maybe; then
13389 cross_compiling=yes
13390 else
13391 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13392 If you meant to cross compile, use \`--host'.
13393 See \`config.log' for more details." >&5
13394 echo "$as_me: error: cannot run C compiled programs.
13395 If you meant to cross compile, use \`--host'.
13396 See \`config.log' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13398 fi
13399 fi
13400 fi
13401 { echo "$as_me:$LINENO: result: yes" >&5
13402 echo "${ECHO_T}yes" >&6; }
13403
13404 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13405 ac_clean_files=$ac_clean_files_save
13406 # Check that the compiler produces executables we can run. If not, either
13407 # the compiler is broken, or we cross compile.
13408 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13409 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13410 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13411 echo "${ECHO_T}$cross_compiling" >&6; }
13412
13413 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13414 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13415 if { (ac_try="$ac_link"
13416 case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13419 esac
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_link") 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; then
13425 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13426 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13427 # work properly (i.e., refer to `conftest.exe'), while it won't with
13428 # `rm'.
13429 for ac_file in conftest.exe conftest conftest.*; do
13430 test -f "$ac_file" || continue
13431 case $ac_file in
13432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13433 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13434 break;;
13435 * ) break;;
13436 esac
13437 done
13438 else
13439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13440 See \`config.log' for more details." >&5
13441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13442 See \`config.log' for more details." >&2;}
13443 { (exit 1); exit 1; }; }
13444 fi
13445
13446 rm -f conftest$ac_cv_exeext
13447 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13448 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13449
13450 rm -f conftest.$ac_ext
13451 EXEEXT=$ac_cv_exeext
13452 ac_exeext=$EXEEXT
13453 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13455 if test "${ac_cv_objext+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 else
13458 cat >conftest.$ac_ext <<_ACEOF
13459 /* confdefs.h. */
13460 _ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464
13465 int
13466 main ()
13467 {
13468
13469 ;
13470 return 0;
13471 }
13472 _ACEOF
13473 rm -f conftest.o conftest.obj
13474 if { (ac_try="$ac_compile"
13475 case "(($ac_try" in
13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13478 esac
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_compile") 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; then
13484 for ac_file in conftest.o conftest.obj conftest.*; do
13485 test -f "$ac_file" || continue;
13486 case $ac_file in
13487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13489 break;;
13490 esac
13491 done
13492 else
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13495
13496 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13497 See \`config.log' for more details." >&5
13498 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13499 See \`config.log' for more details." >&2;}
13500 { (exit 1); exit 1; }; }
13501 fi
13502
13503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13504 fi
13505 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13506 echo "${ECHO_T}$ac_cv_objext" >&6; }
13507 OBJEXT=$ac_cv_objext
13508 ac_objext=$OBJEXT
13509 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13510 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13511 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13512 echo $ECHO_N "(cached) $ECHO_C" >&6
13513 else
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13520
13521 int
13522 main ()
13523 {
13524 #ifndef __GNUC__
13525 choke me
13526 #endif
13527
13528 ;
13529 return 0;
13530 }
13531 _ACEOF
13532 rm -f conftest.$ac_objext
13533 if { (ac_try="$ac_compile"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13537 esac
13538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_compile") 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest.$ac_objext; then
13549 ac_compiler_gnu=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 ac_compiler_gnu=no
13555 fi
13556
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13559
13560 fi
13561 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13563 GCC=`test $ac_compiler_gnu = yes && echo yes`
13564 ac_test_CFLAGS=${CFLAGS+set}
13565 ac_save_CFLAGS=$CFLAGS
13566 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13568 if test "${ac_cv_prog_cc_g+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 else
13571 ac_save_c_werror_flag=$ac_c_werror_flag
13572 ac_c_werror_flag=yes
13573 ac_cv_prog_cc_g=no
13574 CFLAGS="-g"
13575 cat >conftest.$ac_ext <<_ACEOF
13576 /* confdefs.h. */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581
13582 int
13583 main ()
13584 {
13585
13586 ;
13587 return 0;
13588 }
13589 _ACEOF
13590 rm -f conftest.$ac_objext
13591 if { (ac_try="$ac_compile"
13592 case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13595 esac
13596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_compile") 2>conftest.er1
13598 ac_status=$?
13599 grep -v '^ *+' conftest.er1 >conftest.err
13600 rm -f conftest.er1
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } && {
13604 test -z "$ac_c_werror_flag" ||
13605 test ! -s conftest.err
13606 } && test -s conftest.$ac_objext; then
13607 ac_cv_prog_cc_g=yes
13608 else
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13611
13612 CFLAGS=""
13613 cat >conftest.$ac_ext <<_ACEOF
13614 /* confdefs.h. */
13615 _ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13619
13620 int
13621 main ()
13622 {
13623
13624 ;
13625 return 0;
13626 }
13627 _ACEOF
13628 rm -f conftest.$ac_objext
13629 if { (ac_try="$ac_compile"
13630 case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13633 esac
13634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_compile") 2>conftest.er1
13636 ac_status=$?
13637 grep -v '^ *+' conftest.er1 >conftest.err
13638 rm -f conftest.er1
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
13644 } && test -s conftest.$ac_objext; then
13645 :
13646 else
13647 echo "$as_me: failed program was:" >&5
13648 sed 's/^/| /' conftest.$ac_ext >&5
13649
13650 ac_c_werror_flag=$ac_save_c_werror_flag
13651 CFLAGS="-g"
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13658
13659 int
13660 main ()
13661 {
13662
13663 ;
13664 return 0;
13665 }
13666 _ACEOF
13667 rm -f conftest.$ac_objext
13668 if { (ac_try="$ac_compile"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672 esac
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_compile") 2>conftest.er1
13675 ac_status=$?
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest.$ac_objext; then
13684 ac_cv_prog_cc_g=yes
13685 else
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13688
13689
13690 fi
13691
13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13693 fi
13694
13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13696 fi
13697
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 ac_c_werror_flag=$ac_save_c_werror_flag
13700 fi
13701 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13703 if test "$ac_test_CFLAGS" = set; then
13704 CFLAGS=$ac_save_CFLAGS
13705 elif test $ac_cv_prog_cc_g = yes; then
13706 if test "$GCC" = yes; then
13707 CFLAGS="-g -O2"
13708 else
13709 CFLAGS="-g"
13710 fi
13711 else
13712 if test "$GCC" = yes; then
13713 CFLAGS="-O2"
13714 else
13715 CFLAGS=
13716 fi
13717 fi
13718 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13719 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13720 if test "${ac_cv_prog_cc_c89+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 else
13723 ac_cv_prog_cc_c89=no
13724 ac_save_CC=$CC
13725 cat >conftest.$ac_ext <<_ACEOF
13726 /* confdefs.h. */
13727 _ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13732 #include <stdio.h>
13733 #include <sys/types.h>
13734 #include <sys/stat.h>
13735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13736 struct buf { int x; };
13737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13738 static char *e (p, i)
13739 char **p;
13740 int i;
13741 {
13742 return p[i];
13743 }
13744 static char *f (char * (*g) (char **, int), char **p, ...)
13745 {
13746 char *s;
13747 va_list v;
13748 va_start (v,p);
13749 s = g (p, va_arg (v,int));
13750 va_end (v);
13751 return s;
13752 }
13753
13754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13755 function prototypes and stuff, but not '\xHH' hex character constants.
13756 These don't provoke an error unfortunately, instead are silently treated
13757 as 'x'. The following induces an error, until -std is added to get
13758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13759 array size at least. It's necessary to write '\x00'==0 to get something
13760 that's true only with -std. */
13761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13762
13763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13764 inside strings and character constants. */
13765 #define FOO(x) 'x'
13766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13767
13768 int test (int i, double x);
13769 struct s1 {int (*f) (int a);};
13770 struct s2 {int (*f) (double a);};
13771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13772 int argc;
13773 char **argv;
13774 int
13775 main ()
13776 {
13777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13778 ;
13779 return 0;
13780 }
13781 _ACEOF
13782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13784 do
13785 CC="$ac_save_CC $ac_arg"
13786 rm -f conftest.$ac_objext
13787 if { (ac_try="$ac_compile"
13788 case "(($ac_try" in
13789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13790 *) ac_try_echo=$ac_try;;
13791 esac
13792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13793 (eval "$ac_compile") 2>conftest.er1
13794 ac_status=$?
13795 grep -v '^ *+' conftest.er1 >conftest.err
13796 rm -f conftest.er1
13797 cat conftest.err >&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); } && {
13800 test -z "$ac_c_werror_flag" ||
13801 test ! -s conftest.err
13802 } && test -s conftest.$ac_objext; then
13803 ac_cv_prog_cc_c89=$ac_arg
13804 else
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13807
13808
13809 fi
13810
13811 rm -f core conftest.err conftest.$ac_objext
13812 test "x$ac_cv_prog_cc_c89" != "xno" && break
13813 done
13814 rm -f conftest.$ac_ext
13815 CC=$ac_save_CC
13816
13817 fi
13818 # AC_CACHE_VAL
13819 case "x$ac_cv_prog_cc_c89" in
13820 x)
13821 { echo "$as_me:$LINENO: result: none needed" >&5
13822 echo "${ECHO_T}none needed" >&6; } ;;
13823 xno)
13824 { echo "$as_me:$LINENO: result: unsupported" >&5
13825 echo "${ECHO_T}unsupported" >&6; } ;;
13826 *)
13827 CC="$CC $ac_cv_prog_cc_c89"
13828 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13829 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13830 esac
13831
13832
13833 ac_ext=c
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13838
13839
13840
13841 ac_ext=c
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13846
13847 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13848 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13849 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 else
13852 cat >conftest.$ac_ext <<_ACEOF
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858
13859 int
13860 main ()
13861 {
13862
13863 #ifndef __INTEL_COMPILER
13864 choke me
13865 #endif
13866
13867 ;
13868 return 0;
13869 }
13870 _ACEOF
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13876 esac
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13888 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 bakefile_cv_c_compiler___INTEL_COMPILER=no
13894
13895 fi
13896
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898
13899
13900 fi
13901 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13902 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13903 ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13908
13909 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13910 :; INTELCC=yes
13911 else
13912 :;
13913 fi
13914
13915
13916 if test "x$GCC" != "xyes"; then
13917 if test "xCC" = "xC"; then
13918 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13919 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13920 if test "${bakefile_cv_c_exto+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h. */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929
13930 int
13931 main ()
13932 {
13933
13934 ;
13935 return 0;
13936 }
13937 _ACEOF
13938 rm -f conftest.$ac_objext conftest.$ac_ext.o
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13941 ac_status=$?
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; then
13944 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13945 case $ac_file in
13946 conftest.$ac_ext.o)
13947 bakefile_cv_c_exto="-ext o"
13948 ;;
13949 *)
13950 ;;
13951 esac
13952 done
13953 else
13954 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13955 See \`config.log' for more details." >&5
13956 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13957 See \`config.log' for more details." >&2;}
13958 { (exit 1); exit 1; }; }
13959
13960 fi
13961
13962 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13963
13964 fi
13965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13966 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13967 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13968 if test "c" = "c"; then
13969 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13970 fi
13971 if test "c" = "cxx"; then
13972 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13973 fi
13974 fi
13975
13976 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13977 unset ac_cv_prog_cc_g
13978 ac_test_CFLAGS=${CFLAGS+set}
13979 ac_save_CFLAGS=$CFLAGS
13980 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13982 if test "${ac_cv_prog_cc_g+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 else
13985 ac_save_c_werror_flag=$ac_c_werror_flag
13986 ac_c_werror_flag=yes
13987 ac_cv_prog_cc_g=no
13988 CFLAGS="-g"
13989 cat >conftest.$ac_ext <<_ACEOF
13990 /* confdefs.h. */
13991 _ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995
13996 int
13997 main ()
13998 {
13999
14000 ;
14001 return 0;
14002 }
14003 _ACEOF
14004 rm -f conftest.$ac_objext
14005 if { (ac_try="$ac_compile"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14009 esac
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_compile") 2>conftest.er1
14012 ac_status=$?
14013 grep -v '^ *+' conftest.er1 >conftest.err
14014 rm -f conftest.er1
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } && {
14018 test -z "$ac_c_werror_flag" ||
14019 test ! -s conftest.err
14020 } && test -s conftest.$ac_objext; then
14021 ac_cv_prog_cc_g=yes
14022 else
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14025
14026 CFLAGS=""
14027 cat >conftest.$ac_ext <<_ACEOF
14028 /* confdefs.h. */
14029 _ACEOF
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033
14034 int
14035 main ()
14036 {
14037
14038 ;
14039 return 0;
14040 }
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047 esac
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14050 ac_status=$?
14051 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14059 :
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14063
14064 ac_c_werror_flag=$ac_save_c_werror_flag
14065 CFLAGS="-g"
14066 cat >conftest.$ac_ext <<_ACEOF
14067 /* confdefs.h. */
14068 _ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072
14073 int
14074 main ()
14075 {
14076
14077 ;
14078 return 0;
14079 }
14080 _ACEOF
14081 rm -f conftest.$ac_objext
14082 if { (ac_try="$ac_compile"
14083 case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14086 esac
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_compile") 2>conftest.er1
14089 ac_status=$?
14090 grep -v '^ *+' conftest.er1 >conftest.err
14091 rm -f conftest.er1
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } && {
14095 test -z "$ac_c_werror_flag" ||
14096 test ! -s conftest.err
14097 } && test -s conftest.$ac_objext; then
14098 ac_cv_prog_cc_g=yes
14099 else
14100 echo "$as_me: failed program was:" >&5
14101 sed 's/^/| /' conftest.$ac_ext >&5
14102
14103
14104 fi
14105
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 fi
14108
14109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14110 fi
14111
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 ac_c_werror_flag=$ac_save_c_werror_flag
14114 fi
14115 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14116 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14117 if test "$ac_test_CFLAGS" = set; then
14118 CFLAGS=$ac_save_CFLAGS
14119 elif test $ac_cv_prog_cc_g = yes; then
14120 if test "$GCC" = yes; then
14121 CFLAGS="-g -O2"
14122 else
14123 CFLAGS="-g"
14124 fi
14125 else
14126 if test "$GCC" = yes; then
14127 CFLAGS="-O2"
14128 else
14129 CFLAGS=
14130 fi
14131 fi
14132 fi
14133 fi
14134
14135 case `uname -s` in
14136 AIX*)
14137 ac_ext=c
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142
14143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14144 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14145 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 cat >conftest.$ac_ext <<_ACEOF
14149 /* confdefs.h. */
14150 _ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154
14155 int
14156 main ()
14157 {
14158 #ifndef __xlC__
14159 choke me
14160 #endif
14161
14162 ;
14163 return 0;
14164 }
14165 _ACEOF
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171 esac
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.$ac_objext; then
14183 bakefile_compiler_xlc=yes
14184 else
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.$ac_ext >&5
14187
14188 bakefile_compiler_xlc=no
14189 fi
14190
14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14193
14194 fi
14195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14196 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14197
14198 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14199 ac_ext=c
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14204
14205
14206 ;;
14207
14208 Darwin)
14209 ac_ext=c
14210 ac_cpp='$CPP $CPPFLAGS'
14211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14214
14215 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14216 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14217 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 else
14220 cat >conftest.$ac_ext <<_ACEOF
14221 /* confdefs.h. */
14222 _ACEOF
14223 cat confdefs.h >>conftest.$ac_ext
14224 cat >>conftest.$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14226
14227 int
14228 main ()
14229 {
14230 #ifndef __MWERKS__
14231 choke me
14232 #endif
14233
14234 ;
14235 return 0;
14236 }
14237 _ACEOF
14238 rm -f conftest.$ac_objext
14239 if { (ac_try="$ac_compile"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14243 esac
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_compile") 2>conftest.er1
14246 ac_status=$?
14247 grep -v '^ *+' conftest.er1 >conftest.err
14248 rm -f conftest.er1
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest.$ac_objext; then
14255 bakefile_compiler_mwerks=yes
14256 else
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14259
14260 bakefile_compiler_mwerks=no
14261 fi
14262
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14265
14266 fi
14267 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14268 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14269
14270 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14271 ac_ext=c
14272 ac_cpp='$CPP $CPPFLAGS'
14273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14276
14277
14278 ac_ext=c
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14283
14284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14286 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 else
14289 cat >conftest.$ac_ext <<_ACEOF
14290 /* confdefs.h. */
14291 _ACEOF
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295
14296 int
14297 main ()
14298 {
14299 #ifndef __xlC__
14300 choke me
14301 #endif
14302
14303 ;
14304 return 0;
14305 }
14306 _ACEOF
14307 rm -f conftest.$ac_objext
14308 if { (ac_try="$ac_compile"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14312 esac
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compile") 2>conftest.er1
14315 ac_status=$?
14316 grep -v '^ *+' conftest.er1 >conftest.err
14317 rm -f conftest.er1
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest.$ac_objext; then
14324 bakefile_compiler_xlc=yes
14325 else
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 bakefile_compiler_xlc=no
14330 fi
14331
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14333 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14334
14335 fi
14336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14337 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14338
14339 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14340 ac_ext=c
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14345
14346
14347 ;;
14348
14349 IRIX*)
14350
14351
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357
14358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 else
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369
14370 int
14371 main ()
14372 {
14373
14374 #ifndef _SGI_COMPILER_VERSION
14375 choke me
14376 #endif
14377
14378 ;
14379 return 0;
14380 }
14381 _ACEOF
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14390 ac_status=$?
14391 grep -v '^ *+' conftest.er1 >conftest.err
14392 rm -f conftest.er1
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14405
14406 fi
14407
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409
14410
14411 fi
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14414 ac_ext=c
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419
14420 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14421 :; SGICC=yes
14422 else
14423 :;
14424 fi
14425
14426
14427 ;;
14428
14429 HP-UX*)
14430
14431
14432 ac_ext=c
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14437
14438 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 else
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449
14450 int
14451 main ()
14452 {
14453
14454 #ifndef __HP_cc
14455 choke me
14456 #endif
14457
14458 ;
14459 return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___HP_cc=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 bakefile_cv_c_compiler___HP_cc=no
14485
14486 fi
14487
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489
14490
14491 fi
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499
14500 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14501 :; HPCC=yes
14502 else
14503 :;
14504 fi
14505
14506
14507 ;;
14508
14509 OSF1)
14510
14511
14512 ac_ext=c
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14517
14518 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 else
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14529
14530 int
14531 main ()
14532 {
14533
14534 #ifndef __DECC
14535 choke me
14536 #endif
14537
14538 ;
14539 return 0;
14540 }
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___DECC=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14563
14564 bakefile_cv_c_compiler___DECC=no
14565
14566 fi
14567
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569
14570
14571 fi
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14574 ac_ext=c
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14579
14580 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14581 :; COMPAQCC=yes
14582 else
14583 :;
14584 fi
14585
14586
14587 ;;
14588
14589 SunOS)
14590
14591
14592 ac_ext=c
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14597
14598 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14600 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609
14610 int
14611 main ()
14612 {
14613
14614 #ifndef __SUNPRO_C
14615 choke me
14616 #endif
14617
14618 ;
14619 return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext
14623 if { (ac_try="$ac_compile"
14624 case "(($ac_try" in
14625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 *) ac_try_echo=$ac_try;;
14627 esac
14628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 (eval "$ac_compile") 2>conftest.er1
14630 ac_status=$?
14631 grep -v '^ *+' conftest.er1 >conftest.err
14632 rm -f conftest.er1
14633 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } && {
14636 test -z "$ac_c_werror_flag" ||
14637 test ! -s conftest.err
14638 } && test -s conftest.$ac_objext; then
14639 bakefile_cv_c_compiler___SUNPRO_C=yes
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14643
14644 bakefile_cv_c_compiler___SUNPRO_C=no
14645
14646 fi
14647
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649
14650
14651 fi
14652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14653 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14654 ac_ext=c
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14659
14660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14661 :; SUNCC=yes
14662 else
14663 :;
14664 fi
14665
14666
14667 ;;
14668 esac
14669 fi
14670
14671
14672
14673 ac_ext=c
14674 ac_cpp='$CPP $CPPFLAGS'
14675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14678 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14680 # On Suns, sometimes $CPP names a directory.
14681 if test -n "$CPP" && test -d "$CPP"; then
14682 CPP=
14683 fi
14684 if test -z "$CPP"; then
14685 if test "${ac_cv_prog_CPP+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 else
14688 # Double quotes because CPP needs to be expanded
14689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14690 do
14691 ac_preproc_ok=false
14692 for ac_c_preproc_warn_flag in '' yes
14693 do
14694 # Use a header file that comes with gcc, so configuring glibc
14695 # with a fresh cross-compiler works.
14696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14697 # <limits.h> exists even on freestanding compilers.
14698 # On the NeXT, cc -E runs the code through the compiler's parser,
14699 # not just through cpp. "Syntax error" is here to catch this case.
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 #ifdef __STDC__
14707 # include <limits.h>
14708 #else
14709 # include <assert.h>
14710 #endif
14711 Syntax error
14712 _ACEOF
14713 if { (ac_try="$ac_cpp conftest.$ac_ext"
14714 case "(($ac_try" in
14715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14717 esac
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14720 ac_status=$?
14721 grep -v '^ *+' conftest.er1 >conftest.err
14722 rm -f conftest.er1
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } >/dev/null && {
14726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14727 test ! -s conftest.err
14728 }; then
14729 :
14730 else
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.$ac_ext >&5
14733
14734 # Broken: fails on valid input.
14735 continue
14736 fi
14737
14738 rm -f conftest.err conftest.$ac_ext
14739
14740 # OK, works on sane cases. Now check whether nonexistent headers
14741 # can be detected and how.
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <ac_nonexistent.h>
14749 _ACEOF
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev/null && {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 }; then
14766 # Broken: success on invalid input.
14767 continue
14768 else
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.$ac_ext >&5
14771
14772 # Passes both tests.
14773 ac_preproc_ok=:
14774 break
14775 fi
14776
14777 rm -f conftest.err conftest.$ac_ext
14778
14779 done
14780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14781 rm -f conftest.err conftest.$ac_ext
14782 if $ac_preproc_ok; then
14783 break
14784 fi
14785
14786 done
14787 ac_cv_prog_CPP=$CPP
14788
14789 fi
14790 CPP=$ac_cv_prog_CPP
14791 else
14792 ac_cv_prog_CPP=$CPP
14793 fi
14794 { echo "$as_me:$LINENO: result: $CPP" >&5
14795 echo "${ECHO_T}$CPP" >&6; }
14796 ac_preproc_ok=false
14797 for ac_c_preproc_warn_flag in '' yes
14798 do
14799 # Use a header file that comes with gcc, so configuring glibc
14800 # with a fresh cross-compiler works.
14801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14802 # <limits.h> exists even on freestanding compilers.
14803 # On the NeXT, cc -E runs the code through the compiler's parser,
14804 # not just through cpp. "Syntax error" is here to catch this case.
14805 cat >conftest.$ac_ext <<_ACEOF
14806 /* confdefs.h. */
14807 _ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 #ifdef __STDC__
14812 # include <limits.h>
14813 #else
14814 # include <assert.h>
14815 #endif
14816 Syntax error
14817 _ACEOF
14818 if { (ac_try="$ac_cpp conftest.$ac_ext"
14819 case "(($ac_try" in
14820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14821 *) ac_try_echo=$ac_try;;
14822 esac
14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14825 ac_status=$?
14826 grep -v '^ *+' conftest.er1 >conftest.err
14827 rm -f conftest.er1
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } >/dev/null && {
14831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14833 }; then
14834 :
14835 else
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14838
14839 # Broken: fails on valid input.
14840 continue
14841 fi
14842
14843 rm -f conftest.err conftest.$ac_ext
14844
14845 # OK, works on sane cases. Now check whether nonexistent headers
14846 # can be detected and how.
14847 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h. */
14849 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 #include <ac_nonexistent.h>
14854 _ACEOF
14855 if { (ac_try="$ac_cpp conftest.$ac_ext"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14859 esac
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } >/dev/null && {
14868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14870 }; then
14871 # Broken: success on invalid input.
14872 continue
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 # Passes both tests.
14878 ac_preproc_ok=:
14879 break
14880 fi
14881
14882 rm -f conftest.err conftest.$ac_ext
14883
14884 done
14885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14886 rm -f conftest.err conftest.$ac_ext
14887 if $ac_preproc_ok; then
14888 :
14889 else
14890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14891 See \`config.log' for more details." >&5
14892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14893 See \`config.log' for more details." >&2;}
14894 { (exit 1); exit 1; }; }
14895 fi
14896
14897 ac_ext=c
14898 ac_cpp='$CPP $CPPFLAGS'
14899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902
14903
14904 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14905 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_GREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 # Extract the first word of "grep ggrep" to use in msg output
14910 if test -z "$GREP"; then
14911 set dummy grep ggrep; ac_prog_name=$2
14912 if test "${ac_cv_path_GREP+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 else
14915 ac_path_GREP_found=false
14916 # Loop through the user's path and test for each of PROGNAME-LIST
14917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14919 do
14920 IFS=$as_save_IFS
14921 test -z "$as_dir" && as_dir=.
14922 for ac_prog in grep ggrep; do
14923 for ac_exec_ext in '' $ac_executable_extensions; do
14924 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14925 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14926 # Check for GNU ac_path_GREP and select it if it is found.
14927 # Check for GNU $ac_path_GREP
14928 case `"$ac_path_GREP" --version 2>&1` in
14929 *GNU*)
14930 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14931 *)
14932 ac_count=0
14933 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14934 while :
14935 do
14936 cat "conftest.in" "conftest.in" >"conftest.tmp"
14937 mv "conftest.tmp" "conftest.in"
14938 cp "conftest.in" "conftest.nl"
14939 echo 'GREP' >> "conftest.nl"
14940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14941 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14942 ac_count=`expr $ac_count + 1`
14943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14944 # Best one so far, save it but keep looking for a better one
14945 ac_cv_path_GREP="$ac_path_GREP"
14946 ac_path_GREP_max=$ac_count
14947 fi
14948 # 10*(2^10) chars as input seems more than enough
14949 test $ac_count -gt 10 && break
14950 done
14951 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14952 esac
14953
14954
14955 $ac_path_GREP_found && break 3
14956 done
14957 done
14958
14959 done
14960 IFS=$as_save_IFS
14961
14962
14963 fi
14964
14965 GREP="$ac_cv_path_GREP"
14966 if test -z "$GREP"; then
14967 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14969 { (exit 1); exit 1; }; }
14970 fi
14971
14972 else
14973 ac_cv_path_GREP=$GREP
14974 fi
14975
14976
14977 fi
14978 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14979 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14980 GREP="$ac_cv_path_GREP"
14981
14982
14983 { echo "$as_me:$LINENO: checking for egrep" >&5
14984 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14985 if test "${ac_cv_path_EGREP+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 else
14988 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14989 then ac_cv_path_EGREP="$GREP -E"
14990 else
14991 # Extract the first word of "egrep" to use in msg output
14992 if test -z "$EGREP"; then
14993 set dummy egrep; ac_prog_name=$2
14994 if test "${ac_cv_path_EGREP+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 ac_path_EGREP_found=false
14998 # Loop through the user's path and test for each of PROGNAME-LIST
14999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15000 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15001 do
15002 IFS=$as_save_IFS
15003 test -z "$as_dir" && as_dir=.
15004 for ac_prog in egrep; do
15005 for ac_exec_ext in '' $ac_executable_extensions; do
15006 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15007 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15008 # Check for GNU ac_path_EGREP and select it if it is found.
15009 # Check for GNU $ac_path_EGREP
15010 case `"$ac_path_EGREP" --version 2>&1` in
15011 *GNU*)
15012 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15013 *)
15014 ac_count=0
15015 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15016 while :
15017 do
15018 cat "conftest.in" "conftest.in" >"conftest.tmp"
15019 mv "conftest.tmp" "conftest.in"
15020 cp "conftest.in" "conftest.nl"
15021 echo 'EGREP' >> "conftest.nl"
15022 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15023 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15024 ac_count=`expr $ac_count + 1`
15025 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15026 # Best one so far, save it but keep looking for a better one
15027 ac_cv_path_EGREP="$ac_path_EGREP"
15028 ac_path_EGREP_max=$ac_count
15029 fi
15030 # 10*(2^10) chars as input seems more than enough
15031 test $ac_count -gt 10 && break
15032 done
15033 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15034 esac
15035
15036
15037 $ac_path_EGREP_found && break 3
15038 done
15039 done
15040
15041 done
15042 IFS=$as_save_IFS
15043
15044
15045 fi
15046
15047 EGREP="$ac_cv_path_EGREP"
15048 if test -z "$EGREP"; then
15049 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15050 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15051 { (exit 1); exit 1; }; }
15052 fi
15053
15054 else
15055 ac_cv_path_EGREP=$EGREP
15056 fi
15057
15058
15059 fi
15060 fi
15061 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15062 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15063 EGREP="$ac_cv_path_EGREP"
15064
15065
15066 if test $ac_cv_c_compiler_gnu = yes; then
15067 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15068 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 ac_pattern="Autoconf.*'x'"
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 #include <sgtty.h>
15080 Autoconf TIOCGETP
15081 _ACEOF
15082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15083 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15084 ac_cv_prog_gcc_traditional=yes
15085 else
15086 ac_cv_prog_gcc_traditional=no
15087 fi
15088 rm -f conftest*
15089
15090
15091 if test $ac_cv_prog_gcc_traditional = no; then
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 #include <termio.h>
15099 Autoconf TCGETA
15100 _ACEOF
15101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15102 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15103 ac_cv_prog_gcc_traditional=yes
15104 fi
15105 rm -f conftest*
15106
15107 fi
15108 fi
15109 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15110 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15111 if test $ac_cv_prog_gcc_traditional = yes; then
15112 CC="$CC -traditional"
15113 fi
15114 fi
15115
15116
15117 CXXFLAGS=${CXXFLAGS:=}
15118
15119
15120
15121 ac_ext=cpp
15122 ac_cpp='$CXXCPP $CPPFLAGS'
15123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15126 if test -z "$CXX"; then
15127 if test -n "$CCC"; then
15128 CXX=$CCC
15129 else
15130 if test -n "$ac_tool_prefix"; then
15131 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15132 do
15133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_CXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 if test -n "$CXX"; then
15141 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15142 else
15143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15144 for as_dir in $PATH
15145 do
15146 IFS=$as_save_IFS
15147 test -z "$as_dir" && as_dir=.
15148 for ac_exec_ext in '' $ac_executable_extensions; do
15149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15150 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15152 break 2
15153 fi
15154 done
15155 done
15156 IFS=$as_save_IFS
15157
15158 fi
15159 fi
15160 CXX=$ac_cv_prog_CXX
15161 if test -n "$CXX"; then
15162 { echo "$as_me:$LINENO: result: $CXX" >&5
15163 echo "${ECHO_T}$CXX" >&6; }
15164 else
15165 { echo "$as_me:$LINENO: result: no" >&5
15166 echo "${ECHO_T}no" >&6; }
15167 fi
15168
15169
15170 test -n "$CXX" && break
15171 done
15172 fi
15173 if test -z "$CXX"; then
15174 ac_ct_CXX=$CXX
15175 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15176 do
15177 # Extract the first word of "$ac_prog", so it can be a program name with args.
15178 set dummy $ac_prog; ac_word=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$ac_ct_CXX"; then
15185 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_ac_ct_CXX="$ac_prog"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200 IFS=$as_save_IFS
15201
15202 fi
15203 fi
15204 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15205 if test -n "$ac_ct_CXX"; then
15206 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15207 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15208 else
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15211 fi
15212
15213
15214 test -n "$ac_ct_CXX" && break
15215 done
15216
15217 if test "x$ac_ct_CXX" = x; then
15218 CXX="g++"
15219 else
15220 case $cross_compiling:$ac_tool_warned in
15221 yes:)
15222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15223 whose name does not start with the host triplet. If you think this
15224 configuration is useful to you, please write to autoconf@gnu.org." >&5
15225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15226 whose name does not start with the host triplet. If you think this
15227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15228 ac_tool_warned=yes ;;
15229 esac
15230 CXX=$ac_ct_CXX
15231 fi
15232 fi
15233
15234 fi
15235 fi
15236 # Provide some information about the compiler.
15237 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15238 ac_compiler=`set X $ac_compile; echo $2`
15239 { (ac_try="$ac_compiler --version >&5"
15240 case "(($ac_try" in
15241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15243 esac
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_compiler --version >&5") 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }
15249 { (ac_try="$ac_compiler -v >&5"
15250 case "(($ac_try" in
15251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15252 *) ac_try_echo=$ac_try;;
15253 esac
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255 (eval "$ac_compiler -v >&5") 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }
15259 { (ac_try="$ac_compiler -V >&5"
15260 case "(($ac_try" in
15261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15263 esac
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compiler -V >&5") 2>&5
15266 ac_status=$?
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }
15269
15270 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15271 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15272 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 else
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281
15282 int
15283 main ()
15284 {
15285 #ifndef __GNUC__
15286 choke me
15287 #endif
15288
15289 ;
15290 return 0;
15291 }
15292 _ACEOF
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15298 esac
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_cxx_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_compiler_gnu=yes
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15314
15315 ac_compiler_gnu=no
15316 fi
15317
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15320
15321 fi
15322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15323 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15324 GXX=`test $ac_compiler_gnu = yes && echo yes`
15325 ac_test_CXXFLAGS=${CXXFLAGS+set}
15326 ac_save_CXXFLAGS=$CXXFLAGS
15327 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15328 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15329 if test "${ac_cv_prog_cxx_g+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15333 ac_cxx_werror_flag=yes
15334 ac_cv_prog_cxx_g=no
15335 CXXFLAGS="-g"
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342
15343 int
15344 main ()
15345 {
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_cxx_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 ac_cv_prog_cxx_g=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 CXXFLAGS=""
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380
15381 int
15382 main ()
15383 {
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15394 esac
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_cxx_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest.$ac_objext; then
15406 :
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15410
15411 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15412 CXXFLAGS="-g"
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423
15424 ;
15425 return 0;
15426 }
15427 _ACEOF
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15433 esac
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15436 ac_status=$?
15437 grep -v '^ *+' conftest.er1 >conftest.err
15438 rm -f conftest.er1
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_cxx_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 ac_cv_prog_cxx_g=yes
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450
15451 fi
15452
15453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455
15456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15457 fi
15458
15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15460 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15461 fi
15462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15463 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15464 if test "$ac_test_CXXFLAGS" = set; then
15465 CXXFLAGS=$ac_save_CXXFLAGS
15466 elif test $ac_cv_prog_cxx_g = yes; then
15467 if test "$GXX" = yes; then
15468 CXXFLAGS="-g -O2"
15469 else
15470 CXXFLAGS="-g"
15471 fi
15472 else
15473 if test "$GXX" = yes; then
15474 CXXFLAGS="-O2"
15475 else
15476 CXXFLAGS=
15477 fi
15478 fi
15479 ac_ext=c
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484
15485
15486
15487 ac_ext=cpp
15488 ac_cpp='$CXXCPP $CPPFLAGS'
15489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15492
15493 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15494 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15495 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 else
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504
15505 int
15506 main ()
15507 {
15508
15509 #ifndef __INTEL_COMPILER
15510 choke me
15511 #endif
15512
15513 ;
15514 return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521 *) ac_try_echo=$ac_try;;
15522 esac
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_cxx_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.$ac_objext; then
15534 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15540
15541 fi
15542
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544
15545
15546 fi
15547 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15549 ac_ext=c
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554
15555 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15556 :; INTELCXX=yes
15557 else
15558 :;
15559 fi
15560
15561
15562 if test "x$GCXX" != "xyes"; then
15563 if test "xCXX" = "xC"; then
15564 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15565 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_exto+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575
15576 int
15577 main ()
15578 {
15579
15580 ;
15581 return 0;
15582 }
15583 _ACEOF
15584 rm -f conftest.$ac_objext conftest.$ac_ext.o
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; then
15590 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15591 case $ac_file in
15592 conftest.$ac_ext.o)
15593 bakefile_cv_c_exto="-ext o"
15594 ;;
15595 *)
15596 ;;
15597 esac
15598 done
15599 else
15600 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15601 See \`config.log' for more details." >&5
15602 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15603 See \`config.log' for more details." >&2;}
15604 { (exit 1); exit 1; }; }
15605
15606 fi
15607
15608 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15609
15610 fi
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15613 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15614 if test "c" = "c"; then
15615 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15616 fi
15617 if test "c" = "cxx"; then
15618 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15619 fi
15620 fi
15621
15622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15623 unset ac_cv_prog_cc_g
15624 ac_test_CFLAGS=${CFLAGS+set}
15625 ac_save_CFLAGS=$CFLAGS
15626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15628 if test "${ac_cv_prog_cc_g+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 else
15631 ac_save_c_werror_flag=$ac_c_werror_flag
15632 ac_c_werror_flag=yes
15633 ac_cv_prog_cc_g=no
15634 CFLAGS="-g"
15635 cat >conftest.$ac_ext <<_ACEOF
15636 /* confdefs.h. */
15637 _ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641
15642 int
15643 main ()
15644 {
15645
15646 ;
15647 return 0;
15648 }
15649 _ACEOF
15650 rm -f conftest.$ac_objext
15651 if { (ac_try="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15655 esac
15656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15658 ac_status=$?
15659 grep -v '^ *+' conftest.er1 >conftest.err
15660 rm -f conftest.er1
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_cv_prog_cc_g=yes
15668 else
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15671
15672 CFLAGS=""
15673 cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679
15680 int
15681 main ()
15682 {
15683
15684 ;
15685 return 0;
15686 }
15687 _ACEOF
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15692 *) ac_try_echo=$ac_try;;
15693 esac
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15696 ac_status=$?
15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } && {
15702 test -z "$ac_c_werror_flag" ||
15703 test ! -s conftest.err
15704 } && test -s conftest.$ac_objext; then
15705 :
15706 else
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15709
15710 ac_c_werror_flag=$ac_save_c_werror_flag
15711 CFLAGS="-g"
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718
15719 int
15720 main ()
15721 {
15722
15723 ;
15724 return 0;
15725 }
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (ac_try="$ac_compile"
15729 case "(($ac_try" in
15730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15732 esac
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_compile") 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest.$ac_objext; then
15744 ac_cv_prog_cc_g=yes
15745 else
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15748
15749
15750 fi
15751
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753 fi
15754
15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15756 fi
15757
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_c_werror_flag=$ac_save_c_werror_flag
15760 fi
15761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15763 if test "$ac_test_CFLAGS" = set; then
15764 CFLAGS=$ac_save_CFLAGS
15765 elif test $ac_cv_prog_cc_g = yes; then
15766 if test "$GCC" = yes; then
15767 CFLAGS="-g -O2"
15768 else
15769 CFLAGS="-g"
15770 fi
15771 else
15772 if test "$GCC" = yes; then
15773 CFLAGS="-O2"
15774 else
15775 CFLAGS=
15776 fi
15777 fi
15778 fi
15779 fi
15780
15781 case `uname -s` in
15782 AIX*)
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15788
15789 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15790 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15791 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 else
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800
15801 int
15802 main ()
15803 {
15804 #ifndef __xlC__
15805 choke me
15806 #endif
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15817 esac
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_cxx_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.$ac_objext; then
15829 bakefile_compiler_xlc=yes
15830 else
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.$ac_ext >&5
15833
15834 bakefile_compiler_xlc=no
15835 fi
15836
15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15838 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15839
15840 fi
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15842 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15843
15844 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15845 ac_ext=c
15846 ac_cpp='$CPP $CPPFLAGS'
15847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15850
15851
15852 ;;
15853
15854 Darwin)
15855 ac_ext=cpp
15856 ac_cpp='$CXXCPP $CPPFLAGS'
15857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15860
15861 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15862 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15863 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 else
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872
15873 int
15874 main ()
15875 {
15876 #ifndef __MWERKS__
15877 choke me
15878 #endif
15879
15880 ;
15881 return 0;
15882 }
15883 _ACEOF
15884 rm -f conftest.$ac_objext
15885 if { (ac_try="$ac_compile"
15886 case "(($ac_try" in
15887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15889 esac
15890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_compile") 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_cxx_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest.$ac_objext; then
15901 bakefile_compiler_mwerks=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 bakefile_compiler_mwerks=no
15907 fi
15908
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15911
15912 fi
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15914 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15915
15916 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15917 ac_ext=c
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15922
15923
15924 ac_ext=cpp
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15929
15930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15931 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15932 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941
15942 int
15943 main ()
15944 {
15945 #ifndef __xlC__
15946 choke me
15947 #endif
15948
15949 ;
15950 return 0;
15951 }
15952 _ACEOF
15953 rm -f conftest.$ac_objext
15954 if { (ac_try="$ac_compile"
15955 case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15958 esac
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_compile") 2>conftest.er1
15961 ac_status=$?
15962 grep -v '^ *+' conftest.er1 >conftest.err
15963 rm -f conftest.er1
15964 cat conftest.err >&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && {
15967 test -z "$ac_cxx_werror_flag" ||
15968 test ! -s conftest.err
15969 } && test -s conftest.$ac_objext; then
15970 bakefile_compiler_xlc=yes
15971 else
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15974
15975 bakefile_compiler_xlc=no
15976 fi
15977
15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15980
15981 fi
15982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15983 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15984
15985 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15986 ac_ext=c
15987 ac_cpp='$CPP $CPPFLAGS'
15988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15991
15992
15993 ;;
15994
15995 IRIX*)
15996
15997
15998 ac_ext=cpp
15999 ac_cpp='$CXXCPP $CPPFLAGS'
16000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16003
16004 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 cat >conftest.$ac_ext <<_ACEOF
16010 /* confdefs.h. */
16011 _ACEOF
16012 cat confdefs.h >>conftest.$ac_ext
16013 cat >>conftest.$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015
16016 int
16017 main ()
16018 {
16019
16020 #ifndef _SGI_COMPILER_VERSION
16021 choke me
16022 #endif
16023
16024 ;
16025 return 0;
16026 }
16027 _ACEOF
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16033 esac
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16051
16052 fi
16053
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16055
16056
16057 fi
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16067 :; SGICXX=yes
16068 else
16069 :;
16070 fi
16071
16072
16073 ;;
16074
16075 HP-UX*)
16076
16077
16078 ac_ext=cpp
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16083
16084 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 else
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095
16096 int
16097 main ()
16098 {
16099
16100 #ifndef __HP_aCC
16101 choke me
16102 #endif
16103
16104 ;
16105 return 0;
16106 }
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16113 esac
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.$ac_objext; then
16125 bakefile_cv_cxx_compiler___HP_aCC=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 bakefile_cv_cxx_compiler___HP_aCC=no
16131
16132 fi
16133
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135
16136
16137 fi
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16140 ac_ext=c
16141 ac_cpp='$CPP $CPPFLAGS'
16142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16145
16146 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16147 :; HPCXX=yes
16148 else
16149 :;
16150 fi
16151
16152
16153 ;;
16154
16155 OSF1)
16156
16157
16158 ac_ext=cpp
16159 ac_cpp='$CXXCPP $CPPFLAGS'
16160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16163
16164 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 else
16169 cat >conftest.$ac_ext <<_ACEOF
16170 /* confdefs.h. */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175
16176 int
16177 main ()
16178 {
16179
16180 #ifndef __DECCXX
16181 choke me
16182 #endif
16183
16184 ;
16185 return 0;
16186 }
16187 _ACEOF
16188 rm -f conftest.$ac_objext
16189 if { (ac_try="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16193 esac
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___DECCXX=yes
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 bakefile_cv_cxx_compiler___DECCXX=no
16211
16212 fi
16213
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16215
16216
16217 fi
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16220 ac_ext=c
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16225
16226 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16227 :; COMPAQCXX=yes
16228 else
16229 :;
16230 fi
16231
16232
16233 ;;
16234
16235 SunOS)
16236
16237
16238 ac_ext=cpp
16239 ac_cpp='$CXXCPP $CPPFLAGS'
16240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16243
16244 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16245 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16246 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255
16256 int
16257 main ()
16258 {
16259
16260 #ifndef __SUNPRO_CC
16261 choke me
16262 #endif
16263
16264 ;
16265 return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && {
16282 test -z "$ac_cxx_werror_flag" ||
16283 test ! -s conftest.err
16284 } && test -s conftest.$ac_objext; then
16285 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16286 else
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16291
16292 fi
16293
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295
16296
16297 fi
16298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16300 ac_ext=c
16301 ac_cpp='$CPP $CPPFLAGS'
16302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16305
16306 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16307 :; SUNCXX=yes
16308 else
16309 :;
16310 fi
16311
16312
16313 ;;
16314 esac
16315 fi
16316
16317
16318
16319 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16320 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16321 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16322 { (exit 1); exit 1; }; }
16323 fi
16324
16325 if test -n "$ac_tool_prefix"; then
16326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16330 if test "${ac_cv_prog_RANLIB+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 if test -n "$RANLIB"; then
16334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16335 else
16336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16337 for as_dir in $PATH
16338 do
16339 IFS=$as_save_IFS
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16345 break 2
16346 fi
16347 done
16348 done
16349 IFS=$as_save_IFS
16350
16351 fi
16352 fi
16353 RANLIB=$ac_cv_prog_RANLIB
16354 if test -n "$RANLIB"; then
16355 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16356 echo "${ECHO_T}$RANLIB" >&6; }
16357 else
16358 { echo "$as_me:$LINENO: result: no" >&5
16359 echo "${ECHO_T}no" >&6; }
16360 fi
16361
16362
16363 fi
16364 if test -z "$ac_cv_prog_RANLIB"; then
16365 ac_ct_RANLIB=$RANLIB
16366 # Extract the first word of "ranlib", so it can be a program name with args.
16367 set dummy ranlib; ac_word=$2
16368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 else
16373 if test -n "$ac_ct_RANLIB"; then
16374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16375 else
16376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16377 for as_dir in $PATH
16378 do
16379 IFS=$as_save_IFS
16380 test -z "$as_dir" && as_dir=.
16381 for ac_exec_ext in '' $ac_executable_extensions; do
16382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16383 ac_cv_prog_ac_ct_RANLIB="ranlib"
16384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16385 break 2
16386 fi
16387 done
16388 done
16389 IFS=$as_save_IFS
16390
16391 fi
16392 fi
16393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16394 if test -n "$ac_ct_RANLIB"; then
16395 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16396 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16397 else
16398 { echo "$as_me:$LINENO: result: no" >&5
16399 echo "${ECHO_T}no" >&6; }
16400 fi
16401
16402 if test "x$ac_ct_RANLIB" = x; then
16403 RANLIB=":"
16404 else
16405 case $cross_compiling:$ac_tool_warned in
16406 yes:)
16407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16408 whose name does not start with the host triplet. If you think this
16409 configuration is useful to you, please write to autoconf@gnu.org." >&5
16410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16411 whose name does not start with the host triplet. If you think this
16412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16413 ac_tool_warned=yes ;;
16414 esac
16415 RANLIB=$ac_ct_RANLIB
16416 fi
16417 else
16418 RANLIB="$ac_cv_prog_RANLIB"
16419 fi
16420
16421
16422 if test "x$SUNCXX" != xyes; then
16423 if test -n "$ac_tool_prefix"; then
16424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16425 set dummy ${ac_tool_prefix}ar; ac_word=$2
16426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16428 if test "${ac_cv_prog_AR+set}" = set; then
16429 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 else
16431 if test -n "$AR"; then
16432 ac_cv_prog_AR="$AR" # Let the user override the test.
16433 else
16434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16435 for as_dir in $PATH
16436 do
16437 IFS=$as_save_IFS
16438 test -z "$as_dir" && as_dir=.
16439 for ac_exec_ext in '' $ac_executable_extensions; do
16440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16441 ac_cv_prog_AR="${ac_tool_prefix}ar"
16442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16443 break 2
16444 fi
16445 done
16446 done
16447 IFS=$as_save_IFS
16448
16449 fi
16450 fi
16451 AR=$ac_cv_prog_AR
16452 if test -n "$AR"; then
16453 { echo "$as_me:$LINENO: result: $AR" >&5
16454 echo "${ECHO_T}$AR" >&6; }
16455 else
16456 { echo "$as_me:$LINENO: result: no" >&5
16457 echo "${ECHO_T}no" >&6; }
16458 fi
16459
16460
16461 fi
16462 if test -z "$ac_cv_prog_AR"; then
16463 ac_ct_AR=$AR
16464 # Extract the first word of "ar", so it can be a program name with args.
16465 set dummy ar; ac_word=$2
16466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16469 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 else
16471 if test -n "$ac_ct_AR"; then
16472 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16473 else
16474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16475 for as_dir in $PATH
16476 do
16477 IFS=$as_save_IFS
16478 test -z "$as_dir" && as_dir=.
16479 for ac_exec_ext in '' $ac_executable_extensions; do
16480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16481 ac_cv_prog_ac_ct_AR="ar"
16482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16483 break 2
16484 fi
16485 done
16486 done
16487 IFS=$as_save_IFS
16488
16489 fi
16490 fi
16491 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16492 if test -n "$ac_ct_AR"; then
16493 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16494 echo "${ECHO_T}$ac_ct_AR" >&6; }
16495 else
16496 { echo "$as_me:$LINENO: result: no" >&5
16497 echo "${ECHO_T}no" >&6; }
16498 fi
16499
16500 if test "x$ac_ct_AR" = x; then
16501 AR=""
16502 else
16503 case $cross_compiling:$ac_tool_warned in
16504 yes:)
16505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16506 whose name does not start with the host triplet. If you think this
16507 configuration is useful to you, please write to autoconf@gnu.org." >&5
16508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16509 whose name does not start with the host triplet. If you think this
16510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16511 ac_tool_warned=yes ;;
16512 esac
16513 AR=$ac_ct_AR
16514 fi
16515 else
16516 AR="$ac_cv_prog_AR"
16517 fi
16518
16519 if test "x$AR" = "x" ; then
16520 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16521 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16522 { (exit 1); exit 1; }; }
16523 fi
16524 fi
16525
16526 # Find a good install program. We prefer a C program (faster),
16527 # so one script is as good as another. But avoid the broken or
16528 # incompatible versions:
16529 # SysV /etc/install, /usr/sbin/install
16530 # SunOS /usr/etc/install
16531 # IRIX /sbin/install
16532 # AIX /bin/install
16533 # AmigaOS /C/install, which installs bootblocks on floppy discs
16534 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16537 # OS/2's system install, which has a completely different semantic
16538 # ./install, which can be erroneously created by make from ./install.sh.
16539 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16540 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16541 if test -z "$INSTALL"; then
16542 if test "${ac_cv_path_install+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16544 else
16545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16546 for as_dir in $PATH
16547 do
16548 IFS=$as_save_IFS
16549 test -z "$as_dir" && as_dir=.
16550 # Account for people who put trailing slashes in PATH elements.
16551 case $as_dir/ in
16552 ./ | .// | /cC/* | \
16553 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16554 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16555 /usr/ucb/* ) ;;
16556 *)
16557 # OSF1 and SCO ODT 3.0 have their own names for install.
16558 # Don't use installbsd from OSF since it installs stuff as root
16559 # by default.
16560 for ac_prog in ginstall scoinst install; do
16561 for ac_exec_ext in '' $ac_executable_extensions; do
16562 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16563 if test $ac_prog = install &&
16564 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16565 # AIX install. It has an incompatible calling convention.
16566 :
16567 elif test $ac_prog = install &&
16568 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16569 # program-specific install script used by HP pwplus--don't use.
16570 :
16571 else
16572 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16573 break 3
16574 fi
16575 fi
16576 done
16577 done
16578 ;;
16579 esac
16580 done
16581 IFS=$as_save_IFS
16582
16583
16584 fi
16585 if test "${ac_cv_path_install+set}" = set; then
16586 INSTALL=$ac_cv_path_install
16587 else
16588 # As a last resort, use the slow shell script. Don't cache a
16589 # value for INSTALL within a source directory, because that will
16590 # break other packages using the cache if that directory is
16591 # removed, or if the value is a relative name.
16592 INSTALL=$ac_install_sh
16593 fi
16594 fi
16595 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16596 echo "${ECHO_T}$INSTALL" >&6; }
16597
16598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16599 # It thinks the first close brace ends the variable substitution.
16600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16601
16602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16603
16604 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16605
16606
16607 case ${INSTALL} in
16608 /* ) # Absolute
16609 ;;
16610 ?:* ) # Drive letter, considered as absolute.
16611 ;;
16612 *)
16613 INSTALL=`pwd`/${INSTALL} ;;
16614 esac
16615
16616
16617 case "${host}" in
16618
16619 *-*-darwin* )
16620 INSTALL_PROGRAM="cp -fp"
16621 INSTALL_DATA="cp -fp"
16622 ;;
16623 *)
16624 ;;
16625 esac
16626
16627 if test -n "$ac_tool_prefix"; then
16628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16629 set dummy ${ac_tool_prefix}strip; ac_word=$2
16630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16632 if test "${ac_cv_prog_STRIP+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635 if test -n "$STRIP"; then
16636 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16637 else
16638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16639 for as_dir in $PATH
16640 do
16641 IFS=$as_save_IFS
16642 test -z "$as_dir" && as_dir=.
16643 for ac_exec_ext in '' $ac_executable_extensions; do
16644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16645 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16647 break 2
16648 fi
16649 done
16650 done
16651 IFS=$as_save_IFS
16652
16653 fi
16654 fi
16655 STRIP=$ac_cv_prog_STRIP
16656 if test -n "$STRIP"; then
16657 { echo "$as_me:$LINENO: result: $STRIP" >&5
16658 echo "${ECHO_T}$STRIP" >&6; }
16659 else
16660 { echo "$as_me:$LINENO: result: no" >&5
16661 echo "${ECHO_T}no" >&6; }
16662 fi
16663
16664
16665 fi
16666 if test -z "$ac_cv_prog_STRIP"; then
16667 ac_ct_STRIP=$STRIP
16668 # Extract the first word of "strip", so it can be a program name with args.
16669 set dummy strip; ac_word=$2
16670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675 if test -n "$ac_ct_STRIP"; then
16676 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16677 else
16678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16679 for as_dir in $PATH
16680 do
16681 IFS=$as_save_IFS
16682 test -z "$as_dir" && as_dir=.
16683 for ac_exec_ext in '' $ac_executable_extensions; do
16684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16685 ac_cv_prog_ac_ct_STRIP="strip"
16686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16687 break 2
16688 fi
16689 done
16690 done
16691 IFS=$as_save_IFS
16692
16693 fi
16694 fi
16695 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16696 if test -n "$ac_ct_STRIP"; then
16697 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16698 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16699 else
16700 { echo "$as_me:$LINENO: result: no" >&5
16701 echo "${ECHO_T}no" >&6; }
16702 fi
16703
16704 if test "x$ac_ct_STRIP" = x; then
16705 STRIP="true"
16706 else
16707 case $cross_compiling:$ac_tool_warned in
16708 yes:)
16709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16710 whose name does not start with the host triplet. If you think this
16711 configuration is useful to you, please write to autoconf@gnu.org." >&5
16712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16713 whose name does not start with the host triplet. If you think this
16714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16715 ac_tool_warned=yes ;;
16716 esac
16717 STRIP=$ac_ct_STRIP
16718 fi
16719 else
16720 STRIP="$ac_cv_prog_STRIP"
16721 fi
16722
16723
16724 if test "$wxUSE_WINE" = "yes"; then
16725 if test -n "$ac_tool_prefix"; then
16726 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16727 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 if test -n "$WINDRES"; then
16734 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16735 else
16736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16737 for as_dir in $PATH
16738 do
16739 IFS=$as_save_IFS
16740 test -z "$as_dir" && as_dir=.
16741 for ac_exec_ext in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16745 break 2
16746 fi
16747 done
16748 done
16749 IFS=$as_save_IFS
16750
16751 fi
16752 fi
16753 WINDRES=$ac_cv_prog_WINDRES
16754 if test -n "$WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16756 echo "${ECHO_T}$WINDRES" >&6; }
16757 else
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16760 fi
16761
16762
16763 fi
16764 if test -z "$ac_cv_prog_WINDRES"; then
16765 ac_ct_WINDRES=$WINDRES
16766 # Extract the first word of "wrc", so it can be a program name with args.
16767 set dummy wrc; ac_word=$2
16768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16770 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 else
16773 if test -n "$ac_ct_WINDRES"; then
16774 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16775 else
16776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16777 for as_dir in $PATH
16778 do
16779 IFS=$as_save_IFS
16780 test -z "$as_dir" && as_dir=.
16781 for ac_exec_ext in '' $ac_executable_extensions; do
16782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16783 ac_cv_prog_ac_ct_WINDRES="wrc"
16784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16785 break 2
16786 fi
16787 done
16788 done
16789 IFS=$as_save_IFS
16790
16791 fi
16792 fi
16793 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16794 if test -n "$ac_ct_WINDRES"; then
16795 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16796 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16797 else
16798 { echo "$as_me:$LINENO: result: no" >&5
16799 echo "${ECHO_T}no" >&6; }
16800 fi
16801
16802 if test "x$ac_ct_WINDRES" = x; then
16803 WINDRES=""
16804 else
16805 case $cross_compiling:$ac_tool_warned in
16806 yes:)
16807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16808 whose name does not start with the host triplet. If you think this
16809 configuration is useful to you, please write to autoconf@gnu.org." >&5
16810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16811 whose name does not start with the host triplet. If you think this
16812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16813 ac_tool_warned=yes ;;
16814 esac
16815 WINDRES=$ac_ct_WINDRES
16816 fi
16817 else
16818 WINDRES="$ac_cv_prog_WINDRES"
16819 fi
16820
16821 RESCOMP="$WINDRES"
16822 else
16823 case "${host}" in
16824 *-*-cygwin* | *-*-mingw32* )
16825 if test -n "$ac_tool_prefix"; then
16826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16827 set dummy ${ac_tool_prefix}windres; ac_word=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_WINDRES+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 else
16833 if test -n "$WINDRES"; then
16834 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16835 else
16836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16837 for as_dir in $PATH
16838 do
16839 IFS=$as_save_IFS
16840 test -z "$as_dir" && as_dir=.
16841 for ac_exec_ext in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16845 break 2
16846 fi
16847 done
16848 done
16849 IFS=$as_save_IFS
16850
16851 fi
16852 fi
16853 WINDRES=$ac_cv_prog_WINDRES
16854 if test -n "$WINDRES"; then
16855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16856 echo "${ECHO_T}$WINDRES" >&6; }
16857 else
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16860 fi
16861
16862
16863 fi
16864 if test -z "$ac_cv_prog_WINDRES"; then
16865 ac_ct_WINDRES=$WINDRES
16866 # Extract the first word of "windres", so it can be a program name with args.
16867 set dummy windres; ac_word=$2
16868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 else
16873 if test -n "$ac_ct_WINDRES"; then
16874 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16875 else
16876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16877 for as_dir in $PATH
16878 do
16879 IFS=$as_save_IFS
16880 test -z "$as_dir" && as_dir=.
16881 for ac_exec_ext in '' $ac_executable_extensions; do
16882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16883 ac_cv_prog_ac_ct_WINDRES="windres"
16884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16885 break 2
16886 fi
16887 done
16888 done
16889 IFS=$as_save_IFS
16890
16891 fi
16892 fi
16893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16894 if test -n "$ac_ct_WINDRES"; then
16895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16897 else
16898 { echo "$as_me:$LINENO: result: no" >&5
16899 echo "${ECHO_T}no" >&6; }
16900 fi
16901
16902 if test "x$ac_ct_WINDRES" = x; then
16903 WINDRES=""
16904 else
16905 case $cross_compiling:$ac_tool_warned in
16906 yes:)
16907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16908 whose name does not start with the host triplet. If you think this
16909 configuration is useful to you, please write to autoconf@gnu.org." >&5
16910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16911 whose name does not start with the host triplet. If you think this
16912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16913 ac_tool_warned=yes ;;
16914 esac
16915 WINDRES=$ac_ct_WINDRES
16916 fi
16917 else
16918 WINDRES="$ac_cv_prog_WINDRES"
16919 fi
16920
16921 RESCOMP="$WINDRES"
16922 if test -n "$ac_tool_prefix"; then
16923 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16924 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16927 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16929 else
16930 if test -n "$DLLTOOL"; then
16931 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16932 else
16933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16934 for as_dir in $PATH
16935 do
16936 IFS=$as_save_IFS
16937 test -z "$as_dir" && as_dir=.
16938 for ac_exec_ext in '' $ac_executable_extensions; do
16939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16940 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16942 break 2
16943 fi
16944 done
16945 done
16946 IFS=$as_save_IFS
16947
16948 fi
16949 fi
16950 DLLTOOL=$ac_cv_prog_DLLTOOL
16951 if test -n "$DLLTOOL"; then
16952 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16953 echo "${ECHO_T}$DLLTOOL" >&6; }
16954 else
16955 { echo "$as_me:$LINENO: result: no" >&5
16956 echo "${ECHO_T}no" >&6; }
16957 fi
16958
16959
16960 fi
16961 if test -z "$ac_cv_prog_DLLTOOL"; then
16962 ac_ct_DLLTOOL=$DLLTOOL
16963 # Extract the first word of "dlltool", so it can be a program name with args.
16964 set dummy dlltool; ac_word=$2
16965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16967 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 else
16970 if test -n "$ac_ct_DLLTOOL"; then
16971 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16972 else
16973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16974 for as_dir in $PATH
16975 do
16976 IFS=$as_save_IFS
16977 test -z "$as_dir" && as_dir=.
16978 for ac_exec_ext in '' $ac_executable_extensions; do
16979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16980 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16982 break 2
16983 fi
16984 done
16985 done
16986 IFS=$as_save_IFS
16987
16988 fi
16989 fi
16990 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16991 if test -n "$ac_ct_DLLTOOL"; then
16992 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16993 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16994 else
16995 { echo "$as_me:$LINENO: result: no" >&5
16996 echo "${ECHO_T}no" >&6; }
16997 fi
16998
16999 if test "x$ac_ct_DLLTOOL" = x; then
17000 DLLTOOL=""
17001 else
17002 case $cross_compiling:$ac_tool_warned in
17003 yes:)
17004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17005 whose name does not start with the host triplet. If you think this
17006 configuration is useful to you, please write to autoconf@gnu.org." >&5
17007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17008 whose name does not start with the host triplet. If you think this
17009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17010 ac_tool_warned=yes ;;
17011 esac
17012 DLLTOOL=$ac_ct_DLLTOOL
17013 fi
17014 else
17015 DLLTOOL="$ac_cv_prog_DLLTOOL"
17016 fi
17017
17018 ;;
17019 esac
17020 fi
17021
17022 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17023 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17024 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 else
17027
17028 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17029 $EGREP -s GNU > /dev/null); then
17030 wx_cv_prog_makeisgnu="yes"
17031 else
17032 wx_cv_prog_makeisgnu="no"
17033 fi
17034
17035 fi
17036 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17037 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17038
17039 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17040 IF_GNU_MAKE=""
17041 else
17042 IF_GNU_MAKE="#"
17043 fi
17044
17045
17046
17047 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17048 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17049 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17050 if test "${wx_cv_prog_makevpath+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 else
17053
17054 cat - << EOF > confMake
17055 check : file
17056 cp \$? \$@
17057 cp \$? final_file
17058 EOF
17059
17060 if test ! -d sub ; then
17061 mkdir sub
17062 fi
17063 echo dummy > sub/file
17064 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17065 RESULT=$?
17066 rm -f sub/file check final_file confMake
17067 rmdir sub
17068 if test "$RESULT" = 0; then
17069 wx_cv_prog_makevpath="yes"
17070 else
17071 wx_cv_prog_makevpath="no"
17072 fi
17073
17074 fi
17075 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17076 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17077
17078 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17079 { { echo "$as_me:$LINENO: error:
17080 You need a make-utility that is able to use the variable
17081 VPATH correctly.
17082 If your version of make does not support VPATH correctly,
17083 please install GNU-make (possibly as gmake), and start
17084 configure with the following command:
17085 export MAKE=gmake; ./configure for sh-type shells
17086 setenv MAKE gmake; ./configure for csh-type shells
17087 Also please do remember to use gmake in this case every time
17088 you are trying to compile.
17089 " >&5
17090 echo "$as_me: error:
17091 You need a make-utility that is able to use the variable
17092 VPATH correctly.
17093 If your version of make does not support VPATH correctly,
17094 please install GNU-make (possibly as gmake), and start
17095 configure with the following command:
17096 export MAKE=gmake; ./configure for sh-type shells
17097 setenv MAKE gmake; ./configure for csh-type shells
17098 Also please do remember to use gmake in this case every time
17099 you are trying to compile.
17100 " >&2;}
17101 { (exit 1); exit 1; }; }
17102 fi fi
17103 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17105 LN_S=$as_ln_s
17106 if test "$LN_S" = "ln -s"; then
17107 { echo "$as_me:$LINENO: result: yes" >&5
17108 echo "${ECHO_T}yes" >&6; }
17109 else
17110 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17111 echo "${ECHO_T}no, using $LN_S" >&6; }
17112 fi
17113
17114
17115
17116
17117 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17118 CXXFLAGS="-qunique $CXXFLAGS"
17119 fi
17120
17121 case "${host}" in
17122 powerpc-*-darwin* )
17123 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17124 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17125 cat >conftest.$ac_ext <<_ACEOF
17126 /* confdefs.h. */
17127 _ACEOF
17128 cat confdefs.h >>conftest.$ac_ext
17129 cat >>conftest.$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131
17132 int
17133 main ()
17134 {
17135 #ifndef __POWERPC__
17136 choke me for lack of PowerPC
17137 #endif
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17148 esac
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 { echo "$as_me:$LINENO: result: yes" >&5
17161 echo "${ECHO_T}yes" >&6; }
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17165
17166 { echo "$as_me:$LINENO: result: no" >&5
17167 echo "${ECHO_T}no" >&6; }
17168 cat >>confdefs.h <<\_ACEOF
17169 #define __POWERPC__ 1
17170 _ACEOF
17171
17172
17173 fi
17174
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176 ;;
17177 esac
17178
17179 case "${host}" in
17180 *-*-darwin* )
17181 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17182 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <CoreFoundation/CFBase.h>
17190
17191 int
17192 main ()
17193 {
17194
17195 ;
17196 return 0;
17197 }
17198 _ACEOF
17199 rm -f conftest.$ac_objext
17200 if { (ac_try="$ac_compile"
17201 case "(($ac_try" in
17202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17203 *) ac_try_echo=$ac_try;;
17204 esac
17205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17206 (eval "$ac_compile") 2>conftest.er1
17207 ac_status=$?
17208 grep -v '^ *+' conftest.er1 >conftest.err
17209 rm -f conftest.er1
17210 cat conftest.err >&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } && {
17213 test -z "$ac_c_werror_flag" ||
17214 test ! -s conftest.err
17215 } && test -s conftest.$ac_objext; then
17216 { echo "$as_me:$LINENO: result: yes" >&5
17217 echo "${ECHO_T}yes" >&6; }
17218 else
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17221
17222 { echo "$as_me:$LINENO: result: no" >&5
17223 echo "${ECHO_T}no" >&6; }
17224 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17225 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #define __CF_USE_FRAMEWORK_INCLUDES__
17233 #include <CoreFoundation/CFBase.h>
17234
17235 int
17236 main ()
17237 {
17238
17239 ;
17240 return 0;
17241 }
17242 _ACEOF
17243 rm -f conftest.$ac_objext
17244 if { (ac_try="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17248 esac
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 { echo "$as_me:$LINENO: result: yes" >&5
17261 echo "${ECHO_T}yes" >&6; }
17262 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17263 else
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17266
17267 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17268 See \`config.log' for more details." >&5
17269 echo "$as_me: error: no. CoreFoundation not available.
17270 See \`config.log' for more details." >&2;}
17271 { (exit 1); exit 1; }; }
17272
17273 fi
17274
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276
17277
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 ;;
17282 esac
17283
17284 wants_win32=0
17285 doesnt_want_win32=0
17286 case "${host}" in
17287 *-*-cygwin*)
17288 if test "$wxUSE_MSW" = 1 ; then
17289 wants_win32=1
17290 else
17291 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17292 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17293 if test "${wx_cv_nocygwin+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17296
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303
17304 int
17305 main ()
17306 {
17307
17308 #ifdef __MINGW32__
17309 choke me
17310 #endif
17311
17312 ;
17313 return 0;
17314 }
17315 _ACEOF
17316 rm -f conftest.$ac_objext
17317 if { (ac_try="$ac_compile"
17318 case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17321 esac
17322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_compile") 2>conftest.er1
17324 ac_status=$?
17325 grep -v '^ *+' conftest.er1 >conftest.err
17326 rm -f conftest.er1
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } && {
17330 test -z "$ac_c_werror_flag" ||
17331 test ! -s conftest.err
17332 } && test -s conftest.$ac_objext; then
17333 wx_cv_nocygwin=no
17334 else
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17337
17338 wx_cv_nocygwin=yes
17339
17340 fi
17341
17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343
17344
17345 fi
17346 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17347 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17348
17349 if test "$wx_cv_nocygwin" = "yes"; then
17350 wants_win32=1
17351 else
17352 doesnt_want_win32=1
17353 fi
17354 fi
17355 if test "$wants_win32" = 1 ; then
17356 BAKEFILE_FORCE_PLATFORM=win32
17357 fi
17358 ;;
17359 *-*-mingw*)
17360 wants_win32=1
17361 ;;
17362 esac
17363
17364 if test "$wxUSE_WINE" = "yes"; then
17365 wants_win32=1
17366 LDFLAGS_GUI="-mwindows"
17367 fi
17368
17369 if test "$wants_win32" = 1 ; then
17370 USE_UNIX=0
17371 USE_WIN32=1
17372 cat >>confdefs.h <<\_ACEOF
17373 #define __WIN32__ 1
17374 _ACEOF
17375
17376 cat >>confdefs.h <<\_ACEOF
17377 #define __WIN95__ 1
17378 _ACEOF
17379
17380 cat >>confdefs.h <<\_ACEOF
17381 #define __WINDOWS__ 1
17382 _ACEOF
17383
17384 cat >>confdefs.h <<\_ACEOF
17385 #define __GNUWIN32__ 1
17386 _ACEOF
17387
17388 cat >>confdefs.h <<\_ACEOF
17389 #define STRICT 1
17390 _ACEOF
17391
17392 fi
17393 if test "$doesnt_want_win32" = 1 ; then
17394 USE_UNIX=1
17395 USE_WIN32=0
17396 fi
17397
17398 if test "$USE_UNIX" = 1 ; then
17399 wxUSE_UNIX=yes
17400 cat >>confdefs.h <<\_ACEOF
17401 #define __UNIX__ 1
17402 _ACEOF
17403
17404 fi
17405
17406 case "${host}" in
17407 *-pc-os2_emx | *-pc-os2-emx )
17408 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17409 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17410 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17411 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 else
17414 ac_check_lib_save_LIBS=$LIBS
17415 LIBS="-lcExt $LIBS"
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422
17423 /* Override any GCC internal prototype to avoid an error.
17424 Use char because int might match the return type of a GCC
17425 builtin and then its argument prototype would still apply. */
17426 #ifdef __cplusplus
17427 extern "C"
17428 #endif
17429 char drand48 ();
17430 int
17431 main ()
17432 {
17433 return drand48 ();
17434 ;
17435 return 0;
17436 }
17437 _ACEOF
17438 rm -f conftest.$ac_objext conftest$ac_exeext
17439 if { (ac_try="$ac_link"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17443 esac
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_link") 2>conftest.er1
17446 ac_status=$?
17447 grep -v '^ *+' conftest.er1 >conftest.err
17448 rm -f conftest.er1
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_c_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest$ac_exeext &&
17455 $as_test_x conftest$ac_exeext; then
17456 ac_cv_lib_cExt_drand48=yes
17457 else
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17460
17461 ac_cv_lib_cExt_drand48=no
17462 fi
17463
17464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17465 conftest$ac_exeext conftest.$ac_ext
17466 LIBS=$ac_check_lib_save_LIBS
17467 fi
17468 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17469 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17470 if test $ac_cv_lib_cExt_drand48 = yes; then
17471 LIBS="$LIBS -lcExt"
17472 fi
17473
17474 else
17475 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17476 fi
17477 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17478 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17479 if test "${wx_cv_gccversion+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 else
17482
17483 if test "$cross_compiling" = yes; then
17484 wx_cv_gccversion="EMX2"
17485
17486 else
17487 cat >conftest.$ac_ext <<_ACEOF
17488 /* confdefs.h. */
17489 _ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17493
17494 #include <stdio.h>
17495
17496 int main()
17497 {
17498 FILE *f=fopen("conftestval", "w");
17499 if (!f) exit(1);
17500 fprintf(f,
17501 #if (__GNUC__ < 3)
17502 "EMX2"
17503 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17504 "EMX3"
17505 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17506 "Innotek5"
17507 #else
17508 "Innotek6"
17509 #endif
17510 );
17511 exit(0);
17512 }
17513
17514 _ACEOF
17515 rm -f conftest$ac_exeext
17516 if { (ac_try="$ac_link"
17517 case "(($ac_try" in
17518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17519 *) ac_try_echo=$ac_try;;
17520 esac
17521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17522 (eval "$ac_link") 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17526 { (case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17529 esac
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_try") 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 wx_cv_gccversion=`cat conftestval`
17536 else
17537 echo "$as_me: program exited with status $ac_status" >&5
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17540
17541 ( exit $ac_status )
17542 wx_cv_gccversion="EMX2"
17543 fi
17544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17545 fi
17546
17547
17548
17549 fi
17550 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17551 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17552 if test "$wx_cv_gccversion" = "EMX2"; then
17553 LIBS="$LIBS -lstdcpp"
17554 LDFLAGS="$LDFLAGS -Zsysv-signals"
17555 else
17556 if test "$wx_cv_gccversion" = "EMX3"; then
17557 LIBS="$LIBS -lstdcxx -lgcc"
17558 LDFLAGS="$LDFLAGS -Zsysv-signals"
17559 else
17560 LIBS="$LIBS -lstdc++"
17561 fi
17562 fi
17563 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17564 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17565 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17566 wxUSE_OMF=yes
17567 enable_omf=yes
17568 fi
17569 ;;
17570 *)
17571
17572 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17573 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17574 if test "${ac_cv_string_strcasecmp+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 else
17577
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 #include <string.h>
17586
17587 int
17588 main ()
17589 {
17590
17591 strcasecmp("foo", "bar");
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext conftest$ac_exeext
17598 if { (ac_try="$ac_link"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17602 esac
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_link") 2>conftest.er1
17605 ac_status=$?
17606 grep -v '^ *+' conftest.er1 >conftest.err
17607 rm -f conftest.er1
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest$ac_exeext &&
17614 $as_test_x conftest$ac_exeext; then
17615 ac_cv_string_strcasecmp=yes
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620 ac_cv_string_strcasecmp=no
17621
17622 fi
17623
17624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17625 conftest$ac_exeext conftest.$ac_ext
17626
17627 fi
17628 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17629 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17630
17631 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17632 cat >>confdefs.h <<\_ACEOF
17633 #define HAVE_STRCASECMP_IN_STRING_H 1
17634 _ACEOF
17635
17636 else
17637 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17638 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17639 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17641 else
17642
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649
17650 #include <strings.h>
17651
17652 int
17653 main ()
17654 {
17655
17656 strcasecmp("foo", "bar");
17657
17658 ;
17659 return 0;
17660 }
17661 _ACEOF
17662 rm -f conftest.$ac_objext conftest$ac_exeext
17663 if { (ac_try="$ac_link"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17667 esac
17668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_link") 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } && {
17676 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest$ac_exeext &&
17679 $as_test_x conftest$ac_exeext; then
17680 ac_cv_strings_strcasecmp=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 ac_cv_strings_strcasecmp=no
17686
17687 fi
17688
17689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17690 conftest$ac_exeext conftest.$ac_ext
17691
17692 fi
17693 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17694 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17695
17696 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17697 cat >>confdefs.h <<\_ACEOF
17698 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17699 _ACEOF
17700
17701 else
17702 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17703 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17704 { (exit 1); exit 1; }; }
17705 fi
17706 fi
17707
17708 ;;
17709 esac
17710
17711
17712 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17713 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17714 if test "${ac_cv_header_stdc+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17716 else
17717 cat >conftest.$ac_ext <<_ACEOF
17718 /* confdefs.h. */
17719 _ACEOF
17720 cat confdefs.h >>conftest.$ac_ext
17721 cat >>conftest.$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 #include <stdlib.h>
17724 #include <stdarg.h>
17725 #include <string.h>
17726 #include <float.h>
17727
17728 int
17729 main ()
17730 {
17731
17732 ;
17733 return 0;
17734 }
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17741 esac
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_header_stdc=yes
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 ac_cv_header_stdc=no
17759 fi
17760
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762
17763 if test $ac_cv_header_stdc = yes; then
17764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <string.h>
17772
17773 _ACEOF
17774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17775 $EGREP "memchr" >/dev/null 2>&1; then
17776 :
17777 else
17778 ac_cv_header_stdc=no
17779 fi
17780 rm -f conftest*
17781
17782 fi
17783
17784 if test $ac_cv_header_stdc = yes; then
17785 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <stdlib.h>
17793
17794 _ACEOF
17795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17796 $EGREP "free" >/dev/null 2>&1; then
17797 :
17798 else
17799 ac_cv_header_stdc=no
17800 fi
17801 rm -f conftest*
17802
17803 fi
17804
17805 if test $ac_cv_header_stdc = yes; then
17806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17807 if test "$cross_compiling" = yes; then
17808 :
17809 else
17810 cat >conftest.$ac_ext <<_ACEOF
17811 /* confdefs.h. */
17812 _ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 #include <ctype.h>
17817 #include <stdlib.h>
17818 #if ((' ' & 0x0FF) == 0x020)
17819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17821 #else
17822 # define ISLOWER(c) \
17823 (('a' <= (c) && (c) <= 'i') \
17824 || ('j' <= (c) && (c) <= 'r') \
17825 || ('s' <= (c) && (c) <= 'z'))
17826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17827 #endif
17828
17829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17830 int
17831 main ()
17832 {
17833 int i;
17834 for (i = 0; i < 256; i++)
17835 if (XOR (islower (i), ISLOWER (i))
17836 || toupper (i) != TOUPPER (i))
17837 return 2;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest$ac_exeext
17842 if { (ac_try="$ac_link"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17846 esac
17847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_link") 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17852 { (case "(($ac_try" in
17853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17854 *) ac_try_echo=$ac_try;;
17855 esac
17856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17857 (eval "$ac_try") 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 :
17862 else
17863 echo "$as_me: program exited with status $ac_status" >&5
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 ( exit $ac_status )
17868 ac_cv_header_stdc=no
17869 fi
17870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17871 fi
17872
17873
17874 fi
17875 fi
17876 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17877 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17878 if test $ac_cv_header_stdc = yes; then
17879
17880 cat >>confdefs.h <<\_ACEOF
17881 #define STDC_HEADERS 1
17882 _ACEOF
17883
17884 fi
17885
17886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17897 inttypes.h stdint.h unistd.h
17898 do
17899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17900 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17912
17913 #include <$ac_header>
17914 _ACEOF
17915 rm -f conftest.$ac_objext
17916 if { (ac_try="$ac_compile"
17917 case "(($ac_try" in
17918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17919 *) ac_try_echo=$ac_try;;
17920 esac
17921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_compile") 2>conftest.er1
17923 ac_status=$?
17924 grep -v '^ *+' conftest.er1 >conftest.err
17925 rm -f conftest.er1
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } && {
17929 test -z "$ac_c_werror_flag" ||
17930 test ! -s conftest.err
17931 } && test -s conftest.$ac_objext; then
17932 eval "$as_ac_Header=yes"
17933 else
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17936
17937 eval "$as_ac_Header=no"
17938 fi
17939
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17941 fi
17942 ac_res=`eval echo '${'$as_ac_Header'}'`
17943 { echo "$as_me:$LINENO: result: $ac_res" >&5
17944 echo "${ECHO_T}$ac_res" >&6; }
17945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17948 _ACEOF
17949
17950 fi
17951
17952 done
17953
17954
17955
17956
17957
17958
17959
17960
17961 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17962 do
17963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 else
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 $ac_includes_default
17976
17977 #include <$ac_header>
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 eval "$as_ac_Header=yes"
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18000
18001 eval "$as_ac_Header=no"
18002 fi
18003
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 fi
18006 ac_res=`eval echo '${'$as_ac_Header'}'`
18007 { echo "$as_me:$LINENO: result: $ac_res" >&5
18008 echo "${ECHO_T}$ac_res" >&6; }
18009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18012 _ACEOF
18013
18014 fi
18015
18016 done
18017
18018
18019 if test "$ac_cv_header_wchar_h" != "yes"; then
18020 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18021 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18022 if test "${ac_cv_header_wcstr_h+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18024 else
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18032
18033 #include <wcstr.h>
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18040 esac
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18043 ac_status=$?
18044 grep -v '^ *+' conftest.er1 >conftest.err
18045 rm -f conftest.er1
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_header_wcstr_h=yes
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18056
18057 ac_cv_header_wcstr_h=no
18058 fi
18059
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 fi
18062 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18063 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18064
18065
18066 fi
18067
18068 case "${host}" in
18069 *-pc-os2_emx | *-pc-os2-emx )
18070 if test $ac_cv_header_langinfo_h = "yes" \
18071 -a \( "$wx_cv_gccversion" = "EMX2" \
18072 -o "$wx_cv_gccversion" = "EMX3" \
18073 -o "$wx_cv_gccversion" = "Innotek5" \); then
18074 LIBS="$LIBS -lintl"
18075 fi
18076 ;;
18077 esac
18078
18079 if test "$USE_UNIX" = 1 ; then
18080 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18081 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18082 if test "${ac_cv_header_sys_select_h+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18092
18093 #include <sys/select.h>
18094 _ACEOF
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18100 esac
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18103 ac_status=$?
18104 grep -v '^ *+' conftest.er1 >conftest.err
18105 rm -f conftest.er1
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18112 ac_cv_header_sys_select_h=yes
18113 else
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18116
18117 ac_cv_header_sys_select_h=no
18118 fi
18119
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121 fi
18122 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18123 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18124
18125
18126 fi
18127
18128
18129 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18130 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18131 if test "${ac_cv_c_const+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 else
18134 cat >conftest.$ac_ext <<_ACEOF
18135 /* confdefs.h. */
18136 _ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140
18141 int
18142 main ()
18143 {
18144 /* FIXME: Include the comments suggested by Paul. */
18145 #ifndef __cplusplus
18146 /* Ultrix mips cc rejects this. */
18147 typedef int charset[2];
18148 const charset cs;
18149 /* SunOS 4.1.1 cc rejects this. */
18150 char const *const *pcpcc;
18151 char **ppc;
18152 /* NEC SVR4.0.2 mips cc rejects this. */
18153 struct point {int x, y;};
18154 static struct point const zero = {0,0};
18155 /* AIX XL C 1.02.0.0 rejects this.
18156 It does not let you subtract one const X* pointer from another in
18157 an arm of an if-expression whose if-part is not a constant
18158 expression */
18159 const char *g = "string";
18160 pcpcc = &g + (g ? g-g : 0);
18161 /* HPUX 7.0 cc rejects these. */
18162 ++pcpcc;
18163 ppc = (char**) pcpcc;
18164 pcpcc = (char const *const *) ppc;
18165 { /* SCO 3.2v4 cc rejects this. */
18166 char *t;
18167 char const *s = 0 ? (char *) 0 : (char const *) 0;
18168
18169 *t++ = 0;
18170 if (s) return 0;
18171 }
18172 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18173 int x[] = {25, 17};
18174 const int *foo = &x[0];
18175 ++foo;
18176 }
18177 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18178 typedef const int *iptr;
18179 iptr p = 0;
18180 ++p;
18181 }
18182 { /* AIX XL C 1.02.0.0 rejects this saying
18183 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18184 struct s { int j; const int *ap[3]; };
18185 struct s *b; b->j = 5;
18186 }
18187 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18188 const int foo = 10;
18189 if (!foo) return 0;
18190 }
18191 return !cs[0] && !zero.x;
18192 #endif
18193
18194 ;
18195 return 0;
18196 }
18197 _ACEOF
18198 rm -f conftest.$ac_objext
18199 if { (ac_try="$ac_compile"
18200 case "(($ac_try" in
18201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18202 *) ac_try_echo=$ac_try;;
18203 esac
18204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18205 (eval "$ac_compile") 2>conftest.er1
18206 ac_status=$?
18207 grep -v '^ *+' conftest.er1 >conftest.err
18208 rm -f conftest.er1
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } && {
18212 test -z "$ac_c_werror_flag" ||
18213 test ! -s conftest.err
18214 } && test -s conftest.$ac_objext; then
18215 ac_cv_c_const=yes
18216 else
18217 echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.$ac_ext >&5
18219
18220 ac_cv_c_const=no
18221 fi
18222
18223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18224 fi
18225 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18226 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18227 if test $ac_cv_c_const = no; then
18228
18229 cat >>confdefs.h <<\_ACEOF
18230 #define const
18231 _ACEOF
18232
18233 fi
18234
18235 { echo "$as_me:$LINENO: checking for inline" >&5
18236 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18237 if test "${ac_cv_c_inline+set}" = set; then
18238 echo $ECHO_N "(cached) $ECHO_C" >&6
18239 else
18240 ac_cv_c_inline=no
18241 for ac_kw in inline __inline__ __inline; do
18242 cat >conftest.$ac_ext <<_ACEOF
18243 /* confdefs.h. */
18244 _ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18248 #ifndef __cplusplus
18249 typedef int foo_t;
18250 static $ac_kw foo_t static_foo () {return 0; }
18251 $ac_kw foo_t foo () {return 0; }
18252 #endif
18253
18254 _ACEOF
18255 rm -f conftest.$ac_objext
18256 if { (ac_try="$ac_compile"
18257 case "(($ac_try" in
18258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18260 esac
18261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_compile") 2>conftest.er1
18263 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } && {
18269 test -z "$ac_c_werror_flag" ||
18270 test ! -s conftest.err
18271 } && test -s conftest.$ac_objext; then
18272 ac_cv_c_inline=$ac_kw
18273 else
18274 echo "$as_me: failed program was:" >&5
18275 sed 's/^/| /' conftest.$ac_ext >&5
18276
18277
18278 fi
18279
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281 test "$ac_cv_c_inline" != no && break
18282 done
18283
18284 fi
18285 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18286 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18287
18288
18289 case $ac_cv_c_inline in
18290 inline | yes) ;;
18291 *)
18292 case $ac_cv_c_inline in
18293 no) ac_val=;;
18294 *) ac_val=$ac_cv_c_inline;;
18295 esac
18296 cat >>confdefs.h <<_ACEOF
18297 #ifndef __cplusplus
18298 #define inline $ac_val
18299 #endif
18300 _ACEOF
18301 ;;
18302 esac
18303
18304
18305 { echo "$as_me:$LINENO: checking for short" >&5
18306 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18307 if test "${ac_cv_type_short+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310 cat >conftest.$ac_ext <<_ACEOF
18311 /* confdefs.h. */
18312 _ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 $ac_includes_default
18317 typedef short ac__type_new_;
18318 int
18319 main ()
18320 {
18321 if ((ac__type_new_ *) 0)
18322 return 0;
18323 if (sizeof (ac__type_new_))
18324 return 0;
18325 ;
18326 return 0;
18327 }
18328 _ACEOF
18329 rm -f conftest.$ac_objext
18330 if { (ac_try="$ac_compile"
18331 case "(($ac_try" in
18332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18333 *) ac_try_echo=$ac_try;;
18334 esac
18335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18336 (eval "$ac_compile") 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } && {
18343 test -z "$ac_c_werror_flag" ||
18344 test ! -s conftest.err
18345 } && test -s conftest.$ac_objext; then
18346 ac_cv_type_short=yes
18347 else
18348 echo "$as_me: failed program was:" >&5
18349 sed 's/^/| /' conftest.$ac_ext >&5
18350
18351 ac_cv_type_short=no
18352 fi
18353
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18355 fi
18356 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18357 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18358
18359 # The cast to long int works around a bug in the HP C Compiler
18360 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18361 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18362 # This bug is HP SR number 8606223364.
18363 { echo "$as_me:$LINENO: checking size of short" >&5
18364 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18365 if test "${ac_cv_sizeof_short+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 else
18368 if test "$cross_compiling" = yes; then
18369 # Depending upon the size, compute the lo and hi bounds.
18370 cat >conftest.$ac_ext <<_ACEOF
18371 /* confdefs.h. */
18372 _ACEOF
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18376 $ac_includes_default
18377 typedef short ac__type_sizeof_;
18378 int
18379 main ()
18380 {
18381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18382 test_array [0] = 0
18383
18384 ;
18385 return 0;
18386 }
18387 _ACEOF
18388 rm -f conftest.$ac_objext
18389 if { (ac_try="$ac_compile"
18390 case "(($ac_try" in
18391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18392 *) ac_try_echo=$ac_try;;
18393 esac
18394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18395 (eval "$ac_compile") 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } && {
18402 test -z "$ac_c_werror_flag" ||
18403 test ! -s conftest.err
18404 } && test -s conftest.$ac_objext; then
18405 ac_lo=0 ac_mid=0
18406 while :; do
18407 cat >conftest.$ac_ext <<_ACEOF
18408 /* confdefs.h. */
18409 _ACEOF
18410 cat confdefs.h >>conftest.$ac_ext
18411 cat >>conftest.$ac_ext <<_ACEOF
18412 /* end confdefs.h. */
18413 $ac_includes_default
18414 typedef short ac__type_sizeof_;
18415 int
18416 main ()
18417 {
18418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18419 test_array [0] = 0
18420
18421 ;
18422 return 0;
18423 }
18424 _ACEOF
18425 rm -f conftest.$ac_objext
18426 if { (ac_try="$ac_compile"
18427 case "(($ac_try" in
18428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18429 *) ac_try_echo=$ac_try;;
18430 esac
18431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18432 (eval "$ac_compile") 2>conftest.er1
18433 ac_status=$?
18434 grep -v '^ *+' conftest.er1 >conftest.err
18435 rm -f conftest.er1
18436 cat conftest.err >&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); } && {
18439 test -z "$ac_c_werror_flag" ||
18440 test ! -s conftest.err
18441 } && test -s conftest.$ac_objext; then
18442 ac_hi=$ac_mid; break
18443 else
18444 echo "$as_me: failed program was:" >&5
18445 sed 's/^/| /' conftest.$ac_ext >&5
18446
18447 ac_lo=`expr $ac_mid + 1`
18448 if test $ac_lo -le $ac_mid; then
18449 ac_lo= ac_hi=
18450 break
18451 fi
18452 ac_mid=`expr 2 '*' $ac_mid + 1`
18453 fi
18454
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18456 done
18457 else
18458 echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18460
18461 cat >conftest.$ac_ext <<_ACEOF
18462 /* confdefs.h. */
18463 _ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 $ac_includes_default
18468 typedef short ac__type_sizeof_;
18469 int
18470 main ()
18471 {
18472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18473 test_array [0] = 0
18474
18475 ;
18476 return 0;
18477 }
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (ac_try="$ac_compile"
18481 case "(($ac_try" in
18482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483 *) ac_try_echo=$ac_try;;
18484 esac
18485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18486 (eval "$ac_compile") 2>conftest.er1
18487 ac_status=$?
18488 grep -v '^ *+' conftest.er1 >conftest.err
18489 rm -f conftest.er1
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && {
18493 test -z "$ac_c_werror_flag" ||
18494 test ! -s conftest.err
18495 } && test -s conftest.$ac_objext; then
18496 ac_hi=-1 ac_mid=-1
18497 while :; do
18498 cat >conftest.$ac_ext <<_ACEOF
18499 /* confdefs.h. */
18500 _ACEOF
18501 cat confdefs.h >>conftest.$ac_ext
18502 cat >>conftest.$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 $ac_includes_default
18505 typedef short ac__type_sizeof_;
18506 int
18507 main ()
18508 {
18509 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18510 test_array [0] = 0
18511
18512 ;
18513 return 0;
18514 }
18515 _ACEOF
18516 rm -f conftest.$ac_objext
18517 if { (ac_try="$ac_compile"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18521 esac
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_compile") 2>conftest.er1
18524 ac_status=$?
18525 grep -v '^ *+' conftest.er1 >conftest.err
18526 rm -f conftest.er1
18527 cat conftest.err >&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } && {
18530 test -z "$ac_c_werror_flag" ||
18531 test ! -s conftest.err
18532 } && test -s conftest.$ac_objext; then
18533 ac_lo=$ac_mid; break
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18537
18538 ac_hi=`expr '(' $ac_mid ')' - 1`
18539 if test $ac_mid -le $ac_hi; then
18540 ac_lo= ac_hi=
18541 break
18542 fi
18543 ac_mid=`expr 2 '*' $ac_mid`
18544 fi
18545
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18547 done
18548 else
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18551
18552 ac_lo= ac_hi=
18553 fi
18554
18555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18556 fi
18557
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 # Binary search between lo and hi bounds.
18560 while test "x$ac_lo" != "x$ac_hi"; do
18561 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18562 cat >conftest.$ac_ext <<_ACEOF
18563 /* confdefs.h. */
18564 _ACEOF
18565 cat confdefs.h >>conftest.$ac_ext
18566 cat >>conftest.$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18568 $ac_includes_default
18569 typedef short ac__type_sizeof_;
18570 int
18571 main ()
18572 {
18573 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18574 test_array [0] = 0
18575
18576 ;
18577 return 0;
18578 }
18579 _ACEOF
18580 rm -f conftest.$ac_objext
18581 if { (ac_try="$ac_compile"
18582 case "(($ac_try" in
18583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584 *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587 (eval "$ac_compile") 2>conftest.er1
18588 ac_status=$?
18589 grep -v '^ *+' conftest.er1 >conftest.err
18590 rm -f conftest.er1
18591 cat conftest.err >&5
18592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593 (exit $ac_status); } && {
18594 test -z "$ac_c_werror_flag" ||
18595 test ! -s conftest.err
18596 } && test -s conftest.$ac_objext; then
18597 ac_hi=$ac_mid
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18601
18602 ac_lo=`expr '(' $ac_mid ')' + 1`
18603 fi
18604
18605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18606 done
18607 case $ac_lo in
18608 ?*) ac_cv_sizeof_short=$ac_lo;;
18609 '') if test "$ac_cv_type_short" = yes; then
18610 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18611 See \`config.log' for more details." >&5
18612 echo "$as_me: error: cannot compute sizeof (short)
18613 See \`config.log' for more details." >&2;}
18614 { (exit 77); exit 77; }; }
18615 else
18616 ac_cv_sizeof_short=0
18617 fi ;;
18618 esac
18619 else
18620 cat >conftest.$ac_ext <<_ACEOF
18621 /* confdefs.h. */
18622 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626 $ac_includes_default
18627 typedef short ac__type_sizeof_;
18628 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18629 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18630 #include <stdio.h>
18631 #include <stdlib.h>
18632 int
18633 main ()
18634 {
18635
18636 FILE *f = fopen ("conftest.val", "w");
18637 if (! f)
18638 return 1;
18639 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18640 {
18641 long int i = longval ();
18642 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18643 return 1;
18644 fprintf (f, "%ld\n", i);
18645 }
18646 else
18647 {
18648 unsigned long int i = ulongval ();
18649 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18650 return 1;
18651 fprintf (f, "%lu\n", i);
18652 }
18653 return ferror (f) || fclose (f) != 0;
18654
18655 ;
18656 return 0;
18657 }
18658 _ACEOF
18659 rm -f conftest$ac_exeext
18660 if { (ac_try="$ac_link"
18661 case "(($ac_try" in
18662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18664 esac
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_link") 2>&5
18667 ac_status=$?
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18670 { (case "(($ac_try" in
18671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18672 *) ac_try_echo=$ac_try;;
18673 esac
18674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18675 (eval "$ac_try") 2>&5
18676 ac_status=$?
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); }; }; then
18679 ac_cv_sizeof_short=`cat conftest.val`
18680 else
18681 echo "$as_me: program exited with status $ac_status" >&5
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18684
18685 ( exit $ac_status )
18686 if test "$ac_cv_type_short" = yes; then
18687 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18688 See \`config.log' for more details." >&5
18689 echo "$as_me: error: cannot compute sizeof (short)
18690 See \`config.log' for more details." >&2;}
18691 { (exit 77); exit 77; }; }
18692 else
18693 ac_cv_sizeof_short=0
18694 fi
18695 fi
18696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18697 fi
18698 rm -f conftest.val
18699 fi
18700 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18701 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18702
18703
18704
18705 cat >>confdefs.h <<_ACEOF
18706 #define SIZEOF_SHORT $ac_cv_sizeof_short
18707 _ACEOF
18708
18709
18710 { echo "$as_me:$LINENO: checking for void *" >&5
18711 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18712 if test "${ac_cv_type_void_p+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18714 else
18715 cat >conftest.$ac_ext <<_ACEOF
18716 /* confdefs.h. */
18717 _ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18722 typedef void * ac__type_new_;
18723 int
18724 main ()
18725 {
18726 if ((ac__type_new_ *) 0)
18727 return 0;
18728 if (sizeof (ac__type_new_))
18729 return 0;
18730 ;
18731 return 0;
18732 }
18733 _ACEOF
18734 rm -f conftest.$ac_objext
18735 if { (ac_try="$ac_compile"
18736 case "(($ac_try" in
18737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18738 *) ac_try_echo=$ac_try;;
18739 esac
18740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18741 (eval "$ac_compile") 2>conftest.er1
18742 ac_status=$?
18743 grep -v '^ *+' conftest.er1 >conftest.err
18744 rm -f conftest.er1
18745 cat conftest.err >&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); } && {
18748 test -z "$ac_c_werror_flag" ||
18749 test ! -s conftest.err
18750 } && test -s conftest.$ac_objext; then
18751 ac_cv_type_void_p=yes
18752 else
18753 echo "$as_me: failed program was:" >&5
18754 sed 's/^/| /' conftest.$ac_ext >&5
18755
18756 ac_cv_type_void_p=no
18757 fi
18758
18759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18760 fi
18761 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18762 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18763
18764 # The cast to long int works around a bug in the HP C Compiler
18765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18767 # This bug is HP SR number 8606223364.
18768 { echo "$as_me:$LINENO: checking size of void *" >&5
18769 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18770 if test "${ac_cv_sizeof_void_p+set}" = set; then
18771 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 else
18773 if test "$cross_compiling" = yes; then
18774 # Depending upon the size, compute the lo and hi bounds.
18775 cat >conftest.$ac_ext <<_ACEOF
18776 /* confdefs.h. */
18777 _ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18782 typedef void * ac__type_sizeof_;
18783 int
18784 main ()
18785 {
18786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18787 test_array [0] = 0
18788
18789 ;
18790 return 0;
18791 }
18792 _ACEOF
18793 rm -f conftest.$ac_objext
18794 if { (ac_try="$ac_compile"
18795 case "(($ac_try" in
18796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18798 esac
18799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_compile") 2>conftest.er1
18801 ac_status=$?
18802 grep -v '^ *+' conftest.er1 >conftest.err
18803 rm -f conftest.er1
18804 cat conftest.err >&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } && {
18807 test -z "$ac_c_werror_flag" ||
18808 test ! -s conftest.err
18809 } && test -s conftest.$ac_objext; then
18810 ac_lo=0 ac_mid=0
18811 while :; do
18812 cat >conftest.$ac_ext <<_ACEOF
18813 /* confdefs.h. */
18814 _ACEOF
18815 cat confdefs.h >>conftest.$ac_ext
18816 cat >>conftest.$ac_ext <<_ACEOF
18817 /* end confdefs.h. */
18818 $ac_includes_default
18819 typedef void * ac__type_sizeof_;
18820 int
18821 main ()
18822 {
18823 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18824 test_array [0] = 0
18825
18826 ;
18827 return 0;
18828 }
18829 _ACEOF
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18835 esac
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18838 ac_status=$?
18839 grep -v '^ *+' conftest.er1 >conftest.err
18840 rm -f conftest.er1
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && {
18844 test -z "$ac_c_werror_flag" ||
18845 test ! -s conftest.err
18846 } && test -s conftest.$ac_objext; then
18847 ac_hi=$ac_mid; break
18848 else
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.$ac_ext >&5
18851
18852 ac_lo=`expr $ac_mid + 1`
18853 if test $ac_lo -le $ac_mid; then
18854 ac_lo= ac_hi=
18855 break
18856 fi
18857 ac_mid=`expr 2 '*' $ac_mid + 1`
18858 fi
18859
18860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 done
18862 else
18863 echo "$as_me: failed program was:" >&5
18864 sed 's/^/| /' conftest.$ac_ext >&5
18865
18866 cat >conftest.$ac_ext <<_ACEOF
18867 /* confdefs.h. */
18868 _ACEOF
18869 cat confdefs.h >>conftest.$ac_ext
18870 cat >>conftest.$ac_ext <<_ACEOF
18871 /* end confdefs.h. */
18872 $ac_includes_default
18873 typedef void * ac__type_sizeof_;
18874 int
18875 main ()
18876 {
18877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18878 test_array [0] = 0
18879
18880 ;
18881 return 0;
18882 }
18883 _ACEOF
18884 rm -f conftest.$ac_objext
18885 if { (ac_try="$ac_compile"
18886 case "(($ac_try" in
18887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18888 *) ac_try_echo=$ac_try;;
18889 esac
18890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18891 (eval "$ac_compile") 2>conftest.er1
18892 ac_status=$?
18893 grep -v '^ *+' conftest.er1 >conftest.err
18894 rm -f conftest.er1
18895 cat conftest.err >&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && {
18898 test -z "$ac_c_werror_flag" ||
18899 test ! -s conftest.err
18900 } && test -s conftest.$ac_objext; then
18901 ac_hi=-1 ac_mid=-1
18902 while :; do
18903 cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h. */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 $ac_includes_default
18910 typedef void * ac__type_sizeof_;
18911 int
18912 main ()
18913 {
18914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18915 test_array [0] = 0
18916
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 rm -f conftest.$ac_objext
18922 if { (ac_try="$ac_compile"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18926 esac
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_compile") 2>conftest.er1
18929 ac_status=$?
18930 grep -v '^ *+' conftest.er1 >conftest.err
18931 rm -f conftest.er1
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } && {
18935 test -z "$ac_c_werror_flag" ||
18936 test ! -s conftest.err
18937 } && test -s conftest.$ac_objext; then
18938 ac_lo=$ac_mid; break
18939 else
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.$ac_ext >&5
18942
18943 ac_hi=`expr '(' $ac_mid ')' - 1`
18944 if test $ac_mid -le $ac_hi; then
18945 ac_lo= ac_hi=
18946 break
18947 fi
18948 ac_mid=`expr 2 '*' $ac_mid`
18949 fi
18950
18951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 done
18953 else
18954 echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18956
18957 ac_lo= ac_hi=
18958 fi
18959
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961 fi
18962
18963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 # Binary search between lo and hi bounds.
18965 while test "x$ac_lo" != "x$ac_hi"; do
18966 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18967 cat >conftest.$ac_ext <<_ACEOF
18968 /* confdefs.h. */
18969 _ACEOF
18970 cat confdefs.h >>conftest.$ac_ext
18971 cat >>conftest.$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 $ac_includes_default
18974 typedef void * ac__type_sizeof_;
18975 int
18976 main ()
18977 {
18978 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18979 test_array [0] = 0
18980
18981 ;
18982 return 0;
18983 }
18984 _ACEOF
18985 rm -f conftest.$ac_objext
18986 if { (ac_try="$ac_compile"
18987 case "(($ac_try" in
18988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18989 *) ac_try_echo=$ac_try;;
18990 esac
18991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18992 (eval "$ac_compile") 2>conftest.er1
18993 ac_status=$?
18994 grep -v '^ *+' conftest.er1 >conftest.err
18995 rm -f conftest.er1
18996 cat conftest.err >&5
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); } && {
18999 test -z "$ac_c_werror_flag" ||
19000 test ! -s conftest.err
19001 } && test -s conftest.$ac_objext; then
19002 ac_hi=$ac_mid
19003 else
19004 echo "$as_me: failed program was:" >&5
19005 sed 's/^/| /' conftest.$ac_ext >&5
19006
19007 ac_lo=`expr '(' $ac_mid ')' + 1`
19008 fi
19009
19010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19011 done
19012 case $ac_lo in
19013 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19014 '') if test "$ac_cv_type_void_p" = yes; then
19015 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19016 See \`config.log' for more details." >&5
19017 echo "$as_me: error: cannot compute sizeof (void *)
19018 See \`config.log' for more details." >&2;}
19019 { (exit 77); exit 77; }; }
19020 else
19021 ac_cv_sizeof_void_p=0
19022 fi ;;
19023 esac
19024 else
19025 cat >conftest.$ac_ext <<_ACEOF
19026 /* confdefs.h. */
19027 _ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19031 $ac_includes_default
19032 typedef void * ac__type_sizeof_;
19033 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19034 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19035 #include <stdio.h>
19036 #include <stdlib.h>
19037 int
19038 main ()
19039 {
19040
19041 FILE *f = fopen ("conftest.val", "w");
19042 if (! f)
19043 return 1;
19044 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19045 {
19046 long int i = longval ();
19047 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19048 return 1;
19049 fprintf (f, "%ld\n", i);
19050 }
19051 else
19052 {
19053 unsigned long int i = ulongval ();
19054 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19055 return 1;
19056 fprintf (f, "%lu\n", i);
19057 }
19058 return ferror (f) || fclose (f) != 0;
19059
19060 ;
19061 return 0;
19062 }
19063 _ACEOF
19064 rm -f conftest$ac_exeext
19065 if { (ac_try="$ac_link"
19066 case "(($ac_try" in
19067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19068 *) ac_try_echo=$ac_try;;
19069 esac
19070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19071 (eval "$ac_link") 2>&5
19072 ac_status=$?
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19075 { (case "(($ac_try" in
19076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19077 *) ac_try_echo=$ac_try;;
19078 esac
19079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19080 (eval "$ac_try") 2>&5
19081 ac_status=$?
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; }; then
19084 ac_cv_sizeof_void_p=`cat conftest.val`
19085 else
19086 echo "$as_me: program exited with status $ac_status" >&5
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19089
19090 ( exit $ac_status )
19091 if test "$ac_cv_type_void_p" = yes; then
19092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19093 See \`config.log' for more details." >&5
19094 echo "$as_me: error: cannot compute sizeof (void *)
19095 See \`config.log' for more details." >&2;}
19096 { (exit 77); exit 77; }; }
19097 else
19098 ac_cv_sizeof_void_p=0
19099 fi
19100 fi
19101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19102 fi
19103 rm -f conftest.val
19104 fi
19105 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19106 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19107
19108
19109
19110 cat >>confdefs.h <<_ACEOF
19111 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19112 _ACEOF
19113
19114
19115 { echo "$as_me:$LINENO: checking for int" >&5
19116 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19117 if test "${ac_cv_type_int+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 else
19120 cat >conftest.$ac_ext <<_ACEOF
19121 /* confdefs.h. */
19122 _ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 $ac_includes_default
19127 typedef int ac__type_new_;
19128 int
19129 main ()
19130 {
19131 if ((ac__type_new_ *) 0)
19132 return 0;
19133 if (sizeof (ac__type_new_))
19134 return 0;
19135 ;
19136 return 0;
19137 }
19138 _ACEOF
19139 rm -f conftest.$ac_objext
19140 if { (ac_try="$ac_compile"
19141 case "(($ac_try" in
19142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19143 *) ac_try_echo=$ac_try;;
19144 esac
19145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_compile") 2>conftest.er1
19147 ac_status=$?
19148 grep -v '^ *+' conftest.er1 >conftest.err
19149 rm -f conftest.er1
19150 cat conftest.err >&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } && {
19153 test -z "$ac_c_werror_flag" ||
19154 test ! -s conftest.err
19155 } && test -s conftest.$ac_objext; then
19156 ac_cv_type_int=yes
19157 else
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19160
19161 ac_cv_type_int=no
19162 fi
19163
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 fi
19166 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19167 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19168
19169 # The cast to long int works around a bug in the HP C Compiler
19170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19172 # This bug is HP SR number 8606223364.
19173 { echo "$as_me:$LINENO: checking size of int" >&5
19174 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19175 if test "${ac_cv_sizeof_int+set}" = set; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 else
19178 if test "$cross_compiling" = yes; then
19179 # Depending upon the size, compute the lo and hi bounds.
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 $ac_includes_default
19187 typedef int ac__type_sizeof_;
19188 int
19189 main ()
19190 {
19191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19192 test_array [0] = 0
19193
19194 ;
19195 return 0;
19196 }
19197 _ACEOF
19198 rm -f conftest.$ac_objext
19199 if { (ac_try="$ac_compile"
19200 case "(($ac_try" in
19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19203 esac
19204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_compile") 2>conftest.er1
19206 ac_status=$?
19207 grep -v '^ *+' conftest.er1 >conftest.err
19208 rm -f conftest.er1
19209 cat conftest.err >&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } && {
19212 test -z "$ac_c_werror_flag" ||
19213 test ! -s conftest.err
19214 } && test -s conftest.$ac_objext; then
19215 ac_lo=0 ac_mid=0
19216 while :; do
19217 cat >conftest.$ac_ext <<_ACEOF
19218 /* confdefs.h. */
19219 _ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224 typedef int ac__type_sizeof_;
19225 int
19226 main ()
19227 {
19228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19229 test_array [0] = 0
19230
19231 ;
19232 return 0;
19233 }
19234 _ACEOF
19235 rm -f conftest.$ac_objext
19236 if { (ac_try="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19240 esac
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19243 ac_status=$?
19244 grep -v '^ *+' conftest.er1 >conftest.err
19245 rm -f conftest.er1
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } && {
19249 test -z "$ac_c_werror_flag" ||
19250 test ! -s conftest.err
19251 } && test -s conftest.$ac_objext; then
19252 ac_hi=$ac_mid; break
19253 else
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19256
19257 ac_lo=`expr $ac_mid + 1`
19258 if test $ac_lo -le $ac_mid; then
19259 ac_lo= ac_hi=
19260 break
19261 fi
19262 ac_mid=`expr 2 '*' $ac_mid + 1`
19263 fi
19264
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 done
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19270
19271 cat >conftest.$ac_ext <<_ACEOF
19272 /* confdefs.h. */
19273 _ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 typedef int ac__type_sizeof_;
19279 int
19280 main ()
19281 {
19282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19283 test_array [0] = 0
19284
19285 ;
19286 return 0;
19287 }
19288 _ACEOF
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19306 ac_hi=-1 ac_mid=-1
19307 while :; do
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19315 typedef int ac__type_sizeof_;
19316 int
19317 main ()
19318 {
19319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19320 test_array [0] = 0
19321
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19331 esac
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19334 ac_status=$?
19335 grep -v '^ *+' conftest.er1 >conftest.err
19336 rm -f conftest.er1
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } && {
19340 test -z "$ac_c_werror_flag" ||
19341 test ! -s conftest.err
19342 } && test -s conftest.$ac_objext; then
19343 ac_lo=$ac_mid; break
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19347
19348 ac_hi=`expr '(' $ac_mid ')' - 1`
19349 if test $ac_mid -le $ac_hi; then
19350 ac_lo= ac_hi=
19351 break
19352 fi
19353 ac_mid=`expr 2 '*' $ac_mid`
19354 fi
19355
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357 done
19358 else
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19361
19362 ac_lo= ac_hi=
19363 fi
19364
19365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19366 fi
19367
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 # Binary search between lo and hi bounds.
19370 while test "x$ac_lo" != "x$ac_hi"; do
19371 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19379 typedef int ac__type_sizeof_;
19380 int
19381 main ()
19382 {
19383 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19384 test_array [0] = 0
19385
19386 ;
19387 return 0;
19388 }
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19398 ac_status=$?
19399 grep -v '^ *+' conftest.er1 >conftest.err
19400 rm -f conftest.er1
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_hi=$ac_mid
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19411
19412 ac_lo=`expr '(' $ac_mid ')' + 1`
19413 fi
19414
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19416 done
19417 case $ac_lo in
19418 ?*) ac_cv_sizeof_int=$ac_lo;;
19419 '') if test "$ac_cv_type_int" = yes; then
19420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19421 See \`config.log' for more details." >&5
19422 echo "$as_me: error: cannot compute sizeof (int)
19423 See \`config.log' for more details." >&2;}
19424 { (exit 77); exit 77; }; }
19425 else
19426 ac_cv_sizeof_int=0
19427 fi ;;
19428 esac
19429 else
19430 cat >conftest.$ac_ext <<_ACEOF
19431 /* confdefs.h. */
19432 _ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19437 typedef int ac__type_sizeof_;
19438 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19439 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19440 #include <stdio.h>
19441 #include <stdlib.h>
19442 int
19443 main ()
19444 {
19445
19446 FILE *f = fopen ("conftest.val", "w");
19447 if (! f)
19448 return 1;
19449 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19450 {
19451 long int i = longval ();
19452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19453 return 1;
19454 fprintf (f, "%ld\n", i);
19455 }
19456 else
19457 {
19458 unsigned long int i = ulongval ();
19459 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19460 return 1;
19461 fprintf (f, "%lu\n", i);
19462 }
19463 return ferror (f) || fclose (f) != 0;
19464
19465 ;
19466 return 0;
19467 }
19468 _ACEOF
19469 rm -f conftest$ac_exeext
19470 if { (ac_try="$ac_link"
19471 case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19474 esac
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_link") 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19480 { (case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19483 esac
19484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_try") 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 ac_cv_sizeof_int=`cat conftest.val`
19490 else
19491 echo "$as_me: program exited with status $ac_status" >&5
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19494
19495 ( exit $ac_status )
19496 if test "$ac_cv_type_int" = yes; then
19497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19498 See \`config.log' for more details." >&5
19499 echo "$as_me: error: cannot compute sizeof (int)
19500 See \`config.log' for more details." >&2;}
19501 { (exit 77); exit 77; }; }
19502 else
19503 ac_cv_sizeof_int=0
19504 fi
19505 fi
19506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19507 fi
19508 rm -f conftest.val
19509 fi
19510 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19511 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19512
19513
19514
19515 cat >>confdefs.h <<_ACEOF
19516 #define SIZEOF_INT $ac_cv_sizeof_int
19517 _ACEOF
19518
19519
19520 { echo "$as_me:$LINENO: checking for long" >&5
19521 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19522 if test "${ac_cv_type_long+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19524 else
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19532 typedef long ac__type_new_;
19533 int
19534 main ()
19535 {
19536 if ((ac__type_new_ *) 0)
19537 return 0;
19538 if (sizeof (ac__type_new_))
19539 return 0;
19540 ;
19541 return 0;
19542 }
19543 _ACEOF
19544 rm -f conftest.$ac_objext
19545 if { (ac_try="$ac_compile"
19546 case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19548 *) ac_try_echo=$ac_try;;
19549 esac
19550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_compile") 2>conftest.er1
19552 ac_status=$?
19553 grep -v '^ *+' conftest.er1 >conftest.err
19554 rm -f conftest.er1
19555 cat conftest.err >&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } && {
19558 test -z "$ac_c_werror_flag" ||
19559 test ! -s conftest.err
19560 } && test -s conftest.$ac_objext; then
19561 ac_cv_type_long=yes
19562 else
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.$ac_ext >&5
19565
19566 ac_cv_type_long=no
19567 fi
19568
19569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 fi
19571 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19572 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19573
19574 # The cast to long int works around a bug in the HP C Compiler
19575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19577 # This bug is HP SR number 8606223364.
19578 { echo "$as_me:$LINENO: checking size of long" >&5
19579 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19580 if test "${ac_cv_sizeof_long+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 else
19583 if test "$cross_compiling" = yes; then
19584 # Depending upon the size, compute the lo and hi bounds.
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 $ac_includes_default
19592 typedef long ac__type_sizeof_;
19593 int
19594 main ()
19595 {
19596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19597 test_array [0] = 0
19598
19599 ;
19600 return 0;
19601 }
19602 _ACEOF
19603 rm -f conftest.$ac_objext
19604 if { (ac_try="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19608 esac
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19611 ac_status=$?
19612 grep -v '^ *+' conftest.er1 >conftest.err
19613 rm -f conftest.er1
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19620 ac_lo=0 ac_mid=0
19621 while :; do
19622 cat >conftest.$ac_ext <<_ACEOF
19623 /* confdefs.h. */
19624 _ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 $ac_includes_default
19629 typedef long ac__type_sizeof_;
19630 int
19631 main ()
19632 {
19633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19634 test_array [0] = 0
19635
19636 ;
19637 return 0;
19638 }
19639 _ACEOF
19640 rm -f conftest.$ac_objext
19641 if { (ac_try="$ac_compile"
19642 case "(($ac_try" in
19643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19644 *) ac_try_echo=$ac_try;;
19645 esac
19646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19647 (eval "$ac_compile") 2>conftest.er1
19648 ac_status=$?
19649 grep -v '^ *+' conftest.er1 >conftest.err
19650 rm -f conftest.er1
19651 cat conftest.err >&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } && {
19654 test -z "$ac_c_werror_flag" ||
19655 test ! -s conftest.err
19656 } && test -s conftest.$ac_objext; then
19657 ac_hi=$ac_mid; break
19658 else
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19661
19662 ac_lo=`expr $ac_mid + 1`
19663 if test $ac_lo -le $ac_mid; then
19664 ac_lo= ac_hi=
19665 break
19666 fi
19667 ac_mid=`expr 2 '*' $ac_mid + 1`
19668 fi
19669
19670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 done
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 cat >conftest.$ac_ext <<_ACEOF
19677 /* confdefs.h. */
19678 _ACEOF
19679 cat confdefs.h >>conftest.$ac_ext
19680 cat >>conftest.$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef long ac__type_sizeof_;
19684 int
19685 main ()
19686 {
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19688 test_array [0] = 0
19689
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 rm -f conftest.$ac_objext
19695 if { (ac_try="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19699 esac
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19711 ac_hi=-1 ac_mid=-1
19712 while :; do
19713 cat >conftest.$ac_ext <<_ACEOF
19714 /* confdefs.h. */
19715 _ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 typedef long ac__type_sizeof_;
19721 int
19722 main ()
19723 {
19724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19725 test_array [0] = 0
19726
19727 ;
19728 return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19736 esac
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19739 ac_status=$?
19740 grep -v '^ *+' conftest.er1 >conftest.err
19741 rm -f conftest.er1
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.$ac_objext; then
19748 ac_lo=$ac_mid; break
19749 else
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19752
19753 ac_hi=`expr '(' $ac_mid ')' - 1`
19754 if test $ac_mid -le $ac_hi; then
19755 ac_lo= ac_hi=
19756 break
19757 fi
19758 ac_mid=`expr 2 '*' $ac_mid`
19759 fi
19760
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 done
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 ac_lo= ac_hi=
19768 fi
19769
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19771 fi
19772
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19774 # Binary search between lo and hi bounds.
19775 while test "x$ac_lo" != "x$ac_hi"; do
19776 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19777 cat >conftest.$ac_ext <<_ACEOF
19778 /* confdefs.h. */
19779 _ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 typedef long ac__type_sizeof_;
19785 int
19786 main ()
19787 {
19788 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19789 test_array [0] = 0
19790
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 rm -f conftest.$ac_objext
19796 if { (ac_try="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19812 ac_hi=$ac_mid
19813 else
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19816
19817 ac_lo=`expr '(' $ac_mid ')' + 1`
19818 fi
19819
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 done
19822 case $ac_lo in
19823 ?*) ac_cv_sizeof_long=$ac_lo;;
19824 '') if test "$ac_cv_type_long" = yes; then
19825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19826 See \`config.log' for more details." >&5
19827 echo "$as_me: error: cannot compute sizeof (long)
19828 See \`config.log' for more details." >&2;}
19829 { (exit 77); exit 77; }; }
19830 else
19831 ac_cv_sizeof_long=0
19832 fi ;;
19833 esac
19834 else
19835 cat >conftest.$ac_ext <<_ACEOF
19836 /* confdefs.h. */
19837 _ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 $ac_includes_default
19842 typedef long ac__type_sizeof_;
19843 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19844 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19845 #include <stdio.h>
19846 #include <stdlib.h>
19847 int
19848 main ()
19849 {
19850
19851 FILE *f = fopen ("conftest.val", "w");
19852 if (! f)
19853 return 1;
19854 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19855 {
19856 long int i = longval ();
19857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19858 return 1;
19859 fprintf (f, "%ld\n", i);
19860 }
19861 else
19862 {
19863 unsigned long int i = ulongval ();
19864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19865 return 1;
19866 fprintf (f, "%lu\n", i);
19867 }
19868 return ferror (f) || fclose (f) != 0;
19869
19870 ;
19871 return 0;
19872 }
19873 _ACEOF
19874 rm -f conftest$ac_exeext
19875 if { (ac_try="$ac_link"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19879 esac
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_link") 2>&5
19882 ac_status=$?
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19885 { (case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19888 esac
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_try") 2>&5
19891 ac_status=$?
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_cv_sizeof_long=`cat conftest.val`
19895 else
19896 echo "$as_me: program exited with status $ac_status" >&5
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19899
19900 ( exit $ac_status )
19901 if test "$ac_cv_type_long" = yes; then
19902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19903 See \`config.log' for more details." >&5
19904 echo "$as_me: error: cannot compute sizeof (long)
19905 See \`config.log' for more details." >&2;}
19906 { (exit 77); exit 77; }; }
19907 else
19908 ac_cv_sizeof_long=0
19909 fi
19910 fi
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19912 fi
19913 rm -f conftest.val
19914 fi
19915 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19916 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19917
19918
19919
19920 cat >>confdefs.h <<_ACEOF
19921 #define SIZEOF_LONG $ac_cv_sizeof_long
19922 _ACEOF
19923
19924
19925 { echo "$as_me:$LINENO: checking for size_t" >&5
19926 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19927 if test "${ac_cv_type_size_t+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 else
19930 cat >conftest.$ac_ext <<_ACEOF
19931 /* confdefs.h. */
19932 _ACEOF
19933 cat confdefs.h >>conftest.$ac_ext
19934 cat >>conftest.$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19936 $ac_includes_default
19937 typedef size_t ac__type_new_;
19938 int
19939 main ()
19940 {
19941 if ((ac__type_new_ *) 0)
19942 return 0;
19943 if (sizeof (ac__type_new_))
19944 return 0;
19945 ;
19946 return 0;
19947 }
19948 _ACEOF
19949 rm -f conftest.$ac_objext
19950 if { (ac_try="$ac_compile"
19951 case "(($ac_try" in
19952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19953 *) ac_try_echo=$ac_try;;
19954 esac
19955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19956 (eval "$ac_compile") 2>conftest.er1
19957 ac_status=$?
19958 grep -v '^ *+' conftest.er1 >conftest.err
19959 rm -f conftest.er1
19960 cat conftest.err >&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } && {
19963 test -z "$ac_c_werror_flag" ||
19964 test ! -s conftest.err
19965 } && test -s conftest.$ac_objext; then
19966 ac_cv_type_size_t=yes
19967 else
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ac_cv_type_size_t=no
19972 fi
19973
19974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19975 fi
19976 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19977 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19978
19979 # The cast to long int works around a bug in the HP C Compiler
19980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19982 # This bug is HP SR number 8606223364.
19983 { echo "$as_me:$LINENO: checking size of size_t" >&5
19984 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19985 if test "${ac_cv_sizeof_size_t+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 else
19988 if test "$cross_compiling" = yes; then
19989 # Depending upon the size, compute the lo and hi bounds.
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 typedef size_t ac__type_sizeof_;
19998 int
19999 main ()
20000 {
20001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20002 test_array [0] = 0
20003
20004 ;
20005 return 0;
20006 }
20007 _ACEOF
20008 rm -f conftest.$ac_objext
20009 if { (ac_try="$ac_compile"
20010 case "(($ac_try" in
20011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20012 *) ac_try_echo=$ac_try;;
20013 esac
20014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20015 (eval "$ac_compile") 2>conftest.er1
20016 ac_status=$?
20017 grep -v '^ *+' conftest.er1 >conftest.err
20018 rm -f conftest.er1
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } && {
20022 test -z "$ac_c_werror_flag" ||
20023 test ! -s conftest.err
20024 } && test -s conftest.$ac_objext; then
20025 ac_lo=0 ac_mid=0
20026 while :; do
20027 cat >conftest.$ac_ext <<_ACEOF
20028 /* confdefs.h. */
20029 _ACEOF
20030 cat confdefs.h >>conftest.$ac_ext
20031 cat >>conftest.$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 $ac_includes_default
20034 typedef size_t ac__type_sizeof_;
20035 int
20036 main ()
20037 {
20038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20039 test_array [0] = 0
20040
20041 ;
20042 return 0;
20043 }
20044 _ACEOF
20045 rm -f conftest.$ac_objext
20046 if { (ac_try="$ac_compile"
20047 case "(($ac_try" in
20048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20049 *) ac_try_echo=$ac_try;;
20050 esac
20051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20052 (eval "$ac_compile") 2>conftest.er1
20053 ac_status=$?
20054 grep -v '^ *+' conftest.er1 >conftest.err
20055 rm -f conftest.er1
20056 cat conftest.err >&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } && {
20059 test -z "$ac_c_werror_flag" ||
20060 test ! -s conftest.err
20061 } && test -s conftest.$ac_objext; then
20062 ac_hi=$ac_mid; break
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20066
20067 ac_lo=`expr $ac_mid + 1`
20068 if test $ac_lo -le $ac_mid; then
20069 ac_lo= ac_hi=
20070 break
20071 fi
20072 ac_mid=`expr 2 '*' $ac_mid + 1`
20073 fi
20074
20075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20076 done
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef size_t ac__type_sizeof_;
20089 int
20090 main ()
20091 {
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20093 test_array [0] = 0
20094
20095 ;
20096 return 0;
20097 }
20098 _ACEOF
20099 rm -f conftest.$ac_objext
20100 if { (ac_try="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20104 esac
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20116 ac_hi=-1 ac_mid=-1
20117 while :; do
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef size_t ac__type_sizeof_;
20126 int
20127 main ()
20128 {
20129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20130 test_array [0] = 0
20131
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20141 esac
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20144 ac_status=$?
20145 grep -v '^ *+' conftest.er1 >conftest.err
20146 rm -f conftest.er1
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20153 ac_lo=$ac_mid; break
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_hi=`expr '(' $ac_mid ')' - 1`
20159 if test $ac_mid -le $ac_hi; then
20160 ac_lo= ac_hi=
20161 break
20162 fi
20163 ac_mid=`expr 2 '*' $ac_mid`
20164 fi
20165
20166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 done
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 ac_lo= ac_hi=
20173 fi
20174
20175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20176 fi
20177
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20179 # Binary search between lo and hi bounds.
20180 while test "x$ac_lo" != "x$ac_hi"; do
20181 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20182 cat >conftest.$ac_ext <<_ACEOF
20183 /* confdefs.h. */
20184 _ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20189 typedef size_t ac__type_sizeof_;
20190 int
20191 main ()
20192 {
20193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20194 test_array [0] = 0
20195
20196 ;
20197 return 0;
20198 }
20199 _ACEOF
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20205 esac
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20208 ac_status=$?
20209 grep -v '^ *+' conftest.er1 >conftest.err
20210 rm -f conftest.er1
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20217 ac_hi=$ac_mid
20218 else
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20221
20222 ac_lo=`expr '(' $ac_mid ')' + 1`
20223 fi
20224
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 done
20227 case $ac_lo in
20228 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20229 '') if test "$ac_cv_type_size_t" = yes; then
20230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20231 See \`config.log' for more details." >&5
20232 echo "$as_me: error: cannot compute sizeof (size_t)
20233 See \`config.log' for more details." >&2;}
20234 { (exit 77); exit 77; }; }
20235 else
20236 ac_cv_sizeof_size_t=0
20237 fi ;;
20238 esac
20239 else
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef size_t ac__type_sizeof_;
20248 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20249 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20250 #include <stdio.h>
20251 #include <stdlib.h>
20252 int
20253 main ()
20254 {
20255
20256 FILE *f = fopen ("conftest.val", "w");
20257 if (! f)
20258 return 1;
20259 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20260 {
20261 long int i = longval ();
20262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20263 return 1;
20264 fprintf (f, "%ld\n", i);
20265 }
20266 else
20267 {
20268 unsigned long int i = ulongval ();
20269 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20270 return 1;
20271 fprintf (f, "%lu\n", i);
20272 }
20273 return ferror (f) || fclose (f) != 0;
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest$ac_exeext
20280 if { (ac_try="$ac_link"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_link") 2>&5
20287 ac_status=$?
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20290 { (case "(($ac_try" in
20291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20292 *) ac_try_echo=$ac_try;;
20293 esac
20294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20295 (eval "$ac_try") 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_cv_sizeof_size_t=`cat conftest.val`
20300 else
20301 echo "$as_me: program exited with status $ac_status" >&5
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20304
20305 ( exit $ac_status )
20306 if test "$ac_cv_type_size_t" = yes; then
20307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20308 See \`config.log' for more details." >&5
20309 echo "$as_me: error: cannot compute sizeof (size_t)
20310 See \`config.log' for more details." >&2;}
20311 { (exit 77); exit 77; }; }
20312 else
20313 ac_cv_sizeof_size_t=0
20314 fi
20315 fi
20316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20317 fi
20318 rm -f conftest.val
20319 fi
20320 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20321 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20322
20323
20324
20325 cat >>confdefs.h <<_ACEOF
20326 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20327 _ACEOF
20328
20329
20330
20331 case "${host}" in
20332 arm-*-linux* )
20333 { echo "$as_me:$LINENO: checking for long long" >&5
20334 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20335 if test "${ac_cv_type_long_long+set}" = set; then
20336 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 else
20338 cat >conftest.$ac_ext <<_ACEOF
20339 /* confdefs.h. */
20340 _ACEOF
20341 cat confdefs.h >>conftest.$ac_ext
20342 cat >>conftest.$ac_ext <<_ACEOF
20343 /* end confdefs.h. */
20344 $ac_includes_default
20345 typedef long long ac__type_new_;
20346 int
20347 main ()
20348 {
20349 if ((ac__type_new_ *) 0)
20350 return 0;
20351 if (sizeof (ac__type_new_))
20352 return 0;
20353 ;
20354 return 0;
20355 }
20356 _ACEOF
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20362 esac
20363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20365 ac_status=$?
20366 grep -v '^ *+' conftest.er1 >conftest.err
20367 rm -f conftest.er1
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest.$ac_objext; then
20374 ac_cv_type_long_long=yes
20375 else
20376 echo "$as_me: failed program was:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20378
20379 ac_cv_type_long_long=no
20380 fi
20381
20382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20383 fi
20384 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20385 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20386
20387 # The cast to long int works around a bug in the HP C Compiler
20388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20390 # This bug is HP SR number 8606223364.
20391 { echo "$as_me:$LINENO: checking size of long long" >&5
20392 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20393 if test "${ac_cv_sizeof_long_long+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 else
20396 if test "$cross_compiling" = yes; then
20397 # Depending upon the size, compute the lo and hi bounds.
20398 cat >conftest.$ac_ext <<_ACEOF
20399 /* confdefs.h. */
20400 _ACEOF
20401 cat confdefs.h >>conftest.$ac_ext
20402 cat >>conftest.$ac_ext <<_ACEOF
20403 /* end confdefs.h. */
20404 $ac_includes_default
20405 typedef long long ac__type_sizeof_;
20406 int
20407 main ()
20408 {
20409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20410 test_array [0] = 0
20411
20412 ;
20413 return 0;
20414 }
20415 _ACEOF
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20421 esac
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20424 ac_status=$?
20425 grep -v '^ *+' conftest.er1 >conftest.err
20426 rm -f conftest.er1
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && {
20430 test -z "$ac_c_werror_flag" ||
20431 test ! -s conftest.err
20432 } && test -s conftest.$ac_objext; then
20433 ac_lo=0 ac_mid=0
20434 while :; do
20435 cat >conftest.$ac_ext <<_ACEOF
20436 /* confdefs.h. */
20437 _ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 $ac_includes_default
20442 typedef long long ac__type_sizeof_;
20443 int
20444 main ()
20445 {
20446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20447 test_array [0] = 0
20448
20449 ;
20450 return 0;
20451 }
20452 _ACEOF
20453 rm -f conftest.$ac_objext
20454 if { (ac_try="$ac_compile"
20455 case "(($ac_try" in
20456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20457 *) ac_try_echo=$ac_try;;
20458 esac
20459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20460 (eval "$ac_compile") 2>conftest.er1
20461 ac_status=$?
20462 grep -v '^ *+' conftest.er1 >conftest.err
20463 rm -f conftest.er1
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } && {
20467 test -z "$ac_c_werror_flag" ||
20468 test ! -s conftest.err
20469 } && test -s conftest.$ac_objext; then
20470 ac_hi=$ac_mid; break
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20474
20475 ac_lo=`expr $ac_mid + 1`
20476 if test $ac_lo -le $ac_mid; then
20477 ac_lo= ac_hi=
20478 break
20479 fi
20480 ac_mid=`expr 2 '*' $ac_mid + 1`
20481 fi
20482
20483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20484 done
20485 else
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20488
20489 cat >conftest.$ac_ext <<_ACEOF
20490 /* confdefs.h. */
20491 _ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef long long ac__type_sizeof_;
20497 int
20498 main ()
20499 {
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20501 test_array [0] = 0
20502
20503 ;
20504 return 0;
20505 }
20506 _ACEOF
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20511 *) ac_try_echo=$ac_try;;
20512 esac
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20515 ac_status=$?
20516 grep -v '^ *+' conftest.er1 >conftest.err
20517 rm -f conftest.er1
20518 cat conftest.err >&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.$ac_objext; then
20524 ac_hi=-1 ac_mid=-1
20525 while :; do
20526 cat >conftest.$ac_ext <<_ACEOF
20527 /* confdefs.h. */
20528 _ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20532 $ac_includes_default
20533 typedef long long ac__type_sizeof_;
20534 int
20535 main ()
20536 {
20537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20538 test_array [0] = 0
20539
20540 ;
20541 return 0;
20542 }
20543 _ACEOF
20544 rm -f conftest.$ac_objext
20545 if { (ac_try="$ac_compile"
20546 case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;;
20549 esac
20550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20551 (eval "$ac_compile") 2>conftest.er1
20552 ac_status=$?
20553 grep -v '^ *+' conftest.er1 >conftest.err
20554 rm -f conftest.er1
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } && {
20558 test -z "$ac_c_werror_flag" ||
20559 test ! -s conftest.err
20560 } && test -s conftest.$ac_objext; then
20561 ac_lo=$ac_mid; break
20562 else
20563 echo "$as_me: failed program was:" >&5
20564 sed 's/^/| /' conftest.$ac_ext >&5
20565
20566 ac_hi=`expr '(' $ac_mid ')' - 1`
20567 if test $ac_mid -le $ac_hi; then
20568 ac_lo= ac_hi=
20569 break
20570 fi
20571 ac_mid=`expr 2 '*' $ac_mid`
20572 fi
20573
20574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20575 done
20576 else
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20579
20580 ac_lo= ac_hi=
20581 fi
20582
20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20584 fi
20585
20586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20587 # Binary search between lo and hi bounds.
20588 while test "x$ac_lo" != "x$ac_hi"; do
20589 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20590 cat >conftest.$ac_ext <<_ACEOF
20591 /* confdefs.h. */
20592 _ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 $ac_includes_default
20597 typedef long long ac__type_sizeof_;
20598 int
20599 main ()
20600 {
20601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20602 test_array [0] = 0
20603
20604 ;
20605 return 0;
20606 }
20607 _ACEOF
20608 rm -f conftest.$ac_objext
20609 if { (ac_try="$ac_compile"
20610 case "(($ac_try" in
20611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20613 esac
20614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20615 (eval "$ac_compile") 2>conftest.er1
20616 ac_status=$?
20617 grep -v '^ *+' conftest.er1 >conftest.err
20618 rm -f conftest.er1
20619 cat conftest.err >&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } && {
20622 test -z "$ac_c_werror_flag" ||
20623 test ! -s conftest.err
20624 } && test -s conftest.$ac_objext; then
20625 ac_hi=$ac_mid
20626 else
20627 echo "$as_me: failed program was:" >&5
20628 sed 's/^/| /' conftest.$ac_ext >&5
20629
20630 ac_lo=`expr '(' $ac_mid ')' + 1`
20631 fi
20632
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 done
20635 case $ac_lo in
20636 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20637 '') if test "$ac_cv_type_long_long" = yes; then
20638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20639 See \`config.log' for more details." >&5
20640 echo "$as_me: error: cannot compute sizeof (long long)
20641 See \`config.log' for more details." >&2;}
20642 { (exit 77); exit 77; }; }
20643 else
20644 ac_cv_sizeof_long_long=0
20645 fi ;;
20646 esac
20647 else
20648 cat >conftest.$ac_ext <<_ACEOF
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef long long ac__type_sizeof_;
20656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20658 #include <stdio.h>
20659 #include <stdlib.h>
20660 int
20661 main ()
20662 {
20663
20664 FILE *f = fopen ("conftest.val", "w");
20665 if (! f)
20666 return 1;
20667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20668 {
20669 long int i = longval ();
20670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20671 return 1;
20672 fprintf (f, "%ld\n", i);
20673 }
20674 else
20675 {
20676 unsigned long int i = ulongval ();
20677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20678 return 1;
20679 fprintf (f, "%lu\n", i);
20680 }
20681 return ferror (f) || fclose (f) != 0;
20682
20683 ;
20684 return 0;
20685 }
20686 _ACEOF
20687 rm -f conftest$ac_exeext
20688 if { (ac_try="$ac_link"
20689 case "(($ac_try" in
20690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20691 *) ac_try_echo=$ac_try;;
20692 esac
20693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20694 (eval "$ac_link") 2>&5
20695 ac_status=$?
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20698 { (case "(($ac_try" in
20699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20701 esac
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_try") 2>&5
20704 ac_status=$?
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); }; }; then
20707 ac_cv_sizeof_long_long=`cat conftest.val`
20708 else
20709 echo "$as_me: program exited with status $ac_status" >&5
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20712
20713 ( exit $ac_status )
20714 if test "$ac_cv_type_long_long" = yes; then
20715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20716 See \`config.log' for more details." >&5
20717 echo "$as_me: error: cannot compute sizeof (long long)
20718 See \`config.log' for more details." >&2;}
20719 { (exit 77); exit 77; }; }
20720 else
20721 ac_cv_sizeof_long_long=0
20722 fi
20723 fi
20724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20725 fi
20726 rm -f conftest.val
20727 fi
20728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20729 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20730
20731
20732
20733 cat >>confdefs.h <<_ACEOF
20734 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20735 _ACEOF
20736
20737
20738 ;;
20739 *-hp-hpux* )
20740 { echo "$as_me:$LINENO: checking for long long" >&5
20741 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20742 if test "${ac_cv_type_long_long+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20744 else
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef long long ac__type_new_;
20753 int
20754 main ()
20755 {
20756 if ((ac__type_new_ *) 0)
20757 return 0;
20758 if (sizeof (ac__type_new_))
20759 return 0;
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext
20765 if { (ac_try="$ac_compile"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20769 esac
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_compile") 2>conftest.er1
20772 ac_status=$?
20773 grep -v '^ *+' conftest.er1 >conftest.err
20774 rm -f conftest.er1
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } && {
20778 test -z "$ac_c_werror_flag" ||
20779 test ! -s conftest.err
20780 } && test -s conftest.$ac_objext; then
20781 ac_cv_type_long_long=yes
20782 else
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20785
20786 ac_cv_type_long_long=no
20787 fi
20788
20789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20790 fi
20791 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20792 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20793
20794 # The cast to long int works around a bug in the HP C Compiler
20795 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20796 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20797 # This bug is HP SR number 8606223364.
20798 { echo "$as_me:$LINENO: checking size of long long" >&5
20799 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20800 if test "${ac_cv_sizeof_long_long+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 else
20803 if test "$cross_compiling" = yes; then
20804 # Depending upon the size, compute the lo and hi bounds.
20805 cat >conftest.$ac_ext <<_ACEOF
20806 /* confdefs.h. */
20807 _ACEOF
20808 cat confdefs.h >>conftest.$ac_ext
20809 cat >>conftest.$ac_ext <<_ACEOF
20810 /* end confdefs.h. */
20811 $ac_includes_default
20812 typedef long long ac__type_sizeof_;
20813 int
20814 main ()
20815 {
20816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20817 test_array [0] = 0
20818
20819 ;
20820 return 0;
20821 }
20822 _ACEOF
20823 rm -f conftest.$ac_objext
20824 if { (ac_try="$ac_compile"
20825 case "(($ac_try" in
20826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20827 *) ac_try_echo=$ac_try;;
20828 esac
20829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20830 (eval "$ac_compile") 2>conftest.er1
20831 ac_status=$?
20832 grep -v '^ *+' conftest.er1 >conftest.err
20833 rm -f conftest.er1
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } && {
20837 test -z "$ac_c_werror_flag" ||
20838 test ! -s conftest.err
20839 } && test -s conftest.$ac_objext; then
20840 ac_lo=0 ac_mid=0
20841 while :; do
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 $ac_includes_default
20849 typedef long long ac__type_sizeof_;
20850 int
20851 main ()
20852 {
20853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20854 test_array [0] = 0
20855
20856 ;
20857 return 0;
20858 }
20859 _ACEOF
20860 rm -f conftest.$ac_objext
20861 if { (ac_try="$ac_compile"
20862 case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20865 esac
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_compile") 2>conftest.er1
20868 ac_status=$?
20869 grep -v '^ *+' conftest.er1 >conftest.err
20870 rm -f conftest.er1
20871 cat conftest.err >&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } && {
20874 test -z "$ac_c_werror_flag" ||
20875 test ! -s conftest.err
20876 } && test -s conftest.$ac_objext; then
20877 ac_hi=$ac_mid; break
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20881
20882 ac_lo=`expr $ac_mid + 1`
20883 if test $ac_lo -le $ac_mid; then
20884 ac_lo= ac_hi=
20885 break
20886 fi
20887 ac_mid=`expr 2 '*' $ac_mid + 1`
20888 fi
20889
20890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20891 done
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 typedef long long ac__type_sizeof_;
20904 int
20905 main ()
20906 {
20907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20908 test_array [0] = 0
20909
20910 ;
20911 return 0;
20912 }
20913 _ACEOF
20914 rm -f conftest.$ac_objext
20915 if { (ac_try="$ac_compile"
20916 case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20919 esac
20920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_compile") 2>conftest.er1
20922 ac_status=$?
20923 grep -v '^ *+' conftest.er1 >conftest.err
20924 rm -f conftest.er1
20925 cat conftest.err >&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } && {
20928 test -z "$ac_c_werror_flag" ||
20929 test ! -s conftest.err
20930 } && test -s conftest.$ac_objext; then
20931 ac_hi=-1 ac_mid=-1
20932 while :; do
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 typedef long long ac__type_sizeof_;
20941 int
20942 main ()
20943 {
20944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20945 test_array [0] = 0
20946
20947 ;
20948 return 0;
20949 }
20950 _ACEOF
20951 rm -f conftest.$ac_objext
20952 if { (ac_try="$ac_compile"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20956 esac
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_compile") 2>conftest.er1
20959 ac_status=$?
20960 grep -v '^ *+' conftest.er1 >conftest.err
20961 rm -f conftest.er1
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest.$ac_objext; then
20968 ac_lo=$ac_mid; break
20969 else
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 ac_hi=`expr '(' $ac_mid ')' - 1`
20974 if test $ac_mid -le $ac_hi; then
20975 ac_lo= ac_hi=
20976 break
20977 fi
20978 ac_mid=`expr 2 '*' $ac_mid`
20979 fi
20980
20981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 done
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20986
20987 ac_lo= ac_hi=
20988 fi
20989
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 fi
20992
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 # Binary search between lo and hi bounds.
20995 while test "x$ac_lo" != "x$ac_hi"; do
20996 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20997 cat >conftest.$ac_ext <<_ACEOF
20998 /* confdefs.h. */
20999 _ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 $ac_includes_default
21004 typedef long long ac__type_sizeof_;
21005 int
21006 main ()
21007 {
21008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21009 test_array [0] = 0
21010
21011 ;
21012 return 0;
21013 }
21014 _ACEOF
21015 rm -f conftest.$ac_objext
21016 if { (ac_try="$ac_compile"
21017 case "(($ac_try" in
21018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21020 esac
21021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21022 (eval "$ac_compile") 2>conftest.er1
21023 ac_status=$?
21024 grep -v '^ *+' conftest.er1 >conftest.err
21025 rm -f conftest.er1
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } && {
21029 test -z "$ac_c_werror_flag" ||
21030 test ! -s conftest.err
21031 } && test -s conftest.$ac_objext; then
21032 ac_hi=$ac_mid
21033 else
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21036
21037 ac_lo=`expr '(' $ac_mid ')' + 1`
21038 fi
21039
21040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 done
21042 case $ac_lo in
21043 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21044 '') if test "$ac_cv_type_long_long" = yes; then
21045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21046 See \`config.log' for more details." >&5
21047 echo "$as_me: error: cannot compute sizeof (long long)
21048 See \`config.log' for more details." >&2;}
21049 { (exit 77); exit 77; }; }
21050 else
21051 ac_cv_sizeof_long_long=0
21052 fi ;;
21053 esac
21054 else
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21062 typedef long long ac__type_sizeof_;
21063 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21064 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21065 #include <stdio.h>
21066 #include <stdlib.h>
21067 int
21068 main ()
21069 {
21070
21071 FILE *f = fopen ("conftest.val", "w");
21072 if (! f)
21073 return 1;
21074 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21075 {
21076 long int i = longval ();
21077 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21078 return 1;
21079 fprintf (f, "%ld\n", i);
21080 }
21081 else
21082 {
21083 unsigned long int i = ulongval ();
21084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21085 return 1;
21086 fprintf (f, "%lu\n", i);
21087 }
21088 return ferror (f) || fclose (f) != 0;
21089
21090 ;
21091 return 0;
21092 }
21093 _ACEOF
21094 rm -f conftest$ac_exeext
21095 if { (ac_try="$ac_link"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21099 esac
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_link") 2>&5
21102 ac_status=$?
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21105 { (case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21108 esac
21109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_try") 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; }; then
21114 ac_cv_sizeof_long_long=`cat conftest.val`
21115 else
21116 echo "$as_me: program exited with status $ac_status" >&5
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21119
21120 ( exit $ac_status )
21121 if test "$ac_cv_type_long_long" = yes; then
21122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21123 See \`config.log' for more details." >&5
21124 echo "$as_me: error: cannot compute sizeof (long long)
21125 See \`config.log' for more details." >&2;}
21126 { (exit 77); exit 77; }; }
21127 else
21128 ac_cv_sizeof_long_long=0
21129 fi
21130 fi
21131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21132 fi
21133 rm -f conftest.val
21134 fi
21135 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21136 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21137
21138
21139
21140 cat >>confdefs.h <<_ACEOF
21141 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21142 _ACEOF
21143
21144
21145 if test "$ac_cv_sizeof_long_long" != "0"; then
21146 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21147 fi
21148 ;;
21149 * )
21150 { echo "$as_me:$LINENO: checking for long long" >&5
21151 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21152 if test "${ac_cv_type_long_long+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 else
21155 cat >conftest.$ac_ext <<_ACEOF
21156 /* confdefs.h. */
21157 _ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162 typedef long long ac__type_new_;
21163 int
21164 main ()
21165 {
21166 if ((ac__type_new_ *) 0)
21167 return 0;
21168 if (sizeof (ac__type_new_))
21169 return 0;
21170 ;
21171 return 0;
21172 }
21173 _ACEOF
21174 rm -f conftest.$ac_objext
21175 if { (ac_try="$ac_compile"
21176 case "(($ac_try" in
21177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21178 *) ac_try_echo=$ac_try;;
21179 esac
21180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21181 (eval "$ac_compile") 2>conftest.er1
21182 ac_status=$?
21183 grep -v '^ *+' conftest.er1 >conftest.err
21184 rm -f conftest.er1
21185 cat conftest.err >&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } && {
21188 test -z "$ac_c_werror_flag" ||
21189 test ! -s conftest.err
21190 } && test -s conftest.$ac_objext; then
21191 ac_cv_type_long_long=yes
21192 else
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21195
21196 ac_cv_type_long_long=no
21197 fi
21198
21199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21200 fi
21201 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21202 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21203
21204 # The cast to long int works around a bug in the HP C Compiler
21205 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21206 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21207 # This bug is HP SR number 8606223364.
21208 { echo "$as_me:$LINENO: checking size of long long" >&5
21209 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21210 if test "${ac_cv_sizeof_long_long+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213 if test "$cross_compiling" = yes; then
21214 # Depending upon the size, compute the lo and hi bounds.
21215 cat >conftest.$ac_ext <<_ACEOF
21216 /* confdefs.h. */
21217 _ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21222 typedef long long ac__type_sizeof_;
21223 int
21224 main ()
21225 {
21226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21227 test_array [0] = 0
21228
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 rm -f conftest.$ac_objext
21234 if { (ac_try="$ac_compile"
21235 case "(($ac_try" in
21236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21237 *) ac_try_echo=$ac_try;;
21238 esac
21239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21240 (eval "$ac_compile") 2>conftest.er1
21241 ac_status=$?
21242 grep -v '^ *+' conftest.er1 >conftest.err
21243 rm -f conftest.er1
21244 cat conftest.err >&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } && {
21247 test -z "$ac_c_werror_flag" ||
21248 test ! -s conftest.err
21249 } && test -s conftest.$ac_objext; then
21250 ac_lo=0 ac_mid=0
21251 while :; do
21252 cat >conftest.$ac_ext <<_ACEOF
21253 /* confdefs.h. */
21254 _ACEOF
21255 cat confdefs.h >>conftest.$ac_ext
21256 cat >>conftest.$ac_ext <<_ACEOF
21257 /* end confdefs.h. */
21258 $ac_includes_default
21259 typedef long long ac__type_sizeof_;
21260 int
21261 main ()
21262 {
21263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21264 test_array [0] = 0
21265
21266 ;
21267 return 0;
21268 }
21269 _ACEOF
21270 rm -f conftest.$ac_objext
21271 if { (ac_try="$ac_compile"
21272 case "(($ac_try" in
21273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21274 *) ac_try_echo=$ac_try;;
21275 esac
21276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21277 (eval "$ac_compile") 2>conftest.er1
21278 ac_status=$?
21279 grep -v '^ *+' conftest.er1 >conftest.err
21280 rm -f conftest.er1
21281 cat conftest.err >&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } && {
21284 test -z "$ac_c_werror_flag" ||
21285 test ! -s conftest.err
21286 } && test -s conftest.$ac_objext; then
21287 ac_hi=$ac_mid; break
21288 else
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21291
21292 ac_lo=`expr $ac_mid + 1`
21293 if test $ac_lo -le $ac_mid; then
21294 ac_lo= ac_hi=
21295 break
21296 fi
21297 ac_mid=`expr 2 '*' $ac_mid + 1`
21298 fi
21299
21300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21301 done
21302 else
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21305
21306 cat >conftest.$ac_ext <<_ACEOF
21307 /* confdefs.h. */
21308 _ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 $ac_includes_default
21313 typedef long long ac__type_sizeof_;
21314 int
21315 main ()
21316 {
21317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21318 test_array [0] = 0
21319
21320 ;
21321 return 0;
21322 }
21323 _ACEOF
21324 rm -f conftest.$ac_objext
21325 if { (ac_try="$ac_compile"
21326 case "(($ac_try" in
21327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21329 esac
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21332 ac_status=$?
21333 grep -v '^ *+' conftest.er1 >conftest.err
21334 rm -f conftest.er1
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && {
21338 test -z "$ac_c_werror_flag" ||
21339 test ! -s conftest.err
21340 } && test -s conftest.$ac_objext; then
21341 ac_hi=-1 ac_mid=-1
21342 while :; do
21343 cat >conftest.$ac_ext <<_ACEOF
21344 /* confdefs.h. */
21345 _ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 typedef long long ac__type_sizeof_;
21351 int
21352 main ()
21353 {
21354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21355 test_array [0] = 0
21356
21357 ;
21358 return 0;
21359 }
21360 _ACEOF
21361 rm -f conftest.$ac_objext
21362 if { (ac_try="$ac_compile"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21366 esac
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_compile") 2>conftest.er1
21369 ac_status=$?
21370 grep -v '^ *+' conftest.er1 >conftest.err
21371 rm -f conftest.er1
21372 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && {
21375 test -z "$ac_c_werror_flag" ||
21376 test ! -s conftest.err
21377 } && test -s conftest.$ac_objext; then
21378 ac_lo=$ac_mid; break
21379 else
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.$ac_ext >&5
21382
21383 ac_hi=`expr '(' $ac_mid ')' - 1`
21384 if test $ac_mid -le $ac_hi; then
21385 ac_lo= ac_hi=
21386 break
21387 fi
21388 ac_mid=`expr 2 '*' $ac_mid`
21389 fi
21390
21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21392 done
21393 else
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21396
21397 ac_lo= ac_hi=
21398 fi
21399
21400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21401 fi
21402
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21404 # Binary search between lo and hi bounds.
21405 while test "x$ac_lo" != "x$ac_hi"; do
21406 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21407 cat >conftest.$ac_ext <<_ACEOF
21408 /* confdefs.h. */
21409 _ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 $ac_includes_default
21414 typedef long long ac__type_sizeof_;
21415 int
21416 main ()
21417 {
21418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21419 test_array [0] = 0
21420
21421 ;
21422 return 0;
21423 }
21424 _ACEOF
21425 rm -f conftest.$ac_objext
21426 if { (ac_try="$ac_compile"
21427 case "(($ac_try" in
21428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21429 *) ac_try_echo=$ac_try;;
21430 esac
21431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432 (eval "$ac_compile") 2>conftest.er1
21433 ac_status=$?
21434 grep -v '^ *+' conftest.er1 >conftest.err
21435 rm -f conftest.er1
21436 cat conftest.err >&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } && {
21439 test -z "$ac_c_werror_flag" ||
21440 test ! -s conftest.err
21441 } && test -s conftest.$ac_objext; then
21442 ac_hi=$ac_mid
21443 else
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21446
21447 ac_lo=`expr '(' $ac_mid ')' + 1`
21448 fi
21449
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 done
21452 case $ac_lo in
21453 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21454 '') if test "$ac_cv_type_long_long" = yes; then
21455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21456 See \`config.log' for more details." >&5
21457 echo "$as_me: error: cannot compute sizeof (long long)
21458 See \`config.log' for more details." >&2;}
21459 { (exit 77); exit 77; }; }
21460 else
21461 ac_cv_sizeof_long_long=0
21462 fi ;;
21463 esac
21464 else
21465 cat >conftest.$ac_ext <<_ACEOF
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471 $ac_includes_default
21472 typedef long long ac__type_sizeof_;
21473 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21474 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21475 #include <stdio.h>
21476 #include <stdlib.h>
21477 int
21478 main ()
21479 {
21480
21481 FILE *f = fopen ("conftest.val", "w");
21482 if (! f)
21483 return 1;
21484 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21485 {
21486 long int i = longval ();
21487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21488 return 1;
21489 fprintf (f, "%ld\n", i);
21490 }
21491 else
21492 {
21493 unsigned long int i = ulongval ();
21494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21495 return 1;
21496 fprintf (f, "%lu\n", i);
21497 }
21498 return ferror (f) || fclose (f) != 0;
21499
21500 ;
21501 return 0;
21502 }
21503 _ACEOF
21504 rm -f conftest$ac_exeext
21505 if { (ac_try="$ac_link"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21509 esac
21510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_link") 2>&5
21512 ac_status=$?
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21521 ac_status=$?
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 ac_cv_sizeof_long_long=`cat conftest.val`
21525 else
21526 echo "$as_me: program exited with status $ac_status" >&5
21527 echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21529
21530 ( exit $ac_status )
21531 if test "$ac_cv_type_long_long" = yes; then
21532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21533 See \`config.log' for more details." >&5
21534 echo "$as_me: error: cannot compute sizeof (long long)
21535 See \`config.log' for more details." >&2;}
21536 { (exit 77); exit 77; }; }
21537 else
21538 ac_cv_sizeof_long_long=0
21539 fi
21540 fi
21541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21542 fi
21543 rm -f conftest.val
21544 fi
21545 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21546 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21547
21548
21549
21550 cat >>confdefs.h <<_ACEOF
21551 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21552 _ACEOF
21553
21554
21555 esac
21556
21557 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21558 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21559 if test "${ac_cv_type_wchar_t+set}" = set; then
21560 echo $ECHO_N "(cached) $ECHO_C" >&6
21561 else
21562 cat >conftest.$ac_ext <<_ACEOF
21563 /* confdefs.h. */
21564 _ACEOF
21565 cat confdefs.h >>conftest.$ac_ext
21566 cat >>conftest.$ac_ext <<_ACEOF
21567 /* end confdefs.h. */
21568
21569 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21570 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21571 # error "fake wchar_t"
21572 #endif
21573 #ifdef HAVE_WCHAR_H
21574 # ifdef __CYGWIN__
21575 # include <stddef.h>
21576 # endif
21577 # include <wchar.h>
21578 #endif
21579 #ifdef HAVE_STDLIB_H
21580 # include <stdlib.h>
21581 #endif
21582 #include <stdio.h>
21583
21584
21585
21586 typedef wchar_t ac__type_new_;
21587 int
21588 main ()
21589 {
21590 if ((ac__type_new_ *) 0)
21591 return 0;
21592 if (sizeof (ac__type_new_))
21593 return 0;
21594 ;
21595 return 0;
21596 }
21597 _ACEOF
21598 rm -f conftest.$ac_objext
21599 if { (ac_try="$ac_compile"
21600 case "(($ac_try" in
21601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21602 *) ac_try_echo=$ac_try;;
21603 esac
21604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21605 (eval "$ac_compile") 2>conftest.er1
21606 ac_status=$?
21607 grep -v '^ *+' conftest.er1 >conftest.err
21608 rm -f conftest.er1
21609 cat conftest.err >&5
21610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21611 (exit $ac_status); } && {
21612 test -z "$ac_c_werror_flag" ||
21613 test ! -s conftest.err
21614 } && test -s conftest.$ac_objext; then
21615 ac_cv_type_wchar_t=yes
21616 else
21617 echo "$as_me: failed program was:" >&5
21618 sed 's/^/| /' conftest.$ac_ext >&5
21619
21620 ac_cv_type_wchar_t=no
21621 fi
21622
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 fi
21625 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21626 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21627
21628 # The cast to long int works around a bug in the HP C Compiler
21629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21631 # This bug is HP SR number 8606223364.
21632 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21633 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21634 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21636 else
21637 if test "$cross_compiling" = yes; then
21638 # Depending upon the size, compute the lo and hi bounds.
21639 cat >conftest.$ac_ext <<_ACEOF
21640 /* confdefs.h. */
21641 _ACEOF
21642 cat confdefs.h >>conftest.$ac_ext
21643 cat >>conftest.$ac_ext <<_ACEOF
21644 /* end confdefs.h. */
21645
21646 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21647 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21648 # error "fake wchar_t"
21649 #endif
21650 #ifdef HAVE_WCHAR_H
21651 # ifdef __CYGWIN__
21652 # include <stddef.h>
21653 # endif
21654 # include <wchar.h>
21655 #endif
21656 #ifdef HAVE_STDLIB_H
21657 # include <stdlib.h>
21658 #endif
21659 #include <stdio.h>
21660
21661
21662
21663 typedef wchar_t ac__type_sizeof_;
21664 int
21665 main ()
21666 {
21667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21668 test_array [0] = 0
21669
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 rm -f conftest.$ac_objext
21675 if { (ac_try="$ac_compile"
21676 case "(($ac_try" in
21677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678 *) ac_try_echo=$ac_try;;
21679 esac
21680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681 (eval "$ac_compile") 2>conftest.er1
21682 ac_status=$?
21683 grep -v '^ *+' conftest.er1 >conftest.err
21684 rm -f conftest.er1
21685 cat conftest.err >&5
21686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687 (exit $ac_status); } && {
21688 test -z "$ac_c_werror_flag" ||
21689 test ! -s conftest.err
21690 } && test -s conftest.$ac_objext; then
21691 ac_lo=0 ac_mid=0
21692 while :; do
21693 cat >conftest.$ac_ext <<_ACEOF
21694 /* confdefs.h. */
21695 _ACEOF
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21699
21700 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21701 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21702 # error "fake wchar_t"
21703 #endif
21704 #ifdef HAVE_WCHAR_H
21705 # ifdef __CYGWIN__
21706 # include <stddef.h>
21707 # endif
21708 # include <wchar.h>
21709 #endif
21710 #ifdef HAVE_STDLIB_H
21711 # include <stdlib.h>
21712 #endif
21713 #include <stdio.h>
21714
21715
21716
21717 typedef wchar_t ac__type_sizeof_;
21718 int
21719 main ()
21720 {
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21722 test_array [0] = 0
21723
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21733 esac
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21736 ac_status=$?
21737 grep -v '^ *+' conftest.er1 >conftest.err
21738 rm -f conftest.er1
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.$ac_objext; then
21745 ac_hi=$ac_mid; break
21746 else
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21749
21750 ac_lo=`expr $ac_mid + 1`
21751 if test $ac_lo -le $ac_mid; then
21752 ac_lo= ac_hi=
21753 break
21754 fi
21755 ac_mid=`expr 2 '*' $ac_mid + 1`
21756 fi
21757
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21759 done
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 cat >conftest.$ac_ext <<_ACEOF
21765 /* confdefs.h. */
21766 _ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770
21771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21773 # error "fake wchar_t"
21774 #endif
21775 #ifdef HAVE_WCHAR_H
21776 # ifdef __CYGWIN__
21777 # include <stddef.h>
21778 # endif
21779 # include <wchar.h>
21780 #endif
21781 #ifdef HAVE_STDLIB_H
21782 # include <stdlib.h>
21783 #endif
21784 #include <stdio.h>
21785
21786
21787
21788 typedef wchar_t ac__type_sizeof_;
21789 int
21790 main ()
21791 {
21792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21793 test_array [0] = 0
21794
21795 ;
21796 return 0;
21797 }
21798 _ACEOF
21799 rm -f conftest.$ac_objext
21800 if { (ac_try="$ac_compile"
21801 case "(($ac_try" in
21802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21803 *) ac_try_echo=$ac_try;;
21804 esac
21805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21806 (eval "$ac_compile") 2>conftest.er1
21807 ac_status=$?
21808 grep -v '^ *+' conftest.er1 >conftest.err
21809 rm -f conftest.er1
21810 cat conftest.err >&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } && {
21813 test -z "$ac_c_werror_flag" ||
21814 test ! -s conftest.err
21815 } && test -s conftest.$ac_objext; then
21816 ac_hi=-1 ac_mid=-1
21817 while :; do
21818 cat >conftest.$ac_ext <<_ACEOF
21819 /* confdefs.h. */
21820 _ACEOF
21821 cat confdefs.h >>conftest.$ac_ext
21822 cat >>conftest.$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824
21825 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21826 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21827 # error "fake wchar_t"
21828 #endif
21829 #ifdef HAVE_WCHAR_H
21830 # ifdef __CYGWIN__
21831 # include <stddef.h>
21832 # endif
21833 # include <wchar.h>
21834 #endif
21835 #ifdef HAVE_STDLIB_H
21836 # include <stdlib.h>
21837 #endif
21838 #include <stdio.h>
21839
21840
21841
21842 typedef wchar_t ac__type_sizeof_;
21843 int
21844 main ()
21845 {
21846 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21847 test_array [0] = 0
21848
21849 ;
21850 return 0;
21851 }
21852 _ACEOF
21853 rm -f conftest.$ac_objext
21854 if { (ac_try="$ac_compile"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21858 esac
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_compile") 2>conftest.er1
21861 ac_status=$?
21862 grep -v '^ *+' conftest.er1 >conftest.err
21863 rm -f conftest.er1
21864 cat conftest.err >&5
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } && {
21867 test -z "$ac_c_werror_flag" ||
21868 test ! -s conftest.err
21869 } && test -s conftest.$ac_objext; then
21870 ac_lo=$ac_mid; break
21871 else
21872 echo "$as_me: failed program was:" >&5
21873 sed 's/^/| /' conftest.$ac_ext >&5
21874
21875 ac_hi=`expr '(' $ac_mid ')' - 1`
21876 if test $ac_mid -le $ac_hi; then
21877 ac_lo= ac_hi=
21878 break
21879 fi
21880 ac_mid=`expr 2 '*' $ac_mid`
21881 fi
21882
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884 done
21885 else
21886 echo "$as_me: failed program was:" >&5
21887 sed 's/^/| /' conftest.$ac_ext >&5
21888
21889 ac_lo= ac_hi=
21890 fi
21891
21892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21893 fi
21894
21895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21896 # Binary search between lo and hi bounds.
21897 while test "x$ac_lo" != "x$ac_hi"; do
21898 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21899 cat >conftest.$ac_ext <<_ACEOF
21900 /* confdefs.h. */
21901 _ACEOF
21902 cat confdefs.h >>conftest.$ac_ext
21903 cat >>conftest.$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21905
21906 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21907 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21908 # error "fake wchar_t"
21909 #endif
21910 #ifdef HAVE_WCHAR_H
21911 # ifdef __CYGWIN__
21912 # include <stddef.h>
21913 # endif
21914 # include <wchar.h>
21915 #endif
21916 #ifdef HAVE_STDLIB_H
21917 # include <stdlib.h>
21918 #endif
21919 #include <stdio.h>
21920
21921
21922
21923 typedef wchar_t ac__type_sizeof_;
21924 int
21925 main ()
21926 {
21927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21928 test_array [0] = 0
21929
21930 ;
21931 return 0;
21932 }
21933 _ACEOF
21934 rm -f conftest.$ac_objext
21935 if { (ac_try="$ac_compile"
21936 case "(($ac_try" in
21937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21938 *) ac_try_echo=$ac_try;;
21939 esac
21940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21941 (eval "$ac_compile") 2>conftest.er1
21942 ac_status=$?
21943 grep -v '^ *+' conftest.er1 >conftest.err
21944 rm -f conftest.er1
21945 cat conftest.err >&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); } && {
21948 test -z "$ac_c_werror_flag" ||
21949 test ! -s conftest.err
21950 } && test -s conftest.$ac_objext; then
21951 ac_hi=$ac_mid
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956 ac_lo=`expr '(' $ac_mid ')' + 1`
21957 fi
21958
21959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21960 done
21961 case $ac_lo in
21962 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21963 '') if test "$ac_cv_type_wchar_t" = yes; then
21964 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21965 See \`config.log' for more details." >&5
21966 echo "$as_me: error: cannot compute sizeof (wchar_t)
21967 See \`config.log' for more details." >&2;}
21968 { (exit 77); exit 77; }; }
21969 else
21970 ac_cv_sizeof_wchar_t=0
21971 fi ;;
21972 esac
21973 else
21974 cat >conftest.$ac_ext <<_ACEOF
21975 /* confdefs.h. */
21976 _ACEOF
21977 cat confdefs.h >>conftest.$ac_ext
21978 cat >>conftest.$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980
21981 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21982 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21983 # error "fake wchar_t"
21984 #endif
21985 #ifdef HAVE_WCHAR_H
21986 # ifdef __CYGWIN__
21987 # include <stddef.h>
21988 # endif
21989 # include <wchar.h>
21990 #endif
21991 #ifdef HAVE_STDLIB_H
21992 # include <stdlib.h>
21993 #endif
21994 #include <stdio.h>
21995
21996
21997
21998 typedef wchar_t ac__type_sizeof_;
21999 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22000 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22001 #include <stdio.h>
22002 #include <stdlib.h>
22003 int
22004 main ()
22005 {
22006
22007 FILE *f = fopen ("conftest.val", "w");
22008 if (! f)
22009 return 1;
22010 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22011 {
22012 long int i = longval ();
22013 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22014 return 1;
22015 fprintf (f, "%ld\n", i);
22016 }
22017 else
22018 {
22019 unsigned long int i = ulongval ();
22020 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22021 return 1;
22022 fprintf (f, "%lu\n", i);
22023 }
22024 return ferror (f) || fclose (f) != 0;
22025
22026 ;
22027 return 0;
22028 }
22029 _ACEOF
22030 rm -f conftest$ac_exeext
22031 if { (ac_try="$ac_link"
22032 case "(($ac_try" in
22033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22034 *) ac_try_echo=$ac_try;;
22035 esac
22036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22037 (eval "$ac_link") 2>&5
22038 ac_status=$?
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22041 { (case "(($ac_try" in
22042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22043 *) ac_try_echo=$ac_try;;
22044 esac
22045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_try") 2>&5
22047 ac_status=$?
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_cv_sizeof_wchar_t=`cat conftest.val`
22051 else
22052 echo "$as_me: program exited with status $ac_status" >&5
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22055
22056 ( exit $ac_status )
22057 if test "$ac_cv_type_wchar_t" = yes; then
22058 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22059 See \`config.log' for more details." >&5
22060 echo "$as_me: error: cannot compute sizeof (wchar_t)
22061 See \`config.log' for more details." >&2;}
22062 { (exit 77); exit 77; }; }
22063 else
22064 ac_cv_sizeof_wchar_t=0
22065 fi
22066 fi
22067 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22068 fi
22069 rm -f conftest.val
22070 fi
22071 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22072 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22073
22074
22075
22076 cat >>confdefs.h <<_ACEOF
22077 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22078 _ACEOF
22079
22080
22081 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22082 wxUSE_WCHAR_T=yes
22083 else
22084 wxUSE_WCHAR_T=no
22085 fi
22086
22087 { echo "$as_me:$LINENO: checking for va_copy" >&5
22088 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22089 if test "${wx_cv_func_va_copy+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22091 else
22092
22093 cat >conftest.$ac_ext <<_ACEOF
22094
22095 #include <stdarg.h>
22096 void foo(char *f, ...)
22097 {
22098 va_list ap1, ap2;
22099 va_start(ap1, f);
22100 va_copy(ap2, ap1);
22101 va_end(ap2);
22102 va_end(ap1);
22103 }
22104 int main()
22105 {
22106 foo("hi", 17);
22107 return 0;
22108 }
22109 _ACEOF
22110 rm -f conftest.$ac_objext conftest$ac_exeext
22111 if { (ac_try="$ac_link"
22112 case "(($ac_try" in
22113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22114 *) ac_try_echo=$ac_try;;
22115 esac
22116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22117 (eval "$ac_link") 2>conftest.er1
22118 ac_status=$?
22119 grep -v '^ *+' conftest.er1 >conftest.err
22120 rm -f conftest.er1
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } && {
22124 test -z "$ac_c_werror_flag" ||
22125 test ! -s conftest.err
22126 } && test -s conftest$ac_exeext &&
22127 $as_test_x conftest$ac_exeext; then
22128 wx_cv_func_va_copy=yes
22129 else
22130 echo "$as_me: failed program was:" >&5
22131 sed 's/^/| /' conftest.$ac_ext >&5
22132
22133 wx_cv_func_va_copy=no
22134
22135 fi
22136
22137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22138 conftest$ac_exeext conftest.$ac_ext
22139
22140
22141 fi
22142 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22143 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22144
22145 if test $wx_cv_func_va_copy = "yes"; then
22146 cat >>confdefs.h <<\_ACEOF
22147 #define HAVE_VA_COPY 1
22148 _ACEOF
22149
22150 else
22151 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22152 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22153 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22154 echo $ECHO_N "(cached) $ECHO_C" >&6
22155 else
22156
22157 if test "$cross_compiling" = yes; then
22158 wx_cv_type_va_list_lvalue=yes
22159
22160 else
22161 cat >conftest.$ac_ext <<_ACEOF
22162
22163 #include <stdarg.h>
22164 int foo(char *f, ...)
22165 {
22166 va_list ap1, ap2;
22167 va_start(ap1, f);
22168 ap2 = ap1;
22169 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22170 return 1;
22171 va_end(ap2);
22172 va_end(ap1);
22173 return 0;
22174 }
22175 int main()
22176 {
22177 return foo("hi", 17);
22178 }
22179 _ACEOF
22180 rm -f conftest$ac_exeext
22181 if { (ac_try="$ac_link"
22182 case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22185 esac
22186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22187 (eval "$ac_link") 2>&5
22188 ac_status=$?
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22191 { (case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22194 esac
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_try") 2>&5
22197 ac_status=$?
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 wx_cv_type_va_list_lvalue=yes
22201 else
22202 echo "$as_me: program exited with status $ac_status" >&5
22203 echo "$as_me: failed program was:" >&5
22204 sed 's/^/| /' conftest.$ac_ext >&5
22205
22206 ( exit $ac_status )
22207 wx_cv_type_va_list_lvalue=no
22208 fi
22209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22210 fi
22211
22212
22213
22214
22215 fi
22216 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22217 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22218
22219 if test $wx_cv_type_va_list_lvalue != "yes"; then
22220 cat >>confdefs.h <<\_ACEOF
22221 #define VA_LIST_IS_ARRAY 1
22222 _ACEOF
22223
22224 fi
22225 fi
22226
22227 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22228
22229 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22230 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22231 if test "${wx_cv_have_variadic_macros+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22233 else
22234
22235 ac_ext=cpp
22236 ac_cpp='$CXXCPP $CPPFLAGS'
22237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22240
22241 cat >conftest.$ac_ext <<_ACEOF
22242 /* confdefs.h. */
22243 _ACEOF
22244 cat confdefs.h >>conftest.$ac_ext
22245 cat >>conftest.$ac_ext <<_ACEOF
22246 /* end confdefs.h. */
22247
22248 #include <stdio.h>
22249 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22250
22251 int
22252 main ()
22253 {
22254
22255 test("%s %d %p", "test", 1, 0);
22256
22257
22258 ;
22259 return 0;
22260 }
22261 _ACEOF
22262 rm -f conftest.$ac_objext
22263 if { (ac_try="$ac_compile"
22264 case "(($ac_try" in
22265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22266 *) ac_try_echo=$ac_try;;
22267 esac
22268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22269 (eval "$ac_compile") 2>conftest.er1
22270 ac_status=$?
22271 grep -v '^ *+' conftest.er1 >conftest.err
22272 rm -f conftest.er1
22273 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } && {
22276 test -z "$ac_cxx_werror_flag" ||
22277 test ! -s conftest.err
22278 } && test -s conftest.$ac_objext; then
22279 wx_cv_have_variadic_macros=yes
22280 else
22281 echo "$as_me: failed program was:" >&5
22282 sed 's/^/| /' conftest.$ac_ext >&5
22283
22284 wx_cv_have_variadic_macros=no
22285
22286 fi
22287
22288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22289 ac_ext=c
22290 ac_cpp='$CPP $CPPFLAGS'
22291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22294
22295
22296
22297 fi
22298 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22299 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22300
22301 if test $wx_cv_have_variadic_macros = "yes"; then
22302 cat >>confdefs.h <<\_ACEOF
22303 #define HAVE_VARIADIC_MACROS 1
22304 _ACEOF
22305
22306 fi
22307
22308 fi
22309 # Check whether --enable-largefile was given.
22310 if test "${enable_largefile+set}" = set; then
22311 enableval=$enable_largefile;
22312 fi
22313
22314 if test "$enable_largefile" != no; then
22315 wx_largefile=no
22316
22317 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22318 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22319 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22320 echo $ECHO_N "(cached) $ECHO_C" >&6
22321 else
22322
22323 cat >conftest.$ac_ext <<_ACEOF
22324 /* confdefs.h. */
22325 _ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 #define _FILE_OFFSET_BITS 64
22330 #include <sys/types.h>
22331 int
22332 main ()
22333 {
22334 typedef struct {
22335 unsigned int field: sizeof(off_t) == 8;
22336 } wxlf;
22337
22338 ;
22339 return 0;
22340 }
22341 _ACEOF
22342 rm -f conftest.$ac_objext
22343 if { (ac_try="$ac_compile"
22344 case "(($ac_try" in
22345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22346 *) ac_try_echo=$ac_try;;
22347 esac
22348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22349 (eval "$ac_compile") 2>conftest.er1
22350 ac_status=$?
22351 grep -v '^ *+' conftest.er1 >conftest.err
22352 rm -f conftest.er1
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } && {
22356 test -z "$ac_c_werror_flag" ||
22357 test ! -s conftest.err
22358 } && test -s conftest.$ac_objext; then
22359 ac_cv_sys_file_offset_bits=64
22360 else
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22363
22364 ac_cv_sys_file_offset_bits=no
22365 fi
22366
22367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22368
22369
22370 fi
22371 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22372 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22373
22374 if test "$ac_cv_sys_file_offset_bits" != no; then
22375 wx_largefile=yes
22376 cat >>confdefs.h <<_ACEOF
22377 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22378 _ACEOF
22379
22380 fi
22381
22382 if test "x$wx_largefile" != "xyes"; then
22383
22384 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22385 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22386 if test "${ac_cv_sys_large_files+set}" = set; then
22387 echo $ECHO_N "(cached) $ECHO_C" >&6
22388 else
22389
22390 cat >conftest.$ac_ext <<_ACEOF
22391 /* confdefs.h. */
22392 _ACEOF
22393 cat confdefs.h >>conftest.$ac_ext
22394 cat >>conftest.$ac_ext <<_ACEOF
22395 /* end confdefs.h. */
22396 #define _LARGE_FILES 1
22397 #include <sys/types.h>
22398 int
22399 main ()
22400 {
22401 typedef struct {
22402 unsigned int field: sizeof(off_t) == 8;
22403 } wxlf;
22404
22405 ;
22406 return 0;
22407 }
22408 _ACEOF
22409 rm -f conftest.$ac_objext
22410 if { (ac_try="$ac_compile"
22411 case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22414 esac
22415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_compile") 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } && {
22423 test -z "$ac_c_werror_flag" ||
22424 test ! -s conftest.err
22425 } && test -s conftest.$ac_objext; then
22426 ac_cv_sys_large_files=1
22427 else
22428 echo "$as_me: failed program was:" >&5
22429 sed 's/^/| /' conftest.$ac_ext >&5
22430
22431 ac_cv_sys_large_files=no
22432 fi
22433
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435
22436
22437 fi
22438 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22439 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22440
22441 if test "$ac_cv_sys_large_files" != no; then
22442 wx_largefile=yes
22443 cat >>confdefs.h <<_ACEOF
22444 #define _LARGE_FILES $ac_cv_sys_large_files
22445 _ACEOF
22446
22447 fi
22448
22449 fi
22450
22451 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22452 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22453 if test "x$wx_largefile" = "xyes"; then
22454 cat >>confdefs.h <<\_ACEOF
22455 #define HAVE_LARGEFILE_SUPPORT 1
22456 _ACEOF
22457
22458 fi
22459 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22460 echo "${ECHO_T}$wx_largefile" >&6; }
22461 fi
22462
22463
22464 if test "x$wx_largefile" = "xyes"; then
22465 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22466 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22467
22468 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22469 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22470 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22471 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22473 else
22474
22475 ac_ext=cpp
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480
22481 cat >conftest.$ac_ext <<_ACEOF
22482 /* confdefs.h. */
22483 _ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487
22488 int
22489 main ()
22490 {
22491
22492 #ifndef __STDC_EXT__
22493 choke me
22494 #endif
22495
22496 ;
22497 return 0;
22498 }
22499 _ACEOF
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22508 ac_status=$?
22509 grep -v '^ *+' conftest.er1 >conftest.err
22510 rm -f conftest.er1
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_cxx_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22517 wx_cv_STDC_EXT_required=no
22518 else
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22521
22522 wx_cv_STDC_EXT_required=yes
22523
22524 fi
22525
22526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22527 ac_ext=c
22528 ac_cpp='$CPP $CPPFLAGS'
22529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22532
22533
22534
22535 fi
22536 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22537 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22538 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22539 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22540 fi
22541 fi
22542 else
22543 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22544 fi
22545 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22546 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22547 if test "${ac_cv_sys_largefile_source+set}" = set; then
22548 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 else
22550 while :; do
22551 cat >conftest.$ac_ext <<_ACEOF
22552 /* confdefs.h. */
22553 _ACEOF
22554 cat confdefs.h >>conftest.$ac_ext
22555 cat >>conftest.$ac_ext <<_ACEOF
22556 /* end confdefs.h. */
22557 #include <sys/types.h> /* for off_t */
22558 #include <stdio.h>
22559 int
22560 main ()
22561 {
22562 int (*fp) (FILE *, off_t, int) = fseeko;
22563 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22564 ;
22565 return 0;
22566 }
22567 _ACEOF
22568 rm -f conftest.$ac_objext conftest$ac_exeext
22569 if { (ac_try="$ac_link"
22570 case "(($ac_try" in
22571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22572 *) ac_try_echo=$ac_try;;
22573 esac
22574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22575 (eval "$ac_link") 2>conftest.er1
22576 ac_status=$?
22577 grep -v '^ *+' conftest.er1 >conftest.err
22578 rm -f conftest.er1
22579 cat conftest.err >&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); } && {
22582 test -z "$ac_c_werror_flag" ||
22583 test ! -s conftest.err
22584 } && test -s conftest$ac_exeext &&
22585 $as_test_x conftest$ac_exeext; then
22586 ac_cv_sys_largefile_source=no; break
22587 else
22588 echo "$as_me: failed program was:" >&5
22589 sed 's/^/| /' conftest.$ac_ext >&5
22590
22591
22592 fi
22593
22594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22595 conftest$ac_exeext conftest.$ac_ext
22596 cat >conftest.$ac_ext <<_ACEOF
22597 /* confdefs.h. */
22598 _ACEOF
22599 cat confdefs.h >>conftest.$ac_ext
22600 cat >>conftest.$ac_ext <<_ACEOF
22601 /* end confdefs.h. */
22602 #define _LARGEFILE_SOURCE 1
22603 #include <sys/types.h> /* for off_t */
22604 #include <stdio.h>
22605 int
22606 main ()
22607 {
22608 int (*fp) (FILE *, off_t, int) = fseeko;
22609 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22610 ;
22611 return 0;
22612 }
22613 _ACEOF
22614 rm -f conftest.$ac_objext conftest$ac_exeext
22615 if { (ac_try="$ac_link"
22616 case "(($ac_try" in
22617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22618 *) ac_try_echo=$ac_try;;
22619 esac
22620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22621 (eval "$ac_link") 2>conftest.er1
22622 ac_status=$?
22623 grep -v '^ *+' conftest.er1 >conftest.err
22624 rm -f conftest.er1
22625 cat conftest.err >&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } && {
22628 test -z "$ac_c_werror_flag" ||
22629 test ! -s conftest.err
22630 } && test -s conftest$ac_exeext &&
22631 $as_test_x conftest$ac_exeext; then
22632 ac_cv_sys_largefile_source=1; break
22633 else
22634 echo "$as_me: failed program was:" >&5
22635 sed 's/^/| /' conftest.$ac_ext >&5
22636
22637
22638 fi
22639
22640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22641 conftest$ac_exeext conftest.$ac_ext
22642 ac_cv_sys_largefile_source=unknown
22643 break
22644 done
22645 fi
22646 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22647 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22648 case $ac_cv_sys_largefile_source in #(
22649 no | unknown) ;;
22650 *)
22651 cat >>confdefs.h <<_ACEOF
22652 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22653 _ACEOF
22654 ;;
22655 esac
22656 rm -f conftest*
22657
22658 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22659 # in glibc 2.1.3, but that breaks too many other things.
22660 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22661 if test $ac_cv_sys_largefile_source != unknown; then
22662
22663 cat >>confdefs.h <<\_ACEOF
22664 #define HAVE_FSEEKO 1
22665 _ACEOF
22666
22667 fi
22668
22669 if test "$ac_cv_sys_largefile_source" != no; then
22670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22671 fi
22672 fi
22673
22674 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22675 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22676 if test "${ac_cv_c_bigendian+set}" = set; then
22677 echo $ECHO_N "(cached) $ECHO_C" >&6
22678 else
22679 ac_cv_c_bigendian=unknown
22680 # See if sys/param.h defines the BYTE_ORDER macro.
22681 cat >conftest.$ac_ext <<_ACEOF
22682 /* confdefs.h. */
22683 _ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 #include <sys/types.h>
22688 #include <sys/param.h>
22689 int
22690 main ()
22691 {
22692
22693 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22694 bogus endian macros
22695 #endif
22696 ;
22697 return 0;
22698 }
22699 _ACEOF
22700 rm -f conftest.$ac_objext
22701 if { (ac_try="$ac_compile"
22702 case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22705 esac
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_compile") 2>conftest.er1
22708 ac_status=$?
22709 grep -v '^ *+' conftest.er1 >conftest.err
22710 rm -f conftest.er1
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && {
22714 test -z "$ac_c_werror_flag" ||
22715 test ! -s conftest.err
22716 } && test -s conftest.$ac_objext; then
22717 # It does; now see whether it defined to BIG_ENDIAN or not.
22718 cat >conftest.$ac_ext <<_ACEOF
22719 /* confdefs.h. */
22720 _ACEOF
22721 cat confdefs.h >>conftest.$ac_ext
22722 cat >>conftest.$ac_ext <<_ACEOF
22723 /* end confdefs.h. */
22724 #include <sys/types.h>
22725 #include <sys/param.h>
22726 int
22727 main ()
22728 {
22729
22730 #if BYTE_ORDER != BIG_ENDIAN
22731 not big endian
22732 #endif
22733 ;
22734 return 0;
22735 }
22736 _ACEOF
22737 rm -f conftest.$ac_objext
22738 if { (ac_try="$ac_compile"
22739 case "(($ac_try" in
22740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22741 *) ac_try_echo=$ac_try;;
22742 esac
22743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22744 (eval "$ac_compile") 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } && {
22751 test -z "$ac_c_werror_flag" ||
22752 test ! -s conftest.err
22753 } && test -s conftest.$ac_objext; then
22754 ac_cv_c_bigendian=yes
22755 else
22756 echo "$as_me: failed program was:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22758
22759 ac_cv_c_bigendian=no
22760 fi
22761
22762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22763 else
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.$ac_ext >&5
22766
22767
22768 fi
22769
22770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22771 if test $ac_cv_c_bigendian = unknown; then
22772 if test "$cross_compiling" = yes; then
22773 ac_cv_c_bigendian=unknown
22774 else
22775 cat >conftest.$ac_ext <<_ACEOF
22776 /* confdefs.h. */
22777 _ACEOF
22778 cat confdefs.h >>conftest.$ac_ext
22779 cat >>conftest.$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22781 main () {
22782 /* Are we little or big endian? From Harbison&Steele. */
22783 union
22784 {
22785 long l;
22786 char c[sizeof (long)];
22787 } u;
22788 u.l = 1;
22789 exit (u.c[sizeof (long) - 1] == 1);
22790 }
22791 _ACEOF
22792 rm -f conftest$ac_exeext
22793 if { (ac_try="$ac_link"
22794 case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_link") 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22803 { (case "(($ac_try" in
22804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22805 *) ac_try_echo=$ac_try;;
22806 esac
22807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22808 (eval "$ac_try") 2>&5
22809 ac_status=$?
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812 ac_cv_c_bigendian=no
22813 else
22814 echo "$as_me: program exited with status $ac_status" >&5
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.$ac_ext >&5
22817
22818 ( exit $ac_status )
22819 ac_cv_c_bigendian=yes
22820 fi
22821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22822 fi
22823
22824
22825 fi
22826 fi
22827 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22828 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22829 if test $ac_cv_c_bigendian = unknown; then
22830 { 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
22831 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;}
22832 fi
22833 if test $ac_cv_c_bigendian = yes; then
22834 cat >>confdefs.h <<\_ACEOF
22835 #define WORDS_BIGENDIAN 1
22836 _ACEOF
22837
22838 fi
22839
22840
22841
22842
22843 ac_ext=cpp
22844 ac_cpp='$CXXCPP $CPPFLAGS'
22845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22848
22849
22850 { echo "$as_me:$LINENO: checking for iostream" >&5
22851 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22852 if test "${ac_cv_header_iostream+set}" = set; then
22853 echo $ECHO_N "(cached) $ECHO_C" >&6
22854 else
22855 cat >conftest.$ac_ext <<_ACEOF
22856 /* confdefs.h. */
22857 _ACEOF
22858 cat confdefs.h >>conftest.$ac_ext
22859 cat >>conftest.$ac_ext <<_ACEOF
22860 /* end confdefs.h. */
22861
22862
22863 #include <iostream>
22864 _ACEOF
22865 rm -f conftest.$ac_objext
22866 if { (ac_try="$ac_compile"
22867 case "(($ac_try" in
22868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22869 *) ac_try_echo=$ac_try;;
22870 esac
22871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22872 (eval "$ac_compile") 2>conftest.er1
22873 ac_status=$?
22874 grep -v '^ *+' conftest.er1 >conftest.err
22875 rm -f conftest.er1
22876 cat conftest.err >&5
22877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } && {
22879 test -z "$ac_cxx_werror_flag" ||
22880 test ! -s conftest.err
22881 } && test -s conftest.$ac_objext; then
22882 ac_cv_header_iostream=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22886
22887 ac_cv_header_iostream=no
22888 fi
22889
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22891 fi
22892 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22893 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22894
22895
22896
22897 if test "$ac_cv_header_iostream" = "yes" ; then
22898 :
22899 else
22900 cat >>confdefs.h <<\_ACEOF
22901 #define wxUSE_IOSTREAMH 1
22902 _ACEOF
22903
22904 fi
22905
22906 ac_ext=c
22907 ac_cpp='$CPP $CPPFLAGS'
22908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22911
22912
22913
22914
22915 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22916 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22917 if test "${wx_cv_cpp_bool+set}" = set; then
22918 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 else
22920
22921
22922 ac_ext=cpp
22923 ac_cpp='$CXXCPP $CPPFLAGS'
22924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22927
22928
22929 cat >conftest.$ac_ext <<_ACEOF
22930 /* confdefs.h. */
22931 _ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935
22936
22937 int
22938 main ()
22939 {
22940
22941 bool b = true;
22942
22943 return 0;
22944
22945 ;
22946 return 0;
22947 }
22948 _ACEOF
22949 rm -f conftest.$ac_objext
22950 if { (ac_try="$ac_compile"
22951 case "(($ac_try" in
22952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22954 esac
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_compile") 2>conftest.er1
22957 ac_status=$?
22958 grep -v '^ *+' conftest.er1 >conftest.err
22959 rm -f conftest.er1
22960 cat conftest.err >&5
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); } && {
22963 test -z "$ac_cxx_werror_flag" ||
22964 test ! -s conftest.err
22965 } && test -s conftest.$ac_objext; then
22966
22967 wx_cv_cpp_bool=yes
22968
22969 else
22970 echo "$as_me: failed program was:" >&5
22971 sed 's/^/| /' conftest.$ac_ext >&5
22972
22973
22974 wx_cv_cpp_bool=no
22975
22976
22977 fi
22978
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22980
22981 ac_ext=c
22982 ac_cpp='$CPP $CPPFLAGS'
22983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22986
22987
22988 fi
22989 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22990 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22991
22992 if test "$wx_cv_cpp_bool" = "yes"; then
22993 cat >>confdefs.h <<\_ACEOF
22994 #define HAVE_BOOL 1
22995 _ACEOF
22996
22997 fi
22998
22999
23000
23001 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23002 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23003 if test "${wx_cv_explicit+set}" = set; then
23004 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 else
23006
23007
23008 ac_ext=cpp
23009 ac_cpp='$CXXCPP $CPPFLAGS'
23010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23013
23014
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021
23022 class Foo { public: explicit Foo(int) {} };
23023
23024 int
23025 main ()
23026 {
23027
23028 return 0;
23029
23030 ;
23031 return 0;
23032 }
23033 _ACEOF
23034 rm -f conftest.$ac_objext
23035 if { (ac_try="$ac_compile"
23036 case "(($ac_try" in
23037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23038 *) ac_try_echo=$ac_try;;
23039 esac
23040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041 (eval "$ac_compile") 2>conftest.er1
23042 ac_status=$?
23043 grep -v '^ *+' conftest.er1 >conftest.err
23044 rm -f conftest.er1
23045 cat conftest.err >&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); } && {
23048 test -z "$ac_cxx_werror_flag" ||
23049 test ! -s conftest.err
23050 } && test -s conftest.$ac_objext; then
23051
23052 cat >conftest.$ac_ext <<_ACEOF
23053 /* confdefs.h. */
23054 _ACEOF
23055 cat confdefs.h >>conftest.$ac_ext
23056 cat >>conftest.$ac_ext <<_ACEOF
23057 /* end confdefs.h. */
23058
23059 class Foo { public: explicit Foo(int) {} };
23060 static void TakeFoo(const Foo& foo) { }
23061
23062 int
23063 main ()
23064 {
23065
23066 TakeFoo(17);
23067 return 0;
23068
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23078 esac
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23081 ac_status=$?
23082 grep -v '^ *+' conftest.er1 >conftest.err
23083 rm -f conftest.er1
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_cxx_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23090 wx_cv_explicit=no
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 wx_cv_explicit=yes
23096
23097 fi
23098
23099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23100
23101 else
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23104
23105 wx_cv_explicit=no
23106
23107 fi
23108
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110
23111 ac_ext=c
23112 ac_cpp='$CPP $CPPFLAGS'
23113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23116
23117
23118 fi
23119 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23120 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23121
23122 if test "$wx_cv_explicit" = "yes"; then
23123 cat >>confdefs.h <<\_ACEOF
23124 #define HAVE_EXPLICIT 1
23125 _ACEOF
23126
23127 fi
23128
23129
23130 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23131 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23132 if test "${ac_cv_cxx_const_cast+set}" = set; then
23133 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 else
23135
23136 ac_ext=cpp
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141
23142 cat >conftest.$ac_ext <<_ACEOF
23143 /* confdefs.h. */
23144 _ACEOF
23145 cat confdefs.h >>conftest.$ac_ext
23146 cat >>conftest.$ac_ext <<_ACEOF
23147 /* end confdefs.h. */
23148
23149 int
23150 main ()
23151 {
23152 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23153 ;
23154 return 0;
23155 }
23156 _ACEOF
23157 rm -f conftest.$ac_objext
23158 if { (ac_try="$ac_compile"
23159 case "(($ac_try" in
23160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23161 *) ac_try_echo=$ac_try;;
23162 esac
23163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23164 (eval "$ac_compile") 2>conftest.er1
23165 ac_status=$?
23166 grep -v '^ *+' conftest.er1 >conftest.err
23167 rm -f conftest.er1
23168 cat conftest.err >&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } && {
23171 test -z "$ac_cxx_werror_flag" ||
23172 test ! -s conftest.err
23173 } && test -s conftest.$ac_objext; then
23174 ac_cv_cxx_const_cast=yes
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23178
23179 ac_cv_cxx_const_cast=no
23180 fi
23181
23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23183 ac_ext=c
23184 ac_cpp='$CPP $CPPFLAGS'
23185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23188
23189
23190 fi
23191 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23192 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23193 if test "$ac_cv_cxx_const_cast" = yes; then
23194
23195 cat >>confdefs.h <<\_ACEOF
23196 #define HAVE_CONST_CAST
23197 _ACEOF
23198
23199 fi
23200
23201 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23202 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23203 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23204 echo $ECHO_N "(cached) $ECHO_C" >&6
23205 else
23206
23207 ac_ext=cpp
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23212
23213 cat >conftest.$ac_ext <<_ACEOF
23214 /* confdefs.h. */
23215 _ACEOF
23216 cat confdefs.h >>conftest.$ac_ext
23217 cat >>conftest.$ac_ext <<_ACEOF
23218 /* end confdefs.h. */
23219 #include <typeinfo>
23220 class Base { public : Base () {} virtual void f () = 0;};
23221 class Derived : public Base { public : Derived () {} virtual void f () {} };
23222 class Unrelated { public : Unrelated () {} };
23223 int g (Unrelated&) { return 0; }
23224 int
23225 main ()
23226 {
23227
23228 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23229 ;
23230 return 0;
23231 }
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (ac_try="$ac_compile"
23235 case "(($ac_try" in
23236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23237 *) ac_try_echo=$ac_try;;
23238 esac
23239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23240 (eval "$ac_compile") 2>conftest.er1
23241 ac_status=$?
23242 grep -v '^ *+' conftest.er1 >conftest.err
23243 rm -f conftest.er1
23244 cat conftest.err >&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } && {
23247 test -z "$ac_cxx_werror_flag" ||
23248 test ! -s conftest.err
23249 } && test -s conftest.$ac_objext; then
23250 ac_cv_cxx_reinterpret_cast=yes
23251 else
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23254
23255 ac_cv_cxx_reinterpret_cast=no
23256 fi
23257
23258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259 ac_ext=c
23260 ac_cpp='$CPP $CPPFLAGS'
23261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23264
23265
23266 fi
23267 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23268 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23269 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23270
23271 cat >>confdefs.h <<\_ACEOF
23272 #define HAVE_REINTERPRET_CAST
23273 _ACEOF
23274
23275 fi
23276
23277 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23278 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23279 if test "${ac_cv_cxx_static_cast+set}" = set; then
23280 echo $ECHO_N "(cached) $ECHO_C" >&6
23281 else
23282
23283 ac_ext=cpp
23284 ac_cpp='$CXXCPP $CPPFLAGS'
23285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23288
23289 cat >conftest.$ac_ext <<_ACEOF
23290 /* confdefs.h. */
23291 _ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295 #include <typeinfo>
23296 class Base { public : Base () {} virtual void f () = 0; };
23297 class Derived : public Base { public : Derived () {} virtual void f () {} };
23298 int g (Derived&) { return 0; }
23299 int
23300 main ()
23301 {
23302
23303 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23304 ;
23305 return 0;
23306 }
23307 _ACEOF
23308 rm -f conftest.$ac_objext
23309 if { (ac_try="$ac_compile"
23310 case "(($ac_try" in
23311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23312 *) ac_try_echo=$ac_try;;
23313 esac
23314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23315 (eval "$ac_compile") 2>conftest.er1
23316 ac_status=$?
23317 grep -v '^ *+' conftest.er1 >conftest.err
23318 rm -f conftest.er1
23319 cat conftest.err >&5
23320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23321 (exit $ac_status); } && {
23322 test -z "$ac_cxx_werror_flag" ||
23323 test ! -s conftest.err
23324 } && test -s conftest.$ac_objext; then
23325 ac_cv_cxx_static_cast=yes
23326 else
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23329
23330 ac_cv_cxx_static_cast=no
23331 fi
23332
23333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23334 ac_ext=c
23335 ac_cpp='$CPP $CPPFLAGS'
23336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23339
23340
23341 fi
23342 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23343 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23344 if test "$ac_cv_cxx_static_cast" = yes; then
23345
23346 cat >>confdefs.h <<\_ACEOF
23347 #define HAVE_STATIC_CAST
23348 _ACEOF
23349
23350 fi
23351
23352
23353 if test "x$SUNCXX" = xyes; then
23354 CXXFLAGS="-features=tmplife $CXXFLAGS"
23355 fi
23356
23357 if test "x$SUNCC" = xyes; then
23358 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23359 fi
23360
23361 if test "x$SGICC" = "xyes"; then
23362 CFLAGS="-woff 3970 $CFLAGS"
23363 fi
23364 if test "x$SGICXX" = "xyes"; then
23365 CXXFLAGS="-woff 3970 $CXXFLAGS"
23366 fi
23367
23368 if test "x$HPCC" = "xyes"; then
23369 CFLAGS="+W 2011,2450 $CFLAGS"
23370 fi
23371 if test "x$HPCXX" = "xyes"; then
23372 CXXFLAGS="+W 2340 $CXXFLAGS"
23373 fi
23374
23375 if test "x$COMPAQCXX" = "xyes"; then
23376 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23377 fi
23378
23379 ac_ext=cpp
23380 ac_cpp='$CXXCPP $CPPFLAGS'
23381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23384
23385
23386 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23387 if test "$wxUSE_UNICODE" = "yes"; then
23388 std_string="std::wstring"
23389 char_type="wchar_t"
23390 else
23391 std_string="std::string"
23392 char_type="char"
23393 fi
23394
23395 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23396 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23397 if test "${wx_cv_class_stdstring+set}" = set; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6
23399 else
23400
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 #include <string>
23408 int
23409 main ()
23410 {
23411 $std_string foo;
23412 ;
23413 return 0;
23414 }
23415 _ACEOF
23416 rm -f conftest.$ac_objext
23417 if { (ac_try="$ac_compile"
23418 case "(($ac_try" in
23419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23420 *) ac_try_echo=$ac_try;;
23421 esac
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_compile") 2>conftest.er1
23424 ac_status=$?
23425 grep -v '^ *+' conftest.er1 >conftest.err
23426 rm -f conftest.er1
23427 cat conftest.err >&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); } && {
23430 test -z "$ac_cxx_werror_flag" ||
23431 test ! -s conftest.err
23432 } && test -s conftest.$ac_objext; then
23433 wx_cv_class_stdstring=yes
23434 else
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.$ac_ext >&5
23437
23438 wx_cv_class_stdstring=no
23439
23440 fi
23441
23442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23443
23444
23445 fi
23446 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23447 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23448
23449 if test "$wx_cv_class_stdstring" = yes; then
23450 if test "$wxUSE_UNICODE" = "yes"; then
23451 cat >>confdefs.h <<\_ACEOF
23452 #define HAVE_STD_WSTRING 1
23453 _ACEOF
23454
23455 fi
23456 else
23457 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23458 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23459 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23461 else
23462
23463 cat >conftest.$ac_ext <<_ACEOF
23464 /* confdefs.h. */
23465 _ACEOF
23466 cat confdefs.h >>conftest.$ac_ext
23467 cat >>conftest.$ac_ext <<_ACEOF
23468 /* end confdefs.h. */
23469
23470 #ifdef HAVE_WCHAR_H
23471 # ifdef __CYGWIN__
23472 # include <stddef.h>
23473 # endif
23474 # include <wchar.h>
23475 #endif
23476 #ifdef HAVE_STDLIB_H
23477 # include <stdlib.h>
23478 #endif
23479 #include <stdio.h>
23480 #include <string>
23481
23482 int
23483 main ()
23484 {
23485 std::basic_string<$char_type> foo;
23486 const $char_type* dummy = foo.c_str();
23487 ;
23488 return 0;
23489 }
23490 _ACEOF
23491 rm -f conftest.$ac_objext
23492 if { (ac_try="$ac_compile"
23493 case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23496 esac
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_compile") 2>conftest.er1
23499 ac_status=$?
23500 grep -v '^ *+' conftest.er1 >conftest.err
23501 rm -f conftest.er1
23502 cat conftest.err >&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } && {
23505 test -z "$ac_cxx_werror_flag" ||
23506 test ! -s conftest.err
23507 } && test -s conftest.$ac_objext; then
23508 wx_cv_class_stdbasicstring=yes
23509 else
23510 echo "$as_me: failed program was:" >&5
23511 sed 's/^/| /' conftest.$ac_ext >&5
23512
23513 wx_cv_class_stdbasicstring=no
23514
23515 fi
23516
23517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23518
23519
23520 fi
23521 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23522 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23523
23524 if test "$wx_cv_class_stdbasicstring" != yes; then
23525 if test "$wxUSE_STL" = "yes"; then
23526 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23527 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23528 { (exit 1); exit 1; }; }
23529 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23530 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23531 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23532 { (exit 1); exit 1; }; }
23533 else
23534 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23535 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23536 wxUSE_STD_STRING=no
23537 fi
23538 fi
23539 fi
23540 fi
23541
23542 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23543 { echo "$as_me:$LINENO: checking for std::istream" >&5
23544 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23545 if test "${ac_cv_type_std__istream+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23547 else
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 #include <iostream>
23555
23556 typedef std::istream ac__type_new_;
23557 int
23558 main ()
23559 {
23560 if ((ac__type_new_ *) 0)
23561 return 0;
23562 if (sizeof (ac__type_new_))
23563 return 0;
23564 ;
23565 return 0;
23566 }
23567 _ACEOF
23568 rm -f conftest.$ac_objext
23569 if { (ac_try="$ac_compile"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23572 *) ac_try_echo=$ac_try;;
23573 esac
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_compile") 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } && {
23582 test -z "$ac_cxx_werror_flag" ||
23583 test ! -s conftest.err
23584 } && test -s conftest.$ac_objext; then
23585 ac_cv_type_std__istream=yes
23586 else
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23589
23590 ac_cv_type_std__istream=no
23591 fi
23592
23593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 fi
23595 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23596 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23597 if test $ac_cv_type_std__istream = yes; then
23598
23599 cat >>confdefs.h <<_ACEOF
23600 #define HAVE_STD__ISTREAM 1
23601 _ACEOF
23602
23603
23604 else
23605 wxUSE_STD_IOSTREAM=no
23606 fi
23607 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23608 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23609 if test "${ac_cv_type_std__ostream+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23611 else
23612 cat >conftest.$ac_ext <<_ACEOF
23613 /* confdefs.h. */
23614 _ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #include <iostream>
23619
23620 typedef std::ostream ac__type_new_;
23621 int
23622 main ()
23623 {
23624 if ((ac__type_new_ *) 0)
23625 return 0;
23626 if (sizeof (ac__type_new_))
23627 return 0;
23628 ;
23629 return 0;
23630 }
23631 _ACEOF
23632 rm -f conftest.$ac_objext
23633 if { (ac_try="$ac_compile"
23634 case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23637 esac
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_compile") 2>conftest.er1
23640 ac_status=$?
23641 grep -v '^ *+' conftest.er1 >conftest.err
23642 rm -f conftest.er1
23643 cat conftest.err >&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } && {
23646 test -z "$ac_cxx_werror_flag" ||
23647 test ! -s conftest.err
23648 } && test -s conftest.$ac_objext; then
23649 ac_cv_type_std__ostream=yes
23650 else
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 ac_cv_type_std__ostream=no
23655 fi
23656
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23658 fi
23659 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23660 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23661 if test $ac_cv_type_std__ostream = yes; then
23662
23663 cat >>confdefs.h <<_ACEOF
23664 #define HAVE_STD__OSTREAM 1
23665 _ACEOF
23666
23667
23668 else
23669 wxUSE_STD_IOSTREAM=no
23670 fi
23671
23672
23673 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23674 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23675 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23676 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23677 { (exit 1); exit 1; }; }
23678 else
23679 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23680 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23681 fi
23682 fi
23683 fi
23684
23685 if test "$wxUSE_STL" = "yes"; then
23686 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23687 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23688 if test "${wx_cv_lib_stl+set}" = set; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 else
23691 cat >conftest.$ac_ext <<_ACEOF
23692 /* confdefs.h. */
23693 _ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23697 #include <string>
23698 #include <functional>
23699 #include <algorithm>
23700 #include <vector>
23701 #include <list>
23702 int
23703 main ()
23704 {
23705 std::vector<int> moo;
23706 std::list<int> foo;
23707 std::vector<int>::iterator it =
23708 std::find_if(moo.begin(), moo.end(),
23709 std::bind2nd(std::less<int>(), 3));
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_cxx_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731 wx_cv_lib_stl=yes
23732 else
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 wx_cv_lib_stl=no
23737
23738 fi
23739
23740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741
23742 fi
23743 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23744 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23745
23746 if test "$wx_cv_lib_stl" != yes; then
23747 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23748 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23749 { (exit 1); exit 1; }; }
23750 fi
23751
23752 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23753 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23754 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23756 else
23757 cat >conftest.$ac_ext <<_ACEOF
23758 /* confdefs.h. */
23759 _ACEOF
23760 cat confdefs.h >>conftest.$ac_ext
23761 cat >>conftest.$ac_ext <<_ACEOF
23762 /* end confdefs.h. */
23763 #include <string>
23764 int
23765 main ()
23766 {
23767 std::string foo, bar;
23768 foo.compare(bar);
23769 foo.compare(1, 1, bar);
23770 foo.compare(1, 1, bar, 1, 1);
23771 foo.compare("");
23772 foo.compare(1, 1, "");
23773 foo.compare(1, 1, "", 2);
23774 ;
23775 return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext
23779 if { (ac_try="$ac_compile"
23780 case "(($ac_try" in
23781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23783 esac
23784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_compile") 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && {
23792 test -z "$ac_cxx_werror_flag" ||
23793 test ! -s conftest.err
23794 } && test -s conftest.$ac_objext; then
23795 wx_cv_func_stdstring_compare=yes
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 wx_cv_func_stdstring_compare=no
23801
23802 fi
23803
23804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23805
23806 fi
23807 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23808 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23809
23810 if test "$wx_cv_func_stdstring_compare" = yes; then
23811 cat >>confdefs.h <<\_ACEOF
23812 #define HAVE_STD_STRING_COMPARE 1
23813 _ACEOF
23814
23815 fi
23816
23817 { echo "$as_me:$LINENO: checking for hash_map" >&5
23818 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23819 if test "${ac_cv_header_hash_map+set}" = set; then
23820 echo $ECHO_N "(cached) $ECHO_C" >&6
23821 else
23822 cat >conftest.$ac_ext <<_ACEOF
23823 /* confdefs.h. */
23824 _ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828
23829
23830
23831 #include <hash_map>
23832 _ACEOF
23833 rm -f conftest.$ac_objext
23834 if { (ac_try="$ac_compile"
23835 case "(($ac_try" in
23836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23837 *) ac_try_echo=$ac_try;;
23838 esac
23839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23840 (eval "$ac_compile") 2>conftest.er1
23841 ac_status=$?
23842 grep -v '^ *+' conftest.er1 >conftest.err
23843 rm -f conftest.er1
23844 cat conftest.err >&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); } && {
23847 test -z "$ac_cxx_werror_flag" ||
23848 test ! -s conftest.err
23849 } && test -s conftest.$ac_objext; then
23850 ac_cv_header_hash_map=yes
23851 else
23852 echo "$as_me: failed program was:" >&5
23853 sed 's/^/| /' conftest.$ac_ext >&5
23854
23855 ac_cv_header_hash_map=no
23856 fi
23857
23858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23859 fi
23860 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23861 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23862 if test $ac_cv_header_hash_map = yes; then
23863 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23864 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23865 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 else
23868 cat >conftest.$ac_ext <<_ACEOF
23869 /* confdefs.h. */
23870 _ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 #include <hash_map>
23875 #include <hash_set>
23876 int
23877 main ()
23878 {
23879 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23880 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23881 ;
23882 return 0;
23883 }
23884 _ACEOF
23885 rm -f conftest.$ac_objext
23886 if { (ac_try="$ac_compile"
23887 case "(($ac_try" in
23888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23889 *) ac_try_echo=$ac_try;;
23890 esac
23891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23892 (eval "$ac_compile") 2>conftest.er1
23893 ac_status=$?
23894 grep -v '^ *+' conftest.er1 >conftest.err
23895 rm -f conftest.er1
23896 cat conftest.err >&5
23897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23898 (exit $ac_status); } && {
23899 test -z "$ac_cxx_werror_flag" ||
23900 test ! -s conftest.err
23901 } && test -s conftest.$ac_objext; then
23902 wx_cv_class_stdhashmapset=yes
23903 else
23904 echo "$as_me: failed program was:" >&5
23905 sed 's/^/| /' conftest.$ac_ext >&5
23906
23907 wx_cv_class_stdhashmapset=no
23908 fi
23909
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911
23912
23913 fi
23914 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23915 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23916 fi
23917
23918
23919
23920 if test "$wx_cv_class_stdhashmapset" = yes; then
23921 cat >>confdefs.h <<\_ACEOF
23922 #define HAVE_HASH_MAP 1
23923 _ACEOF
23924
23925 cat >>confdefs.h <<\_ACEOF
23926 #define HAVE_STD_HASH_MAP 1
23927 _ACEOF
23928
23929 fi
23930
23931 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23932 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23933 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23934 echo $ECHO_N "(cached) $ECHO_C" >&6
23935 else
23936 cat >conftest.$ac_ext <<_ACEOF
23937 /* confdefs.h. */
23938 _ACEOF
23939 cat confdefs.h >>conftest.$ac_ext
23940 cat >>conftest.$ac_ext <<_ACEOF
23941 /* end confdefs.h. */
23942
23943
23944
23945 #include <ext/hash_map>
23946 _ACEOF
23947 rm -f conftest.$ac_objext
23948 if { (ac_try="$ac_compile"
23949 case "(($ac_try" in
23950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23951 *) ac_try_echo=$ac_try;;
23952 esac
23953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23954 (eval "$ac_compile") 2>conftest.er1
23955 ac_status=$?
23956 grep -v '^ *+' conftest.er1 >conftest.err
23957 rm -f conftest.er1
23958 cat conftest.err >&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } && {
23961 test -z "$ac_cxx_werror_flag" ||
23962 test ! -s conftest.err
23963 } && test -s conftest.$ac_objext; then
23964 ac_cv_header_ext_hash_map=yes
23965 else
23966 echo "$as_me: failed program was:" >&5
23967 sed 's/^/| /' conftest.$ac_ext >&5
23968
23969 ac_cv_header_ext_hash_map=no
23970 fi
23971
23972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23973 fi
23974 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23975 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23976 if test $ac_cv_header_ext_hash_map = yes; then
23977 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23978 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23979 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23980 echo $ECHO_N "(cached) $ECHO_C" >&6
23981 else
23982 cat >conftest.$ac_ext <<_ACEOF
23983 /* confdefs.h. */
23984 _ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988 #include <ext/hash_map>
23989 #include <ext/hash_set>
23990 int
23991 main ()
23992 {
23993 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23994 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23995 ;
23996 return 0;
23997 }
23998 _ACEOF
23999 rm -f conftest.$ac_objext
24000 if { (ac_try="$ac_compile"
24001 case "(($ac_try" in
24002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24003 *) ac_try_echo=$ac_try;;
24004 esac
24005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24006 (eval "$ac_compile") 2>conftest.er1
24007 ac_status=$?
24008 grep -v '^ *+' conftest.er1 >conftest.err
24009 rm -f conftest.er1
24010 cat conftest.err >&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } && {
24013 test -z "$ac_cxx_werror_flag" ||
24014 test ! -s conftest.err
24015 } && test -s conftest.$ac_objext; then
24016 wx_cv_class_gnuhashmapset=yes
24017 else
24018 echo "$as_me: failed program was:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24020
24021 wx_cv_class_gnuhashmapset=no
24022 fi
24023
24024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24025
24026
24027 fi
24028 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24029 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24030 fi
24031
24032
24033
24034 if test "$wx_cv_class_gnuhashmapset" = yes; then
24035 cat >>confdefs.h <<\_ACEOF
24036 #define HAVE_EXT_HASH_MAP 1
24037 _ACEOF
24038
24039 cat >>confdefs.h <<\_ACEOF
24040 #define HAVE_GNU_CXX_HASH_MAP 1
24041 _ACEOF
24042
24043 fi
24044 fi
24045
24046 ac_ext=c
24047 ac_cpp='$CPP $CPPFLAGS'
24048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051
24052
24053
24054 SEARCH_INCLUDE="\
24055 /usr/local/include \
24056 \
24057 /usr/Motif-2.1/include \
24058 /usr/Motif-1.2/include \
24059 /usr/include/Motif1.2 \
24060 \
24061 /usr/dt/include \
24062 /usr/openwin/include \
24063 \
24064 /usr/include/Xm \
24065 \
24066 /usr/X11R6/include \
24067 /usr/X11R6.4/include \
24068 /usr/X11R5/include \
24069 /usr/X11R4/include \
24070 \
24071 /usr/include/X11R6 \
24072 /usr/include/X11R5 \
24073 /usr/include/X11R4 \
24074 \
24075 /usr/local/X11R6/include \
24076 /usr/local/X11R5/include \
24077 /usr/local/X11R4/include \
24078 \
24079 /usr/local/include/X11R6 \
24080 /usr/local/include/X11R5 \
24081 /usr/local/include/X11R4 \
24082 \
24083 /usr/X11/include \
24084 /usr/include/X11 \
24085 /usr/local/X11/include \
24086 /usr/local/include/X11 \
24087 \
24088 /usr/XFree86/include/X11 \
24089 /usr/pkg/include \
24090 \
24091 /usr/openwin/share/include"
24092
24093 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24094 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24095
24096 case "${host}" in
24097 *-*-irix6* )
24098 if test "${wx_cv_std_libpath+set}" = set; then
24099 echo $ECHO_N "(cached) $ECHO_C" >&6
24100 else
24101
24102 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24103 for e in a so sl dylib dll.a; do
24104 libc="$d/libc.$e"
24105 if test -f $libc; then
24106 save_LIBS="$LIBS"
24107 LIBS="$libc"
24108 cat >conftest.$ac_ext <<_ACEOF
24109 int main() { return 0; }
24110 _ACEOF
24111 rm -f conftest.$ac_objext conftest$ac_exeext
24112 if { (ac_try="$ac_link"
24113 case "(($ac_try" in
24114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24116 esac
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_link") 2>conftest.er1
24119 ac_status=$?
24120 grep -v '^ *+' conftest.er1 >conftest.err
24121 rm -f conftest.er1
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } && {
24125 test -z "$ac_c_werror_flag" ||
24126 test ! -s conftest.err
24127 } && test -s conftest$ac_exeext &&
24128 $as_test_x conftest$ac_exeext; then
24129 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24130 else
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.$ac_ext >&5
24133
24134
24135 fi
24136
24137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24138 conftest$ac_exeext conftest.$ac_ext
24139 LIBS="$save_LIBS"
24140 if test "x$wx_cv_std_libpath" != "x"; then
24141 break 2
24142 fi
24143 fi
24144 done
24145 done
24146 if test "x$wx_cv_std_libpath" = "x"; then
24147 wx_cv_std_libpath="lib"
24148 fi
24149
24150
24151 fi
24152
24153 ;;
24154
24155 *-*-solaris2* )
24156 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24157 wx_cv_std_libpath="lib/64"
24158 else
24159 wx_cv_std_libpath="lib"
24160 fi
24161 ;;
24162
24163 *-*-linux* )
24164 if test "$ac_cv_sizeof_void_p" = 8 -a \
24165 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24166 wx_cv_std_libpath="lib64"
24167 else
24168 wx_cv_std_libpath="lib"
24169 fi
24170 ;;
24171
24172 *)
24173 wx_cv_std_libpath="lib";
24174 ;;
24175 esac
24176
24177 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24178 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24179
24180 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24181
24182 if test "$build" != "$host" -a "$GCC" = yes; then
24183 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24184 cross_root=`dirname $cross_root`
24185 cross_root=`dirname $cross_root`
24186
24187 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24188 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24189 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24190
24191 if test -z "$PKG_CONFIG_PATH"; then
24192 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24193 export PKG_CONFIG_PATH
24194 fi
24195
24196 if test -z "$x_includes" -o "$x_includes" = NONE; then
24197
24198 ac_find_includes=
24199 for ac_dir in $SEARCH_INCLUDE /usr/include;
24200 do
24201 if test -f "$ac_dir/X11/Intrinsic.h"; then
24202 ac_find_includes=$ac_dir
24203 break
24204 fi
24205 done
24206
24207 x_includes=$ac_find_includes
24208 fi
24209 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24210
24211 ac_find_libraries=
24212 for ac_dir in $SEARCH_LIB;
24213 do
24214 for ac_extension in a so sl dylib dll.a; do
24215 if test -f "$ac_dir/libXt.$ac_extension"; then
24216 ac_find_libraries=$ac_dir
24217 break 2
24218 fi
24219 done
24220 done
24221
24222 x_libraries=$ac_find_libraries
24223 fi
24224 fi
24225 fi
24226
24227
24228 cat >confcache <<\_ACEOF
24229 # This file is a shell script that caches the results of configure
24230 # tests run on this system so they can be shared between configure
24231 # scripts and configure runs, see configure's option --config-cache.
24232 # It is not useful on other systems. If it contains results you don't
24233 # want to keep, you may remove or edit it.
24234 #
24235 # config.status only pays attention to the cache file if you give it
24236 # the --recheck option to rerun configure.
24237 #
24238 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24239 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24240 # following values.
24241
24242 _ACEOF
24243
24244 # The following way of writing the cache mishandles newlines in values,
24245 # but we know of no workaround that is simple, portable, and efficient.
24246 # So, we kill variables containing newlines.
24247 # Ultrix sh set writes to stderr and can't be redirected directly,
24248 # and sets the high bit in the cache file unless we assign to the vars.
24249 (
24250 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24251 eval ac_val=\$$ac_var
24252 case $ac_val in #(
24253 *${as_nl}*)
24254 case $ac_var in #(
24255 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24256 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24257 esac
24258 case $ac_var in #(
24259 _ | IFS | as_nl) ;; #(
24260 *) $as_unset $ac_var ;;
24261 esac ;;
24262 esac
24263 done
24264
24265 (set) 2>&1 |
24266 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24267 *${as_nl}ac_space=\ *)
24268 # `set' does not quote correctly, so add quotes (double-quote
24269 # substitution turns \\\\ into \\, and sed turns \\ into \).
24270 sed -n \
24271 "s/'/'\\\\''/g;
24272 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24273 ;; #(
24274 *)
24275 # `set' quotes correctly as required by POSIX, so do not add quotes.
24276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24277 ;;
24278 esac |
24279 sort
24280 ) |
24281 sed '
24282 /^ac_cv_env_/b end
24283 t clear
24284 :clear
24285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24286 t end
24287 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24288 :end' >>confcache
24289 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24290 if test -w "$cache_file"; then
24291 test "x$cache_file" != "x/dev/null" &&
24292 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24293 echo "$as_me: updating cache $cache_file" >&6;}
24294 cat confcache >$cache_file
24295 else
24296 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24297 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24298 fi
24299 fi
24300 rm -f confcache
24301
24302 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24303 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24304 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24305 if test "${wx_cv_lib_glibc21+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24307 else
24308
24309 cat >conftest.$ac_ext <<_ACEOF
24310 /* confdefs.h. */
24311 _ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24315 #include <features.h>
24316 int
24317 main ()
24318 {
24319
24320 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24321 not glibc 2.1
24322 #endif
24323
24324 ;
24325 return 0;
24326 }
24327 _ACEOF
24328 rm -f conftest.$ac_objext
24329 if { (ac_try="$ac_compile"
24330 case "(($ac_try" in
24331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24332 *) ac_try_echo=$ac_try;;
24333 esac
24334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24335 (eval "$ac_compile") 2>conftest.er1
24336 ac_status=$?
24337 grep -v '^ *+' conftest.er1 >conftest.err
24338 rm -f conftest.er1
24339 cat conftest.err >&5
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); } && {
24342 test -z "$ac_c_werror_flag" ||
24343 test ! -s conftest.err
24344 } && test -s conftest.$ac_objext; then
24345
24346 wx_cv_lib_glibc21=yes
24347
24348 else
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.$ac_ext >&5
24351
24352
24353 wx_cv_lib_glibc21=no
24354
24355
24356 fi
24357
24358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24359
24360 fi
24361 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24362 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24363 if test "$wx_cv_lib_glibc21" = "yes"; then
24364 cat >>confdefs.h <<\_ACEOF
24365 #define wxHAVE_GLIBC2 1
24366 _ACEOF
24367
24368 fi
24369 fi
24370
24371 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24372 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24373 cat >>confdefs.h <<\_ACEOF
24374 #define _GNU_SOURCE 1
24375 _ACEOF
24376
24377 fi
24378 fi
24379
24380 have_cos=0
24381 have_floor=0
24382
24383 for ac_func in cos
24384 do
24385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24388 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24389 echo $ECHO_N "(cached) $ECHO_C" >&6
24390 else
24391 cat >conftest.$ac_ext <<_ACEOF
24392 /* confdefs.h. */
24393 _ACEOF
24394 cat confdefs.h >>conftest.$ac_ext
24395 cat >>conftest.$ac_ext <<_ACEOF
24396 /* end confdefs.h. */
24397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24399 #define $ac_func innocuous_$ac_func
24400
24401 /* System header to define __stub macros and hopefully few prototypes,
24402 which can conflict with char $ac_func (); below.
24403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24404 <limits.h> exists even on freestanding compilers. */
24405
24406 #ifdef __STDC__
24407 # include <limits.h>
24408 #else
24409 # include <assert.h>
24410 #endif
24411
24412 #undef $ac_func
24413
24414 /* Override any GCC internal prototype to avoid an error.
24415 Use char because int might match the return type of a GCC
24416 builtin and then its argument prototype would still apply. */
24417 #ifdef __cplusplus
24418 extern "C"
24419 #endif
24420 char $ac_func ();
24421 /* The GNU C library defines this for functions which it implements
24422 to always fail with ENOSYS. Some functions are actually named
24423 something starting with __ and the normal name is an alias. */
24424 #if defined __stub_$ac_func || defined __stub___$ac_func
24425 choke me
24426 #endif
24427
24428 int
24429 main ()
24430 {
24431 return $ac_func ();
24432 ;
24433 return 0;
24434 }
24435 _ACEOF
24436 rm -f conftest.$ac_objext conftest$ac_exeext
24437 if { (ac_try="$ac_link"
24438 case "(($ac_try" in
24439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24440 *) ac_try_echo=$ac_try;;
24441 esac
24442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24443 (eval "$ac_link") 2>conftest.er1
24444 ac_status=$?
24445 grep -v '^ *+' conftest.er1 >conftest.err
24446 rm -f conftest.er1
24447 cat conftest.err >&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); } && {
24450 test -z "$ac_c_werror_flag" ||
24451 test ! -s conftest.err
24452 } && test -s conftest$ac_exeext &&
24453 $as_test_x conftest$ac_exeext; then
24454 eval "$as_ac_var=yes"
24455 else
24456 echo "$as_me: failed program was:" >&5
24457 sed 's/^/| /' conftest.$ac_ext >&5
24458
24459 eval "$as_ac_var=no"
24460 fi
24461
24462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24463 conftest$ac_exeext conftest.$ac_ext
24464 fi
24465 ac_res=`eval echo '${'$as_ac_var'}'`
24466 { echo "$as_me:$LINENO: result: $ac_res" >&5
24467 echo "${ECHO_T}$ac_res" >&6; }
24468 if test `eval echo '${'$as_ac_var'}'` = yes; then
24469 cat >>confdefs.h <<_ACEOF
24470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24471 _ACEOF
24472 have_cos=1
24473 fi
24474 done
24475
24476
24477 for ac_func in floor
24478 do
24479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24484 else
24485 cat >conftest.$ac_ext <<_ACEOF
24486 /* confdefs.h. */
24487 _ACEOF
24488 cat confdefs.h >>conftest.$ac_ext
24489 cat >>conftest.$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24493 #define $ac_func innocuous_$ac_func
24494
24495 /* System header to define __stub macros and hopefully few prototypes,
24496 which can conflict with char $ac_func (); below.
24497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24498 <limits.h> exists even on freestanding compilers. */
24499
24500 #ifdef __STDC__
24501 # include <limits.h>
24502 #else
24503 # include <assert.h>
24504 #endif
24505
24506 #undef $ac_func
24507
24508 /* Override any GCC internal prototype to avoid an error.
24509 Use char because int might match the return type of a GCC
24510 builtin and then its argument prototype would still apply. */
24511 #ifdef __cplusplus
24512 extern "C"
24513 #endif
24514 char $ac_func ();
24515 /* The GNU C library defines this for functions which it implements
24516 to always fail with ENOSYS. Some functions are actually named
24517 something starting with __ and the normal name is an alias. */
24518 #if defined __stub_$ac_func || defined __stub___$ac_func
24519 choke me
24520 #endif
24521
24522 int
24523 main ()
24524 {
24525 return $ac_func ();
24526 ;
24527 return 0;
24528 }
24529 _ACEOF
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (ac_try="$ac_link"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24535 esac
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_link") 2>conftest.er1
24538 ac_status=$?
24539 grep -v '^ *+' conftest.er1 >conftest.err
24540 rm -f conftest.er1
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_c_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest$ac_exeext &&
24547 $as_test_x conftest$ac_exeext; then
24548 eval "$as_ac_var=yes"
24549 else
24550 echo "$as_me: failed program was:" >&5
24551 sed 's/^/| /' conftest.$ac_ext >&5
24552
24553 eval "$as_ac_var=no"
24554 fi
24555
24556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24557 conftest$ac_exeext conftest.$ac_ext
24558 fi
24559 ac_res=`eval echo '${'$as_ac_var'}'`
24560 { echo "$as_me:$LINENO: result: $ac_res" >&5
24561 echo "${ECHO_T}$ac_res" >&6; }
24562 if test `eval echo '${'$as_ac_var'}'` = yes; then
24563 cat >>confdefs.h <<_ACEOF
24564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24565 _ACEOF
24566 have_floor=1
24567 fi
24568 done
24569
24570 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24571 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24572 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24573 { echo "$as_me:$LINENO: result: yes" >&5
24574 echo "${ECHO_T}yes" >&6; }
24575 else
24576 { echo "$as_me:$LINENO: result: no" >&5
24577 echo "${ECHO_T}no" >&6; }
24578 LIBS="$LIBS -lm"
24579 # use different functions to avoid configure caching
24580 have_sin=0
24581 have_ceil=0
24582
24583 for ac_func in sin
24584 do
24585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24588 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24589 echo $ECHO_N "(cached) $ECHO_C" >&6
24590 else
24591 cat >conftest.$ac_ext <<_ACEOF
24592 /* confdefs.h. */
24593 _ACEOF
24594 cat confdefs.h >>conftest.$ac_ext
24595 cat >>conftest.$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24599 #define $ac_func innocuous_$ac_func
24600
24601 /* System header to define __stub macros and hopefully few prototypes,
24602 which can conflict with char $ac_func (); below.
24603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24604 <limits.h> exists even on freestanding compilers. */
24605
24606 #ifdef __STDC__
24607 # include <limits.h>
24608 #else
24609 # include <assert.h>
24610 #endif
24611
24612 #undef $ac_func
24613
24614 /* Override any GCC internal prototype to avoid an error.
24615 Use char because int might match the return type of a GCC
24616 builtin and then its argument prototype would still apply. */
24617 #ifdef __cplusplus
24618 extern "C"
24619 #endif
24620 char $ac_func ();
24621 /* The GNU C library defines this for functions which it implements
24622 to always fail with ENOSYS. Some functions are actually named
24623 something starting with __ and the normal name is an alias. */
24624 #if defined __stub_$ac_func || defined __stub___$ac_func
24625 choke me
24626 #endif
24627
24628 int
24629 main ()
24630 {
24631 return $ac_func ();
24632 ;
24633 return 0;
24634 }
24635 _ACEOF
24636 rm -f conftest.$ac_objext conftest$ac_exeext
24637 if { (ac_try="$ac_link"
24638 case "(($ac_try" in
24639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24640 *) ac_try_echo=$ac_try;;
24641 esac
24642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24643 (eval "$ac_link") 2>conftest.er1
24644 ac_status=$?
24645 grep -v '^ *+' conftest.er1 >conftest.err
24646 rm -f conftest.er1
24647 cat conftest.err >&5
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); } && {
24650 test -z "$ac_c_werror_flag" ||
24651 test ! -s conftest.err
24652 } && test -s conftest$ac_exeext &&
24653 $as_test_x conftest$ac_exeext; then
24654 eval "$as_ac_var=yes"
24655 else
24656 echo "$as_me: failed program was:" >&5
24657 sed 's/^/| /' conftest.$ac_ext >&5
24658
24659 eval "$as_ac_var=no"
24660 fi
24661
24662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24663 conftest$ac_exeext conftest.$ac_ext
24664 fi
24665 ac_res=`eval echo '${'$as_ac_var'}'`
24666 { echo "$as_me:$LINENO: result: $ac_res" >&5
24667 echo "${ECHO_T}$ac_res" >&6; }
24668 if test `eval echo '${'$as_ac_var'}'` = yes; then
24669 cat >>confdefs.h <<_ACEOF
24670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24671 _ACEOF
24672 have_sin=1
24673 fi
24674 done
24675
24676
24677 for ac_func in ceil
24678 do
24679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24683 echo $ECHO_N "(cached) $ECHO_C" >&6
24684 else
24685 cat >conftest.$ac_ext <<_ACEOF
24686 /* confdefs.h. */
24687 _ACEOF
24688 cat confdefs.h >>conftest.$ac_ext
24689 cat >>conftest.$ac_ext <<_ACEOF
24690 /* end confdefs.h. */
24691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24693 #define $ac_func innocuous_$ac_func
24694
24695 /* System header to define __stub macros and hopefully few prototypes,
24696 which can conflict with char $ac_func (); below.
24697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24698 <limits.h> exists even on freestanding compilers. */
24699
24700 #ifdef __STDC__
24701 # include <limits.h>
24702 #else
24703 # include <assert.h>
24704 #endif
24705
24706 #undef $ac_func
24707
24708 /* Override any GCC internal prototype to avoid an error.
24709 Use char because int might match the return type of a GCC
24710 builtin and then its argument prototype would still apply. */
24711 #ifdef __cplusplus
24712 extern "C"
24713 #endif
24714 char $ac_func ();
24715 /* The GNU C library defines this for functions which it implements
24716 to always fail with ENOSYS. Some functions are actually named
24717 something starting with __ and the normal name is an alias. */
24718 #if defined __stub_$ac_func || defined __stub___$ac_func
24719 choke me
24720 #endif
24721
24722 int
24723 main ()
24724 {
24725 return $ac_func ();
24726 ;
24727 return 0;
24728 }
24729 _ACEOF
24730 rm -f conftest.$ac_objext conftest$ac_exeext
24731 if { (ac_try="$ac_link"
24732 case "(($ac_try" in
24733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24734 *) ac_try_echo=$ac_try;;
24735 esac
24736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24737 (eval "$ac_link") 2>conftest.er1
24738 ac_status=$?
24739 grep -v '^ *+' conftest.er1 >conftest.err
24740 rm -f conftest.er1
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } && {
24744 test -z "$ac_c_werror_flag" ||
24745 test ! -s conftest.err
24746 } && test -s conftest$ac_exeext &&
24747 $as_test_x conftest$ac_exeext; then
24748 eval "$as_ac_var=yes"
24749 else
24750 echo "$as_me: failed program was:" >&5
24751 sed 's/^/| /' conftest.$ac_ext >&5
24752
24753 eval "$as_ac_var=no"
24754 fi
24755
24756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24757 conftest$ac_exeext conftest.$ac_ext
24758 fi
24759 ac_res=`eval echo '${'$as_ac_var'}'`
24760 { echo "$as_me:$LINENO: result: $ac_res" >&5
24761 echo "${ECHO_T}$ac_res" >&6; }
24762 if test `eval echo '${'$as_ac_var'}'` = yes; then
24763 cat >>confdefs.h <<_ACEOF
24764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24765 _ACEOF
24766 have_ceil=1
24767 fi
24768 done
24769
24770 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24771 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24772 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24773 { echo "$as_me:$LINENO: result: yes" >&5
24774 echo "${ECHO_T}yes" >&6; }
24775 else
24776 { echo "$as_me:$LINENO: result: no" >&5
24777 echo "${ECHO_T}no" >&6; }
24778 # not sure we should warn the user, crash, etc.
24779 fi
24780 fi
24781
24782 ac_ext=cpp
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24787
24788 if test "wxUSE_UNICODE" = "yes"; then
24789
24790 for wx_func in wcstoull
24791 do
24792 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24793 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24794 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 else
24797
24798 cat >conftest.$ac_ext <<_ACEOF
24799
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805
24806
24807 $ac_includes_default
24808
24809 int
24810 main ()
24811 {
24812
24813 #ifndef $wx_func
24814 &$wx_func;
24815 #endif
24816
24817
24818 ;
24819 return 0;
24820 }
24821
24822 _ACEOF
24823 rm -f conftest.$ac_objext conftest$ac_exeext
24824 if { (ac_try="$ac_link"
24825 case "(($ac_try" in
24826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24827 *) ac_try_echo=$ac_try;;
24828 esac
24829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24830 (eval "$ac_link") 2>conftest.er1
24831 ac_status=$?
24832 grep -v '^ *+' conftest.er1 >conftest.err
24833 rm -f conftest.er1
24834 cat conftest.err >&5
24835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836 (exit $ac_status); } && {
24837 test -z "$ac_cxx_werror_flag" ||
24838 test ! -s conftest.err
24839 } && test -s conftest$ac_exeext &&
24840 $as_test_x conftest$ac_exeext; then
24841 eval wx_cv_func_$wx_func=yes
24842 else
24843 echo "$as_me: failed program was:" >&5
24844 sed 's/^/| /' conftest.$ac_ext >&5
24845
24846 eval wx_cv_func_$wx_func=no
24847 fi
24848
24849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24850 conftest$ac_exeext conftest.$ac_ext
24851
24852 fi
24853 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24854 { echo "$as_me:$LINENO: result: $ac_res" >&5
24855 echo "${ECHO_T}$ac_res" >&6; }
24856
24857 if eval test \$wx_cv_func_$wx_func = yes
24858 then
24859 cat >>confdefs.h <<_ACEOF
24860 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24861 _ACEOF
24862
24863
24864 else
24865 :
24866
24867 fi
24868 done
24869
24870 else
24871
24872 for wx_func in strtoull
24873 do
24874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24876 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24877 echo $ECHO_N "(cached) $ECHO_C" >&6
24878 else
24879
24880 cat >conftest.$ac_ext <<_ACEOF
24881
24882 /* confdefs.h. */
24883 _ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24887
24888
24889 $ac_includes_default
24890
24891 int
24892 main ()
24893 {
24894
24895 #ifndef $wx_func
24896 &$wx_func;
24897 #endif
24898
24899
24900 ;
24901 return 0;
24902 }
24903
24904 _ACEOF
24905 rm -f conftest.$ac_objext conftest$ac_exeext
24906 if { (ac_try="$ac_link"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24910 esac
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_link") 2>conftest.er1
24913 ac_status=$?
24914 grep -v '^ *+' conftest.er1 >conftest.err
24915 rm -f conftest.er1
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_cxx_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest$ac_exeext &&
24922 $as_test_x conftest$ac_exeext; then
24923 eval wx_cv_func_$wx_func=yes
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 eval wx_cv_func_$wx_func=no
24929 fi
24930
24931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24932 conftest$ac_exeext conftest.$ac_ext
24933
24934 fi
24935 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24936 { echo "$as_me:$LINENO: result: $ac_res" >&5
24937 echo "${ECHO_T}$ac_res" >&6; }
24938
24939 if eval test \$wx_cv_func_$wx_func = yes
24940 then
24941 cat >>confdefs.h <<_ACEOF
24942 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24943 _ACEOF
24944
24945
24946 else
24947 :
24948
24949 fi
24950 done
24951
24952 fi
24953 ac_ext=c
24954 ac_cpp='$CPP $CPPFLAGS'
24955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24958
24959
24960
24961
24962 if test "$wxUSE_REGEX" != "no"; then
24963 cat >>confdefs.h <<\_ACEOF
24964 #define wxUSE_REGEX 1
24965 _ACEOF
24966
24967
24968 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24969 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24970 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24971 wxUSE_REGEX=builtin
24972 fi
24973
24974 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24975 { echo "$as_me:$LINENO: checking for regex.h" >&5
24976 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24977 if test "${ac_cv_header_regex_h+set}" = set; then
24978 echo $ECHO_N "(cached) $ECHO_C" >&6
24979 else
24980 cat >conftest.$ac_ext <<_ACEOF
24981 /* confdefs.h. */
24982 _ACEOF
24983 cat confdefs.h >>conftest.$ac_ext
24984 cat >>conftest.$ac_ext <<_ACEOF
24985 /* end confdefs.h. */
24986
24987
24988 #include <regex.h>
24989 _ACEOF
24990 rm -f conftest.$ac_objext
24991 if { (ac_try="$ac_compile"
24992 case "(($ac_try" in
24993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24994 *) ac_try_echo=$ac_try;;
24995 esac
24996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24997 (eval "$ac_compile") 2>conftest.er1
24998 ac_status=$?
24999 grep -v '^ *+' conftest.er1 >conftest.err
25000 rm -f conftest.er1
25001 cat conftest.err >&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } && {
25004 test -z "$ac_c_werror_flag" ||
25005 test ! -s conftest.err
25006 } && test -s conftest.$ac_objext; then
25007 ac_cv_header_regex_h=yes
25008 else
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25011
25012 ac_cv_header_regex_h=no
25013 fi
25014
25015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25016 fi
25017 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25018 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25019 if test $ac_cv_header_regex_h = yes; then
25020
25021
25022 for ac_func in regcomp re_search
25023 do
25024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25028 echo $ECHO_N "(cached) $ECHO_C" >&6
25029 else
25030 cat >conftest.$ac_ext <<_ACEOF
25031 /* confdefs.h. */
25032 _ACEOF
25033 cat confdefs.h >>conftest.$ac_ext
25034 cat >>conftest.$ac_ext <<_ACEOF
25035 /* end confdefs.h. */
25036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25038 #define $ac_func innocuous_$ac_func
25039
25040 /* System header to define __stub macros and hopefully few prototypes,
25041 which can conflict with char $ac_func (); below.
25042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25043 <limits.h> exists even on freestanding compilers. */
25044
25045 #ifdef __STDC__
25046 # include <limits.h>
25047 #else
25048 # include <assert.h>
25049 #endif
25050
25051 #undef $ac_func
25052
25053 /* Override any GCC internal prototype to avoid an error.
25054 Use char because int might match the return type of a GCC
25055 builtin and then its argument prototype would still apply. */
25056 #ifdef __cplusplus
25057 extern "C"
25058 #endif
25059 char $ac_func ();
25060 /* The GNU C library defines this for functions which it implements
25061 to always fail with ENOSYS. Some functions are actually named
25062 something starting with __ and the normal name is an alias. */
25063 #if defined __stub_$ac_func || defined __stub___$ac_func
25064 choke me
25065 #endif
25066
25067 int
25068 main ()
25069 {
25070 return $ac_func ();
25071 ;
25072 return 0;
25073 }
25074 _ACEOF
25075 rm -f conftest.$ac_objext conftest$ac_exeext
25076 if { (ac_try="$ac_link"
25077 case "(($ac_try" in
25078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25079 *) ac_try_echo=$ac_try;;
25080 esac
25081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25082 (eval "$ac_link") 2>conftest.er1
25083 ac_status=$?
25084 grep -v '^ *+' conftest.er1 >conftest.err
25085 rm -f conftest.er1
25086 cat conftest.err >&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } && {
25089 test -z "$ac_c_werror_flag" ||
25090 test ! -s conftest.err
25091 } && test -s conftest$ac_exeext &&
25092 $as_test_x conftest$ac_exeext; then
25093 eval "$as_ac_var=yes"
25094 else
25095 echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.$ac_ext >&5
25097
25098 eval "$as_ac_var=no"
25099 fi
25100
25101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25102 conftest$ac_exeext conftest.$ac_ext
25103 fi
25104 ac_res=`eval echo '${'$as_ac_var'}'`
25105 { echo "$as_me:$LINENO: result: $ac_res" >&5
25106 echo "${ECHO_T}$ac_res" >&6; }
25107 if test `eval echo '${'$as_ac_var'}'` = yes; then
25108 cat >>confdefs.h <<_ACEOF
25109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25110 _ACEOF
25111
25112 fi
25113 done
25114
25115 fi
25116
25117
25118
25119 if test "x$ac_cv_func_regcomp" != "xyes"; then
25120 if test "$wxUSE_REGEX" = "sys" ; then
25121 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25122 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25123 { (exit 1); exit 1; }; }
25124 else
25125 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25126 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25127 wxUSE_REGEX=builtin
25128 fi
25129 else
25130 wxUSE_REGEX=sys
25131 cat >>confdefs.h <<\_ACEOF
25132 #define WX_NO_REGEX_ADVANCED 1
25133 _ACEOF
25134
25135 fi
25136 fi
25137 fi
25138
25139
25140 ZLIB_LINK=
25141 if test "$wxUSE_ZLIB" != "no" ; then
25142 cat >>confdefs.h <<\_ACEOF
25143 #define wxUSE_ZLIB 1
25144 _ACEOF
25145
25146
25147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25148 if test "$USE_DARWIN" = 1; then
25149 system_zlib_h_ok="yes"
25150 else
25151 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25152 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25153 if test "${ac_cv_header_zlib_h+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25155 else
25156 if test "$cross_compiling" = yes; then
25157 unset ac_cv_header_zlib_h
25158
25159 else
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166
25167 #include <zlib.h>
25168 #include <stdio.h>
25169
25170 int main()
25171 {
25172 FILE *f=fopen("conftestval", "w");
25173 if (!f) exit(1);
25174 fprintf(f, "%s",
25175 ZLIB_VERSION[0] == '1' &&
25176 (ZLIB_VERSION[2] > '1' ||
25177 (ZLIB_VERSION[2] == '1' &&
25178 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25179 exit(0);
25180 }
25181
25182 _ACEOF
25183 rm -f conftest$ac_exeext
25184 if { (ac_try="$ac_link"
25185 case "(($ac_try" in
25186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25187 *) ac_try_echo=$ac_try;;
25188 esac
25189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25190 (eval "$ac_link") 2>&5
25191 ac_status=$?
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25194 { (case "(($ac_try" in
25195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25196 *) ac_try_echo=$ac_try;;
25197 esac
25198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25199 (eval "$ac_try") 2>&5
25200 ac_status=$?
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); }; }; then
25203 ac_cv_header_zlib_h=`cat conftestval`
25204 else
25205 echo "$as_me: program exited with status $ac_status" >&5
25206 echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.$ac_ext >&5
25208
25209 ( exit $ac_status )
25210 ac_cv_header_zlib_h=no
25211 fi
25212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25213 fi
25214
25215
25216
25217 fi
25218 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25219 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25220 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25222 if test "${ac_cv_header_zlib_h+set}" = set; then
25223 echo $ECHO_N "(cached) $ECHO_C" >&6
25224 else
25225 cat >conftest.$ac_ext <<_ACEOF
25226 /* confdefs.h. */
25227 _ACEOF
25228 cat confdefs.h >>conftest.$ac_ext
25229 cat >>conftest.$ac_ext <<_ACEOF
25230 /* end confdefs.h. */
25231
25232
25233 #include <zlib.h>
25234 _ACEOF
25235 rm -f conftest.$ac_objext
25236 if { (ac_try="$ac_compile"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25240 esac
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_compile") 2>conftest.er1
25243 ac_status=$?
25244 grep -v '^ *+' conftest.er1 >conftest.err
25245 rm -f conftest.er1
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest.$ac_objext; then
25252 ac_cv_header_zlib_h=yes
25253 else
25254 echo "$as_me: failed program was:" >&5
25255 sed 's/^/| /' conftest.$ac_ext >&5
25256
25257 ac_cv_header_zlib_h=no
25258 fi
25259
25260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25261 fi
25262 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25264
25265
25266
25267 system_zlib_h_ok=$ac_cv_header_zlib_h
25268 fi
25269
25270 if test "$system_zlib_h_ok" = "yes"; then
25271 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25272 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25273 if test "${ac_cv_lib_z_deflate+set}" = set; then
25274 echo $ECHO_N "(cached) $ECHO_C" >&6
25275 else
25276 ac_check_lib_save_LIBS=$LIBS
25277 LIBS="-lz $LIBS"
25278 cat >conftest.$ac_ext <<_ACEOF
25279 /* confdefs.h. */
25280 _ACEOF
25281 cat confdefs.h >>conftest.$ac_ext
25282 cat >>conftest.$ac_ext <<_ACEOF
25283 /* end confdefs.h. */
25284
25285 /* Override any GCC internal prototype to avoid an error.
25286 Use char because int might match the return type of a GCC
25287 builtin and then its argument prototype would still apply. */
25288 #ifdef __cplusplus
25289 extern "C"
25290 #endif
25291 char deflate ();
25292 int
25293 main ()
25294 {
25295 return deflate ();
25296 ;
25297 return 0;
25298 }
25299 _ACEOF
25300 rm -f conftest.$ac_objext conftest$ac_exeext
25301 if { (ac_try="$ac_link"
25302 case "(($ac_try" in
25303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25304 *) ac_try_echo=$ac_try;;
25305 esac
25306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25307 (eval "$ac_link") 2>conftest.er1
25308 ac_status=$?
25309 grep -v '^ *+' conftest.er1 >conftest.err
25310 rm -f conftest.er1
25311 cat conftest.err >&5
25312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25313 (exit $ac_status); } && {
25314 test -z "$ac_c_werror_flag" ||
25315 test ! -s conftest.err
25316 } && test -s conftest$ac_exeext &&
25317 $as_test_x conftest$ac_exeext; then
25318 ac_cv_lib_z_deflate=yes
25319 else
25320 echo "$as_me: failed program was:" >&5
25321 sed 's/^/| /' conftest.$ac_ext >&5
25322
25323 ac_cv_lib_z_deflate=no
25324 fi
25325
25326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25327 conftest$ac_exeext conftest.$ac_ext
25328 LIBS=$ac_check_lib_save_LIBS
25329 fi
25330 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25331 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25332 if test $ac_cv_lib_z_deflate = yes; then
25333 ZLIB_LINK=" -lz"
25334 fi
25335
25336 fi
25337
25338 if test "x$ZLIB_LINK" = "x" ; then
25339 if test "$wxUSE_ZLIB" = "sys" ; then
25340 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25341 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25342 { (exit 1); exit 1; }; }
25343 else
25344 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25345 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25346 wxUSE_ZLIB=builtin
25347 fi
25348 else
25349 wxUSE_ZLIB=sys
25350 fi
25351 fi
25352 fi
25353
25354
25355 PNG_LINK=
25356 if test "$wxUSE_LIBPNG" != "no" ; then
25357 cat >>confdefs.h <<\_ACEOF
25358 #define wxUSE_LIBPNG 1
25359 _ACEOF
25360
25361
25362 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25363 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25364 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25365 wxUSE_LIBPNG=sys
25366 fi
25367
25368 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25369 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25370 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25371 wxUSE_LIBPNG=builtin
25372 fi
25373
25374 if test "$wxUSE_MGL" != 1 ; then
25375 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25376 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25377 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25378 if test "${ac_cv_header_png_h+set}" = set; then
25379 echo $ECHO_N "(cached) $ECHO_C" >&6
25380 else
25381 if test "$cross_compiling" = yes; then
25382 unset ac_cv_header_png_h
25383
25384 else
25385 cat >conftest.$ac_ext <<_ACEOF
25386 /* confdefs.h. */
25387 _ACEOF
25388 cat confdefs.h >>conftest.$ac_ext
25389 cat >>conftest.$ac_ext <<_ACEOF
25390 /* end confdefs.h. */
25391
25392 #include <png.h>
25393 #include <stdio.h>
25394
25395 int main()
25396 {
25397 FILE *f=fopen("conftestval", "w");
25398 if (!f) exit(1);
25399 fprintf(f, "%s",
25400 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25401 exit(0);
25402 }
25403
25404 _ACEOF
25405 rm -f conftest$ac_exeext
25406 if { (ac_try="$ac_link"
25407 case "(($ac_try" in
25408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25409 *) ac_try_echo=$ac_try;;
25410 esac
25411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25412 (eval "$ac_link") 2>&5
25413 ac_status=$?
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25416 { (case "(($ac_try" in
25417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25418 *) ac_try_echo=$ac_try;;
25419 esac
25420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25421 (eval "$ac_try") 2>&5
25422 ac_status=$?
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); }; }; then
25425 ac_cv_header_png_h=`cat conftestval`
25426 else
25427 echo "$as_me: program exited with status $ac_status" >&5
25428 echo "$as_me: failed program was:" >&5
25429 sed 's/^/| /' conftest.$ac_ext >&5
25430
25431 ( exit $ac_status )
25432 ac_cv_header_png_h=no
25433 fi
25434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25435 fi
25436
25437
25438
25439 fi
25440 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25441 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25442 { echo "$as_me:$LINENO: checking for png.h" >&5
25443 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25444 if test "${ac_cv_header_png_h+set}" = set; then
25445 echo $ECHO_N "(cached) $ECHO_C" >&6
25446 else
25447 cat >conftest.$ac_ext <<_ACEOF
25448 /* confdefs.h. */
25449 _ACEOF
25450 cat confdefs.h >>conftest.$ac_ext
25451 cat >>conftest.$ac_ext <<_ACEOF
25452 /* end confdefs.h. */
25453
25454
25455 #include <png.h>
25456 _ACEOF
25457 rm -f conftest.$ac_objext
25458 if { (ac_try="$ac_compile"
25459 case "(($ac_try" in
25460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25461 *) ac_try_echo=$ac_try;;
25462 esac
25463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25464 (eval "$ac_compile") 2>conftest.er1
25465 ac_status=$?
25466 grep -v '^ *+' conftest.er1 >conftest.err
25467 rm -f conftest.er1
25468 cat conftest.err >&5
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); } && {
25471 test -z "$ac_c_werror_flag" ||
25472 test ! -s conftest.err
25473 } && test -s conftest.$ac_objext; then
25474 ac_cv_header_png_h=yes
25475 else
25476 echo "$as_me: failed program was:" >&5
25477 sed 's/^/| /' conftest.$ac_ext >&5
25478
25479 ac_cv_header_png_h=no
25480 fi
25481
25482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25483 fi
25484 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25485 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25486
25487
25488
25489 if test "$ac_cv_header_png_h" = "yes"; then
25490 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25491 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25492 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25494 else
25495 ac_check_lib_save_LIBS=$LIBS
25496 LIBS="-lpng -lz -lm $LIBS"
25497 cat >conftest.$ac_ext <<_ACEOF
25498 /* confdefs.h. */
25499 _ACEOF
25500 cat confdefs.h >>conftest.$ac_ext
25501 cat >>conftest.$ac_ext <<_ACEOF
25502 /* end confdefs.h. */
25503
25504 /* Override any GCC internal prototype to avoid an error.
25505 Use char because int might match the return type of a GCC
25506 builtin and then its argument prototype would still apply. */
25507 #ifdef __cplusplus
25508 extern "C"
25509 #endif
25510 char png_check_sig ();
25511 int
25512 main ()
25513 {
25514 return png_check_sig ();
25515 ;
25516 return 0;
25517 }
25518 _ACEOF
25519 rm -f conftest.$ac_objext conftest$ac_exeext
25520 if { (ac_try="$ac_link"
25521 case "(($ac_try" in
25522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25523 *) ac_try_echo=$ac_try;;
25524 esac
25525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25526 (eval "$ac_link") 2>conftest.er1
25527 ac_status=$?
25528 grep -v '^ *+' conftest.er1 >conftest.err
25529 rm -f conftest.er1
25530 cat conftest.err >&5
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); } && {
25533 test -z "$ac_c_werror_flag" ||
25534 test ! -s conftest.err
25535 } && test -s conftest$ac_exeext &&
25536 $as_test_x conftest$ac_exeext; then
25537 ac_cv_lib_png_png_check_sig=yes
25538 else
25539 echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25541
25542 ac_cv_lib_png_png_check_sig=no
25543 fi
25544
25545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25546 conftest$ac_exeext conftest.$ac_ext
25547 LIBS=$ac_check_lib_save_LIBS
25548 fi
25549 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25550 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25551 if test $ac_cv_lib_png_png_check_sig = yes; then
25552 PNG_LINK=" -lpng -lz"
25553 fi
25554
25555 fi
25556
25557 if test "x$PNG_LINK" = "x" ; then
25558 if test "$wxUSE_LIBPNG" = "sys" ; then
25559 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25560 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25561 { (exit 1); exit 1; }; }
25562 else
25563 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25564 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25565 wxUSE_LIBPNG=builtin
25566 fi
25567 else
25568 wxUSE_LIBPNG=sys
25569 fi
25570 fi
25571 fi
25572
25573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25574 fi
25575
25576
25577 JPEG_LINK=
25578 if test "$wxUSE_LIBJPEG" != "no" ; then
25579 cat >>confdefs.h <<\_ACEOF
25580 #define wxUSE_LIBJPEG 1
25581 _ACEOF
25582
25583
25584 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25585 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25586 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25587 wxUSE_LIBJPEG=sys
25588 fi
25589
25590 if test "$wxUSE_MGL" != 1 ; then
25591 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25592 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25593 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25594 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25595 echo $ECHO_N "(cached) $ECHO_C" >&6
25596 else
25597 cat >conftest.$ac_ext <<_ACEOF
25598 /* confdefs.h. */
25599 _ACEOF
25600 cat confdefs.h >>conftest.$ac_ext
25601 cat >>conftest.$ac_ext <<_ACEOF
25602 /* end confdefs.h. */
25603
25604 #undef HAVE_STDLIB_H
25605 #include <stdio.h>
25606 #include <jpeglib.h>
25607
25608 int
25609 main ()
25610 {
25611
25612
25613 ;
25614 return 0;
25615 }
25616 _ACEOF
25617 rm -f conftest.$ac_objext
25618 if { (ac_try="$ac_compile"
25619 case "(($ac_try" in
25620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25621 *) ac_try_echo=$ac_try;;
25622 esac
25623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25624 (eval "$ac_compile") 2>conftest.er1
25625 ac_status=$?
25626 grep -v '^ *+' conftest.er1 >conftest.err
25627 rm -f conftest.er1
25628 cat conftest.err >&5
25629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25630 (exit $ac_status); } && {
25631 test -z "$ac_c_werror_flag" ||
25632 test ! -s conftest.err
25633 } && test -s conftest.$ac_objext; then
25634 ac_cv_header_jpeglib_h=yes
25635 else
25636 echo "$as_me: failed program was:" >&5
25637 sed 's/^/| /' conftest.$ac_ext >&5
25638
25639 ac_cv_header_jpeglib_h=no
25640
25641 fi
25642
25643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25644
25645 fi
25646
25647 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25648 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25649
25650 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25651 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25652 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25653 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25654 echo $ECHO_N "(cached) $ECHO_C" >&6
25655 else
25656 ac_check_lib_save_LIBS=$LIBS
25657 LIBS="-ljpeg $LIBS"
25658 cat >conftest.$ac_ext <<_ACEOF
25659 /* confdefs.h. */
25660 _ACEOF
25661 cat confdefs.h >>conftest.$ac_ext
25662 cat >>conftest.$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664
25665 /* Override any GCC internal prototype to avoid an error.
25666 Use char because int might match the return type of a GCC
25667 builtin and then its argument prototype would still apply. */
25668 #ifdef __cplusplus
25669 extern "C"
25670 #endif
25671 char jpeg_read_header ();
25672 int
25673 main ()
25674 {
25675 return jpeg_read_header ();
25676 ;
25677 return 0;
25678 }
25679 _ACEOF
25680 rm -f conftest.$ac_objext conftest$ac_exeext
25681 if { (ac_try="$ac_link"
25682 case "(($ac_try" in
25683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25684 *) ac_try_echo=$ac_try;;
25685 esac
25686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25687 (eval "$ac_link") 2>conftest.er1
25688 ac_status=$?
25689 grep -v '^ *+' conftest.er1 >conftest.err
25690 rm -f conftest.er1
25691 cat conftest.err >&5
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); } && {
25694 test -z "$ac_c_werror_flag" ||
25695 test ! -s conftest.err
25696 } && test -s conftest$ac_exeext &&
25697 $as_test_x conftest$ac_exeext; then
25698 ac_cv_lib_jpeg_jpeg_read_header=yes
25699 else
25700 echo "$as_me: failed program was:" >&5
25701 sed 's/^/| /' conftest.$ac_ext >&5
25702
25703 ac_cv_lib_jpeg_jpeg_read_header=no
25704 fi
25705
25706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25707 conftest$ac_exeext conftest.$ac_ext
25708 LIBS=$ac_check_lib_save_LIBS
25709 fi
25710 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25711 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25712 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25713 JPEG_LINK=" -ljpeg"
25714 fi
25715
25716 fi
25717
25718 if test "x$JPEG_LINK" = "x" ; then
25719 if test "$wxUSE_LIBJPEG" = "sys" ; then
25720 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25721 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25722 { (exit 1); exit 1; }; }
25723 else
25724 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25725 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25726 wxUSE_LIBJPEG=builtin
25727 fi
25728 else
25729 wxUSE_LIBJPEG=sys
25730
25731 if test "$wxUSE_MSW" = 1; then
25732 { echo "$as_me:$LINENO: checking for boolean" >&5
25733 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25734 if test "${ac_cv_type_boolean+set}" = set; then
25735 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 else
25737 cat >conftest.$ac_ext <<_ACEOF
25738 /* confdefs.h. */
25739 _ACEOF
25740 cat confdefs.h >>conftest.$ac_ext
25741 cat >>conftest.$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25743 #include <windows.h>
25744
25745 typedef boolean ac__type_new_;
25746 int
25747 main ()
25748 {
25749 if ((ac__type_new_ *) 0)
25750 return 0;
25751 if (sizeof (ac__type_new_))
25752 return 0;
25753 ;
25754 return 0;
25755 }
25756 _ACEOF
25757 rm -f conftest.$ac_objext
25758 if { (ac_try="$ac_compile"
25759 case "(($ac_try" in
25760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25761 *) ac_try_echo=$ac_try;;
25762 esac
25763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25764 (eval "$ac_compile") 2>conftest.er1
25765 ac_status=$?
25766 grep -v '^ *+' conftest.er1 >conftest.err
25767 rm -f conftest.er1
25768 cat conftest.err >&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } && {
25771 test -z "$ac_c_werror_flag" ||
25772 test ! -s conftest.err
25773 } && test -s conftest.$ac_objext; then
25774 ac_cv_type_boolean=yes
25775 else
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25778
25779 ac_cv_type_boolean=no
25780 fi
25781
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 fi
25784 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25785 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25786 if test $ac_cv_type_boolean = yes; then
25787
25788 cat >>confdefs.h <<_ACEOF
25789 #define HAVE_BOOLEAN 1
25790 _ACEOF
25791
25792
25793 { echo "$as_me:$LINENO: checking for boolean" >&5
25794 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25795 if test "${ac_cv_type_boolean+set}" = set; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 else
25798 cat >conftest.$ac_ext <<_ACEOF
25799 /* confdefs.h. */
25800 _ACEOF
25801 cat confdefs.h >>conftest.$ac_ext
25802 cat >>conftest.$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25804
25805 #undef HAVE_BOOLEAN
25806 #include <stdio.h>
25807 #include <jpeglib.h>
25808
25809
25810 typedef boolean ac__type_new_;
25811 int
25812 main ()
25813 {
25814 if ((ac__type_new_ *) 0)
25815 return 0;
25816 if (sizeof (ac__type_new_))
25817 return 0;
25818 ;
25819 return 0;
25820 }
25821 _ACEOF
25822 rm -f conftest.$ac_objext
25823 if { (ac_try="$ac_compile"
25824 case "(($ac_try" in
25825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25826 *) ac_try_echo=$ac_try;;
25827 esac
25828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25829 (eval "$ac_compile") 2>conftest.er1
25830 ac_status=$?
25831 grep -v '^ *+' conftest.er1 >conftest.err
25832 rm -f conftest.er1
25833 cat conftest.err >&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } && {
25836 test -z "$ac_c_werror_flag" ||
25837 test ! -s conftest.err
25838 } && test -s conftest.$ac_objext; then
25839 ac_cv_type_boolean=yes
25840 else
25841 echo "$as_me: failed program was:" >&5
25842 sed 's/^/| /' conftest.$ac_ext >&5
25843
25844 ac_cv_type_boolean=no
25845 fi
25846
25847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25848 fi
25849 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25850 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25851
25852 # The cast to long int works around a bug in the HP C Compiler
25853 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25854 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25855 # This bug is HP SR number 8606223364.
25856 { echo "$as_me:$LINENO: checking size of boolean" >&5
25857 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25858 if test "${ac_cv_sizeof_boolean+set}" = set; then
25859 echo $ECHO_N "(cached) $ECHO_C" >&6
25860 else
25861 if test "$cross_compiling" = yes; then
25862 # Depending upon the size, compute the lo and hi bounds.
25863 cat >conftest.$ac_ext <<_ACEOF
25864 /* confdefs.h. */
25865 _ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25869
25870 #undef HAVE_BOOLEAN
25871 #include <stdio.h>
25872 #include <jpeglib.h>
25873
25874
25875 typedef boolean ac__type_sizeof_;
25876 int
25877 main ()
25878 {
25879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25880 test_array [0] = 0
25881
25882 ;
25883 return 0;
25884 }
25885 _ACEOF
25886 rm -f conftest.$ac_objext
25887 if { (ac_try="$ac_compile"
25888 case "(($ac_try" in
25889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25890 *) ac_try_echo=$ac_try;;
25891 esac
25892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25893 (eval "$ac_compile") 2>conftest.er1
25894 ac_status=$?
25895 grep -v '^ *+' conftest.er1 >conftest.err
25896 rm -f conftest.er1
25897 cat conftest.err >&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); } && {
25900 test -z "$ac_c_werror_flag" ||
25901 test ! -s conftest.err
25902 } && test -s conftest.$ac_objext; then
25903 ac_lo=0 ac_mid=0
25904 while :; do
25905 cat >conftest.$ac_ext <<_ACEOF
25906 /* confdefs.h. */
25907 _ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911
25912 #undef HAVE_BOOLEAN
25913 #include <stdio.h>
25914 #include <jpeglib.h>
25915
25916
25917 typedef boolean ac__type_sizeof_;
25918 int
25919 main ()
25920 {
25921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25922 test_array [0] = 0
25923
25924 ;
25925 return 0;
25926 }
25927 _ACEOF
25928 rm -f conftest.$ac_objext
25929 if { (ac_try="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25933 esac
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25936 ac_status=$?
25937 grep -v '^ *+' conftest.er1 >conftest.err
25938 rm -f conftest.er1
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && {
25942 test -z "$ac_c_werror_flag" ||
25943 test ! -s conftest.err
25944 } && test -s conftest.$ac_objext; then
25945 ac_hi=$ac_mid; break
25946 else
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25949
25950 ac_lo=`expr $ac_mid + 1`
25951 if test $ac_lo -le $ac_mid; then
25952 ac_lo= ac_hi=
25953 break
25954 fi
25955 ac_mid=`expr 2 '*' $ac_mid + 1`
25956 fi
25957
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959 done
25960 else
25961 echo "$as_me: failed program was:" >&5
25962 sed 's/^/| /' conftest.$ac_ext >&5
25963
25964 cat >conftest.$ac_ext <<_ACEOF
25965 /* confdefs.h. */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970
25971 #undef HAVE_BOOLEAN
25972 #include <stdio.h>
25973 #include <jpeglib.h>
25974
25975
25976 typedef boolean ac__type_sizeof_;
25977 int
25978 main ()
25979 {
25980 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25981 test_array [0] = 0
25982
25983 ;
25984 return 0;
25985 }
25986 _ACEOF
25987 rm -f conftest.$ac_objext
25988 if { (ac_try="$ac_compile"
25989 case "(($ac_try" in
25990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25991 *) ac_try_echo=$ac_try;;
25992 esac
25993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25994 (eval "$ac_compile") 2>conftest.er1
25995 ac_status=$?
25996 grep -v '^ *+' conftest.er1 >conftest.err
25997 rm -f conftest.er1
25998 cat conftest.err >&5
25999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26000 (exit $ac_status); } && {
26001 test -z "$ac_c_werror_flag" ||
26002 test ! -s conftest.err
26003 } && test -s conftest.$ac_objext; then
26004 ac_hi=-1 ac_mid=-1
26005 while :; do
26006 cat >conftest.$ac_ext <<_ACEOF
26007 /* confdefs.h. */
26008 _ACEOF
26009 cat confdefs.h >>conftest.$ac_ext
26010 cat >>conftest.$ac_ext <<_ACEOF
26011 /* end confdefs.h. */
26012
26013 #undef HAVE_BOOLEAN
26014 #include <stdio.h>
26015 #include <jpeglib.h>
26016
26017
26018 typedef boolean ac__type_sizeof_;
26019 int
26020 main ()
26021 {
26022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26023 test_array [0] = 0
26024
26025 ;
26026 return 0;
26027 }
26028 _ACEOF
26029 rm -f conftest.$ac_objext
26030 if { (ac_try="$ac_compile"
26031 case "(($ac_try" in
26032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26033 *) ac_try_echo=$ac_try;;
26034 esac
26035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26036 (eval "$ac_compile") 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } && {
26043 test -z "$ac_c_werror_flag" ||
26044 test ! -s conftest.err
26045 } && test -s conftest.$ac_objext; then
26046 ac_lo=$ac_mid; break
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 ac_hi=`expr '(' $ac_mid ')' - 1`
26052 if test $ac_mid -le $ac_hi; then
26053 ac_lo= ac_hi=
26054 break
26055 fi
26056 ac_mid=`expr 2 '*' $ac_mid`
26057 fi
26058
26059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26060 done
26061 else
26062 echo "$as_me: failed program was:" >&5
26063 sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 ac_lo= ac_hi=
26066 fi
26067
26068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26069 fi
26070
26071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26072 # Binary search between lo and hi bounds.
26073 while test "x$ac_lo" != "x$ac_hi"; do
26074 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26075 cat >conftest.$ac_ext <<_ACEOF
26076 /* confdefs.h. */
26077 _ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26081
26082 #undef HAVE_BOOLEAN
26083 #include <stdio.h>
26084 #include <jpeglib.h>
26085
26086
26087 typedef boolean ac__type_sizeof_;
26088 int
26089 main ()
26090 {
26091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26092 test_array [0] = 0
26093
26094 ;
26095 return 0;
26096 }
26097 _ACEOF
26098 rm -f conftest.$ac_objext
26099 if { (ac_try="$ac_compile"
26100 case "(($ac_try" in
26101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26102 *) ac_try_echo=$ac_try;;
26103 esac
26104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26105 (eval "$ac_compile") 2>conftest.er1
26106 ac_status=$?
26107 grep -v '^ *+' conftest.er1 >conftest.err
26108 rm -f conftest.er1
26109 cat conftest.err >&5
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); } && {
26112 test -z "$ac_c_werror_flag" ||
26113 test ! -s conftest.err
26114 } && test -s conftest.$ac_objext; then
26115 ac_hi=$ac_mid
26116 else
26117 echo "$as_me: failed program was:" >&5
26118 sed 's/^/| /' conftest.$ac_ext >&5
26119
26120 ac_lo=`expr '(' $ac_mid ')' + 1`
26121 fi
26122
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26124 done
26125 case $ac_lo in
26126 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26127 '') if test "$ac_cv_type_boolean" = yes; then
26128 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26129 See \`config.log' for more details." >&5
26130 echo "$as_me: error: cannot compute sizeof (boolean)
26131 See \`config.log' for more details." >&2;}
26132 { (exit 77); exit 77; }; }
26133 else
26134 ac_cv_sizeof_boolean=0
26135 fi ;;
26136 esac
26137 else
26138 cat >conftest.$ac_ext <<_ACEOF
26139 /* confdefs.h. */
26140 _ACEOF
26141 cat confdefs.h >>conftest.$ac_ext
26142 cat >>conftest.$ac_ext <<_ACEOF
26143 /* end confdefs.h. */
26144
26145 #undef HAVE_BOOLEAN
26146 #include <stdio.h>
26147 #include <jpeglib.h>
26148
26149
26150 typedef boolean ac__type_sizeof_;
26151 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26152 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26153 #include <stdio.h>
26154 #include <stdlib.h>
26155 int
26156 main ()
26157 {
26158
26159 FILE *f = fopen ("conftest.val", "w");
26160 if (! f)
26161 return 1;
26162 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26163 {
26164 long int i = longval ();
26165 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26166 return 1;
26167 fprintf (f, "%ld\n", i);
26168 }
26169 else
26170 {
26171 unsigned long int i = ulongval ();
26172 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26173 return 1;
26174 fprintf (f, "%lu\n", i);
26175 }
26176 return ferror (f) || fclose (f) != 0;
26177
26178 ;
26179 return 0;
26180 }
26181 _ACEOF
26182 rm -f conftest$ac_exeext
26183 if { (ac_try="$ac_link"
26184 case "(($ac_try" in
26185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26186 *) ac_try_echo=$ac_try;;
26187 esac
26188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26189 (eval "$ac_link") 2>&5
26190 ac_status=$?
26191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26193 { (case "(($ac_try" in
26194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26195 *) ac_try_echo=$ac_try;;
26196 esac
26197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26198 (eval "$ac_try") 2>&5
26199 ac_status=$?
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); }; }; then
26202 ac_cv_sizeof_boolean=`cat conftest.val`
26203 else
26204 echo "$as_me: program exited with status $ac_status" >&5
26205 echo "$as_me: failed program was:" >&5
26206 sed 's/^/| /' conftest.$ac_ext >&5
26207
26208 ( exit $ac_status )
26209 if test "$ac_cv_type_boolean" = yes; then
26210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26211 See \`config.log' for more details." >&5
26212 echo "$as_me: error: cannot compute sizeof (boolean)
26213 See \`config.log' for more details." >&2;}
26214 { (exit 77); exit 77; }; }
26215 else
26216 ac_cv_sizeof_boolean=0
26217 fi
26218 fi
26219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26220 fi
26221 rm -f conftest.val
26222 fi
26223 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26224 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26225
26226
26227
26228 cat >>confdefs.h <<_ACEOF
26229 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26230 _ACEOF
26231
26232
26233 cat >>confdefs.h <<_ACEOF
26234 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26235 _ACEOF
26236
26237
26238 fi
26239
26240 fi
26241 fi
26242 fi
26243 fi
26244 fi
26245
26246
26247 TIFF_LINK=
26248 TIFF_PREREQ_LINKS=-lm
26249 if test "$wxUSE_LIBTIFF" != "no" ; then
26250 cat >>confdefs.h <<\_ACEOF
26251 #define wxUSE_LIBTIFF 1
26252 _ACEOF
26253
26254
26255 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26256 if test "$wxUSE_LIBJPEG" = "sys"; then
26257 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26258 fi
26259 if test "$wxUSE_ZLIB" = "sys"; then
26260 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26261 fi
26262 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26263 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26264 if test "${ac_cv_header_tiffio_h+set}" = set; then
26265 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 else
26267 cat >conftest.$ac_ext <<_ACEOF
26268 /* confdefs.h. */
26269 _ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273
26274
26275
26276 #include <tiffio.h>
26277 _ACEOF
26278 rm -f conftest.$ac_objext
26279 if { (ac_try="$ac_compile"
26280 case "(($ac_try" in
26281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26282 *) ac_try_echo=$ac_try;;
26283 esac
26284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26285 (eval "$ac_compile") 2>conftest.er1
26286 ac_status=$?
26287 grep -v '^ *+' conftest.er1 >conftest.err
26288 rm -f conftest.er1
26289 cat conftest.err >&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); } && {
26292 test -z "$ac_c_werror_flag" ||
26293 test ! -s conftest.err
26294 } && test -s conftest.$ac_objext; then
26295 ac_cv_header_tiffio_h=yes
26296 else
26297 echo "$as_me: failed program was:" >&5
26298 sed 's/^/| /' conftest.$ac_ext >&5
26299
26300 ac_cv_header_tiffio_h=no
26301 fi
26302
26303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26304 fi
26305 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26306 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26307 if test $ac_cv_header_tiffio_h = yes; then
26308
26309 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26310 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26311 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26312 echo $ECHO_N "(cached) $ECHO_C" >&6
26313 else
26314 ac_check_lib_save_LIBS=$LIBS
26315 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26316 cat >conftest.$ac_ext <<_ACEOF
26317 /* confdefs.h. */
26318 _ACEOF
26319 cat confdefs.h >>conftest.$ac_ext
26320 cat >>conftest.$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26322
26323 /* Override any GCC internal prototype to avoid an error.
26324 Use char because int might match the return type of a GCC
26325 builtin and then its argument prototype would still apply. */
26326 #ifdef __cplusplus
26327 extern "C"
26328 #endif
26329 char TIFFError ();
26330 int
26331 main ()
26332 {
26333 return TIFFError ();
26334 ;
26335 return 0;
26336 }
26337 _ACEOF
26338 rm -f conftest.$ac_objext conftest$ac_exeext
26339 if { (ac_try="$ac_link"
26340 case "(($ac_try" in
26341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26342 *) ac_try_echo=$ac_try;;
26343 esac
26344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26345 (eval "$ac_link") 2>conftest.er1
26346 ac_status=$?
26347 grep -v '^ *+' conftest.er1 >conftest.err
26348 rm -f conftest.er1
26349 cat conftest.err >&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); } && {
26352 test -z "$ac_c_werror_flag" ||
26353 test ! -s conftest.err
26354 } && test -s conftest$ac_exeext &&
26355 $as_test_x conftest$ac_exeext; then
26356 ac_cv_lib_tiff_TIFFError=yes
26357 else
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26360
26361 ac_cv_lib_tiff_TIFFError=no
26362 fi
26363
26364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26365 conftest$ac_exeext conftest.$ac_ext
26366 LIBS=$ac_check_lib_save_LIBS
26367 fi
26368 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26369 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26370 if test $ac_cv_lib_tiff_TIFFError = yes; then
26371 TIFF_LINK=" -ltiff"
26372 fi
26373
26374
26375 fi
26376
26377
26378
26379 if test "x$TIFF_LINK" = "x" ; then
26380 if test "$wxUSE_LIBTIFF" = "sys" ; then
26381 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26382 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26383 { (exit 1); exit 1; }; }
26384 else
26385 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26386 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26387 wxUSE_LIBTIFF=builtin
26388 fi
26389 else
26390 wxUSE_LIBTIFF=sys
26391 fi
26392 fi
26393 fi
26394
26395
26396 if test "$wxUSE_WCHAR_T" != "yes"; then
26397 if test "$wxUSE_EXPAT" != "no"; then
26398 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26399 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26400 wxUSE_EXPAT=no
26401 fi
26402 if test "$wxUSE_XML" != "no"; then
26403 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26404 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26405 wxUSE_XML=no
26406 fi
26407 fi
26408
26409 if test "$wxUSE_EXPAT" != "no"; then
26410 wxUSE_XML=yes
26411 cat >>confdefs.h <<\_ACEOF
26412 #define wxUSE_EXPAT 1
26413 _ACEOF
26414
26415 cat >>confdefs.h <<\_ACEOF
26416 #define wxUSE_XML 1
26417 _ACEOF
26418
26419
26420 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26421 { echo "$as_me:$LINENO: checking for expat.h" >&5
26422 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26423 if test "${ac_cv_header_expat_h+set}" = set; then
26424 echo $ECHO_N "(cached) $ECHO_C" >&6
26425 else
26426 cat >conftest.$ac_ext <<_ACEOF
26427 /* confdefs.h. */
26428 _ACEOF
26429 cat confdefs.h >>conftest.$ac_ext
26430 cat >>conftest.$ac_ext <<_ACEOF
26431 /* end confdefs.h. */
26432
26433
26434 #include <expat.h>
26435 _ACEOF
26436 rm -f conftest.$ac_objext
26437 if { (ac_try="$ac_compile"
26438 case "(($ac_try" in
26439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26440 *) ac_try_echo=$ac_try;;
26441 esac
26442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26443 (eval "$ac_compile") 2>conftest.er1
26444 ac_status=$?
26445 grep -v '^ *+' conftest.er1 >conftest.err
26446 rm -f conftest.er1
26447 cat conftest.err >&5
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); } && {
26450 test -z "$ac_c_werror_flag" ||
26451 test ! -s conftest.err
26452 } && test -s conftest.$ac_objext; then
26453 ac_cv_header_expat_h=yes
26454 else
26455 echo "$as_me: failed program was:" >&5
26456 sed 's/^/| /' conftest.$ac_ext >&5
26457
26458 ac_cv_header_expat_h=no
26459 fi
26460
26461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26462 fi
26463 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26464 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26465 if test $ac_cv_header_expat_h = yes; then
26466 found_expat_h=1
26467 fi
26468
26469
26470 if test "x$found_expat_h" = "x1"; then
26471 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26472 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26473 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 else
26476
26477 ac_ext=cpp
26478 ac_cpp='$CXXCPP $CPPFLAGS'
26479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26482
26483 cat >conftest.$ac_ext <<_ACEOF
26484 /* confdefs.h. */
26485 _ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26489 #include <expat.h>
26490 int
26491 main ()
26492 {
26493
26494 ;
26495 return 0;
26496 }
26497 _ACEOF
26498 rm -f conftest.$ac_objext
26499 if { (ac_try="$ac_compile"
26500 case "(($ac_try" in
26501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26502 *) ac_try_echo=$ac_try;;
26503 esac
26504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26505 (eval "$ac_compile") 2>conftest.er1
26506 ac_status=$?
26507 grep -v '^ *+' conftest.er1 >conftest.err
26508 rm -f conftest.er1
26509 cat conftest.err >&5
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); } && {
26512 test -z "$ac_cxx_werror_flag" ||
26513 test ! -s conftest.err
26514 } && test -s conftest.$ac_objext; then
26515 wx_cv_expat_is_not_broken=yes
26516 else
26517 echo "$as_me: failed program was:" >&5
26518 sed 's/^/| /' conftest.$ac_ext >&5
26519
26520 wx_cv_expat_is_not_broken=no
26521
26522 fi
26523
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26525 ac_ext=c
26526 ac_cpp='$CPP $CPPFLAGS'
26527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26530
26531
26532
26533 fi
26534 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26535 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26536 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26537 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26538 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26539 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26541 else
26542 ac_check_lib_save_LIBS=$LIBS
26543 LIBS="-lexpat $LIBS"
26544 cat >conftest.$ac_ext <<_ACEOF
26545 /* confdefs.h. */
26546 _ACEOF
26547 cat confdefs.h >>conftest.$ac_ext
26548 cat >>conftest.$ac_ext <<_ACEOF
26549 /* end confdefs.h. */
26550
26551 /* Override any GCC internal prototype to avoid an error.
26552 Use char because int might match the return type of a GCC
26553 builtin and then its argument prototype would still apply. */
26554 #ifdef __cplusplus
26555 extern "C"
26556 #endif
26557 char XML_ParserCreate ();
26558 int
26559 main ()
26560 {
26561 return XML_ParserCreate ();
26562 ;
26563 return 0;
26564 }
26565 _ACEOF
26566 rm -f conftest.$ac_objext conftest$ac_exeext
26567 if { (ac_try="$ac_link"
26568 case "(($ac_try" in
26569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26570 *) ac_try_echo=$ac_try;;
26571 esac
26572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26573 (eval "$ac_link") 2>conftest.er1
26574 ac_status=$?
26575 grep -v '^ *+' conftest.er1 >conftest.err
26576 rm -f conftest.er1
26577 cat conftest.err >&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); } && {
26580 test -z "$ac_c_werror_flag" ||
26581 test ! -s conftest.err
26582 } && test -s conftest$ac_exeext &&
26583 $as_test_x conftest$ac_exeext; then
26584 ac_cv_lib_expat_XML_ParserCreate=yes
26585 else
26586 echo "$as_me: failed program was:" >&5
26587 sed 's/^/| /' conftest.$ac_ext >&5
26588
26589 ac_cv_lib_expat_XML_ParserCreate=no
26590 fi
26591
26592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26593 conftest$ac_exeext conftest.$ac_ext
26594 LIBS=$ac_check_lib_save_LIBS
26595 fi
26596 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26597 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26598 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26599 EXPAT_LINK=" -lexpat"
26600 fi
26601
26602 fi
26603 fi
26604 if test "x$EXPAT_LINK" = "x" ; then
26605 if test "$wxUSE_EXPAT" = "sys" ; then
26606 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26607 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26608 { (exit 1); exit 1; }; }
26609 else
26610 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26611 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26612 wxUSE_EXPAT=builtin
26613 fi
26614 else
26615 wxUSE_EXPAT=sys
26616 fi
26617 fi
26618 if test "$wxUSE_EXPAT" = "builtin" ; then
26619 subdirs="$subdirs src/expat"
26620
26621 fi
26622 fi
26623
26624
26625
26626 if test "$wxUSE_LIBMSPACK" != "no"; then
26627 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26628 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26629 if test "${ac_cv_header_mspack_h+set}" = set; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26631 else
26632 cat >conftest.$ac_ext <<_ACEOF
26633 /* confdefs.h. */
26634 _ACEOF
26635 cat confdefs.h >>conftest.$ac_ext
26636 cat >>conftest.$ac_ext <<_ACEOF
26637 /* end confdefs.h. */
26638
26639
26640 #include <mspack.h>
26641 _ACEOF
26642 rm -f conftest.$ac_objext
26643 if { (ac_try="$ac_compile"
26644 case "(($ac_try" in
26645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26646 *) ac_try_echo=$ac_try;;
26647 esac
26648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26649 (eval "$ac_compile") 2>conftest.er1
26650 ac_status=$?
26651 grep -v '^ *+' conftest.er1 >conftest.err
26652 rm -f conftest.er1
26653 cat conftest.err >&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); } && {
26656 test -z "$ac_c_werror_flag" ||
26657 test ! -s conftest.err
26658 } && test -s conftest.$ac_objext; then
26659 ac_cv_header_mspack_h=yes
26660 else
26661 echo "$as_me: failed program was:" >&5
26662 sed 's/^/| /' conftest.$ac_ext >&5
26663
26664 ac_cv_header_mspack_h=no
26665 fi
26666
26667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26668 fi
26669 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26670 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26671 if test $ac_cv_header_mspack_h = yes; then
26672 found_mspack_h=1
26673 fi
26674
26675
26676 if test "x$found_mspack_h" = "x1"; then
26677 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26678 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26679 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26680 echo $ECHO_N "(cached) $ECHO_C" >&6
26681 else
26682 ac_check_lib_save_LIBS=$LIBS
26683 LIBS="-lmspack $LIBS"
26684 cat >conftest.$ac_ext <<_ACEOF
26685 /* confdefs.h. */
26686 _ACEOF
26687 cat confdefs.h >>conftest.$ac_ext
26688 cat >>conftest.$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26690
26691 /* Override any GCC internal prototype to avoid an error.
26692 Use char because int might match the return type of a GCC
26693 builtin and then its argument prototype would still apply. */
26694 #ifdef __cplusplus
26695 extern "C"
26696 #endif
26697 char mspack_create_chm_decompressor ();
26698 int
26699 main ()
26700 {
26701 return mspack_create_chm_decompressor ();
26702 ;
26703 return 0;
26704 }
26705 _ACEOF
26706 rm -f conftest.$ac_objext conftest$ac_exeext
26707 if { (ac_try="$ac_link"
26708 case "(($ac_try" in
26709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26710 *) ac_try_echo=$ac_try;;
26711 esac
26712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26713 (eval "$ac_link") 2>conftest.er1
26714 ac_status=$?
26715 grep -v '^ *+' conftest.er1 >conftest.err
26716 rm -f conftest.er1
26717 cat conftest.err >&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); } && {
26720 test -z "$ac_c_werror_flag" ||
26721 test ! -s conftest.err
26722 } && test -s conftest$ac_exeext &&
26723 $as_test_x conftest$ac_exeext; then
26724 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26725 else
26726 echo "$as_me: failed program was:" >&5
26727 sed 's/^/| /' conftest.$ac_ext >&5
26728
26729 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26730 fi
26731
26732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26733 conftest$ac_exeext conftest.$ac_ext
26734 LIBS=$ac_check_lib_save_LIBS
26735 fi
26736 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26737 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26738 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26739 MSPACK_LINK=" -lmspack"
26740 fi
26741
26742 fi
26743 if test "x$MSPACK_LINK" = "x" ; then
26744 wxUSE_LIBMSPACK=no
26745 fi
26746 fi
26747
26748 if test "$wxUSE_LIBMSPACK" != "no"; then
26749 cat >>confdefs.h <<\_ACEOF
26750 #define wxUSE_LIBMSPACK 1
26751 _ACEOF
26752
26753 fi
26754
26755
26756
26757 AFMINSTALL=
26758 WIN32INSTALL=
26759
26760 TOOLKIT=
26761 TOOLKIT_INCLUDE=
26762 WIDGET_SET=
26763
26764 if test "$USE_WIN32" = 1 ; then
26765 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26766 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26767 if test "${ac_cv_header_w32api_h+set}" = set; then
26768 echo $ECHO_N "(cached) $ECHO_C" >&6
26769 else
26770 cat >conftest.$ac_ext <<_ACEOF
26771 /* confdefs.h. */
26772 _ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26776
26777
26778 #include <w32api.h>
26779 _ACEOF
26780 rm -f conftest.$ac_objext
26781 if { (ac_try="$ac_compile"
26782 case "(($ac_try" in
26783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26785 esac
26786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_compile") 2>conftest.er1
26788 ac_status=$?
26789 grep -v '^ *+' conftest.er1 >conftest.err
26790 rm -f conftest.er1
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } && {
26794 test -z "$ac_c_werror_flag" ||
26795 test ! -s conftest.err
26796 } && test -s conftest.$ac_objext; then
26797 ac_cv_header_w32api_h=yes
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802 ac_cv_header_w32api_h=no
26803 fi
26804
26805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26806 fi
26807 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26808 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26809
26810
26811 { echo "$as_me:$LINENO: checking for windows.h" >&5
26812 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26813 if test "${ac_cv_header_windows_h+set}" = set; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26815 else
26816 cat >conftest.$ac_ext <<_ACEOF
26817 /* confdefs.h. */
26818 _ACEOF
26819 cat confdefs.h >>conftest.$ac_ext
26820 cat >>conftest.$ac_ext <<_ACEOF
26821 /* end confdefs.h. */
26822
26823
26824 #include <windows.h>
26825 _ACEOF
26826 rm -f conftest.$ac_objext
26827 if { (ac_try="$ac_compile"
26828 case "(($ac_try" in
26829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26830 *) ac_try_echo=$ac_try;;
26831 esac
26832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26833 (eval "$ac_compile") 2>conftest.er1
26834 ac_status=$?
26835 grep -v '^ *+' conftest.er1 >conftest.err
26836 rm -f conftest.er1
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } && {
26840 test -z "$ac_c_werror_flag" ||
26841 test ! -s conftest.err
26842 } && test -s conftest.$ac_objext; then
26843 ac_cv_header_windows_h=yes
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_cv_header_windows_h=no
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26852 fi
26853 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26854 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26855 if test $ac_cv_header_windows_h = yes; then
26856 :
26857 else
26858
26859 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26860 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26861 { (exit 1); exit 1; }; }
26862
26863 fi
26864
26865
26866
26867 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26868
26869 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26870 LIBS="$LIBS -loleacc"
26871 fi
26872
26873 case "${host}" in
26874 *-*-cygwin* )
26875 LIBS="$LIBS -lkernel32 -luser32"
26876 esac
26877
26878 if test "$wxUSE_ODBC" = "sys" ; then
26879 wxUSE_ODBC = "yes"
26880 fi
26881 if test "$wxUSE_ODBC" = "yes" ; then
26882 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26883 cat >>confdefs.h <<\_ACEOF
26884 #define wxUSE_ODBC 1
26885 _ACEOF
26886
26887 fi
26888
26889 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26890 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26891
26892 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26893
26894 WIN32INSTALL=win32install
26895
26896 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26897 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26898 if test "${ac_cv_header_pbt_h+set}" = set; then
26899 echo $ECHO_N "(cached) $ECHO_C" >&6
26900 else
26901 cat >conftest.$ac_ext <<_ACEOF
26902 /* confdefs.h. */
26903 _ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907
26908
26909 #include <pbt.h>
26910 _ACEOF
26911 rm -f conftest.$ac_objext
26912 if { (ac_try="$ac_compile"
26913 case "(($ac_try" in
26914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26915 *) ac_try_echo=$ac_try;;
26916 esac
26917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26918 (eval "$ac_compile") 2>conftest.er1
26919 ac_status=$?
26920 grep -v '^ *+' conftest.er1 >conftest.err
26921 rm -f conftest.er1
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } && {
26925 test -z "$ac_c_werror_flag" ||
26926 test ! -s conftest.err
26927 } && test -s conftest.$ac_objext; then
26928 ac_cv_header_pbt_h=yes
26929 else
26930 echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26932
26933 ac_cv_header_pbt_h=no
26934 fi
26935
26936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26937 fi
26938 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26939 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26940 if test $ac_cv_header_pbt_h = yes; then
26941 :
26942 else
26943 cat >>confdefs.h <<\_ACEOF
26944 #define NEED_PBT_H 1
26945 _ACEOF
26946
26947 fi
26948
26949
26950 fi
26951
26952 if test "$wxUSE_GUI" = "yes"; then
26953 USE_GUI=1
26954
26955 GUI_TK_LIBRARY=
26956
26957 WXGTK12=
26958 WXGTK127=
26959 WXGTK20=
26960 WXGPE=
26961
26962 if test "$wxUSE_COCOA" = 1 ; then
26963 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26964 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26965 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26966 wxUSE_PRINTING_ARCHITECTURE=no
26967 fi
26968 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26969 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26970 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26971 wxUSE_DRAG_AND_DROP=no
26972 fi
26973 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26974 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26975 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26976 wxUSE_DRAGIMAGE=no
26977 fi
26978 fi
26979
26980 if test "$wxUSE_MSW" = 1 ; then
26981 TOOLKIT=MSW
26982 GUIDIST=MSW_DIST
26983
26984 case "${host}" in
26985 *-*-mingw32* )
26986 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26987 esac
26988 fi
26989
26990 if test "$wxUSE_GTK" = 1; then
26991 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26992 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26993
26994 gtk_version_cached=1
26995 if test "${wx_cv_lib_gtk+set}" = set; then
26996 echo $ECHO_N "(cached) $ECHO_C" >&6
26997 else
26998
26999 gtk_version_cached=0
27000 { echo "$as_me:$LINENO: result: " >&5
27001 echo "${ECHO_T}" >&6; }
27002
27003 GTK_MODULES=
27004 if test "$wxUSE_THREADS" = "yes"; then
27005 GTK_MODULES=gthread
27006 fi
27007
27008 wx_cv_lib_gtk=
27009 if test "x$wxGTK_VERSION" != "x1"
27010 then
27011 case "${host}" in
27012 *-*-solaris2* )
27013 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27014 enable_gtktest=no
27015 fi
27016 esac
27017
27018 # Check whether --enable-gtktest was given.
27019 if test "${enable_gtktest+set}" = set; then
27020 enableval=$enable_gtktest;
27021 else
27022 enable_gtktest=yes
27023 fi
27024
27025
27026 pkg_config_args=gtk+-2.0
27027 for module in . $GTK_MODULES
27028 do
27029 case "$module" in
27030 gthread)
27031 pkg_config_args="$pkg_config_args gthread-2.0"
27032 ;;
27033 esac
27034 done
27035
27036 no_gtk=""
27037
27038 # Extract the first word of "pkg-config", so it can be a program name with args.
27039 set dummy pkg-config; ac_word=$2
27040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27042 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27043 echo $ECHO_N "(cached) $ECHO_C" >&6
27044 else
27045 case $PKG_CONFIG in
27046 [\\/]* | ?:[\\/]*)
27047 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27048 ;;
27049 *)
27050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27051 for as_dir in $PATH
27052 do
27053 IFS=$as_save_IFS
27054 test -z "$as_dir" && as_dir=.
27055 for ac_exec_ext in '' $ac_executable_extensions; do
27056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27057 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27059 break 2
27060 fi
27061 done
27062 done
27063 IFS=$as_save_IFS
27064
27065 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27066 ;;
27067 esac
27068 fi
27069 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27070 if test -n "$PKG_CONFIG"; then
27071 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27072 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27073 else
27074 { echo "$as_me:$LINENO: result: no" >&5
27075 echo "${ECHO_T}no" >&6; }
27076 fi
27077
27078
27079
27080 if test x$PKG_CONFIG != xno ; then
27081 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27082 :
27083 else
27084 echo "*** pkg-config too old; version 0.7 or better required."
27085 no_gtk=yes
27086 PKG_CONFIG=no
27087 fi
27088 else
27089 no_gtk=yes
27090 fi
27091
27092 min_gtk_version=2.0.0
27093 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27094 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27095
27096 if test x$PKG_CONFIG != xno ; then
27097 ## don't try to run the test against uninstalled libtool libs
27098 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27099 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27100 enable_gtktest=no
27101 fi
27102
27103 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27104 :
27105 else
27106 no_gtk=yes
27107 fi
27108 fi
27109
27110 if test x"$no_gtk" = x ; then
27111 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27112 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27113 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27114 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27115 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27116 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27117 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27118 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27119 if test "x$enable_gtktest" = "xyes" ; then
27120 ac_save_CFLAGS="$CFLAGS"
27121 ac_save_LIBS="$LIBS"
27122 CFLAGS="$CFLAGS $GTK_CFLAGS"
27123 LIBS="$GTK_LIBS $LIBS"
27124 rm -f conf.gtktest
27125 if test "$cross_compiling" = yes; then
27126 echo $ac_n "cross compiling; assumed OK... $ac_c"
27127 else
27128 cat >conftest.$ac_ext <<_ACEOF
27129 /* confdefs.h. */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134
27135 #include <gtk/gtk.h>
27136 #include <stdio.h>
27137 #include <stdlib.h>
27138
27139 int
27140 main ()
27141 {
27142 int major, minor, micro;
27143 char *tmp_version;
27144
27145 system ("touch conf.gtktest");
27146
27147 /* HP/UX 9 (%@#!) writes to sscanf strings */
27148 tmp_version = g_strdup("$min_gtk_version");
27149 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27150 printf("%s, bad version string\n", "$min_gtk_version");
27151 exit(1);
27152 }
27153
27154 if ((gtk_major_version != $gtk_config_major_version) ||
27155 (gtk_minor_version != $gtk_config_minor_version) ||
27156 (gtk_micro_version != $gtk_config_micro_version))
27157 {
27158 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27159 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27160 gtk_major_version, gtk_minor_version, gtk_micro_version);
27161 printf ("*** was found! If pkg-config was correct, then it is best\n");
27162 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27163 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27164 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27165 printf("*** required on your system.\n");
27166 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27167 printf("*** to point to the correct configuration files\n");
27168 }
27169 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27170 (gtk_minor_version != GTK_MINOR_VERSION) ||
27171 (gtk_micro_version != GTK_MICRO_VERSION))
27172 {
27173 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27174 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27175 printf("*** library (version %d.%d.%d)\n",
27176 gtk_major_version, gtk_minor_version, gtk_micro_version);
27177 }
27178 else
27179 {
27180 if ((gtk_major_version > major) ||
27181 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27182 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27183 {
27184 return 0;
27185 }
27186 else
27187 {
27188 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27189 gtk_major_version, gtk_minor_version, gtk_micro_version);
27190 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27191 major, minor, micro);
27192 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27193 printf("***\n");
27194 printf("*** If you have already installed a sufficiently new version, this error\n");
27195 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27196 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27197 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27198 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27199 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27200 printf("*** so that the correct libraries are found at run-time))\n");
27201 }
27202 }
27203 return 1;
27204 }
27205
27206 _ACEOF
27207 rm -f conftest$ac_exeext
27208 if { (ac_try="$ac_link"
27209 case "(($ac_try" in
27210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27211 *) ac_try_echo=$ac_try;;
27212 esac
27213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27214 (eval "$ac_link") 2>&5
27215 ac_status=$?
27216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27218 { (case "(($ac_try" in
27219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27220 *) ac_try_echo=$ac_try;;
27221 esac
27222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27223 (eval "$ac_try") 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 :
27228 else
27229 echo "$as_me: program exited with status $ac_status" >&5
27230 echo "$as_me: failed program was:" >&5
27231 sed 's/^/| /' conftest.$ac_ext >&5
27232
27233 ( exit $ac_status )
27234 no_gtk=yes
27235 fi
27236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27237 fi
27238
27239
27240 CFLAGS="$ac_save_CFLAGS"
27241 LIBS="$ac_save_LIBS"
27242 fi
27243 fi
27244 if test "x$no_gtk" = x ; then
27245 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27246 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27247 wx_cv_lib_gtk=2.0
27248 else
27249 { echo "$as_me:$LINENO: result: no" >&5
27250 echo "${ECHO_T}no" >&6; }
27251 if test "$PKG_CONFIG" = "no" ; then
27252 echo "*** A new enough version of pkg-config was not found."
27253 echo "*** See http://pkgconfig.sourceforge.net"
27254 else
27255 if test -f conf.gtktest ; then
27256 :
27257 else
27258 echo "*** Could not run GTK+ test program, checking why..."
27259 ac_save_CFLAGS="$CFLAGS"
27260 ac_save_LIBS="$LIBS"
27261 CFLAGS="$CFLAGS $GTK_CFLAGS"
27262 LIBS="$LIBS $GTK_LIBS"
27263 cat >conftest.$ac_ext <<_ACEOF
27264 /* confdefs.h. */
27265 _ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269
27270 #include <gtk/gtk.h>
27271 #include <stdio.h>
27272
27273 int
27274 main ()
27275 {
27276 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27277 ;
27278 return 0;
27279 }
27280 _ACEOF
27281 rm -f conftest.$ac_objext conftest$ac_exeext
27282 if { (ac_try="$ac_link"
27283 case "(($ac_try" in
27284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27285 *) ac_try_echo=$ac_try;;
27286 esac
27287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27288 (eval "$ac_link") 2>conftest.er1
27289 ac_status=$?
27290 grep -v '^ *+' conftest.er1 >conftest.err
27291 rm -f conftest.er1
27292 cat conftest.err >&5
27293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27294 (exit $ac_status); } && {
27295 test -z "$ac_c_werror_flag" ||
27296 test ! -s conftest.err
27297 } && test -s conftest$ac_exeext &&
27298 $as_test_x conftest$ac_exeext; then
27299 echo "*** The test program compiled, but did not run. This usually means"
27300 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27301 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27302 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27303 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27304 echo "*** is required on your system"
27305 echo "***"
27306 echo "*** If you have an old version installed, it is best to remove it, although"
27307 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27308 else
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27311
27312 echo "*** The test program failed to compile or link. See the file config.log for the"
27313 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27314 fi
27315
27316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27317 conftest$ac_exeext conftest.$ac_ext
27318 CFLAGS="$ac_save_CFLAGS"
27319 LIBS="$ac_save_LIBS"
27320 fi
27321 fi
27322 GTK_CFLAGS=""
27323 GTK_LIBS=""
27324 :
27325 fi
27326
27327
27328 rm -f conf.gtktest
27329
27330
27331 case "${host}" in
27332 *-*-solaris2* )
27333 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27334 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27335 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27336 fi
27337 if test "$wxUSE_SHARED" != "yes"; then
27338 GTK_LIBS="$GTK_LIBS -lX11"
27339 fi
27340 esac
27341 fi
27342
27343 if test -z "$wx_cv_lib_gtk"; then
27344 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27345
27346 # Check whether --with-gtk-prefix was given.
27347 if test "${with_gtk_prefix+set}" = set; then
27348 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27349 else
27350 gtk_config_prefix=""
27351 fi
27352
27353
27354 # Check whether --with-gtk-exec-prefix was given.
27355 if test "${with_gtk_exec_prefix+set}" = set; then
27356 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27357 else
27358 gtk_config_exec_prefix=""
27359 fi
27360
27361 # Check whether --enable-gtktest was given.
27362 if test "${enable_gtktest+set}" = set; then
27363 enableval=$enable_gtktest;
27364 else
27365 enable_gtktest=yes
27366 fi
27367
27368
27369 for module in . $GTK_MODULES
27370 do
27371 case "$module" in
27372 gthread)
27373 gtk_config_args="$gtk_config_args gthread"
27374 ;;
27375 esac
27376 done
27377
27378 if test x$gtk_config_exec_prefix != x ; then
27379 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27380 if test x${GTK_CONFIG+set} != xset ; then
27381 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27382 fi
27383 fi
27384 if test x$gtk_config_prefix != x ; then
27385 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27386 if test x${GTK_CONFIG+set} != xset ; then
27387 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27388 fi
27389 fi
27390
27391 # Extract the first word of "gtk-config", so it can be a program name with args.
27392 set dummy gtk-config; ac_word=$2
27393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27395 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27396 echo $ECHO_N "(cached) $ECHO_C" >&6
27397 else
27398 case $GTK_CONFIG in
27399 [\\/]* | ?:[\\/]*)
27400 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27401 ;;
27402 *)
27403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27404 for as_dir in $PATH
27405 do
27406 IFS=$as_save_IFS
27407 test -z "$as_dir" && as_dir=.
27408 for ac_exec_ext in '' $ac_executable_extensions; do
27409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27410 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27412 break 2
27413 fi
27414 done
27415 done
27416 IFS=$as_save_IFS
27417
27418 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27419 ;;
27420 esac
27421 fi
27422 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27423 if test -n "$GTK_CONFIG"; then
27424 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27425 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27426 else
27427 { echo "$as_me:$LINENO: result: no" >&5
27428 echo "${ECHO_T}no" >&6; }
27429 fi
27430
27431
27432 min_gtk_version=1.2.7
27433 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27434 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27435 no_gtk=""
27436 if test "$GTK_CONFIG" = "no" ; then
27437 no_gtk=yes
27438 else
27439 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27440 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27441 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27443 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27445 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27447 if test "x$enable_gtktest" = "xyes" ; then
27448 ac_save_CFLAGS="$CFLAGS"
27449 ac_save_LIBS="$LIBS"
27450 CFLAGS="$CFLAGS $GTK_CFLAGS"
27451 LIBS="$GTK_LIBS $LIBS"
27452 rm -f conf.gtktest
27453 if test "$cross_compiling" = yes; then
27454 echo $ac_n "cross compiling; assumed OK... $ac_c"
27455 else
27456 cat >conftest.$ac_ext <<_ACEOF
27457 /* confdefs.h. */
27458 _ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27462
27463 #include <gtk/gtk.h>
27464 #include <stdio.h>
27465 #include <stdlib.h>
27466
27467 int
27468 main ()
27469 {
27470 int major, minor, micro;
27471 char *tmp_version;
27472
27473 system ("touch conf.gtktest");
27474
27475 /* HP/UX 9 (%@#!) writes to sscanf strings */
27476 tmp_version = g_strdup("$min_gtk_version");
27477 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27478 printf("%s, bad version string\n", "$min_gtk_version");
27479 exit(1);
27480 }
27481
27482 if ((gtk_major_version != $gtk_config_major_version) ||
27483 (gtk_minor_version != $gtk_config_minor_version) ||
27484 (gtk_micro_version != $gtk_config_micro_version))
27485 {
27486 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27487 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27488 gtk_major_version, gtk_minor_version, gtk_micro_version);
27489 printf ("*** was found! If gtk-config was correct, then it is best\n");
27490 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27491 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27492 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27493 printf("*** required on your system.\n");
27494 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27495 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27496 printf("*** before re-running configure\n");
27497 }
27498 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27499 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27500 (gtk_minor_version != GTK_MINOR_VERSION) ||
27501 (gtk_micro_version != GTK_MICRO_VERSION))
27502 {
27503 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27504 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27505 printf("*** library (version %d.%d.%d)\n",
27506 gtk_major_version, gtk_minor_version, gtk_micro_version);
27507 }
27508 #endif /* defined (GTK_MAJOR_VERSION) ... */
27509 else
27510 {
27511 if ((gtk_major_version > major) ||
27512 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27513 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27514 {
27515 return 0;
27516 }
27517 else
27518 {
27519 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27520 gtk_major_version, gtk_minor_version, gtk_micro_version);
27521 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27522 major, minor, micro);
27523 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27524 printf("***\n");
27525 printf("*** If you have already installed a sufficiently new version, this error\n");
27526 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27527 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27528 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27529 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27530 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27531 printf("*** so that the correct libraries are found at run-time))\n");
27532 }
27533 }
27534 return 1;
27535 }
27536
27537 _ACEOF
27538 rm -f conftest$ac_exeext
27539 if { (ac_try="$ac_link"
27540 case "(($ac_try" in
27541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27542 *) ac_try_echo=$ac_try;;
27543 esac
27544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27545 (eval "$ac_link") 2>&5
27546 ac_status=$?
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27549 { (case "(($ac_try" in
27550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27551 *) ac_try_echo=$ac_try;;
27552 esac
27553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27554 (eval "$ac_try") 2>&5
27555 ac_status=$?
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; }; then
27558 :
27559 else
27560 echo "$as_me: program exited with status $ac_status" >&5
27561 echo "$as_me: failed program was:" >&5
27562 sed 's/^/| /' conftest.$ac_ext >&5
27563
27564 ( exit $ac_status )
27565 no_gtk=yes
27566 fi
27567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27568 fi
27569
27570
27571 CFLAGS="$ac_save_CFLAGS"
27572 LIBS="$ac_save_LIBS"
27573 fi
27574 fi
27575 if test "x$no_gtk" = x ; then
27576 { echo "$as_me:$LINENO: result: yes" >&5
27577 echo "${ECHO_T}yes" >&6; }
27578 wx_cv_lib_gtk=1.2.7
27579 else
27580 { echo "$as_me:$LINENO: result: no" >&5
27581 echo "${ECHO_T}no" >&6; }
27582 if test "$GTK_CONFIG" = "no" ; then
27583 echo "*** The gtk-config script installed by GTK could not be found"
27584 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27585 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27586 echo "*** full path to gtk-config."
27587 else
27588 if test -f conf.gtktest ; then
27589 :
27590 else
27591 echo "*** Could not run GTK test program, checking why..."
27592 CFLAGS="$CFLAGS $GTK_CFLAGS"
27593 LIBS="$LIBS $GTK_LIBS"
27594 cat >conftest.$ac_ext <<_ACEOF
27595 /* confdefs.h. */
27596 _ACEOF
27597 cat confdefs.h >>conftest.$ac_ext
27598 cat >>conftest.$ac_ext <<_ACEOF
27599 /* end confdefs.h. */
27600
27601 #include <gtk/gtk.h>
27602 #include <stdio.h>
27603
27604 int
27605 main ()
27606 {
27607 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27608 ;
27609 return 0;
27610 }
27611 _ACEOF
27612 rm -f conftest.$ac_objext conftest$ac_exeext
27613 if { (ac_try="$ac_link"
27614 case "(($ac_try" in
27615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27616 *) ac_try_echo=$ac_try;;
27617 esac
27618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27619 (eval "$ac_link") 2>conftest.er1
27620 ac_status=$?
27621 grep -v '^ *+' conftest.er1 >conftest.err
27622 rm -f conftest.er1
27623 cat conftest.err >&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); } && {
27626 test -z "$ac_c_werror_flag" ||
27627 test ! -s conftest.err
27628 } && test -s conftest$ac_exeext &&
27629 $as_test_x conftest$ac_exeext; then
27630 echo "*** The test program compiled, but did not run. This usually means"
27631 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27632 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27633 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27634 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27635 echo "*** is required on your system"
27636 echo "***"
27637 echo "*** If you have an old version installed, it is best to remove it, although"
27638 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27639 echo "***"
27640 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27641 echo "*** came with the system with the command"
27642 echo "***"
27643 echo "*** rpm --erase --nodeps gtk gtk-devel"
27644 else
27645 echo "$as_me: failed program was:" >&5
27646 sed 's/^/| /' conftest.$ac_ext >&5
27647
27648 echo "*** The test program failed to compile or link. See the file config.log for the"
27649 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27650 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27651 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27652 fi
27653
27654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27655 conftest$ac_exeext conftest.$ac_ext
27656 CFLAGS="$ac_save_CFLAGS"
27657 LIBS="$ac_save_LIBS"
27658 fi
27659 fi
27660 GTK_CFLAGS=""
27661 GTK_LIBS=""
27662 :
27663 fi
27664
27665
27666 rm -f conf.gtktest
27667
27668
27669 if test -z "$wx_cv_lib_gtk"; then
27670
27671 # Check whether --with-gtk-prefix was given.
27672 if test "${with_gtk_prefix+set}" = set; then
27673 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27674 else
27675 gtk_config_prefix=""
27676 fi
27677
27678
27679 # Check whether --with-gtk-exec-prefix was given.
27680 if test "${with_gtk_exec_prefix+set}" = set; then
27681 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27682 else
27683 gtk_config_exec_prefix=""
27684 fi
27685
27686 # Check whether --enable-gtktest was given.
27687 if test "${enable_gtktest+set}" = set; then
27688 enableval=$enable_gtktest;
27689 else
27690 enable_gtktest=yes
27691 fi
27692
27693
27694 for module in . $GTK_MODULES
27695 do
27696 case "$module" in
27697 gthread)
27698 gtk_config_args="$gtk_config_args gthread"
27699 ;;
27700 esac
27701 done
27702
27703 if test x$gtk_config_exec_prefix != x ; then
27704 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27705 if test x${GTK_CONFIG+set} != xset ; then
27706 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27707 fi
27708 fi
27709 if test x$gtk_config_prefix != x ; then
27710 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27711 if test x${GTK_CONFIG+set} != xset ; then
27712 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27713 fi
27714 fi
27715
27716 # Extract the first word of "gtk-config", so it can be a program name with args.
27717 set dummy gtk-config; ac_word=$2
27718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27720 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27721 echo $ECHO_N "(cached) $ECHO_C" >&6
27722 else
27723 case $GTK_CONFIG in
27724 [\\/]* | ?:[\\/]*)
27725 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27726 ;;
27727 *)
27728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27729 for as_dir in $PATH
27730 do
27731 IFS=$as_save_IFS
27732 test -z "$as_dir" && as_dir=.
27733 for ac_exec_ext in '' $ac_executable_extensions; do
27734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27735 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27737 break 2
27738 fi
27739 done
27740 done
27741 IFS=$as_save_IFS
27742
27743 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27744 ;;
27745 esac
27746 fi
27747 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27748 if test -n "$GTK_CONFIG"; then
27749 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27750 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27751 else
27752 { echo "$as_me:$LINENO: result: no" >&5
27753 echo "${ECHO_T}no" >&6; }
27754 fi
27755
27756
27757 min_gtk_version=1.2.3
27758 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27759 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27760 no_gtk=""
27761 if test "$GTK_CONFIG" = "no" ; then
27762 no_gtk=yes
27763 else
27764 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27765 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27766 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27768 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27769 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27770 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27771 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27772 if test "x$enable_gtktest" = "xyes" ; then
27773 ac_save_CFLAGS="$CFLAGS"
27774 ac_save_LIBS="$LIBS"
27775 CFLAGS="$CFLAGS $GTK_CFLAGS"
27776 LIBS="$GTK_LIBS $LIBS"
27777 rm -f conf.gtktest
27778 if test "$cross_compiling" = yes; then
27779 echo $ac_n "cross compiling; assumed OK... $ac_c"
27780 else
27781 cat >conftest.$ac_ext <<_ACEOF
27782 /* confdefs.h. */
27783 _ACEOF
27784 cat confdefs.h >>conftest.$ac_ext
27785 cat >>conftest.$ac_ext <<_ACEOF
27786 /* end confdefs.h. */
27787
27788 #include <gtk/gtk.h>
27789 #include <stdio.h>
27790 #include <stdlib.h>
27791
27792 int
27793 main ()
27794 {
27795 int major, minor, micro;
27796 char *tmp_version;
27797
27798 system ("touch conf.gtktest");
27799
27800 /* HP/UX 9 (%@#!) writes to sscanf strings */
27801 tmp_version = g_strdup("$min_gtk_version");
27802 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27803 printf("%s, bad version string\n", "$min_gtk_version");
27804 exit(1);
27805 }
27806
27807 if ((gtk_major_version != $gtk_config_major_version) ||
27808 (gtk_minor_version != $gtk_config_minor_version) ||
27809 (gtk_micro_version != $gtk_config_micro_version))
27810 {
27811 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27812 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27813 gtk_major_version, gtk_minor_version, gtk_micro_version);
27814 printf ("*** was found! If gtk-config was correct, then it is best\n");
27815 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27816 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27817 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27818 printf("*** required on your system.\n");
27819 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27820 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27821 printf("*** before re-running configure\n");
27822 }
27823 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27824 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27825 (gtk_minor_version != GTK_MINOR_VERSION) ||
27826 (gtk_micro_version != GTK_MICRO_VERSION))
27827 {
27828 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27829 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27830 printf("*** library (version %d.%d.%d)\n",
27831 gtk_major_version, gtk_minor_version, gtk_micro_version);
27832 }
27833 #endif /* defined (GTK_MAJOR_VERSION) ... */
27834 else
27835 {
27836 if ((gtk_major_version > major) ||
27837 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27838 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27839 {
27840 return 0;
27841 }
27842 else
27843 {
27844 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27845 gtk_major_version, gtk_minor_version, gtk_micro_version);
27846 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27847 major, minor, micro);
27848 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27849 printf("***\n");
27850 printf("*** If you have already installed a sufficiently new version, this error\n");
27851 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27852 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27853 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27854 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27855 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27856 printf("*** so that the correct libraries are found at run-time))\n");
27857 }
27858 }
27859 return 1;
27860 }
27861
27862 _ACEOF
27863 rm -f conftest$ac_exeext
27864 if { (ac_try="$ac_link"
27865 case "(($ac_try" in
27866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27867 *) ac_try_echo=$ac_try;;
27868 esac
27869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27870 (eval "$ac_link") 2>&5
27871 ac_status=$?
27872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27874 { (case "(($ac_try" in
27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27877 esac
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_try") 2>&5
27880 ac_status=$?
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); }; }; then
27883 :
27884 else
27885 echo "$as_me: program exited with status $ac_status" >&5
27886 echo "$as_me: failed program was:" >&5
27887 sed 's/^/| /' conftest.$ac_ext >&5
27888
27889 ( exit $ac_status )
27890 no_gtk=yes
27891 fi
27892 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27893 fi
27894
27895
27896 CFLAGS="$ac_save_CFLAGS"
27897 LIBS="$ac_save_LIBS"
27898 fi
27899 fi
27900 if test "x$no_gtk" = x ; then
27901 { echo "$as_me:$LINENO: result: yes" >&5
27902 echo "${ECHO_T}yes" >&6; }
27903 wx_cv_lib_gtk=1.2.3
27904 else
27905 { echo "$as_me:$LINENO: result: no" >&5
27906 echo "${ECHO_T}no" >&6; }
27907 if test "$GTK_CONFIG" = "no" ; then
27908 echo "*** The gtk-config script installed by GTK could not be found"
27909 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27910 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27911 echo "*** full path to gtk-config."
27912 else
27913 if test -f conf.gtktest ; then
27914 :
27915 else
27916 echo "*** Could not run GTK test program, checking why..."
27917 CFLAGS="$CFLAGS $GTK_CFLAGS"
27918 LIBS="$LIBS $GTK_LIBS"
27919 cat >conftest.$ac_ext <<_ACEOF
27920 /* confdefs.h. */
27921 _ACEOF
27922 cat confdefs.h >>conftest.$ac_ext
27923 cat >>conftest.$ac_ext <<_ACEOF
27924 /* end confdefs.h. */
27925
27926 #include <gtk/gtk.h>
27927 #include <stdio.h>
27928
27929 int
27930 main ()
27931 {
27932 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27933 ;
27934 return 0;
27935 }
27936 _ACEOF
27937 rm -f conftest.$ac_objext conftest$ac_exeext
27938 if { (ac_try="$ac_link"
27939 case "(($ac_try" in
27940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27941 *) ac_try_echo=$ac_try;;
27942 esac
27943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27944 (eval "$ac_link") 2>conftest.er1
27945 ac_status=$?
27946 grep -v '^ *+' conftest.er1 >conftest.err
27947 rm -f conftest.er1
27948 cat conftest.err >&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); } && {
27951 test -z "$ac_c_werror_flag" ||
27952 test ! -s conftest.err
27953 } && test -s conftest$ac_exeext &&
27954 $as_test_x conftest$ac_exeext; then
27955 echo "*** The test program compiled, but did not run. This usually means"
27956 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27957 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27958 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27959 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27960 echo "*** is required on your system"
27961 echo "***"
27962 echo "*** If you have an old version installed, it is best to remove it, although"
27963 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27964 echo "***"
27965 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27966 echo "*** came with the system with the command"
27967 echo "***"
27968 echo "*** rpm --erase --nodeps gtk gtk-devel"
27969 else
27970 echo "$as_me: failed program was:" >&5
27971 sed 's/^/| /' conftest.$ac_ext >&5
27972
27973 echo "*** The test program failed to compile or link. See the file config.log for the"
27974 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27975 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27976 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27977 fi
27978
27979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27980 conftest$ac_exeext conftest.$ac_ext
27981 CFLAGS="$ac_save_CFLAGS"
27982 LIBS="$ac_save_LIBS"
27983 fi
27984 fi
27985 GTK_CFLAGS=""
27986 GTK_LIBS=""
27987 :
27988 fi
27989
27990
27991 rm -f conf.gtktest
27992
27993 fi
27994 fi
27995 fi
27996
27997 if test -z "$wx_cv_lib_gtk"; then
27998 wx_cv_lib_gtk=none
27999 else
28000 wx_cv_cflags_gtk=$GTK_CFLAGS
28001 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28002 fi
28003
28004
28005 fi
28006
28007
28008 if test "$gtk_version_cached" = 1; then
28009 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28010 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28011 fi
28012
28013 case "$wx_cv_lib_gtk" in
28014 2.0) WXGTK20=1
28015 TOOLKIT_VERSION=2
28016 ;;
28017 1.2.7) WXGTK127=1
28018 WXGTK12=1
28019 ;;
28020 1.2.3) WXGTK12=1
28021 ;;
28022 *) { { echo "$as_me:$LINENO: error:
28023 The development files for GTK+ were not found. For GTK+ 2, please
28024 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28025 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28026 and that the version is 1.2.3 or above. Also check that the
28027 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28028 --libs' are in the LD_LIBRARY_PATH or equivalent.
28029 " >&5
28030 echo "$as_me: error:
28031 The development files for GTK+ were not found. For GTK+ 2, please
28032 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28033 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28034 and that the version is 1.2.3 or above. Also check that the
28035 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28036 --libs' are in the LD_LIBRARY_PATH or equivalent.
28037 " >&2;}
28038 { (exit 1); exit 1; }; }
28039 ;;
28040 esac
28041
28042 if test "$WXGTK20" = 1; then
28043 save_CFLAGS="$CFLAGS"
28044 save_LIBS="$LIBS"
28045 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28046 LIBS="$LIBS $wx_cv_libs_gtk"
28047
28048 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28049 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28050 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28051 echo $ECHO_N "(cached) $ECHO_C" >&6
28052 else
28053 cat >conftest.$ac_ext <<_ACEOF
28054 /* confdefs.h. */
28055 _ACEOF
28056 cat confdefs.h >>conftest.$ac_ext
28057 cat >>conftest.$ac_ext <<_ACEOF
28058 /* end confdefs.h. */
28059 #include <gtk/gtk.h>
28060
28061 int
28062 main ()
28063 {
28064 #ifndef gtk_icon_size_lookup
28065 (void) gtk_icon_size_lookup;
28066 #endif
28067
28068 ;
28069 return 0;
28070 }
28071 _ACEOF
28072 rm -f conftest.$ac_objext
28073 if { (ac_try="$ac_compile"
28074 case "(($ac_try" in
28075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28076 *) ac_try_echo=$ac_try;;
28077 esac
28078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28079 (eval "$ac_compile") 2>conftest.er1
28080 ac_status=$?
28081 grep -v '^ *+' conftest.er1 >conftest.err
28082 rm -f conftest.er1
28083 cat conftest.err >&5
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } && {
28086 test -z "$ac_c_werror_flag" ||
28087 test ! -s conftest.err
28088 } && test -s conftest.$ac_objext; then
28089 ac_cv_have_decl_gtk_icon_size_lookup=yes
28090 else
28091 echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.$ac_ext >&5
28093
28094 ac_cv_have_decl_gtk_icon_size_lookup=no
28095 fi
28096
28097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28098 fi
28099 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28100 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28101 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28102
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28105 _ACEOF
28106
28107
28108 else
28109 cat >>confdefs.h <<_ACEOF
28110 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28111 _ACEOF
28112
28113 cat >>confdefs.h <<\_ACEOF
28114 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28115 _ACEOF
28116
28117 fi
28118
28119
28120
28121
28122 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28123 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28124 cat >conftest.$ac_ext <<_ACEOF
28125 /* confdefs.h. */
28126 _ACEOF
28127 cat confdefs.h >>conftest.$ac_ext
28128 cat >>conftest.$ac_ext <<_ACEOF
28129 /* end confdefs.h. */
28130
28131 #include <gtk/gtk.h>
28132
28133 int
28134 main ()
28135 {
28136
28137 #if !GTK_CHECK_VERSION(2,10,0)
28138 Not GTK+ 2.10
28139 #endif
28140
28141 ;
28142 return 0;
28143 }
28144 _ACEOF
28145 rm -f conftest.$ac_objext
28146 if { (ac_try="$ac_compile"
28147 case "(($ac_try" in
28148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28149 *) ac_try_echo=$ac_try;;
28150 esac
28151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28152 (eval "$ac_compile") 2>conftest.er1
28153 ac_status=$?
28154 grep -v '^ *+' conftest.er1 >conftest.err
28155 rm -f conftest.er1
28156 cat conftest.err >&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); } && {
28159 test -z "$ac_c_werror_flag" ||
28160 test ! -s conftest.err
28161 } && test -s conftest.$ac_objext; then
28162
28163 cat >>confdefs.h <<\_ACEOF
28164 #define __WXGTK210__ 1
28165 _ACEOF
28166
28167 cat >>confdefs.h <<\_ACEOF
28168 #define __WXGTK26__ 1
28169 _ACEOF
28170
28171 cat >>confdefs.h <<\_ACEOF
28172 #define __WXGTK24__ 1
28173 _ACEOF
28174
28175 { echo "$as_me:$LINENO: result: yes" >&5
28176 echo "${ECHO_T}yes" >&6; }
28177 ac_wxgtk210=1
28178
28179 else
28180 echo "$as_me: failed program was:" >&5
28181 sed 's/^/| /' conftest.$ac_ext >&5
28182
28183
28184 { echo "$as_me:$LINENO: result: no" >&5
28185 echo "${ECHO_T}no" >&6; }
28186 ac_wxgtk210=0
28187
28188 fi
28189
28190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28191
28192 if test "$ac_wxgtk210" = 0; then
28193 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28194 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28195 cat >conftest.$ac_ext <<_ACEOF
28196 /* confdefs.h. */
28197 _ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h. */
28201
28202 #include <gtk/gtk.h>
28203
28204 int
28205 main ()
28206 {
28207
28208 #if !GTK_CHECK_VERSION(2,6,0)
28209 Not GTK+ 2.6
28210 #endif
28211
28212 ;
28213 return 0;
28214 }
28215 _ACEOF
28216 rm -f conftest.$ac_objext
28217 if { (ac_try="$ac_compile"
28218 case "(($ac_try" in
28219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28220 *) ac_try_echo=$ac_try;;
28221 esac
28222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28223 (eval "$ac_compile") 2>conftest.er1
28224 ac_status=$?
28225 grep -v '^ *+' conftest.er1 >conftest.err
28226 rm -f conftest.er1
28227 cat conftest.err >&5
28228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28229 (exit $ac_status); } && {
28230 test -z "$ac_c_werror_flag" ||
28231 test ! -s conftest.err
28232 } && test -s conftest.$ac_objext; then
28233
28234 cat >>confdefs.h <<\_ACEOF
28235 #define __WXGTK26__ 1
28236 _ACEOF
28237
28238 cat >>confdefs.h <<\_ACEOF
28239 #define __WXGTK24__ 1
28240 _ACEOF
28241
28242 { echo "$as_me:$LINENO: result: yes" >&5
28243 echo "${ECHO_T}yes" >&6; }
28244 ac_wxgtk26=1
28245
28246 else
28247 echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.$ac_ext >&5
28249
28250
28251 { echo "$as_me:$LINENO: result: no" >&5
28252 echo "${ECHO_T}no" >&6; }
28253 ac_wxgtk26=0
28254
28255 fi
28256
28257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28258 fi
28259
28260 if test "$ac_wxgtk26" = 0; then
28261 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28262 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269
28270 #include <gtk/gtk.h>
28271
28272 int
28273 main ()
28274 {
28275
28276 #if !GTK_CHECK_VERSION(2,4,0)
28277 Not GTK+ 2.4
28278 #endif
28279
28280 ;
28281 return 0;
28282 }
28283 _ACEOF
28284 rm -f conftest.$ac_objext
28285 if { (ac_try="$ac_compile"
28286 case "(($ac_try" in
28287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28288 *) ac_try_echo=$ac_try;;
28289 esac
28290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28291 (eval "$ac_compile") 2>conftest.er1
28292 ac_status=$?
28293 grep -v '^ *+' conftest.er1 >conftest.err
28294 rm -f conftest.er1
28295 cat conftest.err >&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); } && {
28298 test -z "$ac_c_werror_flag" ||
28299 test ! -s conftest.err
28300 } && test -s conftest.$ac_objext; then
28301
28302 cat >>confdefs.h <<\_ACEOF
28303 #define __WXGTK24__ 1
28304 _ACEOF
28305
28306 { echo "$as_me:$LINENO: result: yes" >&5
28307 echo "${ECHO_T}yes" >&6; }
28308
28309 else
28310 echo "$as_me: failed program was:" >&5
28311 sed 's/^/| /' conftest.$ac_ext >&5
28312
28313
28314 { echo "$as_me:$LINENO: result: no" >&5
28315 echo "${ECHO_T}no" >&6; }
28316
28317 fi
28318
28319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28320 fi
28321
28322 CFLAGS="$save_CFLAGS"
28323 LIBS="$save_LIBS"
28324 else
28325 if test "$wxUSE_UNICODE" = "yes"; then
28326 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28327 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28328 wxUSE_UNICODE=no
28329 fi
28330
28331 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28332 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28333 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28334 echo $ECHO_N "(cached) $ECHO_C" >&6
28335 else
28336 ac_check_lib_save_LIBS=$LIBS
28337 LIBS="-lgdk $LIBS"
28338 cat >conftest.$ac_ext <<_ACEOF
28339 /* confdefs.h. */
28340 _ACEOF
28341 cat confdefs.h >>conftest.$ac_ext
28342 cat >>conftest.$ac_ext <<_ACEOF
28343 /* end confdefs.h. */
28344
28345 /* Override any GCC internal prototype to avoid an error.
28346 Use char because int might match the return type of a GCC
28347 builtin and then its argument prototype would still apply. */
28348 #ifdef __cplusplus
28349 extern "C"
28350 #endif
28351 char gdk_im_open ();
28352 int
28353 main ()
28354 {
28355 return gdk_im_open ();
28356 ;
28357 return 0;
28358 }
28359 _ACEOF
28360 rm -f conftest.$ac_objext conftest$ac_exeext
28361 if { (ac_try="$ac_link"
28362 case "(($ac_try" in
28363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28364 *) ac_try_echo=$ac_try;;
28365 esac
28366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28367 (eval "$ac_link") 2>conftest.er1
28368 ac_status=$?
28369 grep -v '^ *+' conftest.er1 >conftest.err
28370 rm -f conftest.er1
28371 cat conftest.err >&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } && {
28374 test -z "$ac_c_werror_flag" ||
28375 test ! -s conftest.err
28376 } && test -s conftest$ac_exeext &&
28377 $as_test_x conftest$ac_exeext; then
28378 ac_cv_lib_gdk_gdk_im_open=yes
28379 else
28380 echo "$as_me: failed program was:" >&5
28381 sed 's/^/| /' conftest.$ac_ext >&5
28382
28383 ac_cv_lib_gdk_gdk_im_open=no
28384 fi
28385
28386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28387 conftest$ac_exeext conftest.$ac_ext
28388 LIBS=$ac_check_lib_save_LIBS
28389 fi
28390 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28391 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28392 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28393 cat >>confdefs.h <<\_ACEOF
28394 #define HAVE_XIM 1
28395 _ACEOF
28396
28397 fi
28398
28399
28400 if test "$USE_DARWIN" != 1; then
28401
28402 for ac_func in poll
28403 do
28404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28405 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28407 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28408 echo $ECHO_N "(cached) $ECHO_C" >&6
28409 else
28410 cat >conftest.$ac_ext <<_ACEOF
28411 /* confdefs.h. */
28412 _ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28418 #define $ac_func innocuous_$ac_func
28419
28420 /* System header to define __stub macros and hopefully few prototypes,
28421 which can conflict with char $ac_func (); below.
28422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28423 <limits.h> exists even on freestanding compilers. */
28424
28425 #ifdef __STDC__
28426 # include <limits.h>
28427 #else
28428 # include <assert.h>
28429 #endif
28430
28431 #undef $ac_func
28432
28433 /* Override any GCC internal prototype to avoid an error.
28434 Use char because int might match the return type of a GCC
28435 builtin and then its argument prototype would still apply. */
28436 #ifdef __cplusplus
28437 extern "C"
28438 #endif
28439 char $ac_func ();
28440 /* The GNU C library defines this for functions which it implements
28441 to always fail with ENOSYS. Some functions are actually named
28442 something starting with __ and the normal name is an alias. */
28443 #if defined __stub_$ac_func || defined __stub___$ac_func
28444 choke me
28445 #endif
28446
28447 int
28448 main ()
28449 {
28450 return $ac_func ();
28451 ;
28452 return 0;
28453 }
28454 _ACEOF
28455 rm -f conftest.$ac_objext conftest$ac_exeext
28456 if { (ac_try="$ac_link"
28457 case "(($ac_try" in
28458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459 *) ac_try_echo=$ac_try;;
28460 esac
28461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462 (eval "$ac_link") 2>conftest.er1
28463 ac_status=$?
28464 grep -v '^ *+' conftest.er1 >conftest.err
28465 rm -f conftest.er1
28466 cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 (exit $ac_status); } && {
28469 test -z "$ac_c_werror_flag" ||
28470 test ! -s conftest.err
28471 } && test -s conftest$ac_exeext &&
28472 $as_test_x conftest$ac_exeext; then
28473 eval "$as_ac_var=yes"
28474 else
28475 echo "$as_me: failed program was:" >&5
28476 sed 's/^/| /' conftest.$ac_ext >&5
28477
28478 eval "$as_ac_var=no"
28479 fi
28480
28481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28482 conftest$ac_exeext conftest.$ac_ext
28483 fi
28484 ac_res=`eval echo '${'$as_ac_var'}'`
28485 { echo "$as_me:$LINENO: result: $ac_res" >&5
28486 echo "${ECHO_T}$ac_res" >&6; }
28487 if test `eval echo '${'$as_ac_var'}'` = yes; then
28488 cat >>confdefs.h <<_ACEOF
28489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28490 _ACEOF
28491
28492 fi
28493 done
28494
28495 fi
28496 fi
28497
28498 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28499 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28500
28501 AFMINSTALL=afminstall
28502 TOOLKIT=GTK
28503 GUIDIST=GTK_DIST
28504
28505 if test "$wxUSE_GPE" = "yes"; then
28506 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28507 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28508
28509 ac_find_libraries=
28510 for ac_dir in $SEARCH_LIB;
28511 do
28512 for ac_extension in a so sl dylib dll.a; do
28513 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28514 ac_find_libraries=$ac_dir
28515 break 2
28516 fi
28517 done
28518 done
28519
28520 if test "$ac_find_libraries" != "" ; then
28521
28522 if test "$ac_find_libraries" = "default location"; then
28523 ac_path_to_link=""
28524 else
28525 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28526 result=$?
28527 if test $result = 0; then
28528 ac_path_to_link=""
28529 else
28530 ac_path_to_link=" -L$ac_find_libraries"
28531 fi
28532 fi
28533
28534 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28535 WXGPE=1
28536 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28537 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28538 else
28539 { echo "$as_me:$LINENO: result: not found" >&5
28540 echo "${ECHO_T}not found" >&6; }
28541 fi
28542
28543 fi
28544 fi
28545
28546 if test "$wxUSE_MGL" = 1; then
28547 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28548 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28549 if test "x$MGL_ROOT" = x ; then
28550 { echo "$as_me:$LINENO: result: not found" >&5
28551 echo "${ECHO_T}not found" >&6; }
28552 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28553 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28554 { (exit 1); exit 1; }; }
28555 else
28556 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28557 echo "${ECHO_T}$MGL_ROOT" >&6; }
28558 fi
28559
28560 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28561 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28562 case "${host}" in
28563 *-*-linux* )
28564 if test "x$wxUSE_SHARED" = xyes ; then
28565 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28566 else
28567 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28568 fi
28569 ;;
28570 *-pc-msdosdjgpp )
28571 mgl_os_candidates="dos32/dj2"
28572 ;;
28573 *)
28574 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28575 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28576 { (exit 1); exit 1; }; }
28577 esac
28578
28579 mgl_lib_type=""
28580 mgl_os=""
28581
28582 for mgl_os_i in $mgl_os_candidates ; do
28583 if test "x$mgl_os" = x ; then
28584 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28585 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28586 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28587 mgl_lib_type=debug
28588 mgl_os=$mgl_os_i
28589 fi
28590 fi
28591 if test "x$mgl_lib_type" = x ; then
28592 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28593 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28594 mgl_lib_type=release
28595 mgl_os=$mgl_os_i
28596 fi
28597 fi
28598 fi
28599 done
28600
28601 if test "x$mgl_os" = x ; then
28602 { echo "$as_me:$LINENO: result: not found" >&5
28603 echo "${ECHO_T}not found" >&6; }
28604 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28605 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28606 { (exit 1); exit 1; }; }
28607 fi
28608 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28609 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28610
28611 wxUSE_UNIVERSAL="yes"
28612
28613 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28614 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28615
28616 AFMINSTALL=afminstall
28617 TOOLKIT=MGL
28618 GUIDIST=MGL_DIST
28619 fi
28620
28621 if test "$wxUSE_DFB" = 1; then
28622
28623
28624 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28625 if test -n "$ac_tool_prefix"; then
28626 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28627 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28630 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28631 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 else
28633 case $PKG_CONFIG in
28634 [\\/]* | ?:[\\/]*)
28635 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28636 ;;
28637 *)
28638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28639 for as_dir in $PATH
28640 do
28641 IFS=$as_save_IFS
28642 test -z "$as_dir" && as_dir=.
28643 for ac_exec_ext in '' $ac_executable_extensions; do
28644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28645 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28647 break 2
28648 fi
28649 done
28650 done
28651 IFS=$as_save_IFS
28652
28653 ;;
28654 esac
28655 fi
28656 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28657 if test -n "$PKG_CONFIG"; then
28658 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28659 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28660 else
28661 { echo "$as_me:$LINENO: result: no" >&5
28662 echo "${ECHO_T}no" >&6; }
28663 fi
28664
28665
28666 fi
28667 if test -z "$ac_cv_path_PKG_CONFIG"; then
28668 ac_pt_PKG_CONFIG=$PKG_CONFIG
28669 # Extract the first word of "pkg-config", so it can be a program name with args.
28670 set dummy pkg-config; ac_word=$2
28671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28673 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28674 echo $ECHO_N "(cached) $ECHO_C" >&6
28675 else
28676 case $ac_pt_PKG_CONFIG in
28677 [\\/]* | ?:[\\/]*)
28678 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28679 ;;
28680 *)
28681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28682 for as_dir in $PATH
28683 do
28684 IFS=$as_save_IFS
28685 test -z "$as_dir" && as_dir=.
28686 for ac_exec_ext in '' $ac_executable_extensions; do
28687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28688 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28690 break 2
28691 fi
28692 done
28693 done
28694 IFS=$as_save_IFS
28695
28696 ;;
28697 esac
28698 fi
28699 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28700 if test -n "$ac_pt_PKG_CONFIG"; then
28701 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28702 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28703 else
28704 { echo "$as_me:$LINENO: result: no" >&5
28705 echo "${ECHO_T}no" >&6; }
28706 fi
28707
28708 if test "x$ac_pt_PKG_CONFIG" = x; then
28709 PKG_CONFIG=""
28710 else
28711 case $cross_compiling:$ac_tool_warned in
28712 yes:)
28713 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28714 whose name does not start with the host triplet. If you think this
28715 configuration is useful to you, please write to autoconf@gnu.org." >&5
28716 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28717 whose name does not start with the host triplet. If you think this
28718 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28719 ac_tool_warned=yes ;;
28720 esac
28721 PKG_CONFIG=$ac_pt_PKG_CONFIG
28722 fi
28723 else
28724 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28725 fi
28726
28727 fi
28728 if test -n "$PKG_CONFIG"; then
28729 _pkg_min_version=0.9.0
28730 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28731 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28732 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28733 { echo "$as_me:$LINENO: result: yes" >&5
28734 echo "${ECHO_T}yes" >&6; }
28735 else
28736 { echo "$as_me:$LINENO: result: no" >&5
28737 echo "${ECHO_T}no" >&6; }
28738 PKG_CONFIG=""
28739 fi
28740
28741 fi
28742
28743
28744 pkg_failed=no
28745 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28746 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28747
28748 if test -n "$PKG_CONFIG"; then
28749 if test -n "$DIRECTFB_CFLAGS"; then
28750 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28751 else
28752 if test -n "$PKG_CONFIG" && \
28753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28754 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28755 ac_status=$?
28756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 (exit $ac_status); }; then
28758 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28759 else
28760 pkg_failed=yes
28761 fi
28762 fi
28763 else
28764 pkg_failed=untried
28765 fi
28766 if test -n "$PKG_CONFIG"; then
28767 if test -n "$DIRECTFB_LIBS"; then
28768 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28769 else
28770 if test -n "$PKG_CONFIG" && \
28771 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28772 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28773 ac_status=$?
28774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28775 (exit $ac_status); }; then
28776 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28777 else
28778 pkg_failed=yes
28779 fi
28780 fi
28781 else
28782 pkg_failed=untried
28783 fi
28784
28785
28786
28787 if test $pkg_failed = yes; then
28788
28789 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28790 _pkg_short_errors_supported=yes
28791 else
28792 _pkg_short_errors_supported=no
28793 fi
28794 if test $_pkg_short_errors_supported = yes; then
28795 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28796 else
28797 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28798 fi
28799 # Put the nasty error message in config.log where it belongs
28800 echo "$DIRECTFB_PKG_ERRORS" >&5
28801
28802
28803 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28804 echo "$as_me: error: DirectFB not found." >&2;}
28805 { (exit 1); exit 1; }; }
28806
28807
28808 elif test $pkg_failed = untried; then
28809
28810 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28811 echo "$as_me: error: DirectFB not found." >&2;}
28812 { (exit 1); exit 1; }; }
28813
28814
28815 else
28816 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28817 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28818 { echo "$as_me:$LINENO: result: yes" >&5
28819 echo "${ECHO_T}yes" >&6; }
28820
28821 wxUSE_UNIVERSAL="yes"
28822 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28823 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28824 TOOLKIT=DFB
28825 GUIDIST=DFB_DIST
28826
28827 fi
28828 fi
28829
28830 if test "$wxUSE_MICROWIN" = 1; then
28831 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28832 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28833 if test "x$MICROWINDOWS" = x ; then
28834 { echo "$as_me:$LINENO: result: not found" >&5
28835 echo "${ECHO_T}not found" >&6; }
28836 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28837 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28838 { (exit 1); exit 1; }; }
28839 else
28840 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28841 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28842 fi
28843
28844 if test -f $MICROWINDOWS/lib/libmwin.a; then
28845 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28846 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28847 else
28848 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28849 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28850 { (exit 1); exit 1; }; }
28851 fi
28852
28853 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28854 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28855
28856 wxUSE_UNIVERSAL="yes"
28857
28858 AFMINSTALL=afminstall
28859 TOOLKIT=MICROWIN
28860 GUIDIST=MICROWIN_DIST
28861
28862 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28863 fi
28864
28865 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28866 { echo "$as_me:$LINENO: checking for X" >&5
28867 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28868
28869
28870 # Check whether --with-x was given.
28871 if test "${with_x+set}" = set; then
28872 withval=$with_x;
28873 fi
28874
28875 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28876 if test "x$with_x" = xno; then
28877 # The user explicitly disabled X.
28878 have_x=disabled
28879 else
28880 case $x_includes,$x_libraries in #(
28881 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28882 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28883 { (exit 1); exit 1; }; };; #(
28884 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28886 else
28887 # One or both of the vars are not set, and there is no cached value.
28888 ac_x_includes=no ac_x_libraries=no
28889 rm -f -r conftest.dir
28890 if mkdir conftest.dir; then
28891 cd conftest.dir
28892 cat >Imakefile <<'_ACEOF'
28893 incroot:
28894 @echo incroot='${INCROOT}'
28895 usrlibdir:
28896 @echo usrlibdir='${USRLIBDIR}'
28897 libdir:
28898 @echo libdir='${LIBDIR}'
28899 _ACEOF
28900 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28901 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28902 for ac_var in incroot usrlibdir libdir; do
28903 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28904 done
28905 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28906 for ac_extension in a so sl; do
28907 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28908 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28909 ac_im_usrlibdir=$ac_im_libdir; break
28910 fi
28911 done
28912 # Screen out bogus values from the imake configuration. They are
28913 # bogus both because they are the default anyway, and because
28914 # using them would break gcc on systems where it needs fixed includes.
28915 case $ac_im_incroot in
28916 /usr/include) ac_x_includes= ;;
28917 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28918 esac
28919 case $ac_im_usrlibdir in
28920 /usr/lib | /lib) ;;
28921 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28922 esac
28923 fi
28924 cd ..
28925 rm -f -r conftest.dir
28926 fi
28927
28928 # Standard set of common directories for X headers.
28929 # Check X11 before X11Rn because it is often a symlink to the current release.
28930 ac_x_header_dirs='
28931 /usr/X11/include
28932 /usr/X11R6/include
28933 /usr/X11R5/include
28934 /usr/X11R4/include
28935
28936 /usr/include/X11
28937 /usr/include/X11R6
28938 /usr/include/X11R5
28939 /usr/include/X11R4
28940
28941 /usr/local/X11/include
28942 /usr/local/X11R6/include
28943 /usr/local/X11R5/include
28944 /usr/local/X11R4/include
28945
28946 /usr/local/include/X11
28947 /usr/local/include/X11R6
28948 /usr/local/include/X11R5
28949 /usr/local/include/X11R4
28950
28951 /usr/X386/include
28952 /usr/x386/include
28953 /usr/XFree86/include/X11
28954
28955 /usr/include
28956 /usr/local/include
28957 /usr/unsupported/include
28958 /usr/athena/include
28959 /usr/local/x11r5/include
28960 /usr/lpp/Xamples/include
28961
28962 /usr/openwin/include
28963 /usr/openwin/share/include'
28964
28965 if test "$ac_x_includes" = no; then
28966 # Guess where to find include files, by looking for Xlib.h.
28967 # First, try using that file with no special directory specified.
28968 cat >conftest.$ac_ext <<_ACEOF
28969 /* confdefs.h. */
28970 _ACEOF
28971 cat confdefs.h >>conftest.$ac_ext
28972 cat >>conftest.$ac_ext <<_ACEOF
28973 /* end confdefs.h. */
28974 #include <X11/Xlib.h>
28975 _ACEOF
28976 if { (ac_try="$ac_cpp conftest.$ac_ext"
28977 case "(($ac_try" in
28978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28979 *) ac_try_echo=$ac_try;;
28980 esac
28981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28983 ac_status=$?
28984 grep -v '^ *+' conftest.er1 >conftest.err
28985 rm -f conftest.er1
28986 cat conftest.err >&5
28987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988 (exit $ac_status); } >/dev/null && {
28989 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28990 test ! -s conftest.err
28991 }; then
28992 # We can compile using X headers with no special include directory.
28993 ac_x_includes=
28994 else
28995 echo "$as_me: failed program was:" >&5
28996 sed 's/^/| /' conftest.$ac_ext >&5
28997
28998 for ac_dir in $ac_x_header_dirs; do
28999 if test -r "$ac_dir/X11/Xlib.h"; then
29000 ac_x_includes=$ac_dir
29001 break
29002 fi
29003 done
29004 fi
29005
29006 rm -f conftest.err conftest.$ac_ext
29007 fi # $ac_x_includes = no
29008
29009 if test "$ac_x_libraries" = no; then
29010 # Check for the libraries.
29011 # See if we find them without any special options.
29012 # Don't add to $LIBS permanently.
29013 ac_save_LIBS=$LIBS
29014 LIBS="-lX11 $LIBS"
29015 cat >conftest.$ac_ext <<_ACEOF
29016 /* confdefs.h. */
29017 _ACEOF
29018 cat confdefs.h >>conftest.$ac_ext
29019 cat >>conftest.$ac_ext <<_ACEOF
29020 /* end confdefs.h. */
29021 #include <X11/Xlib.h>
29022 int
29023 main ()
29024 {
29025 XrmInitialize ()
29026 ;
29027 return 0;
29028 }
29029 _ACEOF
29030 rm -f conftest.$ac_objext conftest$ac_exeext
29031 if { (ac_try="$ac_link"
29032 case "(($ac_try" in
29033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29034 *) ac_try_echo=$ac_try;;
29035 esac
29036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29037 (eval "$ac_link") 2>conftest.er1
29038 ac_status=$?
29039 grep -v '^ *+' conftest.er1 >conftest.err
29040 rm -f conftest.er1
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } && {
29044 test -z "$ac_c_werror_flag" ||
29045 test ! -s conftest.err
29046 } && test -s conftest$ac_exeext &&
29047 $as_test_x conftest$ac_exeext; then
29048 LIBS=$ac_save_LIBS
29049 # We can link X programs with no special library path.
29050 ac_x_libraries=
29051 else
29052 echo "$as_me: failed program was:" >&5
29053 sed 's/^/| /' conftest.$ac_ext >&5
29054
29055 LIBS=$ac_save_LIBS
29056 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29057 do
29058 # Don't even attempt the hair of trying to link an X program!
29059 for ac_extension in a so sl; do
29060 if test -r "$ac_dir/libX11.$ac_extension"; then
29061 ac_x_libraries=$ac_dir
29062 break 2
29063 fi
29064 done
29065 done
29066 fi
29067
29068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29069 conftest$ac_exeext conftest.$ac_ext
29070 fi # $ac_x_libraries = no
29071
29072 case $ac_x_includes,$ac_x_libraries in #(
29073 no,* | *,no | *\'*)
29074 # Didn't find X, or a directory has "'" in its name.
29075 ac_cv_have_x="have_x=no";; #(
29076 *)
29077 # Record where we found X for the cache.
29078 ac_cv_have_x="have_x=yes\
29079 ac_x_includes='$ac_x_includes'\
29080 ac_x_libraries='$ac_x_libraries'"
29081 esac
29082 fi
29083 ;; #(
29084 *) have_x=yes;;
29085 esac
29086 eval "$ac_cv_have_x"
29087 fi # $with_x != no
29088
29089 if test "$have_x" != yes; then
29090 { echo "$as_me:$LINENO: result: $have_x" >&5
29091 echo "${ECHO_T}$have_x" >&6; }
29092 no_x=yes
29093 else
29094 # If each of the values was on the command line, it overrides each guess.
29095 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29096 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29097 # Update the cache value to reflect the command line values.
29098 ac_cv_have_x="have_x=yes\
29099 ac_x_includes='$x_includes'\
29100 ac_x_libraries='$x_libraries'"
29101 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29102 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29103 fi
29104
29105 if test "$no_x" = yes; then
29106 # Not all programs may use this symbol, but it does not hurt to define it.
29107
29108 cat >>confdefs.h <<\_ACEOF
29109 #define X_DISPLAY_MISSING 1
29110 _ACEOF
29111
29112 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29113 else
29114 if test -n "$x_includes"; then
29115 X_CFLAGS="$X_CFLAGS -I$x_includes"
29116 fi
29117
29118 # It would also be nice to do this for all -L options, not just this one.
29119 if test -n "$x_libraries"; then
29120 X_LIBS="$X_LIBS -L$x_libraries"
29121 # For Solaris; some versions of Sun CC require a space after -R and
29122 # others require no space. Words are not sufficient . . . .
29123 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29124 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29125 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29126 ac_xsave_c_werror_flag=$ac_c_werror_flag
29127 ac_c_werror_flag=yes
29128 cat >conftest.$ac_ext <<_ACEOF
29129 /* confdefs.h. */
29130 _ACEOF
29131 cat confdefs.h >>conftest.$ac_ext
29132 cat >>conftest.$ac_ext <<_ACEOF
29133 /* end confdefs.h. */
29134
29135 int
29136 main ()
29137 {
29138
29139 ;
29140 return 0;
29141 }
29142 _ACEOF
29143 rm -f conftest.$ac_objext conftest$ac_exeext
29144 if { (ac_try="$ac_link"
29145 case "(($ac_try" in
29146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29147 *) ac_try_echo=$ac_try;;
29148 esac
29149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29150 (eval "$ac_link") 2>conftest.er1
29151 ac_status=$?
29152 grep -v '^ *+' conftest.er1 >conftest.err
29153 rm -f conftest.er1
29154 cat conftest.err >&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); } && {
29157 test -z "$ac_c_werror_flag" ||
29158 test ! -s conftest.err
29159 } && test -s conftest$ac_exeext &&
29160 $as_test_x conftest$ac_exeext; then
29161 { echo "$as_me:$LINENO: result: no" >&5
29162 echo "${ECHO_T}no" >&6; }
29163 X_LIBS="$X_LIBS -R$x_libraries"
29164 else
29165 echo "$as_me: failed program was:" >&5
29166 sed 's/^/| /' conftest.$ac_ext >&5
29167
29168 LIBS="$ac_xsave_LIBS -R $x_libraries"
29169 cat >conftest.$ac_ext <<_ACEOF
29170 /* confdefs.h. */
29171 _ACEOF
29172 cat confdefs.h >>conftest.$ac_ext
29173 cat >>conftest.$ac_ext <<_ACEOF
29174 /* end confdefs.h. */
29175
29176 int
29177 main ()
29178 {
29179
29180 ;
29181 return 0;
29182 }
29183 _ACEOF
29184 rm -f conftest.$ac_objext conftest$ac_exeext
29185 if { (ac_try="$ac_link"
29186 case "(($ac_try" in
29187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29188 *) ac_try_echo=$ac_try;;
29189 esac
29190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29191 (eval "$ac_link") 2>conftest.er1
29192 ac_status=$?
29193 grep -v '^ *+' conftest.er1 >conftest.err
29194 rm -f conftest.er1
29195 cat conftest.err >&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } && {
29198 test -z "$ac_c_werror_flag" ||
29199 test ! -s conftest.err
29200 } && test -s conftest$ac_exeext &&
29201 $as_test_x conftest$ac_exeext; then
29202 { echo "$as_me:$LINENO: result: yes" >&5
29203 echo "${ECHO_T}yes" >&6; }
29204 X_LIBS="$X_LIBS -R $x_libraries"
29205 else
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29208
29209 { echo "$as_me:$LINENO: result: neither works" >&5
29210 echo "${ECHO_T}neither works" >&6; }
29211 fi
29212
29213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29214 conftest$ac_exeext conftest.$ac_ext
29215 fi
29216
29217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29218 conftest$ac_exeext conftest.$ac_ext
29219 ac_c_werror_flag=$ac_xsave_c_werror_flag
29220 LIBS=$ac_xsave_LIBS
29221 fi
29222
29223 # Check for system-dependent libraries X programs must link with.
29224 # Do this before checking for the system-independent R6 libraries
29225 # (-lICE), since we may need -lsocket or whatever for X linking.
29226
29227 if test "$ISC" = yes; then
29228 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29229 else
29230 # Martyn Johnson says this is needed for Ultrix, if the X
29231 # libraries were built with DECnet support. And Karl Berry says
29232 # the Alpha needs dnet_stub (dnet does not exist).
29233 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29234 cat >conftest.$ac_ext <<_ACEOF
29235 /* confdefs.h. */
29236 _ACEOF
29237 cat confdefs.h >>conftest.$ac_ext
29238 cat >>conftest.$ac_ext <<_ACEOF
29239 /* end confdefs.h. */
29240
29241 /* Override any GCC internal prototype to avoid an error.
29242 Use char because int might match the return type of a GCC
29243 builtin and then its argument prototype would still apply. */
29244 #ifdef __cplusplus
29245 extern "C"
29246 #endif
29247 char XOpenDisplay ();
29248 int
29249 main ()
29250 {
29251 return XOpenDisplay ();
29252 ;
29253 return 0;
29254 }
29255 _ACEOF
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (ac_try="$ac_link"
29258 case "(($ac_try" in
29259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29260 *) ac_try_echo=$ac_try;;
29261 esac
29262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29263 (eval "$ac_link") 2>conftest.er1
29264 ac_status=$?
29265 grep -v '^ *+' conftest.er1 >conftest.err
29266 rm -f conftest.er1
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } && {
29270 test -z "$ac_c_werror_flag" ||
29271 test ! -s conftest.err
29272 } && test -s conftest$ac_exeext &&
29273 $as_test_x conftest$ac_exeext; then
29274 :
29275 else
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.$ac_ext >&5
29278
29279 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29280 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29281 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29283 else
29284 ac_check_lib_save_LIBS=$LIBS
29285 LIBS="-ldnet $LIBS"
29286 cat >conftest.$ac_ext <<_ACEOF
29287 /* confdefs.h. */
29288 _ACEOF
29289 cat confdefs.h >>conftest.$ac_ext
29290 cat >>conftest.$ac_ext <<_ACEOF
29291 /* end confdefs.h. */
29292
29293 /* Override any GCC internal prototype to avoid an error.
29294 Use char because int might match the return type of a GCC
29295 builtin and then its argument prototype would still apply. */
29296 #ifdef __cplusplus
29297 extern "C"
29298 #endif
29299 char dnet_ntoa ();
29300 int
29301 main ()
29302 {
29303 return dnet_ntoa ();
29304 ;
29305 return 0;
29306 }
29307 _ACEOF
29308 rm -f conftest.$ac_objext conftest$ac_exeext
29309 if { (ac_try="$ac_link"
29310 case "(($ac_try" in
29311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29312 *) ac_try_echo=$ac_try;;
29313 esac
29314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29315 (eval "$ac_link") 2>conftest.er1
29316 ac_status=$?
29317 grep -v '^ *+' conftest.er1 >conftest.err
29318 rm -f conftest.er1
29319 cat conftest.err >&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } && {
29322 test -z "$ac_c_werror_flag" ||
29323 test ! -s conftest.err
29324 } && test -s conftest$ac_exeext &&
29325 $as_test_x conftest$ac_exeext; then
29326 ac_cv_lib_dnet_dnet_ntoa=yes
29327 else
29328 echo "$as_me: failed program was:" >&5
29329 sed 's/^/| /' conftest.$ac_ext >&5
29330
29331 ac_cv_lib_dnet_dnet_ntoa=no
29332 fi
29333
29334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29335 conftest$ac_exeext conftest.$ac_ext
29336 LIBS=$ac_check_lib_save_LIBS
29337 fi
29338 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29339 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29340 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29341 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29342 fi
29343
29344 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29345 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29346 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29347 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29348 echo $ECHO_N "(cached) $ECHO_C" >&6
29349 else
29350 ac_check_lib_save_LIBS=$LIBS
29351 LIBS="-ldnet_stub $LIBS"
29352 cat >conftest.$ac_ext <<_ACEOF
29353 /* confdefs.h. */
29354 _ACEOF
29355 cat confdefs.h >>conftest.$ac_ext
29356 cat >>conftest.$ac_ext <<_ACEOF
29357 /* end confdefs.h. */
29358
29359 /* Override any GCC internal prototype to avoid an error.
29360 Use char because int might match the return type of a GCC
29361 builtin and then its argument prototype would still apply. */
29362 #ifdef __cplusplus
29363 extern "C"
29364 #endif
29365 char dnet_ntoa ();
29366 int
29367 main ()
29368 {
29369 return dnet_ntoa ();
29370 ;
29371 return 0;
29372 }
29373 _ACEOF
29374 rm -f conftest.$ac_objext conftest$ac_exeext
29375 if { (ac_try="$ac_link"
29376 case "(($ac_try" in
29377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29378 *) ac_try_echo=$ac_try;;
29379 esac
29380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29381 (eval "$ac_link") 2>conftest.er1
29382 ac_status=$?
29383 grep -v '^ *+' conftest.er1 >conftest.err
29384 rm -f conftest.er1
29385 cat conftest.err >&5
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); } && {
29388 test -z "$ac_c_werror_flag" ||
29389 test ! -s conftest.err
29390 } && test -s conftest$ac_exeext &&
29391 $as_test_x conftest$ac_exeext; then
29392 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29393 else
29394 echo "$as_me: failed program was:" >&5
29395 sed 's/^/| /' conftest.$ac_ext >&5
29396
29397 ac_cv_lib_dnet_stub_dnet_ntoa=no
29398 fi
29399
29400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29401 conftest$ac_exeext conftest.$ac_ext
29402 LIBS=$ac_check_lib_save_LIBS
29403 fi
29404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29405 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29406 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29407 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29408 fi
29409
29410 fi
29411 fi
29412
29413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29414 conftest$ac_exeext conftest.$ac_ext
29415 LIBS="$ac_xsave_LIBS"
29416
29417 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29418 # to get the SysV transport functions.
29419 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29420 # needs -lnsl.
29421 # The nsl library prevents programs from opening the X display
29422 # on Irix 5.2, according to T.E. Dickey.
29423 # The functions gethostbyname, getservbyname, and inet_addr are
29424 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29425 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29426 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29427 if test "${ac_cv_func_gethostbyname+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 else
29430 cat >conftest.$ac_ext <<_ACEOF
29431 /* confdefs.h. */
29432 _ACEOF
29433 cat confdefs.h >>conftest.$ac_ext
29434 cat >>conftest.$ac_ext <<_ACEOF
29435 /* end confdefs.h. */
29436 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29438 #define gethostbyname innocuous_gethostbyname
29439
29440 /* System header to define __stub macros and hopefully few prototypes,
29441 which can conflict with char gethostbyname (); below.
29442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29443 <limits.h> exists even on freestanding compilers. */
29444
29445 #ifdef __STDC__
29446 # include <limits.h>
29447 #else
29448 # include <assert.h>
29449 #endif
29450
29451 #undef gethostbyname
29452
29453 /* Override any GCC internal prototype to avoid an error.
29454 Use char because int might match the return type of a GCC
29455 builtin and then its argument prototype would still apply. */
29456 #ifdef __cplusplus
29457 extern "C"
29458 #endif
29459 char gethostbyname ();
29460 /* The GNU C library defines this for functions which it implements
29461 to always fail with ENOSYS. Some functions are actually named
29462 something starting with __ and the normal name is an alias. */
29463 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29464 choke me
29465 #endif
29466
29467 int
29468 main ()
29469 {
29470 return gethostbyname ();
29471 ;
29472 return 0;
29473 }
29474 _ACEOF
29475 rm -f conftest.$ac_objext conftest$ac_exeext
29476 if { (ac_try="$ac_link"
29477 case "(($ac_try" in
29478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29479 *) ac_try_echo=$ac_try;;
29480 esac
29481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29482 (eval "$ac_link") 2>conftest.er1
29483 ac_status=$?
29484 grep -v '^ *+' conftest.er1 >conftest.err
29485 rm -f conftest.er1
29486 cat conftest.err >&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); } && {
29489 test -z "$ac_c_werror_flag" ||
29490 test ! -s conftest.err
29491 } && test -s conftest$ac_exeext &&
29492 $as_test_x conftest$ac_exeext; then
29493 ac_cv_func_gethostbyname=yes
29494 else
29495 echo "$as_me: failed program was:" >&5
29496 sed 's/^/| /' conftest.$ac_ext >&5
29497
29498 ac_cv_func_gethostbyname=no
29499 fi
29500
29501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29502 conftest$ac_exeext conftest.$ac_ext
29503 fi
29504 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29505 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29506
29507 if test $ac_cv_func_gethostbyname = no; then
29508 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29509 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29510 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29511 echo $ECHO_N "(cached) $ECHO_C" >&6
29512 else
29513 ac_check_lib_save_LIBS=$LIBS
29514 LIBS="-lnsl $LIBS"
29515 cat >conftest.$ac_ext <<_ACEOF
29516 /* confdefs.h. */
29517 _ACEOF
29518 cat confdefs.h >>conftest.$ac_ext
29519 cat >>conftest.$ac_ext <<_ACEOF
29520 /* end confdefs.h. */
29521
29522 /* Override any GCC internal prototype to avoid an error.
29523 Use char because int might match the return type of a GCC
29524 builtin and then its argument prototype would still apply. */
29525 #ifdef __cplusplus
29526 extern "C"
29527 #endif
29528 char gethostbyname ();
29529 int
29530 main ()
29531 {
29532 return gethostbyname ();
29533 ;
29534 return 0;
29535 }
29536 _ACEOF
29537 rm -f conftest.$ac_objext conftest$ac_exeext
29538 if { (ac_try="$ac_link"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29542 esac
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_link") 2>conftest.er1
29545 ac_status=$?
29546 grep -v '^ *+' conftest.er1 >conftest.err
29547 rm -f conftest.er1
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest$ac_exeext &&
29554 $as_test_x conftest$ac_exeext; then
29555 ac_cv_lib_nsl_gethostbyname=yes
29556 else
29557 echo "$as_me: failed program was:" >&5
29558 sed 's/^/| /' conftest.$ac_ext >&5
29559
29560 ac_cv_lib_nsl_gethostbyname=no
29561 fi
29562
29563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29564 conftest$ac_exeext conftest.$ac_ext
29565 LIBS=$ac_check_lib_save_LIBS
29566 fi
29567 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29568 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29569 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29570 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29571 fi
29572
29573 if test $ac_cv_lib_nsl_gethostbyname = no; then
29574 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29575 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29576 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29577 echo $ECHO_N "(cached) $ECHO_C" >&6
29578 else
29579 ac_check_lib_save_LIBS=$LIBS
29580 LIBS="-lbsd $LIBS"
29581 cat >conftest.$ac_ext <<_ACEOF
29582 /* confdefs.h. */
29583 _ACEOF
29584 cat confdefs.h >>conftest.$ac_ext
29585 cat >>conftest.$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
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 gethostbyname ();
29595 int
29596 main ()
29597 {
29598 return gethostbyname ();
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext conftest$ac_exeext
29604 if { (ac_try="$ac_link"
29605 case "(($ac_try" in
29606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29607 *) ac_try_echo=$ac_try;;
29608 esac
29609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29610 (eval "$ac_link") 2>conftest.er1
29611 ac_status=$?
29612 grep -v '^ *+' conftest.er1 >conftest.err
29613 rm -f conftest.er1
29614 cat conftest.err >&5
29615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29616 (exit $ac_status); } && {
29617 test -z "$ac_c_werror_flag" ||
29618 test ! -s conftest.err
29619 } && test -s conftest$ac_exeext &&
29620 $as_test_x conftest$ac_exeext; then
29621 ac_cv_lib_bsd_gethostbyname=yes
29622 else
29623 echo "$as_me: failed program was:" >&5
29624 sed 's/^/| /' conftest.$ac_ext >&5
29625
29626 ac_cv_lib_bsd_gethostbyname=no
29627 fi
29628
29629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29630 conftest$ac_exeext conftest.$ac_ext
29631 LIBS=$ac_check_lib_save_LIBS
29632 fi
29633 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29634 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29635 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29636 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29637 fi
29638
29639 fi
29640 fi
29641
29642 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29643 # socket/setsockopt and other routines are undefined under SCO ODT
29644 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29645 # on later versions), says Simon Leinen: it contains gethostby*
29646 # variants that don't use the name server (or something). -lsocket
29647 # must be given before -lnsl if both are needed. We assume that
29648 # if connect needs -lnsl, so does gethostbyname.
29649 { echo "$as_me:$LINENO: checking for connect" >&5
29650 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29651 if test "${ac_cv_func_connect+set}" = set; then
29652 echo $ECHO_N "(cached) $ECHO_C" >&6
29653 else
29654 cat >conftest.$ac_ext <<_ACEOF
29655 /* confdefs.h. */
29656 _ACEOF
29657 cat confdefs.h >>conftest.$ac_ext
29658 cat >>conftest.$ac_ext <<_ACEOF
29659 /* end confdefs.h. */
29660 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29662 #define connect innocuous_connect
29663
29664 /* System header to define __stub macros and hopefully few prototypes,
29665 which can conflict with char connect (); below.
29666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29667 <limits.h> exists even on freestanding compilers. */
29668
29669 #ifdef __STDC__
29670 # include <limits.h>
29671 #else
29672 # include <assert.h>
29673 #endif
29674
29675 #undef connect
29676
29677 /* Override any GCC internal prototype to avoid an error.
29678 Use char because int might match the return type of a GCC
29679 builtin and then its argument prototype would still apply. */
29680 #ifdef __cplusplus
29681 extern "C"
29682 #endif
29683 char connect ();
29684 /* The GNU C library defines this for functions which it implements
29685 to always fail with ENOSYS. Some functions are actually named
29686 something starting with __ and the normal name is an alias. */
29687 #if defined __stub_connect || defined __stub___connect
29688 choke me
29689 #endif
29690
29691 int
29692 main ()
29693 {
29694 return connect ();
29695 ;
29696 return 0;
29697 }
29698 _ACEOF
29699 rm -f conftest.$ac_objext conftest$ac_exeext
29700 if { (ac_try="$ac_link"
29701 case "(($ac_try" in
29702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29703 *) ac_try_echo=$ac_try;;
29704 esac
29705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29706 (eval "$ac_link") 2>conftest.er1
29707 ac_status=$?
29708 grep -v '^ *+' conftest.er1 >conftest.err
29709 rm -f conftest.er1
29710 cat conftest.err >&5
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); } && {
29713 test -z "$ac_c_werror_flag" ||
29714 test ! -s conftest.err
29715 } && test -s conftest$ac_exeext &&
29716 $as_test_x conftest$ac_exeext; then
29717 ac_cv_func_connect=yes
29718 else
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.$ac_ext >&5
29721
29722 ac_cv_func_connect=no
29723 fi
29724
29725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29726 conftest$ac_exeext conftest.$ac_ext
29727 fi
29728 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29729 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29730
29731 if test $ac_cv_func_connect = no; then
29732 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29733 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29734 if test "${ac_cv_lib_socket_connect+set}" = set; then
29735 echo $ECHO_N "(cached) $ECHO_C" >&6
29736 else
29737 ac_check_lib_save_LIBS=$LIBS
29738 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29739 cat >conftest.$ac_ext <<_ACEOF
29740 /* confdefs.h. */
29741 _ACEOF
29742 cat confdefs.h >>conftest.$ac_ext
29743 cat >>conftest.$ac_ext <<_ACEOF
29744 /* end confdefs.h. */
29745
29746 /* Override any GCC internal prototype to avoid an error.
29747 Use char because int might match the return type of a GCC
29748 builtin and then its argument prototype would still apply. */
29749 #ifdef __cplusplus
29750 extern "C"
29751 #endif
29752 char connect ();
29753 int
29754 main ()
29755 {
29756 return connect ();
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_lib_socket_connect=yes
29780 else
29781 echo "$as_me: failed program was:" >&5
29782 sed 's/^/| /' conftest.$ac_ext >&5
29783
29784 ac_cv_lib_socket_connect=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 LIBS=$ac_check_lib_save_LIBS
29790 fi
29791 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29792 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29793 if test $ac_cv_lib_socket_connect = yes; then
29794 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29795 fi
29796
29797 fi
29798
29799 # Guillermo Gomez says -lposix is necessary on A/UX.
29800 { echo "$as_me:$LINENO: checking for remove" >&5
29801 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29802 if test "${ac_cv_func_remove+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 else
29805 cat >conftest.$ac_ext <<_ACEOF
29806 /* confdefs.h. */
29807 _ACEOF
29808 cat confdefs.h >>conftest.$ac_ext
29809 cat >>conftest.$ac_ext <<_ACEOF
29810 /* end confdefs.h. */
29811 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29813 #define remove innocuous_remove
29814
29815 /* System header to define __stub macros and hopefully few prototypes,
29816 which can conflict with char remove (); below.
29817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29818 <limits.h> exists even on freestanding compilers. */
29819
29820 #ifdef __STDC__
29821 # include <limits.h>
29822 #else
29823 # include <assert.h>
29824 #endif
29825
29826 #undef remove
29827
29828 /* Override any GCC internal prototype to avoid an error.
29829 Use char because int might match the return type of a GCC
29830 builtin and then its argument prototype would still apply. */
29831 #ifdef __cplusplus
29832 extern "C"
29833 #endif
29834 char remove ();
29835 /* The GNU C library defines this for functions which it implements
29836 to always fail with ENOSYS. Some functions are actually named
29837 something starting with __ and the normal name is an alias. */
29838 #if defined __stub_remove || defined __stub___remove
29839 choke me
29840 #endif
29841
29842 int
29843 main ()
29844 {
29845 return remove ();
29846 ;
29847 return 0;
29848 }
29849 _ACEOF
29850 rm -f conftest.$ac_objext conftest$ac_exeext
29851 if { (ac_try="$ac_link"
29852 case "(($ac_try" in
29853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29854 *) ac_try_echo=$ac_try;;
29855 esac
29856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29857 (eval "$ac_link") 2>conftest.er1
29858 ac_status=$?
29859 grep -v '^ *+' conftest.er1 >conftest.err
29860 rm -f conftest.er1
29861 cat conftest.err >&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); } && {
29864 test -z "$ac_c_werror_flag" ||
29865 test ! -s conftest.err
29866 } && test -s conftest$ac_exeext &&
29867 $as_test_x conftest$ac_exeext; then
29868 ac_cv_func_remove=yes
29869 else
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29872
29873 ac_cv_func_remove=no
29874 fi
29875
29876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29877 conftest$ac_exeext conftest.$ac_ext
29878 fi
29879 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29880 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29881
29882 if test $ac_cv_func_remove = no; then
29883 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29884 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29885 if test "${ac_cv_lib_posix_remove+set}" = set; then
29886 echo $ECHO_N "(cached) $ECHO_C" >&6
29887 else
29888 ac_check_lib_save_LIBS=$LIBS
29889 LIBS="-lposix $LIBS"
29890 cat >conftest.$ac_ext <<_ACEOF
29891 /* confdefs.h. */
29892 _ACEOF
29893 cat confdefs.h >>conftest.$ac_ext
29894 cat >>conftest.$ac_ext <<_ACEOF
29895 /* end confdefs.h. */
29896
29897 /* Override any GCC internal prototype to avoid an error.
29898 Use char because int might match the return type of a GCC
29899 builtin and then its argument prototype would still apply. */
29900 #ifdef __cplusplus
29901 extern "C"
29902 #endif
29903 char remove ();
29904 int
29905 main ()
29906 {
29907 return remove ();
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_lib_posix_remove=yes
29931 else
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29934
29935 ac_cv_lib_posix_remove=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 LIBS=$ac_check_lib_save_LIBS
29941 fi
29942 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29943 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29944 if test $ac_cv_lib_posix_remove = yes; then
29945 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29946 fi
29947
29948 fi
29949
29950 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29951 { echo "$as_me:$LINENO: checking for shmat" >&5
29952 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29953 if test "${ac_cv_func_shmat+set}" = set; then
29954 echo $ECHO_N "(cached) $ECHO_C" >&6
29955 else
29956 cat >conftest.$ac_ext <<_ACEOF
29957 /* confdefs.h. */
29958 _ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h. */
29962 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29964 #define shmat innocuous_shmat
29965
29966 /* System header to define __stub macros and hopefully few prototypes,
29967 which can conflict with char shmat (); below.
29968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29969 <limits.h> exists even on freestanding compilers. */
29970
29971 #ifdef __STDC__
29972 # include <limits.h>
29973 #else
29974 # include <assert.h>
29975 #endif
29976
29977 #undef shmat
29978
29979 /* Override any GCC internal prototype to avoid an error.
29980 Use char because int might match the return type of a GCC
29981 builtin and then its argument prototype would still apply. */
29982 #ifdef __cplusplus
29983 extern "C"
29984 #endif
29985 char shmat ();
29986 /* The GNU C library defines this for functions which it implements
29987 to always fail with ENOSYS. Some functions are actually named
29988 something starting with __ and the normal name is an alias. */
29989 #if defined __stub_shmat || defined __stub___shmat
29990 choke me
29991 #endif
29992
29993 int
29994 main ()
29995 {
29996 return shmat ();
29997 ;
29998 return 0;
29999 }
30000 _ACEOF
30001 rm -f conftest.$ac_objext conftest$ac_exeext
30002 if { (ac_try="$ac_link"
30003 case "(($ac_try" in
30004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30005 *) ac_try_echo=$ac_try;;
30006 esac
30007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30008 (eval "$ac_link") 2>conftest.er1
30009 ac_status=$?
30010 grep -v '^ *+' conftest.er1 >conftest.err
30011 rm -f conftest.er1
30012 cat conftest.err >&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } && {
30015 test -z "$ac_c_werror_flag" ||
30016 test ! -s conftest.err
30017 } && test -s conftest$ac_exeext &&
30018 $as_test_x conftest$ac_exeext; then
30019 ac_cv_func_shmat=yes
30020 else
30021 echo "$as_me: failed program was:" >&5
30022 sed 's/^/| /' conftest.$ac_ext >&5
30023
30024 ac_cv_func_shmat=no
30025 fi
30026
30027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30028 conftest$ac_exeext conftest.$ac_ext
30029 fi
30030 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30031 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30032
30033 if test $ac_cv_func_shmat = no; then
30034 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30035 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30036 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30038 else
30039 ac_check_lib_save_LIBS=$LIBS
30040 LIBS="-lipc $LIBS"
30041 cat >conftest.$ac_ext <<_ACEOF
30042 /* confdefs.h. */
30043 _ACEOF
30044 cat confdefs.h >>conftest.$ac_ext
30045 cat >>conftest.$ac_ext <<_ACEOF
30046 /* end confdefs.h. */
30047
30048 /* Override any GCC internal prototype to avoid an error.
30049 Use char because int might match the return type of a GCC
30050 builtin and then its argument prototype would still apply. */
30051 #ifdef __cplusplus
30052 extern "C"
30053 #endif
30054 char shmat ();
30055 int
30056 main ()
30057 {
30058 return shmat ();
30059 ;
30060 return 0;
30061 }
30062 _ACEOF
30063 rm -f conftest.$ac_objext conftest$ac_exeext
30064 if { (ac_try="$ac_link"
30065 case "(($ac_try" in
30066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30067 *) ac_try_echo=$ac_try;;
30068 esac
30069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30070 (eval "$ac_link") 2>conftest.er1
30071 ac_status=$?
30072 grep -v '^ *+' conftest.er1 >conftest.err
30073 rm -f conftest.er1
30074 cat conftest.err >&5
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); } && {
30077 test -z "$ac_c_werror_flag" ||
30078 test ! -s conftest.err
30079 } && test -s conftest$ac_exeext &&
30080 $as_test_x conftest$ac_exeext; then
30081 ac_cv_lib_ipc_shmat=yes
30082 else
30083 echo "$as_me: failed program was:" >&5
30084 sed 's/^/| /' conftest.$ac_ext >&5
30085
30086 ac_cv_lib_ipc_shmat=no
30087 fi
30088
30089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30090 conftest$ac_exeext conftest.$ac_ext
30091 LIBS=$ac_check_lib_save_LIBS
30092 fi
30093 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30094 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30095 if test $ac_cv_lib_ipc_shmat = yes; then
30096 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30097 fi
30098
30099 fi
30100 fi
30101
30102 # Check for libraries that X11R6 Xt/Xaw programs need.
30103 ac_save_LDFLAGS=$LDFLAGS
30104 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30105 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30106 # check for ICE first), but we must link in the order -lSM -lICE or
30107 # we get undefined symbols. So assume we have SM if we have ICE.
30108 # These have to be linked with before -lX11, unlike the other
30109 # libraries we check for below, so use a different variable.
30110 # John Interrante, Karl Berry
30111 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30112 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30113 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30115 else
30116 ac_check_lib_save_LIBS=$LIBS
30117 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30118 cat >conftest.$ac_ext <<_ACEOF
30119 /* confdefs.h. */
30120 _ACEOF
30121 cat confdefs.h >>conftest.$ac_ext
30122 cat >>conftest.$ac_ext <<_ACEOF
30123 /* end confdefs.h. */
30124
30125 /* Override any GCC internal prototype to avoid an error.
30126 Use char because int might match the return type of a GCC
30127 builtin and then its argument prototype would still apply. */
30128 #ifdef __cplusplus
30129 extern "C"
30130 #endif
30131 char IceConnectionNumber ();
30132 int
30133 main ()
30134 {
30135 return IceConnectionNumber ();
30136 ;
30137 return 0;
30138 }
30139 _ACEOF
30140 rm -f conftest.$ac_objext conftest$ac_exeext
30141 if { (ac_try="$ac_link"
30142 case "(($ac_try" in
30143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30144 *) ac_try_echo=$ac_try;;
30145 esac
30146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30147 (eval "$ac_link") 2>conftest.er1
30148 ac_status=$?
30149 grep -v '^ *+' conftest.er1 >conftest.err
30150 rm -f conftest.er1
30151 cat conftest.err >&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } && {
30154 test -z "$ac_c_werror_flag" ||
30155 test ! -s conftest.err
30156 } && test -s conftest$ac_exeext &&
30157 $as_test_x conftest$ac_exeext; then
30158 ac_cv_lib_ICE_IceConnectionNumber=yes
30159 else
30160 echo "$as_me: failed program was:" >&5
30161 sed 's/^/| /' conftest.$ac_ext >&5
30162
30163 ac_cv_lib_ICE_IceConnectionNumber=no
30164 fi
30165
30166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30167 conftest$ac_exeext conftest.$ac_ext
30168 LIBS=$ac_check_lib_save_LIBS
30169 fi
30170 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30171 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30172 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30173 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30174 fi
30175
30176 LDFLAGS=$ac_save_LDFLAGS
30177
30178 fi
30179
30180
30181 if test "$no_x" = "yes"; then
30182 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30183 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30184 { (exit 1); exit 1; }; }
30185 fi
30186
30187 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30188 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30189 AFMINSTALL=afminstall
30190 COMPILED_X_PROGRAM=0
30191
30192 fi
30193
30194 if test "$wxUSE_X11" = 1; then
30195 if test "$wxUSE_NANOX" = "yes"; then
30196 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30197 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30198 if test "x$MICROWIN" = x ; then
30199 { echo "$as_me:$LINENO: result: not found" >&5
30200 echo "${ECHO_T}not found" >&6; }
30201 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30202 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30203 { (exit 1); exit 1; }; }
30204 else
30205 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30206 echo "${ECHO_T}$MICROWIN" >&6; }
30207 cat >>confdefs.h <<\_ACEOF
30208 #define wxUSE_NANOX 1
30209 _ACEOF
30210
30211 fi
30212 fi
30213
30214 if test "$wxUSE_UNICODE" = "yes"; then
30215
30216
30217 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30218 if test -n "$ac_tool_prefix"; then
30219 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30220 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30223 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30225 else
30226 case $PKG_CONFIG in
30227 [\\/]* | ?:[\\/]*)
30228 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30229 ;;
30230 *)
30231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30232 for as_dir in $PATH
30233 do
30234 IFS=$as_save_IFS
30235 test -z "$as_dir" && as_dir=.
30236 for ac_exec_ext in '' $ac_executable_extensions; do
30237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30238 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30240 break 2
30241 fi
30242 done
30243 done
30244 IFS=$as_save_IFS
30245
30246 ;;
30247 esac
30248 fi
30249 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30250 if test -n "$PKG_CONFIG"; then
30251 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30252 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30253 else
30254 { echo "$as_me:$LINENO: result: no" >&5
30255 echo "${ECHO_T}no" >&6; }
30256 fi
30257
30258
30259 fi
30260 if test -z "$ac_cv_path_PKG_CONFIG"; then
30261 ac_pt_PKG_CONFIG=$PKG_CONFIG
30262 # Extract the first word of "pkg-config", so it can be a program name with args.
30263 set dummy pkg-config; ac_word=$2
30264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30266 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30267 echo $ECHO_N "(cached) $ECHO_C" >&6
30268 else
30269 case $ac_pt_PKG_CONFIG in
30270 [\\/]* | ?:[\\/]*)
30271 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30272 ;;
30273 *)
30274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30275 for as_dir in $PATH
30276 do
30277 IFS=$as_save_IFS
30278 test -z "$as_dir" && as_dir=.
30279 for ac_exec_ext in '' $ac_executable_extensions; do
30280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30281 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30283 break 2
30284 fi
30285 done
30286 done
30287 IFS=$as_save_IFS
30288
30289 ;;
30290 esac
30291 fi
30292 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30293 if test -n "$ac_pt_PKG_CONFIG"; then
30294 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30295 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30296 else
30297 { echo "$as_me:$LINENO: result: no" >&5
30298 echo "${ECHO_T}no" >&6; }
30299 fi
30300
30301 if test "x$ac_pt_PKG_CONFIG" = x; then
30302 PKG_CONFIG=""
30303 else
30304 case $cross_compiling:$ac_tool_warned in
30305 yes:)
30306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30307 whose name does not start with the host triplet. If you think this
30308 configuration is useful to you, please write to autoconf@gnu.org." >&5
30309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30310 whose name does not start with the host triplet. If you think this
30311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30312 ac_tool_warned=yes ;;
30313 esac
30314 PKG_CONFIG=$ac_pt_PKG_CONFIG
30315 fi
30316 else
30317 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30318 fi
30319
30320 fi
30321 if test -n "$PKG_CONFIG"; then
30322 _pkg_min_version=0.9.0
30323 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30324 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30325 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30326 { echo "$as_me:$LINENO: result: yes" >&5
30327 echo "${ECHO_T}yes" >&6; }
30328 else
30329 { echo "$as_me:$LINENO: result: no" >&5
30330 echo "${ECHO_T}no" >&6; }
30331 PKG_CONFIG=""
30332 fi
30333
30334 fi
30335
30336
30337 pkg_failed=no
30338 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30339 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30340
30341 if test -n "$PKG_CONFIG"; then
30342 if test -n "$PANGOX_CFLAGS"; then
30343 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30344 else
30345 if test -n "$PKG_CONFIG" && \
30346 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30347 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30348 ac_status=$?
30349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350 (exit $ac_status); }; then
30351 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30352 else
30353 pkg_failed=yes
30354 fi
30355 fi
30356 else
30357 pkg_failed=untried
30358 fi
30359 if test -n "$PKG_CONFIG"; then
30360 if test -n "$PANGOX_LIBS"; then
30361 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30362 else
30363 if test -n "$PKG_CONFIG" && \
30364 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30365 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30366 ac_status=$?
30367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30368 (exit $ac_status); }; then
30369 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30370 else
30371 pkg_failed=yes
30372 fi
30373 fi
30374 else
30375 pkg_failed=untried
30376 fi
30377
30378
30379
30380 if test $pkg_failed = yes; then
30381
30382 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30383 _pkg_short_errors_supported=yes
30384 else
30385 _pkg_short_errors_supported=no
30386 fi
30387 if test $_pkg_short_errors_supported = yes; then
30388 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30389 else
30390 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30391 fi
30392 # Put the nasty error message in config.log where it belongs
30393 echo "$PANGOX_PKG_ERRORS" >&5
30394
30395
30396 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30397 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30398 { (exit 1); exit 1; }; }
30399
30400
30401 elif test $pkg_failed = untried; then
30402
30403 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30404 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30405 { (exit 1); exit 1; }; }
30406
30407
30408 else
30409 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30410 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30411 { echo "$as_me:$LINENO: result: yes" >&5
30412 echo "${ECHO_T}yes" >&6; }
30413
30414 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30415 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30416 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30417
30418 fi
30419
30420 pkg_failed=no
30421 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30422 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30423
30424 if test -n "$PKG_CONFIG"; then
30425 if test -n "$PANGOFT2_CFLAGS"; then
30426 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30427 else
30428 if test -n "$PKG_CONFIG" && \
30429 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30430 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; then
30434 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30435 else
30436 pkg_failed=yes
30437 fi
30438 fi
30439 else
30440 pkg_failed=untried
30441 fi
30442 if test -n "$PKG_CONFIG"; then
30443 if test -n "$PANGOFT2_LIBS"; then
30444 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30445 else
30446 if test -n "$PKG_CONFIG" && \
30447 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30448 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30449 ac_status=$?
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; then
30452 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30453 else
30454 pkg_failed=yes
30455 fi
30456 fi
30457 else
30458 pkg_failed=untried
30459 fi
30460
30461
30462
30463 if test $pkg_failed = yes; then
30464
30465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30466 _pkg_short_errors_supported=yes
30467 else
30468 _pkg_short_errors_supported=no
30469 fi
30470 if test $_pkg_short_errors_supported = yes; then
30471 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30472 else
30473 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30474 fi
30475 # Put the nasty error message in config.log where it belongs
30476 echo "$PANGOFT2_PKG_ERRORS" >&5
30477
30478
30479 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30480 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30481 wxUSE_PRINTING_ARCHITECTURE="no"
30482
30483
30484 elif test $pkg_failed = untried; then
30485
30486 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30487 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30488 wxUSE_PRINTING_ARCHITECTURE="no"
30489
30490
30491 else
30492 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30493 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30494 { echo "$as_me:$LINENO: result: yes" >&5
30495 echo "${ECHO_T}yes" >&6; }
30496
30497 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30498 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30499 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30500
30501 fi
30502
30503 pkg_failed=no
30504 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30505 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30506
30507 if test -n "$PKG_CONFIG"; then
30508 if test -n "$PANGOXFT_CFLAGS"; then
30509 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30510 else
30511 if test -n "$PKG_CONFIG" && \
30512 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30513 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30514 ac_status=$?
30515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516 (exit $ac_status); }; then
30517 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30518 else
30519 pkg_failed=yes
30520 fi
30521 fi
30522 else
30523 pkg_failed=untried
30524 fi
30525 if test -n "$PKG_CONFIG"; then
30526 if test -n "$PANGOXFT_LIBS"; then
30527 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30528 else
30529 if test -n "$PKG_CONFIG" && \
30530 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30531 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30532 ac_status=$?
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); }; then
30535 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30536 else
30537 pkg_failed=yes
30538 fi
30539 fi
30540 else
30541 pkg_failed=untried
30542 fi
30543
30544
30545
30546 if test $pkg_failed = yes; then
30547
30548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30549 _pkg_short_errors_supported=yes
30550 else
30551 _pkg_short_errors_supported=no
30552 fi
30553 if test $_pkg_short_errors_supported = yes; then
30554 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30555 else
30556 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30557 fi
30558 # Put the nasty error message in config.log where it belongs
30559 echo "$PANGOXFT_PKG_ERRORS" >&5
30560
30561
30562 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30563 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30564
30565
30566 elif test $pkg_failed = untried; then
30567
30568 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30569 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30570
30571
30572 else
30573 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30574 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30575 { echo "$as_me:$LINENO: result: yes" >&5
30576 echo "${ECHO_T}yes" >&6; }
30577
30578 cat >>confdefs.h <<\_ACEOF
30579 #define HAVE_PANGO_XFT 1
30580 _ACEOF
30581
30582 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30583 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30584 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30585
30586 fi
30587 save_LIBS="$LIBS"
30588 LIBS="$LIBS $PANGOX_LIBS"
30589
30590 for ac_func in pango_font_family_is_monospace
30591 do
30592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30593 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30595 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30596 echo $ECHO_N "(cached) $ECHO_C" >&6
30597 else
30598 cat >conftest.$ac_ext <<_ACEOF
30599 /* confdefs.h. */
30600 _ACEOF
30601 cat confdefs.h >>conftest.$ac_ext
30602 cat >>conftest.$ac_ext <<_ACEOF
30603 /* end confdefs.h. */
30604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30606 #define $ac_func innocuous_$ac_func
30607
30608 /* System header to define __stub macros and hopefully few prototypes,
30609 which can conflict with char $ac_func (); below.
30610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30611 <limits.h> exists even on freestanding compilers. */
30612
30613 #ifdef __STDC__
30614 # include <limits.h>
30615 #else
30616 # include <assert.h>
30617 #endif
30618
30619 #undef $ac_func
30620
30621 /* Override any GCC internal prototype to avoid an error.
30622 Use char because int might match the return type of a GCC
30623 builtin and then its argument prototype would still apply. */
30624 #ifdef __cplusplus
30625 extern "C"
30626 #endif
30627 char $ac_func ();
30628 /* The GNU C library defines this for functions which it implements
30629 to always fail with ENOSYS. Some functions are actually named
30630 something starting with __ and the normal name is an alias. */
30631 #if defined __stub_$ac_func || defined __stub___$ac_func
30632 choke me
30633 #endif
30634
30635 int
30636 main ()
30637 {
30638 return $ac_func ();
30639 ;
30640 return 0;
30641 }
30642 _ACEOF
30643 rm -f conftest.$ac_objext conftest$ac_exeext
30644 if { (ac_try="$ac_link"
30645 case "(($ac_try" in
30646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30647 *) ac_try_echo=$ac_try;;
30648 esac
30649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30650 (eval "$ac_link") 2>conftest.er1
30651 ac_status=$?
30652 grep -v '^ *+' conftest.er1 >conftest.err
30653 rm -f conftest.er1
30654 cat conftest.err >&5
30655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656 (exit $ac_status); } && {
30657 test -z "$ac_c_werror_flag" ||
30658 test ! -s conftest.err
30659 } && test -s conftest$ac_exeext &&
30660 $as_test_x conftest$ac_exeext; then
30661 eval "$as_ac_var=yes"
30662 else
30663 echo "$as_me: failed program was:" >&5
30664 sed 's/^/| /' conftest.$ac_ext >&5
30665
30666 eval "$as_ac_var=no"
30667 fi
30668
30669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30670 conftest$ac_exeext conftest.$ac_ext
30671 fi
30672 ac_res=`eval echo '${'$as_ac_var'}'`
30673 { echo "$as_me:$LINENO: result: $ac_res" >&5
30674 echo "${ECHO_T}$ac_res" >&6; }
30675 if test `eval echo '${'$as_ac_var'}'` = yes; then
30676 cat >>confdefs.h <<_ACEOF
30677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30678 _ACEOF
30679
30680 fi
30681 done
30682
30683 LIBS="$save_LIBS"
30684 fi
30685
30686 wxUSE_UNIVERSAL="yes"
30687
30688 if test "$wxUSE_NANOX" = "yes"; then
30689 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30690 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"
30691 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30692 else
30693 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30694 fi
30695
30696 TOOLKIT=X11
30697 GUIDIST=X11_DIST
30698 fi
30699
30700 if test "$wxUSE_MOTIF" = 1; then
30701 if test "$wxUSE_UNICODE" = "yes"; then
30702 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30703 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30704 { (exit 1); exit 1; }; }
30705 fi
30706
30707 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30708 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30709
30710 ac_find_includes=
30711 for ac_dir in $SEARCH_INCLUDE /usr/include;
30712 do
30713 if test -f "$ac_dir/Xm/Xm.h"; then
30714 ac_find_includes=$ac_dir
30715 break
30716 fi
30717 done
30718
30719 if test "$ac_find_includes" != "" ; then
30720 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30721 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30722
30723 if test "x$ac_find_includes" = "x/usr/include"; then
30724 ac_path_to_include=""
30725 else
30726 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30727 result=$?
30728 if test $result = 0; then
30729 ac_path_to_include=""
30730 else
30731 ac_path_to_include=" -I$ac_find_includes"
30732 fi
30733 fi
30734
30735 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30736 else
30737 save_CFLAGS=$CFLAGS
30738 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30739
30740 cat >conftest.$ac_ext <<_ACEOF
30741 /* confdefs.h. */
30742 _ACEOF
30743 cat confdefs.h >>conftest.$ac_ext
30744 cat >>conftest.$ac_ext <<_ACEOF
30745 /* end confdefs.h. */
30746
30747 #include <Xm/Xm.h>
30748
30749 int
30750 main ()
30751 {
30752
30753 int version;
30754 version = xmUseVersion;
30755
30756 ;
30757 return 0;
30758 }
30759 _ACEOF
30760 rm -f conftest.$ac_objext
30761 if { (ac_try="$ac_compile"
30762 case "(($ac_try" in
30763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30764 *) ac_try_echo=$ac_try;;
30765 esac
30766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30767 (eval "$ac_compile") 2>conftest.er1
30768 ac_status=$?
30769 grep -v '^ *+' conftest.er1 >conftest.err
30770 rm -f conftest.er1
30771 cat conftest.err >&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); } && {
30774 test -z "$ac_c_werror_flag" ||
30775 test ! -s conftest.err
30776 } && test -s conftest.$ac_objext; then
30777
30778 { echo "$as_me:$LINENO: result: found in default search path" >&5
30779 echo "${ECHO_T}found in default search path" >&6; }
30780 COMPILED_X_PROGRAM=1
30781
30782 else
30783 echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.$ac_ext >&5
30785
30786
30787 { echo "$as_me:$LINENO: result: no" >&5
30788 echo "${ECHO_T}no" >&6; }
30789 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30790 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30791 { (exit 1); exit 1; }; }
30792
30793
30794 fi
30795
30796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30797
30798 CFLAGS=$save_CFLAGS
30799 fi
30800
30801
30802 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30803 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30804
30805 ac_find_libraries=
30806 for ac_dir in $SEARCH_LIB;
30807 do
30808 for ac_extension in a so sl dylib dll.a; do
30809 if test -f "$ac_dir/libXm.$ac_extension"; then
30810 ac_find_libraries=$ac_dir
30811 break 2
30812 fi
30813 done
30814 done
30815
30816
30817 if test "x$ac_find_libraries" != "x" ; then
30818 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30819 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30820
30821
30822 if test "$ac_find_libraries" = "default location"; then
30823 ac_path_to_link=""
30824 else
30825 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30826 result=$?
30827 if test $result = 0; then
30828 ac_path_to_link=""
30829 else
30830 ac_path_to_link=" -L$ac_find_libraries"
30831 fi
30832 fi
30833
30834 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30835 else
30836 save_CFLAGS=$CFLAGS
30837 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30838 save_LIBS="$LIBS"
30839 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30840
30841 cat >conftest.$ac_ext <<_ACEOF
30842 /* confdefs.h. */
30843 _ACEOF
30844 cat confdefs.h >>conftest.$ac_ext
30845 cat >>conftest.$ac_ext <<_ACEOF
30846 /* end confdefs.h. */
30847
30848 #include <Xm/Xm.h>
30849
30850 int
30851 main ()
30852 {
30853
30854 int version;
30855 version = xmUseVersion;
30856
30857 ;
30858 return 0;
30859 }
30860 _ACEOF
30861 rm -f conftest.$ac_objext conftest$ac_exeext
30862 if { (ac_try="$ac_link"
30863 case "(($ac_try" in
30864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30865 *) ac_try_echo=$ac_try;;
30866 esac
30867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30868 (eval "$ac_link") 2>conftest.er1
30869 ac_status=$?
30870 grep -v '^ *+' conftest.er1 >conftest.err
30871 rm -f conftest.er1
30872 cat conftest.err >&5
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); } && {
30875 test -z "$ac_c_werror_flag" ||
30876 test ! -s conftest.err
30877 } && test -s conftest$ac_exeext &&
30878 $as_test_x conftest$ac_exeext; then
30879
30880 { echo "$as_me:$LINENO: result: found in default search path" >&5
30881 echo "${ECHO_T}found in default search path" >&6; }
30882 COMPILED_X_PROGRAM=1
30883
30884 else
30885 echo "$as_me: failed program was:" >&5
30886 sed 's/^/| /' conftest.$ac_ext >&5
30887
30888
30889 { echo "$as_me:$LINENO: result: no" >&5
30890 echo "${ECHO_T}no" >&6; }
30891 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30892 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30893 { (exit 1); exit 1; }; }
30894
30895
30896 fi
30897
30898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30899 conftest$ac_exeext conftest.$ac_ext
30900
30901 CFLAGS=$save_CFLAGS
30902 LIBS="$save_LIBS"
30903 fi
30904
30905 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30906 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30907 libp_link=""
30908 libsm_ice_link=""
30909 libs_found=0
30910 for libp in "" " -lXp"; do
30911 if test "$libs_found" = "0"; then
30912 for libsm_ice in "" " -lSM -lICE"; do
30913 if test "$libs_found" = "0"; then
30914 save_LIBS="$LIBS"
30915 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30916 save_CFLAGS=$CFLAGS
30917 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30918
30919 cat >conftest.$ac_ext <<_ACEOF
30920 /* confdefs.h. */
30921 _ACEOF
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h. */
30925
30926 #include <Xm/Xm.h>
30927 #include <Xm/List.h>
30928
30929 int
30930 main ()
30931 {
30932
30933 XmString string = NULL;
30934 Widget w = NULL;
30935 int position = 0;
30936 XmListAddItem(w, string, position);
30937
30938 ;
30939 return 0;
30940 }
30941 _ACEOF
30942 rm -f conftest.$ac_objext conftest$ac_exeext
30943 if { (ac_try="$ac_link"
30944 case "(($ac_try" in
30945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30946 *) ac_try_echo=$ac_try;;
30947 esac
30948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30949 (eval "$ac_link") 2>conftest.er1
30950 ac_status=$?
30951 grep -v '^ *+' conftest.er1 >conftest.err
30952 rm -f conftest.er1
30953 cat conftest.err >&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } && {
30956 test -z "$ac_c_werror_flag" ||
30957 test ! -s conftest.err
30958 } && test -s conftest$ac_exeext &&
30959 $as_test_x conftest$ac_exeext; then
30960
30961 libp_link="$libp"
30962 libsm_ice_link="$libsm_ice"
30963 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30964 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30965 libs_found=1
30966
30967 else
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.$ac_ext >&5
30970
30971
30972
30973 fi
30974
30975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30976 conftest$ac_exeext conftest.$ac_ext
30977
30978 LIBS="$save_LIBS"
30979 CFLAGS=$save_CFLAGS
30980 fi
30981 done
30982 fi
30983 done
30984
30985 if test "$libs_found" = "0"; then
30986 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30987 echo "${ECHO_T}can't find the right libraries" >&6; }
30988 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30989 echo "$as_me: error: can't link a simple motif program" >&2;}
30990 { (exit 1); exit 1; }; }
30991 fi
30992
30993 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30994 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30995 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30996 echo $ECHO_N "(cached) $ECHO_C" >&6
30997 else
30998 ac_check_lib_save_LIBS=$LIBS
30999 LIBS="-lSgm $LIBS"
31000 cat >conftest.$ac_ext <<_ACEOF
31001 /* confdefs.h. */
31002 _ACEOF
31003 cat confdefs.h >>conftest.$ac_ext
31004 cat >>conftest.$ac_ext <<_ACEOF
31005 /* end confdefs.h. */
31006
31007 /* Override any GCC internal prototype to avoid an error.
31008 Use char because int might match the return type of a GCC
31009 builtin and then its argument prototype would still apply. */
31010 #ifdef __cplusplus
31011 extern "C"
31012 #endif
31013 char SgCreateList ();
31014 int
31015 main ()
31016 {
31017 return SgCreateList ();
31018 ;
31019 return 0;
31020 }
31021 _ACEOF
31022 rm -f conftest.$ac_objext conftest$ac_exeext
31023 if { (ac_try="$ac_link"
31024 case "(($ac_try" in
31025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31026 *) ac_try_echo=$ac_try;;
31027 esac
31028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31029 (eval "$ac_link") 2>conftest.er1
31030 ac_status=$?
31031 grep -v '^ *+' conftest.er1 >conftest.err
31032 rm -f conftest.er1
31033 cat conftest.err >&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } && {
31036 test -z "$ac_c_werror_flag" ||
31037 test ! -s conftest.err
31038 } && test -s conftest$ac_exeext &&
31039 $as_test_x conftest$ac_exeext; then
31040 ac_cv_lib_Sgm_SgCreateList=yes
31041 else
31042 echo "$as_me: failed program was:" >&5
31043 sed 's/^/| /' conftest.$ac_ext >&5
31044
31045 ac_cv_lib_Sgm_SgCreateList=no
31046 fi
31047
31048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31049 conftest$ac_exeext conftest.$ac_ext
31050 LIBS=$ac_check_lib_save_LIBS
31051 fi
31052 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31053 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31054 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31055 libsgm_link=" -lSgm"
31056 fi
31057
31058
31059 save_CFLAGS=$CFLAGS
31060 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31061
31062 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31063 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31064 if test "${wx_cv_lib_motif2+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067 cat >conftest.$ac_ext <<_ACEOF
31068 /* confdefs.h. */
31069 _ACEOF
31070 cat confdefs.h >>conftest.$ac_ext
31071 cat >>conftest.$ac_ext <<_ACEOF
31072 /* end confdefs.h. */
31073
31074 #include <Xm/Xm.h>
31075
31076 int
31077 main ()
31078 {
31079
31080 #if XmVersion < 2000
31081 Not Motif 2
31082 #endif
31083
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext
31089 if { (ac_try="$ac_compile"
31090 case "(($ac_try" in
31091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31092 *) ac_try_echo=$ac_try;;
31093 esac
31094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31095 (eval "$ac_compile") 2>conftest.er1
31096 ac_status=$?
31097 grep -v '^ *+' conftest.er1 >conftest.err
31098 rm -f conftest.er1
31099 cat conftest.err >&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } && {
31102 test -z "$ac_c_werror_flag" ||
31103 test ! -s conftest.err
31104 } && test -s conftest.$ac_objext; then
31105 wx_cv_lib_motif2="yes"
31106 else
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.$ac_ext >&5
31109
31110 wx_cv_lib_motif2="no"
31111 fi
31112
31113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31114 fi
31115 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31116 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31117 if test "$wx_cv_lib_motif2" = "yes"; then
31118 cat >>confdefs.h <<\_ACEOF
31119 #define __WXMOTIF20__ 1
31120 _ACEOF
31121
31122 else
31123 cat >>confdefs.h <<\_ACEOF
31124 #define __WXMOTIF20__ 0
31125 _ACEOF
31126
31127 fi
31128
31129 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31130 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31131 if test "${wx_cv_lib_lesstif+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31133 else
31134 cat >conftest.$ac_ext <<_ACEOF
31135 /* confdefs.h. */
31136 _ACEOF
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140
31141 #include <Xm/Xm.h>
31142
31143 int
31144 main ()
31145 {
31146
31147 #if !defined(LesstifVersion) || LesstifVersion <= 0
31148 Not Lesstif
31149 #endif
31150
31151 ;
31152 return 0;
31153 }
31154 _ACEOF
31155 rm -f conftest.$ac_objext
31156 if { (ac_try="$ac_compile"
31157 case "(($ac_try" in
31158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31159 *) ac_try_echo=$ac_try;;
31160 esac
31161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31162 (eval "$ac_compile") 2>conftest.er1
31163 ac_status=$?
31164 grep -v '^ *+' conftest.er1 >conftest.err
31165 rm -f conftest.er1
31166 cat conftest.err >&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } && {
31169 test -z "$ac_c_werror_flag" ||
31170 test ! -s conftest.err
31171 } && test -s conftest.$ac_objext; then
31172 wx_cv_lib_lesstif="yes"
31173 else
31174 echo "$as_me: failed program was:" >&5
31175 sed 's/^/| /' conftest.$ac_ext >&5
31176
31177 wx_cv_lib_lesstif="no"
31178 fi
31179
31180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31181
31182 fi
31183 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31184 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31185 if test "$wx_cv_lib_lesstif" = "yes"; then
31186 cat >>confdefs.h <<\_ACEOF
31187 #define __WXLESSTIF__ 1
31188 _ACEOF
31189
31190 else
31191 cat >>confdefs.h <<\_ACEOF
31192 #define __WXLESSTIF__ 0
31193 _ACEOF
31194
31195 fi
31196
31197 CFLAGS=$save_CFLAGS
31198
31199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31200 TOOLKIT=MOTIF
31201 GUIDIST=MOTIF_DIST
31202 fi
31203
31204 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31205 if test "$wxUSE_LIBXPM" = "sys"; then
31206 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31207 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31208
31209 ac_find_libraries=
31210 for ac_dir in $SEARCH_LIB;
31211 do
31212 for ac_extension in a so sl dylib dll.a; do
31213 if test -f "$ac_dir/libXpm.$ac_extension"; then
31214 ac_find_libraries=$ac_dir
31215 break 2
31216 fi
31217 done
31218 done
31219
31220 if test "$ac_find_libraries" != "" ; then
31221
31222 if test "$ac_find_libraries" = "default location"; then
31223 ac_path_to_link=""
31224 else
31225 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31226 result=$?
31227 if test $result = 0; then
31228 ac_path_to_link=""
31229 else
31230 ac_path_to_link=" -L$ac_find_libraries"
31231 fi
31232 fi
31233
31234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31235 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31236 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31237
31238 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31239 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31240 if test "${wx_cv_x11_xpm_h+set}" = set; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31242 else
31243
31244 save_CFLAGS=$CFLAGS
31245 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31246
31247 cat >conftest.$ac_ext <<_ACEOF
31248 /* confdefs.h. */
31249 _ACEOF
31250 cat confdefs.h >>conftest.$ac_ext
31251 cat >>conftest.$ac_ext <<_ACEOF
31252 /* end confdefs.h. */
31253
31254 #include <X11/xpm.h>
31255
31256 int
31257 main ()
31258 {
31259
31260 int version;
31261 version = XpmLibraryVersion();
31262
31263 ;
31264 return 0;
31265 }
31266 _ACEOF
31267 rm -f conftest.$ac_objext
31268 if { (ac_try="$ac_compile"
31269 case "(($ac_try" in
31270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31271 *) ac_try_echo=$ac_try;;
31272 esac
31273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31274 (eval "$ac_compile") 2>conftest.er1
31275 ac_status=$?
31276 grep -v '^ *+' conftest.er1 >conftest.err
31277 rm -f conftest.er1
31278 cat conftest.err >&5
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } && {
31281 test -z "$ac_c_werror_flag" ||
31282 test ! -s conftest.err
31283 } && test -s conftest.$ac_objext; then
31284 wx_cv_x11_xpm_h=yes
31285 else
31286 echo "$as_me: failed program was:" >&5
31287 sed 's/^/| /' conftest.$ac_ext >&5
31288
31289 wx_cv_x11_xpm_h=no
31290
31291 fi
31292
31293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31294
31295 CFLAGS=$save_CFLAGS
31296
31297
31298 fi
31299 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31300 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31301
31302 if test $wx_cv_x11_xpm_h = "yes"; then
31303 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31304 cat >>confdefs.h <<\_ACEOF
31305 #define wxHAVE_LIB_XPM 1
31306 _ACEOF
31307
31308 else
31309 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31310 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31311 fi
31312 fi
31313
31314 fi
31315
31316 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31317 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31318 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31319 echo $ECHO_N "(cached) $ECHO_C" >&6
31320 else
31321 ac_check_lib_save_LIBS=$LIBS
31322 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31323 cat >conftest.$ac_ext <<_ACEOF
31324 /* confdefs.h. */
31325 _ACEOF
31326 cat confdefs.h >>conftest.$ac_ext
31327 cat >>conftest.$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31329
31330 /* Override any GCC internal prototype to avoid an error.
31331 Use char because int might match the return type of a GCC
31332 builtin and then its argument prototype would still apply. */
31333 #ifdef __cplusplus
31334 extern "C"
31335 #endif
31336 char XShapeQueryExtension ();
31337 int
31338 main ()
31339 {
31340 return XShapeQueryExtension ();
31341 ;
31342 return 0;
31343 }
31344 _ACEOF
31345 rm -f conftest.$ac_objext conftest$ac_exeext
31346 if { (ac_try="$ac_link"
31347 case "(($ac_try" in
31348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31349 *) ac_try_echo=$ac_try;;
31350 esac
31351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31352 (eval "$ac_link") 2>conftest.er1
31353 ac_status=$?
31354 grep -v '^ *+' conftest.er1 >conftest.err
31355 rm -f conftest.er1
31356 cat conftest.err >&5
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); } && {
31359 test -z "$ac_c_werror_flag" ||
31360 test ! -s conftest.err
31361 } && test -s conftest$ac_exeext &&
31362 $as_test_x conftest$ac_exeext; then
31363 ac_cv_lib_Xext_XShapeQueryExtension=yes
31364 else
31365 echo "$as_me: failed program was:" >&5
31366 sed 's/^/| /' conftest.$ac_ext >&5
31367
31368 ac_cv_lib_Xext_XShapeQueryExtension=no
31369 fi
31370
31371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31372 conftest$ac_exeext conftest.$ac_ext
31373 LIBS=$ac_check_lib_save_LIBS
31374 fi
31375 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31376 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31377 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31378
31379 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31380 wxHAVE_XEXT_LIB=1
31381
31382 fi
31383
31384
31385 if test "$wxHAVE_XEXT_LIB" = 1; then
31386 save_CFLAGS="$CFLAGS"
31387 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31388
31389 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31390 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31391 cat >conftest.$ac_ext <<_ACEOF
31392 /* confdefs.h. */
31393 _ACEOF
31394 cat confdefs.h >>conftest.$ac_ext
31395 cat >>conftest.$ac_ext <<_ACEOF
31396 /* end confdefs.h. */
31397
31398 #include <X11/Xlib.h>
31399 #include <X11/extensions/shape.h>
31400
31401 int
31402 main ()
31403 {
31404
31405 int dummy1, dummy2;
31406 XShapeQueryExtension((Display*)NULL,
31407 (int*)NULL, (int*)NULL);
31408
31409 ;
31410 return 0;
31411 }
31412 _ACEOF
31413 rm -f conftest.$ac_objext
31414 if { (ac_try="$ac_compile"
31415 case "(($ac_try" in
31416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31417 *) ac_try_echo=$ac_try;;
31418 esac
31419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31420 (eval "$ac_compile") 2>conftest.er1
31421 ac_status=$?
31422 grep -v '^ *+' conftest.er1 >conftest.err
31423 rm -f conftest.er1
31424 cat conftest.err >&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } && {
31427 test -z "$ac_c_werror_flag" ||
31428 test ! -s conftest.err
31429 } && test -s conftest.$ac_objext; then
31430
31431 cat >>confdefs.h <<\_ACEOF
31432 #define HAVE_XSHAPE 1
31433 _ACEOF
31434
31435 { echo "$as_me:$LINENO: result: found" >&5
31436 echo "${ECHO_T}found" >&6; }
31437
31438 else
31439 echo "$as_me: failed program was:" >&5
31440 sed 's/^/| /' conftest.$ac_ext >&5
31441
31442
31443 { echo "$as_me:$LINENO: result: not found" >&5
31444 echo "${ECHO_T}not found" >&6; }
31445
31446 fi
31447
31448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31449 CFLAGS="$save_CFLAGS"
31450
31451 fi
31452 fi
31453
31454 if test "$wxUSE_MAC" = 1; then
31455 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31456 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31457 if test "$GCC" = yes; then
31458 { echo "$as_me:$LINENO: result: gcc" >&5
31459 echo "${ECHO_T}gcc" >&6; }
31460 CPPFLAGS_PASCAL="-fpascal-strings"
31461 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31462 { echo "$as_me:$LINENO: result: xlc" >&5
31463 echo "${ECHO_T}xlc" >&6; }
31464 CPPFLAGS_PASCAL="-qmacpstr"
31465 else
31466 { echo "$as_me:$LINENO: result: none" >&5
31467 echo "${ECHO_T}none" >&6; }
31468 fi
31469
31470 if test "x$wxUSE_UNIX" = "xyes"; then
31471 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31472 else
31473 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31474 fi
31475
31476 TOOLKIT=MAC
31477 GUIDIST=MACX_DIST
31478 WXBASEPORT="_carbon"
31479 fi
31480
31481 if test "$wxUSE_COCOA" = 1; then
31482 TOOLKIT=COCOA
31483 GUIDIST=COCOA_DIST
31484 fi
31485
31486 if test "$wxUSE_PM" = 1; then
31487 TOOLKIT=PM
31488 GUIDIST=PM_DIST
31489 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31490 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31491 if test "${wx_cv_spbcdata+set}" = set; then
31492 echo $ECHO_N "(cached) $ECHO_C" >&6
31493 else
31494
31495 cat >conftest.$ac_ext <<_ACEOF
31496 /* confdefs.h. */
31497 _ACEOF
31498 cat confdefs.h >>conftest.$ac_ext
31499 cat >>conftest.$ac_ext <<_ACEOF
31500 /* end confdefs.h. */
31501
31502 #define INCL_PM
31503 #include <os2.h>
31504
31505 int
31506 main ()
31507 {
31508
31509 SPBCDATA test;
31510
31511 ;
31512 return 0;
31513 }
31514 _ACEOF
31515 rm -f conftest.$ac_objext
31516 if { (ac_try="$ac_compile"
31517 case "(($ac_try" in
31518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31519 *) ac_try_echo=$ac_try;;
31520 esac
31521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31522 (eval "$ac_compile") 2>conftest.er1
31523 ac_status=$?
31524 grep -v '^ *+' conftest.er1 >conftest.err
31525 rm -f conftest.er1
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } && {
31529 test -z "$ac_c_werror_flag" ||
31530 test ! -s conftest.err
31531 } && test -s conftest.$ac_objext; then
31532 wx_cv_spbcdata=yes
31533 else
31534 echo "$as_me: failed program was:" >&5
31535 sed 's/^/| /' conftest.$ac_ext >&5
31536
31537 wx_cv_spbcdata=no
31538
31539 fi
31540
31541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31542
31543
31544 fi
31545 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31546 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31547
31548 if test $wx_cv_spbcdata = "yes"; then
31549 cat >>confdefs.h <<\_ACEOF
31550 #define HAVE_SPBCDATA 1
31551 _ACEOF
31552
31553 fi
31554 fi
31555
31556 if test "$TOOLKIT" = "PM" ; then
31557 TOOLKIT_DIR="os2"
31558 else
31559 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31560 fi
31561
31562 if test "$wxUSE_UNIVERSAL" = "yes"; then
31563 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31564 WIDGET_SET=univ
31565 fi
31566
31567 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31568 DISTDIR="wx\$(TOOLKIT)"
31569 else
31570 USE_GUI=0
31571
31572 TOOLKIT_DIR="base"
31573
31574 if test "$USE_WIN32" = 1 ; then
31575 TOOLKIT="MSW"
31576 fi
31577
31578 GUIDIST="BASE_DIST"
31579 DISTDIR="wxBase"
31580 fi
31581
31582
31583
31584 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31585 if test "$TOOLKIT" = "DFB" ; then
31586 wxUSE_UNICODE_UTF8=yes
31587 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31588 wxUSE_UNICODE_UTF8=yes
31589 else
31590 wxUSE_UNICODE_UTF8=no
31591 fi
31592 fi
31593
31594
31595 if test "$wxUSE_GUI" = "yes"; then
31596 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31597 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31598 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31599 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31600 echo $ECHO_N "(cached) $ECHO_C" >&6
31601 else
31602 cat >conftest.$ac_ext <<_ACEOF
31603 /* confdefs.h. */
31604 _ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31608
31609
31610 #include <X11/Xlib.h>
31611 _ACEOF
31612 rm -f conftest.$ac_objext
31613 if { (ac_try="$ac_compile"
31614 case "(($ac_try" in
31615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31616 *) ac_try_echo=$ac_try;;
31617 esac
31618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31619 (eval "$ac_compile") 2>conftest.er1
31620 ac_status=$?
31621 grep -v '^ *+' conftest.er1 >conftest.err
31622 rm -f conftest.er1
31623 cat conftest.err >&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); } && {
31626 test -z "$ac_c_werror_flag" ||
31627 test ! -s conftest.err
31628 } && test -s conftest.$ac_objext; then
31629 ac_cv_header_X11_Xlib_h=yes
31630 else
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.$ac_ext >&5
31633
31634 ac_cv_header_X11_Xlib_h=no
31635 fi
31636
31637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31638 fi
31639 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31640 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31641
31642
31643 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31644 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31645 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31646 echo $ECHO_N "(cached) $ECHO_C" >&6
31647 else
31648 cat >conftest.$ac_ext <<_ACEOF
31649 /* confdefs.h. */
31650 _ACEOF
31651 cat confdefs.h >>conftest.$ac_ext
31652 cat >>conftest.$ac_ext <<_ACEOF
31653 /* end confdefs.h. */
31654
31655 #if HAVE_X11_XLIB_H
31656 #include <X11/Xlib.h>
31657 #endif
31658
31659
31660 #include <X11/XKBlib.h>
31661 _ACEOF
31662 rm -f conftest.$ac_objext
31663 if { (ac_try="$ac_compile"
31664 case "(($ac_try" in
31665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31666 *) ac_try_echo=$ac_try;;
31667 esac
31668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31669 (eval "$ac_compile") 2>conftest.er1
31670 ac_status=$?
31671 grep -v '^ *+' conftest.er1 >conftest.err
31672 rm -f conftest.er1
31673 cat conftest.err >&5
31674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31675 (exit $ac_status); } && {
31676 test -z "$ac_c_werror_flag" ||
31677 test ! -s conftest.err
31678 } && test -s conftest.$ac_objext; then
31679 ac_cv_header_X11_XKBlib_h=yes
31680 else
31681 echo "$as_me: failed program was:" >&5
31682 sed 's/^/| /' conftest.$ac_ext >&5
31683
31684 ac_cv_header_X11_XKBlib_h=no
31685 fi
31686
31687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31688 fi
31689 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31690 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31691
31692
31693 fi
31694 fi
31695
31696
31697
31698 IODBC_C_SRC=""
31699
31700
31701 if test "$TOOLKIT" != "MSW" ; then
31702
31703 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31704
31705 { echo "$as_me:$LINENO: checking for sql.h" >&5
31706 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31707 if test "${ac_cv_header_sql_h+set}" = set; then
31708 echo $ECHO_N "(cached) $ECHO_C" >&6
31709 else
31710 cat >conftest.$ac_ext <<_ACEOF
31711 /* confdefs.h. */
31712 _ACEOF
31713 cat confdefs.h >>conftest.$ac_ext
31714 cat >>conftest.$ac_ext <<_ACEOF
31715 /* end confdefs.h. */
31716
31717
31718 #include <sql.h>
31719 _ACEOF
31720 rm -f conftest.$ac_objext
31721 if { (ac_try="$ac_compile"
31722 case "(($ac_try" in
31723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31724 *) ac_try_echo=$ac_try;;
31725 esac
31726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31727 (eval "$ac_compile") 2>conftest.er1
31728 ac_status=$?
31729 grep -v '^ *+' conftest.er1 >conftest.err
31730 rm -f conftest.er1
31731 cat conftest.err >&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } && {
31734 test -z "$ac_c_werror_flag" ||
31735 test ! -s conftest.err
31736 } && test -s conftest.$ac_objext; then
31737 ac_cv_header_sql_h=yes
31738 else
31739 echo "$as_me: failed program was:" >&5
31740 sed 's/^/| /' conftest.$ac_ext >&5
31741
31742 ac_cv_header_sql_h=no
31743 fi
31744
31745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31746 fi
31747 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31748 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31749 if test $ac_cv_header_sql_h = yes; then
31750 found_sql_h=1
31751 fi
31752
31753
31754 if test "x$found_sql_h" = "x1" ; then
31755 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31756 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31757 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31760 ac_check_lib_save_LIBS=$LIBS
31761 LIBS="-liodbc $LIBS"
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768
31769 /* Override any GCC internal prototype to avoid an error.
31770 Use char because int might match the return type of a GCC
31771 builtin and then its argument prototype would still apply. */
31772 #ifdef __cplusplus
31773 extern "C"
31774 #endif
31775 char SQLAllocEnv ();
31776 int
31777 main ()
31778 {
31779 return SQLAllocEnv ();
31780 ;
31781 return 0;
31782 }
31783 _ACEOF
31784 rm -f conftest.$ac_objext conftest$ac_exeext
31785 if { (ac_try="$ac_link"
31786 case "(($ac_try" in
31787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31788 *) ac_try_echo=$ac_try;;
31789 esac
31790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31791 (eval "$ac_link") 2>conftest.er1
31792 ac_status=$?
31793 grep -v '^ *+' conftest.er1 >conftest.err
31794 rm -f conftest.er1
31795 cat conftest.err >&5
31796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31797 (exit $ac_status); } && {
31798 test -z "$ac_c_werror_flag" ||
31799 test ! -s conftest.err
31800 } && test -s conftest$ac_exeext &&
31801 $as_test_x conftest$ac_exeext; then
31802 ac_cv_lib_iodbc_SQLAllocEnv=yes
31803 else
31804 echo "$as_me: failed program was:" >&5
31805 sed 's/^/| /' conftest.$ac_ext >&5
31806
31807 ac_cv_lib_iodbc_SQLAllocEnv=no
31808 fi
31809
31810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31811 conftest$ac_exeext conftest.$ac_ext
31812 LIBS=$ac_check_lib_save_LIBS
31813 fi
31814 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31815 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31816 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31817 ODBC_LINK=" -liodbc"
31818 else
31819
31820 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31821 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31822 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31823 echo $ECHO_N "(cached) $ECHO_C" >&6
31824 else
31825 ac_check_lib_save_LIBS=$LIBS
31826 LIBS="-lunixodbc $LIBS"
31827 cat >conftest.$ac_ext <<_ACEOF
31828 /* confdefs.h. */
31829 _ACEOF
31830 cat confdefs.h >>conftest.$ac_ext
31831 cat >>conftest.$ac_ext <<_ACEOF
31832 /* end confdefs.h. */
31833
31834 /* Override any GCC internal prototype to avoid an error.
31835 Use char because int might match the return type of a GCC
31836 builtin and then its argument prototype would still apply. */
31837 #ifdef __cplusplus
31838 extern "C"
31839 #endif
31840 char SQLAllocEnv ();
31841 int
31842 main ()
31843 {
31844 return SQLAllocEnv ();
31845 ;
31846 return 0;
31847 }
31848 _ACEOF
31849 rm -f conftest.$ac_objext conftest$ac_exeext
31850 if { (ac_try="$ac_link"
31851 case "(($ac_try" in
31852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31853 *) ac_try_echo=$ac_try;;
31854 esac
31855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31856 (eval "$ac_link") 2>conftest.er1
31857 ac_status=$?
31858 grep -v '^ *+' conftest.er1 >conftest.err
31859 rm -f conftest.er1
31860 cat conftest.err >&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } && {
31863 test -z "$ac_c_werror_flag" ||
31864 test ! -s conftest.err
31865 } && test -s conftest$ac_exeext &&
31866 $as_test_x conftest$ac_exeext; then
31867 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31868 else
31869 echo "$as_me: failed program was:" >&5
31870 sed 's/^/| /' conftest.$ac_ext >&5
31871
31872 ac_cv_lib_unixodbc_SQLAllocEnv=no
31873 fi
31874
31875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31876 conftest$ac_exeext conftest.$ac_ext
31877 LIBS=$ac_check_lib_save_LIBS
31878 fi
31879 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31880 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31881 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31882 ODBC_LINK=" -lunixodbc"
31883 else
31884
31885 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31886 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31887 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31889 else
31890 ac_check_lib_save_LIBS=$LIBS
31891 LIBS="-lodbc $LIBS"
31892 cat >conftest.$ac_ext <<_ACEOF
31893 /* confdefs.h. */
31894 _ACEOF
31895 cat confdefs.h >>conftest.$ac_ext
31896 cat >>conftest.$ac_ext <<_ACEOF
31897 /* end confdefs.h. */
31898
31899 /* Override any GCC internal prototype to avoid an error.
31900 Use char because int might match the return type of a GCC
31901 builtin and then its argument prototype would still apply. */
31902 #ifdef __cplusplus
31903 extern "C"
31904 #endif
31905 char SQLAllocEnv ();
31906 int
31907 main ()
31908 {
31909 return SQLAllocEnv ();
31910 ;
31911 return 0;
31912 }
31913 _ACEOF
31914 rm -f conftest.$ac_objext conftest$ac_exeext
31915 if { (ac_try="$ac_link"
31916 case "(($ac_try" in
31917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31918 *) ac_try_echo=$ac_try;;
31919 esac
31920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31921 (eval "$ac_link") 2>conftest.er1
31922 ac_status=$?
31923 grep -v '^ *+' conftest.er1 >conftest.err
31924 rm -f conftest.er1
31925 cat conftest.err >&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } && {
31928 test -z "$ac_c_werror_flag" ||
31929 test ! -s conftest.err
31930 } && test -s conftest$ac_exeext &&
31931 $as_test_x conftest$ac_exeext; then
31932 ac_cv_lib_odbc_SQLAllocEnv=yes
31933 else
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.$ac_ext >&5
31936
31937 ac_cv_lib_odbc_SQLAllocEnv=no
31938 fi
31939
31940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31941 conftest$ac_exeext conftest.$ac_ext
31942 LIBS=$ac_check_lib_save_LIBS
31943 fi
31944 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31945 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31946 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31947 ODBC_LINK=" -lodbc"
31948 fi
31949
31950
31951 fi
31952
31953
31954 fi
31955
31956 fi
31957 if test "x$ODBC_LINK" = "x" ; then
31958 if test "$wxUSE_ODBC" = "sys" ; then
31959 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31960 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31961 { (exit 1); exit 1; }; }
31962 else
31963 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31964 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31965 wxUSE_ODBC=builtin
31966 fi
31967 else
31968 wxUSE_ODBC=sys
31969 fi
31970 fi
31971
31972 if test "$wxUSE_ODBC" = "builtin" ; then
31973 cat >>confdefs.h <<\_ACEOF
31974 #define wxUSE_BUILTIN_IODBC 1
31975 _ACEOF
31976
31977 fi
31978 fi
31979
31980 if test "$wxUSE_ODBC" != "no" ; then
31981 cat >>confdefs.h <<\_ACEOF
31982 #define wxUSE_ODBC 1
31983 _ACEOF
31984
31985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31986
31987 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31988 fi
31989
31990
31991 if test "$wxUSE_DISPLAY" = "yes"; then
31992 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31993 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31994 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31995
31996 ac_find_libraries=
31997 for ac_dir in $SEARCH_LIB;
31998 do
31999 for ac_extension in a so sl dylib dll.a; do
32000 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32001 ac_find_libraries=$ac_dir
32002 break 2
32003 fi
32004 done
32005 done
32006
32007 if test "$ac_find_libraries" != "" ; then
32008
32009 if test "$ac_find_libraries" = "default location"; then
32010 ac_path_to_link=""
32011 else
32012 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32013 result=$?
32014 if test $result = 0; then
32015 ac_path_to_link=""
32016 else
32017 ac_path_to_link=" -L$ac_find_libraries"
32018 fi
32019 fi
32020
32021 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32022 LDFLAGS="$LDFLAGS $ac_path_to_link"
32023 fi
32024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32025 { echo "$as_me:$LINENO: result: yes" >&5
32026 echo "${ECHO_T}yes" >&6; }
32027
32028 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32029 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32030
32031 ac_find_libraries=
32032 for ac_dir in $SEARCH_LIB;
32033 do
32034 for ac_extension in a so sl dylib dll.a; do
32035 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32036 ac_find_libraries=$ac_dir
32037 break 2
32038 fi
32039 done
32040 done
32041
32042 if test "$ac_find_libraries" != "" ; then
32043 { echo "$as_me:$LINENO: result: yes" >&5
32044 echo "${ECHO_T}yes" >&6; }
32045 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32046 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32047 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32049 else
32050 cat >conftest.$ac_ext <<_ACEOF
32051 /* confdefs.h. */
32052 _ACEOF
32053 cat confdefs.h >>conftest.$ac_ext
32054 cat >>conftest.$ac_ext <<_ACEOF
32055 /* end confdefs.h. */
32056
32057 #if HAVE_X11_XLIB_H
32058 #include <X11/Xlib.h>
32059 #endif
32060
32061
32062 #include <X11/extensions/xf86vmode.h>
32063 _ACEOF
32064 rm -f conftest.$ac_objext
32065 if { (ac_try="$ac_compile"
32066 case "(($ac_try" in
32067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32068 *) ac_try_echo=$ac_try;;
32069 esac
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_compile") 2>conftest.er1
32072 ac_status=$?
32073 grep -v '^ *+' conftest.er1 >conftest.err
32074 rm -f conftest.er1
32075 cat conftest.err >&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } && {
32078 test -z "$ac_c_werror_flag" ||
32079 test ! -s conftest.err
32080 } && test -s conftest.$ac_objext; then
32081 ac_cv_header_X11_extensions_xf86vmode_h=yes
32082 else
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.$ac_ext >&5
32085
32086 ac_cv_header_X11_extensions_xf86vmode_h=no
32087 fi
32088
32089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32090 fi
32091 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32092 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32093 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32094
32095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32096
32097 fi
32098
32099
32100 else
32101 { echo "$as_me:$LINENO: result: no" >&5
32102 echo "${ECHO_T}no" >&6; }
32103 fi
32104
32105 else
32106 { echo "$as_me:$LINENO: result: no" >&5
32107 echo "${ECHO_T}no" >&6; }
32108 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32109 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32110 wxUSE_DISPLAY="no"
32111 fi
32112 elif test "$wxUSE_MSW" = 1; then
32113 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32114 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32115 if test "${ac_cv_header_ddraw_h+set}" = set; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32117 else
32118 cat >conftest.$ac_ext <<_ACEOF
32119 /* confdefs.h. */
32120 _ACEOF
32121 cat confdefs.h >>conftest.$ac_ext
32122 cat >>conftest.$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32124 #include <windows.h>
32125
32126 #include <ddraw.h>
32127 _ACEOF
32128 rm -f conftest.$ac_objext
32129 if { (ac_try="$ac_compile"
32130 case "(($ac_try" in
32131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32132 *) ac_try_echo=$ac_try;;
32133 esac
32134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32135 (eval "$ac_compile") 2>conftest.er1
32136 ac_status=$?
32137 grep -v '^ *+' conftest.er1 >conftest.err
32138 rm -f conftest.er1
32139 cat conftest.err >&5
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); } && {
32142 test -z "$ac_c_werror_flag" ||
32143 test ! -s conftest.err
32144 } && test -s conftest.$ac_objext; then
32145 ac_cv_header_ddraw_h=yes
32146 else
32147 echo "$as_me: failed program was:" >&5
32148 sed 's/^/| /' conftest.$ac_ext >&5
32149
32150 ac_cv_header_ddraw_h=no
32151 fi
32152
32153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32154 fi
32155 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32156 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32157
32158
32159 fi
32160 fi
32161
32162 if test "$wxUSE_DETECT_SM" = "yes"; then
32163 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32164 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32165 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32166
32167 ac_find_libraries=
32168 for ac_dir in $SEARCH_LIB;
32169 do
32170 for ac_extension in a so sl dylib dll.a; do
32171 if test -f "$ac_dir/libSM.$ac_extension"; then
32172 ac_find_libraries=$ac_dir
32173 break 2
32174 fi
32175 done
32176 done
32177
32178 if test "$ac_find_libraries" != "" ; then
32179
32180 if test "$ac_find_libraries" = "default location"; then
32181 ac_path_to_link=""
32182 else
32183 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32184 result=$?
32185 if test $result = 0; then
32186 ac_path_to_link=""
32187 else
32188 ac_path_to_link=" -L$ac_find_libraries"
32189 fi
32190 fi
32191
32192 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32193 LDFLAGS="$LDFLAGS $ac_path_to_link"
32194 fi
32195 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32196 { echo "$as_me:$LINENO: result: yes" >&5
32197 echo "${ECHO_T}yes" >&6; }
32198 else
32199 { echo "$as_me:$LINENO: result: no" >&5
32200 echo "${ECHO_T}no" >&6; }
32201 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32202 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32203 wxUSE_DETECT_SM="no"
32204 fi
32205 else
32206 wxUSE_DETECT_SM="no"
32207 fi
32208 fi
32209
32210
32211
32212 USE_OPENGL=0
32213 if test "$wxUSE_OPENGL" = "yes"; then
32214 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32215 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32216 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32217 wxUSE_OPENGL="no"
32218 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32219 OPENGL_LIBS="-framework OpenGL -framework AGL"
32220 elif test "$wxUSE_MSW" = 1; then
32221 OPENGL_LIBS="-lopengl32 -lglu32"
32222 else
32223 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32224 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32225
32226 ac_find_includes=
32227 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32228 do
32229 if test -f "$ac_dir/GL/gl.h"; then
32230 ac_find_includes=$ac_dir
32231 break
32232 fi
32233 done
32234
32235 if test "$ac_find_includes" != "" ; then
32236 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32237 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32238
32239 if test "x$ac_find_includes" = "x/usr/include"; then
32240 ac_path_to_include=""
32241 else
32242 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32243 result=$?
32244 if test $result = 0; then
32245 ac_path_to_include=""
32246 else
32247 ac_path_to_include=" -I$ac_find_includes"
32248 fi
32249 fi
32250
32251 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32252 else
32253 { echo "$as_me:$LINENO: result: not found" >&5
32254 echo "${ECHO_T}not found" >&6; }
32255 fi
32256
32257 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32258 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32259 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32260 echo $ECHO_N "(cached) $ECHO_C" >&6
32261 else
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268
32269
32270 #include <GL/gl.h>
32271 _ACEOF
32272 rm -f conftest.$ac_objext
32273 if { (ac_try="$ac_compile"
32274 case "(($ac_try" in
32275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32276 *) ac_try_echo=$ac_try;;
32277 esac
32278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32279 (eval "$ac_compile") 2>conftest.er1
32280 ac_status=$?
32281 grep -v '^ *+' conftest.er1 >conftest.err
32282 rm -f conftest.er1
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } && {
32286 test -z "$ac_c_werror_flag" ||
32287 test ! -s conftest.err
32288 } && test -s conftest.$ac_objext; then
32289 ac_cv_header_GL_gl_h=yes
32290 else
32291 echo "$as_me: failed program was:" >&5
32292 sed 's/^/| /' conftest.$ac_ext >&5
32293
32294 ac_cv_header_GL_gl_h=no
32295 fi
32296
32297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32298 fi
32299 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32300 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32301 if test $ac_cv_header_GL_gl_h = yes; then
32302
32303 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32304 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32305 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32306 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32308 fi
32309 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32310 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32311 else
32312 # Is the header compilable?
32313 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32314 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32315 cat >conftest.$ac_ext <<_ACEOF
32316 /* confdefs.h. */
32317 _ACEOF
32318 cat confdefs.h >>conftest.$ac_ext
32319 cat >>conftest.$ac_ext <<_ACEOF
32320 /* end confdefs.h. */
32321 $ac_includes_default
32322 #include <GL/glu.h>
32323 _ACEOF
32324 rm -f conftest.$ac_objext
32325 if { (ac_try="$ac_compile"
32326 case "(($ac_try" in
32327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32328 *) ac_try_echo=$ac_try;;
32329 esac
32330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32331 (eval "$ac_compile") 2>conftest.er1
32332 ac_status=$?
32333 grep -v '^ *+' conftest.er1 >conftest.err
32334 rm -f conftest.er1
32335 cat conftest.err >&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); } && {
32338 test -z "$ac_c_werror_flag" ||
32339 test ! -s conftest.err
32340 } && test -s conftest.$ac_objext; then
32341 ac_header_compiler=yes
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32345
32346 ac_header_compiler=no
32347 fi
32348
32349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32350 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32351 echo "${ECHO_T}$ac_header_compiler" >&6; }
32352
32353 # Is the header present?
32354 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32355 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32356 cat >conftest.$ac_ext <<_ACEOF
32357 /* confdefs.h. */
32358 _ACEOF
32359 cat confdefs.h >>conftest.$ac_ext
32360 cat >>conftest.$ac_ext <<_ACEOF
32361 /* end confdefs.h. */
32362 #include <GL/glu.h>
32363 _ACEOF
32364 if { (ac_try="$ac_cpp conftest.$ac_ext"
32365 case "(($ac_try" in
32366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32367 *) ac_try_echo=$ac_try;;
32368 esac
32369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32370 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32371 ac_status=$?
32372 grep -v '^ *+' conftest.er1 >conftest.err
32373 rm -f conftest.er1
32374 cat conftest.err >&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } >/dev/null && {
32377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32378 test ! -s conftest.err
32379 }; then
32380 ac_header_preproc=yes
32381 else
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.$ac_ext >&5
32384
32385 ac_header_preproc=no
32386 fi
32387
32388 rm -f conftest.err conftest.$ac_ext
32389 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32390 echo "${ECHO_T}$ac_header_preproc" >&6; }
32391
32392 # So? What about this header?
32393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32394 yes:no: )
32395 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32396 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32397 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32398 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32399 ac_header_preproc=yes
32400 ;;
32401 no:yes:* )
32402 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32403 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32405 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32407 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32408 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32409 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32410 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32411 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32412 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32413 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32414 ( cat <<\_ASBOX
32415 ## ----------------------------------------- ##
32416 ## Report this to wx-dev@lists.wxwidgets.org ##
32417 ## ----------------------------------------- ##
32418 _ASBOX
32419 ) | sed "s/^/$as_me: WARNING: /" >&2
32420 ;;
32421 esac
32422 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32423 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32424 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32425 echo $ECHO_N "(cached) $ECHO_C" >&6
32426 else
32427 ac_cv_header_GL_glu_h=$ac_header_preproc
32428 fi
32429 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32430 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32431
32432 fi
32433 if test $ac_cv_header_GL_glu_h = yes; then
32434
32435 found_gl=0
32436
32437 { echo "$as_me:$LINENO: checking for -lGL" >&5
32438 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32439
32440 ac_find_libraries=
32441 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32442 do
32443 for ac_extension in a so sl dylib dll.a; do
32444 if test -f "$ac_dir/libGL.$ac_extension"; then
32445 ac_find_libraries=$ac_dir
32446 break 2
32447 fi
32448 done
32449 done
32450
32451 if test "$ac_find_libraries" != "" ; then
32452 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32453 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32454
32455
32456 if test "$ac_find_libraries" = "default location"; then
32457 ac_path_to_link=""
32458 else
32459 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32460 result=$?
32461 if test $result = 0; then
32462 ac_path_to_link=""
32463 else
32464 ac_path_to_link=" -L$ac_find_libraries"
32465 fi
32466 fi
32467
32468 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32469 LDFLAGS_GL="$ac_path_to_link"
32470 fi
32471
32472 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32473 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32474
32475 ac_find_libraries=
32476 for ac_dir in $SEARCH_LIB;
32477 do
32478 for ac_extension in a so sl dylib dll.a; do
32479 if test -f "$ac_dir/libGLU.$ac_extension"; then
32480 ac_find_libraries=$ac_dir
32481 break 2
32482 fi
32483 done
32484 done
32485
32486 if test "$ac_find_libraries" != "" ; then
32487
32488 if test "$ac_find_libraries" = "default location"; then
32489 ac_path_to_link=""
32490 else
32491 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32492 result=$?
32493 if test $result = 0; then
32494 ac_path_to_link=""
32495 else
32496 ac_path_to_link=" -L$ac_find_libraries"
32497 fi
32498 fi
32499
32500 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32501 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32502 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32503 fi
32504
32505 found_gl=1
32506 OPENGL_LIBS="-lGL -lGLU"
32507 { echo "$as_me:$LINENO: result: yes" >&5
32508 echo "${ECHO_T}yes" >&6; }
32509 else
32510 { echo "$as_me:$LINENO: result: no" >&5
32511 echo "${ECHO_T}no" >&6; }
32512 fi
32513 else
32514 { echo "$as_me:$LINENO: result: no" >&5
32515 echo "${ECHO_T}no" >&6; }
32516 fi
32517
32518 if test "$found_gl" != 1; then
32519 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32520 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32521
32522 ac_find_libraries=
32523 for ac_dir in $SEARCH_LIB;
32524 do
32525 for ac_extension in a so sl dylib dll.a; do
32526 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32527 ac_find_libraries=$ac_dir
32528 break 2
32529 fi
32530 done
32531 done
32532
32533 if test "$ac_find_libraries" != "" ; then
32534
32535 if test "$ac_find_libraries" = "default location"; then
32536 ac_path_to_link=""
32537 else
32538 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32539 result=$?
32540 if test $result = 0; then
32541 ac_path_to_link=""
32542 else
32543 ac_path_to_link=" -L$ac_find_libraries"
32544 fi
32545 fi
32546
32547 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32548 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32549 { echo "$as_me:$LINENO: result: yes" >&5
32550 echo "${ECHO_T}yes" >&6; }
32551 else
32552 { echo "$as_me:$LINENO: result: no" >&5
32553 echo "${ECHO_T}no" >&6; }
32554 fi
32555 fi
32556
32557 fi
32558
32559
32560
32561 fi
32562
32563
32564
32565 if test "x$OPENGL_LIBS" = "x"; then
32566 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32567 echo "$as_me: error: OpenGL libraries not available" >&2;}
32568 { (exit 1); exit 1; }; }
32569 fi
32570 fi
32571
32572 if test "$wxUSE_OPENGL" = "yes"; then
32573 USE_OPENGL=1
32574 cat >>confdefs.h <<\_ACEOF
32575 #define wxUSE_OPENGL 1
32576 _ACEOF
32577
32578 cat >>confdefs.h <<\_ACEOF
32579 #define wxUSE_GLCANVAS 1
32580 _ACEOF
32581
32582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32583 fi
32584 fi
32585
32586
32587 if test -n "$TOOLKIT" ; then
32588 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32589 fi
32590
32591
32592
32593 if test "$wxUSE_SHARED" = "yes"; then
32594 case "${host}" in
32595 *-pc-msdosdjgpp )
32596 wxUSE_SHARED=no
32597 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32598 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32599 ;;
32600 esac
32601 fi
32602
32603 if test "$wxUSE_SHARED" = "yes"; then
32604
32605
32606 case "${host}" in
32607 *-*-cygwin* | *-*-mingw* )
32608 wx_cv_version_script=no
32609 ;;
32610
32611 *)
32612 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32613 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32614 if test "${wx_cv_version_script+set}" = set; then
32615 echo $ECHO_N "(cached) $ECHO_C" >&6
32616 else
32617
32618 echo "VER_1 { *; };" >conftest.sym
32619 echo "int main() { return 0; }" >conftest.cpp
32620
32621 if { ac_try='
32622 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32623 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32625 (eval $ac_try) 2>&5
32626 ac_status=$?
32627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32628 (exit $ac_status); }; } ; then
32629 if test -s conftest.stderr ; then
32630 wx_cv_version_script=no
32631 else
32632 wx_cv_version_script=yes
32633 fi
32634 else
32635 wx_cv_version_script=no
32636 fi
32637
32638 if test $wx_cv_version_script = yes
32639 then
32640 echo "struct B { virtual ~B() { } }; \
32641 struct D : public B { }; \
32642 void F() { D d; }" > conftest.cpp
32643
32644 if { ac_try='
32645 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32646 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32648 (eval $ac_try) 2>&5
32649 ac_status=$?
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); }; } &&
32652 { ac_try='
32653 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32654 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656 (eval $ac_try) 2>&5
32657 ac_status=$?
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; }
32660 then
32661 if { ac_try='
32662 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32663 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665 (eval $ac_try) 2>&5
32666 ac_status=$?
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); }; }
32669 then
32670 wx_cv_version_script=yes
32671 else
32672 wx_cv_version_script=no
32673 fi
32674 fi
32675 fi
32676
32677 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32678 rm -f conftest1.output conftest2.output conftest3.output
32679
32680 fi
32681 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32682 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32683
32684 if test $wx_cv_version_script = yes ; then
32685 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32686 fi
32687 ;;
32688 esac
32689
32690
32691 case "${host}" in
32692 *-*-linux* | *-*-gnu* )
32693 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32694 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32695 ;;
32696
32697 *-*-solaris2* )
32698 if test "$GCC" = yes ; then
32699 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32700
32701 saveLdflags="$LDFLAGS"
32702 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32703 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32704 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h. */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h. */
32711
32712 int
32713 main ()
32714 {
32715
32716 ;
32717 return 0;
32718 }
32719 _ACEOF
32720 rm -f conftest.$ac_objext conftest$ac_exeext
32721 if { (ac_try="$ac_link"
32722 case "(($ac_try" in
32723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32724 *) ac_try_echo=$ac_try;;
32725 esac
32726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32727 (eval "$ac_link") 2>conftest.er1
32728 ac_status=$?
32729 grep -v '^ *+' conftest.er1 >conftest.err
32730 rm -f conftest.er1
32731 cat conftest.err >&5
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); } && {
32734 test -z "$ac_c_werror_flag" ||
32735 test ! -s conftest.err
32736 } && test -s conftest$ac_exeext &&
32737 $as_test_x conftest$ac_exeext; then
32738
32739 { echo "$as_me:$LINENO: result: yes" >&5
32740 echo "${ECHO_T}yes" >&6; }
32741 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32742 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32743
32744 else
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32747
32748
32749 { echo "$as_me:$LINENO: result: no" >&5
32750 echo "${ECHO_T}no" >&6; }
32751 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32752 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32753 LDFLAGS="$saveLdflags -Wl,-R,/"
32754 cat >conftest.$ac_ext <<_ACEOF
32755 /* confdefs.h. */
32756 _ACEOF
32757 cat confdefs.h >>conftest.$ac_ext
32758 cat >>conftest.$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32760
32761 int
32762 main ()
32763 {
32764
32765 ;
32766 return 0;
32767 }
32768 _ACEOF
32769 rm -f conftest.$ac_objext conftest$ac_exeext
32770 if { (ac_try="$ac_link"
32771 case "(($ac_try" in
32772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32773 *) ac_try_echo=$ac_try;;
32774 esac
32775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32776 (eval "$ac_link") 2>conftest.er1
32777 ac_status=$?
32778 grep -v '^ *+' conftest.er1 >conftest.err
32779 rm -f conftest.er1
32780 cat conftest.err >&5
32781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32782 (exit $ac_status); } && {
32783 test -z "$ac_c_werror_flag" ||
32784 test ! -s conftest.err
32785 } && test -s conftest$ac_exeext &&
32786 $as_test_x conftest$ac_exeext; then
32787
32788 { echo "$as_me:$LINENO: result: yes" >&5
32789 echo "${ECHO_T}yes" >&6; }
32790 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32791 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32792
32793 else
32794 echo "$as_me: failed program was:" >&5
32795 sed 's/^/| /' conftest.$ac_ext >&5
32796
32797
32798 { echo "$as_me:$LINENO: result: no" >&5
32799 echo "${ECHO_T}no" >&6; }
32800
32801 fi
32802
32803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32804 conftest$ac_exeext conftest.$ac_ext
32805
32806 fi
32807
32808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32809 conftest$ac_exeext conftest.$ac_ext
32810 LDFLAGS="$saveLdflags"
32811 else
32812 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32813 WXCONFIG_RPATH="-R\$libdir"
32814 fi
32815 ;;
32816
32817 *-*-darwin* )
32818 install_name_tool=`which install_name_tool`
32819 if test "$install_name_tool" -a -x "$install_name_tool"; then
32820 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32821 cat <<EOF >change-install-names
32822 #!/bin/sh
32823 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32824 inst_cmd="install_name_tool "
32825 for i in \${libnames} ; do
32826 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32827 done
32828 \${inst_cmd} \${3}
32829 EOF
32830 chmod +x change-install-names
32831 fi
32832 ;;
32833
32834 *-*-cygwin* | *-*-mingw32* )
32835 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32836 ;;
32837
32838 *-*-hpux* )
32839 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32840 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32841 ;;
32842
32843 esac
32844
32845 if test $wxUSE_RPATH = "no"; then
32846 SAMPLES_RPATH_FLAG=''
32847 SAMPLES_RPATH_POSTLINK=''
32848 WXCONFIG_RPATH=''
32849 fi
32850
32851 SHARED=1
32852
32853 else
32854
32855 config_linkage_component="-static"
32856 SHARED=0
32857
32858 fi
32859
32860
32861 UNICODE=0
32862 lib_unicode_suffix=
32863 WX_CHARTYPE="ansi"
32864 if test "$wxUSE_UNICODE" = "yes"; then
32865 lib_unicode_suffix=u
32866 WX_CHARTYPE="unicode"
32867 UNICODE=1
32868 fi
32869
32870 lib_debug_suffix=
32871 WX_DEBUGTYPE="release"
32872 DEBUG_FLAG=0
32873 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32874 lib_debug_suffix=d
32875 WX_DEBUGTYPE="debug"
32876 DEBUG_FLAG=1
32877 fi
32878
32879 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32880 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32881
32882 DEBUG_INFO=0
32883 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32884 DEBUG_INFO=1
32885 fi
32886
32887 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32888
32889 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32890
32891 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32892
32893 if test "$cross_compiling" = "yes"; then
32894 HOST_SUFFIX="-$host_alias"
32895 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32896 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32897 fi
32898
32899 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32900 if test "${TOOLKIT_DIR}" = "os2"; then
32901 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32902 else
32903 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32904 fi
32905
32906
32907
32908 if test "$wxUSE_COCOA" = 1; then
32909
32910 ac_ext=c
32911 ac_cpp='$CPP $CPPFLAGS'
32912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32915
32916 ac_ext=m
32917
32918 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32919 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32920 cat >conftest.$ac_ext <<_ACEOF
32921 /* confdefs.h. */
32922 _ACEOF
32923 cat confdefs.h >>conftest.$ac_ext
32924 cat >>conftest.$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32926 #include <AppKit/NSEvent.h>
32927 #include <CoreFoundation/CoreFoundation.h>
32928
32929 int
32930 main ()
32931 {
32932
32933 ;
32934 return 0;
32935 }
32936 _ACEOF
32937 rm -f conftest.$ac_objext
32938 if { (ac_try="$ac_compile"
32939 case "(($ac_try" in
32940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32941 *) ac_try_echo=$ac_try;;
32942 esac
32943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32944 (eval "$ac_compile") 2>conftest.er1
32945 ac_status=$?
32946 grep -v '^ *+' conftest.er1 >conftest.err
32947 rm -f conftest.er1
32948 cat conftest.err >&5
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); } && {
32951 test -z "$ac_c_werror_flag" ||
32952 test ! -s conftest.err
32953 } && test -s conftest.$ac_objext; then
32954 { echo "$as_me:$LINENO: result: no" >&5
32955 echo "${ECHO_T}no" >&6; }
32956 else
32957 echo "$as_me: failed program was:" >&5
32958 sed 's/^/| /' conftest.$ac_ext >&5
32959
32960 { echo "$as_me:$LINENO: result: yes" >&5
32961 echo "${ECHO_T}yes" >&6; }
32962 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32963 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32964 cat >conftest.$ac_ext <<_ACEOF
32965 /* confdefs.h. */
32966 _ACEOF
32967 cat confdefs.h >>conftest.$ac_ext
32968 cat >>conftest.$ac_ext <<_ACEOF
32969 /* end confdefs.h. */
32970 #define __Point__ 1
32971 #include <AppKit/NSEvent.h>
32972 #include <CoreFoundation/CoreFoundation.h>
32973
32974 int
32975 main ()
32976 {
32977
32978 ;
32979 return 0;
32980 }
32981 _ACEOF
32982 rm -f conftest.$ac_objext
32983 if { (ac_try="$ac_compile"
32984 case "(($ac_try" in
32985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32986 *) ac_try_echo=$ac_try;;
32987 esac
32988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32989 (eval "$ac_compile") 2>conftest.er1
32990 ac_status=$?
32991 grep -v '^ *+' conftest.er1 >conftest.err
32992 rm -f conftest.er1
32993 cat conftest.err >&5
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); } && {
32996 test -z "$ac_c_werror_flag" ||
32997 test ! -s conftest.err
32998 } && test -s conftest.$ac_objext; then
32999 { echo "$as_me:$LINENO: result: yes" >&5
33000 echo "${ECHO_T}yes" >&6; }
33001 cat >>confdefs.h <<\_ACEOF
33002 #define __Point__ 1
33003 _ACEOF
33004
33005
33006 else
33007 echo "$as_me: failed program was:" >&5
33008 sed 's/^/| /' conftest.$ac_ext >&5
33009
33010 { { echo "$as_me:$LINENO: error: no
33011 See \`config.log' for more details." >&5
33012 echo "$as_me: error: no
33013 See \`config.log' for more details." >&2;}
33014 { (exit 1); exit 1; }; }
33015
33016 fi
33017
33018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33019
33020 fi
33021
33022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33023 ac_ext=c
33024 ac_cpp='$CPP $CPPFLAGS'
33025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33028
33029 fi
33030
33031 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33032 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33033 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33034
33035 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33036
33037 # Extract the first word of "Rez", so it can be a program name with args.
33038 set dummy Rez; ac_word=$2
33039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33041 if test "${ac_cv_prog_REZ+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 else
33044 if test -n "$REZ"; then
33045 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33046 else
33047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33048 for as_dir in $PATH
33049 do
33050 IFS=$as_save_IFS
33051 test -z "$as_dir" && as_dir=.
33052 for ac_exec_ext in '' $ac_executable_extensions; do
33053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33054 ac_cv_prog_REZ="Rez"
33055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33056 break 2
33057 fi
33058 done
33059 done
33060 IFS=$as_save_IFS
33061
33062 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33063 fi
33064 fi
33065 REZ=$ac_cv_prog_REZ
33066 if test -n "$REZ"; then
33067 { echo "$as_me:$LINENO: result: $REZ" >&5
33068 echo "${ECHO_T}$REZ" >&6; }
33069 else
33070 { echo "$as_me:$LINENO: result: no" >&5
33071 echo "${ECHO_T}no" >&6; }
33072 fi
33073
33074
33075 # Extract the first word of "DeRez", so it can be a program name with args.
33076 set dummy DeRez; ac_word=$2
33077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33079 if test "${ac_cv_prog_DEREZ+set}" = set; then
33080 echo $ECHO_N "(cached) $ECHO_C" >&6
33081 else
33082 if test -n "$DEREZ"; then
33083 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33084 else
33085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33086 for as_dir in $PATH
33087 do
33088 IFS=$as_save_IFS
33089 test -z "$as_dir" && as_dir=.
33090 for ac_exec_ext in '' $ac_executable_extensions; do
33091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33092 ac_cv_prog_DEREZ="DeRez"
33093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33094 break 2
33095 fi
33096 done
33097 done
33098 IFS=$as_save_IFS
33099
33100 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33101 fi
33102 fi
33103 DEREZ=$ac_cv_prog_DEREZ
33104 if test -n "$DEREZ"; then
33105 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33106 echo "${ECHO_T}$DEREZ" >&6; }
33107 else
33108 { echo "$as_me:$LINENO: result: no" >&5
33109 echo "${ECHO_T}no" >&6; }
33110 fi
33111
33112
33113 # Extract the first word of "SetFile", so it can be a program name with args.
33114 set dummy SetFile; ac_word=$2
33115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33117 if test "${ac_cv_prog_SETFILE+set}" = set; then
33118 echo $ECHO_N "(cached) $ECHO_C" >&6
33119 else
33120 if test -n "$SETFILE"; then
33121 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33122 else
33123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33124 for as_dir in $PATH
33125 do
33126 IFS=$as_save_IFS
33127 test -z "$as_dir" && as_dir=.
33128 for ac_exec_ext in '' $ac_executable_extensions; do
33129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33130 ac_cv_prog_SETFILE="SetFile"
33131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33132 break 2
33133 fi
33134 done
33135 done
33136 IFS=$as_save_IFS
33137
33138 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33139 fi
33140 fi
33141 SETFILE=$ac_cv_prog_SETFILE
33142 if test -n "$SETFILE"; then
33143 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33144 echo "${ECHO_T}$SETFILE" >&6; }
33145 else
33146 { echo "$as_me:$LINENO: result: no" >&5
33147 echo "${ECHO_T}no" >&6; }
33148 fi
33149
33150
33151
33152 MACSETFILE="\$(SETFILE)"
33153
33154 if test "$wxUSE_MAC" = 1; then
33155 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33156 RESCOMP="$REZ"
33157 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33158 else
33159 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33160 RESCOMP="echo -n \| $REZ"
33161 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33162 fi
33163
33164 else
33165 MACSETFILE="@true"
33166
33167 if test "$wxUSE_PM" = 1; then
33168 RESCOMP="emxbind"
33169 WXCONFIG_RESFLAGS="-ep"
33170
33171 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33172 else
33173 POSTLINK_COMMAND="@true"
33174 fi
33175
33176 fi
33177
33178
33179
33180 { echo "$as_me:$LINENO: checking for mode_t" >&5
33181 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33182 if test "${ac_cv_type_mode_t+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 cat >conftest.$ac_ext <<_ACEOF
33186 /* confdefs.h. */
33187 _ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 $ac_includes_default
33192 typedef mode_t ac__type_new_;
33193 int
33194 main ()
33195 {
33196 if ((ac__type_new_ *) 0)
33197 return 0;
33198 if (sizeof (ac__type_new_))
33199 return 0;
33200 ;
33201 return 0;
33202 }
33203 _ACEOF
33204 rm -f conftest.$ac_objext
33205 if { (ac_try="$ac_compile"
33206 case "(($ac_try" in
33207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33208 *) ac_try_echo=$ac_try;;
33209 esac
33210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33211 (eval "$ac_compile") 2>conftest.er1
33212 ac_status=$?
33213 grep -v '^ *+' conftest.er1 >conftest.err
33214 rm -f conftest.er1
33215 cat conftest.err >&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); } && {
33218 test -z "$ac_c_werror_flag" ||
33219 test ! -s conftest.err
33220 } && test -s conftest.$ac_objext; then
33221 ac_cv_type_mode_t=yes
33222 else
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33225
33226 ac_cv_type_mode_t=no
33227 fi
33228
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33230 fi
33231 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33232 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33233 if test $ac_cv_type_mode_t = yes; then
33234 :
33235 else
33236
33237 cat >>confdefs.h <<_ACEOF
33238 #define mode_t int
33239 _ACEOF
33240
33241 fi
33242
33243 { echo "$as_me:$LINENO: checking for off_t" >&5
33244 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33245 if test "${ac_cv_type_off_t+set}" = set; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 else
33248 cat >conftest.$ac_ext <<_ACEOF
33249 /* confdefs.h. */
33250 _ACEOF
33251 cat confdefs.h >>conftest.$ac_ext
33252 cat >>conftest.$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 $ac_includes_default
33255 typedef off_t ac__type_new_;
33256 int
33257 main ()
33258 {
33259 if ((ac__type_new_ *) 0)
33260 return 0;
33261 if (sizeof (ac__type_new_))
33262 return 0;
33263 ;
33264 return 0;
33265 }
33266 _ACEOF
33267 rm -f conftest.$ac_objext
33268 if { (ac_try="$ac_compile"
33269 case "(($ac_try" in
33270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33271 *) ac_try_echo=$ac_try;;
33272 esac
33273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33274 (eval "$ac_compile") 2>conftest.er1
33275 ac_status=$?
33276 grep -v '^ *+' conftest.er1 >conftest.err
33277 rm -f conftest.er1
33278 cat conftest.err >&5
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); } && {
33281 test -z "$ac_c_werror_flag" ||
33282 test ! -s conftest.err
33283 } && test -s conftest.$ac_objext; then
33284 ac_cv_type_off_t=yes
33285 else
33286 echo "$as_me: failed program was:" >&5
33287 sed 's/^/| /' conftest.$ac_ext >&5
33288
33289 ac_cv_type_off_t=no
33290 fi
33291
33292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33293 fi
33294 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33295 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33296 if test $ac_cv_type_off_t = yes; then
33297 :
33298 else
33299
33300 cat >>confdefs.h <<_ACEOF
33301 #define off_t long int
33302 _ACEOF
33303
33304 fi
33305
33306 { echo "$as_me:$LINENO: checking for pid_t" >&5
33307 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33308 if test "${ac_cv_type_pid_t+set}" = set; then
33309 echo $ECHO_N "(cached) $ECHO_C" >&6
33310 else
33311 cat >conftest.$ac_ext <<_ACEOF
33312 /* confdefs.h. */
33313 _ACEOF
33314 cat confdefs.h >>conftest.$ac_ext
33315 cat >>conftest.$ac_ext <<_ACEOF
33316 /* end confdefs.h. */
33317 $ac_includes_default
33318 typedef pid_t ac__type_new_;
33319 int
33320 main ()
33321 {
33322 if ((ac__type_new_ *) 0)
33323 return 0;
33324 if (sizeof (ac__type_new_))
33325 return 0;
33326 ;
33327 return 0;
33328 }
33329 _ACEOF
33330 rm -f conftest.$ac_objext
33331 if { (ac_try="$ac_compile"
33332 case "(($ac_try" in
33333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33334 *) ac_try_echo=$ac_try;;
33335 esac
33336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33337 (eval "$ac_compile") 2>conftest.er1
33338 ac_status=$?
33339 grep -v '^ *+' conftest.er1 >conftest.err
33340 rm -f conftest.er1
33341 cat conftest.err >&5
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } && {
33344 test -z "$ac_c_werror_flag" ||
33345 test ! -s conftest.err
33346 } && test -s conftest.$ac_objext; then
33347 ac_cv_type_pid_t=yes
33348 else
33349 echo "$as_me: failed program was:" >&5
33350 sed 's/^/| /' conftest.$ac_ext >&5
33351
33352 ac_cv_type_pid_t=no
33353 fi
33354
33355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33356 fi
33357 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33358 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33359 if test $ac_cv_type_pid_t = yes; then
33360 :
33361 else
33362
33363 cat >>confdefs.h <<_ACEOF
33364 #define pid_t int
33365 _ACEOF
33366
33367 fi
33368
33369 { echo "$as_me:$LINENO: checking for size_t" >&5
33370 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33371 if test "${ac_cv_type_size_t+set}" = set; then
33372 echo $ECHO_N "(cached) $ECHO_C" >&6
33373 else
33374 cat >conftest.$ac_ext <<_ACEOF
33375 /* confdefs.h. */
33376 _ACEOF
33377 cat confdefs.h >>conftest.$ac_ext
33378 cat >>conftest.$ac_ext <<_ACEOF
33379 /* end confdefs.h. */
33380 $ac_includes_default
33381 typedef size_t ac__type_new_;
33382 int
33383 main ()
33384 {
33385 if ((ac__type_new_ *) 0)
33386 return 0;
33387 if (sizeof (ac__type_new_))
33388 return 0;
33389 ;
33390 return 0;
33391 }
33392 _ACEOF
33393 rm -f conftest.$ac_objext
33394 if { (ac_try="$ac_compile"
33395 case "(($ac_try" in
33396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33397 *) ac_try_echo=$ac_try;;
33398 esac
33399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33400 (eval "$ac_compile") 2>conftest.er1
33401 ac_status=$?
33402 grep -v '^ *+' conftest.er1 >conftest.err
33403 rm -f conftest.er1
33404 cat conftest.err >&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } && {
33407 test -z "$ac_c_werror_flag" ||
33408 test ! -s conftest.err
33409 } && test -s conftest.$ac_objext; then
33410 ac_cv_type_size_t=yes
33411 else
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33414
33415 ac_cv_type_size_t=no
33416 fi
33417
33418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33419 fi
33420 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33421 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33422 if test $ac_cv_type_size_t = yes; then
33423 :
33424 else
33425
33426 cat >>confdefs.h <<_ACEOF
33427 #define size_t unsigned int
33428 _ACEOF
33429
33430 fi
33431
33432 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33433 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33434 if test "${ac_cv_type_uid_t+set}" = set; then
33435 echo $ECHO_N "(cached) $ECHO_C" >&6
33436 else
33437 cat >conftest.$ac_ext <<_ACEOF
33438 /* confdefs.h. */
33439 _ACEOF
33440 cat confdefs.h >>conftest.$ac_ext
33441 cat >>conftest.$ac_ext <<_ACEOF
33442 /* end confdefs.h. */
33443 #include <sys/types.h>
33444
33445 _ACEOF
33446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33447 $EGREP "uid_t" >/dev/null 2>&1; then
33448 ac_cv_type_uid_t=yes
33449 else
33450 ac_cv_type_uid_t=no
33451 fi
33452 rm -f conftest*
33453
33454 fi
33455 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33456 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33457 if test $ac_cv_type_uid_t = no; then
33458
33459 cat >>confdefs.h <<\_ACEOF
33460 #define uid_t int
33461 _ACEOF
33462
33463
33464 cat >>confdefs.h <<\_ACEOF
33465 #define gid_t int
33466 _ACEOF
33467
33468 fi
33469
33470
33471 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33472 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33473 if test "${ac_cv_type_ssize_t+set}" = set; then
33474 echo $ECHO_N "(cached) $ECHO_C" >&6
33475 else
33476 cat >conftest.$ac_ext <<_ACEOF
33477 /* confdefs.h. */
33478 _ACEOF
33479 cat confdefs.h >>conftest.$ac_ext
33480 cat >>conftest.$ac_ext <<_ACEOF
33481 /* end confdefs.h. */
33482 $ac_includes_default
33483 typedef ssize_t ac__type_new_;
33484 int
33485 main ()
33486 {
33487 if ((ac__type_new_ *) 0)
33488 return 0;
33489 if (sizeof (ac__type_new_))
33490 return 0;
33491 ;
33492 return 0;
33493 }
33494 _ACEOF
33495 rm -f conftest.$ac_objext
33496 if { (ac_try="$ac_compile"
33497 case "(($ac_try" in
33498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33499 *) ac_try_echo=$ac_try;;
33500 esac
33501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33502 (eval "$ac_compile") 2>conftest.er1
33503 ac_status=$?
33504 grep -v '^ *+' conftest.er1 >conftest.err
33505 rm -f conftest.er1
33506 cat conftest.err >&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); } && {
33509 test -z "$ac_c_werror_flag" ||
33510 test ! -s conftest.err
33511 } && test -s conftest.$ac_objext; then
33512 ac_cv_type_ssize_t=yes
33513 else
33514 echo "$as_me: failed program was:" >&5
33515 sed 's/^/| /' conftest.$ac_ext >&5
33516
33517 ac_cv_type_ssize_t=no
33518 fi
33519
33520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33521 fi
33522 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33523 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33524 if test $ac_cv_type_ssize_t = yes; then
33525
33526 cat >>confdefs.h <<_ACEOF
33527 #define HAVE_SSIZE_T 1
33528 _ACEOF
33529
33530
33531 fi
33532
33533
33534 ac_ext=cpp
33535 ac_cpp='$CXXCPP $CPPFLAGS'
33536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33539 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33540 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33541 if test "${wx_cv_size_t_is_uint+set}" = set; then
33542 echo $ECHO_N "(cached) $ECHO_C" >&6
33543 else
33544
33545 cat >conftest.$ac_ext <<_ACEOF
33546 /* confdefs.h. */
33547 _ACEOF
33548 cat confdefs.h >>conftest.$ac_ext
33549 cat >>conftest.$ac_ext <<_ACEOF
33550 /* end confdefs.h. */
33551 #include <stddef.h>
33552 int
33553 main ()
33554 {
33555
33556 return 0; }
33557
33558 struct Foo { void foo(size_t); void foo(unsigned int); };
33559
33560 int bar() {
33561
33562 ;
33563 return 0;
33564 }
33565 _ACEOF
33566 rm -f conftest.$ac_objext
33567 if { (ac_try="$ac_compile"
33568 case "(($ac_try" in
33569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33570 *) ac_try_echo=$ac_try;;
33571 esac
33572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33573 (eval "$ac_compile") 2>conftest.er1
33574 ac_status=$?
33575 grep -v '^ *+' conftest.er1 >conftest.err
33576 rm -f conftest.er1
33577 cat conftest.err >&5
33578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33579 (exit $ac_status); } && {
33580 test -z "$ac_cxx_werror_flag" ||
33581 test ! -s conftest.err
33582 } && test -s conftest.$ac_objext; then
33583 wx_cv_size_t_is_uint=no
33584 else
33585 echo "$as_me: failed program was:" >&5
33586 sed 's/^/| /' conftest.$ac_ext >&5
33587
33588 wx_cv_size_t_is_uint=yes
33589
33590 fi
33591
33592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33593
33594
33595 fi
33596 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33597 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33598
33599 if test "$wx_cv_size_t_is_uint" = "yes"; then
33600 cat >>confdefs.h <<\_ACEOF
33601 #define wxSIZE_T_IS_UINT 1
33602 _ACEOF
33603
33604 else
33605 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33606 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33607 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33608 echo $ECHO_N "(cached) $ECHO_C" >&6
33609 else
33610 cat >conftest.$ac_ext <<_ACEOF
33611 /* confdefs.h. */
33612 _ACEOF
33613 cat confdefs.h >>conftest.$ac_ext
33614 cat >>conftest.$ac_ext <<_ACEOF
33615 /* end confdefs.h. */
33616 #include <stddef.h>
33617 int
33618 main ()
33619 {
33620
33621 return 0; }
33622
33623 struct Foo { void foo(size_t); void foo(unsigned long); };
33624
33625 int bar() {
33626
33627 ;
33628 return 0;
33629 }
33630 _ACEOF
33631 rm -f conftest.$ac_objext
33632 if { (ac_try="$ac_compile"
33633 case "(($ac_try" in
33634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33635 *) ac_try_echo=$ac_try;;
33636 esac
33637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33638 (eval "$ac_compile") 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } && {
33645 test -z "$ac_cxx_werror_flag" ||
33646 test ! -s conftest.err
33647 } && test -s conftest.$ac_objext; then
33648 wx_cv_size_t_is_ulong=no
33649 else
33650 echo "$as_me: failed program was:" >&5
33651 sed 's/^/| /' conftest.$ac_ext >&5
33652
33653 wx_cv_size_t_is_ulong=yes
33654
33655 fi
33656
33657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33658
33659 fi
33660 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33661 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33662
33663 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33664 cat >>confdefs.h <<\_ACEOF
33665 #define wxSIZE_T_IS_ULONG 1
33666 _ACEOF
33667
33668 fi
33669 fi
33670
33671 ac_ext=c
33672 ac_cpp='$CPP $CPPFLAGS'
33673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33676
33677
33678 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33679 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33680 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 else
33683
33684 cat >conftest.$ac_ext <<_ACEOF
33685 /* confdefs.h. */
33686 _ACEOF
33687 cat confdefs.h >>conftest.$ac_ext
33688 cat >>conftest.$ac_ext <<_ACEOF
33689 /* end confdefs.h. */
33690 #include <pwd.h>
33691 int
33692 main ()
33693 {
33694
33695 char *p;
33696 struct passwd *pw;
33697 p = pw->pw_gecos;
33698
33699 ;
33700 return 0;
33701 }
33702 _ACEOF
33703 rm -f conftest.$ac_objext
33704 if { (ac_try="$ac_compile"
33705 case "(($ac_try" in
33706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33707 *) ac_try_echo=$ac_try;;
33708 esac
33709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33710 (eval "$ac_compile") 2>conftest.er1
33711 ac_status=$?
33712 grep -v '^ *+' conftest.er1 >conftest.err
33713 rm -f conftest.er1
33714 cat conftest.err >&5
33715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33716 (exit $ac_status); } && {
33717 test -z "$ac_c_werror_flag" ||
33718 test ! -s conftest.err
33719 } && test -s conftest.$ac_objext; then
33720
33721 wx_cv_struct_pw_gecos=yes
33722
33723 else
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.$ac_ext >&5
33726
33727
33728 wx_cv_struct_pw_gecos=no
33729
33730
33731 fi
33732
33733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33734
33735
33736 fi
33737 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33738 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33739
33740 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33741 cat >>confdefs.h <<\_ACEOF
33742 #define HAVE_PW_GECOS 1
33743 _ACEOF
33744
33745 fi
33746
33747
33748 if test "$wxUSE_WCHAR_T" = "yes"; then
33749 cat >>confdefs.h <<\_ACEOF
33750 #define wxUSE_WCHAR_T 1
33751 _ACEOF
33752
33753
33754 WCSLEN_FOUND=0
33755 WCHAR_LINK=
33756
33757 for ac_func in wcslen
33758 do
33759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 else
33765 cat >conftest.$ac_ext <<_ACEOF
33766 /* confdefs.h. */
33767 _ACEOF
33768 cat confdefs.h >>conftest.$ac_ext
33769 cat >>conftest.$ac_ext <<_ACEOF
33770 /* end confdefs.h. */
33771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33773 #define $ac_func innocuous_$ac_func
33774
33775 /* System header to define __stub macros and hopefully few prototypes,
33776 which can conflict with char $ac_func (); below.
33777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33778 <limits.h> exists even on freestanding compilers. */
33779
33780 #ifdef __STDC__
33781 # include <limits.h>
33782 #else
33783 # include <assert.h>
33784 #endif
33785
33786 #undef $ac_func
33787
33788 /* Override any GCC internal prototype to avoid an error.
33789 Use char because int might match the return type of a GCC
33790 builtin and then its argument prototype would still apply. */
33791 #ifdef __cplusplus
33792 extern "C"
33793 #endif
33794 char $ac_func ();
33795 /* The GNU C library defines this for functions which it implements
33796 to always fail with ENOSYS. Some functions are actually named
33797 something starting with __ and the normal name is an alias. */
33798 #if defined __stub_$ac_func || defined __stub___$ac_func
33799 choke me
33800 #endif
33801
33802 int
33803 main ()
33804 {
33805 return $ac_func ();
33806 ;
33807 return 0;
33808 }
33809 _ACEOF
33810 rm -f conftest.$ac_objext conftest$ac_exeext
33811 if { (ac_try="$ac_link"
33812 case "(($ac_try" in
33813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33814 *) ac_try_echo=$ac_try;;
33815 esac
33816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33817 (eval "$ac_link") 2>conftest.er1
33818 ac_status=$?
33819 grep -v '^ *+' conftest.er1 >conftest.err
33820 rm -f conftest.er1
33821 cat conftest.err >&5
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); } && {
33824 test -z "$ac_c_werror_flag" ||
33825 test ! -s conftest.err
33826 } && test -s conftest$ac_exeext &&
33827 $as_test_x conftest$ac_exeext; then
33828 eval "$as_ac_var=yes"
33829 else
33830 echo "$as_me: failed program was:" >&5
33831 sed 's/^/| /' conftest.$ac_ext >&5
33832
33833 eval "$as_ac_var=no"
33834 fi
33835
33836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33837 conftest$ac_exeext conftest.$ac_ext
33838 fi
33839 ac_res=`eval echo '${'$as_ac_var'}'`
33840 { echo "$as_me:$LINENO: result: $ac_res" >&5
33841 echo "${ECHO_T}$ac_res" >&6; }
33842 if test `eval echo '${'$as_ac_var'}'` = yes; then
33843 cat >>confdefs.h <<_ACEOF
33844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33845 _ACEOF
33846 WCSLEN_FOUND=1
33847 fi
33848 done
33849
33850
33851 if test "$WCSLEN_FOUND" = 0; then
33852 if test "$TOOLKIT" = "MSW"; then
33853 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33854 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33855 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33856 echo $ECHO_N "(cached) $ECHO_C" >&6
33857 else
33858 ac_check_lib_save_LIBS=$LIBS
33859 LIBS="-lmsvcrt $LIBS"
33860 cat >conftest.$ac_ext <<_ACEOF
33861 /* confdefs.h. */
33862 _ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33866
33867 /* Override any GCC internal prototype to avoid an error.
33868 Use char because int might match the return type of a GCC
33869 builtin and then its argument prototype would still apply. */
33870 #ifdef __cplusplus
33871 extern "C"
33872 #endif
33873 char wcslen ();
33874 int
33875 main ()
33876 {
33877 return wcslen ();
33878 ;
33879 return 0;
33880 }
33881 _ACEOF
33882 rm -f conftest.$ac_objext conftest$ac_exeext
33883 if { (ac_try="$ac_link"
33884 case "(($ac_try" in
33885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33886 *) ac_try_echo=$ac_try;;
33887 esac
33888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33889 (eval "$ac_link") 2>conftest.er1
33890 ac_status=$?
33891 grep -v '^ *+' conftest.er1 >conftest.err
33892 rm -f conftest.er1
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } && {
33896 test -z "$ac_c_werror_flag" ||
33897 test ! -s conftest.err
33898 } && test -s conftest$ac_exeext &&
33899 $as_test_x conftest$ac_exeext; then
33900 ac_cv_lib_msvcrt_wcslen=yes
33901 else
33902 echo "$as_me: failed program was:" >&5
33903 sed 's/^/| /' conftest.$ac_ext >&5
33904
33905 ac_cv_lib_msvcrt_wcslen=no
33906 fi
33907
33908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33909 conftest$ac_exeext conftest.$ac_ext
33910 LIBS=$ac_check_lib_save_LIBS
33911 fi
33912 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33913 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33914 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33915 WCHAR_OK=1
33916 fi
33917
33918 else
33919 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33920 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33921 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33922 echo $ECHO_N "(cached) $ECHO_C" >&6
33923 else
33924 ac_check_lib_save_LIBS=$LIBS
33925 LIBS="-lw $LIBS"
33926 cat >conftest.$ac_ext <<_ACEOF
33927 /* confdefs.h. */
33928 _ACEOF
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33932
33933 /* Override any GCC internal prototype to avoid an error.
33934 Use char because int might match the return type of a GCC
33935 builtin and then its argument prototype would still apply. */
33936 #ifdef __cplusplus
33937 extern "C"
33938 #endif
33939 char wcslen ();
33940 int
33941 main ()
33942 {
33943 return wcslen ();
33944 ;
33945 return 0;
33946 }
33947 _ACEOF
33948 rm -f conftest.$ac_objext conftest$ac_exeext
33949 if { (ac_try="$ac_link"
33950 case "(($ac_try" in
33951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33952 *) ac_try_echo=$ac_try;;
33953 esac
33954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33955 (eval "$ac_link") 2>conftest.er1
33956 ac_status=$?
33957 grep -v '^ *+' conftest.er1 >conftest.err
33958 rm -f conftest.er1
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } && {
33962 test -z "$ac_c_werror_flag" ||
33963 test ! -s conftest.err
33964 } && test -s conftest$ac_exeext &&
33965 $as_test_x conftest$ac_exeext; then
33966 ac_cv_lib_w_wcslen=yes
33967 else
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33970
33971 ac_cv_lib_w_wcslen=no
33972 fi
33973
33974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33975 conftest$ac_exeext conftest.$ac_ext
33976 LIBS=$ac_check_lib_save_LIBS
33977 fi
33978 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33979 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33980 if test $ac_cv_lib_w_wcslen = yes; then
33981
33982 WCHAR_LINK=" -lw"
33983 WCSLEN_FOUND=1
33984
33985 fi
33986
33987 fi
33988 fi
33989
33990 if test "$WCSLEN_FOUND" = 1; then
33991 cat >>confdefs.h <<\_ACEOF
33992 #define HAVE_WCSLEN 1
33993 _ACEOF
33994
33995 fi
33996
33997 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33998 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33999 fi
34000
34001 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34002 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34003 if test "${ac_cv_type_mbstate_t+set}" = set; then
34004 echo $ECHO_N "(cached) $ECHO_C" >&6
34005 else
34006 cat >conftest.$ac_ext <<_ACEOF
34007 /* confdefs.h. */
34008 _ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34012 #include <wchar.h>
34013
34014 typedef mbstate_t ac__type_new_;
34015 int
34016 main ()
34017 {
34018 if ((ac__type_new_ *) 0)
34019 return 0;
34020 if (sizeof (ac__type_new_))
34021 return 0;
34022 ;
34023 return 0;
34024 }
34025 _ACEOF
34026 rm -f conftest.$ac_objext
34027 if { (ac_try="$ac_compile"
34028 case "(($ac_try" in
34029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34030 *) ac_try_echo=$ac_try;;
34031 esac
34032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34033 (eval "$ac_compile") 2>conftest.er1
34034 ac_status=$?
34035 grep -v '^ *+' conftest.er1 >conftest.err
34036 rm -f conftest.er1
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } && {
34040 test -z "$ac_c_werror_flag" ||
34041 test ! -s conftest.err
34042 } && test -s conftest.$ac_objext; then
34043 ac_cv_type_mbstate_t=yes
34044 else
34045 echo "$as_me: failed program was:" >&5
34046 sed 's/^/| /' conftest.$ac_ext >&5
34047
34048 ac_cv_type_mbstate_t=no
34049 fi
34050
34051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34052 fi
34053 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34054 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34055 if test $ac_cv_type_mbstate_t = yes; then
34056
34057 cat >>confdefs.h <<_ACEOF
34058 #define HAVE_MBSTATE_T 1
34059 _ACEOF
34060
34061
34062 for ac_func in wcsrtombs
34063 do
34064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 else
34070 cat >conftest.$ac_ext <<_ACEOF
34071 /* confdefs.h. */
34072 _ACEOF
34073 cat confdefs.h >>conftest.$ac_ext
34074 cat >>conftest.$ac_ext <<_ACEOF
34075 /* end confdefs.h. */
34076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34078 #define $ac_func innocuous_$ac_func
34079
34080 /* System header to define __stub macros and hopefully few prototypes,
34081 which can conflict with char $ac_func (); below.
34082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34083 <limits.h> exists even on freestanding compilers. */
34084
34085 #ifdef __STDC__
34086 # include <limits.h>
34087 #else
34088 # include <assert.h>
34089 #endif
34090
34091 #undef $ac_func
34092
34093 /* Override any GCC internal prototype to avoid an error.
34094 Use char because int might match the return type of a GCC
34095 builtin and then its argument prototype would still apply. */
34096 #ifdef __cplusplus
34097 extern "C"
34098 #endif
34099 char $ac_func ();
34100 /* The GNU C library defines this for functions which it implements
34101 to always fail with ENOSYS. Some functions are actually named
34102 something starting with __ and the normal name is an alias. */
34103 #if defined __stub_$ac_func || defined __stub___$ac_func
34104 choke me
34105 #endif
34106
34107 int
34108 main ()
34109 {
34110 return $ac_func ();
34111 ;
34112 return 0;
34113 }
34114 _ACEOF
34115 rm -f conftest.$ac_objext conftest$ac_exeext
34116 if { (ac_try="$ac_link"
34117 case "(($ac_try" in
34118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34119 *) ac_try_echo=$ac_try;;
34120 esac
34121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34122 (eval "$ac_link") 2>conftest.er1
34123 ac_status=$?
34124 grep -v '^ *+' conftest.er1 >conftest.err
34125 rm -f conftest.er1
34126 cat conftest.err >&5
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); } && {
34129 test -z "$ac_c_werror_flag" ||
34130 test ! -s conftest.err
34131 } && test -s conftest$ac_exeext &&
34132 $as_test_x conftest$ac_exeext; then
34133 eval "$as_ac_var=yes"
34134 else
34135 echo "$as_me: failed program was:" >&5
34136 sed 's/^/| /' conftest.$ac_ext >&5
34137
34138 eval "$as_ac_var=no"
34139 fi
34140
34141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34142 conftest$ac_exeext conftest.$ac_ext
34143 fi
34144 ac_res=`eval echo '${'$as_ac_var'}'`
34145 { echo "$as_me:$LINENO: result: $ac_res" >&5
34146 echo "${ECHO_T}$ac_res" >&6; }
34147 if test `eval echo '${'$as_ac_var'}'` = yes; then
34148 cat >>confdefs.h <<_ACEOF
34149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34150 _ACEOF
34151
34152 fi
34153 done
34154
34155 fi
34156
34157 else
34158 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34159 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34160 fi
34161
34162
34163
34164 for ac_func in snprintf vsnprintf
34165 do
34166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34169 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34170 echo $ECHO_N "(cached) $ECHO_C" >&6
34171 else
34172 cat >conftest.$ac_ext <<_ACEOF
34173 /* confdefs.h. */
34174 _ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34180 #define $ac_func innocuous_$ac_func
34181
34182 /* System header to define __stub macros and hopefully few prototypes,
34183 which can conflict with char $ac_func (); below.
34184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34185 <limits.h> exists even on freestanding compilers. */
34186
34187 #ifdef __STDC__
34188 # include <limits.h>
34189 #else
34190 # include <assert.h>
34191 #endif
34192
34193 #undef $ac_func
34194
34195 /* Override any GCC internal prototype to avoid an error.
34196 Use char because int might match the return type of a GCC
34197 builtin and then its argument prototype would still apply. */
34198 #ifdef __cplusplus
34199 extern "C"
34200 #endif
34201 char $ac_func ();
34202 /* The GNU C library defines this for functions which it implements
34203 to always fail with ENOSYS. Some functions are actually named
34204 something starting with __ and the normal name is an alias. */
34205 #if defined __stub_$ac_func || defined __stub___$ac_func
34206 choke me
34207 #endif
34208
34209 int
34210 main ()
34211 {
34212 return $ac_func ();
34213 ;
34214 return 0;
34215 }
34216 _ACEOF
34217 rm -f conftest.$ac_objext conftest$ac_exeext
34218 if { (ac_try="$ac_link"
34219 case "(($ac_try" in
34220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34221 *) ac_try_echo=$ac_try;;
34222 esac
34223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34224 (eval "$ac_link") 2>conftest.er1
34225 ac_status=$?
34226 grep -v '^ *+' conftest.er1 >conftest.err
34227 rm -f conftest.er1
34228 cat conftest.err >&5
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); } && {
34231 test -z "$ac_c_werror_flag" ||
34232 test ! -s conftest.err
34233 } && test -s conftest$ac_exeext &&
34234 $as_test_x conftest$ac_exeext; then
34235 eval "$as_ac_var=yes"
34236 else
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.$ac_ext >&5
34239
34240 eval "$as_ac_var=no"
34241 fi
34242
34243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34244 conftest$ac_exeext conftest.$ac_ext
34245 fi
34246 ac_res=`eval echo '${'$as_ac_var'}'`
34247 { echo "$as_me:$LINENO: result: $ac_res" >&5
34248 echo "${ECHO_T}$ac_res" >&6; }
34249 if test `eval echo '${'$as_ac_var'}'` = yes; then
34250 cat >>confdefs.h <<_ACEOF
34251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34252 _ACEOF
34253
34254 fi
34255 done
34256
34257
34258 if test "$ac_cv_func_vsnprintf" = "yes"; then
34259 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34260 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34261 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34262 echo $ECHO_N "(cached) $ECHO_C" >&6
34263 else
34264
34265 cat >conftest.$ac_ext <<_ACEOF
34266 /* confdefs.h. */
34267 _ACEOF
34268 cat confdefs.h >>conftest.$ac_ext
34269 cat >>conftest.$ac_ext <<_ACEOF
34270 /* end confdefs.h. */
34271
34272 #include <stdio.h>
34273 #include <stdarg.h>
34274 #ifdef __MSL__
34275 #if __MSL__ >= 0x6000
34276 namespace std {}
34277 using namespace std;
34278 #endif
34279 #endif
34280
34281 int
34282 main ()
34283 {
34284
34285 char *buf;
34286 va_list ap;
34287 vsnprintf(buf, 10u, "%s", ap);
34288
34289 ;
34290 return 0;
34291 }
34292 _ACEOF
34293 rm -f conftest.$ac_objext
34294 if { (ac_try="$ac_compile"
34295 case "(($ac_try" in
34296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34297 *) ac_try_echo=$ac_try;;
34298 esac
34299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34300 (eval "$ac_compile") 2>conftest.er1
34301 ac_status=$?
34302 grep -v '^ *+' conftest.er1 >conftest.err
34303 rm -f conftest.er1
34304 cat conftest.err >&5
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); } && {
34307 test -z "$ac_c_werror_flag" ||
34308 test ! -s conftest.err
34309 } && test -s conftest.$ac_objext; then
34310 wx_cv_func_vsnprintf_decl=yes
34311 else
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.$ac_ext >&5
34314
34315 wx_cv_func_vsnprintf_decl=no
34316
34317 fi
34318
34319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34320
34321
34322 fi
34323 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34324 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34325
34326 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34327 cat >>confdefs.h <<\_ACEOF
34328 #define HAVE_VSNPRINTF_DECL 1
34329 _ACEOF
34330
34331
34332 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34333 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34334 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 else
34337
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h. */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344
34345 #include <stdio.h>
34346 #include <stdarg.h>
34347 #ifdef __MSL__
34348 #if __MSL__ >= 0x6000
34349 namespace std {}
34350 using namespace std;
34351 #endif
34352 #endif
34353
34354 int
34355 main ()
34356 {
34357
34358 char *buf;
34359 va_list ap;
34360 const char *fmt = "%s";
34361 vsnprintf(buf, 10u, fmt, ap);
34362
34363 ;
34364 return 0;
34365 }
34366 _ACEOF
34367 rm -f conftest.$ac_objext
34368 if { (ac_try="$ac_compile"
34369 case "(($ac_try" in
34370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34371 *) ac_try_echo=$ac_try;;
34372 esac
34373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34374 (eval "$ac_compile") 2>conftest.er1
34375 ac_status=$?
34376 grep -v '^ *+' conftest.er1 >conftest.err
34377 rm -f conftest.er1
34378 cat conftest.err >&5
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); } && {
34381 test -z "$ac_c_werror_flag" ||
34382 test ! -s conftest.err
34383 } && test -s conftest.$ac_objext; then
34384 wx_cv_func_broken_vsnprintf_decl=no
34385 else
34386 echo "$as_me: failed program was:" >&5
34387 sed 's/^/| /' conftest.$ac_ext >&5
34388
34389 wx_cv_func_broken_vsnprintf_decl=yes
34390
34391 fi
34392
34393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34394
34395
34396 fi
34397 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34398 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34399
34400 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34401 cat >>confdefs.h <<\_ACEOF
34402 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34403 _ACEOF
34404
34405 fi
34406 fi
34407 fi
34408
34409 if test "$ac_cv_func_snprintf" = "yes"; then
34410 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34411 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34412 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34413 echo $ECHO_N "(cached) $ECHO_C" >&6
34414 else
34415
34416 cat >conftest.$ac_ext <<_ACEOF
34417 /* confdefs.h. */
34418 _ACEOF
34419 cat confdefs.h >>conftest.$ac_ext
34420 cat >>conftest.$ac_ext <<_ACEOF
34421 /* end confdefs.h. */
34422
34423 #include <stdio.h>
34424 #include <stdarg.h>
34425 #ifdef __MSL__
34426 #if __MSL__ >= 0x6000
34427 namespace std {}
34428 using namespace std;
34429 #endif
34430 #endif
34431
34432 int
34433 main ()
34434 {
34435
34436 char *buf;
34437 snprintf(buf, 10u, "%s", "wx");
34438
34439 ;
34440 return 0;
34441 }
34442 _ACEOF
34443 rm -f conftest.$ac_objext
34444 if { (ac_try="$ac_compile"
34445 case "(($ac_try" in
34446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34447 *) ac_try_echo=$ac_try;;
34448 esac
34449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34450 (eval "$ac_compile") 2>conftest.er1
34451 ac_status=$?
34452 grep -v '^ *+' conftest.er1 >conftest.err
34453 rm -f conftest.er1
34454 cat conftest.err >&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } && {
34457 test -z "$ac_c_werror_flag" ||
34458 test ! -s conftest.err
34459 } && test -s conftest.$ac_objext; then
34460 wx_cv_func_snprintf_decl=yes
34461 else
34462 echo "$as_me: failed program was:" >&5
34463 sed 's/^/| /' conftest.$ac_ext >&5
34464
34465 wx_cv_func_snprintf_decl=no
34466
34467 fi
34468
34469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34470
34471
34472 fi
34473 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34474 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34475
34476 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34477 cat >>confdefs.h <<\_ACEOF
34478 #define HAVE_SNPRINTF_DECL 1
34479 _ACEOF
34480
34481
34482 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34483 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34484 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34485 echo $ECHO_N "(cached) $ECHO_C" >&6
34486 else
34487
34488 cat >conftest.$ac_ext <<_ACEOF
34489 /* confdefs.h. */
34490 _ACEOF
34491 cat confdefs.h >>conftest.$ac_ext
34492 cat >>conftest.$ac_ext <<_ACEOF
34493 /* end confdefs.h. */
34494
34495 #include <stdio.h>
34496 #include <stdarg.h>
34497 #ifdef __MSL__
34498 #if __MSL__ >= 0x6000
34499 namespace std {}
34500 using namespace std;
34501 #endif
34502 #endif
34503
34504 int
34505 main ()
34506 {
34507
34508 char *buf;
34509 const char *fmt = "%s";
34510 snprintf(buf, 10u, fmt, "wx");
34511
34512 ;
34513 return 0;
34514 }
34515 _ACEOF
34516 rm -f conftest.$ac_objext
34517 if { (ac_try="$ac_compile"
34518 case "(($ac_try" in
34519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34520 *) ac_try_echo=$ac_try;;
34521 esac
34522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34523 (eval "$ac_compile") 2>conftest.er1
34524 ac_status=$?
34525 grep -v '^ *+' conftest.er1 >conftest.err
34526 rm -f conftest.er1
34527 cat conftest.err >&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); } && {
34530 test -z "$ac_c_werror_flag" ||
34531 test ! -s conftest.err
34532 } && test -s conftest.$ac_objext; then
34533 wx_cv_func_broken_snprintf_decl=no
34534 else
34535 echo "$as_me: failed program was:" >&5
34536 sed 's/^/| /' conftest.$ac_ext >&5
34537
34538 wx_cv_func_broken_snprintf_decl=yes
34539
34540 fi
34541
34542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34543
34544
34545 fi
34546 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34547 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34548
34549 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34550 cat >>confdefs.h <<\_ACEOF
34551 #define HAVE_BROKEN_SNPRINTF_DECL 1
34552 _ACEOF
34553
34554 fi
34555 fi
34556
34557 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34558
34559 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34560 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34561 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564
34565 if test "$cross_compiling" = yes; then
34566
34567 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34568 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34569 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34570 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34571 wx_cv_func_snprintf_pos_params=no
34572
34573
34574 else
34575 cat >conftest.$ac_ext <<_ACEOF
34576 /* confdefs.h. */
34577 _ACEOF
34578 cat confdefs.h >>conftest.$ac_ext
34579 cat >>conftest.$ac_ext <<_ACEOF
34580 /* end confdefs.h. */
34581
34582 #include <stdio.h>
34583
34584 int main (void)
34585 {
34586 char buffer[128];
34587 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34588 if (strcmp ("2 3 1", buffer) == 0)
34589 exit (0);
34590 exit (1);
34591 }
34592
34593 _ACEOF
34594 rm -f conftest$ac_exeext
34595 if { (ac_try="$ac_link"
34596 case "(($ac_try" in
34597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34598 *) ac_try_echo=$ac_try;;
34599 esac
34600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34601 (eval "$ac_link") 2>&5
34602 ac_status=$?
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34605 { (case "(($ac_try" in
34606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34607 *) ac_try_echo=$ac_try;;
34608 esac
34609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34610 (eval "$ac_try") 2>&5
34611 ac_status=$?
34612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34613 (exit $ac_status); }; }; then
34614 wx_cv_func_snprintf_pos_params=no
34615 else
34616 echo "$as_me: program exited with status $ac_status" >&5
34617 echo "$as_me: failed program was:" >&5
34618 sed 's/^/| /' conftest.$ac_ext >&5
34619
34620 ( exit $ac_status )
34621 wx_cv_func_snprintf_pos_params=yes
34622 fi
34623 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34624 fi
34625
34626
34627
34628
34629 fi
34630 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34631 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34632
34633 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34634 cat >>confdefs.h <<\_ACEOF
34635 #define HAVE_UNIX98_PRINTF 1
34636 _ACEOF
34637
34638 fi
34639 fi
34640 fi
34641
34642 if test "$wxUSE_UNICODE" = yes; then
34643
34644
34645 for ac_func in swprintf
34646 do
34647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34648 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34650 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 else
34653 cat >conftest.$ac_ext <<_ACEOF
34654 /* confdefs.h. */
34655 _ACEOF
34656 cat confdefs.h >>conftest.$ac_ext
34657 cat >>conftest.$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34661 #define $ac_func innocuous_$ac_func
34662
34663 /* System header to define __stub macros and hopefully few prototypes,
34664 which can conflict with char $ac_func (); below.
34665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34666 <limits.h> exists even on freestanding compilers. */
34667
34668 #ifdef __STDC__
34669 # include <limits.h>
34670 #else
34671 # include <assert.h>
34672 #endif
34673
34674 #undef $ac_func
34675
34676 /* Override any GCC internal prototype to avoid an error.
34677 Use char because int might match the return type of a GCC
34678 builtin and then its argument prototype would still apply. */
34679 #ifdef __cplusplus
34680 extern "C"
34681 #endif
34682 char $ac_func ();
34683 /* The GNU C library defines this for functions which it implements
34684 to always fail with ENOSYS. Some functions are actually named
34685 something starting with __ and the normal name is an alias. */
34686 #if defined __stub_$ac_func || defined __stub___$ac_func
34687 choke me
34688 #endif
34689
34690 int
34691 main ()
34692 {
34693 return $ac_func ();
34694 ;
34695 return 0;
34696 }
34697 _ACEOF
34698 rm -f conftest.$ac_objext conftest$ac_exeext
34699 if { (ac_try="$ac_link"
34700 case "(($ac_try" in
34701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34702 *) ac_try_echo=$ac_try;;
34703 esac
34704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34705 (eval "$ac_link") 2>conftest.er1
34706 ac_status=$?
34707 grep -v '^ *+' conftest.er1 >conftest.err
34708 rm -f conftest.er1
34709 cat conftest.err >&5
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); } && {
34712 test -z "$ac_c_werror_flag" ||
34713 test ! -s conftest.err
34714 } && test -s conftest$ac_exeext &&
34715 $as_test_x conftest$ac_exeext; then
34716 eval "$as_ac_var=yes"
34717 else
34718 echo "$as_me: failed program was:" >&5
34719 sed 's/^/| /' conftest.$ac_ext >&5
34720
34721 eval "$as_ac_var=no"
34722 fi
34723
34724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34725 conftest$ac_exeext conftest.$ac_ext
34726 fi
34727 ac_res=`eval echo '${'$as_ac_var'}'`
34728 { echo "$as_me:$LINENO: result: $ac_res" >&5
34729 echo "${ECHO_T}$ac_res" >&6; }
34730 if test `eval echo '${'$as_ac_var'}'` = yes; then
34731 cat >>confdefs.h <<_ACEOF
34732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34733 _ACEOF
34734
34735 fi
34736 done
34737
34738
34739 if test "$ac_cv_func_swprintf" = "yes"; then
34740 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34741 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34742 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34744 else
34745
34746 cat >conftest.$ac_ext <<_ACEOF
34747 /* confdefs.h. */
34748 _ACEOF
34749 cat confdefs.h >>conftest.$ac_ext
34750 cat >>conftest.$ac_ext <<_ACEOF
34751 /* end confdefs.h. */
34752
34753 #include <stdio.h>
34754 #include <stdarg.h>
34755 #include <wchar.h>
34756
34757 int
34758 main ()
34759 {
34760
34761 wchar_t *buf;
34762 const wchar_t *fmt = L"test";
34763 swprintf(buf, 10u, fmt);
34764
34765 ;
34766 return 0;
34767 }
34768 _ACEOF
34769 rm -f conftest.$ac_objext
34770 if { (ac_try="$ac_compile"
34771 case "(($ac_try" in
34772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34773 *) ac_try_echo=$ac_try;;
34774 esac
34775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34776 (eval "$ac_compile") 2>conftest.er1
34777 ac_status=$?
34778 grep -v '^ *+' conftest.er1 >conftest.err
34779 rm -f conftest.er1
34780 cat conftest.err >&5
34781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34782 (exit $ac_status); } && {
34783 test -z "$ac_c_werror_flag" ||
34784 test ! -s conftest.err
34785 } && test -s conftest.$ac_objext; then
34786 wx_cv_func_broken_swprintf_decl=no
34787 else
34788 echo "$as_me: failed program was:" >&5
34789 sed 's/^/| /' conftest.$ac_ext >&5
34790
34791 wx_cv_func_broken_swprintf_decl=yes
34792
34793 fi
34794
34795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34796
34797
34798 fi
34799 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34800 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34801
34802 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34803 cat >>confdefs.h <<\_ACEOF
34804 #define HAVE_BROKEN_SWPRINTF_DECL 1
34805 _ACEOF
34806
34807 fi
34808 fi
34809
34810 wchar_headers="#include <stdio.h>
34811 #include <wchar.h>"
34812 case "${host}" in
34813 *-*-solaris2* )
34814 { echo "$as_me:$LINENO: checking for widec.h" >&5
34815 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34816 if test "${ac_cv_header_widec_h+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819 cat >conftest.$ac_ext <<_ACEOF
34820 /* confdefs.h. */
34821 _ACEOF
34822 cat confdefs.h >>conftest.$ac_ext
34823 cat >>conftest.$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34825 $ac_includes_default
34826
34827 #include <widec.h>
34828 _ACEOF
34829 rm -f conftest.$ac_objext
34830 if { (ac_try="$ac_compile"
34831 case "(($ac_try" in
34832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34833 *) ac_try_echo=$ac_try;;
34834 esac
34835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34836 (eval "$ac_compile") 2>conftest.er1
34837 ac_status=$?
34838 grep -v '^ *+' conftest.er1 >conftest.err
34839 rm -f conftest.er1
34840 cat conftest.err >&5
34841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34842 (exit $ac_status); } && {
34843 test -z "$ac_c_werror_flag" ||
34844 test ! -s conftest.err
34845 } && test -s conftest.$ac_objext; then
34846 ac_cv_header_widec_h=yes
34847 else
34848 echo "$as_me: failed program was:" >&5
34849 sed 's/^/| /' conftest.$ac_ext >&5
34850
34851 ac_cv_header_widec_h=no
34852 fi
34853
34854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34855 fi
34856 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34857 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34858
34859
34860 if test "$ac_cv_header_widec_h" = "yes"; then
34861 wchar_headers="$wchar_headers
34862 #include <widec.h>"
34863 fi
34864 esac
34865
34866
34867 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34868 do
34869 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34870 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34871 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34872 echo $ECHO_N "(cached) $ECHO_C" >&6
34873 else
34874
34875 cat >conftest.$ac_ext <<_ACEOF
34876
34877 /* confdefs.h. */
34878 _ACEOF
34879 cat confdefs.h >>conftest.$ac_ext
34880 cat >>conftest.$ac_ext <<_ACEOF
34881 /* end confdefs.h. */
34882
34883 $wchar_headers
34884 $ac_includes_default
34885
34886 int
34887 main ()
34888 {
34889
34890 #ifndef $wx_func
34891 &$wx_func;
34892 #endif
34893
34894
34895 ;
34896 return 0;
34897 }
34898
34899 _ACEOF
34900 rm -f conftest.$ac_objext conftest$ac_exeext
34901 if { (ac_try="$ac_link"
34902 case "(($ac_try" in
34903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34904 *) ac_try_echo=$ac_try;;
34905 esac
34906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34907 (eval "$ac_link") 2>conftest.er1
34908 ac_status=$?
34909 grep -v '^ *+' conftest.er1 >conftest.err
34910 rm -f conftest.er1
34911 cat conftest.err >&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); } && {
34914 test -z "$ac_c_werror_flag" ||
34915 test ! -s conftest.err
34916 } && test -s conftest$ac_exeext &&
34917 $as_test_x conftest$ac_exeext; then
34918 eval wx_cv_func_$wx_func=yes
34919 else
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.$ac_ext >&5
34922
34923 eval wx_cv_func_$wx_func=no
34924 fi
34925
34926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34927 conftest$ac_exeext conftest.$ac_ext
34928
34929 fi
34930 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34931 { echo "$as_me:$LINENO: result: $ac_res" >&5
34932 echo "${ECHO_T}$ac_res" >&6; }
34933
34934 if eval test \$wx_cv_func_$wx_func = yes
34935 then
34936 cat >>confdefs.h <<_ACEOF
34937 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34938 _ACEOF
34939
34940
34941 else
34942 :
34943
34944 fi
34945 done
34946
34947
34948 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34949 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34950 cat >conftest.$ac_ext <<_ACEOF
34951 /* confdefs.h. */
34952 _ACEOF
34953 cat confdefs.h >>conftest.$ac_ext
34954 cat >>conftest.$ac_ext <<_ACEOF
34955 /* end confdefs.h. */
34956 #include <wchar.h>
34957 int
34958 main ()
34959 {
34960 &_vsnwprintf;
34961 ;
34962 return 0;
34963 }
34964 _ACEOF
34965 rm -f conftest.$ac_objext
34966 if { (ac_try="$ac_compile"
34967 case "(($ac_try" in
34968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34969 *) ac_try_echo=$ac_try;;
34970 esac
34971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34972 (eval "$ac_compile") 2>conftest.er1
34973 ac_status=$?
34974 grep -v '^ *+' conftest.er1 >conftest.err
34975 rm -f conftest.er1
34976 cat conftest.err >&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } && {
34979 test -z "$ac_c_werror_flag" ||
34980 test ! -s conftest.err
34981 } && test -s conftest.$ac_objext; then
34982 { echo "$as_me:$LINENO: result: yes" >&5
34983 echo "${ECHO_T}yes" >&6; }
34984 cat >>confdefs.h <<\_ACEOF
34985 #define HAVE__VSNWPRINTF 1
34986 _ACEOF
34987
34988 else
34989 echo "$as_me: failed program was:" >&5
34990 sed 's/^/| /' conftest.$ac_ext >&5
34991
34992 { echo "$as_me:$LINENO: result: no" >&5
34993 echo "${ECHO_T}no" >&6; }
34994 fi
34995
34996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34997 fi
34998
34999 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35000
35001 for wx_func in fnmatch
35002 do
35003 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35004 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35005 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35006 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 else
35008
35009 cat >conftest.$ac_ext <<_ACEOF
35010
35011 /* confdefs.h. */
35012 _ACEOF
35013 cat confdefs.h >>conftest.$ac_ext
35014 cat >>conftest.$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35016
35017 #include <fnmatch.h>
35018 $ac_includes_default
35019
35020 int
35021 main ()
35022 {
35023
35024 #ifndef $wx_func
35025 &$wx_func;
35026 #endif
35027
35028
35029 ;
35030 return 0;
35031 }
35032
35033 _ACEOF
35034 rm -f conftest.$ac_objext conftest$ac_exeext
35035 if { (ac_try="$ac_link"
35036 case "(($ac_try" in
35037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35038 *) ac_try_echo=$ac_try;;
35039 esac
35040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35041 (eval "$ac_link") 2>conftest.er1
35042 ac_status=$?
35043 grep -v '^ *+' conftest.er1 >conftest.err
35044 rm -f conftest.er1
35045 cat conftest.err >&5
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); } && {
35048 test -z "$ac_c_werror_flag" ||
35049 test ! -s conftest.err
35050 } && test -s conftest$ac_exeext &&
35051 $as_test_x conftest$ac_exeext; then
35052 eval wx_cv_func_$wx_func=yes
35053 else
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.$ac_ext >&5
35056
35057 eval wx_cv_func_$wx_func=no
35058 fi
35059
35060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35061 conftest$ac_exeext conftest.$ac_ext
35062
35063 fi
35064 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35065 { echo "$as_me:$LINENO: result: $ac_res" >&5
35066 echo "${ECHO_T}$ac_res" >&6; }
35067
35068 if eval test \$wx_cv_func_$wx_func = yes
35069 then
35070 cat >>confdefs.h <<_ACEOF
35071 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35072 _ACEOF
35073
35074
35075 else
35076 :
35077
35078 fi
35079 done
35080
35081 fi
35082
35083 if test "$wxUSE_FILE" = "yes"; then
35084
35085 for wx_func in fsync
35086 do
35087 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35088 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35089 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35091 else
35092
35093 cat >conftest.$ac_ext <<_ACEOF
35094
35095 /* confdefs.h. */
35096 _ACEOF
35097 cat confdefs.h >>conftest.$ac_ext
35098 cat >>conftest.$ac_ext <<_ACEOF
35099 /* end confdefs.h. */
35100
35101
35102 $ac_includes_default
35103
35104 int
35105 main ()
35106 {
35107
35108 #ifndef $wx_func
35109 &$wx_func;
35110 #endif
35111
35112
35113 ;
35114 return 0;
35115 }
35116
35117 _ACEOF
35118 rm -f conftest.$ac_objext conftest$ac_exeext
35119 if { (ac_try="$ac_link"
35120 case "(($ac_try" in
35121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35122 *) ac_try_echo=$ac_try;;
35123 esac
35124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35125 (eval "$ac_link") 2>conftest.er1
35126 ac_status=$?
35127 grep -v '^ *+' conftest.er1 >conftest.err
35128 rm -f conftest.er1
35129 cat conftest.err >&5
35130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35131 (exit $ac_status); } && {
35132 test -z "$ac_c_werror_flag" ||
35133 test ! -s conftest.err
35134 } && test -s conftest$ac_exeext &&
35135 $as_test_x conftest$ac_exeext; then
35136 eval wx_cv_func_$wx_func=yes
35137 else
35138 echo "$as_me: failed program was:" >&5
35139 sed 's/^/| /' conftest.$ac_ext >&5
35140
35141 eval wx_cv_func_$wx_func=no
35142 fi
35143
35144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35145 conftest$ac_exeext conftest.$ac_ext
35146
35147 fi
35148 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35149 { echo "$as_me:$LINENO: result: $ac_res" >&5
35150 echo "${ECHO_T}$ac_res" >&6; }
35151
35152 if eval test \$wx_cv_func_$wx_func = yes
35153 then
35154 cat >>confdefs.h <<_ACEOF
35155 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35156 _ACEOF
35157
35158
35159 else
35160 :
35161
35162 fi
35163 done
35164
35165 fi
35166
35167 ac_ext=cpp
35168 ac_cpp='$CXXCPP $CPPFLAGS'
35169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35172
35173
35174 for wx_func in round
35175 do
35176 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35177 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35178 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35179 echo $ECHO_N "(cached) $ECHO_C" >&6
35180 else
35181
35182 cat >conftest.$ac_ext <<_ACEOF
35183
35184 /* confdefs.h. */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189
35190 #include <math.h>
35191 $ac_includes_default
35192
35193 int
35194 main ()
35195 {
35196
35197 #ifndef $wx_func
35198 &$wx_func;
35199 #endif
35200
35201
35202 ;
35203 return 0;
35204 }
35205
35206 _ACEOF
35207 rm -f conftest.$ac_objext conftest$ac_exeext
35208 if { (ac_try="$ac_link"
35209 case "(($ac_try" in
35210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35211 *) ac_try_echo=$ac_try;;
35212 esac
35213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35214 (eval "$ac_link") 2>conftest.er1
35215 ac_status=$?
35216 grep -v '^ *+' conftest.er1 >conftest.err
35217 rm -f conftest.er1
35218 cat conftest.err >&5
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); } && {
35221 test -z "$ac_cxx_werror_flag" ||
35222 test ! -s conftest.err
35223 } && test -s conftest$ac_exeext &&
35224 $as_test_x conftest$ac_exeext; then
35225 eval wx_cv_func_$wx_func=yes
35226 else
35227 echo "$as_me: failed program was:" >&5
35228 sed 's/^/| /' conftest.$ac_ext >&5
35229
35230 eval wx_cv_func_$wx_func=no
35231 fi
35232
35233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35234 conftest$ac_exeext conftest.$ac_ext
35235
35236 fi
35237 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35238 { echo "$as_me:$LINENO: result: $ac_res" >&5
35239 echo "${ECHO_T}$ac_res" >&6; }
35240
35241 if eval test \$wx_cv_func_$wx_func = yes
35242 then
35243 cat >>confdefs.h <<_ACEOF
35244 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35245 _ACEOF
35246
35247
35248 else
35249 :
35250
35251 fi
35252 done
35253
35254 ac_ext=c
35255 ac_cpp='$CPP $CPPFLAGS'
35256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35259
35260
35261 if test "$TOOLKIT" != "MSW"; then
35262
35263
35264
35265
35266
35267 # Check whether --with-libiconv-prefix was given.
35268 if test "${with_libiconv_prefix+set}" = set; then
35269 withval=$with_libiconv_prefix;
35270 for dir in `echo "$withval" | tr : ' '`; do
35271 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35272 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35273 done
35274
35275 fi
35276
35277
35278 { echo "$as_me:$LINENO: checking for iconv" >&5
35279 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35280 if test "${am_cv_func_iconv+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35282 else
35283
35284 am_cv_func_iconv="no, consider installing GNU libiconv"
35285 am_cv_lib_iconv=no
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 #include <stdlib.h>
35293 #include <iconv.h>
35294 int
35295 main ()
35296 {
35297 iconv_t cd = iconv_open("","");
35298 iconv(cd,NULL,NULL,NULL,NULL);
35299 iconv_close(cd);
35300 ;
35301 return 0;
35302 }
35303 _ACEOF
35304 rm -f conftest.$ac_objext conftest$ac_exeext
35305 if { (ac_try="$ac_link"
35306 case "(($ac_try" in
35307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35308 *) ac_try_echo=$ac_try;;
35309 esac
35310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35311 (eval "$ac_link") 2>conftest.er1
35312 ac_status=$?
35313 grep -v '^ *+' conftest.er1 >conftest.err
35314 rm -f conftest.er1
35315 cat conftest.err >&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } && {
35318 test -z "$ac_c_werror_flag" ||
35319 test ! -s conftest.err
35320 } && test -s conftest$ac_exeext &&
35321 $as_test_x conftest$ac_exeext; then
35322 am_cv_func_iconv=yes
35323 else
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.$ac_ext >&5
35326
35327
35328 fi
35329
35330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35331 conftest$ac_exeext conftest.$ac_ext
35332 if test "$am_cv_func_iconv" != yes; then
35333 am_save_LIBS="$LIBS"
35334 LIBS="$LIBS -liconv"
35335 cat >conftest.$ac_ext <<_ACEOF
35336 /* confdefs.h. */
35337 _ACEOF
35338 cat confdefs.h >>conftest.$ac_ext
35339 cat >>conftest.$ac_ext <<_ACEOF
35340 /* end confdefs.h. */
35341 #include <stdlib.h>
35342 #include <iconv.h>
35343 int
35344 main ()
35345 {
35346 iconv_t cd = iconv_open("","");
35347 iconv(cd,NULL,NULL,NULL,NULL);
35348 iconv_close(cd);
35349 ;
35350 return 0;
35351 }
35352 _ACEOF
35353 rm -f conftest.$ac_objext conftest$ac_exeext
35354 if { (ac_try="$ac_link"
35355 case "(($ac_try" in
35356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35357 *) ac_try_echo=$ac_try;;
35358 esac
35359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 (eval "$ac_link") 2>conftest.er1
35361 ac_status=$?
35362 grep -v '^ *+' conftest.er1 >conftest.err
35363 rm -f conftest.er1
35364 cat conftest.err >&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } && {
35367 test -z "$ac_c_werror_flag" ||
35368 test ! -s conftest.err
35369 } && test -s conftest$ac_exeext &&
35370 $as_test_x conftest$ac_exeext; then
35371 am_cv_lib_iconv=yes
35372 am_cv_func_iconv=yes
35373 else
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.$ac_ext >&5
35376
35377
35378 fi
35379
35380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35381 conftest$ac_exeext conftest.$ac_ext
35382 LIBS="$am_save_LIBS"
35383 fi
35384
35385 fi
35386 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35387 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35388 if test "$am_cv_func_iconv" = yes; then
35389
35390 cat >>confdefs.h <<\_ACEOF
35391 #define HAVE_ICONV 1
35392 _ACEOF
35393
35394 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35395 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35396 if test "${wx_cv_func_iconv_const+set}" = set; then
35397 echo $ECHO_N "(cached) $ECHO_C" >&6
35398 else
35399 cat >conftest.$ac_ext <<_ACEOF
35400 /* confdefs.h. */
35401 _ACEOF
35402 cat confdefs.h >>conftest.$ac_ext
35403 cat >>conftest.$ac_ext <<_ACEOF
35404 /* end confdefs.h. */
35405
35406 #include <stdlib.h>
35407 #include <iconv.h>
35408 extern
35409 #ifdef __cplusplus
35410 "C"
35411 #endif
35412 #if defined(__STDC__) || defined(__cplusplus)
35413 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35414 #else
35415 size_t iconv();
35416 #endif
35417
35418 int
35419 main ()
35420 {
35421
35422 ;
35423 return 0;
35424 }
35425 _ACEOF
35426 rm -f conftest.$ac_objext
35427 if { (ac_try="$ac_compile"
35428 case "(($ac_try" in
35429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35430 *) ac_try_echo=$ac_try;;
35431 esac
35432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35433 (eval "$ac_compile") 2>conftest.er1
35434 ac_status=$?
35435 grep -v '^ *+' conftest.er1 >conftest.err
35436 rm -f conftest.er1
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } && {
35440 test -z "$ac_c_werror_flag" ||
35441 test ! -s conftest.err
35442 } && test -s conftest.$ac_objext; then
35443 wx_cv_func_iconv_const="no"
35444 else
35445 echo "$as_me: failed program was:" >&5
35446 sed 's/^/| /' conftest.$ac_ext >&5
35447
35448 wx_cv_func_iconv_const="yes"
35449
35450 fi
35451
35452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35453
35454 fi
35455 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35456 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35457
35458 iconv_const=
35459 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35460 iconv_const="const"
35461 fi
35462
35463
35464 cat >>confdefs.h <<_ACEOF
35465 #define ICONV_CONST $iconv_const
35466 _ACEOF
35467
35468 fi
35469 LIBICONV=
35470 if test "$am_cv_lib_iconv" = yes; then
35471 LIBICONV="-liconv"
35472 fi
35473
35474
35475 LIBS="$LIBICONV $LIBS"
35476
35477 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35478
35479 for ac_func in sigaction
35480 do
35481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35482 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35484 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35485 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 else
35487 cat >conftest.$ac_ext <<_ACEOF
35488 /* confdefs.h. */
35489 _ACEOF
35490 cat confdefs.h >>conftest.$ac_ext
35491 cat >>conftest.$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35495 #define $ac_func innocuous_$ac_func
35496
35497 /* System header to define __stub macros and hopefully few prototypes,
35498 which can conflict with char $ac_func (); below.
35499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35500 <limits.h> exists even on freestanding compilers. */
35501
35502 #ifdef __STDC__
35503 # include <limits.h>
35504 #else
35505 # include <assert.h>
35506 #endif
35507
35508 #undef $ac_func
35509
35510 /* Override any GCC internal prototype to avoid an error.
35511 Use char because int might match the return type of a GCC
35512 builtin and then its argument prototype would still apply. */
35513 #ifdef __cplusplus
35514 extern "C"
35515 #endif
35516 char $ac_func ();
35517 /* The GNU C library defines this for functions which it implements
35518 to always fail with ENOSYS. Some functions are actually named
35519 something starting with __ and the normal name is an alias. */
35520 #if defined __stub_$ac_func || defined __stub___$ac_func
35521 choke me
35522 #endif
35523
35524 int
35525 main ()
35526 {
35527 return $ac_func ();
35528 ;
35529 return 0;
35530 }
35531 _ACEOF
35532 rm -f conftest.$ac_objext conftest$ac_exeext
35533 if { (ac_try="$ac_link"
35534 case "(($ac_try" in
35535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35536 *) ac_try_echo=$ac_try;;
35537 esac
35538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35539 (eval "$ac_link") 2>conftest.er1
35540 ac_status=$?
35541 grep -v '^ *+' conftest.er1 >conftest.err
35542 rm -f conftest.er1
35543 cat conftest.err >&5
35544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35545 (exit $ac_status); } && {
35546 test -z "$ac_c_werror_flag" ||
35547 test ! -s conftest.err
35548 } && test -s conftest$ac_exeext &&
35549 $as_test_x conftest$ac_exeext; then
35550 eval "$as_ac_var=yes"
35551 else
35552 echo "$as_me: failed program was:" >&5
35553 sed 's/^/| /' conftest.$ac_ext >&5
35554
35555 eval "$as_ac_var=no"
35556 fi
35557
35558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35559 conftest$ac_exeext conftest.$ac_ext
35560 fi
35561 ac_res=`eval echo '${'$as_ac_var'}'`
35562 { echo "$as_me:$LINENO: result: $ac_res" >&5
35563 echo "${ECHO_T}$ac_res" >&6; }
35564 if test `eval echo '${'$as_ac_var'}'` = yes; then
35565 cat >>confdefs.h <<_ACEOF
35566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35567 _ACEOF
35568
35569 fi
35570 done
35571
35572
35573 if test "$ac_cv_func_sigaction" = "no"; then
35574 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35575 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35576 wxUSE_ON_FATAL_EXCEPTION=no
35577 fi
35578
35579 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35580 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35581 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35582 if test "${wx_cv_type_sa_handler+set}" = set; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585
35586 ac_ext=cpp
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591
35592 cat >conftest.$ac_ext <<_ACEOF
35593 /* confdefs.h. */
35594 _ACEOF
35595 cat confdefs.h >>conftest.$ac_ext
35596 cat >>conftest.$ac_ext <<_ACEOF
35597 /* end confdefs.h. */
35598 #include <signal.h>
35599 int
35600 main ()
35601 {
35602
35603 extern void testSigHandler(int);
35604
35605 struct sigaction sa;
35606 sa.sa_handler = testSigHandler;
35607
35608 ;
35609 return 0;
35610 }
35611 _ACEOF
35612 rm -f conftest.$ac_objext
35613 if { (ac_try="$ac_compile"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35617 esac
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_compile") 2>conftest.er1
35620 ac_status=$?
35621 grep -v '^ *+' conftest.er1 >conftest.err
35622 rm -f conftest.er1
35623 cat conftest.err >&5
35624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35625 (exit $ac_status); } && {
35626 test -z "$ac_cxx_werror_flag" ||
35627 test ! -s conftest.err
35628 } && test -s conftest.$ac_objext; then
35629
35630 wx_cv_type_sa_handler=int
35631
35632 else
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35635
35636
35637 wx_cv_type_sa_handler=void
35638
35639 fi
35640
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35642 ac_ext=c
35643 ac_cpp='$CPP $CPPFLAGS'
35644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35647
35648
35649 fi
35650 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35651 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35652
35653 cat >>confdefs.h <<_ACEOF
35654 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35655 _ACEOF
35656
35657 fi
35658 fi
35659
35660 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35661 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35662 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35663 if test "${wx_cv_func_backtrace+set}" = set; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35665 else
35666
35667 ac_ext=cpp
35668 ac_cpp='$CXXCPP $CPPFLAGS'
35669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35672
35673 cat >conftest.$ac_ext <<_ACEOF
35674 /* confdefs.h. */
35675 _ACEOF
35676 cat confdefs.h >>conftest.$ac_ext
35677 cat >>conftest.$ac_ext <<_ACEOF
35678 /* end confdefs.h. */
35679 #include <execinfo.h>
35680 int
35681 main ()
35682 {
35683
35684 void *trace[1];
35685 char **messages;
35686
35687 backtrace(trace, 1);
35688 messages = backtrace_symbols(trace, 1);
35689
35690 ;
35691 return 0;
35692 }
35693 _ACEOF
35694 rm -f conftest.$ac_objext
35695 if { (ac_try="$ac_compile"
35696 case "(($ac_try" in
35697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35698 *) ac_try_echo=$ac_try;;
35699 esac
35700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35701 (eval "$ac_compile") 2>conftest.er1
35702 ac_status=$?
35703 grep -v '^ *+' conftest.er1 >conftest.err
35704 rm -f conftest.er1
35705 cat conftest.err >&5
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); } && {
35708 test -z "$ac_cxx_werror_flag" ||
35709 test ! -s conftest.err
35710 } && test -s conftest.$ac_objext; then
35711 wx_cv_func_backtrace=yes
35712 else
35713 echo "$as_me: failed program was:" >&5
35714 sed 's/^/| /' conftest.$ac_ext >&5
35715
35716 wx_cv_func_backtrace=no
35717
35718 fi
35719
35720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35721 ac_ext=c
35722 ac_cpp='$CPP $CPPFLAGS'
35723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35726
35727
35728
35729 fi
35730 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35731 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35732
35733
35734 if test "$wx_cv_func_backtrace" = "no"; then
35735 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35736 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35737 wxUSE_STACKWALKER=no
35738 else
35739 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35740 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35741 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35742 echo $ECHO_N "(cached) $ECHO_C" >&6
35743 else
35744
35745 ac_ext=cpp
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35750
35751 cat >conftest.$ac_ext <<_ACEOF
35752 /* confdefs.h. */
35753 _ACEOF
35754 cat confdefs.h >>conftest.$ac_ext
35755 cat >>conftest.$ac_ext <<_ACEOF
35756 /* end confdefs.h. */
35757 #include <cxxabi.h>
35758 int
35759 main ()
35760 {
35761
35762 int rc;
35763 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35764
35765 ;
35766 return 0;
35767 }
35768 _ACEOF
35769 rm -f conftest.$ac_objext conftest$ac_exeext
35770 if { (ac_try="$ac_link"
35771 case "(($ac_try" in
35772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35773 *) ac_try_echo=$ac_try;;
35774 esac
35775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35776 (eval "$ac_link") 2>conftest.er1
35777 ac_status=$?
35778 grep -v '^ *+' conftest.er1 >conftest.err
35779 rm -f conftest.er1
35780 cat conftest.err >&5
35781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35782 (exit $ac_status); } && {
35783 test -z "$ac_cxx_werror_flag" ||
35784 test ! -s conftest.err
35785 } && test -s conftest$ac_exeext &&
35786 $as_test_x conftest$ac_exeext; then
35787 wx_cv_func_cxa_demangle=yes
35788 else
35789 echo "$as_me: failed program was:" >&5
35790 sed 's/^/| /' conftest.$ac_ext >&5
35791
35792 wx_cv_func_cxa_demangle=no
35793
35794 fi
35795
35796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35797 conftest$ac_exeext conftest.$ac_ext
35798 ac_ext=c
35799 ac_cpp='$CPP $CPPFLAGS'
35800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35803
35804
35805
35806 fi
35807 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35808 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35809
35810 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35811 cat >>confdefs.h <<\_ACEOF
35812 #define HAVE_CXA_DEMANGLE 1
35813 _ACEOF
35814
35815 fi
35816 fi
35817 fi
35818
35819 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35820 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35821 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35822 wxUSE_STACKWALKER=no
35823 fi
35824
35825
35826
35827
35828 for ac_func in mkstemp mktemp
35829 do
35830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35834 echo $ECHO_N "(cached) $ECHO_C" >&6
35835 else
35836 cat >conftest.$ac_ext <<_ACEOF
35837 /* confdefs.h. */
35838 _ACEOF
35839 cat confdefs.h >>conftest.$ac_ext
35840 cat >>conftest.$ac_ext <<_ACEOF
35841 /* end confdefs.h. */
35842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35844 #define $ac_func innocuous_$ac_func
35845
35846 /* System header to define __stub macros and hopefully few prototypes,
35847 which can conflict with char $ac_func (); below.
35848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35849 <limits.h> exists even on freestanding compilers. */
35850
35851 #ifdef __STDC__
35852 # include <limits.h>
35853 #else
35854 # include <assert.h>
35855 #endif
35856
35857 #undef $ac_func
35858
35859 /* Override any GCC internal prototype to avoid an error.
35860 Use char because int might match the return type of a GCC
35861 builtin and then its argument prototype would still apply. */
35862 #ifdef __cplusplus
35863 extern "C"
35864 #endif
35865 char $ac_func ();
35866 /* The GNU C library defines this for functions which it implements
35867 to always fail with ENOSYS. Some functions are actually named
35868 something starting with __ and the normal name is an alias. */
35869 #if defined __stub_$ac_func || defined __stub___$ac_func
35870 choke me
35871 #endif
35872
35873 int
35874 main ()
35875 {
35876 return $ac_func ();
35877 ;
35878 return 0;
35879 }
35880 _ACEOF
35881 rm -f conftest.$ac_objext conftest$ac_exeext
35882 if { (ac_try="$ac_link"
35883 case "(($ac_try" in
35884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35885 *) ac_try_echo=$ac_try;;
35886 esac
35887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35888 (eval "$ac_link") 2>conftest.er1
35889 ac_status=$?
35890 grep -v '^ *+' conftest.er1 >conftest.err
35891 rm -f conftest.er1
35892 cat conftest.err >&5
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); } && {
35895 test -z "$ac_c_werror_flag" ||
35896 test ! -s conftest.err
35897 } && test -s conftest$ac_exeext &&
35898 $as_test_x conftest$ac_exeext; then
35899 eval "$as_ac_var=yes"
35900 else
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.$ac_ext >&5
35903
35904 eval "$as_ac_var=no"
35905 fi
35906
35907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35908 conftest$ac_exeext conftest.$ac_ext
35909 fi
35910 ac_res=`eval echo '${'$as_ac_var'}'`
35911 { echo "$as_me:$LINENO: result: $ac_res" >&5
35912 echo "${ECHO_T}$ac_res" >&6; }
35913 if test `eval echo '${'$as_ac_var'}'` = yes; then
35914 cat >>confdefs.h <<_ACEOF
35915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35916 _ACEOF
35917 break
35918 fi
35919 done
35920
35921
35922 { echo "$as_me:$LINENO: checking for statfs" >&5
35923 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35924 if test "${wx_cv_func_statfs+set}" = set; then
35925 echo $ECHO_N "(cached) $ECHO_C" >&6
35926 else
35927 cat >conftest.$ac_ext <<_ACEOF
35928 /* confdefs.h. */
35929 _ACEOF
35930 cat confdefs.h >>conftest.$ac_ext
35931 cat >>conftest.$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35933
35934 #if defined(__BSD__)
35935 #include <sys/param.h>
35936 #include <sys/mount.h>
35937 #else
35938 #include <sys/vfs.h>
35939 #endif
35940
35941 int
35942 main ()
35943 {
35944
35945 long l;
35946 struct statfs fs;
35947 statfs("/", &fs);
35948 l = fs.f_bsize;
35949 l += fs.f_blocks;
35950 l += fs.f_bavail;
35951
35952 ;
35953 return 0;
35954 }
35955 _ACEOF
35956 rm -f conftest.$ac_objext
35957 if { (ac_try="$ac_compile"
35958 case "(($ac_try" in
35959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35960 *) ac_try_echo=$ac_try;;
35961 esac
35962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35963 (eval "$ac_compile") 2>conftest.er1
35964 ac_status=$?
35965 grep -v '^ *+' conftest.er1 >conftest.err
35966 rm -f conftest.er1
35967 cat conftest.err >&5
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); } && {
35970 test -z "$ac_c_werror_flag" ||
35971 test ! -s conftest.err
35972 } && test -s conftest.$ac_objext; then
35973 wx_cv_func_statfs=yes
35974 else
35975 echo "$as_me: failed program was:" >&5
35976 sed 's/^/| /' conftest.$ac_ext >&5
35977
35978 wx_cv_func_statfs=no
35979
35980 fi
35981
35982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35983
35984 fi
35985 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35986 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35987
35988 if test "$wx_cv_func_statfs" = "yes"; then
35989 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35990 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35991 if test "${wx_cv_func_statfs_decl+set}" = set; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35993 else
35994 ac_ext=cpp
35995 ac_cpp='$CXXCPP $CPPFLAGS'
35996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35999
36000 cat >conftest.$ac_ext <<_ACEOF
36001 /* confdefs.h. */
36002 _ACEOF
36003 cat confdefs.h >>conftest.$ac_ext
36004 cat >>conftest.$ac_ext <<_ACEOF
36005 /* end confdefs.h. */
36006
36007 #if defined(__BSD__)
36008 #include <sys/param.h>
36009 #include <sys/mount.h>
36010 #else
36011 #include <sys/vfs.h>
36012 #endif
36013
36014 int
36015 main ()
36016 {
36017
36018 struct statfs fs;
36019 statfs("", &fs);
36020
36021 ;
36022 return 0;
36023 }
36024 _ACEOF
36025 rm -f conftest.$ac_objext
36026 if { (ac_try="$ac_compile"
36027 case "(($ac_try" in
36028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36029 *) ac_try_echo=$ac_try;;
36030 esac
36031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36032 (eval "$ac_compile") 2>conftest.er1
36033 ac_status=$?
36034 grep -v '^ *+' conftest.er1 >conftest.err
36035 rm -f conftest.er1
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } && {
36039 test -z "$ac_cxx_werror_flag" ||
36040 test ! -s conftest.err
36041 } && test -s conftest.$ac_objext; then
36042 wx_cv_func_statfs_decl=yes
36043 else
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36046
36047 wx_cv_func_statfs_decl=no
36048
36049 fi
36050
36051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36052 ac_ext=c
36053 ac_cpp='$CPP $CPPFLAGS'
36054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36057
36058
36059 fi
36060 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36061 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36062
36063 if test "$wx_cv_func_statfs_decl" = "yes"; then
36064 cat >>confdefs.h <<\_ACEOF
36065 #define HAVE_STATFS_DECL 1
36066 _ACEOF
36067
36068 fi
36069
36070 wx_cv_type_statvfs_t="struct statfs"
36071 cat >>confdefs.h <<\_ACEOF
36072 #define HAVE_STATFS 1
36073 _ACEOF
36074
36075 else
36076 { echo "$as_me:$LINENO: checking for statvfs" >&5
36077 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36078 if test "${wx_cv_func_statvfs+set}" = set; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36080 else
36081 cat >conftest.$ac_ext <<_ACEOF
36082 /* confdefs.h. */
36083 _ACEOF
36084 cat confdefs.h >>conftest.$ac_ext
36085 cat >>conftest.$ac_ext <<_ACEOF
36086 /* end confdefs.h. */
36087
36088 #include <stddef.h>
36089 #include <sys/statvfs.h>
36090
36091 int
36092 main ()
36093 {
36094
36095 statvfs("/", NULL);
36096
36097 ;
36098 return 0;
36099 }
36100 _ACEOF
36101 rm -f conftest.$ac_objext
36102 if { (ac_try="$ac_compile"
36103 case "(($ac_try" in
36104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36105 *) ac_try_echo=$ac_try;;
36106 esac
36107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36108 (eval "$ac_compile") 2>conftest.er1
36109 ac_status=$?
36110 grep -v '^ *+' conftest.er1 >conftest.err
36111 rm -f conftest.er1
36112 cat conftest.err >&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); } && {
36115 test -z "$ac_c_werror_flag" ||
36116 test ! -s conftest.err
36117 } && test -s conftest.$ac_objext; then
36118 wx_cv_func_statvfs=yes
36119 else
36120 echo "$as_me: failed program was:" >&5
36121 sed 's/^/| /' conftest.$ac_ext >&5
36122
36123 wx_cv_func_statvfs=no
36124
36125 fi
36126
36127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36128
36129 fi
36130 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36131 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36132
36133 if test "$wx_cv_func_statvfs" = "yes"; then
36134 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36135 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36136 if test "${wx_cv_type_statvfs_t+set}" = set; then
36137 echo $ECHO_N "(cached) $ECHO_C" >&6
36138 else
36139 ac_ext=cpp
36140 ac_cpp='$CXXCPP $CPPFLAGS'
36141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36144
36145 cat >conftest.$ac_ext <<_ACEOF
36146 /* confdefs.h. */
36147 _ACEOF
36148 cat confdefs.h >>conftest.$ac_ext
36149 cat >>conftest.$ac_ext <<_ACEOF
36150 /* end confdefs.h. */
36151
36152 #include <sys/statvfs.h>
36153
36154 int
36155 main ()
36156 {
36157
36158 long l;
36159 statvfs_t fs;
36160 statvfs("/", &fs);
36161 l = fs.f_bsize;
36162 l += fs.f_blocks;
36163 l += fs.f_bavail;
36164
36165 ;
36166 return 0;
36167 }
36168 _ACEOF
36169 rm -f conftest.$ac_objext
36170 if { (ac_try="$ac_compile"
36171 case "(($ac_try" in
36172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36173 *) ac_try_echo=$ac_try;;
36174 esac
36175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36176 (eval "$ac_compile") 2>conftest.er1
36177 ac_status=$?
36178 grep -v '^ *+' conftest.er1 >conftest.err
36179 rm -f conftest.er1
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } && {
36183 test -z "$ac_cxx_werror_flag" ||
36184 test ! -s conftest.err
36185 } && test -s conftest.$ac_objext; then
36186 wx_cv_type_statvfs_t=statvfs_t
36187 else
36188 echo "$as_me: failed program was:" >&5
36189 sed 's/^/| /' conftest.$ac_ext >&5
36190
36191
36192 cat >conftest.$ac_ext <<_ACEOF
36193 /* confdefs.h. */
36194 _ACEOF
36195 cat confdefs.h >>conftest.$ac_ext
36196 cat >>conftest.$ac_ext <<_ACEOF
36197 /* end confdefs.h. */
36198
36199 #include <sys/statvfs.h>
36200
36201 int
36202 main ()
36203 {
36204
36205 long l;
36206 struct statvfs fs;
36207 statvfs("/", &fs);
36208 l = fs.f_bsize;
36209 l += fs.f_blocks;
36210 l += fs.f_bavail;
36211
36212 ;
36213 return 0;
36214 }
36215 _ACEOF
36216 rm -f conftest.$ac_objext
36217 if { (ac_try="$ac_compile"
36218 case "(($ac_try" in
36219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36220 *) ac_try_echo=$ac_try;;
36221 esac
36222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36223 (eval "$ac_compile") 2>conftest.er1
36224 ac_status=$?
36225 grep -v '^ *+' conftest.er1 >conftest.err
36226 rm -f conftest.er1
36227 cat conftest.err >&5
36228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36229 (exit $ac_status); } && {
36230 test -z "$ac_cxx_werror_flag" ||
36231 test ! -s conftest.err
36232 } && test -s conftest.$ac_objext; then
36233 wx_cv_type_statvfs_t="struct statvfs"
36234 else
36235 echo "$as_me: failed program was:" >&5
36236 sed 's/^/| /' conftest.$ac_ext >&5
36237
36238 wx_cv_type_statvfs_t="unknown"
36239
36240 fi
36241
36242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36243
36244
36245 fi
36246
36247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36248 ac_ext=c
36249 ac_cpp='$CPP $CPPFLAGS'
36250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36253
36254
36255 fi
36256 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36257 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36258
36259 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36260 cat >>confdefs.h <<\_ACEOF
36261 #define HAVE_STATVFS 1
36262 _ACEOF
36263
36264 fi
36265 else
36266 wx_cv_type_statvfs_t="unknown"
36267 fi
36268 fi
36269
36270 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36271 cat >>confdefs.h <<_ACEOF
36272 #define WX_STATFS_T $wx_cv_type_statvfs_t
36273 _ACEOF
36274
36275 else
36276 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36277 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36278 fi
36279
36280 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36281
36282
36283 for ac_func in fcntl flock
36284 do
36285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36290 else
36291 cat >conftest.$ac_ext <<_ACEOF
36292 /* confdefs.h. */
36293 _ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36299 #define $ac_func innocuous_$ac_func
36300
36301 /* System header to define __stub macros and hopefully few prototypes,
36302 which can conflict with char $ac_func (); below.
36303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304 <limits.h> exists even on freestanding compilers. */
36305
36306 #ifdef __STDC__
36307 # include <limits.h>
36308 #else
36309 # include <assert.h>
36310 #endif
36311
36312 #undef $ac_func
36313
36314 /* Override any GCC internal prototype to avoid an error.
36315 Use char because int might match the return type of a GCC
36316 builtin and then its argument prototype would still apply. */
36317 #ifdef __cplusplus
36318 extern "C"
36319 #endif
36320 char $ac_func ();
36321 /* The GNU C library defines this for functions which it implements
36322 to always fail with ENOSYS. Some functions are actually named
36323 something starting with __ and the normal name is an alias. */
36324 #if defined __stub_$ac_func || defined __stub___$ac_func
36325 choke me
36326 #endif
36327
36328 int
36329 main ()
36330 {
36331 return $ac_func ();
36332 ;
36333 return 0;
36334 }
36335 _ACEOF
36336 rm -f conftest.$ac_objext conftest$ac_exeext
36337 if { (ac_try="$ac_link"
36338 case "(($ac_try" in
36339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36340 *) ac_try_echo=$ac_try;;
36341 esac
36342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36343 (eval "$ac_link") 2>conftest.er1
36344 ac_status=$?
36345 grep -v '^ *+' conftest.er1 >conftest.err
36346 rm -f conftest.er1
36347 cat conftest.err >&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } && {
36350 test -z "$ac_c_werror_flag" ||
36351 test ! -s conftest.err
36352 } && test -s conftest$ac_exeext &&
36353 $as_test_x conftest$ac_exeext; then
36354 eval "$as_ac_var=yes"
36355 else
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.$ac_ext >&5
36358
36359 eval "$as_ac_var=no"
36360 fi
36361
36362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36363 conftest$ac_exeext conftest.$ac_ext
36364 fi
36365 ac_res=`eval echo '${'$as_ac_var'}'`
36366 { echo "$as_me:$LINENO: result: $ac_res" >&5
36367 echo "${ECHO_T}$ac_res" >&6; }
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h <<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 _ACEOF
36372 break
36373 fi
36374 done
36375
36376
36377 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36378 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36379 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36380 wxUSE_SNGLINST_CHECKER=no
36381 fi
36382 fi
36383
36384
36385 for ac_func in timegm
36386 do
36387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36388 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36390 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36391 echo $ECHO_N "(cached) $ECHO_C" >&6
36392 else
36393 cat >conftest.$ac_ext <<_ACEOF
36394 /* confdefs.h. */
36395 _ACEOF
36396 cat confdefs.h >>conftest.$ac_ext
36397 cat >>conftest.$ac_ext <<_ACEOF
36398 /* end confdefs.h. */
36399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36401 #define $ac_func innocuous_$ac_func
36402
36403 /* System header to define __stub macros and hopefully few prototypes,
36404 which can conflict with char $ac_func (); below.
36405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36406 <limits.h> exists even on freestanding compilers. */
36407
36408 #ifdef __STDC__
36409 # include <limits.h>
36410 #else
36411 # include <assert.h>
36412 #endif
36413
36414 #undef $ac_func
36415
36416 /* Override any GCC internal prototype to avoid an error.
36417 Use char because int might match the return type of a GCC
36418 builtin and then its argument prototype would still apply. */
36419 #ifdef __cplusplus
36420 extern "C"
36421 #endif
36422 char $ac_func ();
36423 /* The GNU C library defines this for functions which it implements
36424 to always fail with ENOSYS. Some functions are actually named
36425 something starting with __ and the normal name is an alias. */
36426 #if defined __stub_$ac_func || defined __stub___$ac_func
36427 choke me
36428 #endif
36429
36430 int
36431 main ()
36432 {
36433 return $ac_func ();
36434 ;
36435 return 0;
36436 }
36437 _ACEOF
36438 rm -f conftest.$ac_objext conftest$ac_exeext
36439 if { (ac_try="$ac_link"
36440 case "(($ac_try" in
36441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36442 *) ac_try_echo=$ac_try;;
36443 esac
36444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36445 (eval "$ac_link") 2>conftest.er1
36446 ac_status=$?
36447 grep -v '^ *+' conftest.er1 >conftest.err
36448 rm -f conftest.er1
36449 cat conftest.err >&5
36450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36451 (exit $ac_status); } && {
36452 test -z "$ac_c_werror_flag" ||
36453 test ! -s conftest.err
36454 } && test -s conftest$ac_exeext &&
36455 $as_test_x conftest$ac_exeext; then
36456 eval "$as_ac_var=yes"
36457 else
36458 echo "$as_me: failed program was:" >&5
36459 sed 's/^/| /' conftest.$ac_ext >&5
36460
36461 eval "$as_ac_var=no"
36462 fi
36463
36464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36465 conftest$ac_exeext conftest.$ac_ext
36466 fi
36467 ac_res=`eval echo '${'$as_ac_var'}'`
36468 { echo "$as_me:$LINENO: result: $ac_res" >&5
36469 echo "${ECHO_T}$ac_res" >&6; }
36470 if test `eval echo '${'$as_ac_var'}'` = yes; then
36471 cat >>confdefs.h <<_ACEOF
36472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36473 _ACEOF
36474
36475 fi
36476 done
36477
36478
36479
36480
36481 for ac_func in putenv setenv
36482 do
36483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 else
36489 cat >conftest.$ac_ext <<_ACEOF
36490 /* confdefs.h. */
36491 _ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36497 #define $ac_func innocuous_$ac_func
36498
36499 /* System header to define __stub macros and hopefully few prototypes,
36500 which can conflict with char $ac_func (); below.
36501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36502 <limits.h> exists even on freestanding compilers. */
36503
36504 #ifdef __STDC__
36505 # include <limits.h>
36506 #else
36507 # include <assert.h>
36508 #endif
36509
36510 #undef $ac_func
36511
36512 /* Override any GCC internal prototype to avoid an error.
36513 Use char because int might match the return type of a GCC
36514 builtin and then its argument prototype would still apply. */
36515 #ifdef __cplusplus
36516 extern "C"
36517 #endif
36518 char $ac_func ();
36519 /* The GNU C library defines this for functions which it implements
36520 to always fail with ENOSYS. Some functions are actually named
36521 something starting with __ and the normal name is an alias. */
36522 #if defined __stub_$ac_func || defined __stub___$ac_func
36523 choke me
36524 #endif
36525
36526 int
36527 main ()
36528 {
36529 return $ac_func ();
36530 ;
36531 return 0;
36532 }
36533 _ACEOF
36534 rm -f conftest.$ac_objext conftest$ac_exeext
36535 if { (ac_try="$ac_link"
36536 case "(($ac_try" in
36537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36538 *) ac_try_echo=$ac_try;;
36539 esac
36540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36541 (eval "$ac_link") 2>conftest.er1
36542 ac_status=$?
36543 grep -v '^ *+' conftest.er1 >conftest.err
36544 rm -f conftest.er1
36545 cat conftest.err >&5
36546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36547 (exit $ac_status); } && {
36548 test -z "$ac_c_werror_flag" ||
36549 test ! -s conftest.err
36550 } && test -s conftest$ac_exeext &&
36551 $as_test_x conftest$ac_exeext; then
36552 eval "$as_ac_var=yes"
36553 else
36554 echo "$as_me: failed program was:" >&5
36555 sed 's/^/| /' conftest.$ac_ext >&5
36556
36557 eval "$as_ac_var=no"
36558 fi
36559
36560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36561 conftest$ac_exeext conftest.$ac_ext
36562 fi
36563 ac_res=`eval echo '${'$as_ac_var'}'`
36564 { echo "$as_me:$LINENO: result: $ac_res" >&5
36565 echo "${ECHO_T}$ac_res" >&6; }
36566 if test `eval echo '${'$as_ac_var'}'` = yes; then
36567 cat >>confdefs.h <<_ACEOF
36568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36569 _ACEOF
36570 break
36571 fi
36572 done
36573
36574
36575 HAVE_SOME_SLEEP_FUNC=0
36576 if test "$USE_BEOS" = 1; then
36577 cat >>confdefs.h <<\_ACEOF
36578 #define HAVE_SLEEP 1
36579 _ACEOF
36580
36581 HAVE_SOME_SLEEP_FUNC=1
36582 fi
36583
36584 if test "$USE_DARWIN" = 1; then
36585 cat >>confdefs.h <<\_ACEOF
36586 #define HAVE_USLEEP 1
36587 _ACEOF
36588
36589 HAVE_SOME_SLEEP_FUNC=1
36590 fi
36591
36592 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36593 POSIX4_LINK=
36594
36595 for ac_func in nanosleep
36596 do
36597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36598 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36600 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36601 echo $ECHO_N "(cached) $ECHO_C" >&6
36602 else
36603 cat >conftest.$ac_ext <<_ACEOF
36604 /* confdefs.h. */
36605 _ACEOF
36606 cat confdefs.h >>conftest.$ac_ext
36607 cat >>conftest.$ac_ext <<_ACEOF
36608 /* end confdefs.h. */
36609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36611 #define $ac_func innocuous_$ac_func
36612
36613 /* System header to define __stub macros and hopefully few prototypes,
36614 which can conflict with char $ac_func (); below.
36615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36616 <limits.h> exists even on freestanding compilers. */
36617
36618 #ifdef __STDC__
36619 # include <limits.h>
36620 #else
36621 # include <assert.h>
36622 #endif
36623
36624 #undef $ac_func
36625
36626 /* Override any GCC internal prototype to avoid an error.
36627 Use char because int might match the return type of a GCC
36628 builtin and then its argument prototype would still apply. */
36629 #ifdef __cplusplus
36630 extern "C"
36631 #endif
36632 char $ac_func ();
36633 /* The GNU C library defines this for functions which it implements
36634 to always fail with ENOSYS. Some functions are actually named
36635 something starting with __ and the normal name is an alias. */
36636 #if defined __stub_$ac_func || defined __stub___$ac_func
36637 choke me
36638 #endif
36639
36640 int
36641 main ()
36642 {
36643 return $ac_func ();
36644 ;
36645 return 0;
36646 }
36647 _ACEOF
36648 rm -f conftest.$ac_objext conftest$ac_exeext
36649 if { (ac_try="$ac_link"
36650 case "(($ac_try" in
36651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36652 *) ac_try_echo=$ac_try;;
36653 esac
36654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36655 (eval "$ac_link") 2>conftest.er1
36656 ac_status=$?
36657 grep -v '^ *+' conftest.er1 >conftest.err
36658 rm -f conftest.er1
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } && {
36662 test -z "$ac_c_werror_flag" ||
36663 test ! -s conftest.err
36664 } && test -s conftest$ac_exeext &&
36665 $as_test_x conftest$ac_exeext; then
36666 eval "$as_ac_var=yes"
36667 else
36668 echo "$as_me: failed program was:" >&5
36669 sed 's/^/| /' conftest.$ac_ext >&5
36670
36671 eval "$as_ac_var=no"
36672 fi
36673
36674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36675 conftest$ac_exeext conftest.$ac_ext
36676 fi
36677 ac_res=`eval echo '${'$as_ac_var'}'`
36678 { echo "$as_me:$LINENO: result: $ac_res" >&5
36679 echo "${ECHO_T}$ac_res" >&6; }
36680 if test `eval echo '${'$as_ac_var'}'` = yes; then
36681 cat >>confdefs.h <<_ACEOF
36682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36683 _ACEOF
36684 cat >>confdefs.h <<\_ACEOF
36685 #define HAVE_NANOSLEEP 1
36686 _ACEOF
36687
36688 else
36689
36690 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36691 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36692 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36694 else
36695 ac_check_lib_save_LIBS=$LIBS
36696 LIBS="-lposix4 $LIBS"
36697 cat >conftest.$ac_ext <<_ACEOF
36698 /* confdefs.h. */
36699 _ACEOF
36700 cat confdefs.h >>conftest.$ac_ext
36701 cat >>conftest.$ac_ext <<_ACEOF
36702 /* end confdefs.h. */
36703
36704 /* Override any GCC internal prototype to avoid an error.
36705 Use char because int might match the return type of a GCC
36706 builtin and then its argument prototype would still apply. */
36707 #ifdef __cplusplus
36708 extern "C"
36709 #endif
36710 char nanosleep ();
36711 int
36712 main ()
36713 {
36714 return nanosleep ();
36715 ;
36716 return 0;
36717 }
36718 _ACEOF
36719 rm -f conftest.$ac_objext conftest$ac_exeext
36720 if { (ac_try="$ac_link"
36721 case "(($ac_try" in
36722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36723 *) ac_try_echo=$ac_try;;
36724 esac
36725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36726 (eval "$ac_link") 2>conftest.er1
36727 ac_status=$?
36728 grep -v '^ *+' conftest.er1 >conftest.err
36729 rm -f conftest.er1
36730 cat conftest.err >&5
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); } && {
36733 test -z "$ac_c_werror_flag" ||
36734 test ! -s conftest.err
36735 } && test -s conftest$ac_exeext &&
36736 $as_test_x conftest$ac_exeext; then
36737 ac_cv_lib_posix4_nanosleep=yes
36738 else
36739 echo "$as_me: failed program was:" >&5
36740 sed 's/^/| /' conftest.$ac_ext >&5
36741
36742 ac_cv_lib_posix4_nanosleep=no
36743 fi
36744
36745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36746 conftest$ac_exeext conftest.$ac_ext
36747 LIBS=$ac_check_lib_save_LIBS
36748 fi
36749 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36750 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36751 if test $ac_cv_lib_posix4_nanosleep = yes; then
36752
36753 cat >>confdefs.h <<\_ACEOF
36754 #define HAVE_NANOSLEEP 1
36755 _ACEOF
36756
36757 POSIX4_LINK=" -lposix4"
36758
36759 else
36760
36761
36762 for wx_func in usleep
36763 do
36764 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36765 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36766 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36768 else
36769
36770 cat >conftest.$ac_ext <<_ACEOF
36771
36772 /* confdefs.h. */
36773 _ACEOF
36774 cat confdefs.h >>conftest.$ac_ext
36775 cat >>conftest.$ac_ext <<_ACEOF
36776 /* end confdefs.h. */
36777
36778
36779 $ac_includes_default
36780
36781 int
36782 main ()
36783 {
36784
36785 #ifndef $wx_func
36786 &$wx_func;
36787 #endif
36788
36789
36790 ;
36791 return 0;
36792 }
36793
36794 _ACEOF
36795 rm -f conftest.$ac_objext conftest$ac_exeext
36796 if { (ac_try="$ac_link"
36797 case "(($ac_try" in
36798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36799 *) ac_try_echo=$ac_try;;
36800 esac
36801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36802 (eval "$ac_link") 2>conftest.er1
36803 ac_status=$?
36804 grep -v '^ *+' conftest.er1 >conftest.err
36805 rm -f conftest.er1
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } && {
36809 test -z "$ac_c_werror_flag" ||
36810 test ! -s conftest.err
36811 } && test -s conftest$ac_exeext &&
36812 $as_test_x conftest$ac_exeext; then
36813 eval wx_cv_func_$wx_func=yes
36814 else
36815 echo "$as_me: failed program was:" >&5
36816 sed 's/^/| /' conftest.$ac_ext >&5
36817
36818 eval wx_cv_func_$wx_func=no
36819 fi
36820
36821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36822 conftest$ac_exeext conftest.$ac_ext
36823
36824 fi
36825 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36826 { echo "$as_me:$LINENO: result: $ac_res" >&5
36827 echo "${ECHO_T}$ac_res" >&6; }
36828
36829 if eval test \$wx_cv_func_$wx_func = yes
36830 then
36831 cat >>confdefs.h <<_ACEOF
36832 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36833 _ACEOF
36834
36835
36836 else
36837 :
36838 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36839 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36840
36841 fi
36842 done
36843
36844
36845
36846 fi
36847
36848
36849
36850 fi
36851 done
36852
36853 fi
36854
36855
36856 for wx_func in uname
36857 do
36858 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36859 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36860 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36861 echo $ECHO_N "(cached) $ECHO_C" >&6
36862 else
36863
36864 cat >conftest.$ac_ext <<_ACEOF
36865
36866 /* confdefs.h. */
36867 _ACEOF
36868 cat confdefs.h >>conftest.$ac_ext
36869 cat >>conftest.$ac_ext <<_ACEOF
36870 /* end confdefs.h. */
36871
36872 #include <sys/utsname.h>
36873 $ac_includes_default
36874
36875 int
36876 main ()
36877 {
36878
36879 #ifndef $wx_func
36880 &$wx_func;
36881 #endif
36882
36883
36884 ;
36885 return 0;
36886 }
36887
36888 _ACEOF
36889 rm -f conftest.$ac_objext conftest$ac_exeext
36890 if { (ac_try="$ac_link"
36891 case "(($ac_try" in
36892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36893 *) ac_try_echo=$ac_try;;
36894 esac
36895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36896 (eval "$ac_link") 2>conftest.er1
36897 ac_status=$?
36898 grep -v '^ *+' conftest.er1 >conftest.err
36899 rm -f conftest.er1
36900 cat conftest.err >&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } && {
36903 test -z "$ac_c_werror_flag" ||
36904 test ! -s conftest.err
36905 } && test -s conftest$ac_exeext &&
36906 $as_test_x conftest$ac_exeext; then
36907 eval wx_cv_func_$wx_func=yes
36908 else
36909 echo "$as_me: failed program was:" >&5
36910 sed 's/^/| /' conftest.$ac_ext >&5
36911
36912 eval wx_cv_func_$wx_func=no
36913 fi
36914
36915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36916 conftest$ac_exeext conftest.$ac_ext
36917
36918 fi
36919 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36920 { echo "$as_me:$LINENO: result: $ac_res" >&5
36921 echo "${ECHO_T}$ac_res" >&6; }
36922
36923 if eval test \$wx_cv_func_$wx_func = yes
36924 then
36925 cat >>confdefs.h <<_ACEOF
36926 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36927 _ACEOF
36928
36929
36930 else
36931 :
36932
36933 fi
36934 done
36935
36936 if test "$wx_cv_func_uname" != yes; then
36937
36938 for wx_func in gethostname
36939 do
36940 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36941 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36942 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36944 else
36945
36946 cat >conftest.$ac_ext <<_ACEOF
36947
36948 /* confdefs.h. */
36949 _ACEOF
36950 cat confdefs.h >>conftest.$ac_ext
36951 cat >>conftest.$ac_ext <<_ACEOF
36952 /* end confdefs.h. */
36953
36954
36955 $ac_includes_default
36956
36957 int
36958 main ()
36959 {
36960
36961 #ifndef $wx_func
36962 &$wx_func;
36963 #endif
36964
36965
36966 ;
36967 return 0;
36968 }
36969
36970 _ACEOF
36971 rm -f conftest.$ac_objext conftest$ac_exeext
36972 if { (ac_try="$ac_link"
36973 case "(($ac_try" in
36974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36975 *) ac_try_echo=$ac_try;;
36976 esac
36977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36978 (eval "$ac_link") 2>conftest.er1
36979 ac_status=$?
36980 grep -v '^ *+' conftest.er1 >conftest.err
36981 rm -f conftest.er1
36982 cat conftest.err >&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); } && {
36985 test -z "$ac_c_werror_flag" ||
36986 test ! -s conftest.err
36987 } && test -s conftest$ac_exeext &&
36988 $as_test_x conftest$ac_exeext; then
36989 eval wx_cv_func_$wx_func=yes
36990 else
36991 echo "$as_me: failed program was:" >&5
36992 sed 's/^/| /' conftest.$ac_ext >&5
36993
36994 eval wx_cv_func_$wx_func=no
36995 fi
36996
36997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36998 conftest$ac_exeext conftest.$ac_ext
36999
37000 fi
37001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37002 { echo "$as_me:$LINENO: result: $ac_res" >&5
37003 echo "${ECHO_T}$ac_res" >&6; }
37004
37005 if eval test \$wx_cv_func_$wx_func = yes
37006 then
37007 cat >>confdefs.h <<_ACEOF
37008 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37009 _ACEOF
37010
37011
37012 else
37013 :
37014
37015 fi
37016 done
37017
37018 fi
37019
37020
37021 for wx_func in strtok_r
37022 do
37023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37025 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37026 echo $ECHO_N "(cached) $ECHO_C" >&6
37027 else
37028
37029 cat >conftest.$ac_ext <<_ACEOF
37030
37031 /* confdefs.h. */
37032 _ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036
37037 #define _REENTRANT
37038 $ac_includes_default
37039
37040 int
37041 main ()
37042 {
37043
37044 #ifndef $wx_func
37045 &$wx_func;
37046 #endif
37047
37048
37049 ;
37050 return 0;
37051 }
37052
37053 _ACEOF
37054 rm -f conftest.$ac_objext conftest$ac_exeext
37055 if { (ac_try="$ac_link"
37056 case "(($ac_try" in
37057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37058 *) ac_try_echo=$ac_try;;
37059 esac
37060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37061 (eval "$ac_link") 2>conftest.er1
37062 ac_status=$?
37063 grep -v '^ *+' conftest.er1 >conftest.err
37064 rm -f conftest.er1
37065 cat conftest.err >&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); } && {
37068 test -z "$ac_c_werror_flag" ||
37069 test ! -s conftest.err
37070 } && test -s conftest$ac_exeext &&
37071 $as_test_x conftest$ac_exeext; then
37072 eval wx_cv_func_$wx_func=yes
37073 else
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.$ac_ext >&5
37076
37077 eval wx_cv_func_$wx_func=no
37078 fi
37079
37080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37081 conftest$ac_exeext conftest.$ac_ext
37082
37083 fi
37084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37085 { echo "$as_me:$LINENO: result: $ac_res" >&5
37086 echo "${ECHO_T}$ac_res" >&6; }
37087
37088 if eval test \$wx_cv_func_$wx_func = yes
37089 then
37090 cat >>confdefs.h <<_ACEOF
37091 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37092 _ACEOF
37093
37094
37095 else
37096 :
37097
37098 fi
37099 done
37100
37101
37102 INET_LINK=
37103
37104 for ac_func in inet_addr
37105 do
37106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37107 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37109 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37111 else
37112 cat >conftest.$ac_ext <<_ACEOF
37113 /* confdefs.h. */
37114 _ACEOF
37115 cat confdefs.h >>conftest.$ac_ext
37116 cat >>conftest.$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37120 #define $ac_func innocuous_$ac_func
37121
37122 /* System header to define __stub macros and hopefully few prototypes,
37123 which can conflict with char $ac_func (); below.
37124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37125 <limits.h> exists even on freestanding compilers. */
37126
37127 #ifdef __STDC__
37128 # include <limits.h>
37129 #else
37130 # include <assert.h>
37131 #endif
37132
37133 #undef $ac_func
37134
37135 /* Override any GCC internal prototype to avoid an error.
37136 Use char because int might match the return type of a GCC
37137 builtin and then its argument prototype would still apply. */
37138 #ifdef __cplusplus
37139 extern "C"
37140 #endif
37141 char $ac_func ();
37142 /* The GNU C library defines this for functions which it implements
37143 to always fail with ENOSYS. Some functions are actually named
37144 something starting with __ and the normal name is an alias. */
37145 #if defined __stub_$ac_func || defined __stub___$ac_func
37146 choke me
37147 #endif
37148
37149 int
37150 main ()
37151 {
37152 return $ac_func ();
37153 ;
37154 return 0;
37155 }
37156 _ACEOF
37157 rm -f conftest.$ac_objext conftest$ac_exeext
37158 if { (ac_try="$ac_link"
37159 case "(($ac_try" in
37160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37161 *) ac_try_echo=$ac_try;;
37162 esac
37163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37164 (eval "$ac_link") 2>conftest.er1
37165 ac_status=$?
37166 grep -v '^ *+' conftest.er1 >conftest.err
37167 rm -f conftest.er1
37168 cat conftest.err >&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); } && {
37171 test -z "$ac_c_werror_flag" ||
37172 test ! -s conftest.err
37173 } && test -s conftest$ac_exeext &&
37174 $as_test_x conftest$ac_exeext; then
37175 eval "$as_ac_var=yes"
37176 else
37177 echo "$as_me: failed program was:" >&5
37178 sed 's/^/| /' conftest.$ac_ext >&5
37179
37180 eval "$as_ac_var=no"
37181 fi
37182
37183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37184 conftest$ac_exeext conftest.$ac_ext
37185 fi
37186 ac_res=`eval echo '${'$as_ac_var'}'`
37187 { echo "$as_me:$LINENO: result: $ac_res" >&5
37188 echo "${ECHO_T}$ac_res" >&6; }
37189 if test `eval echo '${'$as_ac_var'}'` = yes; then
37190 cat >>confdefs.h <<_ACEOF
37191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37192 _ACEOF
37193 cat >>confdefs.h <<\_ACEOF
37194 #define HAVE_INET_ADDR 1
37195 _ACEOF
37196
37197 else
37198
37199 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37200 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37201 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37202 echo $ECHO_N "(cached) $ECHO_C" >&6
37203 else
37204 ac_check_lib_save_LIBS=$LIBS
37205 LIBS="-lnsl $LIBS"
37206 cat >conftest.$ac_ext <<_ACEOF
37207 /* confdefs.h. */
37208 _ACEOF
37209 cat confdefs.h >>conftest.$ac_ext
37210 cat >>conftest.$ac_ext <<_ACEOF
37211 /* end confdefs.h. */
37212
37213 /* Override any GCC internal prototype to avoid an error.
37214 Use char because int might match the return type of a GCC
37215 builtin and then its argument prototype would still apply. */
37216 #ifdef __cplusplus
37217 extern "C"
37218 #endif
37219 char inet_addr ();
37220 int
37221 main ()
37222 {
37223 return inet_addr ();
37224 ;
37225 return 0;
37226 }
37227 _ACEOF
37228 rm -f conftest.$ac_objext conftest$ac_exeext
37229 if { (ac_try="$ac_link"
37230 case "(($ac_try" in
37231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37232 *) ac_try_echo=$ac_try;;
37233 esac
37234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37235 (eval "$ac_link") 2>conftest.er1
37236 ac_status=$?
37237 grep -v '^ *+' conftest.er1 >conftest.err
37238 rm -f conftest.er1
37239 cat conftest.err >&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } && {
37242 test -z "$ac_c_werror_flag" ||
37243 test ! -s conftest.err
37244 } && test -s conftest$ac_exeext &&
37245 $as_test_x conftest$ac_exeext; then
37246 ac_cv_lib_nsl_inet_addr=yes
37247 else
37248 echo "$as_me: failed program was:" >&5
37249 sed 's/^/| /' conftest.$ac_ext >&5
37250
37251 ac_cv_lib_nsl_inet_addr=no
37252 fi
37253
37254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37255 conftest$ac_exeext conftest.$ac_ext
37256 LIBS=$ac_check_lib_save_LIBS
37257 fi
37258 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37259 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37260 if test $ac_cv_lib_nsl_inet_addr = yes; then
37261 INET_LINK="nsl"
37262 else
37263
37264 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37265 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37266 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37267 echo $ECHO_N "(cached) $ECHO_C" >&6
37268 else
37269 ac_check_lib_save_LIBS=$LIBS
37270 LIBS="-lresolv $LIBS"
37271 cat >conftest.$ac_ext <<_ACEOF
37272 /* confdefs.h. */
37273 _ACEOF
37274 cat confdefs.h >>conftest.$ac_ext
37275 cat >>conftest.$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37277
37278 /* Override any GCC internal prototype to avoid an error.
37279 Use char because int might match the return type of a GCC
37280 builtin and then its argument prototype would still apply. */
37281 #ifdef __cplusplus
37282 extern "C"
37283 #endif
37284 char inet_addr ();
37285 int
37286 main ()
37287 {
37288 return inet_addr ();
37289 ;
37290 return 0;
37291 }
37292 _ACEOF
37293 rm -f conftest.$ac_objext conftest$ac_exeext
37294 if { (ac_try="$ac_link"
37295 case "(($ac_try" in
37296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37297 *) ac_try_echo=$ac_try;;
37298 esac
37299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37300 (eval "$ac_link") 2>conftest.er1
37301 ac_status=$?
37302 grep -v '^ *+' conftest.er1 >conftest.err
37303 rm -f conftest.er1
37304 cat conftest.err >&5
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); } && {
37307 test -z "$ac_c_werror_flag" ||
37308 test ! -s conftest.err
37309 } && test -s conftest$ac_exeext &&
37310 $as_test_x conftest$ac_exeext; then
37311 ac_cv_lib_resolv_inet_addr=yes
37312 else
37313 echo "$as_me: failed program was:" >&5
37314 sed 's/^/| /' conftest.$ac_ext >&5
37315
37316 ac_cv_lib_resolv_inet_addr=no
37317 fi
37318
37319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37320 conftest$ac_exeext conftest.$ac_ext
37321 LIBS=$ac_check_lib_save_LIBS
37322 fi
37323 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37324 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37325 if test $ac_cv_lib_resolv_inet_addr = yes; then
37326 INET_LINK="resolv"
37327 else
37328
37329 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37330 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37331 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37332 echo $ECHO_N "(cached) $ECHO_C" >&6
37333 else
37334 ac_check_lib_save_LIBS=$LIBS
37335 LIBS="-lsocket $LIBS"
37336 cat >conftest.$ac_ext <<_ACEOF
37337 /* confdefs.h. */
37338 _ACEOF
37339 cat confdefs.h >>conftest.$ac_ext
37340 cat >>conftest.$ac_ext <<_ACEOF
37341 /* end confdefs.h. */
37342
37343 /* Override any GCC internal prototype to avoid an error.
37344 Use char because int might match the return type of a GCC
37345 builtin and then its argument prototype would still apply. */
37346 #ifdef __cplusplus
37347 extern "C"
37348 #endif
37349 char inet_addr ();
37350 int
37351 main ()
37352 {
37353 return inet_addr ();
37354 ;
37355 return 0;
37356 }
37357 _ACEOF
37358 rm -f conftest.$ac_objext conftest$ac_exeext
37359 if { (ac_try="$ac_link"
37360 case "(($ac_try" in
37361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37362 *) ac_try_echo=$ac_try;;
37363 esac
37364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37365 (eval "$ac_link") 2>conftest.er1
37366 ac_status=$?
37367 grep -v '^ *+' conftest.er1 >conftest.err
37368 rm -f conftest.er1
37369 cat conftest.err >&5
37370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37371 (exit $ac_status); } && {
37372 test -z "$ac_c_werror_flag" ||
37373 test ! -s conftest.err
37374 } && test -s conftest$ac_exeext &&
37375 $as_test_x conftest$ac_exeext; then
37376 ac_cv_lib_socket_inet_addr=yes
37377 else
37378 echo "$as_me: failed program was:" >&5
37379 sed 's/^/| /' conftest.$ac_ext >&5
37380
37381 ac_cv_lib_socket_inet_addr=no
37382 fi
37383
37384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37385 conftest$ac_exeext conftest.$ac_ext
37386 LIBS=$ac_check_lib_save_LIBS
37387 fi
37388 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37389 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37390 if test $ac_cv_lib_socket_inet_addr = yes; then
37391 INET_LINK="socket"
37392
37393 fi
37394
37395
37396
37397 fi
37398
37399
37400
37401 fi
37402
37403
37404
37405 fi
37406 done
37407
37408
37409
37410 for ac_func in inet_aton
37411 do
37412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37416 echo $ECHO_N "(cached) $ECHO_C" >&6
37417 else
37418 cat >conftest.$ac_ext <<_ACEOF
37419 /* confdefs.h. */
37420 _ACEOF
37421 cat confdefs.h >>conftest.$ac_ext
37422 cat >>conftest.$ac_ext <<_ACEOF
37423 /* end confdefs.h. */
37424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37426 #define $ac_func innocuous_$ac_func
37427
37428 /* System header to define __stub macros and hopefully few prototypes,
37429 which can conflict with char $ac_func (); below.
37430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37431 <limits.h> exists even on freestanding compilers. */
37432
37433 #ifdef __STDC__
37434 # include <limits.h>
37435 #else
37436 # include <assert.h>
37437 #endif
37438
37439 #undef $ac_func
37440
37441 /* Override any GCC internal prototype to avoid an error.
37442 Use char because int might match the return type of a GCC
37443 builtin and then its argument prototype would still apply. */
37444 #ifdef __cplusplus
37445 extern "C"
37446 #endif
37447 char $ac_func ();
37448 /* The GNU C library defines this for functions which it implements
37449 to always fail with ENOSYS. Some functions are actually named
37450 something starting with __ and the normal name is an alias. */
37451 #if defined __stub_$ac_func || defined __stub___$ac_func
37452 choke me
37453 #endif
37454
37455 int
37456 main ()
37457 {
37458 return $ac_func ();
37459 ;
37460 return 0;
37461 }
37462 _ACEOF
37463 rm -f conftest.$ac_objext conftest$ac_exeext
37464 if { (ac_try="$ac_link"
37465 case "(($ac_try" in
37466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37467 *) ac_try_echo=$ac_try;;
37468 esac
37469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37470 (eval "$ac_link") 2>conftest.er1
37471 ac_status=$?
37472 grep -v '^ *+' conftest.er1 >conftest.err
37473 rm -f conftest.er1
37474 cat conftest.err >&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } && {
37477 test -z "$ac_c_werror_flag" ||
37478 test ! -s conftest.err
37479 } && test -s conftest$ac_exeext &&
37480 $as_test_x conftest$ac_exeext; then
37481 eval "$as_ac_var=yes"
37482 else
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37485
37486 eval "$as_ac_var=no"
37487 fi
37488
37489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37490 conftest$ac_exeext conftest.$ac_ext
37491 fi
37492 ac_res=`eval echo '${'$as_ac_var'}'`
37493 { echo "$as_me:$LINENO: result: $ac_res" >&5
37494 echo "${ECHO_T}$ac_res" >&6; }
37495 if test `eval echo '${'$as_ac_var'}'` = yes; then
37496 cat >>confdefs.h <<_ACEOF
37497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37498 _ACEOF
37499 cat >>confdefs.h <<\_ACEOF
37500 #define HAVE_INET_ATON 1
37501 _ACEOF
37502
37503 else
37504
37505 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37506 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37507 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37508 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37509 echo $ECHO_N "(cached) $ECHO_C" >&6
37510 else
37511 ac_check_lib_save_LIBS=$LIBS
37512 LIBS="-l$INET_LINK $LIBS"
37513 cat >conftest.$ac_ext <<_ACEOF
37514 /* confdefs.h. */
37515 _ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37519
37520 /* Override any GCC internal prototype to avoid an error.
37521 Use char because int might match the return type of a GCC
37522 builtin and then its argument prototype would still apply. */
37523 #ifdef __cplusplus
37524 extern "C"
37525 #endif
37526 char inet_aton ();
37527 int
37528 main ()
37529 {
37530 return inet_aton ();
37531 ;
37532 return 0;
37533 }
37534 _ACEOF
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37539 *) ac_try_echo=$ac_try;;
37540 esac
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37543 ac_status=$?
37544 grep -v '^ *+' conftest.er1 >conftest.err
37545 rm -f conftest.er1
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest$ac_exeext &&
37552 $as_test_x conftest$ac_exeext; then
37553 eval "$as_ac_Lib=yes"
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 eval "$as_ac_Lib=no"
37559 fi
37560
37561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37562 conftest$ac_exeext conftest.$ac_ext
37563 LIBS=$ac_check_lib_save_LIBS
37564 fi
37565 ac_res=`eval echo '${'$as_ac_Lib'}'`
37566 { echo "$as_me:$LINENO: result: $ac_res" >&5
37567 echo "${ECHO_T}$ac_res" >&6; }
37568 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37569 cat >>confdefs.h <<\_ACEOF
37570 #define HAVE_INET_ATON 1
37571 _ACEOF
37572
37573 fi
37574
37575
37576 fi
37577 done
37578
37579
37580 if test "x$INET_LINK" != "x"; then
37581 cat >>confdefs.h <<\_ACEOF
37582 #define HAVE_INET_ADDR 1
37583 _ACEOF
37584
37585 INET_LINK=" -l$INET_LINK"
37586 fi
37587
37588
37589 for wx_func in fdopen
37590 do
37591 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37592 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37593 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37594 echo $ECHO_N "(cached) $ECHO_C" >&6
37595 else
37596
37597 cat >conftest.$ac_ext <<_ACEOF
37598
37599 /* confdefs.h. */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604
37605
37606 $ac_includes_default
37607
37608 int
37609 main ()
37610 {
37611
37612 #ifndef $wx_func
37613 &$wx_func;
37614 #endif
37615
37616
37617 ;
37618 return 0;
37619 }
37620
37621 _ACEOF
37622 rm -f conftest.$ac_objext conftest$ac_exeext
37623 if { (ac_try="$ac_link"
37624 case "(($ac_try" in
37625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37626 *) ac_try_echo=$ac_try;;
37627 esac
37628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37629 (eval "$ac_link") 2>conftest.er1
37630 ac_status=$?
37631 grep -v '^ *+' conftest.er1 >conftest.err
37632 rm -f conftest.er1
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); } && {
37636 test -z "$ac_c_werror_flag" ||
37637 test ! -s conftest.err
37638 } && test -s conftest$ac_exeext &&
37639 $as_test_x conftest$ac_exeext; then
37640 eval wx_cv_func_$wx_func=yes
37641 else
37642 echo "$as_me: failed program was:" >&5
37643 sed 's/^/| /' conftest.$ac_ext >&5
37644
37645 eval wx_cv_func_$wx_func=no
37646 fi
37647
37648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37649 conftest$ac_exeext conftest.$ac_ext
37650
37651 fi
37652 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37653 { echo "$as_me:$LINENO: result: $ac_res" >&5
37654 echo "${ECHO_T}$ac_res" >&6; }
37655
37656 if eval test \$wx_cv_func_$wx_func = yes
37657 then
37658 cat >>confdefs.h <<_ACEOF
37659 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37660 _ACEOF
37661
37662
37663 else
37664 :
37665
37666 fi
37667 done
37668
37669
37670 fi
37671
37672
37673
37674 cat >confcache <<\_ACEOF
37675 # This file is a shell script that caches the results of configure
37676 # tests run on this system so they can be shared between configure
37677 # scripts and configure runs, see configure's option --config-cache.
37678 # It is not useful on other systems. If it contains results you don't
37679 # want to keep, you may remove or edit it.
37680 #
37681 # config.status only pays attention to the cache file if you give it
37682 # the --recheck option to rerun configure.
37683 #
37684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37686 # following values.
37687
37688 _ACEOF
37689
37690 # The following way of writing the cache mishandles newlines in values,
37691 # but we know of no workaround that is simple, portable, and efficient.
37692 # So, we kill variables containing newlines.
37693 # Ultrix sh set writes to stderr and can't be redirected directly,
37694 # and sets the high bit in the cache file unless we assign to the vars.
37695 (
37696 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37697 eval ac_val=\$$ac_var
37698 case $ac_val in #(
37699 *${as_nl}*)
37700 case $ac_var in #(
37701 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37702 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37703 esac
37704 case $ac_var in #(
37705 _ | IFS | as_nl) ;; #(
37706 *) $as_unset $ac_var ;;
37707 esac ;;
37708 esac
37709 done
37710
37711 (set) 2>&1 |
37712 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37713 *${as_nl}ac_space=\ *)
37714 # `set' does not quote correctly, so add quotes (double-quote
37715 # substitution turns \\\\ into \\, and sed turns \\ into \).
37716 sed -n \
37717 "s/'/'\\\\''/g;
37718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37719 ;; #(
37720 *)
37721 # `set' quotes correctly as required by POSIX, so do not add quotes.
37722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37723 ;;
37724 esac |
37725 sort
37726 ) |
37727 sed '
37728 /^ac_cv_env_/b end
37729 t clear
37730 :clear
37731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37732 t end
37733 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37734 :end' >>confcache
37735 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37736 if test -w "$cache_file"; then
37737 test "x$cache_file" != "x/dev/null" &&
37738 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37739 echo "$as_me: updating cache $cache_file" >&6;}
37740 cat confcache >$cache_file
37741 else
37742 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37743 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37744 fi
37745 fi
37746 rm -f confcache
37747
37748
37749 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37750
37751
37752 THREADS_LINK=
37753 THREADS_CFLAGS=
37754
37755 if test "$wxUSE_THREADS" = "yes" ; then
37756 if test "$USE_BEOS" = 1; then
37757 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37758 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37759 wxUSE_THREADS="no"
37760 fi
37761 fi
37762
37763 if test "$wxUSE_THREADS" = "yes" ; then
37764
37765
37766 THREAD_OPTS="-pthread"
37767 case "${host}" in
37768 *-*-solaris2* | *-*-sunos4* )
37769 if test "x$GCC" = "xyes"; then
37770 THREAD_OPTS="-pthreads $THREAD_OPTS"
37771 else
37772 THREAD_OPTS="-mt $THREAD_OPTS"
37773 fi
37774 ;;
37775 *-*-freebsd*)
37776 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37777 ;;
37778 *-*-darwin* | *-*-cygwin* )
37779 THREAD_OPTS=""
37780 ;;
37781 *-*-aix*)
37782 THREAD_OPTS="pthreads"
37783 ;;
37784 *-hp-hpux* )
37785 if test "x$GCC" = "xyes"; then
37786 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37787 THREAD_OPTS=""
37788 else
37789 THREAD_OPTS="-mt"
37790 fi
37791 ;;
37792
37793 *-*-irix* )
37794 if test "x$GCC" = "xyes"; then
37795 THREAD_OPTS=""
37796 fi
37797 ;;
37798
37799 *-*-*UnixWare*)
37800 if test "x$GCC" != "xyes"; then
37801 THREAD_OPTS="-Ethread"
37802 fi
37803 ;;
37804 esac
37805
37806 THREAD_OPTS="$THREAD_OPTS pthread none"
37807
37808 THREADS_OK=no
37809 for flag in $THREAD_OPTS; do
37810 case $flag in
37811 none)
37812 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37813 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37814 ;;
37815
37816 -*)
37817 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37818 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37819 THREADS_CFLAGS="$flag"
37820 ;;
37821
37822 *)
37823 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37824 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37825 THREADS_LINK="-l$flag"
37826 ;;
37827 esac
37828
37829 save_LIBS="$LIBS"
37830 save_CFLAGS="$CFLAGS"
37831 LIBS="$THREADS_LINK $LIBS"
37832 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37833
37834 cat >conftest.$ac_ext <<_ACEOF
37835 /* confdefs.h. */
37836 _ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840 #include <pthread.h>
37841 int
37842 main ()
37843 {
37844 pthread_create(0,0,0,0);
37845 ;
37846 return 0;
37847 }
37848 _ACEOF
37849 rm -f conftest.$ac_objext conftest$ac_exeext
37850 if { (ac_try="$ac_link"
37851 case "(($ac_try" in
37852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37853 *) ac_try_echo=$ac_try;;
37854 esac
37855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37856 (eval "$ac_link") 2>conftest.er1
37857 ac_status=$?
37858 grep -v '^ *+' conftest.er1 >conftest.err
37859 rm -f conftest.er1
37860 cat conftest.err >&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } && {
37863 test -z "$ac_c_werror_flag" ||
37864 test ! -s conftest.err
37865 } && test -s conftest$ac_exeext &&
37866 $as_test_x conftest$ac_exeext; then
37867 THREADS_OK=yes
37868 else
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.$ac_ext >&5
37871
37872
37873 fi
37874
37875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37876 conftest$ac_exeext conftest.$ac_ext
37877
37878 LIBS="$save_LIBS"
37879 CFLAGS="$save_CFLAGS"
37880
37881 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37882 echo "${ECHO_T}$THREADS_OK" >&6; }
37883 if test "x$THREADS_OK" = "xyes"; then
37884 break;
37885 fi
37886
37887 THREADS_LINK=""
37888 THREADS_CFLAGS=""
37889 done
37890
37891 if test "x$THREADS_OK" != "xyes"; then
37892 wxUSE_THREADS=no
37893 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37894 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37895 else
37896 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37897 LIBS="$THREADS_LINK $LIBS"
37898
37899 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37900 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37901 flag=no
37902 case "${host}" in
37903 *-aix*)
37904 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37905 flag="-D_THREAD_SAFE"
37906 ;;
37907 *-freebsd*)
37908 flag="-D_THREAD_SAFE"
37909 ;;
37910 *-hp-hpux* )
37911 flag="-D_REENTRANT"
37912 if test "x$GCC" != "xyes"; then
37913 flag="$flag -D_RWSTD_MULTI_THREAD"
37914 fi
37915 ;;
37916 *solaris* | alpha*-osf*)
37917 flag="-D_REENTRANT"
37918 ;;
37919 esac
37920 { echo "$as_me:$LINENO: result: ${flag}" >&5
37921 echo "${ECHO_T}${flag}" >&6; }
37922 if test "x$flag" != xno; then
37923 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37924 fi
37925
37926 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37927 fi
37928 fi
37929
37930 if test "$wxUSE_THREADS" = "yes" ; then
37931
37932 for ac_func in thr_setconcurrency
37933 do
37934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37938 echo $ECHO_N "(cached) $ECHO_C" >&6
37939 else
37940 cat >conftest.$ac_ext <<_ACEOF
37941 /* confdefs.h. */
37942 _ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37948 #define $ac_func innocuous_$ac_func
37949
37950 /* System header to define __stub macros and hopefully few prototypes,
37951 which can conflict with char $ac_func (); below.
37952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37953 <limits.h> exists even on freestanding compilers. */
37954
37955 #ifdef __STDC__
37956 # include <limits.h>
37957 #else
37958 # include <assert.h>
37959 #endif
37960
37961 #undef $ac_func
37962
37963 /* Override any GCC internal prototype to avoid an error.
37964 Use char because int might match the return type of a GCC
37965 builtin and then its argument prototype would still apply. */
37966 #ifdef __cplusplus
37967 extern "C"
37968 #endif
37969 char $ac_func ();
37970 /* The GNU C library defines this for functions which it implements
37971 to always fail with ENOSYS. Some functions are actually named
37972 something starting with __ and the normal name is an alias. */
37973 #if defined __stub_$ac_func || defined __stub___$ac_func
37974 choke me
37975 #endif
37976
37977 int
37978 main ()
37979 {
37980 return $ac_func ();
37981 ;
37982 return 0;
37983 }
37984 _ACEOF
37985 rm -f conftest.$ac_objext conftest$ac_exeext
37986 if { (ac_try="$ac_link"
37987 case "(($ac_try" in
37988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37989 *) ac_try_echo=$ac_try;;
37990 esac
37991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37992 (eval "$ac_link") 2>conftest.er1
37993 ac_status=$?
37994 grep -v '^ *+' conftest.er1 >conftest.err
37995 rm -f conftest.er1
37996 cat conftest.err >&5
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); } && {
37999 test -z "$ac_c_werror_flag" ||
38000 test ! -s conftest.err
38001 } && test -s conftest$ac_exeext &&
38002 $as_test_x conftest$ac_exeext; then
38003 eval "$as_ac_var=yes"
38004 else
38005 echo "$as_me: failed program was:" >&5
38006 sed 's/^/| /' conftest.$ac_ext >&5
38007
38008 eval "$as_ac_var=no"
38009 fi
38010
38011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38012 conftest$ac_exeext conftest.$ac_ext
38013 fi
38014 ac_res=`eval echo '${'$as_ac_var'}'`
38015 { echo "$as_me:$LINENO: result: $ac_res" >&5
38016 echo "${ECHO_T}$ac_res" >&6; }
38017 if test `eval echo '${'$as_ac_var'}'` = yes; then
38018 cat >>confdefs.h <<_ACEOF
38019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38020 _ACEOF
38021
38022 fi
38023 done
38024
38025
38026 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38027 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38028 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38029 echo $ECHO_N "(cached) $ECHO_C" >&6
38030 else
38031
38032 cat >conftest.$ac_ext <<_ACEOF
38033 /* confdefs.h. */
38034 _ACEOF
38035 cat confdefs.h >>conftest.$ac_ext
38036 cat >>conftest.$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 #include <pthread.h>
38039 void ThreadCleanupFunc(void *p);
38040
38041 int
38042 main ()
38043 {
38044
38045 void *p;
38046 pthread_cleanup_push(ThreadCleanupFunc, p);
38047 pthread_cleanup_pop(0);
38048
38049 ;
38050 return 0;
38051 }
38052 _ACEOF
38053 rm -f conftest.$ac_objext
38054 if { (ac_try="$ac_compile"
38055 case "(($ac_try" in
38056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38057 *) ac_try_echo=$ac_try;;
38058 esac
38059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38060 (eval "$ac_compile") 2>conftest.er1
38061 ac_status=$?
38062 grep -v '^ *+' conftest.er1 >conftest.err
38063 rm -f conftest.er1
38064 cat conftest.err >&5
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); } && {
38067 test -z "$ac_c_werror_flag" ||
38068 test ! -s conftest.err
38069 } && test -s conftest.$ac_objext; then
38070
38071 wx_cv_func_pthread_cleanup=yes
38072
38073 else
38074 echo "$as_me: failed program was:" >&5
38075 sed 's/^/| /' conftest.$ac_ext >&5
38076
38077
38078 wx_cv_func_pthread_cleanup=no
38079
38080
38081 fi
38082
38083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38084
38085 fi
38086 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38087 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38088 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38089 cat >>confdefs.h <<\_ACEOF
38090 #define wxHAVE_PTHREAD_CLEANUP 1
38091 _ACEOF
38092
38093 fi
38094
38095 { echo "$as_me:$LINENO: checking for sched.h" >&5
38096 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38097 if test "${ac_cv_header_sched_h+set}" = set; then
38098 echo $ECHO_N "(cached) $ECHO_C" >&6
38099 else
38100 cat >conftest.$ac_ext <<_ACEOF
38101 /* confdefs.h. */
38102 _ACEOF
38103 cat confdefs.h >>conftest.$ac_ext
38104 cat >>conftest.$ac_ext <<_ACEOF
38105 /* end confdefs.h. */
38106 $ac_includes_default
38107
38108 #include <sched.h>
38109 _ACEOF
38110 rm -f conftest.$ac_objext
38111 if { (ac_try="$ac_compile"
38112 case "(($ac_try" in
38113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38114 *) ac_try_echo=$ac_try;;
38115 esac
38116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38117 (eval "$ac_compile") 2>conftest.er1
38118 ac_status=$?
38119 grep -v '^ *+' conftest.er1 >conftest.err
38120 rm -f conftest.er1
38121 cat conftest.err >&5
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); } && {
38124 test -z "$ac_c_werror_flag" ||
38125 test ! -s conftest.err
38126 } && test -s conftest.$ac_objext; then
38127 ac_cv_header_sched_h=yes
38128 else
38129 echo "$as_me: failed program was:" >&5
38130 sed 's/^/| /' conftest.$ac_ext >&5
38131
38132 ac_cv_header_sched_h=no
38133 fi
38134
38135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38136 fi
38137 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38138 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38139
38140
38141 if test "$ac_cv_header_sched_h" = "yes"; then
38142 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38143 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38144 if test "${ac_cv_func_sched_yield+set}" = set; then
38145 echo $ECHO_N "(cached) $ECHO_C" >&6
38146 else
38147 cat >conftest.$ac_ext <<_ACEOF
38148 /* confdefs.h. */
38149 _ACEOF
38150 cat confdefs.h >>conftest.$ac_ext
38151 cat >>conftest.$ac_ext <<_ACEOF
38152 /* end confdefs.h. */
38153 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38155 #define sched_yield innocuous_sched_yield
38156
38157 /* System header to define __stub macros and hopefully few prototypes,
38158 which can conflict with char sched_yield (); below.
38159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38160 <limits.h> exists even on freestanding compilers. */
38161
38162 #ifdef __STDC__
38163 # include <limits.h>
38164 #else
38165 # include <assert.h>
38166 #endif
38167
38168 #undef sched_yield
38169
38170 /* Override any GCC internal prototype to avoid an error.
38171 Use char because int might match the return type of a GCC
38172 builtin and then its argument prototype would still apply. */
38173 #ifdef __cplusplus
38174 extern "C"
38175 #endif
38176 char sched_yield ();
38177 /* The GNU C library defines this for functions which it implements
38178 to always fail with ENOSYS. Some functions are actually named
38179 something starting with __ and the normal name is an alias. */
38180 #if defined __stub_sched_yield || defined __stub___sched_yield
38181 choke me
38182 #endif
38183
38184 int
38185 main ()
38186 {
38187 return sched_yield ();
38188 ;
38189 return 0;
38190 }
38191 _ACEOF
38192 rm -f conftest.$ac_objext conftest$ac_exeext
38193 if { (ac_try="$ac_link"
38194 case "(($ac_try" in
38195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38196 *) ac_try_echo=$ac_try;;
38197 esac
38198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38199 (eval "$ac_link") 2>conftest.er1
38200 ac_status=$?
38201 grep -v '^ *+' conftest.er1 >conftest.err
38202 rm -f conftest.er1
38203 cat conftest.err >&5
38204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38205 (exit $ac_status); } && {
38206 test -z "$ac_c_werror_flag" ||
38207 test ! -s conftest.err
38208 } && test -s conftest$ac_exeext &&
38209 $as_test_x conftest$ac_exeext; then
38210 ac_cv_func_sched_yield=yes
38211 else
38212 echo "$as_me: failed program was:" >&5
38213 sed 's/^/| /' conftest.$ac_ext >&5
38214
38215 ac_cv_func_sched_yield=no
38216 fi
38217
38218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38219 conftest$ac_exeext conftest.$ac_ext
38220 fi
38221 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38222 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38223 if test $ac_cv_func_sched_yield = yes; then
38224 cat >>confdefs.h <<\_ACEOF
38225 #define HAVE_SCHED_YIELD 1
38226 _ACEOF
38227
38228 else
38229
38230 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38231 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38232 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38234 else
38235 ac_check_lib_save_LIBS=$LIBS
38236 LIBS="-lposix4 $LIBS"
38237 cat >conftest.$ac_ext <<_ACEOF
38238 /* confdefs.h. */
38239 _ACEOF
38240 cat confdefs.h >>conftest.$ac_ext
38241 cat >>conftest.$ac_ext <<_ACEOF
38242 /* end confdefs.h. */
38243
38244 /* Override any GCC internal prototype to avoid an error.
38245 Use char because int might match the return type of a GCC
38246 builtin and then its argument prototype would still apply. */
38247 #ifdef __cplusplus
38248 extern "C"
38249 #endif
38250 char sched_yield ();
38251 int
38252 main ()
38253 {
38254 return sched_yield ();
38255 ;
38256 return 0;
38257 }
38258 _ACEOF
38259 rm -f conftest.$ac_objext conftest$ac_exeext
38260 if { (ac_try="$ac_link"
38261 case "(($ac_try" in
38262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38263 *) ac_try_echo=$ac_try;;
38264 esac
38265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38266 (eval "$ac_link") 2>conftest.er1
38267 ac_status=$?
38268 grep -v '^ *+' conftest.er1 >conftest.err
38269 rm -f conftest.er1
38270 cat conftest.err >&5
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); } && {
38273 test -z "$ac_c_werror_flag" ||
38274 test ! -s conftest.err
38275 } && test -s conftest$ac_exeext &&
38276 $as_test_x conftest$ac_exeext; then
38277 ac_cv_lib_posix4_sched_yield=yes
38278 else
38279 echo "$as_me: failed program was:" >&5
38280 sed 's/^/| /' conftest.$ac_ext >&5
38281
38282 ac_cv_lib_posix4_sched_yield=no
38283 fi
38284
38285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38286 conftest$ac_exeext conftest.$ac_ext
38287 LIBS=$ac_check_lib_save_LIBS
38288 fi
38289 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38290 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38291 if test $ac_cv_lib_posix4_sched_yield = yes; then
38292 cat >>confdefs.h <<\_ACEOF
38293 #define HAVE_SCHED_YIELD 1
38294 _ACEOF
38295 POSIX4_LINK=" -lposix4"
38296 else
38297 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38298 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38299
38300 fi
38301
38302
38303
38304 fi
38305
38306 fi
38307
38308 HAVE_PRIOR_FUNCS=0
38309 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38310 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38311 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38312 echo $ECHO_N "(cached) $ECHO_C" >&6
38313 else
38314 cat >conftest.$ac_ext <<_ACEOF
38315 /* confdefs.h. */
38316 _ACEOF
38317 cat confdefs.h >>conftest.$ac_ext
38318 cat >>conftest.$ac_ext <<_ACEOF
38319 /* end confdefs.h. */
38320 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38322 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38323
38324 /* System header to define __stub macros and hopefully few prototypes,
38325 which can conflict with char pthread_attr_getschedpolicy (); below.
38326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38327 <limits.h> exists even on freestanding compilers. */
38328
38329 #ifdef __STDC__
38330 # include <limits.h>
38331 #else
38332 # include <assert.h>
38333 #endif
38334
38335 #undef pthread_attr_getschedpolicy
38336
38337 /* Override any GCC internal prototype to avoid an error.
38338 Use char because int might match the return type of a GCC
38339 builtin and then its argument prototype would still apply. */
38340 #ifdef __cplusplus
38341 extern "C"
38342 #endif
38343 char pthread_attr_getschedpolicy ();
38344 /* The GNU C library defines this for functions which it implements
38345 to always fail with ENOSYS. Some functions are actually named
38346 something starting with __ and the normal name is an alias. */
38347 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38348 choke me
38349 #endif
38350
38351 int
38352 main ()
38353 {
38354 return pthread_attr_getschedpolicy ();
38355 ;
38356 return 0;
38357 }
38358 _ACEOF
38359 rm -f conftest.$ac_objext conftest$ac_exeext
38360 if { (ac_try="$ac_link"
38361 case "(($ac_try" in
38362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38363 *) ac_try_echo=$ac_try;;
38364 esac
38365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38366 (eval "$ac_link") 2>conftest.er1
38367 ac_status=$?
38368 grep -v '^ *+' conftest.er1 >conftest.err
38369 rm -f conftest.er1
38370 cat conftest.err >&5
38371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38372 (exit $ac_status); } && {
38373 test -z "$ac_c_werror_flag" ||
38374 test ! -s conftest.err
38375 } && test -s conftest$ac_exeext &&
38376 $as_test_x conftest$ac_exeext; then
38377 ac_cv_func_pthread_attr_getschedpolicy=yes
38378 else
38379 echo "$as_me: failed program was:" >&5
38380 sed 's/^/| /' conftest.$ac_ext >&5
38381
38382 ac_cv_func_pthread_attr_getschedpolicy=no
38383 fi
38384
38385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38386 conftest$ac_exeext conftest.$ac_ext
38387 fi
38388 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38389 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38390 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38391 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38392 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38393 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38394 echo $ECHO_N "(cached) $ECHO_C" >&6
38395 else
38396 cat >conftest.$ac_ext <<_ACEOF
38397 /* confdefs.h. */
38398 _ACEOF
38399 cat confdefs.h >>conftest.$ac_ext
38400 cat >>conftest.$ac_ext <<_ACEOF
38401 /* end confdefs.h. */
38402 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38404 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38405
38406 /* System header to define __stub macros and hopefully few prototypes,
38407 which can conflict with char pthread_attr_setschedparam (); below.
38408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38409 <limits.h> exists even on freestanding compilers. */
38410
38411 #ifdef __STDC__
38412 # include <limits.h>
38413 #else
38414 # include <assert.h>
38415 #endif
38416
38417 #undef pthread_attr_setschedparam
38418
38419 /* Override any GCC internal prototype to avoid an error.
38420 Use char because int might match the return type of a GCC
38421 builtin and then its argument prototype would still apply. */
38422 #ifdef __cplusplus
38423 extern "C"
38424 #endif
38425 char pthread_attr_setschedparam ();
38426 /* The GNU C library defines this for functions which it implements
38427 to always fail with ENOSYS. Some functions are actually named
38428 something starting with __ and the normal name is an alias. */
38429 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38430 choke me
38431 #endif
38432
38433 int
38434 main ()
38435 {
38436 return pthread_attr_setschedparam ();
38437 ;
38438 return 0;
38439 }
38440 _ACEOF
38441 rm -f conftest.$ac_objext conftest$ac_exeext
38442 if { (ac_try="$ac_link"
38443 case "(($ac_try" in
38444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38445 *) ac_try_echo=$ac_try;;
38446 esac
38447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38448 (eval "$ac_link") 2>conftest.er1
38449 ac_status=$?
38450 grep -v '^ *+' conftest.er1 >conftest.err
38451 rm -f conftest.er1
38452 cat conftest.err >&5
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); } && {
38455 test -z "$ac_c_werror_flag" ||
38456 test ! -s conftest.err
38457 } && test -s conftest$ac_exeext &&
38458 $as_test_x conftest$ac_exeext; then
38459 ac_cv_func_pthread_attr_setschedparam=yes
38460 else
38461 echo "$as_me: failed program was:" >&5
38462 sed 's/^/| /' conftest.$ac_ext >&5
38463
38464 ac_cv_func_pthread_attr_setschedparam=no
38465 fi
38466
38467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38468 conftest$ac_exeext conftest.$ac_ext
38469 fi
38470 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38471 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38472 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38473 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38474 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38475 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38476 echo $ECHO_N "(cached) $ECHO_C" >&6
38477 else
38478 cat >conftest.$ac_ext <<_ACEOF
38479 /* confdefs.h. */
38480 _ACEOF
38481 cat confdefs.h >>conftest.$ac_ext
38482 cat >>conftest.$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38484 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38486 #define sched_get_priority_max innocuous_sched_get_priority_max
38487
38488 /* System header to define __stub macros and hopefully few prototypes,
38489 which can conflict with char sched_get_priority_max (); below.
38490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38491 <limits.h> exists even on freestanding compilers. */
38492
38493 #ifdef __STDC__
38494 # include <limits.h>
38495 #else
38496 # include <assert.h>
38497 #endif
38498
38499 #undef sched_get_priority_max
38500
38501 /* Override any GCC internal prototype to avoid an error.
38502 Use char because int might match the return type of a GCC
38503 builtin and then its argument prototype would still apply. */
38504 #ifdef __cplusplus
38505 extern "C"
38506 #endif
38507 char sched_get_priority_max ();
38508 /* The GNU C library defines this for functions which it implements
38509 to always fail with ENOSYS. Some functions are actually named
38510 something starting with __ and the normal name is an alias. */
38511 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38512 choke me
38513 #endif
38514
38515 int
38516 main ()
38517 {
38518 return sched_get_priority_max ();
38519 ;
38520 return 0;
38521 }
38522 _ACEOF
38523 rm -f conftest.$ac_objext conftest$ac_exeext
38524 if { (ac_try="$ac_link"
38525 case "(($ac_try" in
38526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38527 *) ac_try_echo=$ac_try;;
38528 esac
38529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38530 (eval "$ac_link") 2>conftest.er1
38531 ac_status=$?
38532 grep -v '^ *+' conftest.er1 >conftest.err
38533 rm -f conftest.er1
38534 cat conftest.err >&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); } && {
38537 test -z "$ac_c_werror_flag" ||
38538 test ! -s conftest.err
38539 } && test -s conftest$ac_exeext &&
38540 $as_test_x conftest$ac_exeext; then
38541 ac_cv_func_sched_get_priority_max=yes
38542 else
38543 echo "$as_me: failed program was:" >&5
38544 sed 's/^/| /' conftest.$ac_ext >&5
38545
38546 ac_cv_func_sched_get_priority_max=no
38547 fi
38548
38549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38550 conftest$ac_exeext conftest.$ac_ext
38551 fi
38552 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38553 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38554 if test $ac_cv_func_sched_get_priority_max = yes; then
38555 HAVE_PRIOR_FUNCS=1
38556 else
38557 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38558 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38559 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 else
38562 ac_check_lib_save_LIBS=$LIBS
38563 LIBS="-lposix4 $LIBS"
38564 cat >conftest.$ac_ext <<_ACEOF
38565 /* confdefs.h. */
38566 _ACEOF
38567 cat confdefs.h >>conftest.$ac_ext
38568 cat >>conftest.$ac_ext <<_ACEOF
38569 /* end confdefs.h. */
38570
38571 /* Override any GCC internal prototype to avoid an error.
38572 Use char because int might match the return type of a GCC
38573 builtin and then its argument prototype would still apply. */
38574 #ifdef __cplusplus
38575 extern "C"
38576 #endif
38577 char sched_get_priority_max ();
38578 int
38579 main ()
38580 {
38581 return sched_get_priority_max ();
38582 ;
38583 return 0;
38584 }
38585 _ACEOF
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (ac_try="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38591 esac
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38594 ac_status=$?
38595 grep -v '^ *+' conftest.er1 >conftest.err
38596 rm -f conftest.er1
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 ac_cv_lib_posix4_sched_get_priority_max=yes
38605 else
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38608
38609 ac_cv_lib_posix4_sched_get_priority_max=no
38610 fi
38611
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38614 LIBS=$ac_check_lib_save_LIBS
38615 fi
38616 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38617 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38618 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38619
38620 HAVE_PRIOR_FUNCS=1
38621 POSIX4_LINK=" -lposix4"
38622
38623 fi
38624
38625
38626 fi
38627
38628
38629 fi
38630
38631
38632 fi
38633
38634
38635 if test "$HAVE_PRIOR_FUNCS" = 1; then
38636 cat >>confdefs.h <<\_ACEOF
38637 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38638 _ACEOF
38639
38640 else
38641 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38642 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38643 fi
38644
38645 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38646 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38647 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38648 echo $ECHO_N "(cached) $ECHO_C" >&6
38649 else
38650 cat >conftest.$ac_ext <<_ACEOF
38651 /* confdefs.h. */
38652 _ACEOF
38653 cat confdefs.h >>conftest.$ac_ext
38654 cat >>conftest.$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38656 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38658 #define pthread_cancel innocuous_pthread_cancel
38659
38660 /* System header to define __stub macros and hopefully few prototypes,
38661 which can conflict with char pthread_cancel (); below.
38662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38663 <limits.h> exists even on freestanding compilers. */
38664
38665 #ifdef __STDC__
38666 # include <limits.h>
38667 #else
38668 # include <assert.h>
38669 #endif
38670
38671 #undef pthread_cancel
38672
38673 /* Override any GCC internal prototype to avoid an error.
38674 Use char because int might match the return type of a GCC
38675 builtin and then its argument prototype would still apply. */
38676 #ifdef __cplusplus
38677 extern "C"
38678 #endif
38679 char pthread_cancel ();
38680 /* The GNU C library defines this for functions which it implements
38681 to always fail with ENOSYS. Some functions are actually named
38682 something starting with __ and the normal name is an alias. */
38683 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38684 choke me
38685 #endif
38686
38687 int
38688 main ()
38689 {
38690 return pthread_cancel ();
38691 ;
38692 return 0;
38693 }
38694 _ACEOF
38695 rm -f conftest.$ac_objext conftest$ac_exeext
38696 if { (ac_try="$ac_link"
38697 case "(($ac_try" in
38698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38699 *) ac_try_echo=$ac_try;;
38700 esac
38701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38702 (eval "$ac_link") 2>conftest.er1
38703 ac_status=$?
38704 grep -v '^ *+' conftest.er1 >conftest.err
38705 rm -f conftest.er1
38706 cat conftest.err >&5
38707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38708 (exit $ac_status); } && {
38709 test -z "$ac_c_werror_flag" ||
38710 test ! -s conftest.err
38711 } && test -s conftest$ac_exeext &&
38712 $as_test_x conftest$ac_exeext; then
38713 ac_cv_func_pthread_cancel=yes
38714 else
38715 echo "$as_me: failed program was:" >&5
38716 sed 's/^/| /' conftest.$ac_ext >&5
38717
38718 ac_cv_func_pthread_cancel=no
38719 fi
38720
38721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38722 conftest$ac_exeext conftest.$ac_ext
38723 fi
38724 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38725 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38726 if test $ac_cv_func_pthread_cancel = yes; then
38727 cat >>confdefs.h <<\_ACEOF
38728 #define HAVE_PTHREAD_CANCEL 1
38729 _ACEOF
38730
38731 else
38732 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38733 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38734 fi
38735
38736
38737 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38738 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38739 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38740 echo $ECHO_N "(cached) $ECHO_C" >&6
38741 else
38742 cat >conftest.$ac_ext <<_ACEOF
38743 /* confdefs.h. */
38744 _ACEOF
38745 cat confdefs.h >>conftest.$ac_ext
38746 cat >>conftest.$ac_ext <<_ACEOF
38747 /* end confdefs.h. */
38748 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38750 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38751
38752 /* System header to define __stub macros and hopefully few prototypes,
38753 which can conflict with char pthread_mutex_timedlock (); below.
38754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38755 <limits.h> exists even on freestanding compilers. */
38756
38757 #ifdef __STDC__
38758 # include <limits.h>
38759 #else
38760 # include <assert.h>
38761 #endif
38762
38763 #undef pthread_mutex_timedlock
38764
38765 /* Override any GCC internal prototype to avoid an error.
38766 Use char because int might match the return type of a GCC
38767 builtin and then its argument prototype would still apply. */
38768 #ifdef __cplusplus
38769 extern "C"
38770 #endif
38771 char pthread_mutex_timedlock ();
38772 /* The GNU C library defines this for functions which it implements
38773 to always fail with ENOSYS. Some functions are actually named
38774 something starting with __ and the normal name is an alias. */
38775 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38776 choke me
38777 #endif
38778
38779 int
38780 main ()
38781 {
38782 return pthread_mutex_timedlock ();
38783 ;
38784 return 0;
38785 }
38786 _ACEOF
38787 rm -f conftest.$ac_objext conftest$ac_exeext
38788 if { (ac_try="$ac_link"
38789 case "(($ac_try" in
38790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38791 *) ac_try_echo=$ac_try;;
38792 esac
38793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38794 (eval "$ac_link") 2>conftest.er1
38795 ac_status=$?
38796 grep -v '^ *+' conftest.er1 >conftest.err
38797 rm -f conftest.er1
38798 cat conftest.err >&5
38799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38800 (exit $ac_status); } && {
38801 test -z "$ac_c_werror_flag" ||
38802 test ! -s conftest.err
38803 } && test -s conftest$ac_exeext &&
38804 $as_test_x conftest$ac_exeext; then
38805 ac_cv_func_pthread_mutex_timedlock=yes
38806 else
38807 echo "$as_me: failed program was:" >&5
38808 sed 's/^/| /' conftest.$ac_ext >&5
38809
38810 ac_cv_func_pthread_mutex_timedlock=no
38811 fi
38812
38813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38814 conftest$ac_exeext conftest.$ac_ext
38815 fi
38816 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38817 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38818 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38819 cat >>confdefs.h <<\_ACEOF
38820 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38821 _ACEOF
38822
38823 else
38824 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38825 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38826 fi
38827
38828
38829 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38830 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38831 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 else
38834 cat >conftest.$ac_ext <<_ACEOF
38835 /* confdefs.h. */
38836 _ACEOF
38837 cat confdefs.h >>conftest.$ac_ext
38838 cat >>conftest.$ac_ext <<_ACEOF
38839 /* end confdefs.h. */
38840 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38842 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38843
38844 /* System header to define __stub macros and hopefully few prototypes,
38845 which can conflict with char pthread_attr_setstacksize (); below.
38846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38847 <limits.h> exists even on freestanding compilers. */
38848
38849 #ifdef __STDC__
38850 # include <limits.h>
38851 #else
38852 # include <assert.h>
38853 #endif
38854
38855 #undef pthread_attr_setstacksize
38856
38857 /* Override any GCC internal prototype to avoid an error.
38858 Use char because int might match the return type of a GCC
38859 builtin and then its argument prototype would still apply. */
38860 #ifdef __cplusplus
38861 extern "C"
38862 #endif
38863 char pthread_attr_setstacksize ();
38864 /* The GNU C library defines this for functions which it implements
38865 to always fail with ENOSYS. Some functions are actually named
38866 something starting with __ and the normal name is an alias. */
38867 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38868 choke me
38869 #endif
38870
38871 int
38872 main ()
38873 {
38874 return pthread_attr_setstacksize ();
38875 ;
38876 return 0;
38877 }
38878 _ACEOF
38879 rm -f conftest.$ac_objext conftest$ac_exeext
38880 if { (ac_try="$ac_link"
38881 case "(($ac_try" in
38882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38883 *) ac_try_echo=$ac_try;;
38884 esac
38885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38886 (eval "$ac_link") 2>conftest.er1
38887 ac_status=$?
38888 grep -v '^ *+' conftest.er1 >conftest.err
38889 rm -f conftest.er1
38890 cat conftest.err >&5
38891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38892 (exit $ac_status); } && {
38893 test -z "$ac_c_werror_flag" ||
38894 test ! -s conftest.err
38895 } && test -s conftest$ac_exeext &&
38896 $as_test_x conftest$ac_exeext; then
38897 ac_cv_func_pthread_attr_setstacksize=yes
38898 else
38899 echo "$as_me: failed program was:" >&5
38900 sed 's/^/| /' conftest.$ac_ext >&5
38901
38902 ac_cv_func_pthread_attr_setstacksize=no
38903 fi
38904
38905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38906 conftest$ac_exeext conftest.$ac_ext
38907 fi
38908 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38909 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38910 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38911 cat >>confdefs.h <<\_ACEOF
38912 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38913 _ACEOF
38914
38915 fi
38916
38917
38918
38919 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38920 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38921 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38922 echo $ECHO_N "(cached) $ECHO_C" >&6
38923 else
38924
38925 cat >conftest.$ac_ext <<_ACEOF
38926 /* confdefs.h. */
38927 _ACEOF
38928 cat confdefs.h >>conftest.$ac_ext
38929 cat >>conftest.$ac_ext <<_ACEOF
38930 /* end confdefs.h. */
38931 #include <pthread.h>
38932 int
38933 main ()
38934 {
38935
38936 pthread_mutexattr_t attr;
38937 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38938
38939 ;
38940 return 0;
38941 }
38942 _ACEOF
38943 rm -f conftest.$ac_objext
38944 if { (ac_try="$ac_compile"
38945 case "(($ac_try" in
38946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38947 *) ac_try_echo=$ac_try;;
38948 esac
38949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38950 (eval "$ac_compile") 2>conftest.er1
38951 ac_status=$?
38952 grep -v '^ *+' conftest.er1 >conftest.err
38953 rm -f conftest.er1
38954 cat conftest.err >&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); } && {
38957 test -z "$ac_c_werror_flag" ||
38958 test ! -s conftest.err
38959 } && test -s conftest.$ac_objext; then
38960 wx_cv_type_pthread_mutexattr_t=yes
38961 else
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.$ac_ext >&5
38964
38965 wx_cv_type_pthread_mutexattr_t=no
38966
38967 fi
38968
38969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38970
38971 fi
38972 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38973 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38974
38975 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38976 cat >>confdefs.h <<\_ACEOF
38977 #define HAVE_PTHREAD_MUTEXATTR_T 1
38978 _ACEOF
38979
38980
38981 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38982 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38983 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38984 echo $ECHO_N "(cached) $ECHO_C" >&6
38985 else
38986
38987 cat >conftest.$ac_ext <<_ACEOF
38988 /* confdefs.h. */
38989 _ACEOF
38990 cat confdefs.h >>conftest.$ac_ext
38991 cat >>conftest.$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38993 #include <pthread.h>
38994 int
38995 main ()
38996 {
38997
38998 pthread_mutexattr_t attr;
38999 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39000
39001 ;
39002 return 0;
39003 }
39004 _ACEOF
39005 rm -f conftest.$ac_objext
39006 if { (ac_try="$ac_compile"
39007 case "(($ac_try" in
39008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39009 *) ac_try_echo=$ac_try;;
39010 esac
39011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39012 (eval "$ac_compile") 2>conftest.er1
39013 ac_status=$?
39014 grep -v '^ *+' conftest.er1 >conftest.err
39015 rm -f conftest.er1
39016 cat conftest.err >&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } && {
39019 test -z "$ac_c_werror_flag" ||
39020 test ! -s conftest.err
39021 } && test -s conftest.$ac_objext; then
39022 wx_cv_func_pthread_mutexattr_settype_decl=yes
39023 else
39024 echo "$as_me: failed program was:" >&5
39025 sed 's/^/| /' conftest.$ac_ext >&5
39026
39027 wx_cv_func_pthread_mutexattr_settype_decl=no
39028
39029 fi
39030
39031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39032
39033 fi
39034 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39035 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39036 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39037 cat >>confdefs.h <<\_ACEOF
39038 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39039 _ACEOF
39040
39041 fi
39042 else
39043 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39044 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39045 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39046 echo $ECHO_N "(cached) $ECHO_C" >&6
39047 else
39048
39049 cat >conftest.$ac_ext <<_ACEOF
39050 /* confdefs.h. */
39051 _ACEOF
39052 cat confdefs.h >>conftest.$ac_ext
39053 cat >>conftest.$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 #include <pthread.h>
39056 int
39057 main ()
39058 {
39059
39060 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39061
39062 ;
39063 return 0;
39064 }
39065 _ACEOF
39066 rm -f conftest.$ac_objext
39067 if { (ac_try="$ac_compile"
39068 case "(($ac_try" in
39069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39070 *) ac_try_echo=$ac_try;;
39071 esac
39072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39073 (eval "$ac_compile") 2>conftest.er1
39074 ac_status=$?
39075 grep -v '^ *+' conftest.er1 >conftest.err
39076 rm -f conftest.er1
39077 cat conftest.err >&5
39078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39079 (exit $ac_status); } && {
39080 test -z "$ac_c_werror_flag" ||
39081 test ! -s conftest.err
39082 } && test -s conftest.$ac_objext; then
39083
39084 wx_cv_type_pthread_rec_mutex_init=yes
39085
39086 else
39087 echo "$as_me: failed program was:" >&5
39088 sed 's/^/| /' conftest.$ac_ext >&5
39089
39090
39091 wx_cv_type_pthread_rec_mutex_init=no
39092
39093
39094 fi
39095
39096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39097
39098 fi
39099 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39100 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39101 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39102 cat >>confdefs.h <<\_ACEOF
39103 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39104 _ACEOF
39105
39106 else
39107 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39108 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39109 fi
39110 fi
39111 fi
39112
39113 else
39114 if test "$wxUSE_THREADS" = "yes" ; then
39115 case "${host}" in
39116 *-*-mingw32* )
39117 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39118 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39119 if test "${wx_cv_cflags_mthread+set}" = set; then
39120 echo $ECHO_N "(cached) $ECHO_C" >&6
39121 else
39122
39123 CFLAGS_OLD="$CFLAGS"
39124 CFLAGS="-mthreads $CFLAGS"
39125 cat >conftest.$ac_ext <<_ACEOF
39126 /* confdefs.h. */
39127 _ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39131
39132 int
39133 main ()
39134 {
39135
39136 ;
39137 return 0;
39138 }
39139 _ACEOF
39140 rm -f conftest.$ac_objext
39141 if { (ac_try="$ac_compile"
39142 case "(($ac_try" in
39143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39144 *) ac_try_echo=$ac_try;;
39145 esac
39146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39147 (eval "$ac_compile") 2>conftest.er1
39148 ac_status=$?
39149 grep -v '^ *+' conftest.er1 >conftest.err
39150 rm -f conftest.er1
39151 cat conftest.err >&5
39152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39153 (exit $ac_status); } && {
39154 test -z "$ac_c_werror_flag" ||
39155 test ! -s conftest.err
39156 } && test -s conftest.$ac_objext; then
39157 wx_cv_cflags_mthread=yes
39158 else
39159 echo "$as_me: failed program was:" >&5
39160 sed 's/^/| /' conftest.$ac_ext >&5
39161
39162 wx_cv_cflags_mthread=no
39163
39164 fi
39165
39166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39167
39168
39169 fi
39170 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39171 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39172
39173 if test "$wx_cv_cflags_mthread" = "yes"; then
39174 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39175 LDFLAGS="$LDFLAGS -mthreads"
39176 else
39177 CFLAGS="$CFLAGS_OLD"
39178 fi
39179 ;;
39180 *-pc-os2*emx )
39181 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39182 LDFLAGS="$LDFLAGS -Zmt"
39183 ;;
39184 esac
39185 fi
39186 fi
39187
39188 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39189 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39190 if test "${ac_cv_func_localtime_r+set}" = set; then
39191 echo $ECHO_N "(cached) $ECHO_C" >&6
39192 else
39193 cat >conftest.$ac_ext <<_ACEOF
39194 /* confdefs.h. */
39195 _ACEOF
39196 cat confdefs.h >>conftest.$ac_ext
39197 cat >>conftest.$ac_ext <<_ACEOF
39198 /* end confdefs.h. */
39199 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39201 #define localtime_r innocuous_localtime_r
39202
39203 /* System header to define __stub macros and hopefully few prototypes,
39204 which can conflict with char localtime_r (); below.
39205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39206 <limits.h> exists even on freestanding compilers. */
39207
39208 #ifdef __STDC__
39209 # include <limits.h>
39210 #else
39211 # include <assert.h>
39212 #endif
39213
39214 #undef localtime_r
39215
39216 /* Override any GCC internal prototype to avoid an error.
39217 Use char because int might match the return type of a GCC
39218 builtin and then its argument prototype would still apply. */
39219 #ifdef __cplusplus
39220 extern "C"
39221 #endif
39222 char localtime_r ();
39223 /* The GNU C library defines this for functions which it implements
39224 to always fail with ENOSYS. Some functions are actually named
39225 something starting with __ and the normal name is an alias. */
39226 #if defined __stub_localtime_r || defined __stub___localtime_r
39227 choke me
39228 #endif
39229
39230 int
39231 main ()
39232 {
39233 return localtime_r ();
39234 ;
39235 return 0;
39236 }
39237 _ACEOF
39238 rm -f conftest.$ac_objext conftest$ac_exeext
39239 if { (ac_try="$ac_link"
39240 case "(($ac_try" in
39241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39242 *) ac_try_echo=$ac_try;;
39243 esac
39244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39245 (eval "$ac_link") 2>conftest.er1
39246 ac_status=$?
39247 grep -v '^ *+' conftest.er1 >conftest.err
39248 rm -f conftest.er1
39249 cat conftest.err >&5
39250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39251 (exit $ac_status); } && {
39252 test -z "$ac_c_werror_flag" ||
39253 test ! -s conftest.err
39254 } && test -s conftest$ac_exeext &&
39255 $as_test_x conftest$ac_exeext; then
39256 ac_cv_func_localtime_r=yes
39257 else
39258 echo "$as_me: failed program was:" >&5
39259 sed 's/^/| /' conftest.$ac_ext >&5
39260
39261 ac_cv_func_localtime_r=no
39262 fi
39263
39264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39265 conftest$ac_exeext conftest.$ac_ext
39266 fi
39267 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39268 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39269 if test $ac_cv_func_localtime_r = yes; then
39270 cat >>confdefs.h <<\_ACEOF
39271 #define HAVE_LOCALTIME_R 1
39272 _ACEOF
39273
39274 fi
39275
39276 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39277 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39278 if test "${ac_cv_func_gmtime_r+set}" = set; then
39279 echo $ECHO_N "(cached) $ECHO_C" >&6
39280 else
39281 cat >conftest.$ac_ext <<_ACEOF
39282 /* confdefs.h. */
39283 _ACEOF
39284 cat confdefs.h >>conftest.$ac_ext
39285 cat >>conftest.$ac_ext <<_ACEOF
39286 /* end confdefs.h. */
39287 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39289 #define gmtime_r innocuous_gmtime_r
39290
39291 /* System header to define __stub macros and hopefully few prototypes,
39292 which can conflict with char gmtime_r (); below.
39293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39294 <limits.h> exists even on freestanding compilers. */
39295
39296 #ifdef __STDC__
39297 # include <limits.h>
39298 #else
39299 # include <assert.h>
39300 #endif
39301
39302 #undef gmtime_r
39303
39304 /* Override any GCC internal prototype to avoid an error.
39305 Use char because int might match the return type of a GCC
39306 builtin and then its argument prototype would still apply. */
39307 #ifdef __cplusplus
39308 extern "C"
39309 #endif
39310 char gmtime_r ();
39311 /* The GNU C library defines this for functions which it implements
39312 to always fail with ENOSYS. Some functions are actually named
39313 something starting with __ and the normal name is an alias. */
39314 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39315 choke me
39316 #endif
39317
39318 int
39319 main ()
39320 {
39321 return gmtime_r ();
39322 ;
39323 return 0;
39324 }
39325 _ACEOF
39326 rm -f conftest.$ac_objext conftest$ac_exeext
39327 if { (ac_try="$ac_link"
39328 case "(($ac_try" in
39329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39330 *) ac_try_echo=$ac_try;;
39331 esac
39332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39333 (eval "$ac_link") 2>conftest.er1
39334 ac_status=$?
39335 grep -v '^ *+' conftest.er1 >conftest.err
39336 rm -f conftest.er1
39337 cat conftest.err >&5
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); } && {
39340 test -z "$ac_c_werror_flag" ||
39341 test ! -s conftest.err
39342 } && test -s conftest$ac_exeext &&
39343 $as_test_x conftest$ac_exeext; then
39344 ac_cv_func_gmtime_r=yes
39345 else
39346 echo "$as_me: failed program was:" >&5
39347 sed 's/^/| /' conftest.$ac_ext >&5
39348
39349 ac_cv_func_gmtime_r=no
39350 fi
39351
39352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39353 conftest$ac_exeext conftest.$ac_ext
39354 fi
39355 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39356 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39357 if test $ac_cv_func_gmtime_r = yes; then
39358 cat >>confdefs.h <<\_ACEOF
39359 #define HAVE_GMTIME_R 1
39360 _ACEOF
39361
39362 fi
39363
39364 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39365 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39366 if test "${ac_cv_func_readdir_r+set}" = set; then
39367 echo $ECHO_N "(cached) $ECHO_C" >&6
39368 else
39369 cat >conftest.$ac_ext <<_ACEOF
39370 /* confdefs.h. */
39371 _ACEOF
39372 cat confdefs.h >>conftest.$ac_ext
39373 cat >>conftest.$ac_ext <<_ACEOF
39374 /* end confdefs.h. */
39375 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39377 #define readdir_r innocuous_readdir_r
39378
39379 /* System header to define __stub macros and hopefully few prototypes,
39380 which can conflict with char readdir_r (); below.
39381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39382 <limits.h> exists even on freestanding compilers. */
39383
39384 #ifdef __STDC__
39385 # include <limits.h>
39386 #else
39387 # include <assert.h>
39388 #endif
39389
39390 #undef readdir_r
39391
39392 /* Override any GCC internal prototype to avoid an error.
39393 Use char because int might match the return type of a GCC
39394 builtin and then its argument prototype would still apply. */
39395 #ifdef __cplusplus
39396 extern "C"
39397 #endif
39398 char readdir_r ();
39399 /* The GNU C library defines this for functions which it implements
39400 to always fail with ENOSYS. Some functions are actually named
39401 something starting with __ and the normal name is an alias. */
39402 #if defined __stub_readdir_r || defined __stub___readdir_r
39403 choke me
39404 #endif
39405
39406 int
39407 main ()
39408 {
39409 return readdir_r ();
39410 ;
39411 return 0;
39412 }
39413 _ACEOF
39414 rm -f conftest.$ac_objext conftest$ac_exeext
39415 if { (ac_try="$ac_link"
39416 case "(($ac_try" in
39417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39418 *) ac_try_echo=$ac_try;;
39419 esac
39420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39421 (eval "$ac_link") 2>conftest.er1
39422 ac_status=$?
39423 grep -v '^ *+' conftest.er1 >conftest.err
39424 rm -f conftest.er1
39425 cat conftest.err >&5
39426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39427 (exit $ac_status); } && {
39428 test -z "$ac_c_werror_flag" ||
39429 test ! -s conftest.err
39430 } && test -s conftest$ac_exeext &&
39431 $as_test_x conftest$ac_exeext; then
39432 ac_cv_func_readdir_r=yes
39433 else
39434 echo "$as_me: failed program was:" >&5
39435 sed 's/^/| /' conftest.$ac_ext >&5
39436
39437 ac_cv_func_readdir_r=no
39438 fi
39439
39440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39441 conftest$ac_exeext conftest.$ac_ext
39442 fi
39443 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39444 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39445 if test $ac_cv_func_readdir_r = yes; then
39446 cat >>confdefs.h <<\_ACEOF
39447 #define HAVE_READDIR_R 1
39448 _ACEOF
39449
39450 fi
39451
39452
39453
39454
39455 ac_ext=c
39456 ac_cpp='$CPP $CPPFLAGS'
39457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39460
39461 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39462 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39463
39464 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39465 echo $ECHO_N "(cached) $ECHO_C" >&6
39466 else
39467
39468
39469 ################################################################
39470
39471 ac_cv_func_which_gethostbyname_r=unknown
39472
39473 #
39474 # ONE ARGUMENT (sanity check)
39475 #
39476
39477 # This should fail, as there is no variant of gethostbyname_r() that takes
39478 # a single argument. If it actually compiles, then we can assume that
39479 # netdb.h is not declaring the function, and the compiler is thereby
39480 # assuming an implicit prototype. In which case, we're out of luck.
39481 #
39482 cat >conftest.$ac_ext <<_ACEOF
39483 /* confdefs.h. */
39484 _ACEOF
39485 cat confdefs.h >>conftest.$ac_ext
39486 cat >>conftest.$ac_ext <<_ACEOF
39487 /* end confdefs.h. */
39488 #include <netdb.h>
39489 int
39490 main ()
39491 {
39492
39493 char *name = "www.gnu.org";
39494 (void)gethostbyname_r(name) /* ; */
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=no
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 #
39528 # SIX ARGUMENTS
39529 # (e.g. Linux)
39530 #
39531
39532 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39533
39534 cat >conftest.$ac_ext <<_ACEOF
39535 /* confdefs.h. */
39536 _ACEOF
39537 cat confdefs.h >>conftest.$ac_ext
39538 cat >>conftest.$ac_ext <<_ACEOF
39539 /* end confdefs.h. */
39540 #include <netdb.h>
39541 int
39542 main ()
39543 {
39544
39545 char *name = "www.gnu.org";
39546 struct hostent ret, *retp;
39547 char buf[1024];
39548 int buflen = 1024;
39549 int my_h_errno;
39550 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
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=six
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 # FIVE ARGUMENTS
39587 # (e.g. Solaris)
39588 #
39589
39590 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39591
39592 cat >conftest.$ac_ext <<_ACEOF
39593 /* confdefs.h. */
39594 _ACEOF
39595 cat confdefs.h >>conftest.$ac_ext
39596 cat >>conftest.$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39598 #include <netdb.h>
39599 int
39600 main ()
39601 {
39602
39603 char *name = "www.gnu.org";
39604 struct hostent ret;
39605 char buf[1024];
39606 int buflen = 1024;
39607 int my_h_errno;
39608 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39609
39610 ;
39611 return 0;
39612 }
39613 _ACEOF
39614 rm -f conftest.$ac_objext
39615 if { (ac_try="$ac_compile"
39616 case "(($ac_try" in
39617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39618 *) ac_try_echo=$ac_try;;
39619 esac
39620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39621 (eval "$ac_compile") 2>conftest.er1
39622 ac_status=$?
39623 grep -v '^ *+' conftest.er1 >conftest.err
39624 rm -f conftest.er1
39625 cat conftest.err >&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); } && {
39628 test -z "$ac_c_werror_flag" ||
39629 test ! -s conftest.err
39630 } && test -s conftest.$ac_objext; then
39631 ac_cv_func_which_gethostbyname_r=five
39632 else
39633 echo "$as_me: failed program was:" >&5
39634 sed 's/^/| /' conftest.$ac_ext >&5
39635
39636
39637 fi
39638
39639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39640
39641 fi
39642
39643 #
39644 # THREE ARGUMENTS
39645 # (e.g. AIX, HP-UX, Tru64)
39646 #
39647
39648 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39649
39650 cat >conftest.$ac_ext <<_ACEOF
39651 /* confdefs.h. */
39652 _ACEOF
39653 cat confdefs.h >>conftest.$ac_ext
39654 cat >>conftest.$ac_ext <<_ACEOF
39655 /* end confdefs.h. */
39656 #include <netdb.h>
39657 int
39658 main ()
39659 {
39660
39661 char *name = "www.gnu.org";
39662 struct hostent ret;
39663 struct hostent_data data;
39664 (void)gethostbyname_r(name, &ret, &data) /* ; */
39665
39666 ;
39667 return 0;
39668 }
39669 _ACEOF
39670 rm -f conftest.$ac_objext
39671 if { (ac_try="$ac_compile"
39672 case "(($ac_try" in
39673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39674 *) ac_try_echo=$ac_try;;
39675 esac
39676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39677 (eval "$ac_compile") 2>conftest.er1
39678 ac_status=$?
39679 grep -v '^ *+' conftest.er1 >conftest.err
39680 rm -f conftest.er1
39681 cat conftest.err >&5
39682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39683 (exit $ac_status); } && {
39684 test -z "$ac_c_werror_flag" ||
39685 test ! -s conftest.err
39686 } && test -s conftest.$ac_objext; then
39687 ac_cv_func_which_gethostbyname_r=three
39688 else
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.$ac_ext >&5
39691
39692
39693 fi
39694
39695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39696
39697 fi
39698
39699 ################################################################
39700
39701
39702 fi
39703
39704 case "$ac_cv_func_which_gethostbyname_r" in
39705 three)
39706 { echo "$as_me:$LINENO: result: three" >&5
39707 echo "${ECHO_T}three" >&6; }
39708 cat >>confdefs.h <<\_ACEOF
39709 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39710 _ACEOF
39711
39712 ;;
39713
39714 five)
39715 { echo "$as_me:$LINENO: result: five" >&5
39716 echo "${ECHO_T}five" >&6; }
39717 cat >>confdefs.h <<\_ACEOF
39718 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39719 _ACEOF
39720
39721 ;;
39722
39723 six)
39724 { echo "$as_me:$LINENO: result: six" >&5
39725 echo "${ECHO_T}six" >&6; }
39726 cat >>confdefs.h <<\_ACEOF
39727 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39728 _ACEOF
39729
39730 ;;
39731
39732 no)
39733 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39734 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39735 ;;
39736
39737 unknown)
39738 { echo "$as_me:$LINENO: result: can't tell" >&5
39739 echo "${ECHO_T}can't tell" >&6; }
39740 ;;
39741
39742 *)
39743 { { echo "$as_me:$LINENO: error: internal error" >&5
39744 echo "$as_me: error: internal error" >&2;}
39745 { (exit 1); exit 1; }; }
39746 ;;
39747 esac
39748
39749 ac_ext=c
39750 ac_cpp='$CPP $CPPFLAGS'
39751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39754
39755
39756
39757 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39758 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39759 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39760 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39761 if test "${ac_cv_func_gethostbyname+set}" = set; then
39762 echo $ECHO_N "(cached) $ECHO_C" >&6
39763 else
39764 cat >conftest.$ac_ext <<_ACEOF
39765 /* confdefs.h. */
39766 _ACEOF
39767 cat confdefs.h >>conftest.$ac_ext
39768 cat >>conftest.$ac_ext <<_ACEOF
39769 /* end confdefs.h. */
39770 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39772 #define gethostbyname innocuous_gethostbyname
39773
39774 /* System header to define __stub macros and hopefully few prototypes,
39775 which can conflict with char gethostbyname (); below.
39776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39777 <limits.h> exists even on freestanding compilers. */
39778
39779 #ifdef __STDC__
39780 # include <limits.h>
39781 #else
39782 # include <assert.h>
39783 #endif
39784
39785 #undef gethostbyname
39786
39787 /* Override any GCC internal prototype to avoid an error.
39788 Use char because int might match the return type of a GCC
39789 builtin and then its argument prototype would still apply. */
39790 #ifdef __cplusplus
39791 extern "C"
39792 #endif
39793 char gethostbyname ();
39794 /* The GNU C library defines this for functions which it implements
39795 to always fail with ENOSYS. Some functions are actually named
39796 something starting with __ and the normal name is an alias. */
39797 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39798 choke me
39799 #endif
39800
39801 int
39802 main ()
39803 {
39804 return gethostbyname ();
39805 ;
39806 return 0;
39807 }
39808 _ACEOF
39809 rm -f conftest.$ac_objext conftest$ac_exeext
39810 if { (ac_try="$ac_link"
39811 case "(($ac_try" in
39812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39813 *) ac_try_echo=$ac_try;;
39814 esac
39815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39816 (eval "$ac_link") 2>conftest.er1
39817 ac_status=$?
39818 grep -v '^ *+' conftest.er1 >conftest.err
39819 rm -f conftest.er1
39820 cat conftest.err >&5
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); } && {
39823 test -z "$ac_c_werror_flag" ||
39824 test ! -s conftest.err
39825 } && test -s conftest$ac_exeext &&
39826 $as_test_x conftest$ac_exeext; then
39827 ac_cv_func_gethostbyname=yes
39828 else
39829 echo "$as_me: failed program was:" >&5
39830 sed 's/^/| /' conftest.$ac_ext >&5
39831
39832 ac_cv_func_gethostbyname=no
39833 fi
39834
39835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39836 conftest$ac_exeext conftest.$ac_ext
39837 fi
39838 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39839 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39840 if test $ac_cv_func_gethostbyname = yes; then
39841 cat >>confdefs.h <<\_ACEOF
39842 #define HAVE_GETHOSTBYNAME 1
39843 _ACEOF
39844
39845 fi
39846
39847 fi
39848
39849 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39850 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39851 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39852 echo $ECHO_N "(cached) $ECHO_C" >&6
39853 else
39854
39855 ac_ext=cpp
39856 ac_cpp='$CXXCPP $CPPFLAGS'
39857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39860
39861
39862 cat >conftest.$ac_ext <<_ACEOF
39863 /* confdefs.h. */
39864 _ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39868 #include <netdb.h>
39869 int
39870 main ()
39871 {
39872
39873 char *name;
39874 char *proto;
39875 struct servent *se, *res;
39876 char buffer[2048];
39877 int buflen = 2048;
39878 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39879
39880 ;
39881 return 0;
39882 }
39883 _ACEOF
39884 rm -f conftest.$ac_objext
39885 if { (ac_try="$ac_compile"
39886 case "(($ac_try" in
39887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39888 *) ac_try_echo=$ac_try;;
39889 esac
39890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39891 (eval "$ac_compile") 2>conftest.er1
39892 ac_status=$?
39893 grep -v '^ *+' conftest.er1 >conftest.err
39894 rm -f conftest.er1
39895 cat conftest.err >&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } && {
39898 test -z "$ac_cxx_werror_flag" ||
39899 test ! -s conftest.err
39900 } && test -s conftest.$ac_objext; then
39901 ac_cv_func_which_getservbyname_r=six
39902 else
39903 echo "$as_me: failed program was:" >&5
39904 sed 's/^/| /' conftest.$ac_ext >&5
39905
39906
39907 cat >conftest.$ac_ext <<_ACEOF
39908 /* confdefs.h. */
39909 _ACEOF
39910 cat confdefs.h >>conftest.$ac_ext
39911 cat >>conftest.$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39913 #include <netdb.h>
39914 int
39915 main ()
39916 {
39917
39918 char *name;
39919 char *proto;
39920 struct servent *se;
39921 char buffer[2048];
39922 int buflen = 2048;
39923 (void) getservbyname_r(name, proto, se, buffer, buflen)
39924
39925 ;
39926 return 0;
39927 }
39928 _ACEOF
39929 rm -f conftest.$ac_objext
39930 if { (ac_try="$ac_compile"
39931 case "(($ac_try" in
39932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39933 *) ac_try_echo=$ac_try;;
39934 esac
39935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39936 (eval "$ac_compile") 2>conftest.er1
39937 ac_status=$?
39938 grep -v '^ *+' conftest.er1 >conftest.err
39939 rm -f conftest.er1
39940 cat conftest.err >&5
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); } && {
39943 test -z "$ac_cxx_werror_flag" ||
39944 test ! -s conftest.err
39945 } && test -s conftest.$ac_objext; then
39946 ac_cv_func_which_getservbyname_r=five
39947 else
39948 echo "$as_me: failed program was:" >&5
39949 sed 's/^/| /' conftest.$ac_ext >&5
39950
39951
39952 cat >conftest.$ac_ext <<_ACEOF
39953 /* confdefs.h. */
39954 _ACEOF
39955 cat confdefs.h >>conftest.$ac_ext
39956 cat >>conftest.$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39958 #include <netdb.h>
39959 int
39960 main ()
39961 {
39962
39963 char *name;
39964 char *proto;
39965 struct servent *se;
39966 struct servent_data data;
39967 (void) getservbyname_r(name, proto, se, &data);
39968
39969 ;
39970 return 0;
39971 }
39972 _ACEOF
39973 rm -f conftest.$ac_objext
39974 if { (ac_try="$ac_compile"
39975 case "(($ac_try" in
39976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39977 *) ac_try_echo=$ac_try;;
39978 esac
39979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39980 (eval "$ac_compile") 2>conftest.er1
39981 ac_status=$?
39982 grep -v '^ *+' conftest.er1 >conftest.err
39983 rm -f conftest.er1
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } && {
39987 test -z "$ac_cxx_werror_flag" ||
39988 test ! -s conftest.err
39989 } && test -s conftest.$ac_objext; then
39990 ac_cv_func_which_getservbyname_r=four
39991 else
39992 echo "$as_me: failed program was:" >&5
39993 sed 's/^/| /' conftest.$ac_ext >&5
39994
39995 ac_cv_func_which_getservbyname_r=no
39996
39997 fi
39998
39999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40000
40001
40002 fi
40003
40004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40005
40006
40007 fi
40008
40009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40010 ac_ext=c
40011 ac_cpp='$CPP $CPPFLAGS'
40012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40015
40016
40017
40018 fi
40019 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40020 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40021
40022 if test $ac_cv_func_which_getservbyname_r = six; then
40023 cat >>confdefs.h <<\_ACEOF
40024 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40025 _ACEOF
40026
40027 elif test $ac_cv_func_which_getservbyname_r = five; then
40028 cat >>confdefs.h <<\_ACEOF
40029 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40030 _ACEOF
40031
40032 elif test $ac_cv_func_which_getservbyname_r = four; then
40033 cat >>confdefs.h <<\_ACEOF
40034 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40035 _ACEOF
40036
40037 fi
40038
40039
40040 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40041 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40042
40043 for ac_func in getservbyname
40044 do
40045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40046 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40048 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40049 echo $ECHO_N "(cached) $ECHO_C" >&6
40050 else
40051 cat >conftest.$ac_ext <<_ACEOF
40052 /* confdefs.h. */
40053 _ACEOF
40054 cat confdefs.h >>conftest.$ac_ext
40055 cat >>conftest.$ac_ext <<_ACEOF
40056 /* end confdefs.h. */
40057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40059 #define $ac_func innocuous_$ac_func
40060
40061 /* System header to define __stub macros and hopefully few prototypes,
40062 which can conflict with char $ac_func (); below.
40063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40064 <limits.h> exists even on freestanding compilers. */
40065
40066 #ifdef __STDC__
40067 # include <limits.h>
40068 #else
40069 # include <assert.h>
40070 #endif
40071
40072 #undef $ac_func
40073
40074 /* Override any GCC internal prototype to avoid an error.
40075 Use char because int might match the return type of a GCC
40076 builtin and then its argument prototype would still apply. */
40077 #ifdef __cplusplus
40078 extern "C"
40079 #endif
40080 char $ac_func ();
40081 /* The GNU C library defines this for functions which it implements
40082 to always fail with ENOSYS. Some functions are actually named
40083 something starting with __ and the normal name is an alias. */
40084 #if defined __stub_$ac_func || defined __stub___$ac_func
40085 choke me
40086 #endif
40087
40088 int
40089 main ()
40090 {
40091 return $ac_func ();
40092 ;
40093 return 0;
40094 }
40095 _ACEOF
40096 rm -f conftest.$ac_objext conftest$ac_exeext
40097 if { (ac_try="$ac_link"
40098 case "(($ac_try" in
40099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40100 *) ac_try_echo=$ac_try;;
40101 esac
40102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40103 (eval "$ac_link") 2>conftest.er1
40104 ac_status=$?
40105 grep -v '^ *+' conftest.er1 >conftest.err
40106 rm -f conftest.er1
40107 cat conftest.err >&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } && {
40110 test -z "$ac_c_werror_flag" ||
40111 test ! -s conftest.err
40112 } && test -s conftest$ac_exeext &&
40113 $as_test_x conftest$ac_exeext; then
40114 eval "$as_ac_var=yes"
40115 else
40116 echo "$as_me: failed program was:" >&5
40117 sed 's/^/| /' conftest.$ac_ext >&5
40118
40119 eval "$as_ac_var=no"
40120 fi
40121
40122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40123 conftest$ac_exeext conftest.$ac_ext
40124 fi
40125 ac_res=`eval echo '${'$as_ac_var'}'`
40126 { echo "$as_me:$LINENO: result: $ac_res" >&5
40127 echo "${ECHO_T}$ac_res" >&6; }
40128 if test `eval echo '${'$as_ac_var'}'` = yes; then
40129 cat >>confdefs.h <<_ACEOF
40130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40131 _ACEOF
40132 cat >>confdefs.h <<\_ACEOF
40133 #define HAVE_GETSERVBYNAME 1
40134 _ACEOF
40135
40136 fi
40137 done
40138
40139 fi
40140
40141 if test "$wxUSE_THREADS" = "yes"; then
40142 cat >>confdefs.h <<\_ACEOF
40143 #define wxUSE_THREADS 1
40144 _ACEOF
40145
40146
40147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40148 else
40149 if test "$wx_cv_func_strtok_r" = "yes"; then
40150 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40151 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40152 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40153 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40154 { echo "$as_me:$LINENO: result: yes" >&5
40155 echo "${ECHO_T}yes" >&6; }
40156 else
40157 { echo "$as_me:$LINENO: result: no" >&5
40158 echo "${ECHO_T}no" >&6; }
40159 fi
40160 fi
40161 fi
40162
40163 if test "$WXGTK20" = 1 ; then
40164 cat >>confdefs.h <<_ACEOF
40165 #define __WXGTK20__ $WXGTK20
40166 _ACEOF
40167
40168 WXGTK12=1
40169 fi
40170
40171 if test "$WXGTK12" = 1 ; then
40172 cat >>confdefs.h <<_ACEOF
40173 #define __WXGTK12__ $WXGTK12
40174 _ACEOF
40175
40176 fi
40177
40178 if test "$WXGTK127" = 1 ; then
40179 cat >>confdefs.h <<_ACEOF
40180 #define __WXGTK127__ $WXGTK127
40181 _ACEOF
40182
40183 fi
40184
40185 if test "$WXGPE" = 1 ; then
40186 cat >>confdefs.h <<_ACEOF
40187 #define __WXGPE__ $WXGPE
40188 _ACEOF
40189
40190 fi
40191
40192 DEBUG_CFLAGS=
40193 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40194 DEBUG_CFLAGS="-g"
40195 wxUSE_OPTIMISE=no
40196 fi
40197
40198 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40199 wxUSE_DEBUG_INFO=yes
40200 if test "$GCC" = yes; then
40201 DEBUG_CFLAGS="-ggdb"
40202 fi
40203 fi
40204
40205 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40206 cat >>confdefs.h <<\_ACEOF
40207 #define WXDEBUG 1
40208 _ACEOF
40209
40210 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40211 else
40212 if test "$wxUSE_GTK" = 1 ; then
40213 if test "x$wxGTK_VERSION" = "x1" ; then
40214 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40215 fi
40216 fi
40217 fi
40218
40219 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40220 cat >>confdefs.h <<\_ACEOF
40221 #define wxUSE_MEMORY_TRACING 1
40222 _ACEOF
40223
40224 cat >>confdefs.h <<\_ACEOF
40225 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40226 _ACEOF
40227
40228 cat >>confdefs.h <<\_ACEOF
40229 #define wxUSE_DEBUG_NEW_ALWAYS 1
40230 _ACEOF
40231
40232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40233 fi
40234
40235 if test "$wxUSE_DMALLOC" = "yes" ; then
40236 DMALLOC_LIBS="-ldmallocthcxx"
40237 fi
40238
40239 PROFILE_FLAGS=
40240 if test "$wxUSE_PROFILE" = "yes" ; then
40241 PROFILE_FLAGS=" -pg"
40242 fi
40243
40244 if test "$GCC" = "yes" ; then
40245 if test "$wxUSE_NO_RTTI" = "yes" ; then
40246 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40247 fi
40248 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40249 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40250 fi
40251 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40252 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40253 fi
40254
40255 case "${host}" in
40256 powerpc*-*-aix* )
40257 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40258 ;;
40259 *-hppa* )
40260 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40261 ;;
40262 esac
40263 fi
40264
40265 OPTIMISE_CFLAGS=
40266 if test "$wxUSE_OPTIMISE" = "no" ; then
40267 if test "$GCC" = yes ; then
40268 OPTIMISE_CFLAGS="-O0"
40269 fi
40270 else
40271 if test "$GCC" = yes ; then
40272 case "${host}" in
40273 *-pc-os2_emx | *-pc-os2-emx )
40274 OPTIMISE_CFLAGS="-O2"
40275 ;;
40276 *)
40277 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40278 ;;
40279 esac
40280 else
40281 OPTIMISE_CFLAGS="-O"
40282 fi
40283 fi
40284
40285
40286 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40287 cat >>confdefs.h <<\_ACEOF
40288 #define WXWIN_COMPATIBILITY_2_6 1
40289 _ACEOF
40290
40291
40292 WXWIN_COMPATIBILITY_2_8="yes"
40293 fi
40294
40295 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40296 cat >>confdefs.h <<\_ACEOF
40297 #define WXWIN_COMPATIBILITY_2_8 1
40298 _ACEOF
40299
40300 fi
40301
40302
40303 if test "$wxUSE_GUI" = "yes"; then
40304 cat >>confdefs.h <<\_ACEOF
40305 #define wxUSE_GUI 1
40306 _ACEOF
40307
40308
40309 fi
40310
40311
40312 if test "$wxUSE_UNIX" = "yes"; then
40313 cat >>confdefs.h <<\_ACEOF
40314 #define wxUSE_UNIX 1
40315 _ACEOF
40316
40317 fi
40318
40319
40320 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40321
40322 HAVE_DL_FUNCS=0
40323 HAVE_SHL_FUNCS=0
40324 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40325 if test "$USE_DARWIN" = 1; then
40326 HAVE_DL_FUNCS=1
40327 elif test "$USE_DOS" = 1; then
40328 HAVE_DL_FUNCS=0
40329 else
40330
40331 for ac_func in dlopen
40332 do
40333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 else
40339 cat >conftest.$ac_ext <<_ACEOF
40340 /* confdefs.h. */
40341 _ACEOF
40342 cat confdefs.h >>conftest.$ac_ext
40343 cat >>conftest.$ac_ext <<_ACEOF
40344 /* end confdefs.h. */
40345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40347 #define $ac_func innocuous_$ac_func
40348
40349 /* System header to define __stub macros and hopefully few prototypes,
40350 which can conflict with char $ac_func (); below.
40351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40352 <limits.h> exists even on freestanding compilers. */
40353
40354 #ifdef __STDC__
40355 # include <limits.h>
40356 #else
40357 # include <assert.h>
40358 #endif
40359
40360 #undef $ac_func
40361
40362 /* Override any GCC internal prototype to avoid an error.
40363 Use char because int might match the return type of a GCC
40364 builtin and then its argument prototype would still apply. */
40365 #ifdef __cplusplus
40366 extern "C"
40367 #endif
40368 char $ac_func ();
40369 /* The GNU C library defines this for functions which it implements
40370 to always fail with ENOSYS. Some functions are actually named
40371 something starting with __ and the normal name is an alias. */
40372 #if defined __stub_$ac_func || defined __stub___$ac_func
40373 choke me
40374 #endif
40375
40376 int
40377 main ()
40378 {
40379 return $ac_func ();
40380 ;
40381 return 0;
40382 }
40383 _ACEOF
40384 rm -f conftest.$ac_objext conftest$ac_exeext
40385 if { (ac_try="$ac_link"
40386 case "(($ac_try" in
40387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40388 *) ac_try_echo=$ac_try;;
40389 esac
40390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40391 (eval "$ac_link") 2>conftest.er1
40392 ac_status=$?
40393 grep -v '^ *+' conftest.er1 >conftest.err
40394 rm -f conftest.er1
40395 cat conftest.err >&5
40396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40397 (exit $ac_status); } && {
40398 test -z "$ac_c_werror_flag" ||
40399 test ! -s conftest.err
40400 } && test -s conftest$ac_exeext &&
40401 $as_test_x conftest$ac_exeext; then
40402 eval "$as_ac_var=yes"
40403 else
40404 echo "$as_me: failed program was:" >&5
40405 sed 's/^/| /' conftest.$ac_ext >&5
40406
40407 eval "$as_ac_var=no"
40408 fi
40409
40410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40411 conftest$ac_exeext conftest.$ac_ext
40412 fi
40413 ac_res=`eval echo '${'$as_ac_var'}'`
40414 { echo "$as_me:$LINENO: result: $ac_res" >&5
40415 echo "${ECHO_T}$ac_res" >&6; }
40416 if test `eval echo '${'$as_ac_var'}'` = yes; then
40417 cat >>confdefs.h <<_ACEOF
40418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40419 _ACEOF
40420
40421 cat >>confdefs.h <<\_ACEOF
40422 #define HAVE_DLOPEN 1
40423 _ACEOF
40424
40425 HAVE_DL_FUNCS=1
40426
40427 else
40428
40429 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40430 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40431 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40432 echo $ECHO_N "(cached) $ECHO_C" >&6
40433 else
40434 ac_check_lib_save_LIBS=$LIBS
40435 LIBS="-ldl $LIBS"
40436 cat >conftest.$ac_ext <<_ACEOF
40437 /* confdefs.h. */
40438 _ACEOF
40439 cat confdefs.h >>conftest.$ac_ext
40440 cat >>conftest.$ac_ext <<_ACEOF
40441 /* end confdefs.h. */
40442
40443 /* Override any GCC internal prototype to avoid an error.
40444 Use char because int might match the return type of a GCC
40445 builtin and then its argument prototype would still apply. */
40446 #ifdef __cplusplus
40447 extern "C"
40448 #endif
40449 char dlopen ();
40450 int
40451 main ()
40452 {
40453 return dlopen ();
40454 ;
40455 return 0;
40456 }
40457 _ACEOF
40458 rm -f conftest.$ac_objext conftest$ac_exeext
40459 if { (ac_try="$ac_link"
40460 case "(($ac_try" in
40461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40462 *) ac_try_echo=$ac_try;;
40463 esac
40464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40465 (eval "$ac_link") 2>conftest.er1
40466 ac_status=$?
40467 grep -v '^ *+' conftest.er1 >conftest.err
40468 rm -f conftest.er1
40469 cat conftest.err >&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } && {
40472 test -z "$ac_c_werror_flag" ||
40473 test ! -s conftest.err
40474 } && test -s conftest$ac_exeext &&
40475 $as_test_x conftest$ac_exeext; then
40476 ac_cv_lib_dl_dlopen=yes
40477 else
40478 echo "$as_me: failed program was:" >&5
40479 sed 's/^/| /' conftest.$ac_ext >&5
40480
40481 ac_cv_lib_dl_dlopen=no
40482 fi
40483
40484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40485 conftest$ac_exeext conftest.$ac_ext
40486 LIBS=$ac_check_lib_save_LIBS
40487 fi
40488 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40489 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40490 if test $ac_cv_lib_dl_dlopen = yes; then
40491
40492 cat >>confdefs.h <<\_ACEOF
40493 #define HAVE_DLOPEN 1
40494 _ACEOF
40495
40496 HAVE_DL_FUNCS=1
40497 DL_LINK=" -ldl$DL_LINK"
40498
40499 else
40500
40501
40502 for ac_func in shl_load
40503 do
40504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40505 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40507 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40508 echo $ECHO_N "(cached) $ECHO_C" >&6
40509 else
40510 cat >conftest.$ac_ext <<_ACEOF
40511 /* confdefs.h. */
40512 _ACEOF
40513 cat confdefs.h >>conftest.$ac_ext
40514 cat >>conftest.$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40518 #define $ac_func innocuous_$ac_func
40519
40520 /* System header to define __stub macros and hopefully few prototypes,
40521 which can conflict with char $ac_func (); below.
40522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40523 <limits.h> exists even on freestanding compilers. */
40524
40525 #ifdef __STDC__
40526 # include <limits.h>
40527 #else
40528 # include <assert.h>
40529 #endif
40530
40531 #undef $ac_func
40532
40533 /* Override any GCC internal prototype to avoid an error.
40534 Use char because int might match the return type of a GCC
40535 builtin and then its argument prototype would still apply. */
40536 #ifdef __cplusplus
40537 extern "C"
40538 #endif
40539 char $ac_func ();
40540 /* The GNU C library defines this for functions which it implements
40541 to always fail with ENOSYS. Some functions are actually named
40542 something starting with __ and the normal name is an alias. */
40543 #if defined __stub_$ac_func || defined __stub___$ac_func
40544 choke me
40545 #endif
40546
40547 int
40548 main ()
40549 {
40550 return $ac_func ();
40551 ;
40552 return 0;
40553 }
40554 _ACEOF
40555 rm -f conftest.$ac_objext conftest$ac_exeext
40556 if { (ac_try="$ac_link"
40557 case "(($ac_try" in
40558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40559 *) ac_try_echo=$ac_try;;
40560 esac
40561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40562 (eval "$ac_link") 2>conftest.er1
40563 ac_status=$?
40564 grep -v '^ *+' conftest.er1 >conftest.err
40565 rm -f conftest.er1
40566 cat conftest.err >&5
40567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40568 (exit $ac_status); } && {
40569 test -z "$ac_c_werror_flag" ||
40570 test ! -s conftest.err
40571 } && test -s conftest$ac_exeext &&
40572 $as_test_x conftest$ac_exeext; then
40573 eval "$as_ac_var=yes"
40574 else
40575 echo "$as_me: failed program was:" >&5
40576 sed 's/^/| /' conftest.$ac_ext >&5
40577
40578 eval "$as_ac_var=no"
40579 fi
40580
40581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40582 conftest$ac_exeext conftest.$ac_ext
40583 fi
40584 ac_res=`eval echo '${'$as_ac_var'}'`
40585 { echo "$as_me:$LINENO: result: $ac_res" >&5
40586 echo "${ECHO_T}$ac_res" >&6; }
40587 if test `eval echo '${'$as_ac_var'}'` = yes; then
40588 cat >>confdefs.h <<_ACEOF
40589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40590 _ACEOF
40591
40592 cat >>confdefs.h <<\_ACEOF
40593 #define HAVE_SHL_LOAD 1
40594 _ACEOF
40595
40596 HAVE_SHL_FUNCS=1
40597
40598 else
40599
40600 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40601 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40602 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40604 else
40605 ac_check_lib_save_LIBS=$LIBS
40606 LIBS="-lshl_load $LIBS"
40607 cat >conftest.$ac_ext <<_ACEOF
40608 /* confdefs.h. */
40609 _ACEOF
40610 cat confdefs.h >>conftest.$ac_ext
40611 cat >>conftest.$ac_ext <<_ACEOF
40612 /* end confdefs.h. */
40613
40614 /* Override any GCC internal prototype to avoid an error.
40615 Use char because int might match the return type of a GCC
40616 builtin and then its argument prototype would still apply. */
40617 #ifdef __cplusplus
40618 extern "C"
40619 #endif
40620 char dld ();
40621 int
40622 main ()
40623 {
40624 return dld ();
40625 ;
40626 return 0;
40627 }
40628 _ACEOF
40629 rm -f conftest.$ac_objext conftest$ac_exeext
40630 if { (ac_try="$ac_link"
40631 case "(($ac_try" in
40632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40633 *) ac_try_echo=$ac_try;;
40634 esac
40635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40636 (eval "$ac_link") 2>conftest.er1
40637 ac_status=$?
40638 grep -v '^ *+' conftest.er1 >conftest.err
40639 rm -f conftest.er1
40640 cat conftest.err >&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); } && {
40643 test -z "$ac_c_werror_flag" ||
40644 test ! -s conftest.err
40645 } && test -s conftest$ac_exeext &&
40646 $as_test_x conftest$ac_exeext; then
40647 ac_cv_lib_shl_load_dld=yes
40648 else
40649 echo "$as_me: failed program was:" >&5
40650 sed 's/^/| /' conftest.$ac_ext >&5
40651
40652 ac_cv_lib_shl_load_dld=no
40653 fi
40654
40655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40656 conftest$ac_exeext conftest.$ac_ext
40657 LIBS=$ac_check_lib_save_LIBS
40658 fi
40659 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40660 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40661 if test $ac_cv_lib_shl_load_dld = yes; then
40662
40663 HAVE_SHL_FUNCS=1
40664 DL_LINK=" -ldld$DL_LINK"
40665
40666 fi
40667
40668
40669 fi
40670 done
40671
40672
40673 fi
40674
40675
40676 fi
40677 done
40678
40679
40680 if test "$HAVE_DL_FUNCS" = 1; then
40681
40682 for ac_func in dlerror
40683 do
40684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40685 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40687 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40688 echo $ECHO_N "(cached) $ECHO_C" >&6
40689 else
40690 cat >conftest.$ac_ext <<_ACEOF
40691 /* confdefs.h. */
40692 _ACEOF
40693 cat confdefs.h >>conftest.$ac_ext
40694 cat >>conftest.$ac_ext <<_ACEOF
40695 /* end confdefs.h. */
40696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40698 #define $ac_func innocuous_$ac_func
40699
40700 /* System header to define __stub macros and hopefully few prototypes,
40701 which can conflict with char $ac_func (); below.
40702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40703 <limits.h> exists even on freestanding compilers. */
40704
40705 #ifdef __STDC__
40706 # include <limits.h>
40707 #else
40708 # include <assert.h>
40709 #endif
40710
40711 #undef $ac_func
40712
40713 /* Override any GCC internal prototype to avoid an error.
40714 Use char because int might match the return type of a GCC
40715 builtin and then its argument prototype would still apply. */
40716 #ifdef __cplusplus
40717 extern "C"
40718 #endif
40719 char $ac_func ();
40720 /* The GNU C library defines this for functions which it implements
40721 to always fail with ENOSYS. Some functions are actually named
40722 something starting with __ and the normal name is an alias. */
40723 #if defined __stub_$ac_func || defined __stub___$ac_func
40724 choke me
40725 #endif
40726
40727 int
40728 main ()
40729 {
40730 return $ac_func ();
40731 ;
40732 return 0;
40733 }
40734 _ACEOF
40735 rm -f conftest.$ac_objext conftest$ac_exeext
40736 if { (ac_try="$ac_link"
40737 case "(($ac_try" in
40738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40739 *) ac_try_echo=$ac_try;;
40740 esac
40741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40742 (eval "$ac_link") 2>conftest.er1
40743 ac_status=$?
40744 grep -v '^ *+' conftest.er1 >conftest.err
40745 rm -f conftest.er1
40746 cat conftest.err >&5
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); } && {
40749 test -z "$ac_c_werror_flag" ||
40750 test ! -s conftest.err
40751 } && test -s conftest$ac_exeext &&
40752 $as_test_x conftest$ac_exeext; then
40753 eval "$as_ac_var=yes"
40754 else
40755 echo "$as_me: failed program was:" >&5
40756 sed 's/^/| /' conftest.$ac_ext >&5
40757
40758 eval "$as_ac_var=no"
40759 fi
40760
40761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40762 conftest$ac_exeext conftest.$ac_ext
40763 fi
40764 ac_res=`eval echo '${'$as_ac_var'}'`
40765 { echo "$as_me:$LINENO: result: $ac_res" >&5
40766 echo "${ECHO_T}$ac_res" >&6; }
40767 if test `eval echo '${'$as_ac_var'}'` = yes; then
40768 cat >>confdefs.h <<_ACEOF
40769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40770 _ACEOF
40771 cat >>confdefs.h <<\_ACEOF
40772 #define HAVE_DLERROR 1
40773 _ACEOF
40774
40775 else
40776
40777 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40778 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40779 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40781 else
40782 ac_check_lib_save_LIBS=$LIBS
40783 LIBS="-ldl $LIBS"
40784 cat >conftest.$ac_ext <<_ACEOF
40785 /* confdefs.h. */
40786 _ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790
40791 /* Override any GCC internal prototype to avoid an error.
40792 Use char because int might match the return type of a GCC
40793 builtin and then its argument prototype would still apply. */
40794 #ifdef __cplusplus
40795 extern "C"
40796 #endif
40797 char dlerror ();
40798 int
40799 main ()
40800 {
40801 return dlerror ();
40802 ;
40803 return 0;
40804 }
40805 _ACEOF
40806 rm -f conftest.$ac_objext conftest$ac_exeext
40807 if { (ac_try="$ac_link"
40808 case "(($ac_try" in
40809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40810 *) ac_try_echo=$ac_try;;
40811 esac
40812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40813 (eval "$ac_link") 2>conftest.er1
40814 ac_status=$?
40815 grep -v '^ *+' conftest.er1 >conftest.err
40816 rm -f conftest.er1
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } && {
40820 test -z "$ac_c_werror_flag" ||
40821 test ! -s conftest.err
40822 } && test -s conftest$ac_exeext &&
40823 $as_test_x conftest$ac_exeext; then
40824 ac_cv_lib_dl_dlerror=yes
40825 else
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40828
40829 ac_cv_lib_dl_dlerror=no
40830 fi
40831
40832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40833 conftest$ac_exeext conftest.$ac_ext
40834 LIBS=$ac_check_lib_save_LIBS
40835 fi
40836 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40837 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40838 if test $ac_cv_lib_dl_dlerror = yes; then
40839 cat >>confdefs.h <<\_ACEOF
40840 #define HAVE_DLERROR 1
40841 _ACEOF
40842
40843 fi
40844
40845
40846
40847 fi
40848 done
40849
40850 fi
40851 fi
40852
40853 if test "$HAVE_DL_FUNCS" = 0; then
40854 if test "$HAVE_SHL_FUNCS" = 0; then
40855 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40856 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40857 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40858 wxUSE_DYNAMIC_LOADER=no
40859 wxUSE_DYNLIB_CLASS=no
40860 else
40861 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40862 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40863 fi
40864 fi
40865 fi
40866 fi
40867 fi
40868
40869 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40870 cat >>confdefs.h <<\_ACEOF
40871 #define wxUSE_DYNAMIC_LOADER 1
40872 _ACEOF
40873
40874 fi
40875 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40876 cat >>confdefs.h <<\_ACEOF
40877 #define wxUSE_DYNLIB_CLASS 1
40878 _ACEOF
40879
40880 fi
40881
40882
40883
40884 if test "$wxUSE_PLUGINS" = "yes" ; then
40885 if test "$wxUSE_SHARED" = "no" ; then
40886 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40887 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40888 wxUSE_PLUGINS=no
40889 fi
40890 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40891 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40892 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40893 wxUSE_PLUGINS=no
40894 fi
40895 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40896 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40897 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40898 wxUSE_PLUGINS=no
40899 fi
40900 if test "$wxUSE_PLUGINS" = "yes" ; then
40901 cat >>confdefs.h <<\_ACEOF
40902 #define wxUSE_PLUGINS 1
40903 _ACEOF
40904
40905 fi
40906 fi
40907
40908
40909 if test "$wxUSE_STL" = "yes"; then
40910 cat >>confdefs.h <<\_ACEOF
40911 #define wxUSE_STL 1
40912 _ACEOF
40913
40914 fi
40915
40916 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40917 cat >>confdefs.h <<\_ACEOF
40918 #define wxUSE_EXTENDED_RTTI 1
40919 _ACEOF
40920
40921 fi
40922
40923 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40924 cat >>confdefs.h <<\_ACEOF
40925 #define wxUSE_APPLE_IEEE 1
40926 _ACEOF
40927
40928 fi
40929
40930 if test "$wxUSE_TIMER" = "yes"; then
40931 cat >>confdefs.h <<\_ACEOF
40932 #define wxUSE_TIMER 1
40933 _ACEOF
40934
40935 fi
40936
40937 if test "$USE_UNIX" = "1" ; then
40938 if test "$wxUSE_MGL" != 1; then
40939 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40940 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40941 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40942 echo $ECHO_N "(cached) $ECHO_C" >&6
40943 else
40944
40945 cat >conftest.$ac_ext <<_ACEOF
40946 /* confdefs.h. */
40947 _ACEOF
40948 cat confdefs.h >>conftest.$ac_ext
40949 cat >>conftest.$ac_ext <<_ACEOF
40950 /* end confdefs.h. */
40951
40952 #include <sys/ioctl.h>
40953 #include <sys/soundcard.h>
40954
40955 int
40956 main ()
40957 {
40958
40959 ioctl(0, SNDCTL_DSP_SPEED, 0);
40960
40961 ;
40962 return 0;
40963 }
40964 _ACEOF
40965 rm -f conftest.$ac_objext conftest$ac_exeext
40966 if { (ac_try="$ac_link"
40967 case "(($ac_try" in
40968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40969 *) ac_try_echo=$ac_try;;
40970 esac
40971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40972 (eval "$ac_link") 2>conftest.er1
40973 ac_status=$?
40974 grep -v '^ *+' conftest.er1 >conftest.err
40975 rm -f conftest.er1
40976 cat conftest.err >&5
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); } && {
40979 test -z "$ac_c_werror_flag" ||
40980 test ! -s conftest.err
40981 } && test -s conftest$ac_exeext &&
40982 $as_test_x conftest$ac_exeext; then
40983 ac_cv_header_sys_soundcard=yes
40984 else
40985 echo "$as_me: failed program was:" >&5
40986 sed 's/^/| /' conftest.$ac_ext >&5
40987
40988
40989 saveLibs="$LIBS"
40990 LIBS="$saveLibs -lossaudio"
40991 cat >conftest.$ac_ext <<_ACEOF
40992 /* confdefs.h. */
40993 _ACEOF
40994 cat confdefs.h >>conftest.$ac_ext
40995 cat >>conftest.$ac_ext <<_ACEOF
40996 /* end confdefs.h. */
40997
40998 #include <sys/ioctl.h>
40999 #include <sys/soundcard.h>
41000
41001 int
41002 main ()
41003 {
41004
41005 ioctl(0, SNDCTL_DSP_SPEED, 0);
41006
41007 ;
41008 return 0;
41009 }
41010 _ACEOF
41011 rm -f conftest.$ac_objext conftest$ac_exeext
41012 if { (ac_try="$ac_link"
41013 case "(($ac_try" in
41014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41015 *) ac_try_echo=$ac_try;;
41016 esac
41017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41018 (eval "$ac_link") 2>conftest.er1
41019 ac_status=$?
41020 grep -v '^ *+' conftest.er1 >conftest.err
41021 rm -f conftest.er1
41022 cat conftest.err >&5
41023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41024 (exit $ac_status); } && {
41025 test -z "$ac_c_werror_flag" ||
41026 test ! -s conftest.err
41027 } && test -s conftest$ac_exeext &&
41028 $as_test_x conftest$ac_exeext; then
41029 ac_cv_header_sys_soundcard=yes
41030 else
41031 echo "$as_me: failed program was:" >&5
41032 sed 's/^/| /' conftest.$ac_ext >&5
41033
41034
41035 LIBS="$saveLibs"
41036 ac_cv_header_sys_soundcard=no
41037
41038
41039 fi
41040
41041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41042 conftest$ac_exeext conftest.$ac_ext
41043
41044
41045 fi
41046
41047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41048 conftest$ac_exeext conftest.$ac_ext
41049
41050 fi
41051 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41052 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41053 fi
41054
41055 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41056 cat >>confdefs.h <<\_ACEOF
41057 #define HAVE_SYS_SOUNDCARD_H 1
41058 _ACEOF
41059
41060 fi
41061 fi
41062
41063 WITH_PLUGIN_SDL=0
41064 if test "$wxUSE_SOUND" = "yes"; then
41065 if test "$USE_UNIX" = "1" ; then
41066 if test "$wxUSE_LIBSDL" != "no"; then
41067
41068 # Check whether --with-sdl-prefix was given.
41069 if test "${with_sdl_prefix+set}" = set; then
41070 withval=$with_sdl_prefix; sdl_prefix="$withval"
41071 else
41072 sdl_prefix=""
41073 fi
41074
41075
41076 # Check whether --with-sdl-exec-prefix was given.
41077 if test "${with_sdl_exec_prefix+set}" = set; then
41078 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41079 else
41080 sdl_exec_prefix=""
41081 fi
41082
41083 # Check whether --enable-sdltest was given.
41084 if test "${enable_sdltest+set}" = set; then
41085 enableval=$enable_sdltest;
41086 else
41087 enable_sdltest=yes
41088 fi
41089
41090
41091 if test x$sdl_exec_prefix != x ; then
41092 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41093 if test x${SDL_CONFIG+set} != xset ; then
41094 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41095 fi
41096 fi
41097 if test x$sdl_prefix != x ; then
41098 sdl_args="$sdl_args --prefix=$sdl_prefix"
41099 if test x${SDL_CONFIG+set} != xset ; then
41100 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41101 fi
41102 fi
41103
41104 if test "x$prefix" != xNONE; then
41105 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41106 fi
41107 # Extract the first word of "sdl-config", so it can be a program name with args.
41108 set dummy sdl-config; ac_word=$2
41109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41111 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41112 echo $ECHO_N "(cached) $ECHO_C" >&6
41113 else
41114 case $SDL_CONFIG in
41115 [\\/]* | ?:[\\/]*)
41116 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41117 ;;
41118 *)
41119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41120 for as_dir in $PATH
41121 do
41122 IFS=$as_save_IFS
41123 test -z "$as_dir" && as_dir=.
41124 for ac_exec_ext in '' $ac_executable_extensions; do
41125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41126 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41128 break 2
41129 fi
41130 done
41131 done
41132 IFS=$as_save_IFS
41133
41134 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41135 ;;
41136 esac
41137 fi
41138 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41139 if test -n "$SDL_CONFIG"; then
41140 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41141 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41142 else
41143 { echo "$as_me:$LINENO: result: no" >&5
41144 echo "${ECHO_T}no" >&6; }
41145 fi
41146
41147
41148 min_sdl_version=1.2.0
41149 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41150 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41151 no_sdl=""
41152 if test "$SDL_CONFIG" = "no" ; then
41153 no_sdl=yes
41154 else
41155 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41156 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41157
41158 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41160 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41162 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41164 if test "x$enable_sdltest" = "xyes" ; then
41165 ac_save_CFLAGS="$CFLAGS"
41166 ac_save_CXXFLAGS="$CXXFLAGS"
41167 ac_save_LIBS="$LIBS"
41168 CFLAGS="$CFLAGS $SDL_CFLAGS"
41169 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41170 LIBS="$LIBS $SDL_LIBS"
41171 rm -f conf.sdltest
41172 if test "$cross_compiling" = yes; then
41173 echo $ac_n "cross compiling; assumed OK... $ac_c"
41174 else
41175 cat >conftest.$ac_ext <<_ACEOF
41176 /* confdefs.h. */
41177 _ACEOF
41178 cat confdefs.h >>conftest.$ac_ext
41179 cat >>conftest.$ac_ext <<_ACEOF
41180 /* end confdefs.h. */
41181
41182 #include <stdio.h>
41183 #include <stdlib.h>
41184 #include <string.h>
41185 #include "SDL.h"
41186
41187 char*
41188 my_strdup (char *str)
41189 {
41190 char *new_str;
41191
41192 if (str)
41193 {
41194 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41195 strcpy (new_str, str);
41196 }
41197 else
41198 new_str = NULL;
41199
41200 return new_str;
41201 }
41202
41203 int main (int argc, char *argv[])
41204 {
41205 int major, minor, micro;
41206 char *tmp_version;
41207
41208 /* This hangs on some systems (?)
41209 system ("touch conf.sdltest");
41210 */
41211 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41212
41213 /* HP/UX 9 (%@#!) writes to sscanf strings */
41214 tmp_version = my_strdup("$min_sdl_version");
41215 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41216 printf("%s, bad version string\n", "$min_sdl_version");
41217 exit(1);
41218 }
41219
41220 if (($sdl_major_version > major) ||
41221 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41222 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41223 {
41224 return 0;
41225 }
41226 else
41227 {
41228 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41229 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41230 printf("*** best to upgrade to the required version.\n");
41231 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41232 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41233 printf("*** config.cache before re-running configure\n");
41234 return 1;
41235 }
41236 }
41237
41238
41239 _ACEOF
41240 rm -f conftest$ac_exeext
41241 if { (ac_try="$ac_link"
41242 case "(($ac_try" in
41243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41244 *) ac_try_echo=$ac_try;;
41245 esac
41246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41247 (eval "$ac_link") 2>&5
41248 ac_status=$?
41249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41251 { (case "(($ac_try" in
41252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41253 *) ac_try_echo=$ac_try;;
41254 esac
41255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41256 (eval "$ac_try") 2>&5
41257 ac_status=$?
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); }; }; then
41260 :
41261 else
41262 echo "$as_me: program exited with status $ac_status" >&5
41263 echo "$as_me: failed program was:" >&5
41264 sed 's/^/| /' conftest.$ac_ext >&5
41265
41266 ( exit $ac_status )
41267 no_sdl=yes
41268 fi
41269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41270 fi
41271
41272
41273 CFLAGS="$ac_save_CFLAGS"
41274 CXXFLAGS="$ac_save_CXXFLAGS"
41275 LIBS="$ac_save_LIBS"
41276 fi
41277 fi
41278 if test "x$no_sdl" = x ; then
41279 { echo "$as_me:$LINENO: result: yes" >&5
41280 echo "${ECHO_T}yes" >&6; }
41281
41282 EXTRALIBS_SDL="$SDL_LIBS"
41283 CFLAGS="$SDL_CFLAGS $CFLAGS"
41284 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41285 cat >>confdefs.h <<\_ACEOF
41286 #define wxUSE_LIBSDL 1
41287 _ACEOF
41288
41289
41290 else
41291 { echo "$as_me:$LINENO: result: no" >&5
41292 echo "${ECHO_T}no" >&6; }
41293 if test "$SDL_CONFIG" = "no" ; then
41294 echo "*** The sdl-config script installed by SDL could not be found"
41295 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41296 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41297 echo "*** full path to sdl-config."
41298 else
41299 if test -f conf.sdltest ; then
41300 :
41301 else
41302 echo "*** Could not run SDL test program, checking why..."
41303 CFLAGS="$CFLAGS $SDL_CFLAGS"
41304 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41305 LIBS="$LIBS $SDL_LIBS"
41306 cat >conftest.$ac_ext <<_ACEOF
41307 /* confdefs.h. */
41308 _ACEOF
41309 cat confdefs.h >>conftest.$ac_ext
41310 cat >>conftest.$ac_ext <<_ACEOF
41311 /* end confdefs.h. */
41312
41313 #include <stdio.h>
41314 #include "SDL.h"
41315
41316 int main(int argc, char *argv[])
41317 { return 0; }
41318 #undef main
41319 #define main K_and_R_C_main
41320
41321 int
41322 main ()
41323 {
41324 return 0;
41325 ;
41326 return 0;
41327 }
41328 _ACEOF
41329 rm -f conftest.$ac_objext conftest$ac_exeext
41330 if { (ac_try="$ac_link"
41331 case "(($ac_try" in
41332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41333 *) ac_try_echo=$ac_try;;
41334 esac
41335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41336 (eval "$ac_link") 2>conftest.er1
41337 ac_status=$?
41338 grep -v '^ *+' conftest.er1 >conftest.err
41339 rm -f conftest.er1
41340 cat conftest.err >&5
41341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342 (exit $ac_status); } && {
41343 test -z "$ac_c_werror_flag" ||
41344 test ! -s conftest.err
41345 } && test -s conftest$ac_exeext &&
41346 $as_test_x conftest$ac_exeext; then
41347 echo "*** The test program compiled, but did not run. This usually means"
41348 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41349 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41350 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41351 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41352 echo "*** is required on your system"
41353 echo "***"
41354 echo "*** If you have an old version installed, it is best to remove it, although"
41355 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41356 else
41357 echo "$as_me: failed program was:" >&5
41358 sed 's/^/| /' conftest.$ac_ext >&5
41359
41360 echo "*** The test program failed to compile or link. See the file config.log for the"
41361 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41362 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41363 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41364 fi
41365
41366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41367 conftest$ac_exeext conftest.$ac_ext
41368 CFLAGS="$ac_save_CFLAGS"
41369 CXXFLAGS="$ac_save_CXXFLAGS"
41370 LIBS="$ac_save_LIBS"
41371 fi
41372 fi
41373 SDL_CFLAGS=""
41374 SDL_LIBS=""
41375 wxUSE_LIBSDL="no"
41376 fi
41377
41378
41379 rm -f conf.sdltest
41380
41381 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41382 WITH_PLUGIN_SDL=1
41383 fi
41384 fi
41385 else
41386 if test "$wxUSE_MGL" = 1; then
41387 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41388 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41389 wxUSE_SOUND="no"
41390 fi
41391 fi
41392 fi
41393
41394 if test "$wxUSE_SOUND" = "yes"; then
41395 cat >>confdefs.h <<\_ACEOF
41396 #define wxUSE_SOUND 1
41397 _ACEOF
41398
41399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41400 fi
41401
41402 if test "$WXGTK20" = 1; then
41403
41404
41405 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41406 if test -n "$ac_tool_prefix"; then
41407 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41408 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41411 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41412 echo $ECHO_N "(cached) $ECHO_C" >&6
41413 else
41414 case $PKG_CONFIG in
41415 [\\/]* | ?:[\\/]*)
41416 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41417 ;;
41418 *)
41419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41420 for as_dir in $PATH
41421 do
41422 IFS=$as_save_IFS
41423 test -z "$as_dir" && as_dir=.
41424 for ac_exec_ext in '' $ac_executable_extensions; do
41425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41426 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41428 break 2
41429 fi
41430 done
41431 done
41432 IFS=$as_save_IFS
41433
41434 ;;
41435 esac
41436 fi
41437 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41438 if test -n "$PKG_CONFIG"; then
41439 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41440 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41441 else
41442 { echo "$as_me:$LINENO: result: no" >&5
41443 echo "${ECHO_T}no" >&6; }
41444 fi
41445
41446
41447 fi
41448 if test -z "$ac_cv_path_PKG_CONFIG"; then
41449 ac_pt_PKG_CONFIG=$PKG_CONFIG
41450 # Extract the first word of "pkg-config", so it can be a program name with args.
41451 set dummy pkg-config; ac_word=$2
41452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41454 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41455 echo $ECHO_N "(cached) $ECHO_C" >&6
41456 else
41457 case $ac_pt_PKG_CONFIG in
41458 [\\/]* | ?:[\\/]*)
41459 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41460 ;;
41461 *)
41462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41463 for as_dir in $PATH
41464 do
41465 IFS=$as_save_IFS
41466 test -z "$as_dir" && as_dir=.
41467 for ac_exec_ext in '' $ac_executable_extensions; do
41468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41469 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41471 break 2
41472 fi
41473 done
41474 done
41475 IFS=$as_save_IFS
41476
41477 ;;
41478 esac
41479 fi
41480 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41481 if test -n "$ac_pt_PKG_CONFIG"; then
41482 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41483 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41484 else
41485 { echo "$as_me:$LINENO: result: no" >&5
41486 echo "${ECHO_T}no" >&6; }
41487 fi
41488
41489 if test "x$ac_pt_PKG_CONFIG" = x; then
41490 PKG_CONFIG=""
41491 else
41492 case $cross_compiling:$ac_tool_warned in
41493 yes:)
41494 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41495 whose name does not start with the host triplet. If you think this
41496 configuration is useful to you, please write to autoconf@gnu.org." >&5
41497 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41498 whose name does not start with the host triplet. If you think this
41499 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41500 ac_tool_warned=yes ;;
41501 esac
41502 PKG_CONFIG=$ac_pt_PKG_CONFIG
41503 fi
41504 else
41505 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41506 fi
41507
41508 fi
41509 if test -n "$PKG_CONFIG"; then
41510 _pkg_min_version=0.9.0
41511 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41512 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41513 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41514 { echo "$as_me:$LINENO: result: yes" >&5
41515 echo "${ECHO_T}yes" >&6; }
41516 else
41517 { echo "$as_me:$LINENO: result: no" >&5
41518 echo "${ECHO_T}no" >&6; }
41519 PKG_CONFIG=""
41520 fi
41521
41522 fi
41523
41524 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41525 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41526
41527
41528 pkg_failed=no
41529 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41530 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41531
41532 if test -n "$PKG_CONFIG"; then
41533 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41534 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41535 else
41536 if test -n "$PKG_CONFIG" && \
41537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41538 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41539 ac_status=$?
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; then
41542 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41543 else
41544 pkg_failed=yes
41545 fi
41546 fi
41547 else
41548 pkg_failed=untried
41549 fi
41550 if test -n "$PKG_CONFIG"; then
41551 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41552 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41553 else
41554 if test -n "$PKG_CONFIG" && \
41555 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41556 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41557 ac_status=$?
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; then
41560 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41561 else
41562 pkg_failed=yes
41563 fi
41564 fi
41565 else
41566 pkg_failed=untried
41567 fi
41568
41569
41570
41571 if test $pkg_failed = yes; then
41572
41573 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41574 _pkg_short_errors_supported=yes
41575 else
41576 _pkg_short_errors_supported=no
41577 fi
41578 if test $_pkg_short_errors_supported = yes; then
41579 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41580 else
41581 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41582 fi
41583 # Put the nasty error message in config.log where it belongs
41584 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41585
41586
41587 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41588 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41589 wxUSE_LIBGNOMEPRINT="no"
41590
41591
41592 elif test $pkg_failed = untried; then
41593
41594 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41595 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41596 wxUSE_LIBGNOMEPRINT="no"
41597
41598
41599 else
41600 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41601 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41602 { echo "$as_me:$LINENO: result: yes" >&5
41603 echo "${ECHO_T}yes" >&6; }
41604
41605 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41606 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41607 cat >>confdefs.h <<\_ACEOF
41608 #define wxUSE_LIBGNOMEPRINT 1
41609 _ACEOF
41610
41611
41612 fi
41613 fi
41614 fi
41615
41616 if test "$wxUSE_MIMETYPE" = "yes" ; then
41617 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41618
41619
41620 pkg_failed=no
41621 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41622 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41623
41624 if test -n "$PKG_CONFIG"; then
41625 if test -n "$GNOMEVFS_CFLAGS"; then
41626 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41627 else
41628 if test -n "$PKG_CONFIG" && \
41629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41630 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41631 ac_status=$?
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; then
41634 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41635 else
41636 pkg_failed=yes
41637 fi
41638 fi
41639 else
41640 pkg_failed=untried
41641 fi
41642 if test -n "$PKG_CONFIG"; then
41643 if test -n "$GNOMEVFS_LIBS"; then
41644 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41645 else
41646 if test -n "$PKG_CONFIG" && \
41647 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41648 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41649 ac_status=$?
41650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41651 (exit $ac_status); }; then
41652 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41653 else
41654 pkg_failed=yes
41655 fi
41656 fi
41657 else
41658 pkg_failed=untried
41659 fi
41660
41661
41662
41663 if test $pkg_failed = yes; then
41664
41665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41666 _pkg_short_errors_supported=yes
41667 else
41668 _pkg_short_errors_supported=no
41669 fi
41670 if test $_pkg_short_errors_supported = yes; then
41671 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41672 else
41673 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41674 fi
41675 # Put the nasty error message in config.log where it belongs
41676 echo "$GNOMEVFS_PKG_ERRORS" >&5
41677
41678
41679 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41680 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41681 wxUSE_LIBGNOMEVFS="no"
41682
41683
41684 elif test $pkg_failed = untried; then
41685
41686 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41687 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41688 wxUSE_LIBGNOMEVFS="no"
41689
41690
41691 else
41692 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41693 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41694 { echo "$as_me:$LINENO: result: yes" >&5
41695 echo "${ECHO_T}yes" >&6; }
41696
41697 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41698 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41699 cat >>confdefs.h <<\_ACEOF
41700 #define wxUSE_LIBGNOMEVFS 1
41701 _ACEOF
41702
41703
41704 fi
41705 fi
41706 fi
41707
41708 if test "$wxUSE_LIBHILDON" = "yes" ; then
41709
41710 pkg_failed=no
41711 { echo "$as_me:$LINENO: checking for HILDON" >&5
41712 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41713
41714 if test -n "$PKG_CONFIG"; then
41715 if test -n "$HILDON_CFLAGS"; then
41716 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41717 else
41718 if test -n "$PKG_CONFIG" && \
41719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41720 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41721 ac_status=$?
41722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41723 (exit $ac_status); }; then
41724 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41725 else
41726 pkg_failed=yes
41727 fi
41728 fi
41729 else
41730 pkg_failed=untried
41731 fi
41732 if test -n "$PKG_CONFIG"; then
41733 if test -n "$HILDON_LIBS"; then
41734 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41735 else
41736 if test -n "$PKG_CONFIG" && \
41737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41738 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41739 ac_status=$?
41740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41741 (exit $ac_status); }; then
41742 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41743 else
41744 pkg_failed=yes
41745 fi
41746 fi
41747 else
41748 pkg_failed=untried
41749 fi
41750
41751
41752
41753 if test $pkg_failed = yes; then
41754
41755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41756 _pkg_short_errors_supported=yes
41757 else
41758 _pkg_short_errors_supported=no
41759 fi
41760 if test $_pkg_short_errors_supported = yes; then
41761 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41762 else
41763 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41764 fi
41765 # Put the nasty error message in config.log where it belongs
41766 echo "$HILDON_PKG_ERRORS" >&5
41767
41768
41769 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41770 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41771 wxUSE_LIBHILDON="no"
41772
41773
41774 elif test $pkg_failed = untried; then
41775
41776 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41777 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41778 wxUSE_LIBHILDON="no"
41779
41780
41781 else
41782 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41783 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41784 { echo "$as_me:$LINENO: result: yes" >&5
41785 echo "${ECHO_T}yes" >&6; }
41786
41787 EXTRALIBS_HILDON="$HILDON_LIBS"
41788 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41789 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41790 cat >>confdefs.h <<\_ACEOF
41791 #define wxUSE_LIBHILDON 1
41792 _ACEOF
41793
41794
41795 fi
41796 fi
41797 fi
41798
41799 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41800 cat >>confdefs.h <<\_ACEOF
41801 #define wxUSE_CMDLINE_PARSER 1
41802 _ACEOF
41803
41804 fi
41805
41806 if test "$wxUSE_STOPWATCH" = "yes"; then
41807 cat >>confdefs.h <<\_ACEOF
41808 #define wxUSE_STOPWATCH 1
41809 _ACEOF
41810
41811 fi
41812
41813 if test "$wxUSE_DATETIME" = "yes"; then
41814 cat >>confdefs.h <<\_ACEOF
41815 #define wxUSE_DATETIME 1
41816 _ACEOF
41817
41818 fi
41819
41820 if test "$wxUSE_FILE" = "yes"; then
41821 cat >>confdefs.h <<\_ACEOF
41822 #define wxUSE_FILE 1
41823 _ACEOF
41824
41825 fi
41826
41827 if test "$wxUSE_FFILE" = "yes"; then
41828 cat >>confdefs.h <<\_ACEOF
41829 #define wxUSE_FFILE 1
41830 _ACEOF
41831
41832 fi
41833
41834 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41835 if test "$wxUSE_STREAMS" != yes; then
41836 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41837 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41838 wxUSE_ARCHIVE_STREAMS=no
41839 else
41840 cat >>confdefs.h <<\_ACEOF
41841 #define wxUSE_ARCHIVE_STREAMS 1
41842 _ACEOF
41843
41844 fi
41845 fi
41846
41847 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41848 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41849 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41850 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41851 elif test "$wxUSE_ZLIB" = "no"; then
41852 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41853 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41854 else
41855 cat >>confdefs.h <<\_ACEOF
41856 #define wxUSE_ZIPSTREAM 1
41857 _ACEOF
41858
41859 fi
41860 fi
41861
41862 if test "$wxUSE_TARSTREAM" = "yes"; then
41863 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41864 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41865 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41866 else
41867 cat >>confdefs.h <<\_ACEOF
41868 #define wxUSE_TARSTREAM 1
41869 _ACEOF
41870
41871 fi
41872 fi
41873
41874 if test "$wxUSE_FILESYSTEM" = "yes"; then
41875 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41876 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41877 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41878 wxUSE_FILESYSTEM=no
41879 else
41880 cat >>confdefs.h <<\_ACEOF
41881 #define wxUSE_FILESYSTEM 1
41882 _ACEOF
41883
41884 fi
41885 fi
41886
41887 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41888 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41889 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41890 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41891 else
41892 cat >>confdefs.h <<\_ACEOF
41893 #define wxUSE_FS_ARCHIVE 1
41894 _ACEOF
41895
41896 fi
41897 fi
41898
41899 if test "$wxUSE_FS_ZIP" = "yes"; then
41900 if test "$wxUSE_FS_ARCHIVE" != yes; then
41901 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41902 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41903 else
41904 cat >>confdefs.h <<\_ACEOF
41905 #define wxUSE_FS_ZIP 1
41906 _ACEOF
41907
41908 fi
41909 fi
41910
41911 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41912 if test "$USE_UNIX" != 1; then
41913 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41914 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41915 wxUSE_ON_FATAL_EXCEPTION=no
41916 else
41917 cat >>confdefs.h <<\_ACEOF
41918 #define wxUSE_ON_FATAL_EXCEPTION 1
41919 _ACEOF
41920
41921 fi
41922 fi
41923
41924 if test "$wxUSE_STACKWALKER" = "yes"; then
41925 cat >>confdefs.h <<\_ACEOF
41926 #define wxUSE_STACKWALKER 1
41927 _ACEOF
41928
41929 fi
41930
41931 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41932 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41933 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41934 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41935 wxUSE_DEBUGREPORT=no
41936 else
41937 cat >>confdefs.h <<\_ACEOF
41938 #define wxUSE_DEBUGREPORT 1
41939 _ACEOF
41940
41941 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41943 fi
41944 fi
41945 fi
41946
41947 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41948 cat >>confdefs.h <<\_ACEOF
41949 #define wxUSE_SNGLINST_CHECKER 1
41950 _ACEOF
41951
41952 fi
41953
41954 if test "$wxUSE_BUSYINFO" = "yes"; then
41955 cat >>confdefs.h <<\_ACEOF
41956 #define wxUSE_BUSYINFO 1
41957 _ACEOF
41958
41959 fi
41960
41961 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41962 cat >>confdefs.h <<\_ACEOF
41963 #define wxUSE_STD_IOSTREAM 1
41964 _ACEOF
41965
41966 fi
41967
41968 if test "$wxUSE_STD_STRING" = "yes"; then
41969 cat >>confdefs.h <<\_ACEOF
41970 #define wxUSE_STD_STRING 1
41971 _ACEOF
41972
41973 fi
41974
41975 if test "$wxUSE_STDPATHS" = "yes"; then
41976 cat >>confdefs.h <<\_ACEOF
41977 #define wxUSE_STDPATHS 1
41978 _ACEOF
41979
41980 fi
41981
41982 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41983 cat >>confdefs.h <<\_ACEOF
41984 #define wxUSE_TEXTBUFFER 1
41985 _ACEOF
41986
41987 fi
41988
41989 if test "$wxUSE_TEXTFILE" = "yes"; then
41990 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41991 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41992 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41993 else
41994 cat >>confdefs.h <<\_ACEOF
41995 #define wxUSE_TEXTFILE 1
41996 _ACEOF
41997
41998 fi
41999 fi
42000
42001 if test "$wxUSE_CONFIG" = "yes" ; then
42002 if test "$wxUSE_TEXTFILE" != "yes"; then
42003 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42004 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42005 else
42006 cat >>confdefs.h <<\_ACEOF
42007 #define wxUSE_CONFIG 1
42008 _ACEOF
42009
42010 cat >>confdefs.h <<\_ACEOF
42011 #define wxUSE_CONFIG_NATIVE 1
42012 _ACEOF
42013
42014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42015 fi
42016 fi
42017
42018 if test "$wxUSE_INTL" = "yes" ; then
42019 if test "$wxUSE_FILE" != "yes"; then
42020 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42021 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42022 else
42023 cat >>confdefs.h <<\_ACEOF
42024 #define wxUSE_INTL 1
42025 _ACEOF
42026
42027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42028 GUIDIST="$GUIDIST INTL_DIST"
42029 fi
42030 fi
42031
42032 if test "$wxUSE_LOG" = "yes"; then
42033 cat >>confdefs.h <<\_ACEOF
42034 #define wxUSE_LOG 1
42035 _ACEOF
42036
42037
42038 if test "$wxUSE_LOGGUI" = "yes"; then
42039 cat >>confdefs.h <<\_ACEOF
42040 #define wxUSE_LOGGUI 1
42041 _ACEOF
42042
42043 fi
42044
42045 if test "$wxUSE_LOGWINDOW" = "yes"; then
42046 cat >>confdefs.h <<\_ACEOF
42047 #define wxUSE_LOGWINDOW 1
42048 _ACEOF
42049
42050 fi
42051
42052 if test "$wxUSE_LOGDIALOG" = "yes"; then
42053 cat >>confdefs.h <<\_ACEOF
42054 #define wxUSE_LOG_DIALOG 1
42055 _ACEOF
42056
42057 fi
42058
42059 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42060 fi
42061
42062 if test "$wxUSE_LONGLONG" = "yes"; then
42063 cat >>confdefs.h <<\_ACEOF
42064 #define wxUSE_LONGLONG 1
42065 _ACEOF
42066
42067 fi
42068
42069 if test "$wxUSE_GEOMETRY" = "yes"; then
42070 cat >>confdefs.h <<\_ACEOF
42071 #define wxUSE_GEOMETRY 1
42072 _ACEOF
42073
42074 fi
42075
42076 if test "$wxUSE_STREAMS" = "yes" ; then
42077 cat >>confdefs.h <<\_ACEOF
42078 #define wxUSE_STREAMS 1
42079 _ACEOF
42080
42081 fi
42082
42083 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_PRINTF_POS_PARAMS 1
42086 _ACEOF
42087
42088 fi
42089
42090
42091
42092 if test "$wxUSE_DATETIME" = "yes"; then
42093
42094 for ac_func in strptime
42095 do
42096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42097 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42099 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42100 echo $ECHO_N "(cached) $ECHO_C" >&6
42101 else
42102 cat >conftest.$ac_ext <<_ACEOF
42103 /* confdefs.h. */
42104 _ACEOF
42105 cat confdefs.h >>conftest.$ac_ext
42106 cat >>conftest.$ac_ext <<_ACEOF
42107 /* end confdefs.h. */
42108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42110 #define $ac_func innocuous_$ac_func
42111
42112 /* System header to define __stub macros and hopefully few prototypes,
42113 which can conflict with char $ac_func (); below.
42114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42115 <limits.h> exists even on freestanding compilers. */
42116
42117 #ifdef __STDC__
42118 # include <limits.h>
42119 #else
42120 # include <assert.h>
42121 #endif
42122
42123 #undef $ac_func
42124
42125 /* Override any GCC internal prototype to avoid an error.
42126 Use char because int might match the return type of a GCC
42127 builtin and then its argument prototype would still apply. */
42128 #ifdef __cplusplus
42129 extern "C"
42130 #endif
42131 char $ac_func ();
42132 /* The GNU C library defines this for functions which it implements
42133 to always fail with ENOSYS. Some functions are actually named
42134 something starting with __ and the normal name is an alias. */
42135 #if defined __stub_$ac_func || defined __stub___$ac_func
42136 choke me
42137 #endif
42138
42139 int
42140 main ()
42141 {
42142 return $ac_func ();
42143 ;
42144 return 0;
42145 }
42146 _ACEOF
42147 rm -f conftest.$ac_objext conftest$ac_exeext
42148 if { (ac_try="$ac_link"
42149 case "(($ac_try" in
42150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42151 *) ac_try_echo=$ac_try;;
42152 esac
42153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42154 (eval "$ac_link") 2>conftest.er1
42155 ac_status=$?
42156 grep -v '^ *+' conftest.er1 >conftest.err
42157 rm -f conftest.er1
42158 cat conftest.err >&5
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); } && {
42161 test -z "$ac_c_werror_flag" ||
42162 test ! -s conftest.err
42163 } && test -s conftest$ac_exeext &&
42164 $as_test_x conftest$ac_exeext; then
42165 eval "$as_ac_var=yes"
42166 else
42167 echo "$as_me: failed program was:" >&5
42168 sed 's/^/| /' conftest.$ac_ext >&5
42169
42170 eval "$as_ac_var=no"
42171 fi
42172
42173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42174 conftest$ac_exeext conftest.$ac_ext
42175 fi
42176 ac_res=`eval echo '${'$as_ac_var'}'`
42177 { echo "$as_me:$LINENO: result: $ac_res" >&5
42178 echo "${ECHO_T}$ac_res" >&6; }
42179 if test `eval echo '${'$as_ac_var'}'` = yes; then
42180 cat >>confdefs.h <<_ACEOF
42181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42182 _ACEOF
42183
42184 fi
42185 done
42186
42187 if test "$ac_cv_func_strptime" = "yes"; then
42188 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42189 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42190 if test "${wx_cv_func_strptime_decl+set}" = set; then
42191 echo $ECHO_N "(cached) $ECHO_C" >&6
42192 else
42193
42194 ac_ext=cpp
42195 ac_cpp='$CXXCPP $CPPFLAGS'
42196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42199
42200 cat >conftest.$ac_ext <<_ACEOF
42201 /* confdefs.h. */
42202 _ACEOF
42203 cat confdefs.h >>conftest.$ac_ext
42204 cat >>conftest.$ac_ext <<_ACEOF
42205 /* end confdefs.h. */
42206
42207 #include <time.h>
42208
42209 int
42210 main ()
42211 {
42212
42213 struct tm t;
42214 strptime("foo", "bar", &t);
42215
42216 ;
42217 return 0;
42218 }
42219 _ACEOF
42220 rm -f conftest.$ac_objext
42221 if { (ac_try="$ac_compile"
42222 case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42224 *) ac_try_echo=$ac_try;;
42225 esac
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_compile") 2>conftest.er1
42228 ac_status=$?
42229 grep -v '^ *+' conftest.er1 >conftest.err
42230 rm -f conftest.er1
42231 cat conftest.err >&5
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); } && {
42234 test -z "$ac_cxx_werror_flag" ||
42235 test ! -s conftest.err
42236 } && test -s conftest.$ac_objext; then
42237 wx_cv_func_strptime_decl=yes
42238 else
42239 echo "$as_me: failed program was:" >&5
42240 sed 's/^/| /' conftest.$ac_ext >&5
42241
42242 wx_cv_func_strptime_decl=no
42243
42244 fi
42245
42246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42247 ac_ext=c
42248 ac_cpp='$CPP $CPPFLAGS'
42249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42252
42253
42254
42255 fi
42256 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42257 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42258 fi
42259 if test "$wx_cv_func_strptime_decl" = "yes"; then
42260 cat >>confdefs.h <<\_ACEOF
42261 #define HAVE_STRPTIME_DECL 1
42262 _ACEOF
42263
42264 fi
42265
42266 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42267 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42268 if test "${wx_cv_var_timezone+set}" = set; then
42269 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 else
42271
42272 ac_ext=cpp
42273 ac_cpp='$CXXCPP $CPPFLAGS'
42274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42277
42278 cat >conftest.$ac_ext <<_ACEOF
42279 /* confdefs.h. */
42280 _ACEOF
42281 cat confdefs.h >>conftest.$ac_ext
42282 cat >>conftest.$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42284
42285 #include <time.h>
42286
42287 int
42288 main ()
42289 {
42290
42291 int tz;
42292 tz = timezone;
42293
42294 ;
42295 return 0;
42296 }
42297 _ACEOF
42298 rm -f conftest.$ac_objext
42299 if { (ac_try="$ac_compile"
42300 case "(($ac_try" in
42301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42302 *) ac_try_echo=$ac_try;;
42303 esac
42304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42305 (eval "$ac_compile") 2>conftest.er1
42306 ac_status=$?
42307 grep -v '^ *+' conftest.er1 >conftest.err
42308 rm -f conftest.er1
42309 cat conftest.err >&5
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); } && {
42312 test -z "$ac_cxx_werror_flag" ||
42313 test ! -s conftest.err
42314 } && test -s conftest.$ac_objext; then
42315
42316 wx_cv_var_timezone=timezone
42317
42318 else
42319 echo "$as_me: failed program was:" >&5
42320 sed 's/^/| /' conftest.$ac_ext >&5
42321
42322
42323 cat >conftest.$ac_ext <<_ACEOF
42324 /* confdefs.h. */
42325 _ACEOF
42326 cat confdefs.h >>conftest.$ac_ext
42327 cat >>conftest.$ac_ext <<_ACEOF
42328 /* end confdefs.h. */
42329
42330 #include <time.h>
42331
42332 int
42333 main ()
42334 {
42335
42336 int tz;
42337 tz = _timezone;
42338
42339 ;
42340 return 0;
42341 }
42342 _ACEOF
42343 rm -f conftest.$ac_objext
42344 if { (ac_try="$ac_compile"
42345 case "(($ac_try" in
42346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42347 *) ac_try_echo=$ac_try;;
42348 esac
42349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42350 (eval "$ac_compile") 2>conftest.er1
42351 ac_status=$?
42352 grep -v '^ *+' conftest.er1 >conftest.err
42353 rm -f conftest.er1
42354 cat conftest.err >&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); } && {
42357 test -z "$ac_cxx_werror_flag" ||
42358 test ! -s conftest.err
42359 } && test -s conftest.$ac_objext; then
42360
42361 wx_cv_var_timezone=_timezone
42362
42363 else
42364 echo "$as_me: failed program was:" >&5
42365 sed 's/^/| /' conftest.$ac_ext >&5
42366
42367
42368 cat >conftest.$ac_ext <<_ACEOF
42369 /* confdefs.h. */
42370 _ACEOF
42371 cat confdefs.h >>conftest.$ac_ext
42372 cat >>conftest.$ac_ext <<_ACEOF
42373 /* end confdefs.h. */
42374
42375 #include <time.h>
42376
42377 int
42378 main ()
42379 {
42380
42381 int tz;
42382 tz = __timezone;
42383
42384 ;
42385 return 0;
42386 }
42387 _ACEOF
42388 rm -f conftest.$ac_objext
42389 if { (ac_try="$ac_compile"
42390 case "(($ac_try" in
42391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42392 *) ac_try_echo=$ac_try;;
42393 esac
42394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42395 (eval "$ac_compile") 2>conftest.er1
42396 ac_status=$?
42397 grep -v '^ *+' conftest.er1 >conftest.err
42398 rm -f conftest.er1
42399 cat conftest.err >&5
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); } && {
42402 test -z "$ac_cxx_werror_flag" ||
42403 test ! -s conftest.err
42404 } && test -s conftest.$ac_objext; then
42405
42406 wx_cv_var_timezone=__timezone
42407
42408 else
42409 echo "$as_me: failed program was:" >&5
42410 sed 's/^/| /' conftest.$ac_ext >&5
42411
42412
42413 if test "$USE_DOS" = 0 ; then
42414 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42415 echo "$as_me: WARNING: no timezone variable" >&2;}
42416 fi
42417
42418
42419 fi
42420
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422
42423
42424 fi
42425
42426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42427
42428
42429 fi
42430
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432 ac_ext=c
42433 ac_cpp='$CPP $CPPFLAGS'
42434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42437
42438
42439
42440 fi
42441 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42442 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42443
42444 if test "x$wx_cv_var_timezone" != x ; then
42445 cat >>confdefs.h <<_ACEOF
42446 #define WX_TIMEZONE $wx_cv_var_timezone
42447 _ACEOF
42448
42449 fi
42450
42451
42452 for ac_func in localtime
42453 do
42454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42455 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42457 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42458 echo $ECHO_N "(cached) $ECHO_C" >&6
42459 else
42460 cat >conftest.$ac_ext <<_ACEOF
42461 /* confdefs.h. */
42462 _ACEOF
42463 cat confdefs.h >>conftest.$ac_ext
42464 cat >>conftest.$ac_ext <<_ACEOF
42465 /* end confdefs.h. */
42466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42468 #define $ac_func innocuous_$ac_func
42469
42470 /* System header to define __stub macros and hopefully few prototypes,
42471 which can conflict with char $ac_func (); below.
42472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42473 <limits.h> exists even on freestanding compilers. */
42474
42475 #ifdef __STDC__
42476 # include <limits.h>
42477 #else
42478 # include <assert.h>
42479 #endif
42480
42481 #undef $ac_func
42482
42483 /* Override any GCC internal prototype to avoid an error.
42484 Use char because int might match the return type of a GCC
42485 builtin and then its argument prototype would still apply. */
42486 #ifdef __cplusplus
42487 extern "C"
42488 #endif
42489 char $ac_func ();
42490 /* The GNU C library defines this for functions which it implements
42491 to always fail with ENOSYS. Some functions are actually named
42492 something starting with __ and the normal name is an alias. */
42493 #if defined __stub_$ac_func || defined __stub___$ac_func
42494 choke me
42495 #endif
42496
42497 int
42498 main ()
42499 {
42500 return $ac_func ();
42501 ;
42502 return 0;
42503 }
42504 _ACEOF
42505 rm -f conftest.$ac_objext conftest$ac_exeext
42506 if { (ac_try="$ac_link"
42507 case "(($ac_try" in
42508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42509 *) ac_try_echo=$ac_try;;
42510 esac
42511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42512 (eval "$ac_link") 2>conftest.er1
42513 ac_status=$?
42514 grep -v '^ *+' conftest.er1 >conftest.err
42515 rm -f conftest.er1
42516 cat conftest.err >&5
42517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42518 (exit $ac_status); } && {
42519 test -z "$ac_c_werror_flag" ||
42520 test ! -s conftest.err
42521 } && test -s conftest$ac_exeext &&
42522 $as_test_x conftest$ac_exeext; then
42523 eval "$as_ac_var=yes"
42524 else
42525 echo "$as_me: failed program was:" >&5
42526 sed 's/^/| /' conftest.$ac_ext >&5
42527
42528 eval "$as_ac_var=no"
42529 fi
42530
42531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42532 conftest$ac_exeext conftest.$ac_ext
42533 fi
42534 ac_res=`eval echo '${'$as_ac_var'}'`
42535 { echo "$as_me:$LINENO: result: $ac_res" >&5
42536 echo "${ECHO_T}$ac_res" >&6; }
42537 if test `eval echo '${'$as_ac_var'}'` = yes; then
42538 cat >>confdefs.h <<_ACEOF
42539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42540 _ACEOF
42541
42542 fi
42543 done
42544
42545
42546 if test "$ac_cv_func_localtime" = "yes"; then
42547 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42548 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42549 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42550 echo $ECHO_N "(cached) $ECHO_C" >&6
42551 else
42552
42553 cat >conftest.$ac_ext <<_ACEOF
42554 /* confdefs.h. */
42555 _ACEOF
42556 cat confdefs.h >>conftest.$ac_ext
42557 cat >>conftest.$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42559
42560 #include <time.h>
42561
42562 int
42563 main ()
42564 {
42565
42566 struct tm tm;
42567 tm.tm_gmtoff++;
42568
42569 ;
42570 return 0;
42571 }
42572 _ACEOF
42573 rm -f conftest.$ac_objext
42574 if { (ac_try="$ac_compile"
42575 case "(($ac_try" in
42576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42577 *) ac_try_echo=$ac_try;;
42578 esac
42579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42580 (eval "$ac_compile") 2>conftest.er1
42581 ac_status=$?
42582 grep -v '^ *+' conftest.er1 >conftest.err
42583 rm -f conftest.er1
42584 cat conftest.err >&5
42585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586 (exit $ac_status); } && {
42587 test -z "$ac_c_werror_flag" ||
42588 test ! -s conftest.err
42589 } && test -s conftest.$ac_objext; then
42590
42591 wx_cv_struct_tm_has_gmtoff=yes
42592
42593 else
42594 echo "$as_me: failed program was:" >&5
42595 sed 's/^/| /' conftest.$ac_ext >&5
42596
42597 wx_cv_struct_tm_has_gmtoff=no
42598
42599 fi
42600
42601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42602
42603 fi
42604 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42605 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42606 fi
42607
42608 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42609 cat >>confdefs.h <<\_ACEOF
42610 #define WX_GMTOFF_IN_TM 1
42611 _ACEOF
42612
42613 fi
42614
42615
42616
42617 for ac_func in gettimeofday ftime
42618 do
42619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42620 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42622 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42623 echo $ECHO_N "(cached) $ECHO_C" >&6
42624 else
42625 cat >conftest.$ac_ext <<_ACEOF
42626 /* confdefs.h. */
42627 _ACEOF
42628 cat confdefs.h >>conftest.$ac_ext
42629 cat >>conftest.$ac_ext <<_ACEOF
42630 /* end confdefs.h. */
42631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42633 #define $ac_func innocuous_$ac_func
42634
42635 /* System header to define __stub macros and hopefully few prototypes,
42636 which can conflict with char $ac_func (); below.
42637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42638 <limits.h> exists even on freestanding compilers. */
42639
42640 #ifdef __STDC__
42641 # include <limits.h>
42642 #else
42643 # include <assert.h>
42644 #endif
42645
42646 #undef $ac_func
42647
42648 /* Override any GCC internal prototype to avoid an error.
42649 Use char because int might match the return type of a GCC
42650 builtin and then its argument prototype would still apply. */
42651 #ifdef __cplusplus
42652 extern "C"
42653 #endif
42654 char $ac_func ();
42655 /* The GNU C library defines this for functions which it implements
42656 to always fail with ENOSYS. Some functions are actually named
42657 something starting with __ and the normal name is an alias. */
42658 #if defined __stub_$ac_func || defined __stub___$ac_func
42659 choke me
42660 #endif
42661
42662 int
42663 main ()
42664 {
42665 return $ac_func ();
42666 ;
42667 return 0;
42668 }
42669 _ACEOF
42670 rm -f conftest.$ac_objext conftest$ac_exeext
42671 if { (ac_try="$ac_link"
42672 case "(($ac_try" in
42673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42674 *) ac_try_echo=$ac_try;;
42675 esac
42676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42677 (eval "$ac_link") 2>conftest.er1
42678 ac_status=$?
42679 grep -v '^ *+' conftest.er1 >conftest.err
42680 rm -f conftest.er1
42681 cat conftest.err >&5
42682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42683 (exit $ac_status); } && {
42684 test -z "$ac_c_werror_flag" ||
42685 test ! -s conftest.err
42686 } && test -s conftest$ac_exeext &&
42687 $as_test_x conftest$ac_exeext; then
42688 eval "$as_ac_var=yes"
42689 else
42690 echo "$as_me: failed program was:" >&5
42691 sed 's/^/| /' conftest.$ac_ext >&5
42692
42693 eval "$as_ac_var=no"
42694 fi
42695
42696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42697 conftest$ac_exeext conftest.$ac_ext
42698 fi
42699 ac_res=`eval echo '${'$as_ac_var'}'`
42700 { echo "$as_me:$LINENO: result: $ac_res" >&5
42701 echo "${ECHO_T}$ac_res" >&6; }
42702 if test `eval echo '${'$as_ac_var'}'` = yes; then
42703 cat >>confdefs.h <<_ACEOF
42704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42705 _ACEOF
42706 break
42707 fi
42708 done
42709
42710
42711 if test "$ac_cv_func_gettimeofday" = "yes"; then
42712 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42713 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42714 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42715 echo $ECHO_N "(cached) $ECHO_C" >&6
42716 else
42717
42718 cat >conftest.$ac_ext <<_ACEOF
42719 /* confdefs.h. */
42720 _ACEOF
42721 cat confdefs.h >>conftest.$ac_ext
42722 cat >>conftest.$ac_ext <<_ACEOF
42723 /* end confdefs.h. */
42724
42725 #include <sys/time.h>
42726 #include <unistd.h>
42727
42728 int
42729 main ()
42730 {
42731
42732 struct timeval tv;
42733 gettimeofday(&tv, NULL);
42734
42735 ;
42736 return 0;
42737 }
42738 _ACEOF
42739 rm -f conftest.$ac_objext
42740 if { (ac_try="$ac_compile"
42741 case "(($ac_try" in
42742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42743 *) ac_try_echo=$ac_try;;
42744 esac
42745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42746 (eval "$ac_compile") 2>conftest.er1
42747 ac_status=$?
42748 grep -v '^ *+' conftest.er1 >conftest.err
42749 rm -f conftest.er1
42750 cat conftest.err >&5
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); } && {
42753 test -z "$ac_c_werror_flag" ||
42754 test ! -s conftest.err
42755 } && test -s conftest.$ac_objext; then
42756 wx_cv_func_gettimeofday_has_2_args=yes
42757 else
42758 echo "$as_me: failed program was:" >&5
42759 sed 's/^/| /' conftest.$ac_ext >&5
42760
42761 cat >conftest.$ac_ext <<_ACEOF
42762 /* confdefs.h. */
42763 _ACEOF
42764 cat confdefs.h >>conftest.$ac_ext
42765 cat >>conftest.$ac_ext <<_ACEOF
42766 /* end confdefs.h. */
42767
42768 #include <sys/time.h>
42769 #include <unistd.h>
42770
42771 int
42772 main ()
42773 {
42774
42775 struct timeval tv;
42776 gettimeofday(&tv);
42777
42778 ;
42779 return 0;
42780 }
42781 _ACEOF
42782 rm -f conftest.$ac_objext
42783 if { (ac_try="$ac_compile"
42784 case "(($ac_try" in
42785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42786 *) ac_try_echo=$ac_try;;
42787 esac
42788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42789 (eval "$ac_compile") 2>conftest.er1
42790 ac_status=$?
42791 grep -v '^ *+' conftest.er1 >conftest.err
42792 rm -f conftest.er1
42793 cat conftest.err >&5
42794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42795 (exit $ac_status); } && {
42796 test -z "$ac_c_werror_flag" ||
42797 test ! -s conftest.err
42798 } && test -s conftest.$ac_objext; then
42799 wx_cv_func_gettimeofday_has_2_args=no
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42803
42804
42805 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42806 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42807 wx_cv_func_gettimeofday_has_2_args=unknown
42808
42809
42810 fi
42811
42812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42813
42814 fi
42815
42816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42817
42818 fi
42819 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42820 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42821
42822 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42823 cat >>confdefs.h <<\_ACEOF
42824 #define WX_GETTIMEOFDAY_NO_TZ 1
42825 _ACEOF
42826
42827 fi
42828 fi
42829
42830 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42831 fi
42832
42833
42834 if test "$wxUSE_SOCKETS" = "yes"; then
42835 if test "$wxUSE_MGL" = "1"; then
42836 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42837 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42838 wxUSE_SOCKETS="no"
42839 fi
42840 fi
42841
42842 if test "$wxUSE_SOCKETS" = "yes"; then
42843 if test "$TOOLKIT" != "MSW"; then
42844 { echo "$as_me:$LINENO: checking for socket" >&5
42845 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42846 if test "${ac_cv_func_socket+set}" = set; then
42847 echo $ECHO_N "(cached) $ECHO_C" >&6
42848 else
42849 cat >conftest.$ac_ext <<_ACEOF
42850 /* confdefs.h. */
42851 _ACEOF
42852 cat confdefs.h >>conftest.$ac_ext
42853 cat >>conftest.$ac_ext <<_ACEOF
42854 /* end confdefs.h. */
42855 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42857 #define socket innocuous_socket
42858
42859 /* System header to define __stub macros and hopefully few prototypes,
42860 which can conflict with char socket (); below.
42861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42862 <limits.h> exists even on freestanding compilers. */
42863
42864 #ifdef __STDC__
42865 # include <limits.h>
42866 #else
42867 # include <assert.h>
42868 #endif
42869
42870 #undef socket
42871
42872 /* Override any GCC internal prototype to avoid an error.
42873 Use char because int might match the return type of a GCC
42874 builtin and then its argument prototype would still apply. */
42875 #ifdef __cplusplus
42876 extern "C"
42877 #endif
42878 char socket ();
42879 /* The GNU C library defines this for functions which it implements
42880 to always fail with ENOSYS. Some functions are actually named
42881 something starting with __ and the normal name is an alias. */
42882 #if defined __stub_socket || defined __stub___socket
42883 choke me
42884 #endif
42885
42886 int
42887 main ()
42888 {
42889 return socket ();
42890 ;
42891 return 0;
42892 }
42893 _ACEOF
42894 rm -f conftest.$ac_objext conftest$ac_exeext
42895 if { (ac_try="$ac_link"
42896 case "(($ac_try" in
42897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42898 *) ac_try_echo=$ac_try;;
42899 esac
42900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42901 (eval "$ac_link") 2>conftest.er1
42902 ac_status=$?
42903 grep -v '^ *+' conftest.er1 >conftest.err
42904 rm -f conftest.er1
42905 cat conftest.err >&5
42906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42907 (exit $ac_status); } && {
42908 test -z "$ac_c_werror_flag" ||
42909 test ! -s conftest.err
42910 } && test -s conftest$ac_exeext &&
42911 $as_test_x conftest$ac_exeext; then
42912 ac_cv_func_socket=yes
42913 else
42914 echo "$as_me: failed program was:" >&5
42915 sed 's/^/| /' conftest.$ac_ext >&5
42916
42917 ac_cv_func_socket=no
42918 fi
42919
42920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42921 conftest$ac_exeext conftest.$ac_ext
42922 fi
42923 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42924 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42925 if test $ac_cv_func_socket = yes; then
42926 :
42927 else
42928
42929 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42930 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42931 if test "${ac_cv_lib_socket_socket+set}" = set; then
42932 echo $ECHO_N "(cached) $ECHO_C" >&6
42933 else
42934 ac_check_lib_save_LIBS=$LIBS
42935 LIBS="-lsocket $LIBS"
42936 cat >conftest.$ac_ext <<_ACEOF
42937 /* confdefs.h. */
42938 _ACEOF
42939 cat confdefs.h >>conftest.$ac_ext
42940 cat >>conftest.$ac_ext <<_ACEOF
42941 /* end confdefs.h. */
42942
42943 /* Override any GCC internal prototype to avoid an error.
42944 Use char because int might match the return type of a GCC
42945 builtin and then its argument prototype would still apply. */
42946 #ifdef __cplusplus
42947 extern "C"
42948 #endif
42949 char socket ();
42950 int
42951 main ()
42952 {
42953 return socket ();
42954 ;
42955 return 0;
42956 }
42957 _ACEOF
42958 rm -f conftest.$ac_objext conftest$ac_exeext
42959 if { (ac_try="$ac_link"
42960 case "(($ac_try" in
42961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42962 *) ac_try_echo=$ac_try;;
42963 esac
42964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42965 (eval "$ac_link") 2>conftest.er1
42966 ac_status=$?
42967 grep -v '^ *+' conftest.er1 >conftest.err
42968 rm -f conftest.er1
42969 cat conftest.err >&5
42970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42971 (exit $ac_status); } && {
42972 test -z "$ac_c_werror_flag" ||
42973 test ! -s conftest.err
42974 } && test -s conftest$ac_exeext &&
42975 $as_test_x conftest$ac_exeext; then
42976 ac_cv_lib_socket_socket=yes
42977 else
42978 echo "$as_me: failed program was:" >&5
42979 sed 's/^/| /' conftest.$ac_ext >&5
42980
42981 ac_cv_lib_socket_socket=no
42982 fi
42983
42984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42985 conftest$ac_exeext conftest.$ac_ext
42986 LIBS=$ac_check_lib_save_LIBS
42987 fi
42988 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42989 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42990 if test $ac_cv_lib_socket_socket = yes; then
42991 if test "$INET_LINK" != " -lsocket"; then
42992 INET_LINK="$INET_LINK -lsocket"
42993 fi
42994 else
42995
42996 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42997 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42998 wxUSE_SOCKETS=no
42999
43000
43001 fi
43002
43003
43004
43005 fi
43006
43007 fi
43008 fi
43009
43010 if test "$wxUSE_SOCKETS" = "yes" ; then
43011 if test "$TOOLKIT" != "MSW"; then
43012 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43013 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43014 if test "${wx_cv_type_getsockname3+set}" = set; then
43015 echo $ECHO_N "(cached) $ECHO_C" >&6
43016 else
43017
43018 ac_ext=cpp
43019 ac_cpp='$CXXCPP $CPPFLAGS'
43020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43023
43024 cat >conftest.$ac_ext <<_ACEOF
43025 /* confdefs.h. */
43026 _ACEOF
43027 cat confdefs.h >>conftest.$ac_ext
43028 cat >>conftest.$ac_ext <<_ACEOF
43029 /* end confdefs.h. */
43030
43031 #include <sys/types.h>
43032 #include <sys/socket.h>
43033
43034 int
43035 main ()
43036 {
43037
43038 socklen_t len;
43039 getsockname(0, 0, &len);
43040
43041 ;
43042 return 0;
43043 }
43044 _ACEOF
43045 rm -f conftest.$ac_objext
43046 if { (ac_try="$ac_compile"
43047 case "(($ac_try" in
43048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43049 *) ac_try_echo=$ac_try;;
43050 esac
43051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43052 (eval "$ac_compile") 2>conftest.er1
43053 ac_status=$?
43054 grep -v '^ *+' conftest.er1 >conftest.err
43055 rm -f conftest.er1
43056 cat conftest.err >&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); } && {
43059 test -z "$ac_cxx_werror_flag" ||
43060 test ! -s conftest.err
43061 } && test -s conftest.$ac_objext; then
43062 wx_cv_type_getsockname3=socklen_t
43063 else
43064 echo "$as_me: failed program was:" >&5
43065 sed 's/^/| /' conftest.$ac_ext >&5
43066
43067
43068 CFLAGS_OLD="$CFLAGS"
43069 if test "$GCC" = yes ; then
43070 CFLAGS="-Werror $CFLAGS"
43071 fi
43072
43073 cat >conftest.$ac_ext <<_ACEOF
43074 /* confdefs.h. */
43075 _ACEOF
43076 cat confdefs.h >>conftest.$ac_ext
43077 cat >>conftest.$ac_ext <<_ACEOF
43078 /* end confdefs.h. */
43079
43080 #include <sys/types.h>
43081 #include <sys/socket.h>
43082
43083 int
43084 main ()
43085 {
43086
43087 size_t len;
43088 getsockname(0, 0, &len);
43089
43090 ;
43091 return 0;
43092 }
43093 _ACEOF
43094 rm -f conftest.$ac_objext
43095 if { (ac_try="$ac_compile"
43096 case "(($ac_try" in
43097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43098 *) ac_try_echo=$ac_try;;
43099 esac
43100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43101 (eval "$ac_compile") 2>conftest.er1
43102 ac_status=$?
43103 grep -v '^ *+' conftest.er1 >conftest.err
43104 rm -f conftest.er1
43105 cat conftest.err >&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); } && {
43108 test -z "$ac_cxx_werror_flag" ||
43109 test ! -s conftest.err
43110 } && test -s conftest.$ac_objext; then
43111 wx_cv_type_getsockname3=size_t
43112 else
43113 echo "$as_me: failed program was:" >&5
43114 sed 's/^/| /' conftest.$ac_ext >&5
43115
43116 cat >conftest.$ac_ext <<_ACEOF
43117 /* confdefs.h. */
43118 _ACEOF
43119 cat confdefs.h >>conftest.$ac_ext
43120 cat >>conftest.$ac_ext <<_ACEOF
43121 /* end confdefs.h. */
43122
43123 #include <sys/types.h>
43124 #include <sys/socket.h>
43125
43126 int
43127 main ()
43128 {
43129
43130 int len;
43131 getsockname(0, 0, &len);
43132
43133 ;
43134 return 0;
43135 }
43136 _ACEOF
43137 rm -f conftest.$ac_objext
43138 if { (ac_try="$ac_compile"
43139 case "(($ac_try" in
43140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43141 *) ac_try_echo=$ac_try;;
43142 esac
43143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43144 (eval "$ac_compile") 2>conftest.er1
43145 ac_status=$?
43146 grep -v '^ *+' conftest.er1 >conftest.err
43147 rm -f conftest.er1
43148 cat conftest.err >&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); } && {
43151 test -z "$ac_cxx_werror_flag" ||
43152 test ! -s conftest.err
43153 } && test -s conftest.$ac_objext; then
43154 wx_cv_type_getsockname3=int
43155 else
43156 echo "$as_me: failed program was:" >&5
43157 sed 's/^/| /' conftest.$ac_ext >&5
43158
43159 wx_cv_type_getsockname3=unknown
43160
43161 fi
43162
43163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43164
43165 fi
43166
43167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43168
43169 CFLAGS="$CFLAGS_OLD"
43170
43171
43172 fi
43173
43174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43175 ac_ext=c
43176 ac_cpp='$CPP $CPPFLAGS'
43177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43180
43181
43182 fi
43183 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43184 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43185
43186 if test "$wx_cv_type_getsockname3" = "unknown"; then
43187 wxUSE_SOCKETS=no
43188 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43189 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43190 else
43191 cat >>confdefs.h <<_ACEOF
43192 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43193 _ACEOF
43194
43195 fi
43196 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43197 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43198 if test "${wx_cv_type_getsockopt5+set}" = set; then
43199 echo $ECHO_N "(cached) $ECHO_C" >&6
43200 else
43201
43202 ac_ext=cpp
43203 ac_cpp='$CXXCPP $CPPFLAGS'
43204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43207
43208 cat >conftest.$ac_ext <<_ACEOF
43209 /* confdefs.h. */
43210 _ACEOF
43211 cat confdefs.h >>conftest.$ac_ext
43212 cat >>conftest.$ac_ext <<_ACEOF
43213 /* end confdefs.h. */
43214
43215 #include <sys/types.h>
43216 #include <sys/socket.h>
43217
43218 int
43219 main ()
43220 {
43221
43222 socklen_t len;
43223 getsockopt(0, 0, 0, 0, &len);
43224
43225 ;
43226 return 0;
43227 }
43228 _ACEOF
43229 rm -f conftest.$ac_objext
43230 if { (ac_try="$ac_compile"
43231 case "(($ac_try" in
43232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43233 *) ac_try_echo=$ac_try;;
43234 esac
43235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43236 (eval "$ac_compile") 2>conftest.er1
43237 ac_status=$?
43238 grep -v '^ *+' conftest.er1 >conftest.err
43239 rm -f conftest.er1
43240 cat conftest.err >&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } && {
43243 test -z "$ac_cxx_werror_flag" ||
43244 test ! -s conftest.err
43245 } && test -s conftest.$ac_objext; then
43246 wx_cv_type_getsockopt5=socklen_t
43247 else
43248 echo "$as_me: failed program was:" >&5
43249 sed 's/^/| /' conftest.$ac_ext >&5
43250
43251
43252 cat >conftest.$ac_ext <<_ACEOF
43253 /* confdefs.h. */
43254 _ACEOF
43255 cat confdefs.h >>conftest.$ac_ext
43256 cat >>conftest.$ac_ext <<_ACEOF
43257 /* end confdefs.h. */
43258
43259 #include <sys/types.h>
43260 #include <sys/socket.h>
43261
43262 int
43263 main ()
43264 {
43265
43266 size_t len;
43267 getsockopt(0, 0, 0, 0, &len);
43268
43269 ;
43270 return 0;
43271 }
43272 _ACEOF
43273 rm -f conftest.$ac_objext
43274 if { (ac_try="$ac_compile"
43275 case "(($ac_try" in
43276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43277 *) ac_try_echo=$ac_try;;
43278 esac
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_compile") 2>conftest.er1
43281 ac_status=$?
43282 grep -v '^ *+' conftest.er1 >conftest.err
43283 rm -f conftest.er1
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_cxx_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest.$ac_objext; then
43290 wx_cv_type_getsockopt5=size_t
43291 else
43292 echo "$as_me: failed program was:" >&5
43293 sed 's/^/| /' conftest.$ac_ext >&5
43294
43295 cat >conftest.$ac_ext <<_ACEOF
43296 /* confdefs.h. */
43297 _ACEOF
43298 cat confdefs.h >>conftest.$ac_ext
43299 cat >>conftest.$ac_ext <<_ACEOF
43300 /* end confdefs.h. */
43301
43302 #include <sys/types.h>
43303 #include <sys/socket.h>
43304
43305 int
43306 main ()
43307 {
43308
43309 int len;
43310 getsockopt(0, 0, 0, 0, &len);
43311
43312 ;
43313 return 0;
43314 }
43315 _ACEOF
43316 rm -f conftest.$ac_objext
43317 if { (ac_try="$ac_compile"
43318 case "(($ac_try" in
43319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43320 *) ac_try_echo=$ac_try;;
43321 esac
43322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43323 (eval "$ac_compile") 2>conftest.er1
43324 ac_status=$?
43325 grep -v '^ *+' conftest.er1 >conftest.err
43326 rm -f conftest.er1
43327 cat conftest.err >&5
43328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43329 (exit $ac_status); } && {
43330 test -z "$ac_cxx_werror_flag" ||
43331 test ! -s conftest.err
43332 } && test -s conftest.$ac_objext; then
43333 wx_cv_type_getsockopt5=int
43334 else
43335 echo "$as_me: failed program was:" >&5
43336 sed 's/^/| /' conftest.$ac_ext >&5
43337
43338 wx_cv_type_getsockopt5=unknown
43339
43340 fi
43341
43342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43343
43344 fi
43345
43346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43347
43348
43349 fi
43350
43351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43352 ac_ext=c
43353 ac_cpp='$CPP $CPPFLAGS'
43354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43357
43358
43359 fi
43360 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43361 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43362
43363 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43364 wxUSE_SOCKETS=no
43365 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43366 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43367 else
43368 cat >>confdefs.h <<_ACEOF
43369 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43370 _ACEOF
43371
43372 fi
43373 fi
43374 fi
43375
43376 if test "$wxUSE_SOCKETS" = "yes" ; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_SOCKETS 1
43379 _ACEOF
43380
43381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43382 fi
43383
43384 if test "$wxUSE_PROTOCOL" = "yes"; then
43385 if test "$wxUSE_SOCKETS" != "yes"; then
43386 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43387 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43388 wxUSE_PROTOCOL=no
43389 fi
43390 fi
43391
43392 if test "$wxUSE_PROTOCOL" = "yes"; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_PROTOCOL 1
43395 _ACEOF
43396
43397
43398 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43399 cat >>confdefs.h <<\_ACEOF
43400 #define wxUSE_PROTOCOL_HTTP 1
43401 _ACEOF
43402
43403 fi
43404 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_PROTOCOL_FTP 1
43407 _ACEOF
43408
43409 fi
43410 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43411 cat >>confdefs.h <<\_ACEOF
43412 #define wxUSE_PROTOCOL_FILE 1
43413 _ACEOF
43414
43415 fi
43416 else
43417 if test "$wxUSE_FS_INET" = "yes"; then
43418 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43419 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43420 wxUSE_FS_INET="no"
43421 fi
43422 fi
43423
43424 if test "$wxUSE_URL" = "yes"; then
43425 if test "$wxUSE_PROTOCOL" != "yes"; then
43426 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43427 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43428 wxUSE_URL=no
43429 fi
43430 if test "$wxUSE_URL" = "yes"; then
43431 cat >>confdefs.h <<\_ACEOF
43432 #define wxUSE_URL 1
43433 _ACEOF
43434
43435 fi
43436 fi
43437
43438 if test "$wxUSE_VARIANT" = "yes"; then
43439 cat >>confdefs.h <<\_ACEOF
43440 #define wxUSE_VARIANT 1
43441 _ACEOF
43442
43443 fi
43444
43445 if test "$wxUSE_FS_INET" = "yes"; then
43446 cat >>confdefs.h <<\_ACEOF
43447 #define wxUSE_FS_INET 1
43448 _ACEOF
43449
43450 fi
43451
43452
43453 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43454 wxUSE_JOYSTICK=no
43455
43456 if test "$TOOLKIT" = "MSW"; then
43457 wxUSE_JOYSTICK=yes
43458
43459 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43460 if test "$USE_DARWIN" = 1; then
43461 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43462 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43463 ac_ext=cpp
43464 ac_cpp='$CXXCPP $CPPFLAGS'
43465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43468
43469 cat >conftest.$ac_ext <<_ACEOF
43470 /* confdefs.h. */
43471 _ACEOF
43472 cat confdefs.h >>conftest.$ac_ext
43473 cat >>conftest.$ac_ext <<_ACEOF
43474 /* end confdefs.h. */
43475 #include <IOKit/hid/IOHIDLib.h>
43476 int
43477 main ()
43478 {
43479 IOHIDQueueInterface *qi = NULL;
43480 IOHIDCallbackFunction cb = NULL;
43481 qi->setEventCallout(NULL, cb, NULL, NULL);
43482 ;
43483 return 0;
43484 }
43485 _ACEOF
43486 rm -f conftest.$ac_objext
43487 if { (ac_try="$ac_compile"
43488 case "(($ac_try" in
43489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43490 *) ac_try_echo=$ac_try;;
43491 esac
43492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43493 (eval "$ac_compile") 2>conftest.er1
43494 ac_status=$?
43495 grep -v '^ *+' conftest.er1 >conftest.err
43496 rm -f conftest.er1
43497 cat conftest.err >&5
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); } && {
43500 test -z "$ac_cxx_werror_flag" ||
43501 test ! -s conftest.err
43502 } && test -s conftest.$ac_objext; then
43503 wxUSE_JOYSTICK=yes
43504
43505 else
43506 echo "$as_me: failed program was:" >&5
43507 sed 's/^/| /' conftest.$ac_ext >&5
43508
43509
43510 fi
43511
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43513 ac_ext=c
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518
43519 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43520 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43521 fi
43522
43523 else
43524 if test "$wxUSE_MGL" != "1"; then
43525 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43526 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43527 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43528 echo $ECHO_N "(cached) $ECHO_C" >&6
43529 else
43530 cat >conftest.$ac_ext <<_ACEOF
43531 /* confdefs.h. */
43532 _ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536 $ac_includes_default
43537
43538 #include <linux/joystick.h>
43539 _ACEOF
43540 rm -f conftest.$ac_objext
43541 if { (ac_try="$ac_compile"
43542 case "(($ac_try" in
43543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43544 *) ac_try_echo=$ac_try;;
43545 esac
43546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43547 (eval "$ac_compile") 2>conftest.er1
43548 ac_status=$?
43549 grep -v '^ *+' conftest.er1 >conftest.err
43550 rm -f conftest.er1
43551 cat conftest.err >&5
43552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43553 (exit $ac_status); } && {
43554 test -z "$ac_c_werror_flag" ||
43555 test ! -s conftest.err
43556 } && test -s conftest.$ac_objext; then
43557 ac_cv_header_linux_joystick_h=yes
43558 else
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.$ac_ext >&5
43561
43562 ac_cv_header_linux_joystick_h=no
43563 fi
43564
43565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43566 fi
43567 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43568 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43569 if test $ac_cv_header_linux_joystick_h = yes; then
43570 wxUSE_JOYSTICK=yes
43571 fi
43572
43573
43574 fi
43575 fi
43576
43577 if test "$wxUSE_JOYSTICK" = "yes"; then
43578 cat >>confdefs.h <<\_ACEOF
43579 #define wxUSE_JOYSTICK 1
43580 _ACEOF
43581
43582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43583 else
43584 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43585 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43586 fi
43587 fi
43588
43589
43590
43591 if test "$wxUSE_FONTMAP" = "yes" ; then
43592 cat >>confdefs.h <<\_ACEOF
43593 #define wxUSE_FONTMAP 1
43594 _ACEOF
43595
43596 fi
43597
43598 if test "$wxUSE_UNICODE" = "yes" ; then
43599 cat >>confdefs.h <<\_ACEOF
43600 #define wxUSE_UNICODE 1
43601 _ACEOF
43602
43603
43604 if test "$USE_WIN32" != 1; then
43605 wxUSE_UNICODE_MSLU=no
43606 fi
43607
43608 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43609 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43610 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43611 if test "${ac_cv_lib_unicows_main+set}" = set; then
43612 echo $ECHO_N "(cached) $ECHO_C" >&6
43613 else
43614 ac_check_lib_save_LIBS=$LIBS
43615 LIBS="-lunicows $LIBS"
43616 cat >conftest.$ac_ext <<_ACEOF
43617 /* confdefs.h. */
43618 _ACEOF
43619 cat confdefs.h >>conftest.$ac_ext
43620 cat >>conftest.$ac_ext <<_ACEOF
43621 /* end confdefs.h. */
43622
43623
43624 int
43625 main ()
43626 {
43627 return main ();
43628 ;
43629 return 0;
43630 }
43631 _ACEOF
43632 rm -f conftest.$ac_objext conftest$ac_exeext
43633 if { (ac_try="$ac_link"
43634 case "(($ac_try" in
43635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43636 *) ac_try_echo=$ac_try;;
43637 esac
43638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43639 (eval "$ac_link") 2>conftest.er1
43640 ac_status=$?
43641 grep -v '^ *+' conftest.er1 >conftest.err
43642 rm -f conftest.er1
43643 cat conftest.err >&5
43644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43645 (exit $ac_status); } && {
43646 test -z "$ac_c_werror_flag" ||
43647 test ! -s conftest.err
43648 } && test -s conftest$ac_exeext &&
43649 $as_test_x conftest$ac_exeext; then
43650 ac_cv_lib_unicows_main=yes
43651 else
43652 echo "$as_me: failed program was:" >&5
43653 sed 's/^/| /' conftest.$ac_ext >&5
43654
43655 ac_cv_lib_unicows_main=no
43656 fi
43657
43658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43659 conftest$ac_exeext conftest.$ac_ext
43660 LIBS=$ac_check_lib_save_LIBS
43661 fi
43662 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43663 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43664 if test $ac_cv_lib_unicows_main = yes; then
43665
43666 cat >>confdefs.h <<\_ACEOF
43667 #define wxUSE_UNICODE_MSLU 1
43668 _ACEOF
43669
43670
43671 else
43672
43673 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43674 Applications will only run on Windows NT/2000/XP!" >&5
43675 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43676 Applications will only run on Windows NT/2000/XP!" >&2;}
43677 wxUSE_UNICODE_MSLU=no
43678
43679 fi
43680
43681 fi
43682 fi
43683
43684 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define wxUSE_UNICODE_UTF8 1
43687 _ACEOF
43688
43689
43690 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43691 cat >>confdefs.h <<\_ACEOF
43692 #define wxUSE_UTF8_LOCALE_ONLY 1
43693 _ACEOF
43694
43695 fi
43696 fi
43697
43698 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_EXPERIMENTAL_PRINTF 1
43701 _ACEOF
43702
43703 fi
43704
43705
43706 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_POSTSCRIPT 1
43709 _ACEOF
43710
43711 fi
43712
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43715 _ACEOF
43716
43717
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_NORMALIZED_PS_FONTS 1
43720 _ACEOF
43721
43722
43723
43724 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_CONSTRAINTS 1
43727 _ACEOF
43728
43729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43730 fi
43731
43732 if test "$wxUSE_MDI" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_MDI 1
43735 _ACEOF
43736
43737
43738 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43739 cat >>confdefs.h <<\_ACEOF
43740 #define wxUSE_MDI_ARCHITECTURE 1
43741 _ACEOF
43742
43743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43744 fi
43745 fi
43746
43747 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43750 _ACEOF
43751
43752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43753 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43755 fi
43756 fi
43757
43758 if test "$wxUSE_HELP" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_HELP 1
43761 _ACEOF
43762
43763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43764
43765 if test "$wxUSE_MSW" = 1; then
43766 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_MS_HTML_HELP 1
43769 _ACEOF
43770
43771 fi
43772 fi
43773
43774 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43775 if test "$wxUSE_HTML" = "yes"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define wxUSE_WXHTML_HELP 1
43778 _ACEOF
43779
43780 else
43781 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43782 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43783 wxUSE_WXHTML_HELP=no
43784 fi
43785 fi
43786 fi
43787
43788 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43789 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43790 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43791 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43792 else
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_PRINTING_ARCHITECTURE 1
43795 _ACEOF
43796
43797 fi
43798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43799 fi
43800
43801
43802
43803 if test "$wxUSE_METAFILE" = "yes"; then
43804 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43805 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43806 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43807 wxUSE_METAFILE=no
43808 fi
43809 fi
43810
43811
43812 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43813 -o "$wxUSE_CLIPBOARD" = "yes" \
43814 -o "$wxUSE_OLE" = "yes" \
43815 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43816 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43817 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43818 if test "${ac_cv_header_ole2_h+set}" = set; then
43819 echo $ECHO_N "(cached) $ECHO_C" >&6
43820 else
43821 cat >conftest.$ac_ext <<_ACEOF
43822 /* confdefs.h. */
43823 _ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h. */
43827
43828
43829 #include <ole2.h>
43830 _ACEOF
43831 rm -f conftest.$ac_objext
43832 if { (ac_try="$ac_compile"
43833 case "(($ac_try" in
43834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43835 *) ac_try_echo=$ac_try;;
43836 esac
43837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43838 (eval "$ac_compile") 2>conftest.er1
43839 ac_status=$?
43840 grep -v '^ *+' conftest.er1 >conftest.err
43841 rm -f conftest.er1
43842 cat conftest.err >&5
43843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844 (exit $ac_status); } && {
43845 test -z "$ac_c_werror_flag" ||
43846 test ! -s conftest.err
43847 } && test -s conftest.$ac_objext; then
43848 ac_cv_header_ole2_h=yes
43849 else
43850 echo "$as_me: failed program was:" >&5
43851 sed 's/^/| /' conftest.$ac_ext >&5
43852
43853 ac_cv_header_ole2_h=no
43854 fi
43855
43856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43857 fi
43858 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43859 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43860
43861
43862
43863 if test "$ac_cv_header_ole2_h" = "yes" ; then
43864 if test "$GCC" = yes ; then
43865 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43866 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43867 cat >conftest.$ac_ext <<_ACEOF
43868 /* confdefs.h. */
43869 _ACEOF
43870 cat confdefs.h >>conftest.$ac_ext
43871 cat >>conftest.$ac_ext <<_ACEOF
43872 /* end confdefs.h. */
43873 #include <windows.h>
43874 #include <ole2.h>
43875 int
43876 main ()
43877 {
43878
43879 ;
43880 return 0;
43881 }
43882 _ACEOF
43883 rm -f conftest.$ac_objext
43884 if { (ac_try="$ac_compile"
43885 case "(($ac_try" in
43886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43887 *) ac_try_echo=$ac_try;;
43888 esac
43889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43890 (eval "$ac_compile") 2>conftest.er1
43891 ac_status=$?
43892 grep -v '^ *+' conftest.er1 >conftest.err
43893 rm -f conftest.er1
43894 cat conftest.err >&5
43895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896 (exit $ac_status); } && {
43897 test -z "$ac_c_werror_flag" ||
43898 test ! -s conftest.err
43899 } && test -s conftest.$ac_objext; then
43900 { echo "$as_me:$LINENO: result: no" >&5
43901 echo "${ECHO_T}no" >&6; }
43902 else
43903 echo "$as_me: failed program was:" >&5
43904 sed 's/^/| /' conftest.$ac_ext >&5
43905
43906 { echo "$as_me:$LINENO: result: yes" >&5
43907 echo "${ECHO_T}yes" >&6; }
43908 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43909 fi
43910
43911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43912 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43913 if test "$wxUSE_OLE" = "yes" ; then
43914 cat >>confdefs.h <<\_ACEOF
43915 #define wxUSE_OLE 1
43916 _ACEOF
43917
43918 cat >>confdefs.h <<\_ACEOF
43919 #define wxUSE_OLE_AUTOMATION 1
43920 _ACEOF
43921
43922 cat >>confdefs.h <<\_ACEOF
43923 #define wxUSE_ACTIVEX 1
43924 _ACEOF
43925
43926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43927 fi
43928 fi
43929
43930 if test "$wxUSE_DATAOBJ" = "yes" ; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_DATAOBJ 1
43933 _ACEOF
43934
43935 fi
43936 else
43937 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43938 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43939
43940 wxUSE_CLIPBOARD=no
43941 wxUSE_DRAG_AND_DROP=no
43942 wxUSE_DATAOBJ=no
43943 wxUSE_OLE=no
43944 fi
43945
43946 if test "$wxUSE_METAFILE" = "yes"; then
43947 cat >>confdefs.h <<\_ACEOF
43948 #define wxUSE_METAFILE 1
43949 _ACEOF
43950
43951
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_ENH_METAFILE 1
43954 _ACEOF
43955
43956 fi
43957 fi
43958
43959 if test "$wxUSE_IPC" = "yes"; then
43960 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43961 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43962 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43963 wxUSE_IPC=no
43964 fi
43965
43966 if test "$wxUSE_IPC" = "yes"; then
43967 cat >>confdefs.h <<\_ACEOF
43968 #define wxUSE_IPC 1
43969 _ACEOF
43970
43971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43972 fi
43973 fi
43974
43975 if test "$wxUSE_DATAOBJ" = "yes"; then
43976 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43977 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43978 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43979 wxUSE_DATAOBJ=no
43980 else
43981 cat >>confdefs.h <<\_ACEOF
43982 #define wxUSE_DATAOBJ 1
43983 _ACEOF
43984
43985 fi
43986 else
43987 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43988 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43989 wxUSE_CLIPBOARD=no
43990 wxUSE_DRAG_AND_DROP=no
43991 fi
43992
43993 if test "$wxUSE_CLIPBOARD" = "yes"; then
43994 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43995 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43996 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43997 wxUSE_CLIPBOARD=no
43998 fi
43999
44000 if test "$wxUSE_CLIPBOARD" = "yes"; then
44001 cat >>confdefs.h <<\_ACEOF
44002 #define wxUSE_CLIPBOARD 1
44003 _ACEOF
44004
44005 fi
44006 fi
44007
44008 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44009 if test "$wxUSE_GTK" = 1; then
44010 if test "$WXGTK12" != 1; then
44011 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44012 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44013 wxUSE_DRAG_AND_DROP=no
44014 fi
44015 fi
44016
44017 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44018 "$wxUSE_DFB" = 1; then
44019 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44020 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44021 wxUSE_DRAG_AND_DROP=no
44022 fi
44023
44024 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_DRAG_AND_DROP 1
44027 _ACEOF
44028
44029 fi
44030
44031 fi
44032
44033 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44035 fi
44036
44037 if test "$wxUSE_SPLINES" = "yes" ; then
44038 cat >>confdefs.h <<\_ACEOF
44039 #define wxUSE_SPLINES 1
44040 _ACEOF
44041
44042 fi
44043
44044 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44045 cat >>confdefs.h <<\_ACEOF
44046 #define wxUSE_MOUSEWHEEL 1
44047 _ACEOF
44048
44049 fi
44050
44051
44052 USES_CONTROLS=0
44053 if test "$wxUSE_CONTROLS" = "yes"; then
44054 USES_CONTROLS=1
44055 fi
44056
44057 if test "$wxUSE_ACCEL" = "yes"; then
44058 cat >>confdefs.h <<\_ACEOF
44059 #define wxUSE_ACCEL 1
44060 _ACEOF
44061
44062 USES_CONTROLS=1
44063 fi
44064
44065 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44066 cat >>confdefs.h <<\_ACEOF
44067 #define wxUSE_ANIMATIONCTRL 1
44068 _ACEOF
44069
44070 USES_CONTROLS=1
44071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44072 fi
44073
44074 if test "$wxUSE_BUTTON" = "yes"; then
44075 cat >>confdefs.h <<\_ACEOF
44076 #define wxUSE_BUTTON 1
44077 _ACEOF
44078
44079 USES_CONTROLS=1
44080 fi
44081
44082 if test "$wxUSE_BMPBUTTON" = "yes"; then
44083 cat >>confdefs.h <<\_ACEOF
44084 #define wxUSE_BMPBUTTON 1
44085 _ACEOF
44086
44087 USES_CONTROLS=1
44088 fi
44089
44090 if test "$wxUSE_CALCTRL" = "yes"; then
44091 cat >>confdefs.h <<\_ACEOF
44092 #define wxUSE_CALENDARCTRL 1
44093 _ACEOF
44094
44095 USES_CONTROLS=1
44096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44097 fi
44098
44099 if test "$wxUSE_CARET" = "yes"; then
44100 cat >>confdefs.h <<\_ACEOF
44101 #define wxUSE_CARET 1
44102 _ACEOF
44103
44104 USES_CONTROLS=1
44105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44106 fi
44107
44108 if test "$wxUSE_COLLPANE" = "yes"; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_COLLPANE 1
44111 _ACEOF
44112
44113 USES_CONTROLS=1
44114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44115 fi
44116
44117 if test "$wxUSE_COMBOBOX" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_COMBOBOX 1
44120 _ACEOF
44121
44122 USES_CONTROLS=1
44123 fi
44124
44125 if test "$wxUSE_COMBOCTRL" = "yes"; then
44126 cat >>confdefs.h <<\_ACEOF
44127 #define wxUSE_COMBOCTRL 1
44128 _ACEOF
44129
44130 USES_CONTROLS=1
44131 fi
44132
44133 if test "$wxUSE_CHOICE" = "yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_CHOICE 1
44136 _ACEOF
44137
44138 USES_CONTROLS=1
44139 fi
44140
44141 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44142 cat >>confdefs.h <<\_ACEOF
44143 #define wxUSE_CHOICEBOOK 1
44144 _ACEOF
44145
44146 USES_CONTROLS=1
44147 fi
44148
44149 if test "$wxUSE_CHECKBOX" = "yes"; then
44150 cat >>confdefs.h <<\_ACEOF
44151 #define wxUSE_CHECKBOX 1
44152 _ACEOF
44153
44154 USES_CONTROLS=1
44155 fi
44156
44157 if test "$wxUSE_CHECKLST" = "yes"; then
44158 cat >>confdefs.h <<\_ACEOF
44159 #define wxUSE_CHECKLISTBOX 1
44160 _ACEOF
44161
44162 USES_CONTROLS=1
44163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44164 fi
44165
44166 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44167 cat >>confdefs.h <<\_ACEOF
44168 #define wxUSE_COLOURPICKERCTRL 1
44169 _ACEOF
44170
44171 USES_CONTROLS=1
44172 fi
44173
44174 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44175 cat >>confdefs.h <<\_ACEOF
44176 #define wxUSE_DATEPICKCTRL 1
44177 _ACEOF
44178
44179 USES_CONTROLS=1
44180 fi
44181
44182 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44183 cat >>confdefs.h <<\_ACEOF
44184 #define wxUSE_DIRPICKERCTRL 1
44185 _ACEOF
44186
44187 USES_CONTROLS=1
44188 fi
44189
44190 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44191 cat >>confdefs.h <<\_ACEOF
44192 #define wxUSE_FILEPICKERCTRL 1
44193 _ACEOF
44194
44195 USES_CONTROLS=1
44196 fi
44197
44198 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44199 cat >>confdefs.h <<\_ACEOF
44200 #define wxUSE_FONTPICKERCTRL 1
44201 _ACEOF
44202
44203 USES_CONTROLS=1
44204 fi
44205
44206 if test "$wxUSE_DISPLAY" = "yes"; then
44207 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44208 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44209 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44210 wxUSE_DISPLAY=no
44211 else
44212 cat >>confdefs.h <<\_ACEOF
44213 #define wxUSE_DISPLAY 1
44214 _ACEOF
44215
44216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44217 fi
44218 fi
44219
44220 if test "$wxUSE_DETECT_SM" = "yes"; then
44221 cat >>confdefs.h <<\_ACEOF
44222 #define wxUSE_DETECT_SM 1
44223 _ACEOF
44224
44225 fi
44226
44227 if test "$wxUSE_GAUGE" = "yes"; then
44228 cat >>confdefs.h <<\_ACEOF
44229 #define wxUSE_GAUGE 1
44230 _ACEOF
44231
44232 USES_CONTROLS=1
44233 fi
44234
44235 if test "$wxUSE_GRID" = "yes"; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_GRID 1
44238 _ACEOF
44239
44240 USES_CONTROLS=1
44241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44242 fi
44243
44244 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_HYPERLINKCTRL 1
44247 _ACEOF
44248
44249 USES_CONTROLS=1
44250 fi
44251
44252 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44253 cat >>confdefs.h <<\_ACEOF
44254 #define wxUSE_BITMAPCOMBOBOX 1
44255 _ACEOF
44256
44257 USES_CONTROLS=1
44258 fi
44259
44260 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_DATAVIEWCTRL 1
44263 _ACEOF
44264
44265 USES_CONTROLS=1
44266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44267 fi
44268
44269 if test "$wxUSE_IMAGLIST" = "yes"; then
44270 cat >>confdefs.h <<\_ACEOF
44271 #define wxUSE_IMAGLIST 1
44272 _ACEOF
44273
44274 fi
44275
44276 if test "$wxUSE_LISTBOOK" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_LISTBOOK 1
44279 _ACEOF
44280
44281 USES_CONTROLS=1
44282 fi
44283
44284 if test "$wxUSE_LISTBOX" = "yes"; then
44285 cat >>confdefs.h <<\_ACEOF
44286 #define wxUSE_LISTBOX 1
44287 _ACEOF
44288
44289 USES_CONTROLS=1
44290 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44291 fi
44292
44293 if test "$wxUSE_LISTCTRL" = "yes"; then
44294 if test "$wxUSE_IMAGLIST" = "yes"; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_LISTCTRL 1
44297 _ACEOF
44298
44299 USES_CONTROLS=1
44300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44301 else
44302 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44303 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44304 fi
44305 fi
44306
44307 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44308 cat >>confdefs.h <<\_ACEOF
44309 #define wxUSE_EDITABLELISTBOX 1
44310 _ACEOF
44311
44312 USES_CONTROLS=1
44313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44314 fi
44315
44316 if test "$wxUSE_NOTEBOOK" = "yes"; then
44317 cat >>confdefs.h <<\_ACEOF
44318 #define wxUSE_NOTEBOOK 1
44319 _ACEOF
44320
44321 USES_CONTROLS=1
44322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44323 fi
44324
44325 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44326 cat >>confdefs.h <<\_ACEOF
44327 #define wxUSE_ODCOMBOBOX 1
44328 _ACEOF
44329
44330 USES_CONTROLS=1
44331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44332 fi
44333
44334
44335 if test "$wxUSE_RADIOBOX" = "yes"; then
44336 cat >>confdefs.h <<\_ACEOF
44337 #define wxUSE_RADIOBOX 1
44338 _ACEOF
44339
44340 USES_CONTROLS=1
44341 fi
44342
44343 if test "$wxUSE_RADIOBTN" = "yes"; then
44344 cat >>confdefs.h <<\_ACEOF
44345 #define wxUSE_RADIOBTN 1
44346 _ACEOF
44347
44348 USES_CONTROLS=1
44349 fi
44350
44351 if test "$wxUSE_SASH" = "yes"; then
44352 cat >>confdefs.h <<\_ACEOF
44353 #define wxUSE_SASH 1
44354 _ACEOF
44355
44356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44357 fi
44358
44359 if test "$wxUSE_SCROLLBAR" = "yes"; then
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_SCROLLBAR 1
44362 _ACEOF
44363
44364 USES_CONTROLS=1
44365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44366 fi
44367
44368 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44369 cat >>confdefs.h <<\_ACEOF
44370 #define wxUSE_SEARCHCTRL 1
44371 _ACEOF
44372
44373 USES_CONTROLS=1
44374 fi
44375
44376 if test "$wxUSE_SLIDER" = "yes"; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define wxUSE_SLIDER 1
44379 _ACEOF
44380
44381 USES_CONTROLS=1
44382 fi
44383
44384 if test "$wxUSE_SPINBTN" = "yes"; then
44385 cat >>confdefs.h <<\_ACEOF
44386 #define wxUSE_SPINBTN 1
44387 _ACEOF
44388
44389 USES_CONTROLS=1
44390 fi
44391
44392 if test "$wxUSE_SPINCTRL" = "yes"; then
44393 cat >>confdefs.h <<\_ACEOF
44394 #define wxUSE_SPINCTRL 1
44395 _ACEOF
44396
44397 USES_CONTROLS=1
44398 fi
44399
44400 if test "$wxUSE_SPLITTER" = "yes"; then
44401 cat >>confdefs.h <<\_ACEOF
44402 #define wxUSE_SPLITTER 1
44403 _ACEOF
44404
44405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44406 fi
44407
44408 if test "$wxUSE_STATBMP" = "yes"; then
44409 cat >>confdefs.h <<\_ACEOF
44410 #define wxUSE_STATBMP 1
44411 _ACEOF
44412
44413 USES_CONTROLS=1
44414 fi
44415
44416 if test "$wxUSE_STATBOX" = "yes"; then
44417 cat >>confdefs.h <<\_ACEOF
44418 #define wxUSE_STATBOX 1
44419 _ACEOF
44420
44421 USES_CONTROLS=1
44422 fi
44423
44424 if test "$wxUSE_STATTEXT" = "yes"; then
44425 cat >>confdefs.h <<\_ACEOF
44426 #define wxUSE_STATTEXT 1
44427 _ACEOF
44428
44429 USES_CONTROLS=1
44430 fi
44431
44432 if test "$wxUSE_STATLINE" = "yes"; then
44433 cat >>confdefs.h <<\_ACEOF
44434 #define wxUSE_STATLINE 1
44435 _ACEOF
44436
44437 USES_CONTROLS=1
44438 fi
44439
44440 if test "$wxUSE_STATUSBAR" = "yes"; then
44441 cat >>confdefs.h <<\_ACEOF
44442 #define wxUSE_NATIVE_STATUSBAR 1
44443 _ACEOF
44444
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_STATUSBAR 1
44447 _ACEOF
44448
44449 USES_CONTROLS=1
44450
44451 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44452 fi
44453
44454 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44455 cat >>confdefs.h <<\_ACEOF
44456 #define wxUSE_TAB_DIALOG 1
44457 _ACEOF
44458
44459 fi
44460
44461 if test "$wxUSE_TEXTCTRL" = "yes"; then
44462 cat >>confdefs.h <<\_ACEOF
44463 #define wxUSE_TEXTCTRL 1
44464 _ACEOF
44465
44466 USES_CONTROLS=1
44467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44468 fi
44469
44470 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44471 if test "$wxUSE_COCOA" = 1 ; then
44472 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44473 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44474 wxUSE_TOGGLEBTN=no
44475 fi
44476
44477 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44478 cat >>confdefs.h <<\_ACEOF
44479 #define wxUSE_TOGGLEBTN 1
44480 _ACEOF
44481
44482 USES_CONTROLS=1
44483 fi
44484 fi
44485
44486 if test "$wxUSE_TOOLBAR" = "yes"; then
44487 cat >>confdefs.h <<\_ACEOF
44488 #define wxUSE_TOOLBAR 1
44489 _ACEOF
44490
44491 USES_CONTROLS=1
44492
44493 if test "$wxUSE_UNIVERSAL" = "yes"; then
44494 wxUSE_TOOLBAR_NATIVE="no"
44495 else
44496 wxUSE_TOOLBAR_NATIVE="yes"
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_TOOLBAR_NATIVE 1
44499 _ACEOF
44500
44501 fi
44502
44503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44504 fi
44505
44506 if test "$wxUSE_TOOLTIPS" = "yes"; then
44507 if test "$wxUSE_MOTIF" = 1; then
44508 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44509 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44510 else
44511 if test "$wxUSE_UNIVERSAL" = "yes"; then
44512 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44513 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44514 else
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_TOOLTIPS 1
44517 _ACEOF
44518
44519 fi
44520 fi
44521 fi
44522
44523 if test "$wxUSE_TREEBOOK" = "yes"; then
44524 cat >>confdefs.h <<\_ACEOF
44525 #define wxUSE_TREEBOOK 1
44526 _ACEOF
44527
44528 USES_CONTROLS=1
44529 fi
44530
44531 if test "$wxUSE_TOOLBOOK" = "yes"; then
44532 cat >>confdefs.h <<\_ACEOF
44533 #define wxUSE_TOOLBOOK 1
44534 _ACEOF
44535
44536 USES_CONTROLS=1
44537 fi
44538
44539 if test "$wxUSE_TREECTRL" = "yes"; then
44540 if test "$wxUSE_IMAGLIST" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_TREECTRL 1
44543 _ACEOF
44544
44545 USES_CONTROLS=1
44546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44547 else
44548 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44549 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44550 fi
44551 fi
44552
44553 if test "$wxUSE_POPUPWIN" = "yes"; then
44554 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44555 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44556 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44557 else
44558 if test "$wxUSE_PM" = 1; then
44559 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44560 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44561 else
44562 cat >>confdefs.h <<\_ACEOF
44563 #define wxUSE_POPUPWIN 1
44564 _ACEOF
44565
44566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44567
44568 USES_CONTROLS=1
44569 fi
44570 fi
44571 fi
44572
44573 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44574 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44575 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44576 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44577 else
44578 cat >>confdefs.h <<\_ACEOF
44579 #define wxUSE_DIALUP_MANAGER 1
44580 _ACEOF
44581
44582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44583 fi
44584 fi
44585
44586 if test "$wxUSE_TIPWINDOW" = "yes"; then
44587 if test "$wxUSE_PM" = 1; then
44588 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44589 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44590 else
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_TIPWINDOW 1
44593 _ACEOF
44594
44595 fi
44596 fi
44597
44598 if test "$USES_CONTROLS" = 1; then
44599 cat >>confdefs.h <<\_ACEOF
44600 #define wxUSE_CONTROLS 1
44601 _ACEOF
44602
44603 fi
44604
44605
44606 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44607 cat >>confdefs.h <<\_ACEOF
44608 #define wxUSE_ACCESSIBILITY 1
44609 _ACEOF
44610
44611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44612 fi
44613
44614 if test "$wxUSE_DC_CACHEING" = "yes"; then
44615 cat >>confdefs.h <<\_ACEOF
44616 #define wxUSE_DC_CACHEING 1
44617 _ACEOF
44618
44619 fi
44620
44621 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44622 cat >>confdefs.h <<\_ACEOF
44623 #define wxUSE_DRAGIMAGE 1
44624 _ACEOF
44625
44626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44627 fi
44628
44629 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44630 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44631 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44632 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44633 else
44634 cat >>confdefs.h <<\_ACEOF
44635 #define wxUSE_EXCEPTIONS 1
44636 _ACEOF
44637
44638 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44639 fi
44640 fi
44641
44642 USE_HTML=0
44643 if test "$wxUSE_HTML" = "yes"; then
44644 cat >>confdefs.h <<\_ACEOF
44645 #define wxUSE_HTML 1
44646 _ACEOF
44647
44648 USE_HTML=1
44649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44650 if test "$wxUSE_MAC" = 1; then
44651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44652 fi
44653 fi
44654 if test "$wxUSE_WEBKIT" = "yes"; then
44655 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44656 old_CPPFLAGS="$CPPFLAGS"
44657 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44658 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44659 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44660 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44661 echo $ECHO_N "(cached) $ECHO_C" >&6
44662 else
44663 cat >conftest.$ac_ext <<_ACEOF
44664 /* confdefs.h. */
44665 _ACEOF
44666 cat confdefs.h >>conftest.$ac_ext
44667 cat >>conftest.$ac_ext <<_ACEOF
44668 /* end confdefs.h. */
44669
44670 #include <Carbon/Carbon.h>
44671 #include <WebKit/WebKit.h>
44672
44673
44674 #include <WebKit/HIWebView.h>
44675 _ACEOF
44676 rm -f conftest.$ac_objext
44677 if { (ac_try="$ac_compile"
44678 case "(($ac_try" in
44679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44680 *) ac_try_echo=$ac_try;;
44681 esac
44682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44683 (eval "$ac_compile") 2>conftest.er1
44684 ac_status=$?
44685 grep -v '^ *+' conftest.er1 >conftest.err
44686 rm -f conftest.er1
44687 cat conftest.err >&5
44688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44689 (exit $ac_status); } && {
44690 test -z "$ac_c_werror_flag" ||
44691 test ! -s conftest.err
44692 } && test -s conftest.$ac_objext; then
44693 ac_cv_header_WebKit_HIWebView_h=yes
44694 else
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.$ac_ext >&5
44697
44698 ac_cv_header_WebKit_HIWebView_h=no
44699 fi
44700
44701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44702 fi
44703 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44704 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44705 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44706
44707 cat >>confdefs.h <<\_ACEOF
44708 #define wxUSE_WEBKIT 1
44709 _ACEOF
44710
44711 WEBKIT_LINK="-framework WebKit"
44712
44713 else
44714
44715 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44716 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44717 wxUSE_WEBKIT=no
44718
44719 fi
44720
44721
44722 CPPFLAGS="$old_CPPFLAGS"
44723 elif test "$wxUSE_COCOA" = 1; then
44724 cat >>confdefs.h <<\_ACEOF
44725 #define wxUSE_WEBKIT 1
44726 _ACEOF
44727
44728 else
44729 wxUSE_WEBKIT=no
44730 fi
44731 fi
44732
44733 USE_XRC=0
44734 if test "$wxUSE_XRC" = "yes"; then
44735 if test "$wxUSE_XML" != "yes"; then
44736 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44737 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44738 wxUSE_XRC=no
44739 else
44740 cat >>confdefs.h <<\_ACEOF
44741 #define wxUSE_XRC 1
44742 _ACEOF
44743
44744 USE_XRC=1
44745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44746 fi
44747 fi
44748
44749 USE_AUI=0
44750 if test "$wxUSE_AUI" = "yes"; then
44751 cat >>confdefs.h <<\_ACEOF
44752 #define wxUSE_AUI 1
44753 _ACEOF
44754
44755 USE_AUI=1
44756 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44757 fi
44758
44759 USE_STC=0
44760 if test "$wxUSE_STC" = "yes"; then
44761 cat >>confdefs.h <<\_ACEOF
44762 #define wxUSE_STC 1
44763 _ACEOF
44764
44765 USE_STC=1
44766 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44767 fi
44768
44769 if test "$wxUSE_MENUS" = "yes"; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_MENUS 1
44772 _ACEOF
44773
44774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44775 fi
44776
44777 if test "$wxUSE_METAFILE" = "yes"; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_METAFILE 1
44780 _ACEOF
44781
44782 fi
44783
44784 if test "$wxUSE_MIMETYPE" = "yes"; then
44785 cat >>confdefs.h <<\_ACEOF
44786 #define wxUSE_MIMETYPE 1
44787 _ACEOF
44788
44789 fi
44790
44791 if test "$wxUSE_MINIFRAME" = "yes"; then
44792 cat >>confdefs.h <<\_ACEOF
44793 #define wxUSE_MINIFRAME 1
44794 _ACEOF
44795
44796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44797 fi
44798
44799 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44800 cat >>confdefs.h <<\_ACEOF
44801 #define wxUSE_SYSTEM_OPTIONS 1
44802 _ACEOF
44803
44804 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44805 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44807 fi
44808 fi
44809
44810
44811 if test "$wxUSE_VALIDATORS" = "yes"; then
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_VALIDATORS 1
44814 _ACEOF
44815
44816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44817 fi
44818
44819 if test "$wxUSE_PALETTE" = "yes" ; then
44820 if test "$wxUSE_DFB" = 1; then
44821 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44822 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44823 wxUSE_PALETTE=no
44824 else
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_PALETTE 1
44827 _ACEOF
44828
44829 fi
44830 fi
44831
44832 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44833 LIBS=" -lunicows $LIBS"
44834 fi
44835
44836 USE_RICHTEXT=0
44837 if test "$wxUSE_RICHTEXT" = "yes"; then
44838 cat >>confdefs.h <<\_ACEOF
44839 #define wxUSE_RICHTEXT 1
44840 _ACEOF
44841
44842 USE_RICHTEXT=1
44843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44844 fi
44845
44846
44847 if test "$wxUSE_IMAGE" = "yes" ; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_IMAGE 1
44850 _ACEOF
44851
44852
44853 if test "$wxUSE_GIF" = "yes" ; then
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_GIF 1
44856 _ACEOF
44857
44858 fi
44859
44860 if test "$wxUSE_PCX" = "yes" ; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_PCX 1
44863 _ACEOF
44864
44865 fi
44866
44867 if test "$wxUSE_TGA" = "yes" ; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_TGA 1
44870 _ACEOF
44871
44872 fi
44873
44874 if test "$wxUSE_IFF" = "yes" ; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_IFF 1
44877 _ACEOF
44878
44879 fi
44880
44881 if test "$wxUSE_PNM" = "yes" ; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_PNM 1
44884 _ACEOF
44885
44886 fi
44887
44888 if test "$wxUSE_XPM" = "yes" ; then
44889 cat >>confdefs.h <<\_ACEOF
44890 #define wxUSE_XPM 1
44891 _ACEOF
44892
44893 fi
44894
44895 if test "$wxUSE_ICO_CUR" = "yes" ; then
44896 cat >>confdefs.h <<\_ACEOF
44897 #define wxUSE_ICO_CUR 1
44898 _ACEOF
44899
44900 fi
44901 fi
44902
44903
44904 if test "$wxUSE_ABOUTDLG" = "yes"; then
44905 cat >>confdefs.h <<\_ACEOF
44906 #define wxUSE_ABOUTDLG 1
44907 _ACEOF
44908
44909 fi
44910
44911 if test "$wxUSE_CHOICEDLG" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_CHOICEDLG 1
44914 _ACEOF
44915
44916 fi
44917
44918 if test "$wxUSE_COLOURDLG" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_COLOURDLG 1
44921 _ACEOF
44922
44923 fi
44924
44925 if test "$wxUSE_FILEDLG" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_FILEDLG 1
44928 _ACEOF
44929
44930 fi
44931
44932 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_FINDREPLDLG 1
44935 _ACEOF
44936
44937 fi
44938
44939 if test "$wxUSE_FONTDLG" = "yes"; then
44940 cat >>confdefs.h <<\_ACEOF
44941 #define wxUSE_FONTDLG 1
44942 _ACEOF
44943
44944 fi
44945
44946 if test "$wxUSE_DIRDLG" = "yes"; then
44947 if test "$wxUSE_TREECTRL" != "yes"; then
44948 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44949 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44950 else
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_DIRDLG 1
44953 _ACEOF
44954
44955 fi
44956 fi
44957
44958 if test "$wxUSE_MSGDLG" = "yes"; then
44959 cat >>confdefs.h <<\_ACEOF
44960 #define wxUSE_MSGDLG 1
44961 _ACEOF
44962
44963 fi
44964
44965 if test "$wxUSE_NUMBERDLG" = "yes"; then
44966 cat >>confdefs.h <<\_ACEOF
44967 #define wxUSE_NUMBERDLG 1
44968 _ACEOF
44969
44970 fi
44971
44972 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44973 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44974 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44975 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44976 else
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_PROGRESSDLG 1
44979 _ACEOF
44980
44981 fi
44982 fi
44983
44984 if test "$wxUSE_SPLASH" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_SPLASH 1
44987 _ACEOF
44988
44989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44990 fi
44991
44992 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44993 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44994 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44995 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44996 else
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_STARTUP_TIPS 1
44999 _ACEOF
45000
45001 fi
45002 fi
45003
45004 if test "$wxUSE_TEXTDLG" = "yes"; then
45005 cat >>confdefs.h <<\_ACEOF
45006 #define wxUSE_TEXTDLG 1
45007 _ACEOF
45008
45009 fi
45010
45011 if test "$wxUSE_WIZARDDLG" = "yes"; then
45012 cat >>confdefs.h <<\_ACEOF
45013 #define wxUSE_WIZARDDLG 1
45014 _ACEOF
45015
45016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45017 fi
45018
45019
45020 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45021 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45022 cat >>confdefs.h <<\_ACEOF
45023 #define wxUSE_GRAPHICS_CONTEXT 1
45024 _ACEOF
45025
45026 elif test "$wxUSE_GTK" != 1; then
45027 cat >>confdefs.h <<\_ACEOF
45028 #define wxUSE_GRAPHICS_CONTEXT 1
45029 _ACEOF
45030
45031 else
45032
45033 pkg_failed=no
45034 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45035 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45036
45037 if test -n "$PKG_CONFIG"; then
45038 if test -n "$CAIRO_CFLAGS"; then
45039 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45040 else
45041 if test -n "$PKG_CONFIG" && \
45042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45043 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45044 ac_status=$?
45045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45046 (exit $ac_status); }; then
45047 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45048 else
45049 pkg_failed=yes
45050 fi
45051 fi
45052 else
45053 pkg_failed=untried
45054 fi
45055 if test -n "$PKG_CONFIG"; then
45056 if test -n "$CAIRO_LIBS"; then
45057 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45058 else
45059 if test -n "$PKG_CONFIG" && \
45060 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45061 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45062 ac_status=$?
45063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45064 (exit $ac_status); }; then
45065 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45066 else
45067 pkg_failed=yes
45068 fi
45069 fi
45070 else
45071 pkg_failed=untried
45072 fi
45073
45074
45075
45076 if test $pkg_failed = yes; then
45077
45078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45079 _pkg_short_errors_supported=yes
45080 else
45081 _pkg_short_errors_supported=no
45082 fi
45083 if test $_pkg_short_errors_supported = yes; then
45084 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45085 else
45086 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45087 fi
45088 # Put the nasty error message in config.log where it belongs
45089 echo "$CAIRO_PKG_ERRORS" >&5
45090
45091 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45092 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45093
45094 elif test $pkg_failed = untried; then
45095 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45096 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45097
45098 else
45099 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45100 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45101 { echo "$as_me:$LINENO: result: yes" >&5
45102 echo "${ECHO_T}yes" >&6; }
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_GRAPHICS_CONTEXT 1
45105 _ACEOF
45106
45107 fi
45108 fi
45109 fi
45110
45111
45112 USE_MEDIA=0
45113
45114 if test "$wxUSE_MEDIACTRL" = "yes"; then
45115 USE_MEDIA=1
45116
45117 if test "$wxUSE_GTK" = 1; then
45118 wxUSE_GSTREAMER="no"
45119
45120 GST_VERSION_MAJOR=0
45121 GST_VERSION_MINOR=10
45122 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45123
45124 if test "$wxUSE_GSTREAMER8" = "no"; then
45125
45126 pkg_failed=no
45127 { echo "$as_me:$LINENO: checking for GST" >&5
45128 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45129
45130 if test -n "$PKG_CONFIG"; then
45131 if test -n "$GST_CFLAGS"; then
45132 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45133 else
45134 if test -n "$PKG_CONFIG" && \
45135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45136 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45137 ac_status=$?
45138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45139 (exit $ac_status); }; then
45140 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45141 else
45142 pkg_failed=yes
45143 fi
45144 fi
45145 else
45146 pkg_failed=untried
45147 fi
45148 if test -n "$PKG_CONFIG"; then
45149 if test -n "$GST_LIBS"; then
45150 pkg_cv_GST_LIBS="$GST_LIBS"
45151 else
45152 if test -n "$PKG_CONFIG" && \
45153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45154 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45155 ac_status=$?
45156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45157 (exit $ac_status); }; then
45158 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45159 else
45160 pkg_failed=yes
45161 fi
45162 fi
45163 else
45164 pkg_failed=untried
45165 fi
45166
45167
45168
45169 if test $pkg_failed = yes; then
45170
45171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45172 _pkg_short_errors_supported=yes
45173 else
45174 _pkg_short_errors_supported=no
45175 fi
45176 if test $_pkg_short_errors_supported = yes; then
45177 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45178 else
45179 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45180 fi
45181 # Put the nasty error message in config.log where it belongs
45182 echo "$GST_PKG_ERRORS" >&5
45183
45184
45185 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45186 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45187 GST_VERSION_MINOR=8
45188
45189
45190 elif test $pkg_failed = untried; then
45191
45192 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45193 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45194 GST_VERSION_MINOR=8
45195
45196
45197 else
45198 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45199 GST_LIBS=$pkg_cv_GST_LIBS
45200 { echo "$as_me:$LINENO: result: yes" >&5
45201 echo "${ECHO_T}yes" >&6; }
45202
45203 wxUSE_GSTREAMER="yes"
45204 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45205
45206 fi
45207 else
45208 GST_VERSION_MINOR=8
45209 fi
45210
45211 if test $GST_VERSION_MINOR = "8"; then
45212 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45213
45214 pkg_failed=no
45215 { echo "$as_me:$LINENO: checking for GST" >&5
45216 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45217
45218 if test -n "$PKG_CONFIG"; then
45219 if test -n "$GST_CFLAGS"; then
45220 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45221 else
45222 if test -n "$PKG_CONFIG" && \
45223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45224 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45225 ac_status=$?
45226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45227 (exit $ac_status); }; then
45228 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45229 else
45230 pkg_failed=yes
45231 fi
45232 fi
45233 else
45234 pkg_failed=untried
45235 fi
45236 if test -n "$PKG_CONFIG"; then
45237 if test -n "$GST_LIBS"; then
45238 pkg_cv_GST_LIBS="$GST_LIBS"
45239 else
45240 if test -n "$PKG_CONFIG" && \
45241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45242 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45243 ac_status=$?
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); }; then
45246 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45247 else
45248 pkg_failed=yes
45249 fi
45250 fi
45251 else
45252 pkg_failed=untried
45253 fi
45254
45255
45256
45257 if test $pkg_failed = yes; then
45258
45259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45260 _pkg_short_errors_supported=yes
45261 else
45262 _pkg_short_errors_supported=no
45263 fi
45264 if test $_pkg_short_errors_supported = yes; then
45265 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45266 else
45267 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45268 fi
45269 # Put the nasty error message in config.log where it belongs
45270 echo "$GST_PKG_ERRORS" >&5
45271
45272
45273 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45274 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45275
45276 elif test $pkg_failed = untried; then
45277
45278 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45279 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45280
45281 else
45282 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45283 GST_LIBS=$pkg_cv_GST_LIBS
45284 { echo "$as_me:$LINENO: result: yes" >&5
45285 echo "${ECHO_T}yes" >&6; }
45286 wxUSE_GSTREAMER="yes"
45287 fi
45288 fi
45289
45290
45291 if test "$wxUSE_GSTREAMER" = "yes"; then
45292 case "${host}" in
45293 *-*-solaris2* )
45294 if "$GCC" = yes; then
45295 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45296 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45297 fi
45298 esac
45299
45300 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45301 LIBS="$GST_LIBS $LIBS"
45302
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_GSTREAMER 1
45305 _ACEOF
45306
45307 else
45308 USE_MEDIA=0
45309 fi
45310 fi
45311
45312 if test $USE_MEDIA = 1; then
45313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_MEDIACTRL 1
45316 _ACEOF
45317
45318 fi
45319 fi
45320
45321
45322 if test "$cross_compiling" = "yes"; then
45323 OSINFO="\"$host\""
45324 else
45325 OSINFO=`uname -s -r -m`
45326 OSINFO="\"$OSINFO\""
45327 fi
45328
45329 cat >>confdefs.h <<_ACEOF
45330 #define WXWIN_OS_DESCRIPTION $OSINFO
45331 _ACEOF
45332
45333
45334
45335 if test "x$prefix" != "xNONE"; then
45336 wxPREFIX=$prefix
45337 else
45338 wxPREFIX=$ac_default_prefix
45339 fi
45340
45341 cat >>confdefs.h <<_ACEOF
45342 #define wxINSTALL_PREFIX "$wxPREFIX"
45343 _ACEOF
45344
45345
45346
45347
45348 CORE_BASE_LIBS="net base"
45349 CORE_GUI_LIBS="adv core"
45350
45351 if test "$wxUSE_XML" = "yes" ; then
45352 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45353 fi
45354 if test "$wxUSE_ODBC" != "no" ; then
45355 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45356 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45357 fi
45358 if test "$wxUSE_HTML" = "yes" ; then
45359 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45360 fi
45361 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45362 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45363 fi
45364 if test "$wxUSE_XRC" = "yes" ; then
45365 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45366 fi
45367 if test "$wxUSE_AUI" = "yes" ; then
45368 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45369 fi
45370 if test "$wxUSE_STC" = "yes" ; then
45371 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45372 fi
45373
45374 if test "$wxUSE_GUI" != "yes"; then
45375 CORE_GUI_LIBS=""
45376 fi
45377
45378
45379
45380
45381
45382
45383 if test "$wxUSE_MAC" = 1 ; then
45384 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45385 if test "$USE_DARWIN" = 1; then
45386 LDFLAGS="$LDFLAGS -framework QuickTime"
45387 else
45388 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45389 fi
45390 fi
45391 if test "$USE_DARWIN" = 1; then
45392 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45393 else
45394 LDFLAGS="$LDFLAGS -lCarbonLib"
45395 fi
45396 fi
45397 if test "$wxUSE_COCOA" = 1 ; then
45398 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45399 if test "$wxUSE_MEDIACTRL" = "yes"; then
45400 LDFLAGS="$LDFLAGS -framework QuickTime"
45401 fi
45402 fi
45403 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45404 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45405 fi
45406
45407 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45408
45409 if test "$wxUSE_GUI" = "yes"; then
45410
45411
45412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45413 dynamic erase event exec font image minimal mobile \
45414 mobile/wxedit mobile/styles propsize render \
45415 rotate shaped svg taborder vscroll widgets"
45416
45417 if test "$wxUSE_MONOLITHIC" != "yes"; then
45418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45419 fi
45420 if test "$TOOLKIT" = "MSW"; then
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45422 if test "$wxUSE_UNIVERSAL" != "yes"; then
45423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45424 fi
45425 fi
45426 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45428 fi
45429 else
45430 SAMPLES_SUBDIRS="console"
45431 fi
45432
45433
45434 if test "x$INTELCC" = "xyes" ; then
45435 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45436 elif test "$GCC" = yes ; then
45437 CWARNINGS="-Wall -Wundef"
45438 fi
45439
45440 if test "x$INTELCXX" = "xyes" ; then
45441 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45442 elif test "$GXX" = yes ; then
45443 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45444 fi
45445
45446
45447 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45448 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45449
45450
45451 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45452 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45453 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45454 $CPPFLAGS `
45455
45456 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45457 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45458 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45459
45460 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45461
45462
45463 if test "x$MWCC" = "xyes"; then
45464
45465 CC="$CC -cwd source -I-"
45466 CXX="$CXX -cwd source -I-"
45467 fi
45468
45469
45470 LIBS=`echo $LIBS`
45471 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45472 EXTRALIBS_XML="$EXPAT_LINK"
45473 EXTRALIBS_HTML="$MSPACK_LINK"
45474 EXTRALIBS_ODBC="$ODBC_LINK"
45475 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45476 if test "$wxUSE_GUI" = "yes"; then
45477 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45478 fi
45479 if test "$wxUSE_OPENGL" = "yes"; then
45480 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45481 fi
45482
45483 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45484
45485 WXCONFIG_LIBS="$LIBS"
45486
45487 if test "$wxUSE_REGEX" = "builtin" ; then
45488 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45489 fi
45490 if test "$wxUSE_EXPAT" = "builtin" ; then
45491 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45492 fi
45493 if test "$wxUSE_ODBC" = "builtin" ; then
45494 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45495 fi
45496 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45497 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45498 fi
45499 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45500 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45501 fi
45502 if test "$wxUSE_LIBPNG" = "builtin" ; then
45503 wxconfig_3rdparty="png $wxconfig_3rdparty"
45504 fi
45505 if test "$wxUSE_ZLIB" = "builtin" ; then
45506 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45507 fi
45508
45509 for i in $wxconfig_3rdparty ; do
45510 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45511 done
45512
45513
45514 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45515 WXUNIV=1
45516
45517 case "$wxUNIV_THEMES" in
45518 ''|all)
45519 cat >>confdefs.h <<\_ACEOF
45520 #define wxUSE_ALL_THEMES 1
45521 _ACEOF
45522
45523 ;;
45524
45525 *)
45526 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45527 cat >>confdefs.h <<_ACEOF
45528 #define wxUSE_THEME_$t 1
45529 _ACEOF
45530
45531 done
45532 esac
45533 else
45534 WXUNIV=0
45535 fi
45536
45537
45538
45539
45540
45541
45542
45543
45544
45545 if test $wxUSE_MONOLITHIC = "yes" ; then
45546 MONOLITHIC=1
45547 else
45548 MONOLITHIC=0
45549 fi
45550
45551 if test $wxUSE_PLUGINS = "yes" ; then
45552 USE_PLUGINS=1
45553 else
45554 USE_PLUGINS=0
45555 fi
45556
45557 if test $wxUSE_ODBC != "no" ; then
45558 USE_ODBC=1
45559 else
45560 USE_ODBC=0
45561 fi
45562
45563 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45564 USE_QA=1
45565 else
45566 USE_QA=0
45567 fi
45568
45569 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45570 OFFICIAL_BUILD=1
45571 else
45572 OFFICIAL_BUILD=0
45573 fi
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594
45595
45596
45597
45598
45599
45600 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45601
45602
45603
45604
45605
45606
45607
45608
45609 case "$TOOLKIT" in
45610 GTK)
45611 TOOLKIT_DESC="GTK+"
45612 if test "$WXGTK20" = 1; then
45613 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45614 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45615 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45616 fi
45617 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45618 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45619 fi
45620 if test "$wxUSE_LIBHILDON" = "yes"; then
45621 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45622 fi
45623
45624 if test "$TOOLKIT_EXTRA" != ""; then
45625 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45626 fi
45627 fi
45628 ;;
45629
45630 ?*)
45631 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45632 ;;
45633
45634 *)
45635 TOOLKIT_DESC="base only"
45636 ;;
45637 esac
45638
45639 if test "$wxUSE_WINE" = "yes"; then
45640 BAKEFILE_FORCE_PLATFORM=win32
45641 fi
45642
45643 if test "$wxUSE_MAC" = 1 ; then
45644 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45645 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45646 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45647 else
45648 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45649 fi
45650 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45651 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45652 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45653 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45654 bk_use_pch=no
45655 fi
45656 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45657 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45658 fi
45659
45660 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45661 then
45662 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45663 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45664 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45666 else
45667
45668 echo '#include <stdio.h>
45669 const wchar_t test_var[] = L"awidetest";' > conftest.h
45670
45671 echo '#include "conftest.h"
45672 int main()
45673 {
45674 printf("%ls", test_var);
45675 return 0;
45676 }' > conftest.cpp
45677
45678 wx_cv_gcc_pch_bug="pch not supported"
45679
45680 if $CXX conftest.h >/dev/null 2>&1
45681 then
45682 wx_cv_gcc_pch_bug=
45683
45684 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45685 then
45686 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45687 grep awidetest >/dev/null
45688 then
45689 wx_cv_gcc_pch_bug=no
45690 else
45691 wx_cv_gcc_pch_bug=yes
45692 fi
45693 fi
45694 fi
45695
45696 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45697
45698 fi
45699 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45700 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45701
45702 if test "$wx_cv_gcc_pch_bug" = yes; then
45703 bk_use_pch=no
45704 fi
45705 fi
45706
45707
45708
45709
45710 if test "x$BAKEFILE_HOST" = "x"; then
45711 if test "x${host}" = "x" ; then
45712 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45713 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45714 { (exit 1); exit 1; }; }
45715 fi
45716
45717 BAKEFILE_HOST="${host}"
45718 fi
45719
45720 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45721
45722 if test -n "$ac_tool_prefix"; then
45723 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45724 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45727 if test "${ac_cv_prog_RANLIB+set}" = set; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45729 else
45730 if test -n "$RANLIB"; then
45731 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45732 else
45733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45734 for as_dir in $PATH
45735 do
45736 IFS=$as_save_IFS
45737 test -z "$as_dir" && as_dir=.
45738 for ac_exec_ext in '' $ac_executable_extensions; do
45739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45740 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45742 break 2
45743 fi
45744 done
45745 done
45746 IFS=$as_save_IFS
45747
45748 fi
45749 fi
45750 RANLIB=$ac_cv_prog_RANLIB
45751 if test -n "$RANLIB"; then
45752 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45753 echo "${ECHO_T}$RANLIB" >&6; }
45754 else
45755 { echo "$as_me:$LINENO: result: no" >&5
45756 echo "${ECHO_T}no" >&6; }
45757 fi
45758
45759
45760 fi
45761 if test -z "$ac_cv_prog_RANLIB"; then
45762 ac_ct_RANLIB=$RANLIB
45763 # Extract the first word of "ranlib", so it can be a program name with args.
45764 set dummy ranlib; ac_word=$2
45765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45767 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 else
45770 if test -n "$ac_ct_RANLIB"; then
45771 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45772 else
45773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45774 for as_dir in $PATH
45775 do
45776 IFS=$as_save_IFS
45777 test -z "$as_dir" && as_dir=.
45778 for ac_exec_ext in '' $ac_executable_extensions; do
45779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45780 ac_cv_prog_ac_ct_RANLIB="ranlib"
45781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45782 break 2
45783 fi
45784 done
45785 done
45786 IFS=$as_save_IFS
45787
45788 fi
45789 fi
45790 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45791 if test -n "$ac_ct_RANLIB"; then
45792 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45793 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45794 else
45795 { echo "$as_me:$LINENO: result: no" >&5
45796 echo "${ECHO_T}no" >&6; }
45797 fi
45798
45799 if test "x$ac_ct_RANLIB" = x; then
45800 RANLIB=":"
45801 else
45802 case $cross_compiling:$ac_tool_warned in
45803 yes:)
45804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45805 whose name does not start with the host triplet. If you think this
45806 configuration is useful to you, please write to autoconf@gnu.org." >&5
45807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45808 whose name does not start with the host triplet. If you think this
45809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45810 ac_tool_warned=yes ;;
45811 esac
45812 RANLIB=$ac_ct_RANLIB
45813 fi
45814 else
45815 RANLIB="$ac_cv_prog_RANLIB"
45816 fi
45817
45818 # Find a good install program. We prefer a C program (faster),
45819 # so one script is as good as another. But avoid the broken or
45820 # incompatible versions:
45821 # SysV /etc/install, /usr/sbin/install
45822 # SunOS /usr/etc/install
45823 # IRIX /sbin/install
45824 # AIX /bin/install
45825 # AmigaOS /C/install, which installs bootblocks on floppy discs
45826 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45827 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45828 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45829 # OS/2's system install, which has a completely different semantic
45830 # ./install, which can be erroneously created by make from ./install.sh.
45831 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45832 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45833 if test -z "$INSTALL"; then
45834 if test "${ac_cv_path_install+set}" = set; then
45835 echo $ECHO_N "(cached) $ECHO_C" >&6
45836 else
45837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45838 for as_dir in $PATH
45839 do
45840 IFS=$as_save_IFS
45841 test -z "$as_dir" && as_dir=.
45842 # Account for people who put trailing slashes in PATH elements.
45843 case $as_dir/ in
45844 ./ | .// | /cC/* | \
45845 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45846 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45847 /usr/ucb/* ) ;;
45848 *)
45849 # OSF1 and SCO ODT 3.0 have their own names for install.
45850 # Don't use installbsd from OSF since it installs stuff as root
45851 # by default.
45852 for ac_prog in ginstall scoinst install; do
45853 for ac_exec_ext in '' $ac_executable_extensions; do
45854 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45855 if test $ac_prog = install &&
45856 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45857 # AIX install. It has an incompatible calling convention.
45858 :
45859 elif test $ac_prog = install &&
45860 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45861 # program-specific install script used by HP pwplus--don't use.
45862 :
45863 else
45864 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45865 break 3
45866 fi
45867 fi
45868 done
45869 done
45870 ;;
45871 esac
45872 done
45873 IFS=$as_save_IFS
45874
45875
45876 fi
45877 if test "${ac_cv_path_install+set}" = set; then
45878 INSTALL=$ac_cv_path_install
45879 else
45880 # As a last resort, use the slow shell script. Don't cache a
45881 # value for INSTALL within a source directory, because that will
45882 # break other packages using the cache if that directory is
45883 # removed, or if the value is a relative name.
45884 INSTALL=$ac_install_sh
45885 fi
45886 fi
45887 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45888 echo "${ECHO_T}$INSTALL" >&6; }
45889
45890 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45891 # It thinks the first close brace ends the variable substitution.
45892 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45893
45894 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45895
45896 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45897
45898 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45899 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45900 LN_S=$as_ln_s
45901 if test "$LN_S" = "ln -s"; then
45902 { echo "$as_me:$LINENO: result: yes" >&5
45903 echo "${ECHO_T}yes" >&6; }
45904 else
45905 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45906 echo "${ECHO_T}no, using $LN_S" >&6; }
45907 fi
45908
45909
45910 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45911 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45912 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45913 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45914 echo $ECHO_N "(cached) $ECHO_C" >&6
45915 else
45916 cat >conftest.make <<\_ACEOF
45917 SHELL = /bin/sh
45918 all:
45919 @echo '@@@%%%=$(MAKE)=@@@%%%'
45920 _ACEOF
45921 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45922 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45923 *@@@%%%=?*=@@@%%%*)
45924 eval ac_cv_prog_make_${ac_make}_set=yes;;
45925 *)
45926 eval ac_cv_prog_make_${ac_make}_set=no;;
45927 esac
45928 rm -f conftest.make
45929 fi
45930 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45931 { echo "$as_me:$LINENO: result: yes" >&5
45932 echo "${ECHO_T}yes" >&6; }
45933 SET_MAKE=
45934 else
45935 { echo "$as_me:$LINENO: result: no" >&5
45936 echo "${ECHO_T}no" >&6; }
45937 SET_MAKE="MAKE=${MAKE-make}"
45938 fi
45939
45940
45941
45942 if test "x$SUNCXX" = "xyes"; then
45943 AR=$CXX
45944 AROPTIONS="-xar -o"
45945
45946 elif test "x$SGICC" = "xyes"; then
45947 AR=$CXX
45948 AROPTIONS="-ar -o"
45949
45950 else
45951 if test -n "$ac_tool_prefix"; then
45952 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45953 set dummy ${ac_tool_prefix}ar; ac_word=$2
45954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45956 if test "${ac_cv_prog_AR+set}" = set; then
45957 echo $ECHO_N "(cached) $ECHO_C" >&6
45958 else
45959 if test -n "$AR"; then
45960 ac_cv_prog_AR="$AR" # Let the user override the test.
45961 else
45962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45963 for as_dir in $PATH
45964 do
45965 IFS=$as_save_IFS
45966 test -z "$as_dir" && as_dir=.
45967 for ac_exec_ext in '' $ac_executable_extensions; do
45968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45969 ac_cv_prog_AR="${ac_tool_prefix}ar"
45970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45971 break 2
45972 fi
45973 done
45974 done
45975 IFS=$as_save_IFS
45976
45977 fi
45978 fi
45979 AR=$ac_cv_prog_AR
45980 if test -n "$AR"; then
45981 { echo "$as_me:$LINENO: result: $AR" >&5
45982 echo "${ECHO_T}$AR" >&6; }
45983 else
45984 { echo "$as_me:$LINENO: result: no" >&5
45985 echo "${ECHO_T}no" >&6; }
45986 fi
45987
45988
45989 fi
45990 if test -z "$ac_cv_prog_AR"; then
45991 ac_ct_AR=$AR
45992 # Extract the first word of "ar", so it can be a program name with args.
45993 set dummy ar; ac_word=$2
45994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45996 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45997 echo $ECHO_N "(cached) $ECHO_C" >&6
45998 else
45999 if test -n "$ac_ct_AR"; then
46000 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46001 else
46002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46003 for as_dir in $PATH
46004 do
46005 IFS=$as_save_IFS
46006 test -z "$as_dir" && as_dir=.
46007 for ac_exec_ext in '' $ac_executable_extensions; do
46008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46009 ac_cv_prog_ac_ct_AR="ar"
46010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46011 break 2
46012 fi
46013 done
46014 done
46015 IFS=$as_save_IFS
46016
46017 fi
46018 fi
46019 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46020 if test -n "$ac_ct_AR"; then
46021 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46022 echo "${ECHO_T}$ac_ct_AR" >&6; }
46023 else
46024 { echo "$as_me:$LINENO: result: no" >&5
46025 echo "${ECHO_T}no" >&6; }
46026 fi
46027
46028 if test "x$ac_ct_AR" = x; then
46029 AR="ar"
46030 else
46031 case $cross_compiling:$ac_tool_warned in
46032 yes:)
46033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46034 whose name does not start with the host triplet. If you think this
46035 configuration is useful to you, please write to autoconf@gnu.org." >&5
46036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46037 whose name does not start with the host triplet. If you think this
46038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46039 ac_tool_warned=yes ;;
46040 esac
46041 AR=$ac_ct_AR
46042 fi
46043 else
46044 AR="$ac_cv_prog_AR"
46045 fi
46046
46047 AROPTIONS=rcu
46048 fi
46049
46050
46051 if test -n "$ac_tool_prefix"; then
46052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46053 set dummy ${ac_tool_prefix}strip; ac_word=$2
46054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46056 if test "${ac_cv_prog_STRIP+set}" = set; then
46057 echo $ECHO_N "(cached) $ECHO_C" >&6
46058 else
46059 if test -n "$STRIP"; then
46060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46061 else
46062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46063 for as_dir in $PATH
46064 do
46065 IFS=$as_save_IFS
46066 test -z "$as_dir" && as_dir=.
46067 for ac_exec_ext in '' $ac_executable_extensions; do
46068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46071 break 2
46072 fi
46073 done
46074 done
46075 IFS=$as_save_IFS
46076
46077 fi
46078 fi
46079 STRIP=$ac_cv_prog_STRIP
46080 if test -n "$STRIP"; then
46081 { echo "$as_me:$LINENO: result: $STRIP" >&5
46082 echo "${ECHO_T}$STRIP" >&6; }
46083 else
46084 { echo "$as_me:$LINENO: result: no" >&5
46085 echo "${ECHO_T}no" >&6; }
46086 fi
46087
46088
46089 fi
46090 if test -z "$ac_cv_prog_STRIP"; then
46091 ac_ct_STRIP=$STRIP
46092 # Extract the first word of "strip", so it can be a program name with args.
46093 set dummy strip; ac_word=$2
46094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46096 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46097 echo $ECHO_N "(cached) $ECHO_C" >&6
46098 else
46099 if test -n "$ac_ct_STRIP"; then
46100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46101 else
46102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46103 for as_dir in $PATH
46104 do
46105 IFS=$as_save_IFS
46106 test -z "$as_dir" && as_dir=.
46107 for ac_exec_ext in '' $ac_executable_extensions; do
46108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46109 ac_cv_prog_ac_ct_STRIP="strip"
46110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46111 break 2
46112 fi
46113 done
46114 done
46115 IFS=$as_save_IFS
46116
46117 fi
46118 fi
46119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46120 if test -n "$ac_ct_STRIP"; then
46121 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46122 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46123 else
46124 { echo "$as_me:$LINENO: result: no" >&5
46125 echo "${ECHO_T}no" >&6; }
46126 fi
46127
46128 if test "x$ac_ct_STRIP" = x; then
46129 STRIP=":"
46130 else
46131 case $cross_compiling:$ac_tool_warned in
46132 yes:)
46133 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46134 whose name does not start with the host triplet. If you think this
46135 configuration is useful to you, please write to autoconf@gnu.org." >&5
46136 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46137 whose name does not start with the host triplet. If you think this
46138 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46139 ac_tool_warned=yes ;;
46140 esac
46141 STRIP=$ac_ct_STRIP
46142 fi
46143 else
46144 STRIP="$ac_cv_prog_STRIP"
46145 fi
46146
46147 if test -n "$ac_tool_prefix"; then
46148 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46149 set dummy ${ac_tool_prefix}nm; ac_word=$2
46150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46152 if test "${ac_cv_prog_NM+set}" = set; then
46153 echo $ECHO_N "(cached) $ECHO_C" >&6
46154 else
46155 if test -n "$NM"; then
46156 ac_cv_prog_NM="$NM" # Let the user override the test.
46157 else
46158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46159 for as_dir in $PATH
46160 do
46161 IFS=$as_save_IFS
46162 test -z "$as_dir" && as_dir=.
46163 for ac_exec_ext in '' $ac_executable_extensions; do
46164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46165 ac_cv_prog_NM="${ac_tool_prefix}nm"
46166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46167 break 2
46168 fi
46169 done
46170 done
46171 IFS=$as_save_IFS
46172
46173 fi
46174 fi
46175 NM=$ac_cv_prog_NM
46176 if test -n "$NM"; then
46177 { echo "$as_me:$LINENO: result: $NM" >&5
46178 echo "${ECHO_T}$NM" >&6; }
46179 else
46180 { echo "$as_me:$LINENO: result: no" >&5
46181 echo "${ECHO_T}no" >&6; }
46182 fi
46183
46184
46185 fi
46186 if test -z "$ac_cv_prog_NM"; then
46187 ac_ct_NM=$NM
46188 # Extract the first word of "nm", so it can be a program name with args.
46189 set dummy nm; ac_word=$2
46190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46192 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46193 echo $ECHO_N "(cached) $ECHO_C" >&6
46194 else
46195 if test -n "$ac_ct_NM"; then
46196 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46197 else
46198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46199 for as_dir in $PATH
46200 do
46201 IFS=$as_save_IFS
46202 test -z "$as_dir" && as_dir=.
46203 for ac_exec_ext in '' $ac_executable_extensions; do
46204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46205 ac_cv_prog_ac_ct_NM="nm"
46206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46207 break 2
46208 fi
46209 done
46210 done
46211 IFS=$as_save_IFS
46212
46213 fi
46214 fi
46215 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46216 if test -n "$ac_ct_NM"; then
46217 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46218 echo "${ECHO_T}$ac_ct_NM" >&6; }
46219 else
46220 { echo "$as_me:$LINENO: result: no" >&5
46221 echo "${ECHO_T}no" >&6; }
46222 fi
46223
46224 if test "x$ac_ct_NM" = x; then
46225 NM=":"
46226 else
46227 case $cross_compiling:$ac_tool_warned in
46228 yes:)
46229 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46230 whose name does not start with the host triplet. If you think this
46231 configuration is useful to you, please write to autoconf@gnu.org." >&5
46232 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46233 whose name does not start with the host triplet. If you think this
46234 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46235 ac_tool_warned=yes ;;
46236 esac
46237 NM=$ac_ct_NM
46238 fi
46239 else
46240 NM="$ac_cv_prog_NM"
46241 fi
46242
46243
46244 case ${BAKEFILE_HOST} in
46245 *-hp-hpux* )
46246 INSTALL_DIR="mkdir -p"
46247 ;;
46248 * )
46249 INSTALL_DIR='$(INSTALL) -d'
46250 ;;
46251 esac
46252
46253
46254 LDFLAGS_GUI=
46255 case ${BAKEFILE_HOST} in
46256 *-*-cygwin* | *-*-mingw32* )
46257 LDFLAGS_GUI="-mwindows"
46258 esac
46259
46260
46261 fi
46262
46263 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46264 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46265 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46266 echo $ECHO_N "(cached) $ECHO_C" >&6
46267 else
46268
46269 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46270 egrep -s GNU > /dev/null); then
46271 bakefile_cv_prog_makeisgnu="yes"
46272 else
46273 bakefile_cv_prog_makeisgnu="no"
46274 fi
46275
46276 fi
46277 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46278 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46279
46280 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46281 IF_GNU_MAKE=""
46282 else
46283 IF_GNU_MAKE="#"
46284 fi
46285
46286
46287
46288 PLATFORM_UNIX=0
46289 PLATFORM_WIN32=0
46290 PLATFORM_MSDOS=0
46291 PLATFORM_MAC=0
46292 PLATFORM_MACOS=0
46293 PLATFORM_MACOSX=0
46294 PLATFORM_OS2=0
46295 PLATFORM_BEOS=0
46296
46297 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46298 case "${BAKEFILE_HOST}" in
46299 *-*-mingw32* )
46300 PLATFORM_WIN32=1
46301 ;;
46302 *-pc-msdosdjgpp )
46303 PLATFORM_MSDOS=1
46304 ;;
46305 *-pc-os2_emx | *-pc-os2-emx )
46306 PLATFORM_OS2=1
46307 ;;
46308 *-*-darwin* )
46309 PLATFORM_MAC=1
46310 PLATFORM_MACOSX=1
46311 ;;
46312 *-*-beos* )
46313 PLATFORM_BEOS=1
46314 ;;
46315 powerpc-apple-macos* )
46316 PLATFORM_MAC=1
46317 PLATFORM_MACOS=1
46318 ;;
46319 * )
46320 PLATFORM_UNIX=1
46321 ;;
46322 esac
46323 else
46324 case "$BAKEFILE_FORCE_PLATFORM" in
46325 win32 )
46326 PLATFORM_WIN32=1
46327 ;;
46328 msdos )
46329 PLATFORM_MSDOS=1
46330 ;;
46331 os2 )
46332 PLATFORM_OS2=1
46333 ;;
46334 darwin )
46335 PLATFORM_MAC=1
46336 PLATFORM_MACOSX=1
46337 ;;
46338 unix )
46339 PLATFORM_UNIX=1
46340 ;;
46341 beos )
46342 PLATFORM_BEOS=1
46343 ;;
46344 * )
46345 ;;
46346 esac
46347 fi
46348
46349
46350
46351
46352
46353
46354
46355
46356
46357
46358
46359 # Check whether --enable-omf was given.
46360 if test "${enable_omf+set}" = set; then
46361 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46362 fi
46363
46364
46365 case "${BAKEFILE_HOST}" in
46366 *-*-darwin* )
46367 if test "x$GCC" = "xyes"; then
46368 CFLAGS="$CFLAGS -fno-common"
46369 CXXFLAGS="$CXXFLAGS -fno-common"
46370 fi
46371 if test "x$XLCC" = "xyes"; then
46372 CFLAGS="$CFLAGS -qnocommon"
46373 CXXFLAGS="$CXXFLAGS -qnocommon"
46374 fi
46375 ;;
46376
46377 *-pc-os2_emx | *-pc-os2-emx )
46378 if test "x$bk_os2_use_omf" = "xyes" ; then
46379 AR=emxomfar
46380 RANLIB=:
46381 LDFLAGS="-Zomf $LDFLAGS"
46382 CFLAGS="-Zomf $CFLAGS"
46383 CXXFLAGS="-Zomf $CXXFLAGS"
46384 OS2_LIBEXT="lib"
46385 else
46386 OS2_LIBEXT="a"
46387 fi
46388 ;;
46389
46390 i*86-*-beos* )
46391 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46392 ;;
46393 esac
46394
46395
46396 SO_SUFFIX="so"
46397 SO_SUFFIX_MODULE="so"
46398 EXEEXT=""
46399 LIBPREFIX="lib"
46400 LIBEXT=".a"
46401 DLLPREFIX="lib"
46402 DLLPREFIX_MODULE=""
46403 DLLIMP_SUFFIX=""
46404 dlldir="$libdir"
46405
46406 case "${BAKEFILE_HOST}" in
46407 *-hp-hpux* )
46408 SO_SUFFIX="sl"
46409 SO_SUFFIX_MODULE="sl"
46410 ;;
46411 *-*-aix* )
46412 SO_SUFFIX="a"
46413 SO_SUFFIX_MODULE="a"
46414 ;;
46415 *-*-cygwin* )
46416 SO_SUFFIX="dll"
46417 SO_SUFFIX_MODULE="dll"
46418 DLLIMP_SUFFIX="dll.a"
46419 EXEEXT=".exe"
46420 DLLPREFIX="cyg"
46421 dlldir="$bindir"
46422 ;;
46423 *-*-mingw32* )
46424 SO_SUFFIX="dll"
46425 SO_SUFFIX_MODULE="dll"
46426 DLLIMP_SUFFIX="dll.a"
46427 EXEEXT=".exe"
46428 DLLPREFIX=""
46429 dlldir="$bindir"
46430 ;;
46431 *-pc-msdosdjgpp )
46432 EXEEXT=".exe"
46433 DLLPREFIX=""
46434 dlldir="$bindir"
46435 ;;
46436 *-pc-os2_emx | *-pc-os2-emx )
46437 SO_SUFFIX="dll"
46438 SO_SUFFIX_MODULE="dll"
46439 DLLIMP_SUFFIX=$OS2_LIBEXT
46440 EXEEXT=".exe"
46441 DLLPREFIX=""
46442 LIBPREFIX=""
46443 LIBEXT=".$OS2_LIBEXT"
46444 dlldir="$bindir"
46445 ;;
46446 *-*-darwin* )
46447 SO_SUFFIX="dylib"
46448 SO_SUFFIX_MODULE="bundle"
46449 ;;
46450 esac
46451
46452 if test "x$DLLIMP_SUFFIX" = "x" ; then
46453 DLLIMP_SUFFIX="$SO_SUFFIX"
46454 fi
46455
46456
46457
46458
46459
46460
46461
46462
46463
46464
46465
46466
46467 PIC_FLAG=""
46468 if test "x$GCC" = "xyes"; then
46469 PIC_FLAG="-fPIC"
46470 fi
46471
46472 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46473 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46474 WINDOWS_IMPLIB=0
46475
46476 case "${BAKEFILE_HOST}" in
46477 *-hp-hpux* )
46478 if test "x$GCC" != "xyes"; then
46479 LDFLAGS="$LDFLAGS -L/usr/lib"
46480
46481 SHARED_LD_CC="${CC} -b -o"
46482 SHARED_LD_CXX="${CXX} -b -o"
46483 PIC_FLAG="+Z"
46484 fi
46485 ;;
46486
46487 *-*-linux* )
46488 if test "x$GCC" != "xyes"; then
46489 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46490 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46491 if test "${bakefile_cv_prog_icc+set}" = set; then
46492 echo $ECHO_N "(cached) $ECHO_C" >&6
46493 else
46494
46495 cat >conftest.$ac_ext <<_ACEOF
46496 /* confdefs.h. */
46497 _ACEOF
46498 cat confdefs.h >>conftest.$ac_ext
46499 cat >>conftest.$ac_ext <<_ACEOF
46500 /* end confdefs.h. */
46501
46502 int
46503 main ()
46504 {
46505
46506 #ifndef __INTEL_COMPILER
46507 This is not ICC
46508 #endif
46509
46510 ;
46511 return 0;
46512 }
46513 _ACEOF
46514 rm -f conftest.$ac_objext
46515 if { (ac_try="$ac_compile"
46516 case "(($ac_try" in
46517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46518 *) ac_try_echo=$ac_try;;
46519 esac
46520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46521 (eval "$ac_compile") 2>conftest.er1
46522 ac_status=$?
46523 grep -v '^ *+' conftest.er1 >conftest.err
46524 rm -f conftest.er1
46525 cat conftest.err >&5
46526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46527 (exit $ac_status); } && {
46528 test -z "$ac_c_werror_flag" ||
46529 test ! -s conftest.err
46530 } && test -s conftest.$ac_objext; then
46531 bakefile_cv_prog_icc=yes
46532 else
46533 echo "$as_me: failed program was:" >&5
46534 sed 's/^/| /' conftest.$ac_ext >&5
46535
46536 bakefile_cv_prog_icc=no
46537
46538 fi
46539
46540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46541
46542 fi
46543 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46544 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46545 if test "$bakefile_cv_prog_icc" = "yes"; then
46546 PIC_FLAG="-KPIC"
46547 fi
46548 fi
46549 ;;
46550
46551 *-*-solaris2* )
46552 if test "x$GCC" != xyes ; then
46553 SHARED_LD_CC="${CC} -G -o"
46554 SHARED_LD_CXX="${CXX} -G -o"
46555 PIC_FLAG="-KPIC"
46556 fi
46557 ;;
46558
46559 *-*-darwin* )
46560
46561 D='$'
46562 cat <<EOF >shared-ld-sh
46563 #!/bin/sh
46564 #-----------------------------------------------------------------------------
46565 #-- Name: distrib/mac/shared-ld-sh
46566 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46567 #-- Author: Gilles Depeyrot
46568 #-- Copyright: (c) 2002 Gilles Depeyrot
46569 #-- Licence: any use permitted
46570 #-----------------------------------------------------------------------------
46571
46572 verbose=0
46573 args=""
46574 objects=""
46575 linking_flag="-dynamiclib"
46576 ldargs="-r -keep_private_externs -nostdlib"
46577
46578 while test ${D}# -gt 0; do
46579 case ${D}1 in
46580
46581 -v)
46582 verbose=1
46583 ;;
46584
46585 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46586 # collect these options and values
46587 args="${D}{args} ${D}1 ${D}2"
46588 shift
46589 ;;
46590
46591 -s|-Wl,*)
46592 # collect these load args
46593 ldargs="${D}{ldargs} ${D}1"
46594 ;;
46595
46596 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46597 # collect these options
46598 args="${D}{args} ${D}1"
46599 ;;
46600
46601 -dynamiclib|-bundle)
46602 linking_flag="${D}1"
46603 ;;
46604
46605 -*)
46606 echo "shared-ld: unhandled option '${D}1'"
46607 exit 1
46608 ;;
46609
46610 *.o | *.a | *.dylib)
46611 # collect object files
46612 objects="${D}{objects} ${D}1"
46613 ;;
46614
46615 *)
46616 echo "shared-ld: unhandled argument '${D}1'"
46617 exit 1
46618 ;;
46619
46620 esac
46621 shift
46622 done
46623
46624 status=0
46625
46626 #
46627 # Link one module containing all the others
46628 #
46629 if test ${D}{verbose} = 1; then
46630 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46631 fi
46632 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46633 status=${D}?
46634
46635 #
46636 # Link the shared library from the single module created, but only if the
46637 # previous command didn't fail:
46638 #
46639 if test ${D}{status} = 0; then
46640 if test ${D}{verbose} = 1; then
46641 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46642 fi
46643 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46644 status=${D}?
46645 fi
46646
46647 #
46648 # Remove intermediate module
46649 #
46650 rm -f master.${D}${D}.o
46651
46652 exit ${D}status
46653 EOF
46654
46655 chmod +x shared-ld-sh
46656
46657 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46658 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46659
46660
46661 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46662 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46663 if test "${bakefile_cv_gcc31+set}" = set; then
46664 echo $ECHO_N "(cached) $ECHO_C" >&6
46665 else
46666
46667 cat >conftest.$ac_ext <<_ACEOF
46668 /* confdefs.h. */
46669 _ACEOF
46670 cat confdefs.h >>conftest.$ac_ext
46671 cat >>conftest.$ac_ext <<_ACEOF
46672 /* end confdefs.h. */
46673
46674 int
46675 main ()
46676 {
46677
46678 #if (__GNUC__ < 3) || \
46679 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46680 This is old gcc
46681 #endif
46682
46683 ;
46684 return 0;
46685 }
46686 _ACEOF
46687 rm -f conftest.$ac_objext
46688 if { (ac_try="$ac_compile"
46689 case "(($ac_try" in
46690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46691 *) ac_try_echo=$ac_try;;
46692 esac
46693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46694 (eval "$ac_compile") 2>conftest.er1
46695 ac_status=$?
46696 grep -v '^ *+' conftest.er1 >conftest.err
46697 rm -f conftest.er1
46698 cat conftest.err >&5
46699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46700 (exit $ac_status); } && {
46701 test -z "$ac_c_werror_flag" ||
46702 test ! -s conftest.err
46703 } && test -s conftest.$ac_objext; then
46704
46705 bakefile_cv_gcc31=yes
46706
46707 else
46708 echo "$as_me: failed program was:" >&5
46709 sed 's/^/| /' conftest.$ac_ext >&5
46710
46711
46712 bakefile_cv_gcc31=no
46713
46714
46715 fi
46716
46717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46718
46719 fi
46720 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46721 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46722 if test "$bakefile_cv_gcc31" = "no"; then
46723 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46724 SHARED_LD_CXX="$SHARED_LD_CC"
46725 else
46726 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46727 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46728 fi
46729
46730 if test "x$GCC" == "xyes"; then
46731 PIC_FLAG="-dynamic -fPIC"
46732 fi
46733 if test "x$XLCC" = "xyes"; then
46734 PIC_FLAG="-dynamic -DPIC"
46735 fi
46736 ;;
46737
46738 *-*-aix* )
46739 if test "x$GCC" = "xyes"; then
46740 PIC_FLAG=""
46741
46742 case "${BAKEFILE_HOST}" in
46743 *-*-aix5* )
46744 LD_EXPFULL="-Wl,-bexpfull"
46745 ;;
46746 esac
46747
46748 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46749 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46750 else
46751 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46752 set dummy makeC++SharedLib; ac_word=$2
46753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46755 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46756 echo $ECHO_N "(cached) $ECHO_C" >&6
46757 else
46758 if test -n "$AIX_CXX_LD"; then
46759 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46760 else
46761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46762 for as_dir in $PATH
46763 do
46764 IFS=$as_save_IFS
46765 test -z "$as_dir" && as_dir=.
46766 for ac_exec_ext in '' $ac_executable_extensions; do
46767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46768 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46770 break 2
46771 fi
46772 done
46773 done
46774 IFS=$as_save_IFS
46775
46776 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46777 fi
46778 fi
46779 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46780 if test -n "$AIX_CXX_LD"; then
46781 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46782 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46783 else
46784 { echo "$as_me:$LINENO: result: no" >&5
46785 echo "${ECHO_T}no" >&6; }
46786 fi
46787
46788
46789 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46790 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46791 fi
46792 ;;
46793
46794 *-*-beos* )
46795 SHARED_LD_CC="${LD} -nostart -o"
46796 SHARED_LD_CXX="${LD} -nostart -o"
46797 ;;
46798
46799 *-*-irix* )
46800 if test "x$GCC" != "xyes"; then
46801 PIC_FLAG="-KPIC"
46802 fi
46803 ;;
46804
46805 *-*-cygwin* | *-*-mingw32* )
46806 PIC_FLAG=""
46807 SHARED_LD_CC="\$(CC) -shared -o"
46808 SHARED_LD_CXX="\$(CXX) -shared -o"
46809 WINDOWS_IMPLIB=1
46810 ;;
46811
46812 *-pc-os2_emx | *-pc-os2-emx )
46813 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46814 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46815 PIC_FLAG=""
46816
46817 D='$'
46818 cat <<EOF >dllar.sh
46819 #!/bin/sh
46820 #
46821 # dllar - a tool to build both a .dll and an .a file
46822 # from a set of object (.o) files for EMX/OS2.
46823 #
46824 # Written by Andrew Zabolotny, bit@freya.etu.ru
46825 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46826 #
46827 # This script will accept a set of files on the command line.
46828 # All the public symbols from the .o files will be exported into
46829 # a .DEF file, then linker will be run (through gcc) against them to
46830 # build a shared library consisting of all given .o files. All libraries
46831 # (.a) will be first decompressed into component .o files then act as
46832 # described above. You can optionally give a description (-d "description")
46833 # which will be put into .DLL. To see the list of accepted options (as well
46834 # as command-line format) simply run this program without options. The .DLL
46835 # is built to be imported by name (there is no guarantee that new versions
46836 # of the library you build will have same ordinals for same symbols).
46837 #
46838 # dllar is free software; you can redistribute it and/or modify
46839 # it under the terms of the GNU General Public License as published by
46840 # the Free Software Foundation; either version 2, or (at your option)
46841 # any later version.
46842 #
46843 # dllar is distributed in the hope that it will be useful,
46844 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46845 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46846 # GNU General Public License for more details.
46847 #
46848 # You should have received a copy of the GNU General Public License
46849 # along with dllar; see the file COPYING. If not, write to the Free
46850 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46851 # 02111-1307, USA.
46852
46853 # To successfuly run this program you will need:
46854 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46855 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46856 # - gcc
46857 # (used to build the .dll)
46858 # - emxexp
46859 # (used to create .def file from .o files)
46860 # - emximp
46861 # (used to create .a file from .def file)
46862 # - GNU text utilites (cat, sort, uniq)
46863 # used to process emxexp output
46864 # - GNU file utilities (mv, rm)
46865 # - GNU sed
46866 # - lxlite (optional, see flag below)
46867 # (used for general .dll cleanup)
46868 #
46869
46870 flag_USE_LXLITE=1;
46871
46872 #
46873 # helper functions
46874 # basnam, variant of basename, which does _not_ remove the path, _iff_
46875 # second argument (suffix to remove) is given
46876 basnam(){
46877 case ${D}# in
46878 1)
46879 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46880 ;;
46881 2)
46882 echo ${D}1 | sed 's/'${D}2'${D}//'
46883 ;;
46884 *)
46885 echo "error in basnam ${D}*"
46886 exit 8
46887 ;;
46888 esac
46889 }
46890
46891 # Cleanup temporary files and output
46892 CleanUp() {
46893 cd ${D}curDir
46894 for i in ${D}inputFiles ; do
46895 case ${D}i in
46896 *!)
46897 rm -rf \`basnam ${D}i !\`
46898 ;;
46899 *)
46900 ;;
46901 esac
46902 done
46903
46904 # Kill result in case of failure as there is just to many stupid make/nmake
46905 # things out there which doesn't do this.
46906 if [ ${D}# -eq 0 ]; then
46907 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46908 fi
46909 }
46910
46911 # Print usage and exit script with rc=1.
46912 PrintHelp() {
46913 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46914 echo ' [-name-mangler-script script.sh]'
46915 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46916 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46917 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46918 echo ' [*.o] [*.a]'
46919 echo '*> "output_file" should have no extension.'
46920 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46921 echo ' The import library name is derived from this and is set to "name".a,'
46922 echo ' unless overridden by -import'
46923 echo '*> "importlib_name" should have no extension.'
46924 echo ' If it has the .o, or .a extension, it is automatically removed.'
46925 echo ' This name is used as the import library name and may be longer and'
46926 echo ' more descriptive than the DLL name which has to follow the old '
46927 echo ' 8.3 convention of FAT.'
46928 echo '*> "script.sh may be given to override the output_file name by a'
46929 echo ' different name. It is mainly useful if the regular make process'
46930 echo ' of some package does not take into account OS/2 restriction of'
46931 echo ' DLL name lengths. It takes the importlib name as input and is'
46932 echo ' supposed to procude a shorter name as output. The script should'
46933 echo ' expect to get importlib_name without extension and should produce'
46934 echo ' a (max.) 8 letter name without extension.'
46935 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46936 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46937 echo ' These flags will be put at the start of GCC command line.'
46938 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46939 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46940 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46941 echo ' If the last character of a symbol is "*", all symbols beginning'
46942 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46943 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46944 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46945 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46946 echo ' C runtime DLLs.'
46947 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46948 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46949 echo ' unchanged to GCC at the end of command line.'
46950 echo '*> If you create a DLL from a library and you do not specify -o,'
46951 echo ' the basename for DLL and import library will be set to library name,'
46952 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46953 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46954 echo ' library will be renamed into gcc_s.a.'
46955 echo '--------'
46956 echo 'Example:'
46957 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46958 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46959 CleanUp
46960 exit 1
46961 }
46962
46963 # Execute a command.
46964 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46965 # @Uses Whatever CleanUp() uses.
46966 doCommand() {
46967 echo "${D}*"
46968 eval ${D}*
46969 rcCmd=${D}?
46970
46971 if [ ${D}rcCmd -ne 0 ]; then
46972 echo "command failed, exit code="${D}rcCmd
46973 CleanUp
46974 exit ${D}rcCmd
46975 fi
46976 }
46977
46978 # main routine
46979 # setup globals
46980 cmdLine=${D}*
46981 outFile=""
46982 outimpFile=""
46983 inputFiles=""
46984 renameScript=""
46985 description=""
46986 CC=gcc.exe
46987 CFLAGS="-s -Zcrtdll"
46988 EXTRA_CFLAGS=""
46989 EXPORT_BY_ORDINALS=0
46990 exclude_symbols=""
46991 library_flags=""
46992 curDir=\`pwd\`
46993 curDirS=curDir
46994 case ${D}curDirS in
46995 */)
46996 ;;
46997 *)
46998 curDirS=${D}{curDirS}"/"
46999 ;;
47000 esac
47001 # Parse commandline
47002 libsToLink=0
47003 omfLinking=0
47004 while [ ${D}1 ]; do
47005 case ${D}1 in
47006 -ord*)
47007 EXPORT_BY_ORDINALS=1;
47008 ;;
47009 -o*)
47010 shift
47011 outFile=${D}1
47012 ;;
47013 -i*)
47014 shift
47015 outimpFile=${D}1
47016 ;;
47017 -name-mangler-script)
47018 shift
47019 renameScript=${D}1
47020 ;;
47021 -d*)
47022 shift
47023 description=${D}1
47024 ;;
47025 -f*)
47026 shift
47027 CFLAGS=${D}1
47028 ;;
47029 -c*)
47030 shift
47031 CC=${D}1
47032 ;;
47033 -h*)
47034 PrintHelp
47035 ;;
47036 -ex*)
47037 shift
47038 exclude_symbols=${D}{exclude_symbols}${D}1" "
47039 ;;
47040 -libf*)
47041 shift
47042 library_flags=${D}{library_flags}${D}1" "
47043 ;;
47044 -nocrt*)
47045 CFLAGS="-s"
47046 ;;
47047 -nolxl*)
47048 flag_USE_LXLITE=0
47049 ;;
47050 -* | /*)
47051 case ${D}1 in
47052 -L* | -l*)
47053 libsToLink=1
47054 ;;
47055 -Zomf)
47056 omfLinking=1
47057 ;;
47058 *)
47059 ;;
47060 esac
47061 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47062 ;;
47063 *.dll)
47064 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47065 if [ ${D}omfLinking -eq 1 ]; then
47066 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47067 else
47068 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47069 fi
47070 ;;
47071 *)
47072 found=0;
47073 if [ ${D}libsToLink -ne 0 ]; then
47074 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47075 else
47076 for file in ${D}1 ; do
47077 if [ -f ${D}file ]; then
47078 inputFiles="${D}{inputFiles} ${D}file"
47079 found=1
47080 fi
47081 done
47082 if [ ${D}found -eq 0 ]; then
47083 echo "ERROR: No file(s) found: "${D}1
47084 exit 8
47085 fi
47086 fi
47087 ;;
47088 esac
47089 shift
47090 done # iterate cmdline words
47091
47092 #
47093 if [ -z "${D}inputFiles" ]; then
47094 echo "dllar: no input files"
47095 PrintHelp
47096 fi
47097
47098 # Now extract all .o files from .a files
47099 newInputFiles=""
47100 for file in ${D}inputFiles ; do
47101 case ${D}file in
47102 *.a | *.lib)
47103 case ${D}file in
47104 *.a)
47105 suffix=".a"
47106 AR="ar"
47107 ;;
47108 *.lib)
47109 suffix=".lib"
47110 AR="emxomfar"
47111 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47112 ;;
47113 *)
47114 ;;
47115 esac
47116 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47117 mkdir ${D}dirname
47118 if [ ${D}? -ne 0 ]; then
47119 echo "Failed to create subdirectory ./${D}dirname"
47120 CleanUp
47121 exit 8;
47122 fi
47123 # Append '!' to indicate archive
47124 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47125 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47126 cd ${D}curDir
47127 found=0;
47128 for subfile in ${D}dirname/*.o* ; do
47129 if [ -f ${D}subfile ]; then
47130 found=1
47131 if [ -s ${D}subfile ]; then
47132 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47133 newInputFiles="${D}newInputFiles ${D}subfile"
47134 fi
47135 fi
47136 done
47137 if [ ${D}found -eq 0 ]; then
47138 echo "WARNING: there are no files in archive \\'${D}file\\'"
47139 fi
47140 ;;
47141 *)
47142 newInputFiles="${D}{newInputFiles} ${D}file"
47143 ;;
47144 esac
47145 done
47146 inputFiles="${D}newInputFiles"
47147
47148 # Output filename(s).
47149 do_backup=0;
47150 if [ -z ${D}outFile ]; then
47151 do_backup=1;
47152 set outFile ${D}inputFiles; outFile=${D}2
47153 fi
47154
47155 # If it is an archive, remove the '!' and the '_%' suffixes
47156 case ${D}outFile in
47157 *_%!)
47158 outFile=\`basnam ${D}outFile _%!\`
47159 ;;
47160 *)
47161 ;;
47162 esac
47163 case ${D}outFile in
47164 *.dll)
47165 outFile=\`basnam ${D}outFile .dll\`
47166 ;;
47167 *.DLL)
47168 outFile=\`basnam ${D}outFile .DLL\`
47169 ;;
47170 *.o)
47171 outFile=\`basnam ${D}outFile .o\`
47172 ;;
47173 *.obj)
47174 outFile=\`basnam ${D}outFile .obj\`
47175 ;;
47176 *.a)
47177 outFile=\`basnam ${D}outFile .a\`
47178 ;;
47179 *.lib)
47180 outFile=\`basnam ${D}outFile .lib\`
47181 ;;
47182 *)
47183 ;;
47184 esac
47185 case ${D}outimpFile in
47186 *.a)
47187 outimpFile=\`basnam ${D}outimpFile .a\`
47188 ;;
47189 *.lib)
47190 outimpFile=\`basnam ${D}outimpFile .lib\`
47191 ;;
47192 *)
47193 ;;
47194 esac
47195 if [ -z ${D}outimpFile ]; then
47196 outimpFile=${D}outFile
47197 fi
47198 defFile="${D}{outFile}.def"
47199 arcFile="${D}{outimpFile}.a"
47200 arcFile2="${D}{outimpFile}.lib"
47201
47202 #create ${D}dllFile as something matching 8.3 restrictions,
47203 if [ -z ${D}renameScript ] ; then
47204 dllFile="${D}outFile"
47205 else
47206 dllFile=\`${D}renameScript ${D}outimpFile\`
47207 fi
47208
47209 if [ ${D}do_backup -ne 0 ] ; then
47210 if [ -f ${D}arcFile ] ; then
47211 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47212 fi
47213 if [ -f ${D}arcFile2 ] ; then
47214 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47215 fi
47216 fi
47217
47218 # Extract public symbols from all the object files.
47219 tmpdefFile=${D}{defFile}_%
47220 rm -f ${D}tmpdefFile
47221 for file in ${D}inputFiles ; do
47222 case ${D}file in
47223 *!)
47224 ;;
47225 *)
47226 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47227 ;;
47228 esac
47229 done
47230
47231 # Create the def file.
47232 rm -f ${D}defFile
47233 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47234 dllFile="${D}{dllFile}.dll"
47235 if [ ! -z ${D}description ]; then
47236 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47237 fi
47238 echo "EXPORTS" >> ${D}defFile
47239
47240 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47241 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47242
47243 # Checks if the export is ok or not.
47244 for word in ${D}exclude_symbols; do
47245 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47246 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47247 done
47248
47249
47250 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47251 sed "=" < ${D}tmpdefFile | \\
47252 sed '
47253 N
47254 : loop
47255 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47256 t loop
47257 ' > ${D}{tmpdefFile}%
47258 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47259 else
47260 rm -f ${D}{tmpdefFile}%
47261 fi
47262 cat ${D}tmpdefFile >> ${D}defFile
47263 rm -f ${D}tmpdefFile
47264
47265 # Do linking, create implib, and apply lxlite.
47266 gccCmdl="";
47267 for file in ${D}inputFiles ; do
47268 case ${D}file in
47269 *!)
47270 ;;
47271 *)
47272 gccCmdl="${D}gccCmdl ${D}file"
47273 ;;
47274 esac
47275 done
47276 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47277 touch "${D}{outFile}.dll"
47278
47279 doCommand "emximp -o ${D}arcFile ${D}defFile"
47280 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47281 add_flags="";
47282 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47283 add_flags="-ynd"
47284 fi
47285 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47286 fi
47287 doCommand "emxomf -s -l ${D}arcFile"
47288
47289 # Successful exit.
47290 CleanUp 1
47291 exit 0
47292 EOF
47293
47294 chmod +x dllar.sh
47295 ;;
47296
47297 powerpc-apple-macos* | \
47298 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47299 *-*-mirbsd* | \
47300 *-*-sunos4* | \
47301 *-*-osf* | \
47302 *-*-dgux5* | \
47303 *-*-sysv5* | \
47304 *-pc-msdosdjgpp )
47305 ;;
47306
47307 *)
47308 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47309 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47310 { (exit 1); exit 1; }; }
47311 esac
47312
47313 if test "x$PIC_FLAG" != "x" ; then
47314 PIC_FLAG="$PIC_FLAG -DPIC"
47315 fi
47316
47317 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47318 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47319 fi
47320 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47321 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47322 fi
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332 USE_SOVERSION=0
47333 USE_SOVERLINUX=0
47334 USE_SOVERSOLARIS=0
47335 USE_SOVERCYGWIN=0
47336 USE_SOSYMLINKS=0
47337 USE_MACVERSION=0
47338 SONAME_FLAG=
47339
47340 case "${BAKEFILE_HOST}" in
47341 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47342 SONAME_FLAG="-Wl,-soname,"
47343 USE_SOVERSION=1
47344 USE_SOVERLINUX=1
47345 USE_SOSYMLINKS=1
47346 ;;
47347
47348 *-*-solaris2* )
47349 SONAME_FLAG="-h "
47350 USE_SOVERSION=1
47351 USE_SOVERSOLARIS=1
47352 USE_SOSYMLINKS=1
47353 ;;
47354
47355 *-*-darwin* )
47356 USE_MACVERSION=1
47357 USE_SOVERSION=1
47358 USE_SOSYMLINKS=1
47359 ;;
47360
47361 *-*-cygwin* )
47362 USE_SOVERSION=1
47363 USE_SOVERCYGWIN=1
47364 ;;
47365 esac
47366
47367
47368
47369
47370
47371
47372
47373
47374
47375
47376 # Check whether --enable-dependency-tracking was given.
47377 if test "${enable_dependency_tracking+set}" = set; then
47378 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47379 fi
47380
47381
47382 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47383 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47384
47385 BK_DEPS=""
47386 if test "x$bk_use_trackdeps" = "xno" ; then
47387 DEPS_TRACKING=0
47388 { echo "$as_me:$LINENO: result: disabled" >&5
47389 echo "${ECHO_T}disabled" >&6; }
47390 else
47391 DEPS_TRACKING=1
47392
47393 if test "x$GCC" = "xyes"; then
47394 DEPSMODE=gcc
47395 case "${BAKEFILE_HOST}" in
47396 *-*-darwin* )
47397 DEPSFLAG="-no-cpp-precomp -MMD"
47398 ;;
47399 * )
47400 DEPSFLAG="-MMD"
47401 ;;
47402 esac
47403 { echo "$as_me:$LINENO: result: gcc" >&5
47404 echo "${ECHO_T}gcc" >&6; }
47405 elif test "x$MWCC" = "xyes"; then
47406 DEPSMODE=mwcc
47407 DEPSFLAG="-MM"
47408 { echo "$as_me:$LINENO: result: mwcc" >&5
47409 echo "${ECHO_T}mwcc" >&6; }
47410 elif test "x$SUNCC" = "xyes"; then
47411 DEPSMODE=unixcc
47412 DEPSFLAG="-xM1"
47413 { echo "$as_me:$LINENO: result: Sun cc" >&5
47414 echo "${ECHO_T}Sun cc" >&6; }
47415 elif test "x$SGICC" = "xyes"; then
47416 DEPSMODE=unixcc
47417 DEPSFLAG="-M"
47418 { echo "$as_me:$LINENO: result: SGI cc" >&5
47419 echo "${ECHO_T}SGI cc" >&6; }
47420 elif test "x$HPCC" = "xyes"; then
47421 DEPSMODE=unixcc
47422 DEPSFLAG="+make"
47423 { echo "$as_me:$LINENO: result: HP cc" >&5
47424 echo "${ECHO_T}HP cc" >&6; }
47425 elif test "x$COMPAQCC" = "xyes"; then
47426 DEPSMODE=gcc
47427 DEPSFLAG="-MD"
47428 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47429 echo "${ECHO_T}Compaq cc" >&6; }
47430 else
47431 DEPS_TRACKING=0
47432 { echo "$as_me:$LINENO: result: none" >&5
47433 echo "${ECHO_T}none" >&6; }
47434 fi
47435
47436 if test $DEPS_TRACKING = 1 ; then
47437
47438 D='$'
47439 cat <<EOF >bk-deps
47440 #!/bin/sh
47441
47442 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47443 # script. It is used to track C/C++ files dependencies in portable way.
47444 #
47445 # Permission is given to use this file in any way.
47446
47447 DEPSMODE=${DEPSMODE}
47448 DEPSDIR=.deps
47449 DEPSFLAG="${DEPSFLAG}"
47450
47451 mkdir -p ${D}DEPSDIR
47452
47453 if test ${D}DEPSMODE = gcc ; then
47454 ${D}* ${D}{DEPSFLAG}
47455 status=${D}?
47456 if test ${D}{status} != 0 ; then
47457 exit ${D}{status}
47458 fi
47459 # move created file to the location we want it in:
47460 while test ${D}# -gt 0; do
47461 case "${D}1" in
47462 -o )
47463 shift
47464 objfile=${D}1
47465 ;;
47466 -* )
47467 ;;
47468 * )
47469 srcfile=${D}1
47470 ;;
47471 esac
47472 shift
47473 done
47474 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47475 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47476 if test -f ${D}depfile ; then
47477 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47478 rm -f ${D}depfile
47479 else
47480 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47481 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47482 if test ! -f ${D}depfile ; then
47483 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47484 depfile="${D}objfile.d"
47485 fi
47486 if test -f ${D}depfile ; then
47487 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47488 rm -f ${D}depfile
47489 fi
47490 fi
47491 exit 0
47492 elif test ${D}DEPSMODE = mwcc ; then
47493 ${D}* || exit ${D}?
47494 # Run mwcc again with -MM and redirect into the dep file we want
47495 # NOTE: We can't use shift here because we need ${D}* to be valid
47496 prevarg=
47497 for arg in ${D}* ; do
47498 if test "${D}prevarg" = "-o"; then
47499 objfile=${D}arg
47500 else
47501 case "${D}arg" in
47502 -* )
47503 ;;
47504 * )
47505 srcfile=${D}arg
47506 ;;
47507 esac
47508 fi
47509 prevarg="${D}arg"
47510 done
47511 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47512 exit 0
47513 elif test ${D}DEPSMODE = unixcc; then
47514 ${D}* || exit ${D}?
47515 # Run compiler again with deps flag and redirect into the dep file.
47516 # It doesn't work if the '-o FILE' option is used, but without it the
47517 # dependency file will contain the wrong name for the object. So it is
47518 # removed from the command line, and the dep file is fixed with sed.
47519 cmd=""
47520 while test ${D}# -gt 0; do
47521 case "${D}1" in
47522 -o )
47523 shift
47524 objfile=${D}1
47525 ;;
47526 * )
47527 eval arg${D}#=\\${D}1
47528 cmd="${D}cmd \\${D}arg${D}#"
47529 ;;
47530 esac
47531 shift
47532 done
47533 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47534 exit 0
47535 else
47536 ${D}*
47537 exit ${D}?
47538 fi
47539 EOF
47540
47541 chmod +x bk-deps
47542 BK_DEPS="`pwd`/bk-deps"
47543 fi
47544 fi
47545
47546
47547
47548
47549
47550 case ${BAKEFILE_HOST} in
47551 *-*-cygwin* | *-*-mingw32* )
47552 if test -n "$ac_tool_prefix"; then
47553 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47554 set dummy ${ac_tool_prefix}windres; ac_word=$2
47555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47557 if test "${ac_cv_prog_WINDRES+set}" = set; then
47558 echo $ECHO_N "(cached) $ECHO_C" >&6
47559 else
47560 if test -n "$WINDRES"; then
47561 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47562 else
47563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47564 for as_dir in $PATH
47565 do
47566 IFS=$as_save_IFS
47567 test -z "$as_dir" && as_dir=.
47568 for ac_exec_ext in '' $ac_executable_extensions; do
47569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47570 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47572 break 2
47573 fi
47574 done
47575 done
47576 IFS=$as_save_IFS
47577
47578 fi
47579 fi
47580 WINDRES=$ac_cv_prog_WINDRES
47581 if test -n "$WINDRES"; then
47582 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47583 echo "${ECHO_T}$WINDRES" >&6; }
47584 else
47585 { echo "$as_me:$LINENO: result: no" >&5
47586 echo "${ECHO_T}no" >&6; }
47587 fi
47588
47589
47590 fi
47591 if test -z "$ac_cv_prog_WINDRES"; then
47592 ac_ct_WINDRES=$WINDRES
47593 # Extract the first word of "windres", so it can be a program name with args.
47594 set dummy windres; ac_word=$2
47595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47597 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47598 echo $ECHO_N "(cached) $ECHO_C" >&6
47599 else
47600 if test -n "$ac_ct_WINDRES"; then
47601 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47602 else
47603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47604 for as_dir in $PATH
47605 do
47606 IFS=$as_save_IFS
47607 test -z "$as_dir" && as_dir=.
47608 for ac_exec_ext in '' $ac_executable_extensions; do
47609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47610 ac_cv_prog_ac_ct_WINDRES="windres"
47611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47612 break 2
47613 fi
47614 done
47615 done
47616 IFS=$as_save_IFS
47617
47618 fi
47619 fi
47620 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47621 if test -n "$ac_ct_WINDRES"; then
47622 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47623 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47624 else
47625 { echo "$as_me:$LINENO: result: no" >&5
47626 echo "${ECHO_T}no" >&6; }
47627 fi
47628
47629 if test "x$ac_ct_WINDRES" = x; then
47630 WINDRES=""
47631 else
47632 case $cross_compiling:$ac_tool_warned in
47633 yes:)
47634 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47635 whose name does not start with the host triplet. If you think this
47636 configuration is useful to you, please write to autoconf@gnu.org." >&5
47637 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47638 whose name does not start with the host triplet. If you think this
47639 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47640 ac_tool_warned=yes ;;
47641 esac
47642 WINDRES=$ac_ct_WINDRES
47643 fi
47644 else
47645 WINDRES="$ac_cv_prog_WINDRES"
47646 fi
47647
47648 ;;
47649
47650 *-*-darwin* | powerpc-apple-macos* )
47651 # Extract the first word of "Rez", so it can be a program name with args.
47652 set dummy Rez; ac_word=$2
47653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47655 if test "${ac_cv_prog_REZ+set}" = set; then
47656 echo $ECHO_N "(cached) $ECHO_C" >&6
47657 else
47658 if test -n "$REZ"; then
47659 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47660 else
47661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47662 for as_dir in $PATH
47663 do
47664 IFS=$as_save_IFS
47665 test -z "$as_dir" && as_dir=.
47666 for ac_exec_ext in '' $ac_executable_extensions; do
47667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47668 ac_cv_prog_REZ="Rez"
47669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47670 break 2
47671 fi
47672 done
47673 done
47674 IFS=$as_save_IFS
47675
47676 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47677 fi
47678 fi
47679 REZ=$ac_cv_prog_REZ
47680 if test -n "$REZ"; then
47681 { echo "$as_me:$LINENO: result: $REZ" >&5
47682 echo "${ECHO_T}$REZ" >&6; }
47683 else
47684 { echo "$as_me:$LINENO: result: no" >&5
47685 echo "${ECHO_T}no" >&6; }
47686 fi
47687
47688
47689 # Extract the first word of "SetFile", so it can be a program name with args.
47690 set dummy SetFile; ac_word=$2
47691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47693 if test "${ac_cv_prog_SETFILE+set}" = set; then
47694 echo $ECHO_N "(cached) $ECHO_C" >&6
47695 else
47696 if test -n "$SETFILE"; then
47697 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47698 else
47699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47700 for as_dir in $PATH
47701 do
47702 IFS=$as_save_IFS
47703 test -z "$as_dir" && as_dir=.
47704 for ac_exec_ext in '' $ac_executable_extensions; do
47705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47706 ac_cv_prog_SETFILE="SetFile"
47707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47708 break 2
47709 fi
47710 done
47711 done
47712 IFS=$as_save_IFS
47713
47714 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47715 fi
47716 fi
47717 SETFILE=$ac_cv_prog_SETFILE
47718 if test -n "$SETFILE"; then
47719 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47720 echo "${ECHO_T}$SETFILE" >&6; }
47721 else
47722 { echo "$as_me:$LINENO: result: no" >&5
47723 echo "${ECHO_T}no" >&6; }
47724 fi
47725
47726
47727 ;;
47728 esac
47729
47730
47731
47732
47733
47734
47735 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47736
47737
47738 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47739
47740
47741
47742 # Check whether --enable-precomp-headers was given.
47743 if test "${enable_precomp_headers+set}" = set; then
47744 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47745 fi
47746
47747
47748 GCC_PCH=0
47749 ICC_PCH=0
47750 USE_PCH=0
47751 BK_MAKE_PCH=""
47752
47753 case ${BAKEFILE_HOST} in
47754 *-*-cygwin* )
47755 bk_use_pch="no"
47756 ;;
47757 esac
47758
47759 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47760 if test "x$GCC" = "xyes"; then
47761 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47762 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47763 cat >conftest.$ac_ext <<_ACEOF
47764 /* confdefs.h. */
47765 _ACEOF
47766 cat confdefs.h >>conftest.$ac_ext
47767 cat >>conftest.$ac_ext <<_ACEOF
47768 /* end confdefs.h. */
47769
47770 int
47771 main ()
47772 {
47773
47774 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47775 There is no PCH support
47776 #endif
47777 #if (__GNUC__ < 3)
47778 There is no PCH support
47779 #endif
47780 #if (__GNUC__ == 3) && \
47781 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47782 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47783 ( defined(__INTEL_COMPILER) )
47784 There is no PCH support
47785 #endif
47786
47787 ;
47788 return 0;
47789 }
47790 _ACEOF
47791 rm -f conftest.$ac_objext
47792 if { (ac_try="$ac_compile"
47793 case "(($ac_try" in
47794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47795 *) ac_try_echo=$ac_try;;
47796 esac
47797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47798 (eval "$ac_compile") 2>conftest.er1
47799 ac_status=$?
47800 grep -v '^ *+' conftest.er1 >conftest.err
47801 rm -f conftest.er1
47802 cat conftest.err >&5
47803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47804 (exit $ac_status); } && {
47805 test -z "$ac_c_werror_flag" ||
47806 test ! -s conftest.err
47807 } && test -s conftest.$ac_objext; then
47808
47809 { echo "$as_me:$LINENO: result: yes" >&5
47810 echo "${ECHO_T}yes" >&6; }
47811 GCC_PCH=1
47812
47813 else
47814 echo "$as_me: failed program was:" >&5
47815 sed 's/^/| /' conftest.$ac_ext >&5
47816
47817
47818 cat >conftest.$ac_ext <<_ACEOF
47819 /* confdefs.h. */
47820 _ACEOF
47821 cat confdefs.h >>conftest.$ac_ext
47822 cat >>conftest.$ac_ext <<_ACEOF
47823 /* end confdefs.h. */
47824
47825 int
47826 main ()
47827 {
47828
47829 #if !defined(__INTEL_COMPILER) || \
47830 (__INTEL_COMPILER < 800)
47831 There is no PCH support
47832 #endif
47833
47834 ;
47835 return 0;
47836 }
47837 _ACEOF
47838 rm -f conftest.$ac_objext
47839 if { (ac_try="$ac_compile"
47840 case "(($ac_try" in
47841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47842 *) ac_try_echo=$ac_try;;
47843 esac
47844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47845 (eval "$ac_compile") 2>conftest.er1
47846 ac_status=$?
47847 grep -v '^ *+' conftest.er1 >conftest.err
47848 rm -f conftest.er1
47849 cat conftest.err >&5
47850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47851 (exit $ac_status); } && {
47852 test -z "$ac_c_werror_flag" ||
47853 test ! -s conftest.err
47854 } && test -s conftest.$ac_objext; then
47855
47856 { echo "$as_me:$LINENO: result: yes" >&5
47857 echo "${ECHO_T}yes" >&6; }
47858 ICC_PCH=1
47859
47860 else
47861 echo "$as_me: failed program was:" >&5
47862 sed 's/^/| /' conftest.$ac_ext >&5
47863
47864
47865 { echo "$as_me:$LINENO: result: no" >&5
47866 echo "${ECHO_T}no" >&6; }
47867
47868 fi
47869
47870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47871
47872 fi
47873
47874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47875 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47876 USE_PCH=1
47877
47878 D='$'
47879 cat <<EOF >bk-make-pch
47880 #!/bin/sh
47881
47882 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47883 # script. It is used to generated precompiled headers.
47884 #
47885 # Permission is given to use this file in any way.
47886
47887 outfile="${D}{1}"
47888 header="${D}{2}"
47889 shift
47890 shift
47891
47892 compiler=""
47893 headerfile=""
47894
47895 while test ${D}{#} -gt 0; do
47896 add_to_cmdline=1
47897 case "${D}{1}" in
47898 -I* )
47899 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47900 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47901 headerfile="${D}{incdir}/${D}{header}"
47902 fi
47903 ;;
47904 -use-pch|-use_pch )
47905 shift
47906 add_to_cmdline=0
47907 ;;
47908 esac
47909 if test ${D}add_to_cmdline = 1 ; then
47910 compiler="${D}{compiler} ${D}{1}"
47911 fi
47912 shift
47913 done
47914
47915 if test "x${D}{headerfile}" = "x" ; then
47916 echo "error: can't find header ${D}{header} in include paths" >&2
47917 else
47918 if test -f ${D}{outfile} ; then
47919 rm -f ${D}{outfile}
47920 else
47921 mkdir -p \`dirname ${D}{outfile}\`
47922 fi
47923 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47924 mkdir -p .deps
47925 if test "x${GCC_PCH}" = "x1" ; then
47926 # can do this because gcc is >= 3.4:
47927 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47928 elif test "x${ICC_PCH}" = "x1" ; then
47929 filename=pch_gen-${D}${D}
47930 file=${D}{filename}.c
47931 dfile=${D}{filename}.d
47932 cat > ${D}file <<EOT
47933 #include "${D}header"
47934 EOT
47935 # using -MF icc complains about differing command lines in creation/use
47936 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47937 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47938 rm -f ${D}file ${D}dfile ${D}{filename}.o
47939 fi
47940 exit ${D}{?}
47941 fi
47942 EOF
47943
47944 chmod +x bk-make-pch
47945 BK_MAKE_PCH="`pwd`/bk-make-pch"
47946 fi
47947 fi
47948 fi
47949
47950
47951
47952
47953
47954 COND_BUILD_DEBUG="#"
47955 if test "x$BUILD" = "xdebug" ; then
47956 COND_BUILD_DEBUG=""
47957 fi
47958
47959 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47960 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47961 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47962 fi
47963
47964 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47965 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47966 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47967 fi
47968
47969 COND_BUILD_DEBUG_UNICODE_0="#"
47970 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47971 COND_BUILD_DEBUG_UNICODE_0=""
47972 fi
47973
47974 COND_BUILD_DEBUG_UNICODE_1="#"
47975 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47976 COND_BUILD_DEBUG_UNICODE_1=""
47977 fi
47978
47979 COND_BUILD_RELEASE="#"
47980 if test "x$BUILD" = "xrelease" ; then
47981 COND_BUILD_RELEASE=""
47982 fi
47983
47984 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47985 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47986 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47987 fi
47988
47989 COND_BUILD_RELEASE_UNICODE_0="#"
47990 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47991 COND_BUILD_RELEASE_UNICODE_0=""
47992 fi
47993
47994 COND_BUILD_RELEASE_UNICODE_1="#"
47995 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47996 COND_BUILD_RELEASE_UNICODE_1=""
47997 fi
47998
47999 COND_DEBUG_FLAG_1="#"
48000 if test "x$DEBUG_FLAG" = "x1" ; then
48001 COND_DEBUG_FLAG_1=""
48002 fi
48003
48004 COND_DEBUG_INFO_0="#"
48005 if test "x$DEBUG_INFO" = "x0" ; then
48006 COND_DEBUG_INFO_0=""
48007 fi
48008
48009 COND_DEBUG_INFO_1="#"
48010 if test "x$DEBUG_INFO" = "x1" ; then
48011 COND_DEBUG_INFO_1=""
48012 fi
48013
48014 COND_DEPS_TRACKING_0="#"
48015 if test "x$DEPS_TRACKING" = "x0" ; then
48016 COND_DEPS_TRACKING_0=""
48017 fi
48018
48019 COND_DEPS_TRACKING_1="#"
48020 if test "x$DEPS_TRACKING" = "x1" ; then
48021 COND_DEPS_TRACKING_1=""
48022 fi
48023
48024 COND_GCC_PCH_1="#"
48025 if test "x$GCC_PCH" = "x1" ; then
48026 COND_GCC_PCH_1=""
48027 fi
48028
48029 COND_ICC_PCH_1="#"
48030 if test "x$ICC_PCH" = "x1" ; then
48031 COND_ICC_PCH_1=""
48032 fi
48033
48034 COND_MONOLITHIC_0="#"
48035 if test "x$MONOLITHIC" = "x0" ; then
48036 COND_MONOLITHIC_0=""
48037 fi
48038
48039 COND_MONOLITHIC_0_SHARED_0="#"
48040 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48041 COND_MONOLITHIC_0_SHARED_0=""
48042 fi
48043
48044 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48045 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48046 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48047 fi
48048
48049 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48050 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48052 fi
48053
48054 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48055 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48056 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48057 fi
48058
48059 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48060 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48061 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48062 fi
48063
48064 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48065 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48066 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48067 fi
48068
48069 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48070 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48071 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48072 fi
48073
48074 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48075 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48076 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48077 fi
48078
48079 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48080 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48081 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48082 fi
48083
48084 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48085 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48086 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48087 fi
48088
48089 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48090 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48091 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48092 fi
48093
48094 COND_MONOLITHIC_0_SHARED_1="#"
48095 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48096 COND_MONOLITHIC_0_SHARED_1=""
48097 fi
48098
48099 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48100 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48101 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48102 fi
48103
48104 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48105 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48107 fi
48108
48109 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48110 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48111 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48112 fi
48113
48114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48115 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48116 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48117 fi
48118
48119 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48120 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48121 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48122 fi
48123
48124 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48125 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48126 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48127 fi
48128
48129 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48130 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48131 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48132 fi
48133
48134 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48135 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48136 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48137 fi
48138
48139 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48140 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48141 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48142 fi
48143
48144 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48145 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48146 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48147 fi
48148
48149 COND_MONOLITHIC_0_USE_AUI_1="#"
48150 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48151 COND_MONOLITHIC_0_USE_AUI_1=""
48152 fi
48153
48154 COND_MONOLITHIC_0_USE_GUI_1="#"
48155 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48156 COND_MONOLITHIC_0_USE_GUI_1=""
48157 fi
48158
48159 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48160 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48161 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48162 fi
48163
48164 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48165 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48166 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48167 fi
48168
48169 COND_MONOLITHIC_0_USE_HTML_1="#"
48170 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48171 COND_MONOLITHIC_0_USE_HTML_1=""
48172 fi
48173
48174 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48175 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48176 COND_MONOLITHIC_0_USE_MEDIA_1=""
48177 fi
48178
48179 COND_MONOLITHIC_0_USE_ODBC_1="#"
48180 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48181 COND_MONOLITHIC_0_USE_ODBC_1=""
48182 fi
48183
48184 COND_MONOLITHIC_0_USE_QA_1="#"
48185 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48186 COND_MONOLITHIC_0_USE_QA_1=""
48187 fi
48188
48189 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48190 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48191 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48192 fi
48193
48194 COND_MONOLITHIC_0_USE_STC_1="#"
48195 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48196 COND_MONOLITHIC_0_USE_STC_1=""
48197 fi
48198
48199 COND_MONOLITHIC_0_USE_XRC_1="#"
48200 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48201 COND_MONOLITHIC_0_USE_XRC_1=""
48202 fi
48203
48204 COND_MONOLITHIC_1="#"
48205 if test "x$MONOLITHIC" = "x1" ; then
48206 COND_MONOLITHIC_1=""
48207 fi
48208
48209 COND_MONOLITHIC_1_SHARED_0="#"
48210 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48211 COND_MONOLITHIC_1_SHARED_0=""
48212 fi
48213
48214 COND_MONOLITHIC_1_SHARED_1="#"
48215 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48216 COND_MONOLITHIC_1_SHARED_1=""
48217 fi
48218
48219 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48220 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48221 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48222 fi
48223
48224 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48225 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48226 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48227 fi
48228
48229 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48230 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48231 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48232 fi
48233
48234 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48235 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48236 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48237 fi
48238
48239 COND_PLATFORM_MACOSX_1="#"
48240 if test "x$PLATFORM_MACOSX" = "x1" ; then
48241 COND_PLATFORM_MACOSX_1=""
48242 fi
48243
48244 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48245 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48246 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48247 fi
48248
48249 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48250 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48251 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48252 fi
48253
48254 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48255 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48256 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48257 fi
48258
48259 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48260 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48261 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48262 fi
48263
48264 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48265 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48266 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48267 fi
48268
48269 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48270 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48271 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48272 fi
48273
48274 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48275 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48276 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48277 fi
48278
48279 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48280 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48281 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48282 fi
48283
48284 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48285 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48286 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48287 fi
48288
48289 COND_PLATFORM_MACOS_1="#"
48290 if test "x$PLATFORM_MACOS" = "x1" ; then
48291 COND_PLATFORM_MACOS_1=""
48292 fi
48293
48294 COND_PLATFORM_MAC_1="#"
48295 if test "x$PLATFORM_MAC" = "x1" ; then
48296 COND_PLATFORM_MAC_1=""
48297 fi
48298
48299 COND_PLATFORM_MSDOS_0="#"
48300 if test "x$PLATFORM_MSDOS" = "x0" ; then
48301 COND_PLATFORM_MSDOS_0=""
48302 fi
48303
48304 COND_PLATFORM_MSDOS_1="#"
48305 if test "x$PLATFORM_MSDOS" = "x1" ; then
48306 COND_PLATFORM_MSDOS_1=""
48307 fi
48308
48309 COND_PLATFORM_OS2_1="#"
48310 if test "x$PLATFORM_OS2" = "x1" ; then
48311 COND_PLATFORM_OS2_1=""
48312 fi
48313
48314 COND_PLATFORM_UNIX_0="#"
48315 if test "x$PLATFORM_UNIX" = "x0" ; then
48316 COND_PLATFORM_UNIX_0=""
48317 fi
48318
48319 COND_PLATFORM_UNIX_1="#"
48320 if test "x$PLATFORM_UNIX" = "x1" ; then
48321 COND_PLATFORM_UNIX_1=""
48322 fi
48323
48324 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48325 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48326 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48327 fi
48328
48329 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48330 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48331 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48332 fi
48333
48334 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48335 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48336 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48337 fi
48338
48339 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48340 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48341 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48342 fi
48343
48344 COND_PLATFORM_WIN32_0="#"
48345 if test "x$PLATFORM_WIN32" = "x0" ; then
48346 COND_PLATFORM_WIN32_0=""
48347 fi
48348
48349 COND_PLATFORM_WIN32_1="#"
48350 if test "x$PLATFORM_WIN32" = "x1" ; then
48351 COND_PLATFORM_WIN32_1=""
48352 fi
48353
48354 COND_SHARED_0="#"
48355 if test "x$SHARED" = "x0" ; then
48356 COND_SHARED_0=""
48357 fi
48358
48359 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48360 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48361 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48362 fi
48363
48364 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48365 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48366 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48367 fi
48368
48369 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48370 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48371 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48372 fi
48373
48374 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48375 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48376 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48377 fi
48378
48379 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48380 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48381 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48382 fi
48383
48384 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48385 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48386 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48387 fi
48388
48389 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48390 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48391 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48392 fi
48393
48394 COND_SHARED_0_USE_STC_1="#"
48395 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48396 COND_SHARED_0_USE_STC_1=""
48397 fi
48398
48399 COND_SHARED_0_USE_XRC_1="#"
48400 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48401 COND_SHARED_0_USE_XRC_1=""
48402 fi
48403
48404 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48405 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48406 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48407 fi
48408
48409 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48410 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48411 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48412 fi
48413
48414 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48415 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48416 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48417 fi
48418
48419 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48420 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48421 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48422 fi
48423
48424 COND_SHARED_1="#"
48425 if test "x$SHARED" = "x1" ; then
48426 COND_SHARED_1=""
48427 fi
48428
48429 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48430 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48431 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48432 fi
48433
48434 COND_SHARED_1_USE_XRC_1="#"
48435 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48436 COND_SHARED_1_USE_XRC_1=""
48437 fi
48438
48439 COND_TOOLKIT_="#"
48440 if test "x$TOOLKIT" = "x" ; then
48441 COND_TOOLKIT_=""
48442 fi
48443
48444 COND_TOOLKIT_COCOA="#"
48445 if test "x$TOOLKIT" = "xCOCOA" ; then
48446 COND_TOOLKIT_COCOA=""
48447 fi
48448
48449 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48450 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48451 COND_TOOLKIT_COCOA_USE_GUI_1=""
48452 fi
48453
48454 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48455 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48456 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48457 fi
48458
48459 COND_TOOLKIT_DFB="#"
48460 if test "x$TOOLKIT" = "xDFB" ; then
48461 COND_TOOLKIT_DFB=""
48462 fi
48463
48464 COND_TOOLKIT_DFB_USE_GUI_1="#"
48465 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48466 COND_TOOLKIT_DFB_USE_GUI_1=""
48467 fi
48468
48469 COND_TOOLKIT_GTK="#"
48470 if test "x$TOOLKIT" = "xGTK" ; then
48471 COND_TOOLKIT_GTK=""
48472 fi
48473
48474 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48475 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48476 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48477 fi
48478
48479 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48480 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48481 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48482 fi
48483
48484 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48485 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48486 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48487 fi
48488
48489 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48490 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48491 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48492 fi
48493
48494 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48495 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48496 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48497 fi
48498
48499 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48500 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48501 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48502 fi
48503
48504 COND_TOOLKIT_GTK_USE_GUI_1="#"
48505 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48506 COND_TOOLKIT_GTK_USE_GUI_1=""
48507 fi
48508
48509 COND_TOOLKIT_MAC="#"
48510 if test "x$TOOLKIT" = "xMAC" ; then
48511 COND_TOOLKIT_MAC=""
48512 fi
48513
48514 COND_TOOLKIT_MAC_USE_GUI_1="#"
48515 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48516 COND_TOOLKIT_MAC_USE_GUI_1=""
48517 fi
48518
48519 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48520 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48521 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48522 fi
48523
48524 COND_TOOLKIT_MGL="#"
48525 if test "x$TOOLKIT" = "xMGL" ; then
48526 COND_TOOLKIT_MGL=""
48527 fi
48528
48529 COND_TOOLKIT_MGL_USE_GUI_1="#"
48530 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48531 COND_TOOLKIT_MGL_USE_GUI_1=""
48532 fi
48533
48534 COND_TOOLKIT_MOTIF="#"
48535 if test "x$TOOLKIT" = "xMOTIF" ; then
48536 COND_TOOLKIT_MOTIF=""
48537 fi
48538
48539 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48540 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48541 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48542 fi
48543
48544 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48545 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48546 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48547 fi
48548
48549 COND_TOOLKIT_MSW="#"
48550 if test "x$TOOLKIT" = "xMSW" ; then
48551 COND_TOOLKIT_MSW=""
48552 fi
48553
48554 COND_TOOLKIT_MSW_USE_GUI_1="#"
48555 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48556 COND_TOOLKIT_MSW_USE_GUI_1=""
48557 fi
48558
48559 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48560 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48561 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48562 fi
48563
48564 COND_TOOLKIT_MSW_WXUNIV_0="#"
48565 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48566 COND_TOOLKIT_MSW_WXUNIV_0=""
48567 fi
48568
48569 COND_TOOLKIT_PM="#"
48570 if test "x$TOOLKIT" = "xPM" ; then
48571 COND_TOOLKIT_PM=""
48572 fi
48573
48574 COND_TOOLKIT_PM_USE_GUI_1="#"
48575 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48576 COND_TOOLKIT_PM_USE_GUI_1=""
48577 fi
48578
48579 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48580 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48581 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48582 fi
48583
48584 COND_TOOLKIT_WINCE="#"
48585 if test "x$TOOLKIT" = "xWINCE" ; then
48586 COND_TOOLKIT_WINCE=""
48587 fi
48588
48589 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48590 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48591 COND_TOOLKIT_WINCE_USE_GUI_1=""
48592 fi
48593
48594 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48595 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48596 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48597 fi
48598
48599 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48600 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48601 COND_TOOLKIT_WINCE_WXUNIV_0=""
48602 fi
48603
48604 COND_TOOLKIT_X11="#"
48605 if test "x$TOOLKIT" = "xX11" ; then
48606 COND_TOOLKIT_X11=""
48607 fi
48608
48609 COND_TOOLKIT_X11_USE_GUI_1="#"
48610 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48611 COND_TOOLKIT_X11_USE_GUI_1=""
48612 fi
48613
48614 COND_UNICODE_1="#"
48615 if test "x$UNICODE" = "x1" ; then
48616 COND_UNICODE_1=""
48617 fi
48618
48619 COND_USE_EXCEPTIONS_0="#"
48620 if test "x$USE_EXCEPTIONS" = "x0" ; then
48621 COND_USE_EXCEPTIONS_0=""
48622 fi
48623
48624 COND_USE_EXCEPTIONS_1="#"
48625 if test "x$USE_EXCEPTIONS" = "x1" ; then
48626 COND_USE_EXCEPTIONS_1=""
48627 fi
48628
48629 COND_USE_GUI_0="#"
48630 if test "x$USE_GUI" = "x0" ; then
48631 COND_USE_GUI_0=""
48632 fi
48633
48634 COND_USE_GUI_1="#"
48635 if test "x$USE_GUI" = "x1" ; then
48636 COND_USE_GUI_1=""
48637 fi
48638
48639 COND_USE_GUI_1_USE_OPENGL_1="#"
48640 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48641 COND_USE_GUI_1_USE_OPENGL_1=""
48642 fi
48643
48644 COND_USE_GUI_1_WXUNIV_0="#"
48645 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48646 COND_USE_GUI_1_WXUNIV_0=""
48647 fi
48648
48649 COND_USE_GUI_1_WXUNIV_1="#"
48650 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48651 COND_USE_GUI_1_WXUNIV_1=""
48652 fi
48653
48654 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48655 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48656 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48657 fi
48658
48659 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48660 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48661 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48662 fi
48663
48664 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48665 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48666 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48667 fi
48668
48669 COND_USE_ODBC_1="#"
48670 if test "x$USE_ODBC" = "x1" ; then
48671 COND_USE_ODBC_1=""
48672 fi
48673
48674 COND_USE_OPENGL_1="#"
48675 if test "x$USE_OPENGL" = "x1" ; then
48676 COND_USE_OPENGL_1=""
48677 fi
48678
48679 COND_USE_PCH_1="#"
48680 if test "x$USE_PCH" = "x1" ; then
48681 COND_USE_PCH_1=""
48682 fi
48683
48684 COND_USE_PLUGINS_0="#"
48685 if test "x$USE_PLUGINS" = "x0" ; then
48686 COND_USE_PLUGINS_0=""
48687 fi
48688
48689 COND_USE_RTTI_0="#"
48690 if test "x$USE_RTTI" = "x0" ; then
48691 COND_USE_RTTI_0=""
48692 fi
48693
48694 COND_USE_RTTI_1="#"
48695 if test "x$USE_RTTI" = "x1" ; then
48696 COND_USE_RTTI_1=""
48697 fi
48698
48699 COND_USE_SOSYMLINKS_1="#"
48700 if test "x$USE_SOSYMLINKS" = "x1" ; then
48701 COND_USE_SOSYMLINKS_1=""
48702 fi
48703
48704 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48705 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48706 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48707 fi
48708
48709 COND_USE_SOVERLINUX_1="#"
48710 if test "x$USE_SOVERLINUX" = "x1" ; then
48711 COND_USE_SOVERLINUX_1=""
48712 fi
48713
48714 COND_USE_SOVERSION_0="#"
48715 if test "x$USE_SOVERSION" = "x0" ; then
48716 COND_USE_SOVERSION_0=""
48717 fi
48718
48719 COND_USE_SOVERSOLARIS_1="#"
48720 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48721 COND_USE_SOVERSOLARIS_1=""
48722 fi
48723
48724 COND_USE_STC_1="#"
48725 if test "x$USE_STC" = "x1" ; then
48726 COND_USE_STC_1=""
48727 fi
48728
48729 COND_USE_THREADS_0="#"
48730 if test "x$USE_THREADS" = "x0" ; then
48731 COND_USE_THREADS_0=""
48732 fi
48733
48734 COND_USE_THREADS_1="#"
48735 if test "x$USE_THREADS" = "x1" ; then
48736 COND_USE_THREADS_1=""
48737 fi
48738
48739 COND_USE_XRC_1="#"
48740 if test "x$USE_XRC" = "x1" ; then
48741 COND_USE_XRC_1=""
48742 fi
48743
48744 COND_WINDOWS_IMPLIB_1="#"
48745 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48746 COND_WINDOWS_IMPLIB_1=""
48747 fi
48748
48749 COND_WITH_PLUGIN_SDL_1="#"
48750 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48751 COND_WITH_PLUGIN_SDL_1=""
48752 fi
48753
48754 COND_WXUNIV_0="#"
48755 if test "x$WXUNIV" = "x0" ; then
48756 COND_WXUNIV_0=""
48757 fi
48758
48759 COND_WXUNIV_1="#"
48760 if test "x$WXUNIV" = "x1" ; then
48761 COND_WXUNIV_1=""
48762 fi
48763
48764 COND_WXUSE_EXPAT_BUILTIN="#"
48765 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48766 COND_WXUSE_EXPAT_BUILTIN=""
48767 fi
48768
48769 COND_WXUSE_LIBJPEG_BUILTIN="#"
48770 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48771 COND_WXUSE_LIBJPEG_BUILTIN=""
48772 fi
48773
48774 COND_WXUSE_LIBPNG_BUILTIN="#"
48775 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48776 COND_WXUSE_LIBPNG_BUILTIN=""
48777 fi
48778
48779 COND_WXUSE_LIBTIFF_BUILTIN="#"
48780 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48781 COND_WXUSE_LIBTIFF_BUILTIN=""
48782 fi
48783
48784 COND_WXUSE_ODBC_BUILTIN="#"
48785 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48786 COND_WXUSE_ODBC_BUILTIN=""
48787 fi
48788
48789 COND_WXUSE_REGEX_BUILTIN="#"
48790 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48791 COND_WXUSE_REGEX_BUILTIN=""
48792 fi
48793
48794 COND_WXUSE_ZLIB_BUILTIN="#"
48795 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48796 COND_WXUSE_ZLIB_BUILTIN=""
48797 fi
48798
48799
48800
48801 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48802 { { 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
48803 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;}
48804 { (exit 1); exit 1; }; }
48805 fi
48806
48807 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48808 { { 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
48809 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;}
48810 { (exit 1); exit 1; }; }
48811 fi
48812
48813
48814 if test $GCC_PCH = 1
48815 then
48816 if test "$wx_cv_gcc_pch_bug" = yes; then
48817 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48818 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48819 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48820 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48821 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48822 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48823 fi
48824
48825 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48826 fi
48827
48828
48829 if test "$wxUSE_MAC" = 1 ; then
48830 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48831 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48832 mv temp bk-deps
48833 chmod +x bk-deps
48834 fi
48835 fi
48836
48837 if test "$wxUSE_SHARED" = "yes"; then
48838
48839 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48840 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48841
48842 case "${host}" in
48843 *-pc-os2_emx | *-pc-os2-emx )
48844 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48845 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48846 cp -p ${srcdir}/src/os2/dllnames.sh .
48847 cp -p ${srcdir}/src/os2/dllar.sh .
48848 ;;
48849 esac
48850 else
48851
48852 EXE_LINKER="$CXX -o"
48853
48854 fi
48855 if test "$wxUSE_OMF" = "yes"; then
48856 case "${host}" in
48857 *-pc-os2_emx | *-pc-os2-emx )
48858 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48859 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48860 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48861 ;;
48862 esac
48863 fi
48864
48865 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48866
48867 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880
48881
48882
48883
48884
48885
48886
48887
48888
48889
48890
48891
48892
48893
48894
48895
48896
48897
48898
48899
48900
48901
48902
48903
48904
48905
48906
48907
48908
48909
48910
48911
48912
48913
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925
48926
48927
48928
48929 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48930 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48931 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48932 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48934 else
48935 cat >conftest.make <<\_ACEOF
48936 SHELL = /bin/sh
48937 all:
48938 @echo '@@@%%%=$(MAKE)=@@@%%%'
48939 _ACEOF
48940 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48941 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48942 *@@@%%%=?*=@@@%%%*)
48943 eval ac_cv_prog_make_${ac_make}_set=yes;;
48944 *)
48945 eval ac_cv_prog_make_${ac_make}_set=no;;
48946 esac
48947 rm -f conftest.make
48948 fi
48949 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48950 { echo "$as_me:$LINENO: result: yes" >&5
48951 echo "${ECHO_T}yes" >&6; }
48952 SET_MAKE=
48953 else
48954 { echo "$as_me:$LINENO: result: no" >&5
48955 echo "${ECHO_T}no" >&6; }
48956 SET_MAKE="MAKE=${MAKE-make}"
48957 fi
48958
48959
48960
48961 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48962
48963
48964 if test "$USE_WIN32" = 1; then
48965 ac_config_commands="$ac_config_commands
48966 rcdefs.h
48967 "
48968
48969 fi
48970
48971 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48972
48973
48974 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48975
48976
48977 if test "$wx_cv_version_script" = "yes"; then
48978 ac_config_files="$ac_config_files version-script"
48979
48980 fi
48981 ac_config_files="$ac_config_files Makefile"
48982
48983
48984 ac_config_commands="$ac_config_commands wx-config"
48985
48986
48987
48988 if test "$wxWITH_SUBDIRS" != "no"; then
48989 if test "$wxUSE_GUI" = "yes"; then
48990 SUBDIRS="samples demos utils"
48991 else SUBDIRS="samples utils"
48992 fi
48993
48994
48995
48996 # Check whether --with-cppunit-prefix was given.
48997 if test "${with_cppunit_prefix+set}" = set; then
48998 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48999 else
49000 cppunit_config_prefix=""
49001 fi
49002
49003
49004 # Check whether --with-cppunit-exec-prefix was given.
49005 if test "${with_cppunit_exec_prefix+set}" = set; then
49006 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49007 else
49008 cppunit_config_exec_prefix=""
49009 fi
49010
49011
49012 if test x$cppunit_config_exec_prefix != x ; then
49013 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49014 if test x${CPPUNIT_CONFIG+set} != xset ; then
49015 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49016 fi
49017 fi
49018 if test x$cppunit_config_prefix != x ; then
49019 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49020 if test x${CPPUNIT_CONFIG+set} != xset ; then
49021 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49022 fi
49023 fi
49024
49025 # Extract the first word of "cppunit-config", so it can be a program name with args.
49026 set dummy cppunit-config; ac_word=$2
49027 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49029 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49030 echo $ECHO_N "(cached) $ECHO_C" >&6
49031 else
49032 case $CPPUNIT_CONFIG in
49033 [\\/]* | ?:[\\/]*)
49034 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49035 ;;
49036 *)
49037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49038 for as_dir in $PATH
49039 do
49040 IFS=$as_save_IFS
49041 test -z "$as_dir" && as_dir=.
49042 for ac_exec_ext in '' $ac_executable_extensions; do
49043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49044 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49046 break 2
49047 fi
49048 done
49049 done
49050 IFS=$as_save_IFS
49051
49052 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49053 ;;
49054 esac
49055 fi
49056 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49057 if test -n "$CPPUNIT_CONFIG"; then
49058 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49059 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49060 else
49061 { echo "$as_me:$LINENO: result: no" >&5
49062 echo "${ECHO_T}no" >&6; }
49063 fi
49064
49065
49066 cppunit_version_min=1.8.0
49067
49068 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49069 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49070 no_cppunit=""
49071 if test "$CPPUNIT_CONFIG" = "no" ; then
49072 { echo "$as_me:$LINENO: result: no" >&5
49073 echo "${ECHO_T}no" >&6; }
49074 no_cppunit=yes
49075 else
49076 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49077 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49078 cppunit_version=`$CPPUNIT_CONFIG --version`
49079
49080 cppunit_major_version=`echo $cppunit_version | \
49081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49082 cppunit_minor_version=`echo $cppunit_version | \
49083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49084 cppunit_micro_version=`echo $cppunit_version | \
49085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49086
49087 cppunit_major_min=`echo $cppunit_version_min | \
49088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49089 cppunit_minor_min=`echo $cppunit_version_min | \
49090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49091 cppunit_micro_min=`echo $cppunit_version_min | \
49092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49093
49094 cppunit_version_proper=`expr \
49095 $cppunit_major_version \> $cppunit_major_min \| \
49096 $cppunit_major_version \= $cppunit_major_min \& \
49097 $cppunit_minor_version \> $cppunit_minor_min \| \
49098 $cppunit_major_version \= $cppunit_major_min \& \
49099 $cppunit_minor_version \= $cppunit_minor_min \& \
49100 $cppunit_micro_version \>= $cppunit_micro_min `
49101
49102 if test "$cppunit_version_proper" = "1" ; then
49103 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49104 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49105 else
49106 { echo "$as_me:$LINENO: result: no" >&5
49107 echo "${ECHO_T}no" >&6; }
49108 no_cppunit=yes
49109 fi
49110 fi
49111
49112 if test "x$no_cppunit" = x ; then
49113 SUBDIRS="$SUBDIRS tests"
49114 else
49115 CPPUNIT_CFLAGS=""
49116 CPPUNIT_LIBS=""
49117 :
49118 fi
49119
49120
49121
49122
49123
49124 for subdir in `echo $SUBDIRS`; do
49125 if test -d ${srcdir}/${subdir} ; then
49126 if test "$wxUSE_GUI" = "yes"; then
49127 if test ${subdir} = "samples"; then
49128 makefiles="samples/Makefile.in $makefiles"
49129 for sample in `echo $SAMPLES_SUBDIRS`; do
49130 if test -d $srcdir/samples/$sample; then
49131 makefiles="samples/$sample/Makefile.in $makefiles"
49132 fi
49133 done
49134 else
49135 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49136 eval "disabled=\$$disabled_var"
49137 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49138 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49139 fi
49140 else if test ${subdir} = "samples"; then
49141 makefiles="samples/Makefile.in samples/console/Makefile.in"
49142 elif test ${subdir} = "utils"; then
49143 makefiles=""
49144 for util in HelpGen tex2rtf ; do
49145 if test -d $srcdir/utils/$util ; then
49146 makefiles="utils/$util/Makefile.in \
49147 utils/$util/src/Makefile.in \
49148 $makefiles"
49149 fi
49150 done
49151 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49152 fi
49153 fi
49154
49155 for mkin in $makefiles ; do
49156 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49157 ac_config_files="$ac_config_files $mk"
49158
49159 done
49160 fi
49161 done
49162 fi
49163 cat >confcache <<\_ACEOF
49164 # This file is a shell script that caches the results of configure
49165 # tests run on this system so they can be shared between configure
49166 # scripts and configure runs, see configure's option --config-cache.
49167 # It is not useful on other systems. If it contains results you don't
49168 # want to keep, you may remove or edit it.
49169 #
49170 # config.status only pays attention to the cache file if you give it
49171 # the --recheck option to rerun configure.
49172 #
49173 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49174 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49175 # following values.
49176
49177 _ACEOF
49178
49179 # The following way of writing the cache mishandles newlines in values,
49180 # but we know of no workaround that is simple, portable, and efficient.
49181 # So, we kill variables containing newlines.
49182 # Ultrix sh set writes to stderr and can't be redirected directly,
49183 # and sets the high bit in the cache file unless we assign to the vars.
49184 (
49185 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49186 eval ac_val=\$$ac_var
49187 case $ac_val in #(
49188 *${as_nl}*)
49189 case $ac_var in #(
49190 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49191 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49192 esac
49193 case $ac_var in #(
49194 _ | IFS | as_nl) ;; #(
49195 *) $as_unset $ac_var ;;
49196 esac ;;
49197 esac
49198 done
49199
49200 (set) 2>&1 |
49201 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49202 *${as_nl}ac_space=\ *)
49203 # `set' does not quote correctly, so add quotes (double-quote
49204 # substitution turns \\\\ into \\, and sed turns \\ into \).
49205 sed -n \
49206 "s/'/'\\\\''/g;
49207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49208 ;; #(
49209 *)
49210 # `set' quotes correctly as required by POSIX, so do not add quotes.
49211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49212 ;;
49213 esac |
49214 sort
49215 ) |
49216 sed '
49217 /^ac_cv_env_/b end
49218 t clear
49219 :clear
49220 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49221 t end
49222 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49223 :end' >>confcache
49224 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49225 if test -w "$cache_file"; then
49226 test "x$cache_file" != "x/dev/null" &&
49227 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49228 echo "$as_me: updating cache $cache_file" >&6;}
49229 cat confcache >$cache_file
49230 else
49231 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49232 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49233 fi
49234 fi
49235 rm -f confcache
49236
49237 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49238 # Let make expand exec_prefix.
49239 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49240
49241 DEFS=-DHAVE_CONFIG_H
49242
49243 ac_libobjs=
49244 ac_ltlibobjs=
49245 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49246 # 1. Remove the extension, and $U if already installed.
49247 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49248 ac_i=`echo "$ac_i" | sed "$ac_script"`
49249 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49250 # will be set to the directory where LIBOBJS objects are built.
49251 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49252 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49253 done
49254 LIBOBJS=$ac_libobjs
49255
49256 LTLIBOBJS=$ac_ltlibobjs
49257
49258
49259
49260 : ${CONFIG_STATUS=./config.status}
49261 ac_clean_files_save=$ac_clean_files
49262 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49263 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49264 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49265 cat >$CONFIG_STATUS <<_ACEOF
49266 #! $SHELL
49267 # Generated by $as_me.
49268 # Run this file to recreate the current configuration.
49269 # Compiler output produced by configure, useful for debugging
49270 # configure, is in config.log if it exists.
49271
49272 debug=false
49273 ac_cs_recheck=false
49274 ac_cs_silent=false
49275 SHELL=\${CONFIG_SHELL-$SHELL}
49276 _ACEOF
49277
49278 cat >>$CONFIG_STATUS <<\_ACEOF
49279 ## --------------------- ##
49280 ## M4sh Initialization. ##
49281 ## --------------------- ##
49282
49283 # Be more Bourne compatible
49284 DUALCASE=1; export DUALCASE # for MKS sh
49285 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49286 emulate sh
49287 NULLCMD=:
49288 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49289 # is contrary to our usage. Disable this feature.
49290 alias -g '${1+"$@"}'='"$@"'
49291 setopt NO_GLOB_SUBST
49292 else
49293 case `(set -o) 2>/dev/null` in
49294 *posix*) set -o posix ;;
49295 esac
49296
49297 fi
49298
49299
49300
49301
49302 # PATH needs CR
49303 # Avoid depending upon Character Ranges.
49304 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49305 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49306 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49307 as_cr_digits='0123456789'
49308 as_cr_alnum=$as_cr_Letters$as_cr_digits
49309
49310 # The user is always right.
49311 if test "${PATH_SEPARATOR+set}" != set; then
49312 echo "#! /bin/sh" >conf$$.sh
49313 echo "exit 0" >>conf$$.sh
49314 chmod +x conf$$.sh
49315 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49316 PATH_SEPARATOR=';'
49317 else
49318 PATH_SEPARATOR=:
49319 fi
49320 rm -f conf$$.sh
49321 fi
49322
49323 # Support unset when possible.
49324 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49325 as_unset=unset
49326 else
49327 as_unset=false
49328 fi
49329
49330
49331 # IFS
49332 # We need space, tab and new line, in precisely that order. Quoting is
49333 # there to prevent editors from complaining about space-tab.
49334 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49335 # splitting by setting IFS to empty value.)
49336 as_nl='
49337 '
49338 IFS=" "" $as_nl"
49339
49340 # Find who we are. Look in the path if we contain no directory separator.
49341 case $0 in
49342 *[\\/]* ) as_myself=$0 ;;
49343 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49344 for as_dir in $PATH
49345 do
49346 IFS=$as_save_IFS
49347 test -z "$as_dir" && as_dir=.
49348 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49349 done
49350 IFS=$as_save_IFS
49351
49352 ;;
49353 esac
49354 # We did not find ourselves, most probably we were run as `sh COMMAND'
49355 # in which case we are not to be found in the path.
49356 if test "x$as_myself" = x; then
49357 as_myself=$0
49358 fi
49359 if test ! -f "$as_myself"; then
49360 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49361 { (exit 1); exit 1; }
49362 fi
49363
49364 # Work around bugs in pre-3.0 UWIN ksh.
49365 for as_var in ENV MAIL MAILPATH
49366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49367 done
49368 PS1='$ '
49369 PS2='> '
49370 PS4='+ '
49371
49372 # NLS nuisances.
49373 for as_var in \
49374 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49375 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49376 LC_TELEPHONE LC_TIME
49377 do
49378 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49379 eval $as_var=C; export $as_var
49380 else
49381 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49382 fi
49383 done
49384
49385 # Required to use basename.
49386 if expr a : '\(a\)' >/dev/null 2>&1 &&
49387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49388 as_expr=expr
49389 else
49390 as_expr=false
49391 fi
49392
49393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49394 as_basename=basename
49395 else
49396 as_basename=false
49397 fi
49398
49399
49400 # Name of the executable.
49401 as_me=`$as_basename -- "$0" ||
49402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49403 X"$0" : 'X\(//\)$' \| \
49404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49405 echo X/"$0" |
49406 sed '/^.*\/\([^/][^/]*\)\/*$/{
49407 s//\1/
49408 q
49409 }
49410 /^X\/\(\/\/\)$/{
49411 s//\1/
49412 q
49413 }
49414 /^X\/\(\/\).*/{
49415 s//\1/
49416 q
49417 }
49418 s/.*/./; q'`
49419
49420 # CDPATH.
49421 $as_unset CDPATH
49422
49423
49424
49425 as_lineno_1=$LINENO
49426 as_lineno_2=$LINENO
49427 test "x$as_lineno_1" != "x$as_lineno_2" &&
49428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49429
49430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49431 # uniformly replaced by the line number. The first 'sed' inserts a
49432 # line-number line after each line using $LINENO; the second 'sed'
49433 # does the real work. The second script uses 'N' to pair each
49434 # line-number line with the line containing $LINENO, and appends
49435 # trailing '-' during substitution so that $LINENO is not a special
49436 # case at line end.
49437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49438 # scripts with optimization help from Paolo Bonzini. Blame Lee
49439 # E. McMahon (1931-1989) for sed's syntax. :-)
49440 sed -n '
49441 p
49442 /[$]LINENO/=
49443 ' <$as_myself |
49444 sed '
49445 s/[$]LINENO.*/&-/
49446 t lineno
49447 b
49448 :lineno
49449 N
49450 :loop
49451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49452 t loop
49453 s/-\n.*//
49454 ' >$as_me.lineno &&
49455 chmod +x "$as_me.lineno" ||
49456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49457 { (exit 1); exit 1; }; }
49458
49459 # Don't try to exec as it changes $[0], causing all sort of problems
49460 # (the dirname of $[0] is not the place where we might find the
49461 # original and so on. Autoconf is especially sensitive to this).
49462 . "./$as_me.lineno"
49463 # Exit status is that of the last command.
49464 exit
49465 }
49466
49467
49468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49469 as_dirname=dirname
49470 else
49471 as_dirname=false
49472 fi
49473
49474 ECHO_C= ECHO_N= ECHO_T=
49475 case `echo -n x` in
49476 -n*)
49477 case `echo 'x\c'` in
49478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49479 *) ECHO_C='\c';;
49480 esac;;
49481 *)
49482 ECHO_N='-n';;
49483 esac
49484
49485 if expr a : '\(a\)' >/dev/null 2>&1 &&
49486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49487 as_expr=expr
49488 else
49489 as_expr=false
49490 fi
49491
49492 rm -f conf$$ conf$$.exe conf$$.file
49493 if test -d conf$$.dir; then
49494 rm -f conf$$.dir/conf$$.file
49495 else
49496 rm -f conf$$.dir
49497 mkdir conf$$.dir
49498 fi
49499 echo >conf$$.file
49500 if ln -s conf$$.file conf$$ 2>/dev/null; then
49501 as_ln_s='ln -s'
49502 # ... but there are two gotchas:
49503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49505 # In both cases, we have to default to `cp -p'.
49506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49507 as_ln_s='cp -p'
49508 elif ln conf$$.file conf$$ 2>/dev/null; then
49509 as_ln_s=ln
49510 else
49511 as_ln_s='cp -p'
49512 fi
49513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49514 rmdir conf$$.dir 2>/dev/null
49515
49516 if mkdir -p . 2>/dev/null; then
49517 as_mkdir_p=:
49518 else
49519 test -d ./-p && rmdir ./-p
49520 as_mkdir_p=false
49521 fi
49522
49523 if test -x / >/dev/null 2>&1; then
49524 as_test_x='test -x'
49525 else
49526 if ls -dL / >/dev/null 2>&1; then
49527 as_ls_L_option=L
49528 else
49529 as_ls_L_option=
49530 fi
49531 as_test_x='
49532 eval sh -c '\''
49533 if test -d "$1"; then
49534 test -d "$1/.";
49535 else
49536 case $1 in
49537 -*)set "./$1";;
49538 esac;
49539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49540 ???[sx]*):;;*)false;;esac;fi
49541 '\'' sh
49542 '
49543 fi
49544 as_executable_p=$as_test_x
49545
49546 # Sed expression to map a string onto a valid CPP name.
49547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49548
49549 # Sed expression to map a string onto a valid variable name.
49550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49551
49552
49553 exec 6>&1
49554
49555 # Save the log message, to keep $[0] and so on meaningful, and to
49556 # report actual input values of CONFIG_FILES etc. instead of their
49557 # values after options handling.
49558 ac_log="
49559 This file was extended by wxWidgets $as_me 2.9.0, which was
49560 generated by GNU Autoconf 2.61. Invocation command line was
49561
49562 CONFIG_FILES = $CONFIG_FILES
49563 CONFIG_HEADERS = $CONFIG_HEADERS
49564 CONFIG_LINKS = $CONFIG_LINKS
49565 CONFIG_COMMANDS = $CONFIG_COMMANDS
49566 $ $0 $@
49567
49568 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49569 "
49570
49571 _ACEOF
49572
49573 cat >>$CONFIG_STATUS <<_ACEOF
49574 # Files that config.status was made for.
49575 config_files="$ac_config_files"
49576 config_headers="$ac_config_headers"
49577 config_commands="$ac_config_commands"
49578
49579 _ACEOF
49580
49581 cat >>$CONFIG_STATUS <<\_ACEOF
49582 ac_cs_usage="\
49583 \`$as_me' instantiates files from templates according to the
49584 current configuration.
49585
49586 Usage: $0 [OPTIONS] [FILE]...
49587
49588 -h, --help print this help, then exit
49589 -V, --version print version number and configuration settings, then exit
49590 -q, --quiet do not print progress messages
49591 -d, --debug don't remove temporary files
49592 --recheck update $as_me by reconfiguring in the same conditions
49593 --file=FILE[:TEMPLATE]
49594 instantiate the configuration file FILE
49595 --header=FILE[:TEMPLATE]
49596 instantiate the configuration header FILE
49597
49598 Configuration files:
49599 $config_files
49600
49601 Configuration headers:
49602 $config_headers
49603
49604 Configuration commands:
49605 $config_commands
49606
49607 Report bugs to <bug-autoconf@gnu.org>."
49608
49609 _ACEOF
49610 cat >>$CONFIG_STATUS <<_ACEOF
49611 ac_cs_version="\\
49612 wxWidgets config.status 2.9.0
49613 configured by $0, generated by GNU Autoconf 2.61,
49614 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49615
49616 Copyright (C) 2006 Free Software Foundation, Inc.
49617 This config.status script is free software; the Free Software Foundation
49618 gives unlimited permission to copy, distribute and modify it."
49619
49620 ac_pwd='$ac_pwd'
49621 srcdir='$srcdir'
49622 INSTALL='$INSTALL'
49623 _ACEOF
49624
49625 cat >>$CONFIG_STATUS <<\_ACEOF
49626 # If no file are specified by the user, then we need to provide default
49627 # value. By we need to know if files were specified by the user.
49628 ac_need_defaults=:
49629 while test $# != 0
49630 do
49631 case $1 in
49632 --*=*)
49633 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49634 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49635 ac_shift=:
49636 ;;
49637 *)
49638 ac_option=$1
49639 ac_optarg=$2
49640 ac_shift=shift
49641 ;;
49642 esac
49643
49644 case $ac_option in
49645 # Handling of the options.
49646 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49647 ac_cs_recheck=: ;;
49648 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49649 echo "$ac_cs_version"; exit ;;
49650 --debug | --debu | --deb | --de | --d | -d )
49651 debug=: ;;
49652 --file | --fil | --fi | --f )
49653 $ac_shift
49654 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49655 ac_need_defaults=false;;
49656 --header | --heade | --head | --hea )
49657 $ac_shift
49658 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49659 ac_need_defaults=false;;
49660 --he | --h)
49661 # Conflict between --help and --header
49662 { echo "$as_me: error: ambiguous option: $1
49663 Try \`$0 --help' for more information." >&2
49664 { (exit 1); exit 1; }; };;
49665 --help | --hel | -h )
49666 echo "$ac_cs_usage"; exit ;;
49667 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49668 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49669 ac_cs_silent=: ;;
49670
49671 # This is an error.
49672 -*) { echo "$as_me: error: unrecognized option: $1
49673 Try \`$0 --help' for more information." >&2
49674 { (exit 1); exit 1; }; } ;;
49675
49676 *) ac_config_targets="$ac_config_targets $1"
49677 ac_need_defaults=false ;;
49678
49679 esac
49680 shift
49681 done
49682
49683 ac_configure_extra_args=
49684
49685 if $ac_cs_silent; then
49686 exec 6>/dev/null
49687 ac_configure_extra_args="$ac_configure_extra_args --silent"
49688 fi
49689
49690 _ACEOF
49691 cat >>$CONFIG_STATUS <<_ACEOF
49692 if \$ac_cs_recheck; then
49693 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49694 CONFIG_SHELL=$SHELL
49695 export CONFIG_SHELL
49696 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49697 fi
49698
49699 _ACEOF
49700 cat >>$CONFIG_STATUS <<\_ACEOF
49701 exec 5>>config.log
49702 {
49703 echo
49704 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49705 ## Running $as_me. ##
49706 _ASBOX
49707 echo "$ac_log"
49708 } >&5
49709
49710 _ACEOF
49711 cat >>$CONFIG_STATUS <<_ACEOF
49712 #
49713 # INIT-COMMANDS
49714 #
49715
49716 CPP="$CPP"
49717 infile="$srcdir/include/wx/msw/genrcdefs.h"
49718 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49719
49720
49721 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49722 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49723 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49724 LN_S="${LN_S}"
49725
49726
49727 _ACEOF
49728
49729 cat >>$CONFIG_STATUS <<\_ACEOF
49730
49731 # Handling of arguments.
49732 for ac_config_target in $ac_config_targets
49733 do
49734 case $ac_config_target in
49735 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49736 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49737 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49738 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49739 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49740 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49741 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49742 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49743
49744 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49745 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49746 { (exit 1); exit 1; }; };;
49747 esac
49748 done
49749
49750
49751 # If the user did not use the arguments to specify the items to instantiate,
49752 # then the envvar interface is used. Set only those that are not.
49753 # We use the long form for the default assignment because of an extremely
49754 # bizarre bug on SunOS 4.1.3.
49755 if $ac_need_defaults; then
49756 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49757 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49758 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49759 fi
49760
49761 # Have a temporary directory for convenience. Make it in the build tree
49762 # simply because there is no reason against having it here, and in addition,
49763 # creating and moving files from /tmp can sometimes cause problems.
49764 # Hook for its removal unless debugging.
49765 # Note that there is a small window in which the directory will not be cleaned:
49766 # after its creation but before its name has been assigned to `$tmp'.
49767 $debug ||
49768 {
49769 tmp=
49770 trap 'exit_status=$?
49771 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49772 ' 0
49773 trap '{ (exit 1); exit 1; }' 1 2 13 15
49774 }
49775 # Create a (secure) tmp directory for tmp files.
49776
49777 {
49778 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49779 test -n "$tmp" && test -d "$tmp"
49780 } ||
49781 {
49782 tmp=./conf$$-$RANDOM
49783 (umask 077 && mkdir "$tmp")
49784 } ||
49785 {
49786 echo "$me: cannot create a temporary directory in ." >&2
49787 { (exit 1); exit 1; }
49788 }
49789
49790 #
49791 # Set up the sed scripts for CONFIG_FILES section.
49792 #
49793
49794 # No need to generate the scripts if there are no CONFIG_FILES.
49795 # This happens for instance when ./config.status config.h
49796 if test -n "$CONFIG_FILES"; then
49797
49798 _ACEOF
49799
49800
49801
49802 ac_delim='%!_!# '
49803 for ac_last_try in false false false false false :; do
49804 cat >conf$$subs.sed <<_ACEOF
49805 SHELL!$SHELL$ac_delim
49806 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49807 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49808 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49809 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49810 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49811 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49812 exec_prefix!$exec_prefix$ac_delim
49813 prefix!$prefix$ac_delim
49814 program_transform_name!$program_transform_name$ac_delim
49815 bindir!$bindir$ac_delim
49816 sbindir!$sbindir$ac_delim
49817 libexecdir!$libexecdir$ac_delim
49818 datarootdir!$datarootdir$ac_delim
49819 datadir!$datadir$ac_delim
49820 sysconfdir!$sysconfdir$ac_delim
49821 sharedstatedir!$sharedstatedir$ac_delim
49822 localstatedir!$localstatedir$ac_delim
49823 includedir!$includedir$ac_delim
49824 oldincludedir!$oldincludedir$ac_delim
49825 docdir!$docdir$ac_delim
49826 infodir!$infodir$ac_delim
49827 htmldir!$htmldir$ac_delim
49828 dvidir!$dvidir$ac_delim
49829 pdfdir!$pdfdir$ac_delim
49830 psdir!$psdir$ac_delim
49831 libdir!$libdir$ac_delim
49832 localedir!$localedir$ac_delim
49833 mandir!$mandir$ac_delim
49834 DEFS!$DEFS$ac_delim
49835 ECHO_C!$ECHO_C$ac_delim
49836 ECHO_N!$ECHO_N$ac_delim
49837 ECHO_T!$ECHO_T$ac_delim
49838 LIBS!$LIBS$ac_delim
49839 build_alias!$build_alias$ac_delim
49840 host_alias!$host_alias$ac_delim
49841 target_alias!$target_alias$ac_delim
49842 build!$build$ac_delim
49843 build_cpu!$build_cpu$ac_delim
49844 build_vendor!$build_vendor$ac_delim
49845 build_os!$build_os$ac_delim
49846 host!$host$ac_delim
49847 host_cpu!$host_cpu$ac_delim
49848 host_vendor!$host_vendor$ac_delim
49849 host_os!$host_os$ac_delim
49850 target!$target$ac_delim
49851 target_cpu!$target_cpu$ac_delim
49852 target_vendor!$target_vendor$ac_delim
49853 target_os!$target_os$ac_delim
49854 wx_top_builddir!$wx_top_builddir$ac_delim
49855 CC!$CC$ac_delim
49856 CFLAGS!$CFLAGS$ac_delim
49857 LDFLAGS!$LDFLAGS$ac_delim
49858 CPPFLAGS!$CPPFLAGS$ac_delim
49859 ac_ct_CC!$ac_ct_CC$ac_delim
49860 EXEEXT!$EXEEXT$ac_delim
49861 OBJEXT!$OBJEXT$ac_delim
49862 CPP!$CPP$ac_delim
49863 GREP!$GREP$ac_delim
49864 EGREP!$EGREP$ac_delim
49865 CXX!$CXX$ac_delim
49866 CXXFLAGS!$CXXFLAGS$ac_delim
49867 ac_ct_CXX!$ac_ct_CXX$ac_delim
49868 RANLIB!$RANLIB$ac_delim
49869 AR!$AR$ac_delim
49870 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49871 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49872 INSTALL_DATA!$INSTALL_DATA$ac_delim
49873 STRIP!$STRIP$ac_delim
49874 WINDRES!$WINDRES$ac_delim
49875 DLLTOOL!$DLLTOOL$ac_delim
49876 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49877 LN_S!$LN_S$ac_delim
49878 subdirs!$subdirs$ac_delim
49879 PKG_CONFIG!$PKG_CONFIG$ac_delim
49880 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49881 GTK_LIBS!$GTK_LIBS$ac_delim
49882 GTK_CONFIG!$GTK_CONFIG$ac_delim
49883 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49884 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49885 XMKMF!$XMKMF$ac_delim
49886 X_CFLAGS!$X_CFLAGS$ac_delim
49887 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49888 X_LIBS!$X_LIBS$ac_delim
49889 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49890 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49891 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49892 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49893 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49894 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49895 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49896 REZ!$REZ$ac_delim
49897 DEREZ!$DEREZ$ac_delim
49898 SETFILE!$SETFILE$ac_delim
49899 LIBICONV!$LIBICONV$ac_delim
49900 SDL_CONFIG!$SDL_CONFIG$ac_delim
49901 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49902 _ACEOF
49903
49904 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49905 break
49906 elif $ac_last_try; then
49907 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49908 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49909 { (exit 1); exit 1; }; }
49910 else
49911 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49912 fi
49913 done
49914
49915 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49916 if test -n "$ac_eof"; then
49917 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49918 ac_eof=`expr $ac_eof + 1`
49919 fi
49920
49921 cat >>$CONFIG_STATUS <<_ACEOF
49922 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49923 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49924 _ACEOF
49925 sed '
49926 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49927 s/^/s,@/; s/!/@,|#_!!_#|/
49928 :n
49929 t n
49930 s/'"$ac_delim"'$/,g/; t
49931 s/$/\\/; p
49932 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49933 ' >>$CONFIG_STATUS <conf$$subs.sed
49934 rm -f conf$$subs.sed
49935 cat >>$CONFIG_STATUS <<_ACEOF
49936 CEOF$ac_eof
49937 _ACEOF
49938
49939
49940 ac_delim='%!_!# '
49941 for ac_last_try in false false false false false :; do
49942 cat >conf$$subs.sed <<_ACEOF
49943 SDL_LIBS!$SDL_LIBS$ac_delim
49944 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49945 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49946 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49947 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49948 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49949 HILDON_LIBS!$HILDON_LIBS$ac_delim
49950 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49951 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49952 GST_CFLAGS!$GST_CFLAGS$ac_delim
49953 GST_LIBS!$GST_LIBS$ac_delim
49954 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49955 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49956 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49957 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49958 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49959 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49960 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49961 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49962 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49963 VENDOR!$VENDOR$ac_delim
49964 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49965 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49966 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49967 WXUNIV!$WXUNIV$ac_delim
49968 MONOLITHIC!$MONOLITHIC$ac_delim
49969 USE_PLUGINS!$USE_PLUGINS$ac_delim
49970 CXXWARNINGS!$CXXWARNINGS$ac_delim
49971 EXTRALIBS!$EXTRALIBS$ac_delim
49972 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49973 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49974 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49975 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49976 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49977 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49978 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49979 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49980 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49981 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49982 UNICODE!$UNICODE$ac_delim
49983 BUILD!$BUILD$ac_delim
49984 DEBUG_INFO!$DEBUG_INFO$ac_delim
49985 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49986 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49987 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49988 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49989 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49990 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49991 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49992 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49993 SET_MAKE!$SET_MAKE$ac_delim
49994 MAKE_SET!$MAKE_SET$ac_delim
49995 AROPTIONS!$AROPTIONS$ac_delim
49996 NM!$NM$ac_delim
49997 INSTALL_DIR!$INSTALL_DIR$ac_delim
49998 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49999 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50000 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50001 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50002 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50003 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50004 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50005 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50006 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50007 SO_SUFFIX!$SO_SUFFIX$ac_delim
50008 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50009 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50010 LIBPREFIX!$LIBPREFIX$ac_delim
50011 LIBEXT!$LIBEXT$ac_delim
50012 DLLPREFIX!$DLLPREFIX$ac_delim
50013 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50014 dlldir!$dlldir$ac_delim
50015 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50016 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50017 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50018 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50019 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50020 PIC_FLAG!$PIC_FLAG$ac_delim
50021 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50022 USE_SOVERSION!$USE_SOVERSION$ac_delim
50023 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50024 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50025 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50026 USE_MACVERSION!$USE_MACVERSION$ac_delim
50027 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50028 SONAME_FLAG!$SONAME_FLAG$ac_delim
50029 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50030 BK_DEPS!$BK_DEPS$ac_delim
50031 GCC_PCH!$GCC_PCH$ac_delim
50032 ICC_PCH!$ICC_PCH$ac_delim
50033 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50034 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50035 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50036 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50037 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50038 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50039 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50040 _ACEOF
50041
50042 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50043 break
50044 elif $ac_last_try; then
50045 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50046 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50047 { (exit 1); exit 1; }; }
50048 else
50049 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50050 fi
50051 done
50052
50053 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50054 if test -n "$ac_eof"; then
50055 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50056 ac_eof=`expr $ac_eof + 1`
50057 fi
50058
50059 cat >>$CONFIG_STATUS <<_ACEOF
50060 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50061 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50062 _ACEOF
50063 sed '
50064 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50065 s/^/s,@/; s/!/@,|#_!!_#|/
50066 :n
50067 t n
50068 s/'"$ac_delim"'$/,g/; t
50069 s/$/\\/; p
50070 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50071 ' >>$CONFIG_STATUS <conf$$subs.sed
50072 rm -f conf$$subs.sed
50073 cat >>$CONFIG_STATUS <<_ACEOF
50074 CEOF$ac_eof
50075 _ACEOF
50076
50077
50078 ac_delim='%!_!# '
50079 for ac_last_try in false false false false false :; do
50080 cat >conf$$subs.sed <<_ACEOF
50081 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50082 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50083 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50084 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50085 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50086 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50087 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50088 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50089 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50090 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50091 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50092 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50093 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50094 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50095 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50096 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50098 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50099 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50100 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50101 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50102 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50103 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50104 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50106 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50109 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50110 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50111 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50112 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50113 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50114 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50115 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50116 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50117 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50118 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50119 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50120 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50121 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50122 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50123 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50124 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50125 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50126 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50127 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50128 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50129 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50130 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50131 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50132 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50133 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50134 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50135 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50136 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50137 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50138 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50139 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50140 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50141 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50142 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50143 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50144 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50145 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50146 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50147 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50148 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50150 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50151 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50152 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50153 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50154 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50155 COND_SHARED_0!$COND_SHARED_0$ac_delim
50156 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50157 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50158 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50159 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50160 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50161 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50162 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50163 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50164 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50165 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50166 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50167 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50168 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50169 COND_SHARED_1!$COND_SHARED_1$ac_delim
50170 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50171 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50172 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50173 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50174 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50175 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50176 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50177 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50178 _ACEOF
50179
50180 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50181 break
50182 elif $ac_last_try; then
50183 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50184 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50185 { (exit 1); exit 1; }; }
50186 else
50187 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50188 fi
50189 done
50190
50191 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50192 if test -n "$ac_eof"; then
50193 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50194 ac_eof=`expr $ac_eof + 1`
50195 fi
50196
50197 cat >>$CONFIG_STATUS <<_ACEOF
50198 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50199 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50200 _ACEOF
50201 sed '
50202 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50203 s/^/s,@/; s/!/@,|#_!!_#|/
50204 :n
50205 t n
50206 s/'"$ac_delim"'$/,g/; t
50207 s/$/\\/; p
50208 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50209 ' >>$CONFIG_STATUS <conf$$subs.sed
50210 rm -f conf$$subs.sed
50211 cat >>$CONFIG_STATUS <<_ACEOF
50212 CEOF$ac_eof
50213 _ACEOF
50214
50215
50216 ac_delim='%!_!# '
50217 for ac_last_try in false false false false false :; do
50218 cat >conf$$subs.sed <<_ACEOF
50219 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50221 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50222 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50224 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50225 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50226 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50227 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50228 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50229 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50230 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50231 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50232 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50233 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50234 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50235 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50236 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50237 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50238 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50239 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50240 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50241 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50242 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50243 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50244 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50245 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50246 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50247 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50248 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50249 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50250 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50251 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50252 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50253 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50254 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50255 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50256 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50257 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50258 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50259 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50260 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50261 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50262 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50263 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50264 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50265 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50266 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50267 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50268 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50269 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50270 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50271 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50272 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50273 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50274 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50275 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50276 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50277 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50278 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50279 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50280 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50281 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50282 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50283 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50284 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50285 SHARED!$SHARED$ac_delim
50286 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50287 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50288 USE_GUI!$USE_GUI$ac_delim
50289 AFMINSTALL!$AFMINSTALL$ac_delim
50290 WIN32INSTALL!$WIN32INSTALL$ac_delim
50291 TOOLKIT!$TOOLKIT$ac_delim
50292 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50293 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50294 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50295 cross_compiling!$cross_compiling$ac_delim
50296 WIDGET_SET!$WIDGET_SET$ac_delim
50297 WX_RELEASE!$WX_RELEASE$ac_delim
50298 WX_VERSION!$WX_VERSION$ac_delim
50299 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50300 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50301 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50302 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50303 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50304 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50305 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50306 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50307 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50308 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50309 EXE_LINKER!$EXE_LINKER$ac_delim
50310 GUIDIST!$GUIDIST$ac_delim
50311 DISTDIR!$DISTDIR$ac_delim
50312 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50313 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50314 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50315 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50316 _ACEOF
50317
50318 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50319 break
50320 elif $ac_last_try; then
50321 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50322 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50323 { (exit 1); exit 1; }; }
50324 else
50325 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50326 fi
50327 done
50328
50329 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50330 if test -n "$ac_eof"; then
50331 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50332 ac_eof=`expr $ac_eof + 1`
50333 fi
50334
50335 cat >>$CONFIG_STATUS <<_ACEOF
50336 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50337 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50338 _ACEOF
50339 sed '
50340 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50341 s/^/s,@/; s/!/@,|#_!!_#|/
50342 :n
50343 t n
50344 s/'"$ac_delim"'$/,g/; t
50345 s/$/\\/; p
50346 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50347 ' >>$CONFIG_STATUS <conf$$subs.sed
50348 rm -f conf$$subs.sed
50349 cat >>$CONFIG_STATUS <<_ACEOF
50350 CEOF$ac_eof
50351 _ACEOF
50352
50353
50354 ac_delim='%!_!# '
50355 for ac_last_try in false false false false false :; do
50356 cat >conf$$subs.sed <<_ACEOF
50357 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50358 RESCOMP!$RESCOMP$ac_delim
50359 RESFLAGS!$RESFLAGS$ac_delim
50360 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50361 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50362 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50363 LIBWXMACRES!$LIBWXMACRES$ac_delim
50364 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50365 MACSETFILE!$MACSETFILE$ac_delim
50366 GCC!$GCC$ac_delim
50367 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50368 LIBOBJS!$LIBOBJS$ac_delim
50369 LTLIBOBJS!$LTLIBOBJS$ac_delim
50370 _ACEOF
50371
50372 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50373 break
50374 elif $ac_last_try; then
50375 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50376 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50377 { (exit 1); exit 1; }; }
50378 else
50379 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50380 fi
50381 done
50382
50383 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50384 if test -n "$ac_eof"; then
50385 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50386 ac_eof=`expr $ac_eof + 1`
50387 fi
50388
50389 cat >>$CONFIG_STATUS <<_ACEOF
50390 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50391 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50392 _ACEOF
50393 sed '
50394 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50395 s/^/s,@/; s/!/@,|#_!!_#|/
50396 :n
50397 t n
50398 s/'"$ac_delim"'$/,g/; t
50399 s/$/\\/; p
50400 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50401 ' >>$CONFIG_STATUS <conf$$subs.sed
50402 rm -f conf$$subs.sed
50403 cat >>$CONFIG_STATUS <<_ACEOF
50404 :end
50405 s/|#_!!_#|//g
50406 CEOF$ac_eof
50407 _ACEOF
50408
50409
50410 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50411 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50412 # trailing colons and then remove the whole line if VPATH becomes empty
50413 # (actually we leave an empty line to preserve line numbers).
50414 if test "x$srcdir" = x.; then
50415 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50416 s/:*\$(srcdir):*/:/
50417 s/:*\${srcdir}:*/:/
50418 s/:*@srcdir@:*/:/
50419 s/^\([^=]*=[ ]*\):*/\1/
50420 s/:*$//
50421 s/^[^=]*=[ ]*$//
50422 }'
50423 fi
50424
50425 cat >>$CONFIG_STATUS <<\_ACEOF
50426 fi # test -n "$CONFIG_FILES"
50427
50428
50429 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50430 do
50431 case $ac_tag in
50432 :[FHLC]) ac_mode=$ac_tag; continue;;
50433 esac
50434 case $ac_mode$ac_tag in
50435 :[FHL]*:*);;
50436 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50437 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50438 { (exit 1); exit 1; }; };;
50439 :[FH]-) ac_tag=-:-;;
50440 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50441 esac
50442 ac_save_IFS=$IFS
50443 IFS=:
50444 set x $ac_tag
50445 IFS=$ac_save_IFS
50446 shift
50447 ac_file=$1
50448 shift
50449
50450 case $ac_mode in
50451 :L) ac_source=$1;;
50452 :[FH])
50453 ac_file_inputs=
50454 for ac_f
50455 do
50456 case $ac_f in
50457 -) ac_f="$tmp/stdin";;
50458 *) # Look for the file first in the build tree, then in the source tree
50459 # (if the path is not absolute). The absolute path cannot be DOS-style,
50460 # because $ac_f cannot contain `:'.
50461 test -f "$ac_f" ||
50462 case $ac_f in
50463 [\\/$]*) false;;
50464 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50465 esac ||
50466 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50467 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50468 { (exit 1); exit 1; }; };;
50469 esac
50470 ac_file_inputs="$ac_file_inputs $ac_f"
50471 done
50472
50473 # Let's still pretend it is `configure' which instantiates (i.e., don't
50474 # use $as_me), people would be surprised to read:
50475 # /* config.h. Generated by config.status. */
50476 configure_input="Generated from "`IFS=:
50477 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50478 if test x"$ac_file" != x-; then
50479 configure_input="$ac_file. $configure_input"
50480 { echo "$as_me:$LINENO: creating $ac_file" >&5
50481 echo "$as_me: creating $ac_file" >&6;}
50482 fi
50483
50484 case $ac_tag in
50485 *:-:* | *:-) cat >"$tmp/stdin";;
50486 esac
50487 ;;
50488 esac
50489
50490 ac_dir=`$as_dirname -- "$ac_file" ||
50491 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50492 X"$ac_file" : 'X\(//\)[^/]' \| \
50493 X"$ac_file" : 'X\(//\)$' \| \
50494 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50495 echo X"$ac_file" |
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 { as_dir="$ac_dir"
50514 case $as_dir in #(
50515 -*) as_dir=./$as_dir;;
50516 esac
50517 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50518 as_dirs=
50519 while :; do
50520 case $as_dir in #(
50521 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50522 *) as_qdir=$as_dir;;
50523 esac
50524 as_dirs="'$as_qdir' $as_dirs"
50525 as_dir=`$as_dirname -- "$as_dir" ||
50526 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50527 X"$as_dir" : 'X\(//\)[^/]' \| \
50528 X"$as_dir" : 'X\(//\)$' \| \
50529 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50530 echo X"$as_dir" |
50531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50532 s//\1/
50533 q
50534 }
50535 /^X\(\/\/\)[^/].*/{
50536 s//\1/
50537 q
50538 }
50539 /^X\(\/\/\)$/{
50540 s//\1/
50541 q
50542 }
50543 /^X\(\/\).*/{
50544 s//\1/
50545 q
50546 }
50547 s/.*/./; q'`
50548 test -d "$as_dir" && break
50549 done
50550 test -z "$as_dirs" || eval "mkdir $as_dirs"
50551 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50552 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50553 { (exit 1); exit 1; }; }; }
50554 ac_builddir=.
50555
50556 case "$ac_dir" in
50557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50558 *)
50559 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50560 # A ".." for each directory in $ac_dir_suffix.
50561 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50562 case $ac_top_builddir_sub in
50563 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50564 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50565 esac ;;
50566 esac
50567 ac_abs_top_builddir=$ac_pwd
50568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50569 # for backward compatibility:
50570 ac_top_builddir=$ac_top_build_prefix
50571
50572 case $srcdir in
50573 .) # We are building in place.
50574 ac_srcdir=.
50575 ac_top_srcdir=$ac_top_builddir_sub
50576 ac_abs_top_srcdir=$ac_pwd ;;
50577 [\\/]* | ?:[\\/]* ) # Absolute name.
50578 ac_srcdir=$srcdir$ac_dir_suffix;
50579 ac_top_srcdir=$srcdir
50580 ac_abs_top_srcdir=$srcdir ;;
50581 *) # Relative name.
50582 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50583 ac_top_srcdir=$ac_top_build_prefix$srcdir
50584 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50585 esac
50586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50587
50588
50589 case $ac_mode in
50590 :F)
50591 #
50592 # CONFIG_FILE
50593 #
50594
50595 case $INSTALL in
50596 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50597 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50598 esac
50599 _ACEOF
50600
50601 cat >>$CONFIG_STATUS <<\_ACEOF
50602 # If the template does not know about datarootdir, expand it.
50603 # FIXME: This hack should be removed a few years after 2.60.
50604 ac_datarootdir_hack=; ac_datarootdir_seen=
50605
50606 case `sed -n '/datarootdir/ {
50607 p
50608 q
50609 }
50610 /@datadir@/p
50611 /@docdir@/p
50612 /@infodir@/p
50613 /@localedir@/p
50614 /@mandir@/p
50615 ' $ac_file_inputs` in
50616 *datarootdir*) ac_datarootdir_seen=yes;;
50617 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50618 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50619 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50620 _ACEOF
50621 cat >>$CONFIG_STATUS <<_ACEOF
50622 ac_datarootdir_hack='
50623 s&@datadir@&$datadir&g
50624 s&@docdir@&$docdir&g
50625 s&@infodir@&$infodir&g
50626 s&@localedir@&$localedir&g
50627 s&@mandir@&$mandir&g
50628 s&\\\${datarootdir}&$datarootdir&g' ;;
50629 esac
50630 _ACEOF
50631
50632 # Neutralize VPATH when `$srcdir' = `.'.
50633 # Shell code in configure.ac might set extrasub.
50634 # FIXME: do we really want to maintain this feature?
50635 cat >>$CONFIG_STATUS <<_ACEOF
50636 sed "$ac_vpsub
50637 $extrasub
50638 _ACEOF
50639 cat >>$CONFIG_STATUS <<\_ACEOF
50640 :t
50641 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50642 s&@configure_input@&$configure_input&;t t
50643 s&@top_builddir@&$ac_top_builddir_sub&;t t
50644 s&@srcdir@&$ac_srcdir&;t t
50645 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50646 s&@top_srcdir@&$ac_top_srcdir&;t t
50647 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50648 s&@builddir@&$ac_builddir&;t t
50649 s&@abs_builddir@&$ac_abs_builddir&;t t
50650 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50651 s&@INSTALL@&$ac_INSTALL&;t t
50652 $ac_datarootdir_hack
50653 " $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
50654
50655 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50656 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50657 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50658 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50659 which seems to be undefined. Please make sure it is defined." >&5
50660 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50661 which seems to be undefined. Please make sure it is defined." >&2;}
50662
50663 rm -f "$tmp/stdin"
50664 case $ac_file in
50665 -) cat "$tmp/out"; rm -f "$tmp/out";;
50666 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50667 esac
50668 ;;
50669 :H)
50670 #
50671 # CONFIG_HEADER
50672 #
50673 _ACEOF
50674
50675 # Transform confdefs.h into a sed script `conftest.defines', that
50676 # substitutes the proper values into config.h.in to produce config.h.
50677 rm -f conftest.defines conftest.tail
50678 # First, append a space to every undef/define line, to ease matching.
50679 echo 's/$/ /' >conftest.defines
50680 # Then, protect against being on the right side of a sed subst, or in
50681 # an unquoted here document, in config.status. If some macros were
50682 # called several times there might be several #defines for the same
50683 # symbol, which is useless. But do not sort them, since the last
50684 # AC_DEFINE must be honored.
50685 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50686 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50687 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50688 # PARAMS is the parameter list in the macro definition--in most cases, it's
50689 # just an empty string.
50690 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50691 ac_dB='\\)[ (].*,\\1define\\2'
50692 ac_dC=' '
50693 ac_dD=' ,'
50694
50695 uniq confdefs.h |
50696 sed -n '
50697 t rset
50698 :rset
50699 s/^[ ]*#[ ]*define[ ][ ]*//
50700 t ok
50701 d
50702 :ok
50703 s/[\\&,]/\\&/g
50704 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50705 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50706 ' >>conftest.defines
50707
50708 # Remove the space that was appended to ease matching.
50709 # Then replace #undef with comments. This is necessary, for
50710 # example, in the case of _POSIX_SOURCE, which is predefined and required
50711 # on some systems where configure will not decide to define it.
50712 # (The regexp can be short, since the line contains either #define or #undef.)
50713 echo 's/ $//
50714 s,^[ #]*u.*,/* & */,' >>conftest.defines
50715
50716 # Break up conftest.defines:
50717 ac_max_sed_lines=50
50718
50719 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50720 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50721 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50722 # et cetera.
50723 ac_in='$ac_file_inputs'
50724 ac_out='"$tmp/out1"'
50725 ac_nxt='"$tmp/out2"'
50726
50727 while :
50728 do
50729 # Write a here document:
50730 cat >>$CONFIG_STATUS <<_ACEOF
50731 # First, check the format of the line:
50732 cat >"\$tmp/defines.sed" <<\\CEOF
50733 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50734 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50735 b
50736 :def
50737 _ACEOF
50738 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50739 echo 'CEOF
50740 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50741 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50742 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50743 grep . conftest.tail >/dev/null || break
50744 rm -f conftest.defines
50745 mv conftest.tail conftest.defines
50746 done
50747 rm -f conftest.defines conftest.tail
50748
50749 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50750 cat >>$CONFIG_STATUS <<\_ACEOF
50751 if test x"$ac_file" != x-; then
50752 echo "/* $configure_input */" >"$tmp/config.h"
50753 cat "$ac_result" >>"$tmp/config.h"
50754 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50755 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50756 echo "$as_me: $ac_file is unchanged" >&6;}
50757 else
50758 rm -f $ac_file
50759 mv "$tmp/config.h" $ac_file
50760 fi
50761 else
50762 echo "/* $configure_input */"
50763 cat "$ac_result"
50764 fi
50765 rm -f "$tmp/out12"
50766 ;;
50767
50768 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50769 echo "$as_me: executing $ac_file commands" >&6;}
50770 ;;
50771 esac
50772
50773
50774 case $ac_file$ac_mode in
50775 "rcdefs.h":C)
50776 mkdir -p $outdir &&
50777 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50778 ;;
50779 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50780 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50781 "wx-config":C) rm -f wx-config
50782 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50783 ;;
50784
50785 esac
50786 done # for ac_tag
50787
50788
50789 { (exit 0); exit 0; }
50790 _ACEOF
50791 chmod +x $CONFIG_STATUS
50792 ac_clean_files=$ac_clean_files_save
50793
50794
50795 # configure is writing to config.log, and then calls config.status.
50796 # config.status does its own redirection, appending to config.log.
50797 # Unfortunately, on DOS this fails, as config.log is still kept open
50798 # by configure, so config.status won't be able to write to it; its
50799 # output is simply discarded. So we exec the FD to /dev/null,
50800 # effectively closing config.log, so it can be properly (re)opened and
50801 # appended to by config.status. When coming back to configure, we
50802 # need to make the FD available again.
50803 if test "$no_create" != yes; then
50804 ac_cs_success=:
50805 ac_config_status_args=
50806 test "$silent" = yes &&
50807 ac_config_status_args="$ac_config_status_args --quiet"
50808 exec 5>/dev/null
50809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50810 exec 5>>config.log
50811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50812 # would make configure fail if this is the last instruction.
50813 $ac_cs_success || { (exit 1); exit 1; }
50814 fi
50815
50816 #
50817 # CONFIG_SUBDIRS section.
50818 #
50819 if test "$no_recursion" != yes; then
50820
50821 # Remove --cache-file and --srcdir arguments so they do not pile up.
50822 ac_sub_configure_args=
50823 ac_prev=
50824 eval "set x $ac_configure_args"
50825 shift
50826 for ac_arg
50827 do
50828 if test -n "$ac_prev"; then
50829 ac_prev=
50830 continue
50831 fi
50832 case $ac_arg in
50833 -cache-file | --cache-file | --cache-fil | --cache-fi \
50834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50835 ac_prev=cache_file ;;
50836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50838 | --c=*)
50839 ;;
50840 --config-cache | -C)
50841 ;;
50842 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50843 ac_prev=srcdir ;;
50844 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50845 ;;
50846 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50847 ac_prev=prefix ;;
50848 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50849 ;;
50850 *)
50851 case $ac_arg in
50852 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50853 esac
50854 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50855 esac
50856 done
50857
50858 # Always prepend --prefix to ensure using the same prefix
50859 # in subdir configurations.
50860 ac_arg="--prefix=$prefix"
50861 case $ac_arg in
50862 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50863 esac
50864 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50865
50866 # Pass --silent
50867 if test "$silent" = yes; then
50868 ac_sub_configure_args="--silent $ac_sub_configure_args"
50869 fi
50870
50871 ac_popdir=`pwd`
50872 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50873
50874 # Do not complain, so a configure script can configure whichever
50875 # parts of a large source tree are present.
50876 test -d "$srcdir/$ac_dir" || continue
50877
50878 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50879 echo "$as_me:$LINENO: $ac_msg" >&5
50880 echo "$ac_msg" >&6
50881 { as_dir="$ac_dir"
50882 case $as_dir in #(
50883 -*) as_dir=./$as_dir;;
50884 esac
50885 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50886 as_dirs=
50887 while :; do
50888 case $as_dir in #(
50889 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50890 *) as_qdir=$as_dir;;
50891 esac
50892 as_dirs="'$as_qdir' $as_dirs"
50893 as_dir=`$as_dirname -- "$as_dir" ||
50894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50895 X"$as_dir" : 'X\(//\)[^/]' \| \
50896 X"$as_dir" : 'X\(//\)$' \| \
50897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50898 echo X"$as_dir" |
50899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50900 s//\1/
50901 q
50902 }
50903 /^X\(\/\/\)[^/].*/{
50904 s//\1/
50905 q
50906 }
50907 /^X\(\/\/\)$/{
50908 s//\1/
50909 q
50910 }
50911 /^X\(\/\).*/{
50912 s//\1/
50913 q
50914 }
50915 s/.*/./; q'`
50916 test -d "$as_dir" && break
50917 done
50918 test -z "$as_dirs" || eval "mkdir $as_dirs"
50919 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50920 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50921 { (exit 1); exit 1; }; }; }
50922 ac_builddir=.
50923
50924 case "$ac_dir" in
50925 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50926 *)
50927 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50928 # A ".." for each directory in $ac_dir_suffix.
50929 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50930 case $ac_top_builddir_sub in
50931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50933 esac ;;
50934 esac
50935 ac_abs_top_builddir=$ac_pwd
50936 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50937 # for backward compatibility:
50938 ac_top_builddir=$ac_top_build_prefix
50939
50940 case $srcdir in
50941 .) # We are building in place.
50942 ac_srcdir=.
50943 ac_top_srcdir=$ac_top_builddir_sub
50944 ac_abs_top_srcdir=$ac_pwd ;;
50945 [\\/]* | ?:[\\/]* ) # Absolute name.
50946 ac_srcdir=$srcdir$ac_dir_suffix;
50947 ac_top_srcdir=$srcdir
50948 ac_abs_top_srcdir=$srcdir ;;
50949 *) # Relative name.
50950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50951 ac_top_srcdir=$ac_top_build_prefix$srcdir
50952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50953 esac
50954 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50955
50956
50957 cd "$ac_dir"
50958
50959 # Check for guested configure; otherwise get Cygnus style configure.
50960 if test -f "$ac_srcdir/configure.gnu"; then
50961 ac_sub_configure=$ac_srcdir/configure.gnu
50962 elif test -f "$ac_srcdir/configure"; then
50963 ac_sub_configure=$ac_srcdir/configure
50964 elif test -f "$ac_srcdir/configure.in"; then
50965 # This should be Cygnus configure.
50966 ac_sub_configure=$ac_aux_dir/configure
50967 else
50968 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50970 ac_sub_configure=
50971 fi
50972
50973 # The recursion is here.
50974 if test -n "$ac_sub_configure"; then
50975 # Make the cache file name correct relative to the subdirectory.
50976 case $cache_file in
50977 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50978 *) # Relative name.
50979 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50980 esac
50981
50982 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50983 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50984 # The eval makes quoting arguments work.
50985 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50986 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50987 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50988 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50989 { (exit 1); exit 1; }; }
50990 fi
50991
50992 cd "$ac_popdir"
50993 done
50994 fi
50995
50996
50997 echo
50998 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50999 echo ""
51000 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51001 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51002
51003 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51004 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51005 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51006 if test "$wxUSE_UNICODE" = "yes"; then
51007 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51008 echo " (using UTF-8)"
51009 else
51010 echo " (using wchar_t)"
51011 fi
51012 else
51013 echo
51014 fi
51015
51016 echo " What level of wxWidgets compatibility should be enabled?"
51017 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51018 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51019
51020 echo " Which libraries should wxWidgets use?"
51021 echo " jpeg ${wxUSE_LIBJPEG-none}"
51022 echo " png ${wxUSE_LIBPNG-none}"
51023 echo " regex ${wxUSE_REGEX}"
51024 echo " tiff ${wxUSE_LIBTIFF-none}"
51025 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51026 echo " xpm ${wxUSE_LIBXPM-none}"
51027 fi
51028 echo " zlib ${wxUSE_ZLIB}"
51029 echo " odbc ${wxUSE_ODBC}"
51030 echo " expat ${wxUSE_EXPAT}"
51031 echo " libmspack ${wxUSE_LIBMSPACK}"
51032 echo " sdl ${wxUSE_LIBSDL}"
51033
51034 echo ""
51035