]> git.saurik.com Git - wxWidgets.git/blob - configure
update frm Ivan Masar
[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 -n "$ac_tool_prefix"; then
16320 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16321 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16324 if test "${ac_cv_prog_RANLIB+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 else
16327 if test -n "$RANLIB"; then
16328 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16329 else
16330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16331 for as_dir in $PATH
16332 do
16333 IFS=$as_save_IFS
16334 test -z "$as_dir" && as_dir=.
16335 for ac_exec_ext in '' $ac_executable_extensions; do
16336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16337 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16339 break 2
16340 fi
16341 done
16342 done
16343 IFS=$as_save_IFS
16344
16345 fi
16346 fi
16347 RANLIB=$ac_cv_prog_RANLIB
16348 if test -n "$RANLIB"; then
16349 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16350 echo "${ECHO_T}$RANLIB" >&6; }
16351 else
16352 { echo "$as_me:$LINENO: result: no" >&5
16353 echo "${ECHO_T}no" >&6; }
16354 fi
16355
16356
16357 fi
16358 if test -z "$ac_cv_prog_RANLIB"; then
16359 ac_ct_RANLIB=$RANLIB
16360 # Extract the first word of "ranlib", so it can be a program name with args.
16361 set dummy ranlib; ac_word=$2
16362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16364 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 else
16367 if test -n "$ac_ct_RANLIB"; then
16368 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16369 else
16370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16371 for as_dir in $PATH
16372 do
16373 IFS=$as_save_IFS
16374 test -z "$as_dir" && as_dir=.
16375 for ac_exec_ext in '' $ac_executable_extensions; do
16376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16377 ac_cv_prog_ac_ct_RANLIB="ranlib"
16378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16379 break 2
16380 fi
16381 done
16382 done
16383 IFS=$as_save_IFS
16384
16385 fi
16386 fi
16387 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16388 if test -n "$ac_ct_RANLIB"; then
16389 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16390 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16391 else
16392 { echo "$as_me:$LINENO: result: no" >&5
16393 echo "${ECHO_T}no" >&6; }
16394 fi
16395
16396 if test "x$ac_ct_RANLIB" = x; then
16397 RANLIB=":"
16398 else
16399 case $cross_compiling:$ac_tool_warned in
16400 yes:)
16401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16402 whose name does not start with the host triplet. If you think this
16403 configuration is useful to you, please write to autoconf@gnu.org." >&5
16404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16405 whose name does not start with the host triplet. If you think this
16406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16407 ac_tool_warned=yes ;;
16408 esac
16409 RANLIB=$ac_ct_RANLIB
16410 fi
16411 else
16412 RANLIB="$ac_cv_prog_RANLIB"
16413 fi
16414
16415
16416 if test "x$SUNCXX" != xyes; then
16417 if test -n "$ac_tool_prefix"; then
16418 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16419 set dummy ${ac_tool_prefix}ar; ac_word=$2
16420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16422 if test "${ac_cv_prog_AR+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16424 else
16425 if test -n "$AR"; then
16426 ac_cv_prog_AR="$AR" # Let the user override the test.
16427 else
16428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16429 for as_dir in $PATH
16430 do
16431 IFS=$as_save_IFS
16432 test -z "$as_dir" && as_dir=.
16433 for ac_exec_ext in '' $ac_executable_extensions; do
16434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16435 ac_cv_prog_AR="${ac_tool_prefix}ar"
16436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16437 break 2
16438 fi
16439 done
16440 done
16441 IFS=$as_save_IFS
16442
16443 fi
16444 fi
16445 AR=$ac_cv_prog_AR
16446 if test -n "$AR"; then
16447 { echo "$as_me:$LINENO: result: $AR" >&5
16448 echo "${ECHO_T}$AR" >&6; }
16449 else
16450 { echo "$as_me:$LINENO: result: no" >&5
16451 echo "${ECHO_T}no" >&6; }
16452 fi
16453
16454
16455 fi
16456 if test -z "$ac_cv_prog_AR"; then
16457 ac_ct_AR=$AR
16458 # Extract the first word of "ar", so it can be a program name with args.
16459 set dummy ar; ac_word=$2
16460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16462 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16463 echo $ECHO_N "(cached) $ECHO_C" >&6
16464 else
16465 if test -n "$ac_ct_AR"; then
16466 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16467 else
16468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16469 for as_dir in $PATH
16470 do
16471 IFS=$as_save_IFS
16472 test -z "$as_dir" && as_dir=.
16473 for ac_exec_ext in '' $ac_executable_extensions; do
16474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16475 ac_cv_prog_ac_ct_AR="ar"
16476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16477 break 2
16478 fi
16479 done
16480 done
16481 IFS=$as_save_IFS
16482
16483 fi
16484 fi
16485 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16486 if test -n "$ac_ct_AR"; then
16487 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16488 echo "${ECHO_T}$ac_ct_AR" >&6; }
16489 else
16490 { echo "$as_me:$LINENO: result: no" >&5
16491 echo "${ECHO_T}no" >&6; }
16492 fi
16493
16494 if test "x$ac_ct_AR" = x; then
16495 AR=""
16496 else
16497 case $cross_compiling:$ac_tool_warned in
16498 yes:)
16499 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16500 whose name does not start with the host triplet. If you think this
16501 configuration is useful to you, please write to autoconf@gnu.org." >&5
16502 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16503 whose name does not start with the host triplet. If you think this
16504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16505 ac_tool_warned=yes ;;
16506 esac
16507 AR=$ac_ct_AR
16508 fi
16509 else
16510 AR="$ac_cv_prog_AR"
16511 fi
16512
16513 if test "x$AR" = "x" ; then
16514 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16515 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16516 { (exit 1); exit 1; }; }
16517 fi
16518 fi
16519
16520 # Find a good install program. We prefer a C program (faster),
16521 # so one script is as good as another. But avoid the broken or
16522 # incompatible versions:
16523 # SysV /etc/install, /usr/sbin/install
16524 # SunOS /usr/etc/install
16525 # IRIX /sbin/install
16526 # AIX /bin/install
16527 # AmigaOS /C/install, which installs bootblocks on floppy discs
16528 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16529 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16530 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16531 # OS/2's system install, which has a completely different semantic
16532 # ./install, which can be erroneously created by make from ./install.sh.
16533 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16534 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16535 if test -z "$INSTALL"; then
16536 if test "${ac_cv_path_install+set}" = set; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 else
16539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16540 for as_dir in $PATH
16541 do
16542 IFS=$as_save_IFS
16543 test -z "$as_dir" && as_dir=.
16544 # Account for people who put trailing slashes in PATH elements.
16545 case $as_dir/ in
16546 ./ | .// | /cC/* | \
16547 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16548 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16549 /usr/ucb/* ) ;;
16550 *)
16551 # OSF1 and SCO ODT 3.0 have their own names for install.
16552 # Don't use installbsd from OSF since it installs stuff as root
16553 # by default.
16554 for ac_prog in ginstall scoinst install; do
16555 for ac_exec_ext in '' $ac_executable_extensions; do
16556 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16557 if test $ac_prog = install &&
16558 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16559 # AIX install. It has an incompatible calling convention.
16560 :
16561 elif test $ac_prog = install &&
16562 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16563 # program-specific install script used by HP pwplus--don't use.
16564 :
16565 else
16566 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16567 break 3
16568 fi
16569 fi
16570 done
16571 done
16572 ;;
16573 esac
16574 done
16575 IFS=$as_save_IFS
16576
16577
16578 fi
16579 if test "${ac_cv_path_install+set}" = set; then
16580 INSTALL=$ac_cv_path_install
16581 else
16582 # As a last resort, use the slow shell script. Don't cache a
16583 # value for INSTALL within a source directory, because that will
16584 # break other packages using the cache if that directory is
16585 # removed, or if the value is a relative name.
16586 INSTALL=$ac_install_sh
16587 fi
16588 fi
16589 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16590 echo "${ECHO_T}$INSTALL" >&6; }
16591
16592 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16593 # It thinks the first close brace ends the variable substitution.
16594 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16595
16596 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16597
16598 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16599
16600
16601 case ${INSTALL} in
16602 /* ) # Absolute
16603 ;;
16604 ?:* ) # Drive letter, considered as absolute.
16605 ;;
16606 *)
16607 INSTALL=`pwd`/${INSTALL} ;;
16608 esac
16609
16610
16611 case "${host}" in
16612
16613 *-*-darwin* )
16614 INSTALL_PROGRAM="cp -fp"
16615 INSTALL_DATA="cp -fp"
16616 ;;
16617 *)
16618 ;;
16619 esac
16620
16621 if test -n "$ac_tool_prefix"; then
16622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16623 set dummy ${ac_tool_prefix}strip; ac_word=$2
16624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16626 if test "${ac_cv_prog_STRIP+set}" = set; then
16627 echo $ECHO_N "(cached) $ECHO_C" >&6
16628 else
16629 if test -n "$STRIP"; then
16630 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16631 else
16632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16633 for as_dir in $PATH
16634 do
16635 IFS=$as_save_IFS
16636 test -z "$as_dir" && as_dir=.
16637 for ac_exec_ext in '' $ac_executable_extensions; do
16638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16639 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16641 break 2
16642 fi
16643 done
16644 done
16645 IFS=$as_save_IFS
16646
16647 fi
16648 fi
16649 STRIP=$ac_cv_prog_STRIP
16650 if test -n "$STRIP"; then
16651 { echo "$as_me:$LINENO: result: $STRIP" >&5
16652 echo "${ECHO_T}$STRIP" >&6; }
16653 else
16654 { echo "$as_me:$LINENO: result: no" >&5
16655 echo "${ECHO_T}no" >&6; }
16656 fi
16657
16658
16659 fi
16660 if test -z "$ac_cv_prog_STRIP"; then
16661 ac_ct_STRIP=$STRIP
16662 # Extract the first word of "strip", so it can be a program name with args.
16663 set dummy strip; ac_word=$2
16664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16666 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16667 echo $ECHO_N "(cached) $ECHO_C" >&6
16668 else
16669 if test -n "$ac_ct_STRIP"; then
16670 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16671 else
16672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16673 for as_dir in $PATH
16674 do
16675 IFS=$as_save_IFS
16676 test -z "$as_dir" && as_dir=.
16677 for ac_exec_ext in '' $ac_executable_extensions; do
16678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16679 ac_cv_prog_ac_ct_STRIP="strip"
16680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16681 break 2
16682 fi
16683 done
16684 done
16685 IFS=$as_save_IFS
16686
16687 fi
16688 fi
16689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16690 if test -n "$ac_ct_STRIP"; then
16691 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16692 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16693 else
16694 { echo "$as_me:$LINENO: result: no" >&5
16695 echo "${ECHO_T}no" >&6; }
16696 fi
16697
16698 if test "x$ac_ct_STRIP" = x; then
16699 STRIP="true"
16700 else
16701 case $cross_compiling:$ac_tool_warned in
16702 yes:)
16703 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16704 whose name does not start with the host triplet. If you think this
16705 configuration is useful to you, please write to autoconf@gnu.org." >&5
16706 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16707 whose name does not start with the host triplet. If you think this
16708 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16709 ac_tool_warned=yes ;;
16710 esac
16711 STRIP=$ac_ct_STRIP
16712 fi
16713 else
16714 STRIP="$ac_cv_prog_STRIP"
16715 fi
16716
16717
16718 if test "$wxUSE_WINE" = "yes"; then
16719 if test -n "$ac_tool_prefix"; then
16720 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16721 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16724 if test "${ac_cv_prog_WINDRES+set}" = set; then
16725 echo $ECHO_N "(cached) $ECHO_C" >&6
16726 else
16727 if test -n "$WINDRES"; then
16728 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16729 else
16730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16731 for as_dir in $PATH
16732 do
16733 IFS=$as_save_IFS
16734 test -z "$as_dir" && as_dir=.
16735 for ac_exec_ext in '' $ac_executable_extensions; do
16736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16737 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16739 break 2
16740 fi
16741 done
16742 done
16743 IFS=$as_save_IFS
16744
16745 fi
16746 fi
16747 WINDRES=$ac_cv_prog_WINDRES
16748 if test -n "$WINDRES"; then
16749 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16750 echo "${ECHO_T}$WINDRES" >&6; }
16751 else
16752 { echo "$as_me:$LINENO: result: no" >&5
16753 echo "${ECHO_T}no" >&6; }
16754 fi
16755
16756
16757 fi
16758 if test -z "$ac_cv_prog_WINDRES"; then
16759 ac_ct_WINDRES=$WINDRES
16760 # Extract the first word of "wrc", so it can be a program name with args.
16761 set dummy wrc; ac_word=$2
16762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16764 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16765 echo $ECHO_N "(cached) $ECHO_C" >&6
16766 else
16767 if test -n "$ac_ct_WINDRES"; then
16768 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16769 else
16770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16771 for as_dir in $PATH
16772 do
16773 IFS=$as_save_IFS
16774 test -z "$as_dir" && as_dir=.
16775 for ac_exec_ext in '' $ac_executable_extensions; do
16776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16777 ac_cv_prog_ac_ct_WINDRES="wrc"
16778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16779 break 2
16780 fi
16781 done
16782 done
16783 IFS=$as_save_IFS
16784
16785 fi
16786 fi
16787 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16788 if test -n "$ac_ct_WINDRES"; then
16789 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16790 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16791 else
16792 { echo "$as_me:$LINENO: result: no" >&5
16793 echo "${ECHO_T}no" >&6; }
16794 fi
16795
16796 if test "x$ac_ct_WINDRES" = x; then
16797 WINDRES=""
16798 else
16799 case $cross_compiling:$ac_tool_warned in
16800 yes:)
16801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16802 whose name does not start with the host triplet. If you think this
16803 configuration is useful to you, please write to autoconf@gnu.org." >&5
16804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16805 whose name does not start with the host triplet. If you think this
16806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16807 ac_tool_warned=yes ;;
16808 esac
16809 WINDRES=$ac_ct_WINDRES
16810 fi
16811 else
16812 WINDRES="$ac_cv_prog_WINDRES"
16813 fi
16814
16815 RESCOMP="$WINDRES"
16816 else
16817 case "${host}" in
16818 *-*-cygwin* | *-*-mingw32* )
16819 if test -n "$ac_tool_prefix"; then
16820 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16821 set dummy ${ac_tool_prefix}windres; ac_word=$2
16822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16824 if test "${ac_cv_prog_WINDRES+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 else
16827 if test -n "$WINDRES"; then
16828 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16829 else
16830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16831 for as_dir in $PATH
16832 do
16833 IFS=$as_save_IFS
16834 test -z "$as_dir" && as_dir=.
16835 for ac_exec_ext in '' $ac_executable_extensions; do
16836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16837 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16839 break 2
16840 fi
16841 done
16842 done
16843 IFS=$as_save_IFS
16844
16845 fi
16846 fi
16847 WINDRES=$ac_cv_prog_WINDRES
16848 if test -n "$WINDRES"; then
16849 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16850 echo "${ECHO_T}$WINDRES" >&6; }
16851 else
16852 { echo "$as_me:$LINENO: result: no" >&5
16853 echo "${ECHO_T}no" >&6; }
16854 fi
16855
16856
16857 fi
16858 if test -z "$ac_cv_prog_WINDRES"; then
16859 ac_ct_WINDRES=$WINDRES
16860 # Extract the first word of "windres", so it can be a program name with args.
16861 set dummy windres; ac_word=$2
16862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16864 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 else
16867 if test -n "$ac_ct_WINDRES"; then
16868 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16869 else
16870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16871 for as_dir in $PATH
16872 do
16873 IFS=$as_save_IFS
16874 test -z "$as_dir" && as_dir=.
16875 for ac_exec_ext in '' $ac_executable_extensions; do
16876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16877 ac_cv_prog_ac_ct_WINDRES="windres"
16878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16879 break 2
16880 fi
16881 done
16882 done
16883 IFS=$as_save_IFS
16884
16885 fi
16886 fi
16887 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16888 if test -n "$ac_ct_WINDRES"; then
16889 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16890 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16891 else
16892 { echo "$as_me:$LINENO: result: no" >&5
16893 echo "${ECHO_T}no" >&6; }
16894 fi
16895
16896 if test "x$ac_ct_WINDRES" = x; then
16897 WINDRES=""
16898 else
16899 case $cross_compiling:$ac_tool_warned in
16900 yes:)
16901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16902 whose name does not start with the host triplet. If you think this
16903 configuration is useful to you, please write to autoconf@gnu.org." >&5
16904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16905 whose name does not start with the host triplet. If you think this
16906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16907 ac_tool_warned=yes ;;
16908 esac
16909 WINDRES=$ac_ct_WINDRES
16910 fi
16911 else
16912 WINDRES="$ac_cv_prog_WINDRES"
16913 fi
16914
16915 RESCOMP="$WINDRES"
16916 if test -n "$ac_tool_prefix"; then
16917 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16918 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16921 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 if test -n "$DLLTOOL"; then
16925 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16926 else
16927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16928 for as_dir in $PATH
16929 do
16930 IFS=$as_save_IFS
16931 test -z "$as_dir" && as_dir=.
16932 for ac_exec_ext in '' $ac_executable_extensions; do
16933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16934 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16936 break 2
16937 fi
16938 done
16939 done
16940 IFS=$as_save_IFS
16941
16942 fi
16943 fi
16944 DLLTOOL=$ac_cv_prog_DLLTOOL
16945 if test -n "$DLLTOOL"; then
16946 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16947 echo "${ECHO_T}$DLLTOOL" >&6; }
16948 else
16949 { echo "$as_me:$LINENO: result: no" >&5
16950 echo "${ECHO_T}no" >&6; }
16951 fi
16952
16953
16954 fi
16955 if test -z "$ac_cv_prog_DLLTOOL"; then
16956 ac_ct_DLLTOOL=$DLLTOOL
16957 # Extract the first word of "dlltool", so it can be a program name with args.
16958 set dummy dlltool; ac_word=$2
16959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16961 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16962 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 else
16964 if test -n "$ac_ct_DLLTOOL"; then
16965 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16966 else
16967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16968 for as_dir in $PATH
16969 do
16970 IFS=$as_save_IFS
16971 test -z "$as_dir" && as_dir=.
16972 for ac_exec_ext in '' $ac_executable_extensions; do
16973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16974 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16976 break 2
16977 fi
16978 done
16979 done
16980 IFS=$as_save_IFS
16981
16982 fi
16983 fi
16984 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16985 if test -n "$ac_ct_DLLTOOL"; then
16986 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16987 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16988 else
16989 { echo "$as_me:$LINENO: result: no" >&5
16990 echo "${ECHO_T}no" >&6; }
16991 fi
16992
16993 if test "x$ac_ct_DLLTOOL" = x; then
16994 DLLTOOL=""
16995 else
16996 case $cross_compiling:$ac_tool_warned in
16997 yes:)
16998 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16999 whose name does not start with the host triplet. If you think this
17000 configuration is useful to you, please write to autoconf@gnu.org." >&5
17001 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17002 whose name does not start with the host triplet. If you think this
17003 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17004 ac_tool_warned=yes ;;
17005 esac
17006 DLLTOOL=$ac_ct_DLLTOOL
17007 fi
17008 else
17009 DLLTOOL="$ac_cv_prog_DLLTOOL"
17010 fi
17011
17012 ;;
17013 esac
17014 fi
17015
17016 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17017 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17018 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 else
17021
17022 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17023 $EGREP -s GNU > /dev/null); then
17024 wx_cv_prog_makeisgnu="yes"
17025 else
17026 wx_cv_prog_makeisgnu="no"
17027 fi
17028
17029 fi
17030 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17031 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17032
17033 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17034 IF_GNU_MAKE=""
17035 else
17036 IF_GNU_MAKE="#"
17037 fi
17038
17039
17040
17041 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17042 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17043 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17044 if test "${wx_cv_prog_makevpath+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047
17048 cat - << EOF > confMake
17049 check : file
17050 cp \$? \$@
17051 cp \$? final_file
17052 EOF
17053
17054 if test ! -d sub ; then
17055 mkdir sub
17056 fi
17057 echo dummy > sub/file
17058 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17059 RESULT=$?
17060 rm -f sub/file check final_file confMake
17061 rmdir sub
17062 if test "$RESULT" = 0; then
17063 wx_cv_prog_makevpath="yes"
17064 else
17065 wx_cv_prog_makevpath="no"
17066 fi
17067
17068 fi
17069 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17070 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17071
17072 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17073 { { echo "$as_me:$LINENO: error:
17074 You need a make-utility that is able to use the variable
17075 VPATH correctly.
17076 If your version of make does not support VPATH correctly,
17077 please install GNU-make (possibly as gmake), and start
17078 configure with the following command:
17079 export MAKE=gmake; ./configure for sh-type shells
17080 setenv MAKE gmake; ./configure for csh-type shells
17081 Also please do remember to use gmake in this case every time
17082 you are trying to compile.
17083 " >&5
17084 echo "$as_me: error:
17085 You need a make-utility that is able to use the variable
17086 VPATH correctly.
17087 If your version of make does not support VPATH correctly,
17088 please install GNU-make (possibly as gmake), and start
17089 configure with the following command:
17090 export MAKE=gmake; ./configure for sh-type shells
17091 setenv MAKE gmake; ./configure for csh-type shells
17092 Also please do remember to use gmake in this case every time
17093 you are trying to compile.
17094 " >&2;}
17095 { (exit 1); exit 1; }; }
17096 fi fi
17097 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17098 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17099 LN_S=$as_ln_s
17100 if test "$LN_S" = "ln -s"; then
17101 { echo "$as_me:$LINENO: result: yes" >&5
17102 echo "${ECHO_T}yes" >&6; }
17103 else
17104 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17105 echo "${ECHO_T}no, using $LN_S" >&6; }
17106 fi
17107
17108
17109
17110
17111 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17112 CXXFLAGS="-qunique $CXXFLAGS"
17113 fi
17114
17115 case "${host}" in
17116 powerpc-*-darwin* )
17117 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17118 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17119 cat >conftest.$ac_ext <<_ACEOF
17120 /* confdefs.h. */
17121 _ACEOF
17122 cat confdefs.h >>conftest.$ac_ext
17123 cat >>conftest.$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17125
17126 int
17127 main ()
17128 {
17129 #ifndef __POWERPC__
17130 choke me for lack of PowerPC
17131 #endif
17132
17133 ;
17134 return 0;
17135 }
17136 _ACEOF
17137 rm -f conftest.$ac_objext
17138 if { (ac_try="$ac_compile"
17139 case "(($ac_try" in
17140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17141 *) ac_try_echo=$ac_try;;
17142 esac
17143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17144 (eval "$ac_compile") 2>conftest.er1
17145 ac_status=$?
17146 grep -v '^ *+' conftest.er1 >conftest.err
17147 rm -f conftest.er1
17148 cat conftest.err >&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } && {
17151 test -z "$ac_c_werror_flag" ||
17152 test ! -s conftest.err
17153 } && test -s conftest.$ac_objext; then
17154 { echo "$as_me:$LINENO: result: yes" >&5
17155 echo "${ECHO_T}yes" >&6; }
17156 else
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17159
17160 { echo "$as_me:$LINENO: result: no" >&5
17161 echo "${ECHO_T}no" >&6; }
17162 cat >>confdefs.h <<\_ACEOF
17163 #define __POWERPC__ 1
17164 _ACEOF
17165
17166
17167 fi
17168
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170 ;;
17171 esac
17172
17173 case "${host}" in
17174 *-*-darwin* )
17175 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17176 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17177 cat >conftest.$ac_ext <<_ACEOF
17178 /* confdefs.h. */
17179 _ACEOF
17180 cat confdefs.h >>conftest.$ac_ext
17181 cat >>conftest.$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17183 #include <CoreFoundation/CFBase.h>
17184
17185 int
17186 main ()
17187 {
17188
17189 ;
17190 return 0;
17191 }
17192 _ACEOF
17193 rm -f conftest.$ac_objext
17194 if { (ac_try="$ac_compile"
17195 case "(($ac_try" in
17196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17197 *) ac_try_echo=$ac_try;;
17198 esac
17199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17200 (eval "$ac_compile") 2>conftest.er1
17201 ac_status=$?
17202 grep -v '^ *+' conftest.er1 >conftest.err
17203 rm -f conftest.er1
17204 cat conftest.err >&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } && {
17207 test -z "$ac_c_werror_flag" ||
17208 test ! -s conftest.err
17209 } && test -s conftest.$ac_objext; then
17210 { echo "$as_me:$LINENO: result: yes" >&5
17211 echo "${ECHO_T}yes" >&6; }
17212 else
17213 echo "$as_me: failed program was:" >&5
17214 sed 's/^/| /' conftest.$ac_ext >&5
17215
17216 { echo "$as_me:$LINENO: result: no" >&5
17217 echo "${ECHO_T}no" >&6; }
17218 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17219 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17220 cat >conftest.$ac_ext <<_ACEOF
17221 /* confdefs.h. */
17222 _ACEOF
17223 cat confdefs.h >>conftest.$ac_ext
17224 cat >>conftest.$ac_ext <<_ACEOF
17225 /* end confdefs.h. */
17226 #define __CF_USE_FRAMEWORK_INCLUDES__
17227 #include <CoreFoundation/CFBase.h>
17228
17229 int
17230 main ()
17231 {
17232
17233 ;
17234 return 0;
17235 }
17236 _ACEOF
17237 rm -f conftest.$ac_objext
17238 if { (ac_try="$ac_compile"
17239 case "(($ac_try" in
17240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17241 *) ac_try_echo=$ac_try;;
17242 esac
17243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17244 (eval "$ac_compile") 2>conftest.er1
17245 ac_status=$?
17246 grep -v '^ *+' conftest.er1 >conftest.err
17247 rm -f conftest.er1
17248 cat conftest.err >&5
17249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17250 (exit $ac_status); } && {
17251 test -z "$ac_c_werror_flag" ||
17252 test ! -s conftest.err
17253 } && test -s conftest.$ac_objext; then
17254 { echo "$as_me:$LINENO: result: yes" >&5
17255 echo "${ECHO_T}yes" >&6; }
17256 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17260
17261 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17262 See \`config.log' for more details." >&5
17263 echo "$as_me: error: no. CoreFoundation not available.
17264 See \`config.log' for more details." >&2;}
17265 { (exit 1); exit 1; }; }
17266
17267 fi
17268
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270
17271
17272 fi
17273
17274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17275 ;;
17276 esac
17277
17278 wants_win32=0
17279 doesnt_want_win32=0
17280 case "${host}" in
17281 *-*-cygwin*)
17282 if test "$wxUSE_MSW" = 1 ; then
17283 wants_win32=1
17284 else
17285 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17286 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17287 if test "${wx_cv_nocygwin+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 else
17290
17291 cat >conftest.$ac_ext <<_ACEOF
17292 /* confdefs.h. */
17293 _ACEOF
17294 cat confdefs.h >>conftest.$ac_ext
17295 cat >>conftest.$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297
17298 int
17299 main ()
17300 {
17301
17302 #ifdef __MINGW32__
17303 choke me
17304 #endif
17305
17306 ;
17307 return 0;
17308 }
17309 _ACEOF
17310 rm -f conftest.$ac_objext
17311 if { (ac_try="$ac_compile"
17312 case "(($ac_try" in
17313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17314 *) ac_try_echo=$ac_try;;
17315 esac
17316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17317 (eval "$ac_compile") 2>conftest.er1
17318 ac_status=$?
17319 grep -v '^ *+' conftest.er1 >conftest.err
17320 rm -f conftest.er1
17321 cat conftest.err >&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); } && {
17324 test -z "$ac_c_werror_flag" ||
17325 test ! -s conftest.err
17326 } && test -s conftest.$ac_objext; then
17327 wx_cv_nocygwin=no
17328 else
17329 echo "$as_me: failed program was:" >&5
17330 sed 's/^/| /' conftest.$ac_ext >&5
17331
17332 wx_cv_nocygwin=yes
17333
17334 fi
17335
17336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17337
17338
17339 fi
17340 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17341 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17342
17343 if test "$wx_cv_nocygwin" = "yes"; then
17344 wants_win32=1
17345 else
17346 doesnt_want_win32=1
17347 fi
17348 fi
17349 if test "$wants_win32" = 1 ; then
17350 BAKEFILE_FORCE_PLATFORM=win32
17351 fi
17352 ;;
17353 *-*-mingw*)
17354 wants_win32=1
17355 ;;
17356 esac
17357
17358 if test "$wxUSE_WINE" = "yes"; then
17359 wants_win32=1
17360 LDFLAGS_GUI="-mwindows"
17361 fi
17362
17363 if test "$wants_win32" = 1 ; then
17364 USE_UNIX=0
17365 USE_WIN32=1
17366 cat >>confdefs.h <<\_ACEOF
17367 #define __WIN32__ 1
17368 _ACEOF
17369
17370 cat >>confdefs.h <<\_ACEOF
17371 #define __WIN95__ 1
17372 _ACEOF
17373
17374 cat >>confdefs.h <<\_ACEOF
17375 #define __WINDOWS__ 1
17376 _ACEOF
17377
17378 cat >>confdefs.h <<\_ACEOF
17379 #define __GNUWIN32__ 1
17380 _ACEOF
17381
17382 cat >>confdefs.h <<\_ACEOF
17383 #define STRICT 1
17384 _ACEOF
17385
17386 fi
17387 if test "$doesnt_want_win32" = 1 ; then
17388 USE_UNIX=1
17389 USE_WIN32=0
17390 fi
17391
17392 if test "$USE_UNIX" = 1 ; then
17393 wxUSE_UNIX=yes
17394 cat >>confdefs.h <<\_ACEOF
17395 #define __UNIX__ 1
17396 _ACEOF
17397
17398 fi
17399
17400 case "${host}" in
17401 *-pc-os2_emx | *-pc-os2-emx )
17402 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17403 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17404 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17405 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17406 echo $ECHO_N "(cached) $ECHO_C" >&6
17407 else
17408 ac_check_lib_save_LIBS=$LIBS
17409 LIBS="-lcExt $LIBS"
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416
17417 /* Override any GCC internal prototype to avoid an error.
17418 Use char because int might match the return type of a GCC
17419 builtin and then its argument prototype would still apply. */
17420 #ifdef __cplusplus
17421 extern "C"
17422 #endif
17423 char drand48 ();
17424 int
17425 main ()
17426 {
17427 return drand48 ();
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 rm -f conftest.$ac_objext conftest$ac_exeext
17433 if { (ac_try="$ac_link"
17434 case "(($ac_try" in
17435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17436 *) ac_try_echo=$ac_try;;
17437 esac
17438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17439 (eval "$ac_link") 2>conftest.er1
17440 ac_status=$?
17441 grep -v '^ *+' conftest.er1 >conftest.err
17442 rm -f conftest.er1
17443 cat conftest.err >&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest$ac_exeext &&
17449 $as_test_x conftest$ac_exeext; then
17450 ac_cv_lib_cExt_drand48=yes
17451 else
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.$ac_ext >&5
17454
17455 ac_cv_lib_cExt_drand48=no
17456 fi
17457
17458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17459 conftest$ac_exeext conftest.$ac_ext
17460 LIBS=$ac_check_lib_save_LIBS
17461 fi
17462 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17463 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17464 if test $ac_cv_lib_cExt_drand48 = yes; then
17465 LIBS="$LIBS -lcExt"
17466 fi
17467
17468 else
17469 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17470 fi
17471 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17472 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17473 if test "${wx_cv_gccversion+set}" = set; then
17474 echo $ECHO_N "(cached) $ECHO_C" >&6
17475 else
17476
17477 if test "$cross_compiling" = yes; then
17478 wx_cv_gccversion="EMX2"
17479
17480 else
17481 cat >conftest.$ac_ext <<_ACEOF
17482 /* confdefs.h. */
17483 _ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487
17488 #include <stdio.h>
17489
17490 int main()
17491 {
17492 FILE *f=fopen("conftestval", "w");
17493 if (!f) exit(1);
17494 fprintf(f,
17495 #if (__GNUC__ < 3)
17496 "EMX2"
17497 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17498 "EMX3"
17499 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17500 "Innotek5"
17501 #else
17502 "Innotek6"
17503 #endif
17504 );
17505 exit(0);
17506 }
17507
17508 _ACEOF
17509 rm -f conftest$ac_exeext
17510 if { (ac_try="$ac_link"
17511 case "(($ac_try" in
17512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17513 *) ac_try_echo=$ac_try;;
17514 esac
17515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17516 (eval "$ac_link") 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17520 { (case "(($ac_try" in
17521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17522 *) ac_try_echo=$ac_try;;
17523 esac
17524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17525 (eval "$ac_try") 2>&5
17526 ac_status=$?
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); }; }; then
17529 wx_cv_gccversion=`cat conftestval`
17530 else
17531 echo "$as_me: program exited with status $ac_status" >&5
17532 echo "$as_me: failed program was:" >&5
17533 sed 's/^/| /' conftest.$ac_ext >&5
17534
17535 ( exit $ac_status )
17536 wx_cv_gccversion="EMX2"
17537 fi
17538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17539 fi
17540
17541
17542
17543 fi
17544 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17545 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17546 if test "$wx_cv_gccversion" = "EMX2"; then
17547 LIBS="$LIBS -lstdcpp"
17548 LDFLAGS="$LDFLAGS -Zsysv-signals"
17549 else
17550 if test "$wx_cv_gccversion" = "EMX3"; then
17551 LIBS="$LIBS -lstdcxx -lgcc"
17552 LDFLAGS="$LDFLAGS -Zsysv-signals"
17553 else
17554 LIBS="$LIBS -lstdc++"
17555 fi
17556 fi
17557 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17558 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17559 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17560 wxUSE_OMF=yes
17561 enable_omf=yes
17562 fi
17563 ;;
17564 *)
17565
17566 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17567 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17568 if test "${ac_cv_string_strcasecmp+set}" = set; then
17569 echo $ECHO_N "(cached) $ECHO_C" >&6
17570 else
17571
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578
17579 #include <string.h>
17580
17581 int
17582 main ()
17583 {
17584
17585 strcasecmp("foo", "bar");
17586
17587 ;
17588 return 0;
17589 }
17590 _ACEOF
17591 rm -f conftest.$ac_objext conftest$ac_exeext
17592 if { (ac_try="$ac_link"
17593 case "(($ac_try" in
17594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17595 *) ac_try_echo=$ac_try;;
17596 esac
17597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_link") 2>conftest.er1
17599 ac_status=$?
17600 grep -v '^ *+' conftest.er1 >conftest.err
17601 rm -f conftest.er1
17602 cat conftest.err >&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } && {
17605 test -z "$ac_c_werror_flag" ||
17606 test ! -s conftest.err
17607 } && test -s conftest$ac_exeext &&
17608 $as_test_x conftest$ac_exeext; then
17609 ac_cv_string_strcasecmp=yes
17610 else
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.$ac_ext >&5
17613
17614 ac_cv_string_strcasecmp=no
17615
17616 fi
17617
17618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17619 conftest$ac_exeext conftest.$ac_ext
17620
17621 fi
17622 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17623 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17624
17625 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17626 cat >>confdefs.h <<\_ACEOF
17627 #define HAVE_STRCASECMP_IN_STRING_H 1
17628 _ACEOF
17629
17630 else
17631 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17632 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17633 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17634 echo $ECHO_N "(cached) $ECHO_C" >&6
17635 else
17636
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643
17644 #include <strings.h>
17645
17646 int
17647 main ()
17648 {
17649
17650 strcasecmp("foo", "bar");
17651
17652 ;
17653 return 0;
17654 }
17655 _ACEOF
17656 rm -f conftest.$ac_objext conftest$ac_exeext
17657 if { (ac_try="$ac_link"
17658 case "(($ac_try" in
17659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17660 *) ac_try_echo=$ac_try;;
17661 esac
17662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17663 (eval "$ac_link") 2>conftest.er1
17664 ac_status=$?
17665 grep -v '^ *+' conftest.er1 >conftest.err
17666 rm -f conftest.er1
17667 cat conftest.err >&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } && {
17670 test -z "$ac_c_werror_flag" ||
17671 test ! -s conftest.err
17672 } && test -s conftest$ac_exeext &&
17673 $as_test_x conftest$ac_exeext; then
17674 ac_cv_strings_strcasecmp=yes
17675 else
17676 echo "$as_me: failed program was:" >&5
17677 sed 's/^/| /' conftest.$ac_ext >&5
17678
17679 ac_cv_strings_strcasecmp=no
17680
17681 fi
17682
17683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17684 conftest$ac_exeext conftest.$ac_ext
17685
17686 fi
17687 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17688 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17689
17690 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17691 cat >>confdefs.h <<\_ACEOF
17692 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17693 _ACEOF
17694
17695 else
17696 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17697 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17698 { (exit 1); exit 1; }; }
17699 fi
17700 fi
17701
17702 ;;
17703 esac
17704
17705
17706 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17707 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17708 if test "${ac_cv_header_stdc+set}" = set; then
17709 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 else
17711 cat >conftest.$ac_ext <<_ACEOF
17712 /* confdefs.h. */
17713 _ACEOF
17714 cat confdefs.h >>conftest.$ac_ext
17715 cat >>conftest.$ac_ext <<_ACEOF
17716 /* end confdefs.h. */
17717 #include <stdlib.h>
17718 #include <stdarg.h>
17719 #include <string.h>
17720 #include <float.h>
17721
17722 int
17723 main ()
17724 {
17725
17726 ;
17727 return 0;
17728 }
17729 _ACEOF
17730 rm -f conftest.$ac_objext
17731 if { (ac_try="$ac_compile"
17732 case "(($ac_try" in
17733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17734 *) ac_try_echo=$ac_try;;
17735 esac
17736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17737 (eval "$ac_compile") 2>conftest.er1
17738 ac_status=$?
17739 grep -v '^ *+' conftest.er1 >conftest.err
17740 rm -f conftest.er1
17741 cat conftest.err >&5
17742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17743 (exit $ac_status); } && {
17744 test -z "$ac_c_werror_flag" ||
17745 test ! -s conftest.err
17746 } && test -s conftest.$ac_objext; then
17747 ac_cv_header_stdc=yes
17748 else
17749 echo "$as_me: failed program was:" >&5
17750 sed 's/^/| /' conftest.$ac_ext >&5
17751
17752 ac_cv_header_stdc=no
17753 fi
17754
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17756
17757 if test $ac_cv_header_stdc = yes; then
17758 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17759 cat >conftest.$ac_ext <<_ACEOF
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 #include <string.h>
17766
17767 _ACEOF
17768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17769 $EGREP "memchr" >/dev/null 2>&1; then
17770 :
17771 else
17772 ac_cv_header_stdc=no
17773 fi
17774 rm -f conftest*
17775
17776 fi
17777
17778 if test $ac_cv_header_stdc = yes; then
17779 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17780 cat >conftest.$ac_ext <<_ACEOF
17781 /* confdefs.h. */
17782 _ACEOF
17783 cat confdefs.h >>conftest.$ac_ext
17784 cat >>conftest.$ac_ext <<_ACEOF
17785 /* end confdefs.h. */
17786 #include <stdlib.h>
17787
17788 _ACEOF
17789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17790 $EGREP "free" >/dev/null 2>&1; then
17791 :
17792 else
17793 ac_cv_header_stdc=no
17794 fi
17795 rm -f conftest*
17796
17797 fi
17798
17799 if test $ac_cv_header_stdc = yes; then
17800 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17801 if test "$cross_compiling" = yes; then
17802 :
17803 else
17804 cat >conftest.$ac_ext <<_ACEOF
17805 /* confdefs.h. */
17806 _ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810 #include <ctype.h>
17811 #include <stdlib.h>
17812 #if ((' ' & 0x0FF) == 0x020)
17813 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17814 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17815 #else
17816 # define ISLOWER(c) \
17817 (('a' <= (c) && (c) <= 'i') \
17818 || ('j' <= (c) && (c) <= 'r') \
17819 || ('s' <= (c) && (c) <= 'z'))
17820 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17821 #endif
17822
17823 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17824 int
17825 main ()
17826 {
17827 int i;
17828 for (i = 0; i < 256; i++)
17829 if (XOR (islower (i), ISLOWER (i))
17830 || toupper (i) != TOUPPER (i))
17831 return 2;
17832 return 0;
17833 }
17834 _ACEOF
17835 rm -f conftest$ac_exeext
17836 if { (ac_try="$ac_link"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17840 esac
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_link") 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17846 { (case "(($ac_try" in
17847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17848 *) ac_try_echo=$ac_try;;
17849 esac
17850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17851 (eval "$ac_try") 2>&5
17852 ac_status=$?
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); }; }; then
17855 :
17856 else
17857 echo "$as_me: program exited with status $ac_status" >&5
17858 echo "$as_me: failed program was:" >&5
17859 sed 's/^/| /' conftest.$ac_ext >&5
17860
17861 ( exit $ac_status )
17862 ac_cv_header_stdc=no
17863 fi
17864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17865 fi
17866
17867
17868 fi
17869 fi
17870 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17871 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17872 if test $ac_cv_header_stdc = yes; then
17873
17874 cat >>confdefs.h <<\_ACEOF
17875 #define STDC_HEADERS 1
17876 _ACEOF
17877
17878 fi
17879
17880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17891 inttypes.h stdint.h unistd.h
17892 do
17893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17894 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17897 echo $ECHO_N "(cached) $ECHO_C" >&6
17898 else
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 $ac_includes_default
17906
17907 #include <$ac_header>
17908 _ACEOF
17909 rm -f conftest.$ac_objext
17910 if { (ac_try="$ac_compile"
17911 case "(($ac_try" in
17912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17913 *) ac_try_echo=$ac_try;;
17914 esac
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17916 (eval "$ac_compile") 2>conftest.er1
17917 ac_status=$?
17918 grep -v '^ *+' conftest.er1 >conftest.err
17919 rm -f conftest.er1
17920 cat conftest.err >&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } && {
17923 test -z "$ac_c_werror_flag" ||
17924 test ! -s conftest.err
17925 } && test -s conftest.$ac_objext; then
17926 eval "$as_ac_Header=yes"
17927 else
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17930
17931 eval "$as_ac_Header=no"
17932 fi
17933
17934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935 fi
17936 ac_res=`eval echo '${'$as_ac_Header'}'`
17937 { echo "$as_me:$LINENO: result: $ac_res" >&5
17938 echo "${ECHO_T}$ac_res" >&6; }
17939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17940 cat >>confdefs.h <<_ACEOF
17941 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17942 _ACEOF
17943
17944 fi
17945
17946 done
17947
17948
17949
17950
17951
17952
17953
17954
17955 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17956 do
17957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 cat >conftest.$ac_ext <<_ACEOF
17964 /* confdefs.h. */
17965 _ACEOF
17966 cat confdefs.h >>conftest.$ac_ext
17967 cat >>conftest.$ac_ext <<_ACEOF
17968 /* end confdefs.h. */
17969 $ac_includes_default
17970
17971 #include <$ac_header>
17972 _ACEOF
17973 rm -f conftest.$ac_objext
17974 if { (ac_try="$ac_compile"
17975 case "(($ac_try" in
17976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17977 *) ac_try_echo=$ac_try;;
17978 esac
17979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17980 (eval "$ac_compile") 2>conftest.er1
17981 ac_status=$?
17982 grep -v '^ *+' conftest.er1 >conftest.err
17983 rm -f conftest.er1
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } && {
17987 test -z "$ac_c_werror_flag" ||
17988 test ! -s conftest.err
17989 } && test -s conftest.$ac_objext; then
17990 eval "$as_ac_Header=yes"
17991 else
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17994
17995 eval "$as_ac_Header=no"
17996 fi
17997
17998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17999 fi
18000 ac_res=`eval echo '${'$as_ac_Header'}'`
18001 { echo "$as_me:$LINENO: result: $ac_res" >&5
18002 echo "${ECHO_T}$ac_res" >&6; }
18003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18004 cat >>confdefs.h <<_ACEOF
18005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18006 _ACEOF
18007
18008 fi
18009
18010 done
18011
18012
18013 if test "$ac_cv_header_wchar_h" != "yes"; then
18014 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18015 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18016 if test "${ac_cv_header_wcstr_h+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 else
18019 cat >conftest.$ac_ext <<_ACEOF
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 $ac_includes_default
18026
18027 #include <wcstr.h>
18028 _ACEOF
18029 rm -f conftest.$ac_objext
18030 if { (ac_try="$ac_compile"
18031 case "(($ac_try" in
18032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18034 esac
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compile") 2>conftest.er1
18037 ac_status=$?
18038 grep -v '^ *+' conftest.er1 >conftest.err
18039 rm -f conftest.er1
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_c_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest.$ac_objext; then
18046 ac_cv_header_wcstr_h=yes
18047 else
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18050
18051 ac_cv_header_wcstr_h=no
18052 fi
18053
18054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055 fi
18056 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18057 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18058
18059
18060 fi
18061
18062 case "${host}" in
18063 *-pc-os2_emx | *-pc-os2-emx )
18064 if test $ac_cv_header_langinfo_h = "yes" \
18065 -a \( "$wx_cv_gccversion" = "EMX2" \
18066 -o "$wx_cv_gccversion" = "EMX3" \
18067 -o "$wx_cv_gccversion" = "Innotek5" \); then
18068 LIBS="$LIBS -lintl"
18069 fi
18070 ;;
18071 esac
18072
18073 if test "$USE_UNIX" = 1 ; then
18074 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18075 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18076 if test "${ac_cv_header_sys_select_h+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 else
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 $ac_includes_default
18086
18087 #include <sys/select.h>
18088 _ACEOF
18089 rm -f conftest.$ac_objext
18090 if { (ac_try="$ac_compile"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18094 esac
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compile") 2>conftest.er1
18097 ac_status=$?
18098 grep -v '^ *+' conftest.er1 >conftest.err
18099 rm -f conftest.er1
18100 cat conftest.err >&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } && {
18103 test -z "$ac_c_werror_flag" ||
18104 test ! -s conftest.err
18105 } && test -s conftest.$ac_objext; then
18106 ac_cv_header_sys_select_h=yes
18107 else
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18110
18111 ac_cv_header_sys_select_h=no
18112 fi
18113
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115 fi
18116 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18117 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18118
18119
18120 fi
18121
18122
18123 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18124 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18125 if test "${ac_cv_c_const+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18128 cat >conftest.$ac_ext <<_ACEOF
18129 /* confdefs.h. */
18130 _ACEOF
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18134
18135 int
18136 main ()
18137 {
18138 /* FIXME: Include the comments suggested by Paul. */
18139 #ifndef __cplusplus
18140 /* Ultrix mips cc rejects this. */
18141 typedef int charset[2];
18142 const charset cs;
18143 /* SunOS 4.1.1 cc rejects this. */
18144 char const *const *pcpcc;
18145 char **ppc;
18146 /* NEC SVR4.0.2 mips cc rejects this. */
18147 struct point {int x, y;};
18148 static struct point const zero = {0,0};
18149 /* AIX XL C 1.02.0.0 rejects this.
18150 It does not let you subtract one const X* pointer from another in
18151 an arm of an if-expression whose if-part is not a constant
18152 expression */
18153 const char *g = "string";
18154 pcpcc = &g + (g ? g-g : 0);
18155 /* HPUX 7.0 cc rejects these. */
18156 ++pcpcc;
18157 ppc = (char**) pcpcc;
18158 pcpcc = (char const *const *) ppc;
18159 { /* SCO 3.2v4 cc rejects this. */
18160 char *t;
18161 char const *s = 0 ? (char *) 0 : (char const *) 0;
18162
18163 *t++ = 0;
18164 if (s) return 0;
18165 }
18166 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18167 int x[] = {25, 17};
18168 const int *foo = &x[0];
18169 ++foo;
18170 }
18171 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18172 typedef const int *iptr;
18173 iptr p = 0;
18174 ++p;
18175 }
18176 { /* AIX XL C 1.02.0.0 rejects this saying
18177 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18178 struct s { int j; const int *ap[3]; };
18179 struct s *b; b->j = 5;
18180 }
18181 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18182 const int foo = 10;
18183 if (!foo) return 0;
18184 }
18185 return !cs[0] && !zero.x;
18186 #endif
18187
18188 ;
18189 return 0;
18190 }
18191 _ACEOF
18192 rm -f conftest.$ac_objext
18193 if { (ac_try="$ac_compile"
18194 case "(($ac_try" in
18195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18196 *) ac_try_echo=$ac_try;;
18197 esac
18198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18199 (eval "$ac_compile") 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } && {
18206 test -z "$ac_c_werror_flag" ||
18207 test ! -s conftest.err
18208 } && test -s conftest.$ac_objext; then
18209 ac_cv_c_const=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18213
18214 ac_cv_c_const=no
18215 fi
18216
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218 fi
18219 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18220 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18221 if test $ac_cv_c_const = no; then
18222
18223 cat >>confdefs.h <<\_ACEOF
18224 #define const
18225 _ACEOF
18226
18227 fi
18228
18229 { echo "$as_me:$LINENO: checking for inline" >&5
18230 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18231 if test "${ac_cv_c_inline+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18233 else
18234 ac_cv_c_inline=no
18235 for ac_kw in inline __inline__ __inline; do
18236 cat >conftest.$ac_ext <<_ACEOF
18237 /* confdefs.h. */
18238 _ACEOF
18239 cat confdefs.h >>conftest.$ac_ext
18240 cat >>conftest.$ac_ext <<_ACEOF
18241 /* end confdefs.h. */
18242 #ifndef __cplusplus
18243 typedef int foo_t;
18244 static $ac_kw foo_t static_foo () {return 0; }
18245 $ac_kw foo_t foo () {return 0; }
18246 #endif
18247
18248 _ACEOF
18249 rm -f conftest.$ac_objext
18250 if { (ac_try="$ac_compile"
18251 case "(($ac_try" in
18252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18253 *) ac_try_echo=$ac_try;;
18254 esac
18255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18256 (eval "$ac_compile") 2>conftest.er1
18257 ac_status=$?
18258 grep -v '^ *+' conftest.er1 >conftest.err
18259 rm -f conftest.er1
18260 cat conftest.err >&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } && {
18263 test -z "$ac_c_werror_flag" ||
18264 test ! -s conftest.err
18265 } && test -s conftest.$ac_objext; then
18266 ac_cv_c_inline=$ac_kw
18267 else
18268 echo "$as_me: failed program was:" >&5
18269 sed 's/^/| /' conftest.$ac_ext >&5
18270
18271
18272 fi
18273
18274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 test "$ac_cv_c_inline" != no && break
18276 done
18277
18278 fi
18279 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18280 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18281
18282
18283 case $ac_cv_c_inline in
18284 inline | yes) ;;
18285 *)
18286 case $ac_cv_c_inline in
18287 no) ac_val=;;
18288 *) ac_val=$ac_cv_c_inline;;
18289 esac
18290 cat >>confdefs.h <<_ACEOF
18291 #ifndef __cplusplus
18292 #define inline $ac_val
18293 #endif
18294 _ACEOF
18295 ;;
18296 esac
18297
18298
18299 { echo "$as_me:$LINENO: checking for short" >&5
18300 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18301 if test "${ac_cv_type_short+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 else
18304 cat >conftest.$ac_ext <<_ACEOF
18305 /* confdefs.h. */
18306 _ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18310 $ac_includes_default
18311 typedef short ac__type_new_;
18312 int
18313 main ()
18314 {
18315 if ((ac__type_new_ *) 0)
18316 return 0;
18317 if (sizeof (ac__type_new_))
18318 return 0;
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext
18324 if { (ac_try="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18328 esac
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18331 ac_status=$?
18332 grep -v '^ *+' conftest.er1 >conftest.err
18333 rm -f conftest.er1
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_c_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_type_short=yes
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_cv_type_short=no
18346 fi
18347
18348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 fi
18350 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18351 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18352
18353 # The cast to long int works around a bug in the HP C Compiler
18354 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18355 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18356 # This bug is HP SR number 8606223364.
18357 { echo "$as_me:$LINENO: checking size of short" >&5
18358 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18359 if test "${ac_cv_sizeof_short+set}" = set; then
18360 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 else
18362 if test "$cross_compiling" = yes; then
18363 # Depending upon the size, compute the lo and hi bounds.
18364 cat >conftest.$ac_ext <<_ACEOF
18365 /* confdefs.h. */
18366 _ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 $ac_includes_default
18371 typedef short ac__type_sizeof_;
18372 int
18373 main ()
18374 {
18375 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18376 test_array [0] = 0
18377
18378 ;
18379 return 0;
18380 }
18381 _ACEOF
18382 rm -f conftest.$ac_objext
18383 if { (ac_try="$ac_compile"
18384 case "(($ac_try" in
18385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18386 *) ac_try_echo=$ac_try;;
18387 esac
18388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18389 (eval "$ac_compile") 2>conftest.er1
18390 ac_status=$?
18391 grep -v '^ *+' conftest.er1 >conftest.err
18392 rm -f conftest.er1
18393 cat conftest.err >&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } && {
18396 test -z "$ac_c_werror_flag" ||
18397 test ! -s conftest.err
18398 } && test -s conftest.$ac_objext; then
18399 ac_lo=0 ac_mid=0
18400 while :; do
18401 cat >conftest.$ac_ext <<_ACEOF
18402 /* confdefs.h. */
18403 _ACEOF
18404 cat confdefs.h >>conftest.$ac_ext
18405 cat >>conftest.$ac_ext <<_ACEOF
18406 /* end confdefs.h. */
18407 $ac_includes_default
18408 typedef short ac__type_sizeof_;
18409 int
18410 main ()
18411 {
18412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18413 test_array [0] = 0
18414
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 rm -f conftest.$ac_objext
18420 if { (ac_try="$ac_compile"
18421 case "(($ac_try" in
18422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18423 *) ac_try_echo=$ac_try;;
18424 esac
18425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18426 (eval "$ac_compile") 2>conftest.er1
18427 ac_status=$?
18428 grep -v '^ *+' conftest.er1 >conftest.err
18429 rm -f conftest.er1
18430 cat conftest.err >&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); } && {
18433 test -z "$ac_c_werror_flag" ||
18434 test ! -s conftest.err
18435 } && test -s conftest.$ac_objext; then
18436 ac_hi=$ac_mid; break
18437 else
18438 echo "$as_me: failed program was:" >&5
18439 sed 's/^/| /' conftest.$ac_ext >&5
18440
18441 ac_lo=`expr $ac_mid + 1`
18442 if test $ac_lo -le $ac_mid; then
18443 ac_lo= ac_hi=
18444 break
18445 fi
18446 ac_mid=`expr 2 '*' $ac_mid + 1`
18447 fi
18448
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450 done
18451 else
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18454
18455 cat >conftest.$ac_ext <<_ACEOF
18456 /* confdefs.h. */
18457 _ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18462 typedef short ac__type_sizeof_;
18463 int
18464 main ()
18465 {
18466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18467 test_array [0] = 0
18468
18469 ;
18470 return 0;
18471 }
18472 _ACEOF
18473 rm -f conftest.$ac_objext
18474 if { (ac_try="$ac_compile"
18475 case "(($ac_try" in
18476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18477 *) ac_try_echo=$ac_try;;
18478 esac
18479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18480 (eval "$ac_compile") 2>conftest.er1
18481 ac_status=$?
18482 grep -v '^ *+' conftest.er1 >conftest.err
18483 rm -f conftest.er1
18484 cat conftest.err >&5
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); } && {
18487 test -z "$ac_c_werror_flag" ||
18488 test ! -s conftest.err
18489 } && test -s conftest.$ac_objext; then
18490 ac_hi=-1 ac_mid=-1
18491 while :; do
18492 cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h. */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h. */
18498 $ac_includes_default
18499 typedef short ac__type_sizeof_;
18500 int
18501 main ()
18502 {
18503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18504 test_array [0] = 0
18505
18506 ;
18507 return 0;
18508 }
18509 _ACEOF
18510 rm -f conftest.$ac_objext
18511 if { (ac_try="$ac_compile"
18512 case "(($ac_try" in
18513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514 *) ac_try_echo=$ac_try;;
18515 esac
18516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18517 (eval "$ac_compile") 2>conftest.er1
18518 ac_status=$?
18519 grep -v '^ *+' conftest.er1 >conftest.err
18520 rm -f conftest.er1
18521 cat conftest.err >&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); } && {
18524 test -z "$ac_c_werror_flag" ||
18525 test ! -s conftest.err
18526 } && test -s conftest.$ac_objext; then
18527 ac_lo=$ac_mid; break
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18531
18532 ac_hi=`expr '(' $ac_mid ')' - 1`
18533 if test $ac_mid -le $ac_hi; then
18534 ac_lo= ac_hi=
18535 break
18536 fi
18537 ac_mid=`expr 2 '*' $ac_mid`
18538 fi
18539
18540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18541 done
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 ac_lo= ac_hi=
18547 fi
18548
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18550 fi
18551
18552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 # Binary search between lo and hi bounds.
18554 while test "x$ac_lo" != "x$ac_hi"; do
18555 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 $ac_includes_default
18563 typedef short ac__type_sizeof_;
18564 int
18565 main ()
18566 {
18567 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18568 test_array [0] = 0
18569
18570 ;
18571 return 0;
18572 }
18573 _ACEOF
18574 rm -f conftest.$ac_objext
18575 if { (ac_try="$ac_compile"
18576 case "(($ac_try" in
18577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18578 *) ac_try_echo=$ac_try;;
18579 esac
18580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18581 (eval "$ac_compile") 2>conftest.er1
18582 ac_status=$?
18583 grep -v '^ *+' conftest.er1 >conftest.err
18584 rm -f conftest.er1
18585 cat conftest.err >&5
18586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18587 (exit $ac_status); } && {
18588 test -z "$ac_c_werror_flag" ||
18589 test ! -s conftest.err
18590 } && test -s conftest.$ac_objext; then
18591 ac_hi=$ac_mid
18592 else
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.$ac_ext >&5
18595
18596 ac_lo=`expr '(' $ac_mid ')' + 1`
18597 fi
18598
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 done
18601 case $ac_lo in
18602 ?*) ac_cv_sizeof_short=$ac_lo;;
18603 '') if test "$ac_cv_type_short" = yes; then
18604 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18605 See \`config.log' for more details." >&5
18606 echo "$as_me: error: cannot compute sizeof (short)
18607 See \`config.log' for more details." >&2;}
18608 { (exit 77); exit 77; }; }
18609 else
18610 ac_cv_sizeof_short=0
18611 fi ;;
18612 esac
18613 else
18614 cat >conftest.$ac_ext <<_ACEOF
18615 /* confdefs.h. */
18616 _ACEOF
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 $ac_includes_default
18621 typedef short ac__type_sizeof_;
18622 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18623 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18624 #include <stdio.h>
18625 #include <stdlib.h>
18626 int
18627 main ()
18628 {
18629
18630 FILE *f = fopen ("conftest.val", "w");
18631 if (! f)
18632 return 1;
18633 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18634 {
18635 long int i = longval ();
18636 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18637 return 1;
18638 fprintf (f, "%ld\n", i);
18639 }
18640 else
18641 {
18642 unsigned long int i = ulongval ();
18643 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18644 return 1;
18645 fprintf (f, "%lu\n", i);
18646 }
18647 return ferror (f) || fclose (f) != 0;
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest$ac_exeext
18654 if { (ac_try="$ac_link"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18658 esac
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_link") 2>&5
18661 ac_status=$?
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18664 { (case "(($ac_try" in
18665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 *) ac_try_echo=$ac_try;;
18667 esac
18668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_try") 2>&5
18670 ac_status=$?
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); }; }; then
18673 ac_cv_sizeof_short=`cat conftest.val`
18674 else
18675 echo "$as_me: program exited with status $ac_status" >&5
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 ( exit $ac_status )
18680 if test "$ac_cv_type_short" = yes; then
18681 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18682 See \`config.log' for more details." >&5
18683 echo "$as_me: error: cannot compute sizeof (short)
18684 See \`config.log' for more details." >&2;}
18685 { (exit 77); exit 77; }; }
18686 else
18687 ac_cv_sizeof_short=0
18688 fi
18689 fi
18690 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18691 fi
18692 rm -f conftest.val
18693 fi
18694 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18695 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18696
18697
18698
18699 cat >>confdefs.h <<_ACEOF
18700 #define SIZEOF_SHORT $ac_cv_sizeof_short
18701 _ACEOF
18702
18703
18704 { echo "$as_me:$LINENO: checking for void *" >&5
18705 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18706 if test "${ac_cv_type_void_p+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 else
18709 cat >conftest.$ac_ext <<_ACEOF
18710 /* confdefs.h. */
18711 _ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18716 typedef void * ac__type_new_;
18717 int
18718 main ()
18719 {
18720 if ((ac__type_new_ *) 0)
18721 return 0;
18722 if (sizeof (ac__type_new_))
18723 return 0;
18724 ;
18725 return 0;
18726 }
18727 _ACEOF
18728 rm -f conftest.$ac_objext
18729 if { (ac_try="$ac_compile"
18730 case "(($ac_try" in
18731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18732 *) ac_try_echo=$ac_try;;
18733 esac
18734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18735 (eval "$ac_compile") 2>conftest.er1
18736 ac_status=$?
18737 grep -v '^ *+' conftest.er1 >conftest.err
18738 rm -f conftest.er1
18739 cat conftest.err >&5
18740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18741 (exit $ac_status); } && {
18742 test -z "$ac_c_werror_flag" ||
18743 test ! -s conftest.err
18744 } && test -s conftest.$ac_objext; then
18745 ac_cv_type_void_p=yes
18746 else
18747 echo "$as_me: failed program was:" >&5
18748 sed 's/^/| /' conftest.$ac_ext >&5
18749
18750 ac_cv_type_void_p=no
18751 fi
18752
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754 fi
18755 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18756 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18757
18758 # The cast to long int works around a bug in the HP C Compiler
18759 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18760 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18761 # This bug is HP SR number 8606223364.
18762 { echo "$as_me:$LINENO: checking size of void *" >&5
18763 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18764 if test "${ac_cv_sizeof_void_p+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 else
18767 if test "$cross_compiling" = yes; then
18768 # Depending upon the size, compute the lo and hi bounds.
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 $ac_includes_default
18776 typedef void * ac__type_sizeof_;
18777 int
18778 main ()
18779 {
18780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18781 test_array [0] = 0
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 rm -f conftest.$ac_objext
18788 if { (ac_try="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18792 esac
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 ac_lo=0 ac_mid=0
18805 while :; do
18806 cat >conftest.$ac_ext <<_ACEOF
18807 /* confdefs.h. */
18808 _ACEOF
18809 cat confdefs.h >>conftest.$ac_ext
18810 cat >>conftest.$ac_ext <<_ACEOF
18811 /* end confdefs.h. */
18812 $ac_includes_default
18813 typedef void * ac__type_sizeof_;
18814 int
18815 main ()
18816 {
18817 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18818 test_array [0] = 0
18819
18820 ;
18821 return 0;
18822 }
18823 _ACEOF
18824 rm -f conftest.$ac_objext
18825 if { (ac_try="$ac_compile"
18826 case "(($ac_try" in
18827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18828 *) ac_try_echo=$ac_try;;
18829 esac
18830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18831 (eval "$ac_compile") 2>conftest.er1
18832 ac_status=$?
18833 grep -v '^ *+' conftest.er1 >conftest.err
18834 rm -f conftest.er1
18835 cat conftest.err >&5
18836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18837 (exit $ac_status); } && {
18838 test -z "$ac_c_werror_flag" ||
18839 test ! -s conftest.err
18840 } && test -s conftest.$ac_objext; then
18841 ac_hi=$ac_mid; break
18842 else
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18845
18846 ac_lo=`expr $ac_mid + 1`
18847 if test $ac_lo -le $ac_mid; then
18848 ac_lo= ac_hi=
18849 break
18850 fi
18851 ac_mid=`expr 2 '*' $ac_mid + 1`
18852 fi
18853
18854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 done
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18859
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 typedef void * ac__type_sizeof_;
18868 int
18869 main ()
18870 {
18871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18872 test_array [0] = 0
18873
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext
18879 if { (ac_try="$ac_compile"
18880 case "(($ac_try" in
18881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18882 *) ac_try_echo=$ac_try;;
18883 esac
18884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18885 (eval "$ac_compile") 2>conftest.er1
18886 ac_status=$?
18887 grep -v '^ *+' conftest.er1 >conftest.err
18888 rm -f conftest.er1
18889 cat conftest.err >&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } && {
18892 test -z "$ac_c_werror_flag" ||
18893 test ! -s conftest.err
18894 } && test -s conftest.$ac_objext; then
18895 ac_hi=-1 ac_mid=-1
18896 while :; do
18897 cat >conftest.$ac_ext <<_ACEOF
18898 /* confdefs.h. */
18899 _ACEOF
18900 cat confdefs.h >>conftest.$ac_ext
18901 cat >>conftest.$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903 $ac_includes_default
18904 typedef void * ac__type_sizeof_;
18905 int
18906 main ()
18907 {
18908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18909 test_array [0] = 0
18910
18911 ;
18912 return 0;
18913 }
18914 _ACEOF
18915 rm -f conftest.$ac_objext
18916 if { (ac_try="$ac_compile"
18917 case "(($ac_try" in
18918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18919 *) ac_try_echo=$ac_try;;
18920 esac
18921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18922 (eval "$ac_compile") 2>conftest.er1
18923 ac_status=$?
18924 grep -v '^ *+' conftest.er1 >conftest.err
18925 rm -f conftest.er1
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } && {
18929 test -z "$ac_c_werror_flag" ||
18930 test ! -s conftest.err
18931 } && test -s conftest.$ac_objext; then
18932 ac_lo=$ac_mid; break
18933 else
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18936
18937 ac_hi=`expr '(' $ac_mid ')' - 1`
18938 if test $ac_mid -le $ac_hi; then
18939 ac_lo= ac_hi=
18940 break
18941 fi
18942 ac_mid=`expr 2 '*' $ac_mid`
18943 fi
18944
18945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18946 done
18947 else
18948 echo "$as_me: failed program was:" >&5
18949 sed 's/^/| /' conftest.$ac_ext >&5
18950
18951 ac_lo= ac_hi=
18952 fi
18953
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18955 fi
18956
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958 # Binary search between lo and hi bounds.
18959 while test "x$ac_lo" != "x$ac_hi"; do
18960 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18961 cat >conftest.$ac_ext <<_ACEOF
18962 /* confdefs.h. */
18963 _ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967 $ac_includes_default
18968 typedef void * ac__type_sizeof_;
18969 int
18970 main ()
18971 {
18972 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18973 test_array [0] = 0
18974
18975 ;
18976 return 0;
18977 }
18978 _ACEOF
18979 rm -f conftest.$ac_objext
18980 if { (ac_try="$ac_compile"
18981 case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18984 esac
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_compile") 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } && {
18993 test -z "$ac_c_werror_flag" ||
18994 test ! -s conftest.err
18995 } && test -s conftest.$ac_objext; then
18996 ac_hi=$ac_mid
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19000
19001 ac_lo=`expr '(' $ac_mid ')' + 1`
19002 fi
19003
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19005 done
19006 case $ac_lo in
19007 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19008 '') if test "$ac_cv_type_void_p" = yes; then
19009 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19010 See \`config.log' for more details." >&5
19011 echo "$as_me: error: cannot compute sizeof (void *)
19012 See \`config.log' for more details." >&2;}
19013 { (exit 77); exit 77; }; }
19014 else
19015 ac_cv_sizeof_void_p=0
19016 fi ;;
19017 esac
19018 else
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 $ac_includes_default
19026 typedef void * ac__type_sizeof_;
19027 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19028 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19029 #include <stdio.h>
19030 #include <stdlib.h>
19031 int
19032 main ()
19033 {
19034
19035 FILE *f = fopen ("conftest.val", "w");
19036 if (! f)
19037 return 1;
19038 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19039 {
19040 long int i = longval ();
19041 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19042 return 1;
19043 fprintf (f, "%ld\n", i);
19044 }
19045 else
19046 {
19047 unsigned long int i = ulongval ();
19048 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19049 return 1;
19050 fprintf (f, "%lu\n", i);
19051 }
19052 return ferror (f) || fclose (f) != 0;
19053
19054 ;
19055 return 0;
19056 }
19057 _ACEOF
19058 rm -f conftest$ac_exeext
19059 if { (ac_try="$ac_link"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19063 esac
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_link") 2>&5
19066 ac_status=$?
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19069 { (case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_try") 2>&5
19075 ac_status=$?
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; }; then
19078 ac_cv_sizeof_void_p=`cat conftest.val`
19079 else
19080 echo "$as_me: program exited with status $ac_status" >&5
19081 echo "$as_me: failed program was:" >&5
19082 sed 's/^/| /' conftest.$ac_ext >&5
19083
19084 ( exit $ac_status )
19085 if test "$ac_cv_type_void_p" = yes; then
19086 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19087 See \`config.log' for more details." >&5
19088 echo "$as_me: error: cannot compute sizeof (void *)
19089 See \`config.log' for more details." >&2;}
19090 { (exit 77); exit 77; }; }
19091 else
19092 ac_cv_sizeof_void_p=0
19093 fi
19094 fi
19095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19096 fi
19097 rm -f conftest.val
19098 fi
19099 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19100 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19101
19102
19103
19104 cat >>confdefs.h <<_ACEOF
19105 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19106 _ACEOF
19107
19108
19109 { echo "$as_me:$LINENO: checking for int" >&5
19110 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19111 if test "${ac_cv_type_int+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19114 cat >conftest.$ac_ext <<_ACEOF
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 $ac_includes_default
19121 typedef int ac__type_new_;
19122 int
19123 main ()
19124 {
19125 if ((ac__type_new_ *) 0)
19126 return 0;
19127 if (sizeof (ac__type_new_))
19128 return 0;
19129 ;
19130 return 0;
19131 }
19132 _ACEOF
19133 rm -f conftest.$ac_objext
19134 if { (ac_try="$ac_compile"
19135 case "(($ac_try" in
19136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19138 esac
19139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_compile") 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } && {
19147 test -z "$ac_c_werror_flag" ||
19148 test ! -s conftest.err
19149 } && test -s conftest.$ac_objext; then
19150 ac_cv_type_int=yes
19151 else
19152 echo "$as_me: failed program was:" >&5
19153 sed 's/^/| /' conftest.$ac_ext >&5
19154
19155 ac_cv_type_int=no
19156 fi
19157
19158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159 fi
19160 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19161 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19162
19163 # The cast to long int works around a bug in the HP C Compiler
19164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19166 # This bug is HP SR number 8606223364.
19167 { echo "$as_me:$LINENO: checking size of int" >&5
19168 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19169 if test "${ac_cv_sizeof_int+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 else
19172 if test "$cross_compiling" = yes; then
19173 # Depending upon the size, compute the lo and hi bounds.
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19181 typedef int ac__type_sizeof_;
19182 int
19183 main ()
19184 {
19185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19186 test_array [0] = 0
19187
19188 ;
19189 return 0;
19190 }
19191 _ACEOF
19192 rm -f conftest.$ac_objext
19193 if { (ac_try="$ac_compile"
19194 case "(($ac_try" in
19195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19196 *) ac_try_echo=$ac_try;;
19197 esac
19198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19199 (eval "$ac_compile") 2>conftest.er1
19200 ac_status=$?
19201 grep -v '^ *+' conftest.er1 >conftest.err
19202 rm -f conftest.er1
19203 cat conftest.err >&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); } && {
19206 test -z "$ac_c_werror_flag" ||
19207 test ! -s conftest.err
19208 } && test -s conftest.$ac_objext; then
19209 ac_lo=0 ac_mid=0
19210 while :; do
19211 cat >conftest.$ac_ext <<_ACEOF
19212 /* confdefs.h. */
19213 _ACEOF
19214 cat confdefs.h >>conftest.$ac_ext
19215 cat >>conftest.$ac_ext <<_ACEOF
19216 /* end confdefs.h. */
19217 $ac_includes_default
19218 typedef int ac__type_sizeof_;
19219 int
19220 main ()
19221 {
19222 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19223 test_array [0] = 0
19224
19225 ;
19226 return 0;
19227 }
19228 _ACEOF
19229 rm -f conftest.$ac_objext
19230 if { (ac_try="$ac_compile"
19231 case "(($ac_try" in
19232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19233 *) ac_try_echo=$ac_try;;
19234 esac
19235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19236 (eval "$ac_compile") 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_c_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest.$ac_objext; then
19246 ac_hi=$ac_mid; break
19247 else
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.$ac_ext >&5
19250
19251 ac_lo=`expr $ac_mid + 1`
19252 if test $ac_lo -le $ac_mid; then
19253 ac_lo= ac_hi=
19254 break
19255 fi
19256 ac_mid=`expr 2 '*' $ac_mid + 1`
19257 fi
19258
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 done
19261 else
19262 echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19264
19265 cat >conftest.$ac_ext <<_ACEOF
19266 /* confdefs.h. */
19267 _ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef int ac__type_sizeof_;
19273 int
19274 main ()
19275 {
19276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19277 test_array [0] = 0
19278
19279 ;
19280 return 0;
19281 }
19282 _ACEOF
19283 rm -f conftest.$ac_objext
19284 if { (ac_try="$ac_compile"
19285 case "(($ac_try" in
19286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19287 *) ac_try_echo=$ac_try;;
19288 esac
19289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19290 (eval "$ac_compile") 2>conftest.er1
19291 ac_status=$?
19292 grep -v '^ *+' conftest.er1 >conftest.err
19293 rm -f conftest.er1
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && {
19297 test -z "$ac_c_werror_flag" ||
19298 test ! -s conftest.err
19299 } && test -s conftest.$ac_objext; then
19300 ac_hi=-1 ac_mid=-1
19301 while :; do
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309 typedef int ac__type_sizeof_;
19310 int
19311 main ()
19312 {
19313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19314 test_array [0] = 0
19315
19316 ;
19317 return 0;
19318 }
19319 _ACEOF
19320 rm -f conftest.$ac_objext
19321 if { (ac_try="$ac_compile"
19322 case "(($ac_try" in
19323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19324 *) ac_try_echo=$ac_try;;
19325 esac
19326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19327 (eval "$ac_compile") 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } && {
19334 test -z "$ac_c_werror_flag" ||
19335 test ! -s conftest.err
19336 } && test -s conftest.$ac_objext; then
19337 ac_lo=$ac_mid; break
19338 else
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.$ac_ext >&5
19341
19342 ac_hi=`expr '(' $ac_mid ')' - 1`
19343 if test $ac_mid -le $ac_hi; then
19344 ac_lo= ac_hi=
19345 break
19346 fi
19347 ac_mid=`expr 2 '*' $ac_mid`
19348 fi
19349
19350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19351 done
19352 else
19353 echo "$as_me: failed program was:" >&5
19354 sed 's/^/| /' conftest.$ac_ext >&5
19355
19356 ac_lo= ac_hi=
19357 fi
19358
19359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 fi
19361
19362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19363 # Binary search between lo and hi bounds.
19364 while test "x$ac_lo" != "x$ac_hi"; do
19365 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19366 cat >conftest.$ac_ext <<_ACEOF
19367 /* confdefs.h. */
19368 _ACEOF
19369 cat confdefs.h >>conftest.$ac_ext
19370 cat >>conftest.$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 $ac_includes_default
19373 typedef int ac__type_sizeof_;
19374 int
19375 main ()
19376 {
19377 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19378 test_array [0] = 0
19379
19380 ;
19381 return 0;
19382 }
19383 _ACEOF
19384 rm -f conftest.$ac_objext
19385 if { (ac_try="$ac_compile"
19386 case "(($ac_try" in
19387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19388 *) ac_try_echo=$ac_try;;
19389 esac
19390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_compile") 2>conftest.er1
19392 ac_status=$?
19393 grep -v '^ *+' conftest.er1 >conftest.err
19394 rm -f conftest.er1
19395 cat conftest.err >&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); } && {
19398 test -z "$ac_c_werror_flag" ||
19399 test ! -s conftest.err
19400 } && test -s conftest.$ac_objext; then
19401 ac_hi=$ac_mid
19402 else
19403 echo "$as_me: failed program was:" >&5
19404 sed 's/^/| /' conftest.$ac_ext >&5
19405
19406 ac_lo=`expr '(' $ac_mid ')' + 1`
19407 fi
19408
19409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19410 done
19411 case $ac_lo in
19412 ?*) ac_cv_sizeof_int=$ac_lo;;
19413 '') if test "$ac_cv_type_int" = yes; then
19414 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19415 See \`config.log' for more details." >&5
19416 echo "$as_me: error: cannot compute sizeof (int)
19417 See \`config.log' for more details." >&2;}
19418 { (exit 77); exit 77; }; }
19419 else
19420 ac_cv_sizeof_int=0
19421 fi ;;
19422 esac
19423 else
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 $ac_includes_default
19431 typedef int ac__type_sizeof_;
19432 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19433 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19434 #include <stdio.h>
19435 #include <stdlib.h>
19436 int
19437 main ()
19438 {
19439
19440 FILE *f = fopen ("conftest.val", "w");
19441 if (! f)
19442 return 1;
19443 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19444 {
19445 long int i = longval ();
19446 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19447 return 1;
19448 fprintf (f, "%ld\n", i);
19449 }
19450 else
19451 {
19452 unsigned long int i = ulongval ();
19453 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19454 return 1;
19455 fprintf (f, "%lu\n", i);
19456 }
19457 return ferror (f) || fclose (f) != 0;
19458
19459 ;
19460 return 0;
19461 }
19462 _ACEOF
19463 rm -f conftest$ac_exeext
19464 if { (ac_try="$ac_link"
19465 case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19468 esac
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_link") 2>&5
19471 ac_status=$?
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19474 { (case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19477 esac
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_try") 2>&5
19480 ac_status=$?
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; }; then
19483 ac_cv_sizeof_int=`cat conftest.val`
19484 else
19485 echo "$as_me: program exited with status $ac_status" >&5
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19488
19489 ( exit $ac_status )
19490 if test "$ac_cv_type_int" = yes; then
19491 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19492 See \`config.log' for more details." >&5
19493 echo "$as_me: error: cannot compute sizeof (int)
19494 See \`config.log' for more details." >&2;}
19495 { (exit 77); exit 77; }; }
19496 else
19497 ac_cv_sizeof_int=0
19498 fi
19499 fi
19500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19501 fi
19502 rm -f conftest.val
19503 fi
19504 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19505 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19506
19507
19508
19509 cat >>confdefs.h <<_ACEOF
19510 #define SIZEOF_INT $ac_cv_sizeof_int
19511 _ACEOF
19512
19513
19514 { echo "$as_me:$LINENO: checking for long" >&5
19515 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19516 if test "${ac_cv_type_long+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19519 cat >conftest.$ac_ext <<_ACEOF
19520 /* confdefs.h. */
19521 _ACEOF
19522 cat confdefs.h >>conftest.$ac_ext
19523 cat >>conftest.$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 $ac_includes_default
19526 typedef long ac__type_new_;
19527 int
19528 main ()
19529 {
19530 if ((ac__type_new_ *) 0)
19531 return 0;
19532 if (sizeof (ac__type_new_))
19533 return 0;
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 rm -f conftest.$ac_objext
19539 if { (ac_try="$ac_compile"
19540 case "(($ac_try" in
19541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19542 *) ac_try_echo=$ac_try;;
19543 esac
19544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19545 (eval "$ac_compile") 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } && {
19552 test -z "$ac_c_werror_flag" ||
19553 test ! -s conftest.err
19554 } && test -s conftest.$ac_objext; then
19555 ac_cv_type_long=yes
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_cv_type_long=no
19561 fi
19562
19563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19564 fi
19565 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19566 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19567
19568 # The cast to long int works around a bug in the HP C Compiler
19569 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19570 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19571 # This bug is HP SR number 8606223364.
19572 { echo "$as_me:$LINENO: checking size of long" >&5
19573 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19574 if test "${ac_cv_sizeof_long+set}" = set; then
19575 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 else
19577 if test "$cross_compiling" = yes; then
19578 # Depending upon the size, compute the lo and hi bounds.
19579 cat >conftest.$ac_ext <<_ACEOF
19580 /* confdefs.h. */
19581 _ACEOF
19582 cat confdefs.h >>conftest.$ac_ext
19583 cat >>conftest.$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 $ac_includes_default
19586 typedef long ac__type_sizeof_;
19587 int
19588 main ()
19589 {
19590 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19591 test_array [0] = 0
19592
19593 ;
19594 return 0;
19595 }
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (ac_try="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19602 esac
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19605 ac_status=$?
19606 grep -v '^ *+' conftest.er1 >conftest.err
19607 rm -f conftest.er1
19608 cat conftest.err >&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.$ac_objext; then
19614 ac_lo=0 ac_mid=0
19615 while :; do
19616 cat >conftest.$ac_ext <<_ACEOF
19617 /* confdefs.h. */
19618 _ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19623 typedef long ac__type_sizeof_;
19624 int
19625 main ()
19626 {
19627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19628 test_array [0] = 0
19629
19630 ;
19631 return 0;
19632 }
19633 _ACEOF
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19639 esac
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_compile") 2>conftest.er1
19642 ac_status=$?
19643 grep -v '^ *+' conftest.er1 >conftest.err
19644 rm -f conftest.er1
19645 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } && {
19648 test -z "$ac_c_werror_flag" ||
19649 test ! -s conftest.err
19650 } && test -s conftest.$ac_objext; then
19651 ac_hi=$ac_mid; break
19652 else
19653 echo "$as_me: failed program was:" >&5
19654 sed 's/^/| /' conftest.$ac_ext >&5
19655
19656 ac_lo=`expr $ac_mid + 1`
19657 if test $ac_lo -le $ac_mid; then
19658 ac_lo= ac_hi=
19659 break
19660 fi
19661 ac_mid=`expr 2 '*' $ac_mid + 1`
19662 fi
19663
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19665 done
19666 else
19667 echo "$as_me: failed program was:" >&5
19668 sed 's/^/| /' conftest.$ac_ext >&5
19669
19670 cat >conftest.$ac_ext <<_ACEOF
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef long ac__type_sizeof_;
19678 int
19679 main ()
19680 {
19681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19682 test_array [0] = 0
19683
19684 ;
19685 return 0;
19686 }
19687 _ACEOF
19688 rm -f conftest.$ac_objext
19689 if { (ac_try="$ac_compile"
19690 case "(($ac_try" in
19691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19692 *) ac_try_echo=$ac_try;;
19693 esac
19694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19695 (eval "$ac_compile") 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } && {
19702 test -z "$ac_c_werror_flag" ||
19703 test ! -s conftest.err
19704 } && test -s conftest.$ac_objext; then
19705 ac_hi=-1 ac_mid=-1
19706 while :; do
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h. */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 $ac_includes_default
19714 typedef long ac__type_sizeof_;
19715 int
19716 main ()
19717 {
19718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19719 test_array [0] = 0
19720
19721 ;
19722 return 0;
19723 }
19724 _ACEOF
19725 rm -f conftest.$ac_objext
19726 if { (ac_try="$ac_compile"
19727 case "(($ac_try" in
19728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729 *) ac_try_echo=$ac_try;;
19730 esac
19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19732 (eval "$ac_compile") 2>conftest.er1
19733 ac_status=$?
19734 grep -v '^ *+' conftest.er1 >conftest.err
19735 rm -f conftest.er1
19736 cat conftest.err >&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } && {
19739 test -z "$ac_c_werror_flag" ||
19740 test ! -s conftest.err
19741 } && test -s conftest.$ac_objext; then
19742 ac_lo=$ac_mid; break
19743 else
19744 echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19746
19747 ac_hi=`expr '(' $ac_mid ')' - 1`
19748 if test $ac_mid -le $ac_hi; then
19749 ac_lo= ac_hi=
19750 break
19751 fi
19752 ac_mid=`expr 2 '*' $ac_mid`
19753 fi
19754
19755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19756 done
19757 else
19758 echo "$as_me: failed program was:" >&5
19759 sed 's/^/| /' conftest.$ac_ext >&5
19760
19761 ac_lo= ac_hi=
19762 fi
19763
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19765 fi
19766
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 # Binary search between lo and hi bounds.
19769 while test "x$ac_lo" != "x$ac_hi"; do
19770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19771 cat >conftest.$ac_ext <<_ACEOF
19772 /* confdefs.h. */
19773 _ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19777 $ac_includes_default
19778 typedef long ac__type_sizeof_;
19779 int
19780 main ()
19781 {
19782 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19783 test_array [0] = 0
19784
19785 ;
19786 return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19806 ac_hi=$ac_mid
19807 else
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19810
19811 ac_lo=`expr '(' $ac_mid ')' + 1`
19812 fi
19813
19814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19815 done
19816 case $ac_lo in
19817 ?*) ac_cv_sizeof_long=$ac_lo;;
19818 '') if test "$ac_cv_type_long" = yes; then
19819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19820 See \`config.log' for more details." >&5
19821 echo "$as_me: error: cannot compute sizeof (long)
19822 See \`config.log' for more details." >&2;}
19823 { (exit 77); exit 77; }; }
19824 else
19825 ac_cv_sizeof_long=0
19826 fi ;;
19827 esac
19828 else
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 $ac_includes_default
19836 typedef long ac__type_sizeof_;
19837 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19838 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19839 #include <stdio.h>
19840 #include <stdlib.h>
19841 int
19842 main ()
19843 {
19844
19845 FILE *f = fopen ("conftest.val", "w");
19846 if (! f)
19847 return 1;
19848 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19849 {
19850 long int i = longval ();
19851 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19852 return 1;
19853 fprintf (f, "%ld\n", i);
19854 }
19855 else
19856 {
19857 unsigned long int i = ulongval ();
19858 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19859 return 1;
19860 fprintf (f, "%lu\n", i);
19861 }
19862 return ferror (f) || fclose (f) != 0;
19863
19864 ;
19865 return 0;
19866 }
19867 _ACEOF
19868 rm -f conftest$ac_exeext
19869 if { (ac_try="$ac_link"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19873 esac
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_link") 2>&5
19876 ac_status=$?
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19879 { (case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19882 esac
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_try") 2>&5
19885 ac_status=$?
19886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19887 (exit $ac_status); }; }; then
19888 ac_cv_sizeof_long=`cat conftest.val`
19889 else
19890 echo "$as_me: program exited with status $ac_status" >&5
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19893
19894 ( exit $ac_status )
19895 if test "$ac_cv_type_long" = yes; then
19896 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19897 See \`config.log' for more details." >&5
19898 echo "$as_me: error: cannot compute sizeof (long)
19899 See \`config.log' for more details." >&2;}
19900 { (exit 77); exit 77; }; }
19901 else
19902 ac_cv_sizeof_long=0
19903 fi
19904 fi
19905 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19906 fi
19907 rm -f conftest.val
19908 fi
19909 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19910 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19911
19912
19913
19914 cat >>confdefs.h <<_ACEOF
19915 #define SIZEOF_LONG $ac_cv_sizeof_long
19916 _ACEOF
19917
19918
19919 { echo "$as_me:$LINENO: checking for size_t" >&5
19920 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19921 if test "${ac_cv_type_size_t+set}" = set; then
19922 echo $ECHO_N "(cached) $ECHO_C" >&6
19923 else
19924 cat >conftest.$ac_ext <<_ACEOF
19925 /* confdefs.h. */
19926 _ACEOF
19927 cat confdefs.h >>conftest.$ac_ext
19928 cat >>conftest.$ac_ext <<_ACEOF
19929 /* end confdefs.h. */
19930 $ac_includes_default
19931 typedef size_t ac__type_new_;
19932 int
19933 main ()
19934 {
19935 if ((ac__type_new_ *) 0)
19936 return 0;
19937 if (sizeof (ac__type_new_))
19938 return 0;
19939 ;
19940 return 0;
19941 }
19942 _ACEOF
19943 rm -f conftest.$ac_objext
19944 if { (ac_try="$ac_compile"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19948 esac
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_compile") 2>conftest.er1
19951 ac_status=$?
19952 grep -v '^ *+' conftest.er1 >conftest.err
19953 rm -f conftest.er1
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest.$ac_objext; then
19960 ac_cv_type_size_t=yes
19961 else
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19964
19965 ac_cv_type_size_t=no
19966 fi
19967
19968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19969 fi
19970 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19971 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19972
19973 # The cast to long int works around a bug in the HP C Compiler
19974 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19975 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19976 # This bug is HP SR number 8606223364.
19977 { echo "$as_me:$LINENO: checking size of size_t" >&5
19978 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19979 if test "${ac_cv_sizeof_size_t+set}" = set; then
19980 echo $ECHO_N "(cached) $ECHO_C" >&6
19981 else
19982 if test "$cross_compiling" = yes; then
19983 # Depending upon the size, compute the lo and hi bounds.
19984 cat >conftest.$ac_ext <<_ACEOF
19985 /* confdefs.h. */
19986 _ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 $ac_includes_default
19991 typedef size_t ac__type_sizeof_;
19992 int
19993 main ()
19994 {
19995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19996 test_array [0] = 0
19997
19998 ;
19999 return 0;
20000 }
20001 _ACEOF
20002 rm -f conftest.$ac_objext
20003 if { (ac_try="$ac_compile"
20004 case "(($ac_try" in
20005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20006 *) ac_try_echo=$ac_try;;
20007 esac
20008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20009 (eval "$ac_compile") 2>conftest.er1
20010 ac_status=$?
20011 grep -v '^ *+' conftest.er1 >conftest.err
20012 rm -f conftest.er1
20013 cat conftest.err >&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); } && {
20016 test -z "$ac_c_werror_flag" ||
20017 test ! -s conftest.err
20018 } && test -s conftest.$ac_objext; then
20019 ac_lo=0 ac_mid=0
20020 while :; do
20021 cat >conftest.$ac_ext <<_ACEOF
20022 /* confdefs.h. */
20023 _ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 $ac_includes_default
20028 typedef size_t ac__type_sizeof_;
20029 int
20030 main ()
20031 {
20032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20033 test_array [0] = 0
20034
20035 ;
20036 return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest.$ac_objext
20040 if { (ac_try="$ac_compile"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20044 esac
20045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_compile") 2>conftest.er1
20047 ac_status=$?
20048 grep -v '^ *+' conftest.er1 >conftest.err
20049 rm -f conftest.er1
20050 cat conftest.err >&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); } && {
20053 test -z "$ac_c_werror_flag" ||
20054 test ! -s conftest.err
20055 } && test -s conftest.$ac_objext; then
20056 ac_hi=$ac_mid; break
20057 else
20058 echo "$as_me: failed program was:" >&5
20059 sed 's/^/| /' conftest.$ac_ext >&5
20060
20061 ac_lo=`expr $ac_mid + 1`
20062 if test $ac_lo -le $ac_mid; then
20063 ac_lo= ac_hi=
20064 break
20065 fi
20066 ac_mid=`expr 2 '*' $ac_mid + 1`
20067 fi
20068
20069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20070 done
20071 else
20072 echo "$as_me: failed program was:" >&5
20073 sed 's/^/| /' conftest.$ac_ext >&5
20074
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef size_t ac__type_sizeof_;
20083 int
20084 main ()
20085 {
20086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20087 test_array [0] = 0
20088
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 rm -f conftest.$ac_objext
20094 if { (ac_try="$ac_compile"
20095 case "(($ac_try" in
20096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20097 *) ac_try_echo=$ac_try;;
20098 esac
20099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20100 (eval "$ac_compile") 2>conftest.er1
20101 ac_status=$?
20102 grep -v '^ *+' conftest.er1 >conftest.err
20103 rm -f conftest.er1
20104 cat conftest.err >&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); } && {
20107 test -z "$ac_c_werror_flag" ||
20108 test ! -s conftest.err
20109 } && test -s conftest.$ac_objext; then
20110 ac_hi=-1 ac_mid=-1
20111 while :; do
20112 cat >conftest.$ac_ext <<_ACEOF
20113 /* confdefs.h. */
20114 _ACEOF
20115 cat confdefs.h >>conftest.$ac_ext
20116 cat >>conftest.$ac_ext <<_ACEOF
20117 /* end confdefs.h. */
20118 $ac_includes_default
20119 typedef size_t ac__type_sizeof_;
20120 int
20121 main ()
20122 {
20123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20124 test_array [0] = 0
20125
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 rm -f conftest.$ac_objext
20131 if { (ac_try="$ac_compile"
20132 case "(($ac_try" in
20133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20134 *) ac_try_echo=$ac_try;;
20135 esac
20136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20137 (eval "$ac_compile") 2>conftest.er1
20138 ac_status=$?
20139 grep -v '^ *+' conftest.er1 >conftest.err
20140 rm -f conftest.er1
20141 cat conftest.err >&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); } && {
20144 test -z "$ac_c_werror_flag" ||
20145 test ! -s conftest.err
20146 } && test -s conftest.$ac_objext; then
20147 ac_lo=$ac_mid; break
20148 else
20149 echo "$as_me: failed program was:" >&5
20150 sed 's/^/| /' conftest.$ac_ext >&5
20151
20152 ac_hi=`expr '(' $ac_mid ')' - 1`
20153 if test $ac_mid -le $ac_hi; then
20154 ac_lo= ac_hi=
20155 break
20156 fi
20157 ac_mid=`expr 2 '*' $ac_mid`
20158 fi
20159
20160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 done
20162 else
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20165
20166 ac_lo= ac_hi=
20167 fi
20168
20169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20170 fi
20171
20172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173 # Binary search between lo and hi bounds.
20174 while test "x$ac_lo" != "x$ac_hi"; do
20175 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20176 cat >conftest.$ac_ext <<_ACEOF
20177 /* confdefs.h. */
20178 _ACEOF
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 $ac_includes_default
20183 typedef size_t ac__type_sizeof_;
20184 int
20185 main ()
20186 {
20187 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20188 test_array [0] = 0
20189
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 rm -f conftest.$ac_objext
20195 if { (ac_try="$ac_compile"
20196 case "(($ac_try" in
20197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20199 esac
20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_compile") 2>conftest.er1
20202 ac_status=$?
20203 grep -v '^ *+' conftest.er1 >conftest.err
20204 rm -f conftest.er1
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } && {
20208 test -z "$ac_c_werror_flag" ||
20209 test ! -s conftest.err
20210 } && test -s conftest.$ac_objext; then
20211 ac_hi=$ac_mid
20212 else
20213 echo "$as_me: failed program was:" >&5
20214 sed 's/^/| /' conftest.$ac_ext >&5
20215
20216 ac_lo=`expr '(' $ac_mid ')' + 1`
20217 fi
20218
20219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20220 done
20221 case $ac_lo in
20222 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20223 '') if test "$ac_cv_type_size_t" = yes; then
20224 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20225 See \`config.log' for more details." >&5
20226 echo "$as_me: error: cannot compute sizeof (size_t)
20227 See \`config.log' for more details." >&2;}
20228 { (exit 77); exit 77; }; }
20229 else
20230 ac_cv_sizeof_size_t=0
20231 fi ;;
20232 esac
20233 else
20234 cat >conftest.$ac_ext <<_ACEOF
20235 /* confdefs.h. */
20236 _ACEOF
20237 cat confdefs.h >>conftest.$ac_ext
20238 cat >>conftest.$ac_ext <<_ACEOF
20239 /* end confdefs.h. */
20240 $ac_includes_default
20241 typedef size_t ac__type_sizeof_;
20242 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20243 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20244 #include <stdio.h>
20245 #include <stdlib.h>
20246 int
20247 main ()
20248 {
20249
20250 FILE *f = fopen ("conftest.val", "w");
20251 if (! f)
20252 return 1;
20253 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20254 {
20255 long int i = longval ();
20256 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20257 return 1;
20258 fprintf (f, "%ld\n", i);
20259 }
20260 else
20261 {
20262 unsigned long int i = ulongval ();
20263 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20264 return 1;
20265 fprintf (f, "%lu\n", i);
20266 }
20267 return ferror (f) || fclose (f) != 0;
20268
20269 ;
20270 return 0;
20271 }
20272 _ACEOF
20273 rm -f conftest$ac_exeext
20274 if { (ac_try="$ac_link"
20275 case "(($ac_try" in
20276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;;
20278 esac
20279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20280 (eval "$ac_link") 2>&5
20281 ac_status=$?
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20284 { (case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_try") 2>&5
20290 ac_status=$?
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; }; then
20293 ac_cv_sizeof_size_t=`cat conftest.val`
20294 else
20295 echo "$as_me: program exited with status $ac_status" >&5
20296 echo "$as_me: failed program was:" >&5
20297 sed 's/^/| /' conftest.$ac_ext >&5
20298
20299 ( exit $ac_status )
20300 if test "$ac_cv_type_size_t" = yes; then
20301 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20302 See \`config.log' for more details." >&5
20303 echo "$as_me: error: cannot compute sizeof (size_t)
20304 See \`config.log' for more details." >&2;}
20305 { (exit 77); exit 77; }; }
20306 else
20307 ac_cv_sizeof_size_t=0
20308 fi
20309 fi
20310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20311 fi
20312 rm -f conftest.val
20313 fi
20314 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20315 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20316
20317
20318
20319 cat >>confdefs.h <<_ACEOF
20320 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20321 _ACEOF
20322
20323
20324
20325 case "${host}" in
20326 arm-*-linux* )
20327 { echo "$as_me:$LINENO: checking for long long" >&5
20328 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20329 if test "${ac_cv_type_long_long+set}" = set; then
20330 echo $ECHO_N "(cached) $ECHO_C" >&6
20331 else
20332 cat >conftest.$ac_ext <<_ACEOF
20333 /* confdefs.h. */
20334 _ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h. */
20338 $ac_includes_default
20339 typedef long long ac__type_new_;
20340 int
20341 main ()
20342 {
20343 if ((ac__type_new_ *) 0)
20344 return 0;
20345 if (sizeof (ac__type_new_))
20346 return 0;
20347 ;
20348 return 0;
20349 }
20350 _ACEOF
20351 rm -f conftest.$ac_objext
20352 if { (ac_try="$ac_compile"
20353 case "(($ac_try" in
20354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20355 *) ac_try_echo=$ac_try;;
20356 esac
20357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20358 (eval "$ac_compile") 2>conftest.er1
20359 ac_status=$?
20360 grep -v '^ *+' conftest.er1 >conftest.err
20361 rm -f conftest.er1
20362 cat conftest.err >&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); } && {
20365 test -z "$ac_c_werror_flag" ||
20366 test ! -s conftest.err
20367 } && test -s conftest.$ac_objext; then
20368 ac_cv_type_long_long=yes
20369 else
20370 echo "$as_me: failed program was:" >&5
20371 sed 's/^/| /' conftest.$ac_ext >&5
20372
20373 ac_cv_type_long_long=no
20374 fi
20375
20376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20377 fi
20378 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20379 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20380
20381 # The cast to long int works around a bug in the HP C Compiler
20382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20384 # This bug is HP SR number 8606223364.
20385 { echo "$as_me:$LINENO: checking size of long long" >&5
20386 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20387 if test "${ac_cv_sizeof_long_long+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 else
20390 if test "$cross_compiling" = yes; then
20391 # Depending upon the size, compute the lo and hi bounds.
20392 cat >conftest.$ac_ext <<_ACEOF
20393 /* confdefs.h. */
20394 _ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef long long ac__type_sizeof_;
20400 int
20401 main ()
20402 {
20403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20404 test_array [0] = 0
20405
20406 ;
20407 return 0;
20408 }
20409 _ACEOF
20410 rm -f conftest.$ac_objext
20411 if { (ac_try="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20415 esac
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20418 ac_status=$?
20419 grep -v '^ *+' conftest.er1 >conftest.err
20420 rm -f conftest.er1
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } && {
20424 test -z "$ac_c_werror_flag" ||
20425 test ! -s conftest.err
20426 } && test -s conftest.$ac_objext; then
20427 ac_lo=0 ac_mid=0
20428 while :; do
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 $ac_includes_default
20436 typedef long long ac__type_sizeof_;
20437 int
20438 main ()
20439 {
20440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20441 test_array [0] = 0
20442
20443 ;
20444 return 0;
20445 }
20446 _ACEOF
20447 rm -f conftest.$ac_objext
20448 if { (ac_try="$ac_compile"
20449 case "(($ac_try" in
20450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20451 *) ac_try_echo=$ac_try;;
20452 esac
20453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20454 (eval "$ac_compile") 2>conftest.er1
20455 ac_status=$?
20456 grep -v '^ *+' conftest.er1 >conftest.err
20457 rm -f conftest.er1
20458 cat conftest.err >&5
20459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20460 (exit $ac_status); } && {
20461 test -z "$ac_c_werror_flag" ||
20462 test ! -s conftest.err
20463 } && test -s conftest.$ac_objext; then
20464 ac_hi=$ac_mid; break
20465 else
20466 echo "$as_me: failed program was:" >&5
20467 sed 's/^/| /' conftest.$ac_ext >&5
20468
20469 ac_lo=`expr $ac_mid + 1`
20470 if test $ac_lo -le $ac_mid; then
20471 ac_lo= ac_hi=
20472 break
20473 fi
20474 ac_mid=`expr 2 '*' $ac_mid + 1`
20475 fi
20476
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478 done
20479 else
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.$ac_ext >&5
20482
20483 cat >conftest.$ac_ext <<_ACEOF
20484 /* confdefs.h. */
20485 _ACEOF
20486 cat confdefs.h >>conftest.$ac_ext
20487 cat >>conftest.$ac_ext <<_ACEOF
20488 /* end confdefs.h. */
20489 $ac_includes_default
20490 typedef long long ac__type_sizeof_;
20491 int
20492 main ()
20493 {
20494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20495 test_array [0] = 0
20496
20497 ;
20498 return 0;
20499 }
20500 _ACEOF
20501 rm -f conftest.$ac_objext
20502 if { (ac_try="$ac_compile"
20503 case "(($ac_try" in
20504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20505 *) ac_try_echo=$ac_try;;
20506 esac
20507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20508 (eval "$ac_compile") 2>conftest.er1
20509 ac_status=$?
20510 grep -v '^ *+' conftest.er1 >conftest.err
20511 rm -f conftest.er1
20512 cat conftest.err >&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); } && {
20515 test -z "$ac_c_werror_flag" ||
20516 test ! -s conftest.err
20517 } && test -s conftest.$ac_objext; then
20518 ac_hi=-1 ac_mid=-1
20519 while :; do
20520 cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h. */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 $ac_includes_default
20527 typedef long long ac__type_sizeof_;
20528 int
20529 main ()
20530 {
20531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20532 test_array [0] = 0
20533
20534 ;
20535 return 0;
20536 }
20537 _ACEOF
20538 rm -f conftest.$ac_objext
20539 if { (ac_try="$ac_compile"
20540 case "(($ac_try" in
20541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20542 *) ac_try_echo=$ac_try;;
20543 esac
20544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20545 (eval "$ac_compile") 2>conftest.er1
20546 ac_status=$?
20547 grep -v '^ *+' conftest.er1 >conftest.err
20548 rm -f conftest.er1
20549 cat conftest.err >&5
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && {
20552 test -z "$ac_c_werror_flag" ||
20553 test ! -s conftest.err
20554 } && test -s conftest.$ac_objext; then
20555 ac_lo=$ac_mid; break
20556 else
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20559
20560 ac_hi=`expr '(' $ac_mid ')' - 1`
20561 if test $ac_mid -le $ac_hi; then
20562 ac_lo= ac_hi=
20563 break
20564 fi
20565 ac_mid=`expr 2 '*' $ac_mid`
20566 fi
20567
20568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20569 done
20570 else
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.$ac_ext >&5
20573
20574 ac_lo= ac_hi=
20575 fi
20576
20577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20578 fi
20579
20580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 # Binary search between lo and hi bounds.
20582 while test "x$ac_lo" != "x$ac_hi"; do
20583 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20584 cat >conftest.$ac_ext <<_ACEOF
20585 /* confdefs.h. */
20586 _ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20591 typedef long long ac__type_sizeof_;
20592 int
20593 main ()
20594 {
20595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20596 test_array [0] = 0
20597
20598 ;
20599 return 0;
20600 }
20601 _ACEOF
20602 rm -f conftest.$ac_objext
20603 if { (ac_try="$ac_compile"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20606 *) ac_try_echo=$ac_try;;
20607 esac
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_compile") 2>conftest.er1
20610 ac_status=$?
20611 grep -v '^ *+' conftest.er1 >conftest.err
20612 rm -f conftest.er1
20613 cat conftest.err >&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } && {
20616 test -z "$ac_c_werror_flag" ||
20617 test ! -s conftest.err
20618 } && test -s conftest.$ac_objext; then
20619 ac_hi=$ac_mid
20620 else
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20623
20624 ac_lo=`expr '(' $ac_mid ')' + 1`
20625 fi
20626
20627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20628 done
20629 case $ac_lo in
20630 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20631 '') if test "$ac_cv_type_long_long" = yes; then
20632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20633 See \`config.log' for more details." >&5
20634 echo "$as_me: error: cannot compute sizeof (long long)
20635 See \`config.log' for more details." >&2;}
20636 { (exit 77); exit 77; }; }
20637 else
20638 ac_cv_sizeof_long_long=0
20639 fi ;;
20640 esac
20641 else
20642 cat >conftest.$ac_ext <<_ACEOF
20643 /* confdefs.h. */
20644 _ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 typedef long long ac__type_sizeof_;
20650 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20651 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20652 #include <stdio.h>
20653 #include <stdlib.h>
20654 int
20655 main ()
20656 {
20657
20658 FILE *f = fopen ("conftest.val", "w");
20659 if (! f)
20660 return 1;
20661 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20662 {
20663 long int i = longval ();
20664 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20665 return 1;
20666 fprintf (f, "%ld\n", i);
20667 }
20668 else
20669 {
20670 unsigned long int i = ulongval ();
20671 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20672 return 1;
20673 fprintf (f, "%lu\n", i);
20674 }
20675 return ferror (f) || fclose (f) != 0;
20676
20677 ;
20678 return 0;
20679 }
20680 _ACEOF
20681 rm -f conftest$ac_exeext
20682 if { (ac_try="$ac_link"
20683 case "(($ac_try" in
20684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20685 *) ac_try_echo=$ac_try;;
20686 esac
20687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20688 (eval "$ac_link") 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20692 { (case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20695 esac
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_try") 2>&5
20698 ac_status=$?
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 ac_cv_sizeof_long_long=`cat conftest.val`
20702 else
20703 echo "$as_me: program exited with status $ac_status" >&5
20704 echo "$as_me: failed program was:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20706
20707 ( exit $ac_status )
20708 if test "$ac_cv_type_long_long" = yes; then
20709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20710 See \`config.log' for more details." >&5
20711 echo "$as_me: error: cannot compute sizeof (long long)
20712 See \`config.log' for more details." >&2;}
20713 { (exit 77); exit 77; }; }
20714 else
20715 ac_cv_sizeof_long_long=0
20716 fi
20717 fi
20718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20719 fi
20720 rm -f conftest.val
20721 fi
20722 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20723 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20724
20725
20726
20727 cat >>confdefs.h <<_ACEOF
20728 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20729 _ACEOF
20730
20731
20732 ;;
20733 *-hp-hpux* )
20734 { echo "$as_me:$LINENO: checking for long long" >&5
20735 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20736 if test "${ac_cv_type_long_long+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20739 cat >conftest.$ac_ext <<_ACEOF
20740 /* confdefs.h. */
20741 _ACEOF
20742 cat confdefs.h >>conftest.$ac_ext
20743 cat >>conftest.$ac_ext <<_ACEOF
20744 /* end confdefs.h. */
20745 $ac_includes_default
20746 typedef long long ac__type_new_;
20747 int
20748 main ()
20749 {
20750 if ((ac__type_new_ *) 0)
20751 return 0;
20752 if (sizeof (ac__type_new_))
20753 return 0;
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 rm -f conftest.$ac_objext
20759 if { (ac_try="$ac_compile"
20760 case "(($ac_try" in
20761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20763 esac
20764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_compile") 2>conftest.er1
20766 ac_status=$?
20767 grep -v '^ *+' conftest.er1 >conftest.err
20768 rm -f conftest.er1
20769 cat conftest.err >&5
20770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20771 (exit $ac_status); } && {
20772 test -z "$ac_c_werror_flag" ||
20773 test ! -s conftest.err
20774 } && test -s conftest.$ac_objext; then
20775 ac_cv_type_long_long=yes
20776 else
20777 echo "$as_me: failed program was:" >&5
20778 sed 's/^/| /' conftest.$ac_ext >&5
20779
20780 ac_cv_type_long_long=no
20781 fi
20782
20783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20784 fi
20785 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20786 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20787
20788 # The cast to long int works around a bug in the HP C Compiler
20789 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20790 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20791 # This bug is HP SR number 8606223364.
20792 { echo "$as_me:$LINENO: checking size of long long" >&5
20793 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20794 if test "${ac_cv_sizeof_long_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20796 else
20797 if test "$cross_compiling" = yes; then
20798 # Depending upon the size, compute the lo and hi bounds.
20799 cat >conftest.$ac_ext <<_ACEOF
20800 /* confdefs.h. */
20801 _ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 $ac_includes_default
20806 typedef long long ac__type_sizeof_;
20807 int
20808 main ()
20809 {
20810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20811 test_array [0] = 0
20812
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 rm -f conftest.$ac_objext
20818 if { (ac_try="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20821 *) ac_try_echo=$ac_try;;
20822 esac
20823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20824 (eval "$ac_compile") 2>conftest.er1
20825 ac_status=$?
20826 grep -v '^ *+' conftest.er1 >conftest.err
20827 rm -f conftest.er1
20828 cat conftest.err >&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); } && {
20831 test -z "$ac_c_werror_flag" ||
20832 test ! -s conftest.err
20833 } && test -s conftest.$ac_objext; then
20834 ac_lo=0 ac_mid=0
20835 while :; do
20836 cat >conftest.$ac_ext <<_ACEOF
20837 /* confdefs.h. */
20838 _ACEOF
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 $ac_includes_default
20843 typedef long long ac__type_sizeof_;
20844 int
20845 main ()
20846 {
20847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20848 test_array [0] = 0
20849
20850 ;
20851 return 0;
20852 }
20853 _ACEOF
20854 rm -f conftest.$ac_objext
20855 if { (ac_try="$ac_compile"
20856 case "(($ac_try" in
20857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20858 *) ac_try_echo=$ac_try;;
20859 esac
20860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20861 (eval "$ac_compile") 2>conftest.er1
20862 ac_status=$?
20863 grep -v '^ *+' conftest.er1 >conftest.err
20864 rm -f conftest.er1
20865 cat conftest.err >&5
20866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20867 (exit $ac_status); } && {
20868 test -z "$ac_c_werror_flag" ||
20869 test ! -s conftest.err
20870 } && test -s conftest.$ac_objext; then
20871 ac_hi=$ac_mid; break
20872 else
20873 echo "$as_me: failed program was:" >&5
20874 sed 's/^/| /' conftest.$ac_ext >&5
20875
20876 ac_lo=`expr $ac_mid + 1`
20877 if test $ac_lo -le $ac_mid; then
20878 ac_lo= ac_hi=
20879 break
20880 fi
20881 ac_mid=`expr 2 '*' $ac_mid + 1`
20882 fi
20883
20884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20885 done
20886 else
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20889
20890 cat >conftest.$ac_ext <<_ACEOF
20891 /* confdefs.h. */
20892 _ACEOF
20893 cat confdefs.h >>conftest.$ac_ext
20894 cat >>conftest.$ac_ext <<_ACEOF
20895 /* end confdefs.h. */
20896 $ac_includes_default
20897 typedef long long ac__type_sizeof_;
20898 int
20899 main ()
20900 {
20901 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20902 test_array [0] = 0
20903
20904 ;
20905 return 0;
20906 }
20907 _ACEOF
20908 rm -f conftest.$ac_objext
20909 if { (ac_try="$ac_compile"
20910 case "(($ac_try" in
20911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20912 *) ac_try_echo=$ac_try;;
20913 esac
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915 (eval "$ac_compile") 2>conftest.er1
20916 ac_status=$?
20917 grep -v '^ *+' conftest.er1 >conftest.err
20918 rm -f conftest.er1
20919 cat conftest.err >&5
20920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921 (exit $ac_status); } && {
20922 test -z "$ac_c_werror_flag" ||
20923 test ! -s conftest.err
20924 } && test -s conftest.$ac_objext; then
20925 ac_hi=-1 ac_mid=-1
20926 while :; do
20927 cat >conftest.$ac_ext <<_ACEOF
20928 /* confdefs.h. */
20929 _ACEOF
20930 cat confdefs.h >>conftest.$ac_ext
20931 cat >>conftest.$ac_ext <<_ACEOF
20932 /* end confdefs.h. */
20933 $ac_includes_default
20934 typedef long long ac__type_sizeof_;
20935 int
20936 main ()
20937 {
20938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20939 test_array [0] = 0
20940
20941 ;
20942 return 0;
20943 }
20944 _ACEOF
20945 rm -f conftest.$ac_objext
20946 if { (ac_try="$ac_compile"
20947 case "(($ac_try" in
20948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20949 *) ac_try_echo=$ac_try;;
20950 esac
20951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20952 (eval "$ac_compile") 2>conftest.er1
20953 ac_status=$?
20954 grep -v '^ *+' conftest.er1 >conftest.err
20955 rm -f conftest.er1
20956 cat conftest.err >&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } && {
20959 test -z "$ac_c_werror_flag" ||
20960 test ! -s conftest.err
20961 } && test -s conftest.$ac_objext; then
20962 ac_lo=$ac_mid; break
20963 else
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.$ac_ext >&5
20966
20967 ac_hi=`expr '(' $ac_mid ')' - 1`
20968 if test $ac_mid -le $ac_hi; then
20969 ac_lo= ac_hi=
20970 break
20971 fi
20972 ac_mid=`expr 2 '*' $ac_mid`
20973 fi
20974
20975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20976 done
20977 else
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20980
20981 ac_lo= ac_hi=
20982 fi
20983
20984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20985 fi
20986
20987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20988 # Binary search between lo and hi bounds.
20989 while test "x$ac_lo" != "x$ac_hi"; do
20990 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef long long ac__type_sizeof_;
20999 int
21000 main ()
21001 {
21002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21003 test_array [0] = 0
21004
21005 ;
21006 return 0;
21007 }
21008 _ACEOF
21009 rm -f conftest.$ac_objext
21010 if { (ac_try="$ac_compile"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21014 esac
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_compile") 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } && {
21023 test -z "$ac_c_werror_flag" ||
21024 test ! -s conftest.err
21025 } && test -s conftest.$ac_objext; then
21026 ac_hi=$ac_mid
21027 else
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21030
21031 ac_lo=`expr '(' $ac_mid ')' + 1`
21032 fi
21033
21034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21035 done
21036 case $ac_lo in
21037 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21038 '') if test "$ac_cv_type_long_long" = yes; then
21039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21040 See \`config.log' for more details." >&5
21041 echo "$as_me: error: cannot compute sizeof (long long)
21042 See \`config.log' for more details." >&2;}
21043 { (exit 77); exit 77; }; }
21044 else
21045 ac_cv_sizeof_long_long=0
21046 fi ;;
21047 esac
21048 else
21049 cat >conftest.$ac_ext <<_ACEOF
21050 /* confdefs.h. */
21051 _ACEOF
21052 cat confdefs.h >>conftest.$ac_ext
21053 cat >>conftest.$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long long ac__type_sizeof_;
21057 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21058 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21059 #include <stdio.h>
21060 #include <stdlib.h>
21061 int
21062 main ()
21063 {
21064
21065 FILE *f = fopen ("conftest.val", "w");
21066 if (! f)
21067 return 1;
21068 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21069 {
21070 long int i = longval ();
21071 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21072 return 1;
21073 fprintf (f, "%ld\n", i);
21074 }
21075 else
21076 {
21077 unsigned long int i = ulongval ();
21078 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21079 return 1;
21080 fprintf (f, "%lu\n", i);
21081 }
21082 return ferror (f) || fclose (f) != 0;
21083
21084 ;
21085 return 0;
21086 }
21087 _ACEOF
21088 rm -f conftest$ac_exeext
21089 if { (ac_try="$ac_link"
21090 case "(($ac_try" in
21091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21093 esac
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_link") 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21099 { (case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21102 esac
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_try") 2>&5
21105 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); }; }; then
21108 ac_cv_sizeof_long_long=`cat conftest.val`
21109 else
21110 echo "$as_me: program exited with status $ac_status" >&5
21111 echo "$as_me: failed program was:" >&5
21112 sed 's/^/| /' conftest.$ac_ext >&5
21113
21114 ( exit $ac_status )
21115 if test "$ac_cv_type_long_long" = yes; then
21116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21117 See \`config.log' for more details." >&5
21118 echo "$as_me: error: cannot compute sizeof (long long)
21119 See \`config.log' for more details." >&2;}
21120 { (exit 77); exit 77; }; }
21121 else
21122 ac_cv_sizeof_long_long=0
21123 fi
21124 fi
21125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21126 fi
21127 rm -f conftest.val
21128 fi
21129 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21130 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21131
21132
21133
21134 cat >>confdefs.h <<_ACEOF
21135 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21136 _ACEOF
21137
21138
21139 if test "$ac_cv_sizeof_long_long" != "0"; then
21140 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21141 fi
21142 ;;
21143 * )
21144 { echo "$as_me:$LINENO: checking for long long" >&5
21145 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21146 if test "${ac_cv_type_long_long+set}" = set; then
21147 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 else
21149 cat >conftest.$ac_ext <<_ACEOF
21150 /* confdefs.h. */
21151 _ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21155 $ac_includes_default
21156 typedef long long ac__type_new_;
21157 int
21158 main ()
21159 {
21160 if ((ac__type_new_ *) 0)
21161 return 0;
21162 if (sizeof (ac__type_new_))
21163 return 0;
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21173 esac
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21176 ac_status=$?
21177 grep -v '^ *+' conftest.er1 >conftest.err
21178 rm -f conftest.er1
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } && {
21182 test -z "$ac_c_werror_flag" ||
21183 test ! -s conftest.err
21184 } && test -s conftest.$ac_objext; then
21185 ac_cv_type_long_long=yes
21186 else
21187 echo "$as_me: failed program was:" >&5
21188 sed 's/^/| /' conftest.$ac_ext >&5
21189
21190 ac_cv_type_long_long=no
21191 fi
21192
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21194 fi
21195 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21196 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21197
21198 # The cast to long int works around a bug in the HP C Compiler
21199 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21200 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21201 # This bug is HP SR number 8606223364.
21202 { echo "$as_me:$LINENO: checking size of long long" >&5
21203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21204 if test "${ac_cv_sizeof_long_long+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 else
21207 if test "$cross_compiling" = yes; then
21208 # Depending upon the size, compute the lo and hi bounds.
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 typedef long long ac__type_sizeof_;
21217 int
21218 main ()
21219 {
21220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21221 test_array [0] = 0
21222
21223 ;
21224 return 0;
21225 }
21226 _ACEOF
21227 rm -f conftest.$ac_objext
21228 if { (ac_try="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232 esac
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21235 ac_status=$?
21236 grep -v '^ *+' conftest.er1 >conftest.err
21237 rm -f conftest.er1
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21244 ac_lo=0 ac_mid=0
21245 while :; do
21246 cat >conftest.$ac_ext <<_ACEOF
21247 /* confdefs.h. */
21248 _ACEOF
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 $ac_includes_default
21253 typedef long long ac__type_sizeof_;
21254 int
21255 main ()
21256 {
21257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21258 test_array [0] = 0
21259
21260 ;
21261 return 0;
21262 }
21263 _ACEOF
21264 rm -f conftest.$ac_objext
21265 if { (ac_try="$ac_compile"
21266 case "(($ac_try" in
21267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21268 *) ac_try_echo=$ac_try;;
21269 esac
21270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21271 (eval "$ac_compile") 2>conftest.er1
21272 ac_status=$?
21273 grep -v '^ *+' conftest.er1 >conftest.err
21274 rm -f conftest.er1
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } && {
21278 test -z "$ac_c_werror_flag" ||
21279 test ! -s conftest.err
21280 } && test -s conftest.$ac_objext; then
21281 ac_hi=$ac_mid; break
21282 else
21283 echo "$as_me: failed program was:" >&5
21284 sed 's/^/| /' conftest.$ac_ext >&5
21285
21286 ac_lo=`expr $ac_mid + 1`
21287 if test $ac_lo -le $ac_mid; then
21288 ac_lo= ac_hi=
21289 break
21290 fi
21291 ac_mid=`expr 2 '*' $ac_mid + 1`
21292 fi
21293
21294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21295 done
21296 else
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21299
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21308 int
21309 main ()
21310 {
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21312 test_array [0] = 0
21313
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21335 ac_hi=-1 ac_mid=-1
21336 while :; do
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h. */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h. */
21343 $ac_includes_default
21344 typedef long long ac__type_sizeof_;
21345 int
21346 main ()
21347 {
21348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21349 test_array [0] = 0
21350
21351 ;
21352 return 0;
21353 }
21354 _ACEOF
21355 rm -f conftest.$ac_objext
21356 if { (ac_try="$ac_compile"
21357 case "(($ac_try" in
21358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21359 *) ac_try_echo=$ac_try;;
21360 esac
21361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21362 (eval "$ac_compile") 2>conftest.er1
21363 ac_status=$?
21364 grep -v '^ *+' conftest.er1 >conftest.err
21365 rm -f conftest.er1
21366 cat conftest.err >&5
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); } && {
21369 test -z "$ac_c_werror_flag" ||
21370 test ! -s conftest.err
21371 } && test -s conftest.$ac_objext; then
21372 ac_lo=$ac_mid; break
21373 else
21374 echo "$as_me: failed program was:" >&5
21375 sed 's/^/| /' conftest.$ac_ext >&5
21376
21377 ac_hi=`expr '(' $ac_mid ')' - 1`
21378 if test $ac_mid -le $ac_hi; then
21379 ac_lo= ac_hi=
21380 break
21381 fi
21382 ac_mid=`expr 2 '*' $ac_mid`
21383 fi
21384
21385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386 done
21387 else
21388 echo "$as_me: failed program was:" >&5
21389 sed 's/^/| /' conftest.$ac_ext >&5
21390
21391 ac_lo= ac_hi=
21392 fi
21393
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 fi
21396
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 # Binary search between lo and hi bounds.
21399 while test "x$ac_lo" != "x$ac_hi"; do
21400 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21401 cat >conftest.$ac_ext <<_ACEOF
21402 /* confdefs.h. */
21403 _ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21407 $ac_includes_default
21408 typedef long long ac__type_sizeof_;
21409 int
21410 main ()
21411 {
21412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21413 test_array [0] = 0
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (ac_try="$ac_compile"
21421 case "(($ac_try" in
21422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423 *) ac_try_echo=$ac_try;;
21424 esac
21425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21426 (eval "$ac_compile") 2>conftest.er1
21427 ac_status=$?
21428 grep -v '^ *+' conftest.er1 >conftest.err
21429 rm -f conftest.er1
21430 cat conftest.err >&5
21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432 (exit $ac_status); } && {
21433 test -z "$ac_c_werror_flag" ||
21434 test ! -s conftest.err
21435 } && test -s conftest.$ac_objext; then
21436 ac_hi=$ac_mid
21437 else
21438 echo "$as_me: failed program was:" >&5
21439 sed 's/^/| /' conftest.$ac_ext >&5
21440
21441 ac_lo=`expr '(' $ac_mid ')' + 1`
21442 fi
21443
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 done
21446 case $ac_lo in
21447 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21448 '') if test "$ac_cv_type_long_long" = yes; then
21449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21450 See \`config.log' for more details." >&5
21451 echo "$as_me: error: cannot compute sizeof (long long)
21452 See \`config.log' for more details." >&2;}
21453 { (exit 77); exit 77; }; }
21454 else
21455 ac_cv_sizeof_long_long=0
21456 fi ;;
21457 esac
21458 else
21459 cat >conftest.$ac_ext <<_ACEOF
21460 /* confdefs.h. */
21461 _ACEOF
21462 cat confdefs.h >>conftest.$ac_ext
21463 cat >>conftest.$ac_ext <<_ACEOF
21464 /* end confdefs.h. */
21465 $ac_includes_default
21466 typedef long long ac__type_sizeof_;
21467 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21469 #include <stdio.h>
21470 #include <stdlib.h>
21471 int
21472 main ()
21473 {
21474
21475 FILE *f = fopen ("conftest.val", "w");
21476 if (! f)
21477 return 1;
21478 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21479 {
21480 long int i = longval ();
21481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21482 return 1;
21483 fprintf (f, "%ld\n", i);
21484 }
21485 else
21486 {
21487 unsigned long int i = ulongval ();
21488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21489 return 1;
21490 fprintf (f, "%lu\n", i);
21491 }
21492 return ferror (f) || fclose (f) != 0;
21493
21494 ;
21495 return 0;
21496 }
21497 _ACEOF
21498 rm -f conftest$ac_exeext
21499 if { (ac_try="$ac_link"
21500 case "(($ac_try" in
21501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21502 *) ac_try_echo=$ac_try;;
21503 esac
21504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21505 (eval "$ac_link") 2>&5
21506 ac_status=$?
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21509 { (case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_try") 2>&5
21515 ac_status=$?
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; }; then
21518 ac_cv_sizeof_long_long=`cat conftest.val`
21519 else
21520 echo "$as_me: program exited with status $ac_status" >&5
21521 echo "$as_me: failed program was:" >&5
21522 sed 's/^/| /' conftest.$ac_ext >&5
21523
21524 ( exit $ac_status )
21525 if test "$ac_cv_type_long_long" = yes; then
21526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21527 See \`config.log' for more details." >&5
21528 echo "$as_me: error: cannot compute sizeof (long long)
21529 See \`config.log' for more details." >&2;}
21530 { (exit 77); exit 77; }; }
21531 else
21532 ac_cv_sizeof_long_long=0
21533 fi
21534 fi
21535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21536 fi
21537 rm -f conftest.val
21538 fi
21539 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21540 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21541
21542
21543
21544 cat >>confdefs.h <<_ACEOF
21545 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21546 _ACEOF
21547
21548
21549 esac
21550
21551 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21552 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21553 if test "${ac_cv_type_wchar_t+set}" = set; then
21554 echo $ECHO_N "(cached) $ECHO_C" >&6
21555 else
21556 cat >conftest.$ac_ext <<_ACEOF
21557 /* confdefs.h. */
21558 _ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562
21563 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21564 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21565 # error "fake wchar_t"
21566 #endif
21567 #ifdef HAVE_WCHAR_H
21568 # ifdef __CYGWIN__
21569 # include <stddef.h>
21570 # endif
21571 # include <wchar.h>
21572 #endif
21573 #ifdef HAVE_STDLIB_H
21574 # include <stdlib.h>
21575 #endif
21576 #include <stdio.h>
21577
21578
21579
21580 typedef wchar_t ac__type_new_;
21581 int
21582 main ()
21583 {
21584 if ((ac__type_new_ *) 0)
21585 return 0;
21586 if (sizeof (ac__type_new_))
21587 return 0;
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 rm -f conftest.$ac_objext
21593 if { (ac_try="$ac_compile"
21594 case "(($ac_try" in
21595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21596 *) ac_try_echo=$ac_try;;
21597 esac
21598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21599 (eval "$ac_compile") 2>conftest.er1
21600 ac_status=$?
21601 grep -v '^ *+' conftest.er1 >conftest.err
21602 rm -f conftest.er1
21603 cat conftest.err >&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); } && {
21606 test -z "$ac_c_werror_flag" ||
21607 test ! -s conftest.err
21608 } && test -s conftest.$ac_objext; then
21609 ac_cv_type_wchar_t=yes
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 ac_cv_type_wchar_t=no
21615 fi
21616
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 fi
21619 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21620 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21621
21622 # The cast to long int works around a bug in the HP C Compiler
21623 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21624 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21625 # This bug is HP SR number 8606223364.
21626 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21627 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21628 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21630 else
21631 if test "$cross_compiling" = yes; then
21632 # Depending upon the size, compute the lo and hi bounds.
21633 cat >conftest.$ac_ext <<_ACEOF
21634 /* confdefs.h. */
21635 _ACEOF
21636 cat confdefs.h >>conftest.$ac_ext
21637 cat >>conftest.$ac_ext <<_ACEOF
21638 /* end confdefs.h. */
21639
21640 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21641 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21642 # error "fake wchar_t"
21643 #endif
21644 #ifdef HAVE_WCHAR_H
21645 # ifdef __CYGWIN__
21646 # include <stddef.h>
21647 # endif
21648 # include <wchar.h>
21649 #endif
21650 #ifdef HAVE_STDLIB_H
21651 # include <stdlib.h>
21652 #endif
21653 #include <stdio.h>
21654
21655
21656
21657 typedef wchar_t ac__type_sizeof_;
21658 int
21659 main ()
21660 {
21661 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21662 test_array [0] = 0
21663
21664 ;
21665 return 0;
21666 }
21667 _ACEOF
21668 rm -f conftest.$ac_objext
21669 if { (ac_try="$ac_compile"
21670 case "(($ac_try" in
21671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21672 *) ac_try_echo=$ac_try;;
21673 esac
21674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21675 (eval "$ac_compile") 2>conftest.er1
21676 ac_status=$?
21677 grep -v '^ *+' conftest.er1 >conftest.err
21678 rm -f conftest.er1
21679 cat conftest.err >&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); } && {
21682 test -z "$ac_c_werror_flag" ||
21683 test ! -s conftest.err
21684 } && test -s conftest.$ac_objext; then
21685 ac_lo=0 ac_mid=0
21686 while :; do
21687 cat >conftest.$ac_ext <<_ACEOF
21688 /* confdefs.h. */
21689 _ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693
21694 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21695 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21696 # error "fake wchar_t"
21697 #endif
21698 #ifdef HAVE_WCHAR_H
21699 # ifdef __CYGWIN__
21700 # include <stddef.h>
21701 # endif
21702 # include <wchar.h>
21703 #endif
21704 #ifdef HAVE_STDLIB_H
21705 # include <stdlib.h>
21706 #endif
21707 #include <stdio.h>
21708
21709
21710
21711 typedef wchar_t ac__type_sizeof_;
21712 int
21713 main ()
21714 {
21715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21716 test_array [0] = 0
21717
21718 ;
21719 return 0;
21720 }
21721 _ACEOF
21722 rm -f conftest.$ac_objext
21723 if { (ac_try="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21727 esac
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21730 ac_status=$?
21731 grep -v '^ *+' conftest.er1 >conftest.err
21732 rm -f conftest.er1
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && {
21736 test -z "$ac_c_werror_flag" ||
21737 test ! -s conftest.err
21738 } && test -s conftest.$ac_objext; then
21739 ac_hi=$ac_mid; break
21740 else
21741 echo "$as_me: failed program was:" >&5
21742 sed 's/^/| /' conftest.$ac_ext >&5
21743
21744 ac_lo=`expr $ac_mid + 1`
21745 if test $ac_lo -le $ac_mid; then
21746 ac_lo= ac_hi=
21747 break
21748 fi
21749 ac_mid=`expr 2 '*' $ac_mid + 1`
21750 fi
21751
21752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21753 done
21754 else
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21757
21758 cat >conftest.$ac_ext <<_ACEOF
21759 /* confdefs.h. */
21760 _ACEOF
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21764
21765 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21766 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21767 # error "fake wchar_t"
21768 #endif
21769 #ifdef HAVE_WCHAR_H
21770 # ifdef __CYGWIN__
21771 # include <stddef.h>
21772 # endif
21773 # include <wchar.h>
21774 #endif
21775 #ifdef HAVE_STDLIB_H
21776 # include <stdlib.h>
21777 #endif
21778 #include <stdio.h>
21779
21780
21781
21782 typedef wchar_t ac__type_sizeof_;
21783 int
21784 main ()
21785 {
21786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21787 test_array [0] = 0
21788
21789 ;
21790 return 0;
21791 }
21792 _ACEOF
21793 rm -f conftest.$ac_objext
21794 if { (ac_try="$ac_compile"
21795 case "(($ac_try" in
21796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21797 *) ac_try_echo=$ac_try;;
21798 esac
21799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21800 (eval "$ac_compile") 2>conftest.er1
21801 ac_status=$?
21802 grep -v '^ *+' conftest.er1 >conftest.err
21803 rm -f conftest.er1
21804 cat conftest.err >&5
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); } && {
21807 test -z "$ac_c_werror_flag" ||
21808 test ! -s conftest.err
21809 } && test -s conftest.$ac_objext; then
21810 ac_hi=-1 ac_mid=-1
21811 while :; do
21812 cat >conftest.$ac_ext <<_ACEOF
21813 /* confdefs.h. */
21814 _ACEOF
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21818
21819 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21820 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21821 # error "fake wchar_t"
21822 #endif
21823 #ifdef HAVE_WCHAR_H
21824 # ifdef __CYGWIN__
21825 # include <stddef.h>
21826 # endif
21827 # include <wchar.h>
21828 #endif
21829 #ifdef HAVE_STDLIB_H
21830 # include <stdlib.h>
21831 #endif
21832 #include <stdio.h>
21833
21834
21835
21836 typedef wchar_t ac__type_sizeof_;
21837 int
21838 main ()
21839 {
21840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21841 test_array [0] = 0
21842
21843 ;
21844 return 0;
21845 }
21846 _ACEOF
21847 rm -f conftest.$ac_objext
21848 if { (ac_try="$ac_compile"
21849 case "(($ac_try" in
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851 *) ac_try_echo=$ac_try;;
21852 esac
21853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21854 (eval "$ac_compile") 2>conftest.er1
21855 ac_status=$?
21856 grep -v '^ *+' conftest.er1 >conftest.err
21857 rm -f conftest.er1
21858 cat conftest.err >&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); } && {
21861 test -z "$ac_c_werror_flag" ||
21862 test ! -s conftest.err
21863 } && test -s conftest.$ac_objext; then
21864 ac_lo=$ac_mid; break
21865 else
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.$ac_ext >&5
21868
21869 ac_hi=`expr '(' $ac_mid ')' - 1`
21870 if test $ac_mid -le $ac_hi; then
21871 ac_lo= ac_hi=
21872 break
21873 fi
21874 ac_mid=`expr 2 '*' $ac_mid`
21875 fi
21876
21877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21878 done
21879 else
21880 echo "$as_me: failed program was:" >&5
21881 sed 's/^/| /' conftest.$ac_ext >&5
21882
21883 ac_lo= ac_hi=
21884 fi
21885
21886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21887 fi
21888
21889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21890 # Binary search between lo and hi bounds.
21891 while test "x$ac_lo" != "x$ac_hi"; do
21892 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21893 cat >conftest.$ac_ext <<_ACEOF
21894 /* confdefs.h. */
21895 _ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899
21900 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21901 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21902 # error "fake wchar_t"
21903 #endif
21904 #ifdef HAVE_WCHAR_H
21905 # ifdef __CYGWIN__
21906 # include <stddef.h>
21907 # endif
21908 # include <wchar.h>
21909 #endif
21910 #ifdef HAVE_STDLIB_H
21911 # include <stdlib.h>
21912 #endif
21913 #include <stdio.h>
21914
21915
21916
21917 typedef wchar_t ac__type_sizeof_;
21918 int
21919 main ()
21920 {
21921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21922 test_array [0] = 0
21923
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (ac_try="$ac_compile"
21930 case "(($ac_try" in
21931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21932 *) ac_try_echo=$ac_try;;
21933 esac
21934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21935 (eval "$ac_compile") 2>conftest.er1
21936 ac_status=$?
21937 grep -v '^ *+' conftest.er1 >conftest.err
21938 rm -f conftest.er1
21939 cat conftest.err >&5
21940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21941 (exit $ac_status); } && {
21942 test -z "$ac_c_werror_flag" ||
21943 test ! -s conftest.err
21944 } && test -s conftest.$ac_objext; then
21945 ac_hi=$ac_mid
21946 else
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21949
21950 ac_lo=`expr '(' $ac_mid ')' + 1`
21951 fi
21952
21953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21954 done
21955 case $ac_lo in
21956 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21957 '') if test "$ac_cv_type_wchar_t" = yes; then
21958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21959 See \`config.log' for more details." >&5
21960 echo "$as_me: error: cannot compute sizeof (wchar_t)
21961 See \`config.log' for more details." >&2;}
21962 { (exit 77); exit 77; }; }
21963 else
21964 ac_cv_sizeof_wchar_t=0
21965 fi ;;
21966 esac
21967 else
21968 cat >conftest.$ac_ext <<_ACEOF
21969 /* confdefs.h. */
21970 _ACEOF
21971 cat confdefs.h >>conftest.$ac_ext
21972 cat >>conftest.$ac_ext <<_ACEOF
21973 /* end confdefs.h. */
21974
21975 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21976 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21977 # error "fake wchar_t"
21978 #endif
21979 #ifdef HAVE_WCHAR_H
21980 # ifdef __CYGWIN__
21981 # include <stddef.h>
21982 # endif
21983 # include <wchar.h>
21984 #endif
21985 #ifdef HAVE_STDLIB_H
21986 # include <stdlib.h>
21987 #endif
21988 #include <stdio.h>
21989
21990
21991
21992 typedef wchar_t ac__type_sizeof_;
21993 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21994 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21995 #include <stdio.h>
21996 #include <stdlib.h>
21997 int
21998 main ()
21999 {
22000
22001 FILE *f = fopen ("conftest.val", "w");
22002 if (! f)
22003 return 1;
22004 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22005 {
22006 long int i = longval ();
22007 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22008 return 1;
22009 fprintf (f, "%ld\n", i);
22010 }
22011 else
22012 {
22013 unsigned long int i = ulongval ();
22014 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22015 return 1;
22016 fprintf (f, "%lu\n", i);
22017 }
22018 return ferror (f) || fclose (f) != 0;
22019
22020 ;
22021 return 0;
22022 }
22023 _ACEOF
22024 rm -f conftest$ac_exeext
22025 if { (ac_try="$ac_link"
22026 case "(($ac_try" in
22027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22028 *) ac_try_echo=$ac_try;;
22029 esac
22030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22031 (eval "$ac_link") 2>&5
22032 ac_status=$?
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22035 { (case "(($ac_try" in
22036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22037 *) ac_try_echo=$ac_try;;
22038 esac
22039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 (eval "$ac_try") 2>&5
22041 ac_status=$?
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; }; then
22044 ac_cv_sizeof_wchar_t=`cat conftest.val`
22045 else
22046 echo "$as_me: program exited with status $ac_status" >&5
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22049
22050 ( exit $ac_status )
22051 if test "$ac_cv_type_wchar_t" = yes; then
22052 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22053 See \`config.log' for more details." >&5
22054 echo "$as_me: error: cannot compute sizeof (wchar_t)
22055 See \`config.log' for more details." >&2;}
22056 { (exit 77); exit 77; }; }
22057 else
22058 ac_cv_sizeof_wchar_t=0
22059 fi
22060 fi
22061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22062 fi
22063 rm -f conftest.val
22064 fi
22065 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22066 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22067
22068
22069
22070 cat >>confdefs.h <<_ACEOF
22071 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22072 _ACEOF
22073
22074
22075 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22076 wxUSE_WCHAR_T=yes
22077 else
22078 wxUSE_WCHAR_T=no
22079 fi
22080
22081 { echo "$as_me:$LINENO: checking for va_copy" >&5
22082 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22083 if test "${wx_cv_func_va_copy+set}" = set; then
22084 echo $ECHO_N "(cached) $ECHO_C" >&6
22085 else
22086
22087 cat >conftest.$ac_ext <<_ACEOF
22088
22089 #include <stdarg.h>
22090 void foo(char *f, ...)
22091 {
22092 va_list ap1, ap2;
22093 va_start(ap1, f);
22094 va_copy(ap2, ap1);
22095 va_end(ap2);
22096 va_end(ap1);
22097 }
22098 int main()
22099 {
22100 foo("hi", 17);
22101 return 0;
22102 }
22103 _ACEOF
22104 rm -f conftest.$ac_objext conftest$ac_exeext
22105 if { (ac_try="$ac_link"
22106 case "(($ac_try" in
22107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22108 *) ac_try_echo=$ac_try;;
22109 esac
22110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22111 (eval "$ac_link") 2>conftest.er1
22112 ac_status=$?
22113 grep -v '^ *+' conftest.er1 >conftest.err
22114 rm -f conftest.er1
22115 cat conftest.err >&5
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); } && {
22118 test -z "$ac_c_werror_flag" ||
22119 test ! -s conftest.err
22120 } && test -s conftest$ac_exeext &&
22121 $as_test_x conftest$ac_exeext; then
22122 wx_cv_func_va_copy=yes
22123 else
22124 echo "$as_me: failed program was:" >&5
22125 sed 's/^/| /' conftest.$ac_ext >&5
22126
22127 wx_cv_func_va_copy=no
22128
22129 fi
22130
22131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22132 conftest$ac_exeext conftest.$ac_ext
22133
22134
22135 fi
22136 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22137 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22138
22139 if test $wx_cv_func_va_copy = "yes"; then
22140 cat >>confdefs.h <<\_ACEOF
22141 #define HAVE_VA_COPY 1
22142 _ACEOF
22143
22144 else
22145 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22146 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22147 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22148 echo $ECHO_N "(cached) $ECHO_C" >&6
22149 else
22150
22151 if test "$cross_compiling" = yes; then
22152 wx_cv_type_va_list_lvalue=yes
22153
22154 else
22155 cat >conftest.$ac_ext <<_ACEOF
22156
22157 #include <stdarg.h>
22158 int foo(char *f, ...)
22159 {
22160 va_list ap1, ap2;
22161 va_start(ap1, f);
22162 ap2 = ap1;
22163 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22164 return 1;
22165 va_end(ap2);
22166 va_end(ap1);
22167 return 0;
22168 }
22169 int main()
22170 {
22171 return foo("hi", 17);
22172 }
22173 _ACEOF
22174 rm -f conftest$ac_exeext
22175 if { (ac_try="$ac_link"
22176 case "(($ac_try" in
22177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22178 *) ac_try_echo=$ac_try;;
22179 esac
22180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22181 (eval "$ac_link") 2>&5
22182 ac_status=$?
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22185 { (case "(($ac_try" in
22186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22187 *) ac_try_echo=$ac_try;;
22188 esac
22189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22190 (eval "$ac_try") 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 wx_cv_type_va_list_lvalue=yes
22195 else
22196 echo "$as_me: program exited with status $ac_status" >&5
22197 echo "$as_me: failed program was:" >&5
22198 sed 's/^/| /' conftest.$ac_ext >&5
22199
22200 ( exit $ac_status )
22201 wx_cv_type_va_list_lvalue=no
22202 fi
22203 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22204 fi
22205
22206
22207
22208
22209 fi
22210 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22211 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22212
22213 if test $wx_cv_type_va_list_lvalue != "yes"; then
22214 cat >>confdefs.h <<\_ACEOF
22215 #define VA_LIST_IS_ARRAY 1
22216 _ACEOF
22217
22218 fi
22219 fi
22220
22221 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22222
22223 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22224 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22225 if test "${wx_cv_have_variadic_macros+set}" = set; then
22226 echo $ECHO_N "(cached) $ECHO_C" >&6
22227 else
22228
22229 ac_ext=cpp
22230 ac_cpp='$CXXCPP $CPPFLAGS'
22231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22234
22235 cat >conftest.$ac_ext <<_ACEOF
22236 /* confdefs.h. */
22237 _ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241
22242 #include <stdio.h>
22243 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22244
22245 int
22246 main ()
22247 {
22248
22249 test("%s %d %p", "test", 1, 0);
22250
22251
22252 ;
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_cxx_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest.$ac_objext; then
22273 wx_cv_have_variadic_macros=yes
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 wx_cv_have_variadic_macros=no
22279
22280 fi
22281
22282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22283 ac_ext=c
22284 ac_cpp='$CPP $CPPFLAGS'
22285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22288
22289
22290
22291 fi
22292 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22293 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22294
22295 if test $wx_cv_have_variadic_macros = "yes"; then
22296 cat >>confdefs.h <<\_ACEOF
22297 #define HAVE_VARIADIC_MACROS 1
22298 _ACEOF
22299
22300 fi
22301
22302 fi
22303 # Check whether --enable-largefile was given.
22304 if test "${enable_largefile+set}" = set; then
22305 enableval=$enable_largefile;
22306 fi
22307
22308 if test "$enable_largefile" != no; then
22309 wx_largefile=no
22310
22311 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22312 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22313 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22315 else
22316
22317 cat >conftest.$ac_ext <<_ACEOF
22318 /* confdefs.h. */
22319 _ACEOF
22320 cat confdefs.h >>conftest.$ac_ext
22321 cat >>conftest.$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 #define _FILE_OFFSET_BITS 64
22324 #include <sys/types.h>
22325 int
22326 main ()
22327 {
22328 typedef struct {
22329 unsigned int field: sizeof(off_t) == 8;
22330 } wxlf;
22331
22332 ;
22333 return 0;
22334 }
22335 _ACEOF
22336 rm -f conftest.$ac_objext
22337 if { (ac_try="$ac_compile"
22338 case "(($ac_try" in
22339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22340 *) ac_try_echo=$ac_try;;
22341 esac
22342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22343 (eval "$ac_compile") 2>conftest.er1
22344 ac_status=$?
22345 grep -v '^ *+' conftest.er1 >conftest.err
22346 rm -f conftest.er1
22347 cat conftest.err >&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); } && {
22350 test -z "$ac_c_werror_flag" ||
22351 test ! -s conftest.err
22352 } && test -s conftest.$ac_objext; then
22353 ac_cv_sys_file_offset_bits=64
22354 else
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.$ac_ext >&5
22357
22358 ac_cv_sys_file_offset_bits=no
22359 fi
22360
22361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22362
22363
22364 fi
22365 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22366 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22367
22368 if test "$ac_cv_sys_file_offset_bits" != no; then
22369 wx_largefile=yes
22370 cat >>confdefs.h <<_ACEOF
22371 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22372 _ACEOF
22373
22374 fi
22375
22376 if test "x$wx_largefile" != "xyes"; then
22377
22378 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22379 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22380 if test "${ac_cv_sys_large_files+set}" = set; then
22381 echo $ECHO_N "(cached) $ECHO_C" >&6
22382 else
22383
22384 cat >conftest.$ac_ext <<_ACEOF
22385 /* confdefs.h. */
22386 _ACEOF
22387 cat confdefs.h >>conftest.$ac_ext
22388 cat >>conftest.$ac_ext <<_ACEOF
22389 /* end confdefs.h. */
22390 #define _LARGE_FILES 1
22391 #include <sys/types.h>
22392 int
22393 main ()
22394 {
22395 typedef struct {
22396 unsigned int field: sizeof(off_t) == 8;
22397 } wxlf;
22398
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22411 ac_status=$?
22412 grep -v '^ *+' conftest.er1 >conftest.err
22413 rm -f conftest.er1
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_cv_sys_large_files=1
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ac_cv_sys_large_files=no
22426 fi
22427
22428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429
22430
22431 fi
22432 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22433 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22434
22435 if test "$ac_cv_sys_large_files" != no; then
22436 wx_largefile=yes
22437 cat >>confdefs.h <<_ACEOF
22438 #define _LARGE_FILES $ac_cv_sys_large_files
22439 _ACEOF
22440
22441 fi
22442
22443 fi
22444
22445 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22446 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22447 if test "x$wx_largefile" = "xyes"; then
22448 cat >>confdefs.h <<\_ACEOF
22449 #define HAVE_LARGEFILE_SUPPORT 1
22450 _ACEOF
22451
22452 fi
22453 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22454 echo "${ECHO_T}$wx_largefile" >&6; }
22455 fi
22456
22457
22458 if test "x$wx_largefile" = "xyes"; then
22459 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22460 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22461
22462 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22463 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22464 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22465 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22466 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 else
22468
22469 ac_ext=cpp
22470 ac_cpp='$CXXCPP $CPPFLAGS'
22471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22474
22475 cat >conftest.$ac_ext <<_ACEOF
22476 /* confdefs.h. */
22477 _ACEOF
22478 cat confdefs.h >>conftest.$ac_ext
22479 cat >>conftest.$ac_ext <<_ACEOF
22480 /* end confdefs.h. */
22481
22482 int
22483 main ()
22484 {
22485
22486 #ifndef __STDC_EXT__
22487 choke me
22488 #endif
22489
22490 ;
22491 return 0;
22492 }
22493 _ACEOF
22494 rm -f conftest.$ac_objext
22495 if { (ac_try="$ac_compile"
22496 case "(($ac_try" in
22497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22498 *) ac_try_echo=$ac_try;;
22499 esac
22500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22501 (eval "$ac_compile") 2>conftest.er1
22502 ac_status=$?
22503 grep -v '^ *+' conftest.er1 >conftest.err
22504 rm -f conftest.er1
22505 cat conftest.err >&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } && {
22508 test -z "$ac_cxx_werror_flag" ||
22509 test ! -s conftest.err
22510 } && test -s conftest.$ac_objext; then
22511 wx_cv_STDC_EXT_required=no
22512 else
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22515
22516 wx_cv_STDC_EXT_required=yes
22517
22518 fi
22519
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22526
22527
22528
22529 fi
22530 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22531 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22532 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22533 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22534 fi
22535 fi
22536 else
22537 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22538 fi
22539 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22540 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22541 if test "${ac_cv_sys_largefile_source+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 while :; do
22545 cat >conftest.$ac_ext <<_ACEOF
22546 /* confdefs.h. */
22547 _ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22551 #include <sys/types.h> /* for off_t */
22552 #include <stdio.h>
22553 int
22554 main ()
22555 {
22556 int (*fp) (FILE *, off_t, int) = fseeko;
22557 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22558 ;
22559 return 0;
22560 }
22561 _ACEOF
22562 rm -f conftest.$ac_objext conftest$ac_exeext
22563 if { (ac_try="$ac_link"
22564 case "(($ac_try" in
22565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22566 *) ac_try_echo=$ac_try;;
22567 esac
22568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22569 (eval "$ac_link") 2>conftest.er1
22570 ac_status=$?
22571 grep -v '^ *+' conftest.er1 >conftest.err
22572 rm -f conftest.er1
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } && {
22576 test -z "$ac_c_werror_flag" ||
22577 test ! -s conftest.err
22578 } && test -s conftest$ac_exeext &&
22579 $as_test_x conftest$ac_exeext; then
22580 ac_cv_sys_largefile_source=no; break
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585
22586 fi
22587
22588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22589 conftest$ac_exeext conftest.$ac_ext
22590 cat >conftest.$ac_ext <<_ACEOF
22591 /* confdefs.h. */
22592 _ACEOF
22593 cat confdefs.h >>conftest.$ac_ext
22594 cat >>conftest.$ac_ext <<_ACEOF
22595 /* end confdefs.h. */
22596 #define _LARGEFILE_SOURCE 1
22597 #include <sys/types.h> /* for off_t */
22598 #include <stdio.h>
22599 int
22600 main ()
22601 {
22602 int (*fp) (FILE *, off_t, int) = fseeko;
22603 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22604 ;
22605 return 0;
22606 }
22607 _ACEOF
22608 rm -f conftest.$ac_objext conftest$ac_exeext
22609 if { (ac_try="$ac_link"
22610 case "(($ac_try" in
22611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22612 *) ac_try_echo=$ac_try;;
22613 esac
22614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22615 (eval "$ac_link") 2>conftest.er1
22616 ac_status=$?
22617 grep -v '^ *+' conftest.er1 >conftest.err
22618 rm -f conftest.er1
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } && {
22622 test -z "$ac_c_werror_flag" ||
22623 test ! -s conftest.err
22624 } && test -s conftest$ac_exeext &&
22625 $as_test_x conftest$ac_exeext; then
22626 ac_cv_sys_largefile_source=1; break
22627 else
22628 echo "$as_me: failed program was:" >&5
22629 sed 's/^/| /' conftest.$ac_ext >&5
22630
22631
22632 fi
22633
22634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22635 conftest$ac_exeext conftest.$ac_ext
22636 ac_cv_sys_largefile_source=unknown
22637 break
22638 done
22639 fi
22640 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22641 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22642 case $ac_cv_sys_largefile_source in #(
22643 no | unknown) ;;
22644 *)
22645 cat >>confdefs.h <<_ACEOF
22646 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22647 _ACEOF
22648 ;;
22649 esac
22650 rm -f conftest*
22651
22652 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22653 # in glibc 2.1.3, but that breaks too many other things.
22654 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22655 if test $ac_cv_sys_largefile_source != unknown; then
22656
22657 cat >>confdefs.h <<\_ACEOF
22658 #define HAVE_FSEEKO 1
22659 _ACEOF
22660
22661 fi
22662
22663 if test "$ac_cv_sys_largefile_source" != no; then
22664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22665 fi
22666 fi
22667
22668 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22669 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22670 if test "${ac_cv_c_bigendian+set}" = set; then
22671 echo $ECHO_N "(cached) $ECHO_C" >&6
22672 else
22673 ac_cv_c_bigendian=unknown
22674 # See if sys/param.h defines the BYTE_ORDER macro.
22675 cat >conftest.$ac_ext <<_ACEOF
22676 /* confdefs.h. */
22677 _ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22681 #include <sys/types.h>
22682 #include <sys/param.h>
22683 int
22684 main ()
22685 {
22686
22687 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22688 bogus endian macros
22689 #endif
22690 ;
22691 return 0;
22692 }
22693 _ACEOF
22694 rm -f conftest.$ac_objext
22695 if { (ac_try="$ac_compile"
22696 case "(($ac_try" in
22697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22698 *) ac_try_echo=$ac_try;;
22699 esac
22700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22701 (eval "$ac_compile") 2>conftest.er1
22702 ac_status=$?
22703 grep -v '^ *+' conftest.er1 >conftest.err
22704 rm -f conftest.er1
22705 cat conftest.err >&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } && {
22708 test -z "$ac_c_werror_flag" ||
22709 test ! -s conftest.err
22710 } && test -s conftest.$ac_objext; then
22711 # It does; now see whether it defined to BIG_ENDIAN or not.
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 #include <sys/types.h>
22719 #include <sys/param.h>
22720 int
22721 main ()
22722 {
22723
22724 #if BYTE_ORDER != BIG_ENDIAN
22725 not big endian
22726 #endif
22727 ;
22728 return 0;
22729 }
22730 _ACEOF
22731 rm -f conftest.$ac_objext
22732 if { (ac_try="$ac_compile"
22733 case "(($ac_try" in
22734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22736 esac
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_compile") 2>conftest.er1
22739 ac_status=$?
22740 grep -v '^ *+' conftest.er1 >conftest.err
22741 rm -f conftest.er1
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } && {
22745 test -z "$ac_c_werror_flag" ||
22746 test ! -s conftest.err
22747 } && test -s conftest.$ac_objext; then
22748 ac_cv_c_bigendian=yes
22749 else
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22752
22753 ac_cv_c_bigendian=no
22754 fi
22755
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22757 else
22758 echo "$as_me: failed program was:" >&5
22759 sed 's/^/| /' conftest.$ac_ext >&5
22760
22761
22762 fi
22763
22764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22765 if test $ac_cv_c_bigendian = unknown; then
22766 if test "$cross_compiling" = yes; then
22767 ac_cv_c_bigendian=unknown
22768 else
22769 cat >conftest.$ac_ext <<_ACEOF
22770 /* confdefs.h. */
22771 _ACEOF
22772 cat confdefs.h >>conftest.$ac_ext
22773 cat >>conftest.$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22775 main () {
22776 /* Are we little or big endian? From Harbison&Steele. */
22777 union
22778 {
22779 long l;
22780 char c[sizeof (long)];
22781 } u;
22782 u.l = 1;
22783 exit (u.c[sizeof (long) - 1] == 1);
22784 }
22785 _ACEOF
22786 rm -f conftest$ac_exeext
22787 if { (ac_try="$ac_link"
22788 case "(($ac_try" in
22789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22790 *) ac_try_echo=$ac_try;;
22791 esac
22792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22793 (eval "$ac_link") 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22797 { (case "(($ac_try" in
22798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22799 *) ac_try_echo=$ac_try;;
22800 esac
22801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22802 (eval "$ac_try") 2>&5
22803 ac_status=$?
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 ac_cv_c_bigendian=no
22807 else
22808 echo "$as_me: program exited with status $ac_status" >&5
22809 echo "$as_me: failed program was:" >&5
22810 sed 's/^/| /' conftest.$ac_ext >&5
22811
22812 ( exit $ac_status )
22813 ac_cv_c_bigendian=yes
22814 fi
22815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22816 fi
22817
22818
22819 fi
22820 fi
22821 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22822 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22823 if test $ac_cv_c_bigendian = unknown; then
22824 { 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
22825 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;}
22826 fi
22827 if test $ac_cv_c_bigendian = yes; then
22828 cat >>confdefs.h <<\_ACEOF
22829 #define WORDS_BIGENDIAN 1
22830 _ACEOF
22831
22832 fi
22833
22834
22835
22836
22837 ac_ext=cpp
22838 ac_cpp='$CXXCPP $CPPFLAGS'
22839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22842
22843
22844 { echo "$as_me:$LINENO: checking for iostream" >&5
22845 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22846 if test "${ac_cv_header_iostream+set}" = set; then
22847 echo $ECHO_N "(cached) $ECHO_C" >&6
22848 else
22849 cat >conftest.$ac_ext <<_ACEOF
22850 /* confdefs.h. */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855
22856
22857 #include <iostream>
22858 _ACEOF
22859 rm -f conftest.$ac_objext
22860 if { (ac_try="$ac_compile"
22861 case "(($ac_try" in
22862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22863 *) ac_try_echo=$ac_try;;
22864 esac
22865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22866 (eval "$ac_compile") 2>conftest.er1
22867 ac_status=$?
22868 grep -v '^ *+' conftest.er1 >conftest.err
22869 rm -f conftest.er1
22870 cat conftest.err >&5
22871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22872 (exit $ac_status); } && {
22873 test -z "$ac_cxx_werror_flag" ||
22874 test ! -s conftest.err
22875 } && test -s conftest.$ac_objext; then
22876 ac_cv_header_iostream=yes
22877 else
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22880
22881 ac_cv_header_iostream=no
22882 fi
22883
22884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22885 fi
22886 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22887 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22888
22889
22890
22891 if test "$ac_cv_header_iostream" = "yes" ; then
22892 :
22893 else
22894 cat >>confdefs.h <<\_ACEOF
22895 #define wxUSE_IOSTREAMH 1
22896 _ACEOF
22897
22898 fi
22899
22900 ac_ext=c
22901 ac_cpp='$CPP $CPPFLAGS'
22902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22905
22906
22907
22908
22909 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22910 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22911 if test "${wx_cv_cpp_bool+set}" = set; then
22912 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 else
22914
22915
22916 ac_ext=cpp
22917 ac_cpp='$CXXCPP $CPPFLAGS'
22918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22921
22922
22923 cat >conftest.$ac_ext <<_ACEOF
22924 /* confdefs.h. */
22925 _ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929
22930
22931 int
22932 main ()
22933 {
22934
22935 bool b = true;
22936
22937 return 0;
22938
22939 ;
22940 return 0;
22941 }
22942 _ACEOF
22943 rm -f conftest.$ac_objext
22944 if { (ac_try="$ac_compile"
22945 case "(($ac_try" in
22946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22947 *) ac_try_echo=$ac_try;;
22948 esac
22949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22950 (eval "$ac_compile") 2>conftest.er1
22951 ac_status=$?
22952 grep -v '^ *+' conftest.er1 >conftest.err
22953 rm -f conftest.er1
22954 cat conftest.err >&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); } && {
22957 test -z "$ac_cxx_werror_flag" ||
22958 test ! -s conftest.err
22959 } && test -s conftest.$ac_objext; then
22960
22961 wx_cv_cpp_bool=yes
22962
22963 else
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22966
22967
22968 wx_cv_cpp_bool=no
22969
22970
22971 fi
22972
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22974
22975 ac_ext=c
22976 ac_cpp='$CPP $CPPFLAGS'
22977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22980
22981
22982 fi
22983 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22984 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22985
22986 if test "$wx_cv_cpp_bool" = "yes"; then
22987 cat >>confdefs.h <<\_ACEOF
22988 #define HAVE_BOOL 1
22989 _ACEOF
22990
22991 fi
22992
22993
22994
22995 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22996 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22997 if test "${wx_cv_explicit+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000
23001
23002 ac_ext=cpp
23003 ac_cpp='$CXXCPP $CPPFLAGS'
23004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23007
23008
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015
23016 class Foo { public: explicit Foo(int) {} };
23017
23018 int
23019 main ()
23020 {
23021
23022 return 0;
23023
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (ac_try="$ac_compile"
23030 case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23033 esac
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_compile") 2>conftest.er1
23036 ac_status=$?
23037 grep -v '^ *+' conftest.er1 >conftest.err
23038 rm -f conftest.er1
23039 cat conftest.err >&5
23040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23041 (exit $ac_status); } && {
23042 test -z "$ac_cxx_werror_flag" ||
23043 test ! -s conftest.err
23044 } && test -s conftest.$ac_objext; then
23045
23046 cat >conftest.$ac_ext <<_ACEOF
23047 /* confdefs.h. */
23048 _ACEOF
23049 cat confdefs.h >>conftest.$ac_ext
23050 cat >>conftest.$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23052
23053 class Foo { public: explicit Foo(int) {} };
23054 static void TakeFoo(const Foo& foo) { }
23055
23056 int
23057 main ()
23058 {
23059
23060 TakeFoo(17);
23061 return 0;
23062
23063 ;
23064 return 0;
23065 }
23066 _ACEOF
23067 rm -f conftest.$ac_objext
23068 if { (ac_try="$ac_compile"
23069 case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23072 esac
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_compile") 2>conftest.er1
23075 ac_status=$?
23076 grep -v '^ *+' conftest.er1 >conftest.err
23077 rm -f conftest.er1
23078 cat conftest.err >&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } && {
23081 test -z "$ac_cxx_werror_flag" ||
23082 test ! -s conftest.err
23083 } && test -s conftest.$ac_objext; then
23084 wx_cv_explicit=no
23085 else
23086 echo "$as_me: failed program was:" >&5
23087 sed 's/^/| /' conftest.$ac_ext >&5
23088
23089 wx_cv_explicit=yes
23090
23091 fi
23092
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094
23095 else
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23098
23099 wx_cv_explicit=no
23100
23101 fi
23102
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104
23105 ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110
23111
23112 fi
23113 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23114 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23115
23116 if test "$wx_cv_explicit" = "yes"; then
23117 cat >>confdefs.h <<\_ACEOF
23118 #define HAVE_EXPLICIT 1
23119 _ACEOF
23120
23121 fi
23122
23123
23124 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23125 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23126 if test "${ac_cv_cxx_const_cast+set}" = set; then
23127 echo $ECHO_N "(cached) $ECHO_C" >&6
23128 else
23129
23130 ac_ext=cpp
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23135
23136 cat >conftest.$ac_ext <<_ACEOF
23137 /* confdefs.h. */
23138 _ACEOF
23139 cat confdefs.h >>conftest.$ac_ext
23140 cat >>conftest.$ac_ext <<_ACEOF
23141 /* end confdefs.h. */
23142
23143 int
23144 main ()
23145 {
23146 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23147 ;
23148 return 0;
23149 }
23150 _ACEOF
23151 rm -f conftest.$ac_objext
23152 if { (ac_try="$ac_compile"
23153 case "(($ac_try" in
23154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23155 *) ac_try_echo=$ac_try;;
23156 esac
23157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23158 (eval "$ac_compile") 2>conftest.er1
23159 ac_status=$?
23160 grep -v '^ *+' conftest.er1 >conftest.err
23161 rm -f conftest.er1
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } && {
23165 test -z "$ac_cxx_werror_flag" ||
23166 test ! -s conftest.err
23167 } && test -s conftest.$ac_objext; then
23168 ac_cv_cxx_const_cast=yes
23169 else
23170 echo "$as_me: failed program was:" >&5
23171 sed 's/^/| /' conftest.$ac_ext >&5
23172
23173 ac_cv_cxx_const_cast=no
23174 fi
23175
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183
23184 fi
23185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23186 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23187 if test "$ac_cv_cxx_const_cast" = yes; then
23188
23189 cat >>confdefs.h <<\_ACEOF
23190 #define HAVE_CONST_CAST
23191 _ACEOF
23192
23193 fi
23194
23195 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23196 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23197 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23198 echo $ECHO_N "(cached) $ECHO_C" >&6
23199 else
23200
23201 ac_ext=cpp
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207 cat >conftest.$ac_ext <<_ACEOF
23208 /* confdefs.h. */
23209 _ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 #include <typeinfo>
23214 class Base { public : Base () {} virtual void f () = 0;};
23215 class Derived : public Base { public : Derived () {} virtual void f () {} };
23216 class Unrelated { public : Unrelated () {} };
23217 int g (Unrelated&) { return 0; }
23218 int
23219 main ()
23220 {
23221
23222 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23223 ;
23224 return 0;
23225 }
23226 _ACEOF
23227 rm -f conftest.$ac_objext
23228 if { (ac_try="$ac_compile"
23229 case "(($ac_try" in
23230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23231 *) ac_try_echo=$ac_try;;
23232 esac
23233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23234 (eval "$ac_compile") 2>conftest.er1
23235 ac_status=$?
23236 grep -v '^ *+' conftest.er1 >conftest.err
23237 rm -f conftest.er1
23238 cat conftest.err >&5
23239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23240 (exit $ac_status); } && {
23241 test -z "$ac_cxx_werror_flag" ||
23242 test ! -s conftest.err
23243 } && test -s conftest.$ac_objext; then
23244 ac_cv_cxx_reinterpret_cast=yes
23245 else
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23248
23249 ac_cv_cxx_reinterpret_cast=no
23250 fi
23251
23252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23253 ac_ext=c
23254 ac_cpp='$CPP $CPPFLAGS'
23255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23258
23259
23260 fi
23261 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23262 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23263 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23264
23265 cat >>confdefs.h <<\_ACEOF
23266 #define HAVE_REINTERPRET_CAST
23267 _ACEOF
23268
23269 fi
23270
23271 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23272 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23273 if test "${ac_cv_cxx_static_cast+set}" = set; then
23274 echo $ECHO_N "(cached) $ECHO_C" >&6
23275 else
23276
23277 ac_ext=cpp
23278 ac_cpp='$CXXCPP $CPPFLAGS'
23279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23282
23283 cat >conftest.$ac_ext <<_ACEOF
23284 /* confdefs.h. */
23285 _ACEOF
23286 cat confdefs.h >>conftest.$ac_ext
23287 cat >>conftest.$ac_ext <<_ACEOF
23288 /* end confdefs.h. */
23289 #include <typeinfo>
23290 class Base { public : Base () {} virtual void f () = 0; };
23291 class Derived : public Base { public : Derived () {} virtual void f () {} };
23292 int g (Derived&) { return 0; }
23293 int
23294 main ()
23295 {
23296
23297 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23298 ;
23299 return 0;
23300 }
23301 _ACEOF
23302 rm -f conftest.$ac_objext
23303 if { (ac_try="$ac_compile"
23304 case "(($ac_try" in
23305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23307 esac
23308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_compile") 2>conftest.er1
23310 ac_status=$?
23311 grep -v '^ *+' conftest.er1 >conftest.err
23312 rm -f conftest.er1
23313 cat conftest.err >&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } && {
23316 test -z "$ac_cxx_werror_flag" ||
23317 test ! -s conftest.err
23318 } && test -s conftest.$ac_objext; then
23319 ac_cv_cxx_static_cast=yes
23320 else
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.$ac_ext >&5
23323
23324 ac_cv_cxx_static_cast=no
23325 fi
23326
23327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23328 ac_ext=c
23329 ac_cpp='$CPP $CPPFLAGS'
23330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23333
23334
23335 fi
23336 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23337 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23338 if test "$ac_cv_cxx_static_cast" = yes; then
23339
23340 cat >>confdefs.h <<\_ACEOF
23341 #define HAVE_STATIC_CAST
23342 _ACEOF
23343
23344 fi
23345
23346
23347 if test "x$SUNCXX" = xyes; then
23348 CXXFLAGS="-features=tmplife $CXXFLAGS"
23349 fi
23350
23351 if test "x$SUNCC" = xyes; then
23352 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23353 fi
23354
23355 if test "x$SGICC" = "xyes"; then
23356 CFLAGS="-woff 3970 $CFLAGS"
23357 fi
23358 if test "x$SGICXX" = "xyes"; then
23359 CXXFLAGS="-woff 3970 $CXXFLAGS"
23360 fi
23361
23362 if test "x$HPCC" = "xyes"; then
23363 CFLAGS="+W 2011,2450 $CFLAGS"
23364 fi
23365 if test "x$HPCXX" = "xyes"; then
23366 CXXFLAGS="+W 2340 $CXXFLAGS"
23367 fi
23368
23369 if test "x$COMPAQCXX" = "xyes"; then
23370 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23371 fi
23372
23373 ac_ext=cpp
23374 ac_cpp='$CXXCPP $CPPFLAGS'
23375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23378
23379
23380 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23381 if test "$wxUSE_UNICODE" = "yes"; then
23382 std_string="std::wstring"
23383 char_type="wchar_t"
23384 else
23385 std_string="std::string"
23386 char_type="char"
23387 fi
23388
23389 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23390 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23391 if test "${wx_cv_class_stdstring+set}" = set; then
23392 echo $ECHO_N "(cached) $ECHO_C" >&6
23393 else
23394
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <string>
23402 int
23403 main ()
23404 {
23405 $std_string foo;
23406 ;
23407 return 0;
23408 }
23409 _ACEOF
23410 rm -f conftest.$ac_objext
23411 if { (ac_try="$ac_compile"
23412 case "(($ac_try" in
23413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23414 *) ac_try_echo=$ac_try;;
23415 esac
23416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23417 (eval "$ac_compile") 2>conftest.er1
23418 ac_status=$?
23419 grep -v '^ *+' conftest.er1 >conftest.err
23420 rm -f conftest.er1
23421 cat conftest.err >&5
23422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23423 (exit $ac_status); } && {
23424 test -z "$ac_cxx_werror_flag" ||
23425 test ! -s conftest.err
23426 } && test -s conftest.$ac_objext; then
23427 wx_cv_class_stdstring=yes
23428 else
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23431
23432 wx_cv_class_stdstring=no
23433
23434 fi
23435
23436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23437
23438
23439 fi
23440 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23441 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23442
23443 if test "$wx_cv_class_stdstring" = yes; then
23444 if test "$wxUSE_UNICODE" = "yes"; then
23445 cat >>confdefs.h <<\_ACEOF
23446 #define HAVE_STD_WSTRING 1
23447 _ACEOF
23448
23449 fi
23450 else
23451 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23452 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23453 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23454 echo $ECHO_N "(cached) $ECHO_C" >&6
23455 else
23456
23457 cat >conftest.$ac_ext <<_ACEOF
23458 /* confdefs.h. */
23459 _ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463
23464 #ifdef HAVE_WCHAR_H
23465 # ifdef __CYGWIN__
23466 # include <stddef.h>
23467 # endif
23468 # include <wchar.h>
23469 #endif
23470 #ifdef HAVE_STDLIB_H
23471 # include <stdlib.h>
23472 #endif
23473 #include <stdio.h>
23474 #include <string>
23475
23476 int
23477 main ()
23478 {
23479 std::basic_string<$char_type> foo;
23480 const $char_type* dummy = foo.c_str();
23481 ;
23482 return 0;
23483 }
23484 _ACEOF
23485 rm -f conftest.$ac_objext
23486 if { (ac_try="$ac_compile"
23487 case "(($ac_try" in
23488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23489 *) ac_try_echo=$ac_try;;
23490 esac
23491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23492 (eval "$ac_compile") 2>conftest.er1
23493 ac_status=$?
23494 grep -v '^ *+' conftest.er1 >conftest.err
23495 rm -f conftest.er1
23496 cat conftest.err >&5
23497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23498 (exit $ac_status); } && {
23499 test -z "$ac_cxx_werror_flag" ||
23500 test ! -s conftest.err
23501 } && test -s conftest.$ac_objext; then
23502 wx_cv_class_stdbasicstring=yes
23503 else
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.$ac_ext >&5
23506
23507 wx_cv_class_stdbasicstring=no
23508
23509 fi
23510
23511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23512
23513
23514 fi
23515 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23516 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23517
23518 if test "$wx_cv_class_stdbasicstring" != yes; then
23519 if test "$wxUSE_STL" = "yes"; then
23520 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23521 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23522 { (exit 1); exit 1; }; }
23523 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23524 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23525 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23526 { (exit 1); exit 1; }; }
23527 else
23528 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23529 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23530 wxUSE_STD_STRING=no
23531 fi
23532 fi
23533 fi
23534 fi
23535
23536 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23537 { echo "$as_me:$LINENO: checking for std::istream" >&5
23538 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23539 if test "${ac_cv_type_std__istream+set}" = set; then
23540 echo $ECHO_N "(cached) $ECHO_C" >&6
23541 else
23542 cat >conftest.$ac_ext <<_ACEOF
23543 /* confdefs.h. */
23544 _ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23548 #include <iostream>
23549
23550 typedef std::istream ac__type_new_;
23551 int
23552 main ()
23553 {
23554 if ((ac__type_new_ *) 0)
23555 return 0;
23556 if (sizeof (ac__type_new_))
23557 return 0;
23558 ;
23559 return 0;
23560 }
23561 _ACEOF
23562 rm -f conftest.$ac_objext
23563 if { (ac_try="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23567 esac
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23570 ac_status=$?
23571 grep -v '^ *+' conftest.er1 >conftest.err
23572 rm -f conftest.er1
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } && {
23576 test -z "$ac_cxx_werror_flag" ||
23577 test ! -s conftest.err
23578 } && test -s conftest.$ac_objext; then
23579 ac_cv_type_std__istream=yes
23580 else
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 ac_cv_type_std__istream=no
23585 fi
23586
23587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23588 fi
23589 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23590 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23591 if test $ac_cv_type_std__istream = yes; then
23592
23593 cat >>confdefs.h <<_ACEOF
23594 #define HAVE_STD__ISTREAM 1
23595 _ACEOF
23596
23597
23598 else
23599 wxUSE_STD_IOSTREAM=no
23600 fi
23601 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23602 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23603 if test "${ac_cv_type_std__ostream+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 else
23606 cat >conftest.$ac_ext <<_ACEOF
23607 /* confdefs.h. */
23608 _ACEOF
23609 cat confdefs.h >>conftest.$ac_ext
23610 cat >>conftest.$ac_ext <<_ACEOF
23611 /* end confdefs.h. */
23612 #include <iostream>
23613
23614 typedef std::ostream ac__type_new_;
23615 int
23616 main ()
23617 {
23618 if ((ac__type_new_ *) 0)
23619 return 0;
23620 if (sizeof (ac__type_new_))
23621 return 0;
23622 ;
23623 return 0;
23624 }
23625 _ACEOF
23626 rm -f conftest.$ac_objext
23627 if { (ac_try="$ac_compile"
23628 case "(($ac_try" in
23629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23630 *) ac_try_echo=$ac_try;;
23631 esac
23632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23633 (eval "$ac_compile") 2>conftest.er1
23634 ac_status=$?
23635 grep -v '^ *+' conftest.er1 >conftest.err
23636 rm -f conftest.er1
23637 cat conftest.err >&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } && {
23640 test -z "$ac_cxx_werror_flag" ||
23641 test ! -s conftest.err
23642 } && test -s conftest.$ac_objext; then
23643 ac_cv_type_std__ostream=yes
23644 else
23645 echo "$as_me: failed program was:" >&5
23646 sed 's/^/| /' conftest.$ac_ext >&5
23647
23648 ac_cv_type_std__ostream=no
23649 fi
23650
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652 fi
23653 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23654 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23655 if test $ac_cv_type_std__ostream = yes; then
23656
23657 cat >>confdefs.h <<_ACEOF
23658 #define HAVE_STD__OSTREAM 1
23659 _ACEOF
23660
23661
23662 else
23663 wxUSE_STD_IOSTREAM=no
23664 fi
23665
23666
23667 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23668 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23669 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23670 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23671 { (exit 1); exit 1; }; }
23672 else
23673 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23674 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23675 fi
23676 fi
23677 fi
23678
23679 if test "$wxUSE_STL" = "yes"; then
23680 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23681 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23682 if test "${wx_cv_lib_stl+set}" = set; then
23683 echo $ECHO_N "(cached) $ECHO_C" >&6
23684 else
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 #include <string>
23692 #include <functional>
23693 #include <algorithm>
23694 #include <vector>
23695 #include <list>
23696 int
23697 main ()
23698 {
23699 std::vector<int> moo;
23700 std::list<int> foo;
23701 std::vector<int>::iterator it =
23702 std::find_if(moo.begin(), moo.end(),
23703 std::bind2nd(std::less<int>(), 3));
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23713 esac
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23716 ac_status=$?
23717 grep -v '^ *+' conftest.er1 >conftest.err
23718 rm -f conftest.er1
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_cxx_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.$ac_objext; then
23725 wx_cv_lib_stl=yes
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 wx_cv_lib_stl=no
23731
23732 fi
23733
23734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23735
23736 fi
23737 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23738 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23739
23740 if test "$wx_cv_lib_stl" != yes; then
23741 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23742 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23743 { (exit 1); exit 1; }; }
23744 fi
23745
23746 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23747 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23748 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23749 echo $ECHO_N "(cached) $ECHO_C" >&6
23750 else
23751 cat >conftest.$ac_ext <<_ACEOF
23752 /* confdefs.h. */
23753 _ACEOF
23754 cat confdefs.h >>conftest.$ac_ext
23755 cat >>conftest.$ac_ext <<_ACEOF
23756 /* end confdefs.h. */
23757 #include <string>
23758 int
23759 main ()
23760 {
23761 std::string foo, bar;
23762 foo.compare(bar);
23763 foo.compare(1, 1, bar);
23764 foo.compare(1, 1, bar, 1, 1);
23765 foo.compare("");
23766 foo.compare(1, 1, "");
23767 foo.compare(1, 1, "", 2);
23768 ;
23769 return 0;
23770 }
23771 _ACEOF
23772 rm -f conftest.$ac_objext
23773 if { (ac_try="$ac_compile"
23774 case "(($ac_try" in
23775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23776 *) ac_try_echo=$ac_try;;
23777 esac
23778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23779 (eval "$ac_compile") 2>conftest.er1
23780 ac_status=$?
23781 grep -v '^ *+' conftest.er1 >conftest.err
23782 rm -f conftest.er1
23783 cat conftest.err >&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); } && {
23786 test -z "$ac_cxx_werror_flag" ||
23787 test ! -s conftest.err
23788 } && test -s conftest.$ac_objext; then
23789 wx_cv_func_stdstring_compare=yes
23790 else
23791 echo "$as_me: failed program was:" >&5
23792 sed 's/^/| /' conftest.$ac_ext >&5
23793
23794 wx_cv_func_stdstring_compare=no
23795
23796 fi
23797
23798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23799
23800 fi
23801 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23802 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23803
23804 if test "$wx_cv_func_stdstring_compare" = yes; then
23805 cat >>confdefs.h <<\_ACEOF
23806 #define HAVE_STD_STRING_COMPARE 1
23807 _ACEOF
23808
23809 fi
23810
23811 { echo "$as_me:$LINENO: checking for hash_map" >&5
23812 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23813 if test "${ac_cv_header_hash_map+set}" = set; then
23814 echo $ECHO_N "(cached) $ECHO_C" >&6
23815 else
23816 cat >conftest.$ac_ext <<_ACEOF
23817 /* confdefs.h. */
23818 _ACEOF
23819 cat confdefs.h >>conftest.$ac_ext
23820 cat >>conftest.$ac_ext <<_ACEOF
23821 /* end confdefs.h. */
23822
23823
23824
23825 #include <hash_map>
23826 _ACEOF
23827 rm -f conftest.$ac_objext
23828 if { (ac_try="$ac_compile"
23829 case "(($ac_try" in
23830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23831 *) ac_try_echo=$ac_try;;
23832 esac
23833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23834 (eval "$ac_compile") 2>conftest.er1
23835 ac_status=$?
23836 grep -v '^ *+' conftest.er1 >conftest.err
23837 rm -f conftest.er1
23838 cat conftest.err >&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } && {
23841 test -z "$ac_cxx_werror_flag" ||
23842 test ! -s conftest.err
23843 } && test -s conftest.$ac_objext; then
23844 ac_cv_header_hash_map=yes
23845 else
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.$ac_ext >&5
23848
23849 ac_cv_header_hash_map=no
23850 fi
23851
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23853 fi
23854 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23855 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23856 if test $ac_cv_header_hash_map = yes; then
23857 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23858 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23859 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23860 echo $ECHO_N "(cached) $ECHO_C" >&6
23861 else
23862 cat >conftest.$ac_ext <<_ACEOF
23863 /* confdefs.h. */
23864 _ACEOF
23865 cat confdefs.h >>conftest.$ac_ext
23866 cat >>conftest.$ac_ext <<_ACEOF
23867 /* end confdefs.h. */
23868 #include <hash_map>
23869 #include <hash_set>
23870 int
23871 main ()
23872 {
23873 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23874 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23875 ;
23876 return 0;
23877 }
23878 _ACEOF
23879 rm -f conftest.$ac_objext
23880 if { (ac_try="$ac_compile"
23881 case "(($ac_try" in
23882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23883 *) ac_try_echo=$ac_try;;
23884 esac
23885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23886 (eval "$ac_compile") 2>conftest.er1
23887 ac_status=$?
23888 grep -v '^ *+' conftest.er1 >conftest.err
23889 rm -f conftest.er1
23890 cat conftest.err >&5
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); } && {
23893 test -z "$ac_cxx_werror_flag" ||
23894 test ! -s conftest.err
23895 } && test -s conftest.$ac_objext; then
23896 wx_cv_class_stdhashmapset=yes
23897 else
23898 echo "$as_me: failed program was:" >&5
23899 sed 's/^/| /' conftest.$ac_ext >&5
23900
23901 wx_cv_class_stdhashmapset=no
23902 fi
23903
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905
23906
23907 fi
23908 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23909 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23910 fi
23911
23912
23913
23914 if test "$wx_cv_class_stdhashmapset" = yes; then
23915 cat >>confdefs.h <<\_ACEOF
23916 #define HAVE_HASH_MAP 1
23917 _ACEOF
23918
23919 cat >>confdefs.h <<\_ACEOF
23920 #define HAVE_STD_HASH_MAP 1
23921 _ACEOF
23922
23923 fi
23924
23925 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23926 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23927 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23928 echo $ECHO_N "(cached) $ECHO_C" >&6
23929 else
23930 cat >conftest.$ac_ext <<_ACEOF
23931 /* confdefs.h. */
23932 _ACEOF
23933 cat confdefs.h >>conftest.$ac_ext
23934 cat >>conftest.$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23936
23937
23938
23939 #include <ext/hash_map>
23940 _ACEOF
23941 rm -f conftest.$ac_objext
23942 if { (ac_try="$ac_compile"
23943 case "(($ac_try" in
23944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23945 *) ac_try_echo=$ac_try;;
23946 esac
23947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23948 (eval "$ac_compile") 2>conftest.er1
23949 ac_status=$?
23950 grep -v '^ *+' conftest.er1 >conftest.err
23951 rm -f conftest.er1
23952 cat conftest.err >&5
23953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23954 (exit $ac_status); } && {
23955 test -z "$ac_cxx_werror_flag" ||
23956 test ! -s conftest.err
23957 } && test -s conftest.$ac_objext; then
23958 ac_cv_header_ext_hash_map=yes
23959 else
23960 echo "$as_me: failed program was:" >&5
23961 sed 's/^/| /' conftest.$ac_ext >&5
23962
23963 ac_cv_header_ext_hash_map=no
23964 fi
23965
23966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23967 fi
23968 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23969 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23970 if test $ac_cv_header_ext_hash_map = yes; then
23971 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23972 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23973 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23974 echo $ECHO_N "(cached) $ECHO_C" >&6
23975 else
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982 #include <ext/hash_map>
23983 #include <ext/hash_set>
23984 int
23985 main ()
23986 {
23987 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23988 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23998 esac
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24001 ac_status=$?
24002 grep -v '^ *+' conftest.er1 >conftest.err
24003 rm -f conftest.er1
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_cxx_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24010 wx_cv_class_gnuhashmapset=yes
24011 else
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24014
24015 wx_cv_class_gnuhashmapset=no
24016 fi
24017
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019
24020
24021 fi
24022 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24023 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24024 fi
24025
24026
24027
24028 if test "$wx_cv_class_gnuhashmapset" = yes; then
24029 cat >>confdefs.h <<\_ACEOF
24030 #define HAVE_EXT_HASH_MAP 1
24031 _ACEOF
24032
24033 cat >>confdefs.h <<\_ACEOF
24034 #define HAVE_GNU_CXX_HASH_MAP 1
24035 _ACEOF
24036
24037 fi
24038 fi
24039
24040 ac_ext=c
24041 ac_cpp='$CPP $CPPFLAGS'
24042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24045
24046
24047
24048 SEARCH_INCLUDE="\
24049 /usr/local/include \
24050 \
24051 /usr/Motif-2.1/include \
24052 /usr/Motif-1.2/include \
24053 /usr/include/Motif1.2 \
24054 \
24055 /usr/dt/include \
24056 /usr/openwin/include \
24057 \
24058 /usr/include/Xm \
24059 \
24060 /usr/X11R6/include \
24061 /usr/X11R6.4/include \
24062 /usr/X11R5/include \
24063 /usr/X11R4/include \
24064 \
24065 /usr/include/X11R6 \
24066 /usr/include/X11R5 \
24067 /usr/include/X11R4 \
24068 \
24069 /usr/local/X11R6/include \
24070 /usr/local/X11R5/include \
24071 /usr/local/X11R4/include \
24072 \
24073 /usr/local/include/X11R6 \
24074 /usr/local/include/X11R5 \
24075 /usr/local/include/X11R4 \
24076 \
24077 /usr/X11/include \
24078 /usr/include/X11 \
24079 /usr/local/X11/include \
24080 /usr/local/include/X11 \
24081 \
24082 /usr/XFree86/include/X11 \
24083 /usr/pkg/include \
24084 \
24085 /usr/openwin/share/include"
24086
24087 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24088 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24089
24090 case "${host}" in
24091 *-*-irix6* )
24092 if test "${wx_cv_std_libpath+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24094 else
24095
24096 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24097 for e in a so sl dylib dll.a; do
24098 libc="$d/libc.$e"
24099 if test -f $libc; then
24100 save_LIBS="$LIBS"
24101 LIBS="$libc"
24102 cat >conftest.$ac_ext <<_ACEOF
24103 int main() { return 0; }
24104 _ACEOF
24105 rm -f conftest.$ac_objext conftest$ac_exeext
24106 if { (ac_try="$ac_link"
24107 case "(($ac_try" in
24108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24109 *) ac_try_echo=$ac_try;;
24110 esac
24111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24112 (eval "$ac_link") 2>conftest.er1
24113 ac_status=$?
24114 grep -v '^ *+' conftest.er1 >conftest.err
24115 rm -f conftest.er1
24116 cat conftest.err >&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); } && {
24119 test -z "$ac_c_werror_flag" ||
24120 test ! -s conftest.err
24121 } && test -s conftest$ac_exeext &&
24122 $as_test_x conftest$ac_exeext; then
24123 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24124 else
24125 echo "$as_me: failed program was:" >&5
24126 sed 's/^/| /' conftest.$ac_ext >&5
24127
24128
24129 fi
24130
24131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24132 conftest$ac_exeext conftest.$ac_ext
24133 LIBS="$save_LIBS"
24134 if test "x$wx_cv_std_libpath" != "x"; then
24135 break 2
24136 fi
24137 fi
24138 done
24139 done
24140 if test "x$wx_cv_std_libpath" = "x"; then
24141 wx_cv_std_libpath="lib"
24142 fi
24143
24144
24145 fi
24146
24147 ;;
24148
24149 *-*-solaris2* )
24150 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24151 wx_cv_std_libpath="lib/64"
24152 else
24153 wx_cv_std_libpath="lib"
24154 fi
24155 ;;
24156
24157 *-*-linux* )
24158 if test "$ac_cv_sizeof_void_p" = 8 -a \
24159 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24160 wx_cv_std_libpath="lib64"
24161 else
24162 wx_cv_std_libpath="lib"
24163 fi
24164 ;;
24165
24166 *)
24167 wx_cv_std_libpath="lib";
24168 ;;
24169 esac
24170
24171 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24172 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24173
24174 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24175
24176 if test "$build" != "$host" -a "$GCC" = yes; then
24177 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24178 cross_root=`dirname $cross_root`
24179 cross_root=`dirname $cross_root`
24180
24181 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24182 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24183 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24184
24185 if test -z "$PKG_CONFIG_PATH"; then
24186 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24187 export PKG_CONFIG_PATH
24188 fi
24189
24190 if test -z "$x_includes" -o "$x_includes" = NONE; then
24191
24192 ac_find_includes=
24193 for ac_dir in $SEARCH_INCLUDE /usr/include;
24194 do
24195 if test -f "$ac_dir/X11/Intrinsic.h"; then
24196 ac_find_includes=$ac_dir
24197 break
24198 fi
24199 done
24200
24201 x_includes=$ac_find_includes
24202 fi
24203 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24204
24205 ac_find_libraries=
24206 for ac_dir in $SEARCH_LIB;
24207 do
24208 for ac_extension in a so sl dylib dll.a; do
24209 if test -f "$ac_dir/libXt.$ac_extension"; then
24210 ac_find_libraries=$ac_dir
24211 break 2
24212 fi
24213 done
24214 done
24215
24216 x_libraries=$ac_find_libraries
24217 fi
24218 fi
24219 fi
24220
24221
24222 cat >confcache <<\_ACEOF
24223 # This file is a shell script that caches the results of configure
24224 # tests run on this system so they can be shared between configure
24225 # scripts and configure runs, see configure's option --config-cache.
24226 # It is not useful on other systems. If it contains results you don't
24227 # want to keep, you may remove or edit it.
24228 #
24229 # config.status only pays attention to the cache file if you give it
24230 # the --recheck option to rerun configure.
24231 #
24232 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24233 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24234 # following values.
24235
24236 _ACEOF
24237
24238 # The following way of writing the cache mishandles newlines in values,
24239 # but we know of no workaround that is simple, portable, and efficient.
24240 # So, we kill variables containing newlines.
24241 # Ultrix sh set writes to stderr and can't be redirected directly,
24242 # and sets the high bit in the cache file unless we assign to the vars.
24243 (
24244 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24245 eval ac_val=\$$ac_var
24246 case $ac_val in #(
24247 *${as_nl}*)
24248 case $ac_var in #(
24249 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24250 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24251 esac
24252 case $ac_var in #(
24253 _ | IFS | as_nl) ;; #(
24254 *) $as_unset $ac_var ;;
24255 esac ;;
24256 esac
24257 done
24258
24259 (set) 2>&1 |
24260 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24261 *${as_nl}ac_space=\ *)
24262 # `set' does not quote correctly, so add quotes (double-quote
24263 # substitution turns \\\\ into \\, and sed turns \\ into \).
24264 sed -n \
24265 "s/'/'\\\\''/g;
24266 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24267 ;; #(
24268 *)
24269 # `set' quotes correctly as required by POSIX, so do not add quotes.
24270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24271 ;;
24272 esac |
24273 sort
24274 ) |
24275 sed '
24276 /^ac_cv_env_/b end
24277 t clear
24278 :clear
24279 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24280 t end
24281 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24282 :end' >>confcache
24283 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24284 if test -w "$cache_file"; then
24285 test "x$cache_file" != "x/dev/null" &&
24286 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24287 echo "$as_me: updating cache $cache_file" >&6;}
24288 cat confcache >$cache_file
24289 else
24290 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24291 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24292 fi
24293 fi
24294 rm -f confcache
24295
24296 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24297 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24298 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24299 if test "${wx_cv_lib_glibc21+set}" = set; then
24300 echo $ECHO_N "(cached) $ECHO_C" >&6
24301 else
24302
24303 cat >conftest.$ac_ext <<_ACEOF
24304 /* confdefs.h. */
24305 _ACEOF
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309 #include <features.h>
24310 int
24311 main ()
24312 {
24313
24314 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24315 not glibc 2.1
24316 #endif
24317
24318 ;
24319 return 0;
24320 }
24321 _ACEOF
24322 rm -f conftest.$ac_objext
24323 if { (ac_try="$ac_compile"
24324 case "(($ac_try" in
24325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24326 *) ac_try_echo=$ac_try;;
24327 esac
24328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24329 (eval "$ac_compile") 2>conftest.er1
24330 ac_status=$?
24331 grep -v '^ *+' conftest.er1 >conftest.err
24332 rm -f conftest.er1
24333 cat conftest.err >&5
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); } && {
24336 test -z "$ac_c_werror_flag" ||
24337 test ! -s conftest.err
24338 } && test -s conftest.$ac_objext; then
24339
24340 wx_cv_lib_glibc21=yes
24341
24342 else
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24345
24346
24347 wx_cv_lib_glibc21=no
24348
24349
24350 fi
24351
24352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24353
24354 fi
24355 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24356 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24357 if test "$wx_cv_lib_glibc21" = "yes"; then
24358 cat >>confdefs.h <<\_ACEOF
24359 #define wxHAVE_GLIBC2 1
24360 _ACEOF
24361
24362 fi
24363 fi
24364
24365 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24366 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24367 cat >>confdefs.h <<\_ACEOF
24368 #define _GNU_SOURCE 1
24369 _ACEOF
24370
24371 fi
24372 fi
24373
24374 have_cos=0
24375 have_floor=0
24376
24377 for ac_func in cos
24378 do
24379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24380 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24382 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24383 echo $ECHO_N "(cached) $ECHO_C" >&6
24384 else
24385 cat >conftest.$ac_ext <<_ACEOF
24386 /* confdefs.h. */
24387 _ACEOF
24388 cat confdefs.h >>conftest.$ac_ext
24389 cat >>conftest.$ac_ext <<_ACEOF
24390 /* end confdefs.h. */
24391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24393 #define $ac_func innocuous_$ac_func
24394
24395 /* System header to define __stub macros and hopefully few prototypes,
24396 which can conflict with char $ac_func (); below.
24397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24398 <limits.h> exists even on freestanding compilers. */
24399
24400 #ifdef __STDC__
24401 # include <limits.h>
24402 #else
24403 # include <assert.h>
24404 #endif
24405
24406 #undef $ac_func
24407
24408 /* Override any GCC internal prototype to avoid an error.
24409 Use char because int might match the return type of a GCC
24410 builtin and then its argument prototype would still apply. */
24411 #ifdef __cplusplus
24412 extern "C"
24413 #endif
24414 char $ac_func ();
24415 /* The GNU C library defines this for functions which it implements
24416 to always fail with ENOSYS. Some functions are actually named
24417 something starting with __ and the normal name is an alias. */
24418 #if defined __stub_$ac_func || defined __stub___$ac_func
24419 choke me
24420 #endif
24421
24422 int
24423 main ()
24424 {
24425 return $ac_func ();
24426 ;
24427 return 0;
24428 }
24429 _ACEOF
24430 rm -f conftest.$ac_objext conftest$ac_exeext
24431 if { (ac_try="$ac_link"
24432 case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24434 *) ac_try_echo=$ac_try;;
24435 esac
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_link") 2>conftest.er1
24438 ac_status=$?
24439 grep -v '^ *+' conftest.er1 >conftest.err
24440 rm -f conftest.er1
24441 cat conftest.err >&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } && {
24444 test -z "$ac_c_werror_flag" ||
24445 test ! -s conftest.err
24446 } && test -s conftest$ac_exeext &&
24447 $as_test_x conftest$ac_exeext; then
24448 eval "$as_ac_var=yes"
24449 else
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24452
24453 eval "$as_ac_var=no"
24454 fi
24455
24456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24457 conftest$ac_exeext conftest.$ac_ext
24458 fi
24459 ac_res=`eval echo '${'$as_ac_var'}'`
24460 { echo "$as_me:$LINENO: result: $ac_res" >&5
24461 echo "${ECHO_T}$ac_res" >&6; }
24462 if test `eval echo '${'$as_ac_var'}'` = yes; then
24463 cat >>confdefs.h <<_ACEOF
24464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24465 _ACEOF
24466 have_cos=1
24467 fi
24468 done
24469
24470
24471 for ac_func in floor
24472 do
24473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 else
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24487 #define $ac_func innocuous_$ac_func
24488
24489 /* System header to define __stub macros and hopefully few prototypes,
24490 which can conflict with char $ac_func (); below.
24491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24492 <limits.h> exists even on freestanding compilers. */
24493
24494 #ifdef __STDC__
24495 # include <limits.h>
24496 #else
24497 # include <assert.h>
24498 #endif
24499
24500 #undef $ac_func
24501
24502 /* Override any GCC internal prototype to avoid an error.
24503 Use char because int might match the return type of a GCC
24504 builtin and then its argument prototype would still apply. */
24505 #ifdef __cplusplus
24506 extern "C"
24507 #endif
24508 char $ac_func ();
24509 /* The GNU C library defines this for functions which it implements
24510 to always fail with ENOSYS. Some functions are actually named
24511 something starting with __ and the normal name is an alias. */
24512 #if defined __stub_$ac_func || defined __stub___$ac_func
24513 choke me
24514 #endif
24515
24516 int
24517 main ()
24518 {
24519 return $ac_func ();
24520 ;
24521 return 0;
24522 }
24523 _ACEOF
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (ac_try="$ac_link"
24526 case "(($ac_try" in
24527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24528 *) ac_try_echo=$ac_try;;
24529 esac
24530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24531 (eval "$ac_link") 2>conftest.er1
24532 ac_status=$?
24533 grep -v '^ *+' conftest.er1 >conftest.err
24534 rm -f conftest.er1
24535 cat conftest.err >&5
24536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24537 (exit $ac_status); } && {
24538 test -z "$ac_c_werror_flag" ||
24539 test ! -s conftest.err
24540 } && test -s conftest$ac_exeext &&
24541 $as_test_x conftest$ac_exeext; then
24542 eval "$as_ac_var=yes"
24543 else
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24546
24547 eval "$as_ac_var=no"
24548 fi
24549
24550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24551 conftest$ac_exeext conftest.$ac_ext
24552 fi
24553 ac_res=`eval echo '${'$as_ac_var'}'`
24554 { echo "$as_me:$LINENO: result: $ac_res" >&5
24555 echo "${ECHO_T}$ac_res" >&6; }
24556 if test `eval echo '${'$as_ac_var'}'` = yes; then
24557 cat >>confdefs.h <<_ACEOF
24558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24559 _ACEOF
24560 have_floor=1
24561 fi
24562 done
24563
24564 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24565 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24566 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24567 { echo "$as_me:$LINENO: result: yes" >&5
24568 echo "${ECHO_T}yes" >&6; }
24569 else
24570 { echo "$as_me:$LINENO: result: no" >&5
24571 echo "${ECHO_T}no" >&6; }
24572 LIBS="$LIBS -lm"
24573 # use different functions to avoid configure caching
24574 have_sin=0
24575 have_ceil=0
24576
24577 for ac_func in sin
24578 do
24579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24583 echo $ECHO_N "(cached) $ECHO_C" >&6
24584 else
24585 cat >conftest.$ac_ext <<_ACEOF
24586 /* confdefs.h. */
24587 _ACEOF
24588 cat confdefs.h >>conftest.$ac_ext
24589 cat >>conftest.$ac_ext <<_ACEOF
24590 /* end confdefs.h. */
24591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24593 #define $ac_func innocuous_$ac_func
24594
24595 /* System header to define __stub macros and hopefully few prototypes,
24596 which can conflict with char $ac_func (); below.
24597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24598 <limits.h> exists even on freestanding compilers. */
24599
24600 #ifdef __STDC__
24601 # include <limits.h>
24602 #else
24603 # include <assert.h>
24604 #endif
24605
24606 #undef $ac_func
24607
24608 /* Override any GCC internal prototype to avoid an error.
24609 Use char because int might match the return type of a GCC
24610 builtin and then its argument prototype would still apply. */
24611 #ifdef __cplusplus
24612 extern "C"
24613 #endif
24614 char $ac_func ();
24615 /* The GNU C library defines this for functions which it implements
24616 to always fail with ENOSYS. Some functions are actually named
24617 something starting with __ and the normal name is an alias. */
24618 #if defined __stub_$ac_func || defined __stub___$ac_func
24619 choke me
24620 #endif
24621
24622 int
24623 main ()
24624 {
24625 return $ac_func ();
24626 ;
24627 return 0;
24628 }
24629 _ACEOF
24630 rm -f conftest.$ac_objext conftest$ac_exeext
24631 if { (ac_try="$ac_link"
24632 case "(($ac_try" in
24633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24634 *) ac_try_echo=$ac_try;;
24635 esac
24636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24637 (eval "$ac_link") 2>conftest.er1
24638 ac_status=$?
24639 grep -v '^ *+' conftest.er1 >conftest.err
24640 rm -f conftest.er1
24641 cat conftest.err >&5
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } && {
24644 test -z "$ac_c_werror_flag" ||
24645 test ! -s conftest.err
24646 } && test -s conftest$ac_exeext &&
24647 $as_test_x conftest$ac_exeext; then
24648 eval "$as_ac_var=yes"
24649 else
24650 echo "$as_me: failed program was:" >&5
24651 sed 's/^/| /' conftest.$ac_ext >&5
24652
24653 eval "$as_ac_var=no"
24654 fi
24655
24656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24657 conftest$ac_exeext conftest.$ac_ext
24658 fi
24659 ac_res=`eval echo '${'$as_ac_var'}'`
24660 { echo "$as_me:$LINENO: result: $ac_res" >&5
24661 echo "${ECHO_T}$ac_res" >&6; }
24662 if test `eval echo '${'$as_ac_var'}'` = yes; then
24663 cat >>confdefs.h <<_ACEOF
24664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24665 _ACEOF
24666 have_sin=1
24667 fi
24668 done
24669
24670
24671 for ac_func in ceil
24672 do
24673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24677 echo $ECHO_N "(cached) $ECHO_C" >&6
24678 else
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24687 #define $ac_func innocuous_$ac_func
24688
24689 /* System header to define __stub macros and hopefully few prototypes,
24690 which can conflict with char $ac_func (); below.
24691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24692 <limits.h> exists even on freestanding compilers. */
24693
24694 #ifdef __STDC__
24695 # include <limits.h>
24696 #else
24697 # include <assert.h>
24698 #endif
24699
24700 #undef $ac_func
24701
24702 /* Override any GCC internal prototype to avoid an error.
24703 Use char because int might match the return type of a GCC
24704 builtin and then its argument prototype would still apply. */
24705 #ifdef __cplusplus
24706 extern "C"
24707 #endif
24708 char $ac_func ();
24709 /* The GNU C library defines this for functions which it implements
24710 to always fail with ENOSYS. Some functions are actually named
24711 something starting with __ and the normal name is an alias. */
24712 #if defined __stub_$ac_func || defined __stub___$ac_func
24713 choke me
24714 #endif
24715
24716 int
24717 main ()
24718 {
24719 return $ac_func ();
24720 ;
24721 return 0;
24722 }
24723 _ACEOF
24724 rm -f conftest.$ac_objext conftest$ac_exeext
24725 if { (ac_try="$ac_link"
24726 case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24729 esac
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_link") 2>conftest.er1
24732 ac_status=$?
24733 grep -v '^ *+' conftest.er1 >conftest.err
24734 rm -f conftest.er1
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } && {
24738 test -z "$ac_c_werror_flag" ||
24739 test ! -s conftest.err
24740 } && test -s conftest$ac_exeext &&
24741 $as_test_x conftest$ac_exeext; then
24742 eval "$as_ac_var=yes"
24743 else
24744 echo "$as_me: failed program was:" >&5
24745 sed 's/^/| /' conftest.$ac_ext >&5
24746
24747 eval "$as_ac_var=no"
24748 fi
24749
24750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24751 conftest$ac_exeext conftest.$ac_ext
24752 fi
24753 ac_res=`eval echo '${'$as_ac_var'}'`
24754 { echo "$as_me:$LINENO: result: $ac_res" >&5
24755 echo "${ECHO_T}$ac_res" >&6; }
24756 if test `eval echo '${'$as_ac_var'}'` = yes; then
24757 cat >>confdefs.h <<_ACEOF
24758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24759 _ACEOF
24760 have_ceil=1
24761 fi
24762 done
24763
24764 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24765 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24766 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24767 { echo "$as_me:$LINENO: result: yes" >&5
24768 echo "${ECHO_T}yes" >&6; }
24769 else
24770 { echo "$as_me:$LINENO: result: no" >&5
24771 echo "${ECHO_T}no" >&6; }
24772 # not sure we should warn the user, crash, etc.
24773 fi
24774 fi
24775
24776 ac_ext=cpp
24777 ac_cpp='$CXXCPP $CPPFLAGS'
24778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24781
24782 if test "wxUSE_UNICODE" = "yes"; then
24783
24784 for wx_func in wcstoull
24785 do
24786 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24787 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24788 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24789 echo $ECHO_N "(cached) $ECHO_C" >&6
24790 else
24791
24792 cat >conftest.$ac_ext <<_ACEOF
24793
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799
24800
24801 $ac_includes_default
24802
24803 int
24804 main ()
24805 {
24806
24807 #ifndef $wx_func
24808 &$wx_func;
24809 #endif
24810
24811
24812 ;
24813 return 0;
24814 }
24815
24816 _ACEOF
24817 rm -f conftest.$ac_objext conftest$ac_exeext
24818 if { (ac_try="$ac_link"
24819 case "(($ac_try" in
24820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24821 *) ac_try_echo=$ac_try;;
24822 esac
24823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24824 (eval "$ac_link") 2>conftest.er1
24825 ac_status=$?
24826 grep -v '^ *+' conftest.er1 >conftest.err
24827 rm -f conftest.er1
24828 cat conftest.err >&5
24829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24830 (exit $ac_status); } && {
24831 test -z "$ac_cxx_werror_flag" ||
24832 test ! -s conftest.err
24833 } && test -s conftest$ac_exeext &&
24834 $as_test_x conftest$ac_exeext; then
24835 eval wx_cv_func_$wx_func=yes
24836 else
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24839
24840 eval wx_cv_func_$wx_func=no
24841 fi
24842
24843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24844 conftest$ac_exeext conftest.$ac_ext
24845
24846 fi
24847 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24848 { echo "$as_me:$LINENO: result: $ac_res" >&5
24849 echo "${ECHO_T}$ac_res" >&6; }
24850
24851 if eval test \$wx_cv_func_$wx_func = yes
24852 then
24853 cat >>confdefs.h <<_ACEOF
24854 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24855 _ACEOF
24856
24857
24858 else
24859 :
24860
24861 fi
24862 done
24863
24864 else
24865
24866 for wx_func in strtoull
24867 do
24868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24870 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 else
24873
24874 cat >conftest.$ac_ext <<_ACEOF
24875
24876 /* confdefs.h. */
24877 _ACEOF
24878 cat confdefs.h >>conftest.$ac_ext
24879 cat >>conftest.$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24881
24882
24883 $ac_includes_default
24884
24885 int
24886 main ()
24887 {
24888
24889 #ifndef $wx_func
24890 &$wx_func;
24891 #endif
24892
24893
24894 ;
24895 return 0;
24896 }
24897
24898 _ACEOF
24899 rm -f conftest.$ac_objext conftest$ac_exeext
24900 if { (ac_try="$ac_link"
24901 case "(($ac_try" in
24902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24903 *) ac_try_echo=$ac_try;;
24904 esac
24905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24906 (eval "$ac_link") 2>conftest.er1
24907 ac_status=$?
24908 grep -v '^ *+' conftest.er1 >conftest.err
24909 rm -f conftest.er1
24910 cat conftest.err >&5
24911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24912 (exit $ac_status); } && {
24913 test -z "$ac_cxx_werror_flag" ||
24914 test ! -s conftest.err
24915 } && test -s conftest$ac_exeext &&
24916 $as_test_x conftest$ac_exeext; then
24917 eval wx_cv_func_$wx_func=yes
24918 else
24919 echo "$as_me: failed program was:" >&5
24920 sed 's/^/| /' conftest.$ac_ext >&5
24921
24922 eval wx_cv_func_$wx_func=no
24923 fi
24924
24925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24926 conftest$ac_exeext conftest.$ac_ext
24927
24928 fi
24929 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24930 { echo "$as_me:$LINENO: result: $ac_res" >&5
24931 echo "${ECHO_T}$ac_res" >&6; }
24932
24933 if eval test \$wx_cv_func_$wx_func = yes
24934 then
24935 cat >>confdefs.h <<_ACEOF
24936 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24937 _ACEOF
24938
24939
24940 else
24941 :
24942
24943 fi
24944 done
24945
24946 fi
24947 ac_ext=c
24948 ac_cpp='$CPP $CPPFLAGS'
24949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24952
24953
24954
24955
24956 if test "$wxUSE_REGEX" != "no"; then
24957 cat >>confdefs.h <<\_ACEOF
24958 #define wxUSE_REGEX 1
24959 _ACEOF
24960
24961
24962 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24963 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24964 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24965 wxUSE_REGEX=builtin
24966 fi
24967
24968 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24969 { echo "$as_me:$LINENO: checking for regex.h" >&5
24970 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24971 if test "${ac_cv_header_regex_h+set}" = set; then
24972 echo $ECHO_N "(cached) $ECHO_C" >&6
24973 else
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980
24981
24982 #include <regex.h>
24983 _ACEOF
24984 rm -f conftest.$ac_objext
24985 if { (ac_try="$ac_compile"
24986 case "(($ac_try" in
24987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24988 *) ac_try_echo=$ac_try;;
24989 esac
24990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24991 (eval "$ac_compile") 2>conftest.er1
24992 ac_status=$?
24993 grep -v '^ *+' conftest.er1 >conftest.err
24994 rm -f conftest.er1
24995 cat conftest.err >&5
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); } && {
24998 test -z "$ac_c_werror_flag" ||
24999 test ! -s conftest.err
25000 } && test -s conftest.$ac_objext; then
25001 ac_cv_header_regex_h=yes
25002 else
25003 echo "$as_me: failed program was:" >&5
25004 sed 's/^/| /' conftest.$ac_ext >&5
25005
25006 ac_cv_header_regex_h=no
25007 fi
25008
25009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25010 fi
25011 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25012 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25013 if test $ac_cv_header_regex_h = yes; then
25014
25015
25016 for ac_func in regcomp re_search
25017 do
25018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25021 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25022 echo $ECHO_N "(cached) $ECHO_C" >&6
25023 else
25024 cat >conftest.$ac_ext <<_ACEOF
25025 /* confdefs.h. */
25026 _ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25032 #define $ac_func innocuous_$ac_func
25033
25034 /* System header to define __stub macros and hopefully few prototypes,
25035 which can conflict with char $ac_func (); below.
25036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25037 <limits.h> exists even on freestanding compilers. */
25038
25039 #ifdef __STDC__
25040 # include <limits.h>
25041 #else
25042 # include <assert.h>
25043 #endif
25044
25045 #undef $ac_func
25046
25047 /* Override any GCC internal prototype to avoid an error.
25048 Use char because int might match the return type of a GCC
25049 builtin and then its argument prototype would still apply. */
25050 #ifdef __cplusplus
25051 extern "C"
25052 #endif
25053 char $ac_func ();
25054 /* The GNU C library defines this for functions which it implements
25055 to always fail with ENOSYS. Some functions are actually named
25056 something starting with __ and the normal name is an alias. */
25057 #if defined __stub_$ac_func || defined __stub___$ac_func
25058 choke me
25059 #endif
25060
25061 int
25062 main ()
25063 {
25064 return $ac_func ();
25065 ;
25066 return 0;
25067 }
25068 _ACEOF
25069 rm -f conftest.$ac_objext conftest$ac_exeext
25070 if { (ac_try="$ac_link"
25071 case "(($ac_try" in
25072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25073 *) ac_try_echo=$ac_try;;
25074 esac
25075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25076 (eval "$ac_link") 2>conftest.er1
25077 ac_status=$?
25078 grep -v '^ *+' conftest.er1 >conftest.err
25079 rm -f conftest.er1
25080 cat conftest.err >&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } && {
25083 test -z "$ac_c_werror_flag" ||
25084 test ! -s conftest.err
25085 } && test -s conftest$ac_exeext &&
25086 $as_test_x conftest$ac_exeext; then
25087 eval "$as_ac_var=yes"
25088 else
25089 echo "$as_me: failed program was:" >&5
25090 sed 's/^/| /' conftest.$ac_ext >&5
25091
25092 eval "$as_ac_var=no"
25093 fi
25094
25095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25096 conftest$ac_exeext conftest.$ac_ext
25097 fi
25098 ac_res=`eval echo '${'$as_ac_var'}'`
25099 { echo "$as_me:$LINENO: result: $ac_res" >&5
25100 echo "${ECHO_T}$ac_res" >&6; }
25101 if test `eval echo '${'$as_ac_var'}'` = yes; then
25102 cat >>confdefs.h <<_ACEOF
25103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25104 _ACEOF
25105
25106 fi
25107 done
25108
25109 fi
25110
25111
25112
25113 if test "x$ac_cv_func_regcomp" != "xyes"; then
25114 if test "$wxUSE_REGEX" = "sys" ; then
25115 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25116 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25117 { (exit 1); exit 1; }; }
25118 else
25119 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25120 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25121 wxUSE_REGEX=builtin
25122 fi
25123 else
25124 wxUSE_REGEX=sys
25125 cat >>confdefs.h <<\_ACEOF
25126 #define WX_NO_REGEX_ADVANCED 1
25127 _ACEOF
25128
25129 fi
25130 fi
25131 fi
25132
25133
25134 ZLIB_LINK=
25135 if test "$wxUSE_ZLIB" != "no" ; then
25136 cat >>confdefs.h <<\_ACEOF
25137 #define wxUSE_ZLIB 1
25138 _ACEOF
25139
25140
25141 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25142 if test "$USE_DARWIN" = 1; then
25143 system_zlib_h_ok="yes"
25144 else
25145 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25146 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25147 if test "${ac_cv_header_zlib_h+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25149 else
25150 if test "$cross_compiling" = yes; then
25151 unset ac_cv_header_zlib_h
25152
25153 else
25154 cat >conftest.$ac_ext <<_ACEOF
25155 /* confdefs.h. */
25156 _ACEOF
25157 cat confdefs.h >>conftest.$ac_ext
25158 cat >>conftest.$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25160
25161 #include <zlib.h>
25162 #include <stdio.h>
25163
25164 int main()
25165 {
25166 FILE *f=fopen("conftestval", "w");
25167 if (!f) exit(1);
25168 fprintf(f, "%s",
25169 ZLIB_VERSION[0] == '1' &&
25170 (ZLIB_VERSION[2] > '1' ||
25171 (ZLIB_VERSION[2] == '1' &&
25172 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25173 exit(0);
25174 }
25175
25176 _ACEOF
25177 rm -f conftest$ac_exeext
25178 if { (ac_try="$ac_link"
25179 case "(($ac_try" in
25180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25181 *) ac_try_echo=$ac_try;;
25182 esac
25183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25184 (eval "$ac_link") 2>&5
25185 ac_status=$?
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25188 { (case "(($ac_try" in
25189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25190 *) ac_try_echo=$ac_try;;
25191 esac
25192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25193 (eval "$ac_try") 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 ac_cv_header_zlib_h=`cat conftestval`
25198 else
25199 echo "$as_me: program exited with status $ac_status" >&5
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25202
25203 ( exit $ac_status )
25204 ac_cv_header_zlib_h=no
25205 fi
25206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25207 fi
25208
25209
25210
25211 fi
25212 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25213 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25214 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25215 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25216 if test "${ac_cv_header_zlib_h+set}" = set; then
25217 echo $ECHO_N "(cached) $ECHO_C" >&6
25218 else
25219 cat >conftest.$ac_ext <<_ACEOF
25220 /* confdefs.h. */
25221 _ACEOF
25222 cat confdefs.h >>conftest.$ac_ext
25223 cat >>conftest.$ac_ext <<_ACEOF
25224 /* end confdefs.h. */
25225
25226
25227 #include <zlib.h>
25228 _ACEOF
25229 rm -f conftest.$ac_objext
25230 if { (ac_try="$ac_compile"
25231 case "(($ac_try" in
25232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25233 *) ac_try_echo=$ac_try;;
25234 esac
25235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25236 (eval "$ac_compile") 2>conftest.er1
25237 ac_status=$?
25238 grep -v '^ *+' conftest.er1 >conftest.err
25239 rm -f conftest.er1
25240 cat conftest.err >&5
25241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25242 (exit $ac_status); } && {
25243 test -z "$ac_c_werror_flag" ||
25244 test ! -s conftest.err
25245 } && test -s conftest.$ac_objext; then
25246 ac_cv_header_zlib_h=yes
25247 else
25248 echo "$as_me: failed program was:" >&5
25249 sed 's/^/| /' conftest.$ac_ext >&5
25250
25251 ac_cv_header_zlib_h=no
25252 fi
25253
25254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25255 fi
25256 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25257 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25258
25259
25260
25261 system_zlib_h_ok=$ac_cv_header_zlib_h
25262 fi
25263
25264 if test "$system_zlib_h_ok" = "yes"; then
25265 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25266 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25267 if test "${ac_cv_lib_z_deflate+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 else
25270 ac_check_lib_save_LIBS=$LIBS
25271 LIBS="-lz $LIBS"
25272 cat >conftest.$ac_ext <<_ACEOF
25273 /* confdefs.h. */
25274 _ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25278
25279 /* Override any GCC internal prototype to avoid an error.
25280 Use char because int might match the return type of a GCC
25281 builtin and then its argument prototype would still apply. */
25282 #ifdef __cplusplus
25283 extern "C"
25284 #endif
25285 char deflate ();
25286 int
25287 main ()
25288 {
25289 return deflate ();
25290 ;
25291 return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (ac_try="$ac_link"
25296 case "(($ac_try" in
25297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25298 *) ac_try_echo=$ac_try;;
25299 esac
25300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25301 (eval "$ac_link") 2>conftest.er1
25302 ac_status=$?
25303 grep -v '^ *+' conftest.er1 >conftest.err
25304 rm -f conftest.er1
25305 cat conftest.err >&5
25306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25307 (exit $ac_status); } && {
25308 test -z "$ac_c_werror_flag" ||
25309 test ! -s conftest.err
25310 } && test -s conftest$ac_exeext &&
25311 $as_test_x conftest$ac_exeext; then
25312 ac_cv_lib_z_deflate=yes
25313 else
25314 echo "$as_me: failed program was:" >&5
25315 sed 's/^/| /' conftest.$ac_ext >&5
25316
25317 ac_cv_lib_z_deflate=no
25318 fi
25319
25320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25321 conftest$ac_exeext conftest.$ac_ext
25322 LIBS=$ac_check_lib_save_LIBS
25323 fi
25324 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25325 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25326 if test $ac_cv_lib_z_deflate = yes; then
25327 ZLIB_LINK=" -lz"
25328 fi
25329
25330 fi
25331
25332 if test "x$ZLIB_LINK" = "x" ; then
25333 if test "$wxUSE_ZLIB" = "sys" ; then
25334 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25335 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25336 { (exit 1); exit 1; }; }
25337 else
25338 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25339 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25340 wxUSE_ZLIB=builtin
25341 fi
25342 else
25343 wxUSE_ZLIB=sys
25344 fi
25345 fi
25346 fi
25347
25348
25349 PNG_LINK=
25350 if test "$wxUSE_LIBPNG" != "no" ; then
25351 cat >>confdefs.h <<\_ACEOF
25352 #define wxUSE_LIBPNG 1
25353 _ACEOF
25354
25355
25356 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25357 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25358 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25359 wxUSE_LIBPNG=sys
25360 fi
25361
25362 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25363 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25364 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25365 wxUSE_LIBPNG=builtin
25366 fi
25367
25368 if test "$wxUSE_MGL" != 1 ; then
25369 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25370 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25371 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25372 if test "${ac_cv_header_png_h+set}" = set; then
25373 echo $ECHO_N "(cached) $ECHO_C" >&6
25374 else
25375 if test "$cross_compiling" = yes; then
25376 unset ac_cv_header_png_h
25377
25378 else
25379 cat >conftest.$ac_ext <<_ACEOF
25380 /* confdefs.h. */
25381 _ACEOF
25382 cat confdefs.h >>conftest.$ac_ext
25383 cat >>conftest.$ac_ext <<_ACEOF
25384 /* end confdefs.h. */
25385
25386 #include <png.h>
25387 #include <stdio.h>
25388
25389 int main()
25390 {
25391 FILE *f=fopen("conftestval", "w");
25392 if (!f) exit(1);
25393 fprintf(f, "%s",
25394 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25395 exit(0);
25396 }
25397
25398 _ACEOF
25399 rm -f conftest$ac_exeext
25400 if { (ac_try="$ac_link"
25401 case "(($ac_try" in
25402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25403 *) ac_try_echo=$ac_try;;
25404 esac
25405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25406 (eval "$ac_link") 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25410 { (case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25413 esac
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_try") 2>&5
25416 ac_status=$?
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); }; }; then
25419 ac_cv_header_png_h=`cat conftestval`
25420 else
25421 echo "$as_me: program exited with status $ac_status" >&5
25422 echo "$as_me: failed program was:" >&5
25423 sed 's/^/| /' conftest.$ac_ext >&5
25424
25425 ( exit $ac_status )
25426 ac_cv_header_png_h=no
25427 fi
25428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25429 fi
25430
25431
25432
25433 fi
25434 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25435 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25436 { echo "$as_me:$LINENO: checking for png.h" >&5
25437 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25438 if test "${ac_cv_header_png_h+set}" = set; then
25439 echo $ECHO_N "(cached) $ECHO_C" >&6
25440 else
25441 cat >conftest.$ac_ext <<_ACEOF
25442 /* confdefs.h. */
25443 _ACEOF
25444 cat confdefs.h >>conftest.$ac_ext
25445 cat >>conftest.$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25447
25448
25449 #include <png.h>
25450 _ACEOF
25451 rm -f conftest.$ac_objext
25452 if { (ac_try="$ac_compile"
25453 case "(($ac_try" in
25454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25455 *) ac_try_echo=$ac_try;;
25456 esac
25457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25458 (eval "$ac_compile") 2>conftest.er1
25459 ac_status=$?
25460 grep -v '^ *+' conftest.er1 >conftest.err
25461 rm -f conftest.er1
25462 cat conftest.err >&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); } && {
25465 test -z "$ac_c_werror_flag" ||
25466 test ! -s conftest.err
25467 } && test -s conftest.$ac_objext; then
25468 ac_cv_header_png_h=yes
25469 else
25470 echo "$as_me: failed program was:" >&5
25471 sed 's/^/| /' conftest.$ac_ext >&5
25472
25473 ac_cv_header_png_h=no
25474 fi
25475
25476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25477 fi
25478 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25479 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25480
25481
25482
25483 if test "$ac_cv_header_png_h" = "yes"; then
25484 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25485 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25486 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25487 echo $ECHO_N "(cached) $ECHO_C" >&6
25488 else
25489 ac_check_lib_save_LIBS=$LIBS
25490 LIBS="-lpng -lz -lm $LIBS"
25491 cat >conftest.$ac_ext <<_ACEOF
25492 /* confdefs.h. */
25493 _ACEOF
25494 cat confdefs.h >>conftest.$ac_ext
25495 cat >>conftest.$ac_ext <<_ACEOF
25496 /* end confdefs.h. */
25497
25498 /* Override any GCC internal prototype to avoid an error.
25499 Use char because int might match the return type of a GCC
25500 builtin and then its argument prototype would still apply. */
25501 #ifdef __cplusplus
25502 extern "C"
25503 #endif
25504 char png_check_sig ();
25505 int
25506 main ()
25507 {
25508 return png_check_sig ();
25509 ;
25510 return 0;
25511 }
25512 _ACEOF
25513 rm -f conftest.$ac_objext conftest$ac_exeext
25514 if { (ac_try="$ac_link"
25515 case "(($ac_try" in
25516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25517 *) ac_try_echo=$ac_try;;
25518 esac
25519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25520 (eval "$ac_link") 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } && {
25527 test -z "$ac_c_werror_flag" ||
25528 test ! -s conftest.err
25529 } && test -s conftest$ac_exeext &&
25530 $as_test_x conftest$ac_exeext; then
25531 ac_cv_lib_png_png_check_sig=yes
25532 else
25533 echo "$as_me: failed program was:" >&5
25534 sed 's/^/| /' conftest.$ac_ext >&5
25535
25536 ac_cv_lib_png_png_check_sig=no
25537 fi
25538
25539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25540 conftest$ac_exeext conftest.$ac_ext
25541 LIBS=$ac_check_lib_save_LIBS
25542 fi
25543 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25544 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25545 if test $ac_cv_lib_png_png_check_sig = yes; then
25546 PNG_LINK=" -lpng -lz"
25547 fi
25548
25549 fi
25550
25551 if test "x$PNG_LINK" = "x" ; then
25552 if test "$wxUSE_LIBPNG" = "sys" ; then
25553 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25554 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25555 { (exit 1); exit 1; }; }
25556 else
25557 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25558 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25559 wxUSE_LIBPNG=builtin
25560 fi
25561 else
25562 wxUSE_LIBPNG=sys
25563 fi
25564 fi
25565 fi
25566
25567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25568 fi
25569
25570
25571 JPEG_LINK=
25572 if test "$wxUSE_LIBJPEG" != "no" ; then
25573 cat >>confdefs.h <<\_ACEOF
25574 #define wxUSE_LIBJPEG 1
25575 _ACEOF
25576
25577
25578 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25579 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25580 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25581 wxUSE_LIBJPEG=sys
25582 fi
25583
25584 if test "$wxUSE_MGL" != 1 ; then
25585 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25586 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25587 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25588 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591 cat >conftest.$ac_ext <<_ACEOF
25592 /* confdefs.h. */
25593 _ACEOF
25594 cat confdefs.h >>conftest.$ac_ext
25595 cat >>conftest.$ac_ext <<_ACEOF
25596 /* end confdefs.h. */
25597
25598 #undef HAVE_STDLIB_H
25599 #include <stdio.h>
25600 #include <jpeglib.h>
25601
25602 int
25603 main ()
25604 {
25605
25606
25607 ;
25608 return 0;
25609 }
25610 _ACEOF
25611 rm -f conftest.$ac_objext
25612 if { (ac_try="$ac_compile"
25613 case "(($ac_try" in
25614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25615 *) ac_try_echo=$ac_try;;
25616 esac
25617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25618 (eval "$ac_compile") 2>conftest.er1
25619 ac_status=$?
25620 grep -v '^ *+' conftest.er1 >conftest.err
25621 rm -f conftest.er1
25622 cat conftest.err >&5
25623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25624 (exit $ac_status); } && {
25625 test -z "$ac_c_werror_flag" ||
25626 test ! -s conftest.err
25627 } && test -s conftest.$ac_objext; then
25628 ac_cv_header_jpeglib_h=yes
25629 else
25630 echo "$as_me: failed program was:" >&5
25631 sed 's/^/| /' conftest.$ac_ext >&5
25632
25633 ac_cv_header_jpeglib_h=no
25634
25635 fi
25636
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638
25639 fi
25640
25641 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25642 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25643
25644 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25645 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25646 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25647 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25648 echo $ECHO_N "(cached) $ECHO_C" >&6
25649 else
25650 ac_check_lib_save_LIBS=$LIBS
25651 LIBS="-ljpeg $LIBS"
25652 cat >conftest.$ac_ext <<_ACEOF
25653 /* confdefs.h. */
25654 _ACEOF
25655 cat confdefs.h >>conftest.$ac_ext
25656 cat >>conftest.$ac_ext <<_ACEOF
25657 /* end confdefs.h. */
25658
25659 /* Override any GCC internal prototype to avoid an error.
25660 Use char because int might match the return type of a GCC
25661 builtin and then its argument prototype would still apply. */
25662 #ifdef __cplusplus
25663 extern "C"
25664 #endif
25665 char jpeg_read_header ();
25666 int
25667 main ()
25668 {
25669 return jpeg_read_header ();
25670 ;
25671 return 0;
25672 }
25673 _ACEOF
25674 rm -f conftest.$ac_objext conftest$ac_exeext
25675 if { (ac_try="$ac_link"
25676 case "(($ac_try" in
25677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25678 *) ac_try_echo=$ac_try;;
25679 esac
25680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25681 (eval "$ac_link") 2>conftest.er1
25682 ac_status=$?
25683 grep -v '^ *+' conftest.er1 >conftest.err
25684 rm -f conftest.er1
25685 cat conftest.err >&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } && {
25688 test -z "$ac_c_werror_flag" ||
25689 test ! -s conftest.err
25690 } && test -s conftest$ac_exeext &&
25691 $as_test_x conftest$ac_exeext; then
25692 ac_cv_lib_jpeg_jpeg_read_header=yes
25693 else
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.$ac_ext >&5
25696
25697 ac_cv_lib_jpeg_jpeg_read_header=no
25698 fi
25699
25700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25701 conftest$ac_exeext conftest.$ac_ext
25702 LIBS=$ac_check_lib_save_LIBS
25703 fi
25704 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25705 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25706 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25707 JPEG_LINK=" -ljpeg"
25708 fi
25709
25710 fi
25711
25712 if test "x$JPEG_LINK" = "x" ; then
25713 if test "$wxUSE_LIBJPEG" = "sys" ; then
25714 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25715 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25716 { (exit 1); exit 1; }; }
25717 else
25718 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25719 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25720 wxUSE_LIBJPEG=builtin
25721 fi
25722 else
25723 wxUSE_LIBJPEG=sys
25724
25725 if test "$wxUSE_MSW" = 1; then
25726 { echo "$as_me:$LINENO: checking for boolean" >&5
25727 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25728 if test "${ac_cv_type_boolean+set}" = set; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 else
25731 cat >conftest.$ac_ext <<_ACEOF
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737 #include <windows.h>
25738
25739 typedef boolean ac__type_new_;
25740 int
25741 main ()
25742 {
25743 if ((ac__type_new_ *) 0)
25744 return 0;
25745 if (sizeof (ac__type_new_))
25746 return 0;
25747 ;
25748 return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext
25752 if { (ac_try="$ac_compile"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25755 *) ac_try_echo=$ac_try;;
25756 esac
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_compile") 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest.$ac_objext; then
25768 ac_cv_type_boolean=yes
25769 else
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.$ac_ext >&5
25772
25773 ac_cv_type_boolean=no
25774 fi
25775
25776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25777 fi
25778 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25779 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25780 if test $ac_cv_type_boolean = yes; then
25781
25782 cat >>confdefs.h <<_ACEOF
25783 #define HAVE_BOOLEAN 1
25784 _ACEOF
25785
25786
25787 { echo "$as_me:$LINENO: checking for boolean" >&5
25788 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25789 if test "${ac_cv_type_boolean+set}" = set; then
25790 echo $ECHO_N "(cached) $ECHO_C" >&6
25791 else
25792 cat >conftest.$ac_ext <<_ACEOF
25793 /* confdefs.h. */
25794 _ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25798
25799 #undef HAVE_BOOLEAN
25800 #include <stdio.h>
25801 #include <jpeglib.h>
25802
25803
25804 typedef boolean ac__type_new_;
25805 int
25806 main ()
25807 {
25808 if ((ac__type_new_ *) 0)
25809 return 0;
25810 if (sizeof (ac__type_new_))
25811 return 0;
25812 ;
25813 return 0;
25814 }
25815 _ACEOF
25816 rm -f conftest.$ac_objext
25817 if { (ac_try="$ac_compile"
25818 case "(($ac_try" in
25819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25820 *) ac_try_echo=$ac_try;;
25821 esac
25822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25823 (eval "$ac_compile") 2>conftest.er1
25824 ac_status=$?
25825 grep -v '^ *+' conftest.er1 >conftest.err
25826 rm -f conftest.er1
25827 cat conftest.err >&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); } && {
25830 test -z "$ac_c_werror_flag" ||
25831 test ! -s conftest.err
25832 } && test -s conftest.$ac_objext; then
25833 ac_cv_type_boolean=yes
25834 else
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25837
25838 ac_cv_type_boolean=no
25839 fi
25840
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25842 fi
25843 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25844 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25845
25846 # The cast to long int works around a bug in the HP C Compiler
25847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25849 # This bug is HP SR number 8606223364.
25850 { echo "$as_me:$LINENO: checking size of boolean" >&5
25851 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25852 if test "${ac_cv_sizeof_boolean+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 else
25855 if test "$cross_compiling" = yes; then
25856 # Depending upon the size, compute the lo and hi bounds.
25857 cat >conftest.$ac_ext <<_ACEOF
25858 /* confdefs.h. */
25859 _ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863
25864 #undef HAVE_BOOLEAN
25865 #include <stdio.h>
25866 #include <jpeglib.h>
25867
25868
25869 typedef boolean ac__type_sizeof_;
25870 int
25871 main ()
25872 {
25873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25874 test_array [0] = 0
25875
25876 ;
25877 return 0;
25878 }
25879 _ACEOF
25880 rm -f conftest.$ac_objext
25881 if { (ac_try="$ac_compile"
25882 case "(($ac_try" in
25883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25884 *) ac_try_echo=$ac_try;;
25885 esac
25886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25887 (eval "$ac_compile") 2>conftest.er1
25888 ac_status=$?
25889 grep -v '^ *+' conftest.er1 >conftest.err
25890 rm -f conftest.er1
25891 cat conftest.err >&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); } && {
25894 test -z "$ac_c_werror_flag" ||
25895 test ! -s conftest.err
25896 } && test -s conftest.$ac_objext; then
25897 ac_lo=0 ac_mid=0
25898 while :; do
25899 cat >conftest.$ac_ext <<_ACEOF
25900 /* confdefs.h. */
25901 _ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905
25906 #undef HAVE_BOOLEAN
25907 #include <stdio.h>
25908 #include <jpeglib.h>
25909
25910
25911 typedef boolean ac__type_sizeof_;
25912 int
25913 main ()
25914 {
25915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25916 test_array [0] = 0
25917
25918 ;
25919 return 0;
25920 }
25921 _ACEOF
25922 rm -f conftest.$ac_objext
25923 if { (ac_try="$ac_compile"
25924 case "(($ac_try" in
25925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25926 *) ac_try_echo=$ac_try;;
25927 esac
25928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25929 (eval "$ac_compile") 2>conftest.er1
25930 ac_status=$?
25931 grep -v '^ *+' conftest.er1 >conftest.err
25932 rm -f conftest.er1
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } && {
25936 test -z "$ac_c_werror_flag" ||
25937 test ! -s conftest.err
25938 } && test -s conftest.$ac_objext; then
25939 ac_hi=$ac_mid; break
25940 else
25941 echo "$as_me: failed program was:" >&5
25942 sed 's/^/| /' conftest.$ac_ext >&5
25943
25944 ac_lo=`expr $ac_mid + 1`
25945 if test $ac_lo -le $ac_mid; then
25946 ac_lo= ac_hi=
25947 break
25948 fi
25949 ac_mid=`expr 2 '*' $ac_mid + 1`
25950 fi
25951
25952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25953 done
25954 else
25955 echo "$as_me: failed program was:" >&5
25956 sed 's/^/| /' conftest.$ac_ext >&5
25957
25958 cat >conftest.$ac_ext <<_ACEOF
25959 /* confdefs.h. */
25960 _ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964
25965 #undef HAVE_BOOLEAN
25966 #include <stdio.h>
25967 #include <jpeglib.h>
25968
25969
25970 typedef boolean ac__type_sizeof_;
25971 int
25972 main ()
25973 {
25974 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25975 test_array [0] = 0
25976
25977 ;
25978 return 0;
25979 }
25980 _ACEOF
25981 rm -f conftest.$ac_objext
25982 if { (ac_try="$ac_compile"
25983 case "(($ac_try" in
25984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25985 *) ac_try_echo=$ac_try;;
25986 esac
25987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25988 (eval "$ac_compile") 2>conftest.er1
25989 ac_status=$?
25990 grep -v '^ *+' conftest.er1 >conftest.err
25991 rm -f conftest.er1
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } && {
25995 test -z "$ac_c_werror_flag" ||
25996 test ! -s conftest.err
25997 } && test -s conftest.$ac_objext; then
25998 ac_hi=-1 ac_mid=-1
25999 while :; do
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006
26007 #undef HAVE_BOOLEAN
26008 #include <stdio.h>
26009 #include <jpeglib.h>
26010
26011
26012 typedef boolean ac__type_sizeof_;
26013 int
26014 main ()
26015 {
26016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26017 test_array [0] = 0
26018
26019 ;
26020 return 0;
26021 }
26022 _ACEOF
26023 rm -f conftest.$ac_objext
26024 if { (ac_try="$ac_compile"
26025 case "(($ac_try" in
26026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26027 *) ac_try_echo=$ac_try;;
26028 esac
26029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26030 (eval "$ac_compile") 2>conftest.er1
26031 ac_status=$?
26032 grep -v '^ *+' conftest.er1 >conftest.err
26033 rm -f conftest.er1
26034 cat conftest.err >&5
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } && {
26037 test -z "$ac_c_werror_flag" ||
26038 test ! -s conftest.err
26039 } && test -s conftest.$ac_objext; then
26040 ac_lo=$ac_mid; break
26041 else
26042 echo "$as_me: failed program was:" >&5
26043 sed 's/^/| /' conftest.$ac_ext >&5
26044
26045 ac_hi=`expr '(' $ac_mid ')' - 1`
26046 if test $ac_mid -le $ac_hi; then
26047 ac_lo= ac_hi=
26048 break
26049 fi
26050 ac_mid=`expr 2 '*' $ac_mid`
26051 fi
26052
26053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26054 done
26055 else
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26058
26059 ac_lo= ac_hi=
26060 fi
26061
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26063 fi
26064
26065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26066 # Binary search between lo and hi bounds.
26067 while test "x$ac_lo" != "x$ac_hi"; do
26068 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26069 cat >conftest.$ac_ext <<_ACEOF
26070 /* confdefs.h. */
26071 _ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26075
26076 #undef HAVE_BOOLEAN
26077 #include <stdio.h>
26078 #include <jpeglib.h>
26079
26080
26081 typedef boolean ac__type_sizeof_;
26082 int
26083 main ()
26084 {
26085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26086 test_array [0] = 0
26087
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 rm -f conftest.$ac_objext
26093 if { (ac_try="$ac_compile"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26097 esac
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_compile") 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } && {
26106 test -z "$ac_c_werror_flag" ||
26107 test ! -s conftest.err
26108 } && test -s conftest.$ac_objext; then
26109 ac_hi=$ac_mid
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26113
26114 ac_lo=`expr '(' $ac_mid ')' + 1`
26115 fi
26116
26117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26118 done
26119 case $ac_lo in
26120 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26121 '') if test "$ac_cv_type_boolean" = yes; then
26122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26123 See \`config.log' for more details." >&5
26124 echo "$as_me: error: cannot compute sizeof (boolean)
26125 See \`config.log' for more details." >&2;}
26126 { (exit 77); exit 77; }; }
26127 else
26128 ac_cv_sizeof_boolean=0
26129 fi ;;
26130 esac
26131 else
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138
26139 #undef HAVE_BOOLEAN
26140 #include <stdio.h>
26141 #include <jpeglib.h>
26142
26143
26144 typedef boolean ac__type_sizeof_;
26145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26147 #include <stdio.h>
26148 #include <stdlib.h>
26149 int
26150 main ()
26151 {
26152
26153 FILE *f = fopen ("conftest.val", "w");
26154 if (! f)
26155 return 1;
26156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26157 {
26158 long int i = longval ();
26159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26160 return 1;
26161 fprintf (f, "%ld\n", i);
26162 }
26163 else
26164 {
26165 unsigned long int i = ulongval ();
26166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26167 return 1;
26168 fprintf (f, "%lu\n", i);
26169 }
26170 return ferror (f) || fclose (f) != 0;
26171
26172 ;
26173 return 0;
26174 }
26175 _ACEOF
26176 rm -f conftest$ac_exeext
26177 if { (ac_try="$ac_link"
26178 case "(($ac_try" in
26179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26180 *) ac_try_echo=$ac_try;;
26181 esac
26182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26183 (eval "$ac_link") 2>&5
26184 ac_status=$?
26185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26187 { (case "(($ac_try" in
26188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26189 *) ac_try_echo=$ac_try;;
26190 esac
26191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26192 (eval "$ac_try") 2>&5
26193 ac_status=$?
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 ac_cv_sizeof_boolean=`cat conftest.val`
26197 else
26198 echo "$as_me: program exited with status $ac_status" >&5
26199 echo "$as_me: failed program was:" >&5
26200 sed 's/^/| /' conftest.$ac_ext >&5
26201
26202 ( exit $ac_status )
26203 if test "$ac_cv_type_boolean" = yes; then
26204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26205 See \`config.log' for more details." >&5
26206 echo "$as_me: error: cannot compute sizeof (boolean)
26207 See \`config.log' for more details." >&2;}
26208 { (exit 77); exit 77; }; }
26209 else
26210 ac_cv_sizeof_boolean=0
26211 fi
26212 fi
26213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26214 fi
26215 rm -f conftest.val
26216 fi
26217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26218 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26219
26220
26221
26222 cat >>confdefs.h <<_ACEOF
26223 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26224 _ACEOF
26225
26226
26227 cat >>confdefs.h <<_ACEOF
26228 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26229 _ACEOF
26230
26231
26232 fi
26233
26234 fi
26235 fi
26236 fi
26237 fi
26238 fi
26239
26240
26241 TIFF_LINK=
26242 TIFF_PREREQ_LINKS=-lm
26243 if test "$wxUSE_LIBTIFF" != "no" ; then
26244 cat >>confdefs.h <<\_ACEOF
26245 #define wxUSE_LIBTIFF 1
26246 _ACEOF
26247
26248
26249 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26250 if test "$wxUSE_LIBJPEG" = "sys"; then
26251 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26252 fi
26253 if test "$wxUSE_ZLIB" = "sys"; then
26254 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26255 fi
26256 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26257 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26258 if test "${ac_cv_header_tiffio_h+set}" = set; then
26259 echo $ECHO_N "(cached) $ECHO_C" >&6
26260 else
26261 cat >conftest.$ac_ext <<_ACEOF
26262 /* confdefs.h. */
26263 _ACEOF
26264 cat confdefs.h >>conftest.$ac_ext
26265 cat >>conftest.$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26267
26268
26269
26270 #include <tiffio.h>
26271 _ACEOF
26272 rm -f conftest.$ac_objext
26273 if { (ac_try="$ac_compile"
26274 case "(($ac_try" in
26275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26276 *) ac_try_echo=$ac_try;;
26277 esac
26278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26279 (eval "$ac_compile") 2>conftest.er1
26280 ac_status=$?
26281 grep -v '^ *+' conftest.er1 >conftest.err
26282 rm -f conftest.er1
26283 cat conftest.err >&5
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); } && {
26286 test -z "$ac_c_werror_flag" ||
26287 test ! -s conftest.err
26288 } && test -s conftest.$ac_objext; then
26289 ac_cv_header_tiffio_h=yes
26290 else
26291 echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26293
26294 ac_cv_header_tiffio_h=no
26295 fi
26296
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298 fi
26299 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26300 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26301 if test $ac_cv_header_tiffio_h = yes; then
26302
26303 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26304 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26305 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26307 else
26308 ac_check_lib_save_LIBS=$LIBS
26309 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26310 cat >conftest.$ac_ext <<_ACEOF
26311 /* confdefs.h. */
26312 _ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26316
26317 /* Override any GCC internal prototype to avoid an error.
26318 Use char because int might match the return type of a GCC
26319 builtin and then its argument prototype would still apply. */
26320 #ifdef __cplusplus
26321 extern "C"
26322 #endif
26323 char TIFFError ();
26324 int
26325 main ()
26326 {
26327 return TIFFError ();
26328 ;
26329 return 0;
26330 }
26331 _ACEOF
26332 rm -f conftest.$ac_objext conftest$ac_exeext
26333 if { (ac_try="$ac_link"
26334 case "(($ac_try" in
26335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26336 *) ac_try_echo=$ac_try;;
26337 esac
26338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26339 (eval "$ac_link") 2>conftest.er1
26340 ac_status=$?
26341 grep -v '^ *+' conftest.er1 >conftest.err
26342 rm -f conftest.er1
26343 cat conftest.err >&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); } && {
26346 test -z "$ac_c_werror_flag" ||
26347 test ! -s conftest.err
26348 } && test -s conftest$ac_exeext &&
26349 $as_test_x conftest$ac_exeext; then
26350 ac_cv_lib_tiff_TIFFError=yes
26351 else
26352 echo "$as_me: failed program was:" >&5
26353 sed 's/^/| /' conftest.$ac_ext >&5
26354
26355 ac_cv_lib_tiff_TIFFError=no
26356 fi
26357
26358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26359 conftest$ac_exeext conftest.$ac_ext
26360 LIBS=$ac_check_lib_save_LIBS
26361 fi
26362 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26363 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26364 if test $ac_cv_lib_tiff_TIFFError = yes; then
26365 TIFF_LINK=" -ltiff"
26366 fi
26367
26368
26369 fi
26370
26371
26372
26373 if test "x$TIFF_LINK" = "x" ; then
26374 if test "$wxUSE_LIBTIFF" = "sys" ; then
26375 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26376 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26377 { (exit 1); exit 1; }; }
26378 else
26379 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26380 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26381 wxUSE_LIBTIFF=builtin
26382 fi
26383 else
26384 wxUSE_LIBTIFF=sys
26385 fi
26386 fi
26387 fi
26388
26389
26390 if test "$wxUSE_WCHAR_T" != "yes"; then
26391 if test "$wxUSE_EXPAT" != "no"; then
26392 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26393 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26394 wxUSE_EXPAT=no
26395 fi
26396 if test "$wxUSE_XML" != "no"; then
26397 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26398 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26399 wxUSE_XML=no
26400 fi
26401 fi
26402
26403 if test "$wxUSE_EXPAT" != "no"; then
26404 wxUSE_XML=yes
26405 cat >>confdefs.h <<\_ACEOF
26406 #define wxUSE_EXPAT 1
26407 _ACEOF
26408
26409 cat >>confdefs.h <<\_ACEOF
26410 #define wxUSE_XML 1
26411 _ACEOF
26412
26413
26414 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26415 { echo "$as_me:$LINENO: checking for expat.h" >&5
26416 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26417 if test "${ac_cv_header_expat_h+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26419 else
26420 cat >conftest.$ac_ext <<_ACEOF
26421 /* confdefs.h. */
26422 _ACEOF
26423 cat confdefs.h >>conftest.$ac_ext
26424 cat >>conftest.$ac_ext <<_ACEOF
26425 /* end confdefs.h. */
26426
26427
26428 #include <expat.h>
26429 _ACEOF
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26435 esac
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26438 ac_status=$?
26439 grep -v '^ *+' conftest.er1 >conftest.err
26440 rm -f conftest.er1
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } && {
26444 test -z "$ac_c_werror_flag" ||
26445 test ! -s conftest.err
26446 } && test -s conftest.$ac_objext; then
26447 ac_cv_header_expat_h=yes
26448 else
26449 echo "$as_me: failed program was:" >&5
26450 sed 's/^/| /' conftest.$ac_ext >&5
26451
26452 ac_cv_header_expat_h=no
26453 fi
26454
26455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26456 fi
26457 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26458 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26459 if test $ac_cv_header_expat_h = yes; then
26460 found_expat_h=1
26461 fi
26462
26463
26464 if test "x$found_expat_h" = "x1"; then
26465 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26466 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26467 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26469 else
26470
26471 ac_ext=cpp
26472 ac_cpp='$CXXCPP $CPPFLAGS'
26473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26476
26477 cat >conftest.$ac_ext <<_ACEOF
26478 /* confdefs.h. */
26479 _ACEOF
26480 cat confdefs.h >>conftest.$ac_ext
26481 cat >>conftest.$ac_ext <<_ACEOF
26482 /* end confdefs.h. */
26483 #include <expat.h>
26484 int
26485 main ()
26486 {
26487
26488 ;
26489 return 0;
26490 }
26491 _ACEOF
26492 rm -f conftest.$ac_objext
26493 if { (ac_try="$ac_compile"
26494 case "(($ac_try" in
26495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26497 esac
26498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_compile") 2>conftest.er1
26500 ac_status=$?
26501 grep -v '^ *+' conftest.er1 >conftest.err
26502 rm -f conftest.er1
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && {
26506 test -z "$ac_cxx_werror_flag" ||
26507 test ! -s conftest.err
26508 } && test -s conftest.$ac_objext; then
26509 wx_cv_expat_is_not_broken=yes
26510 else
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.$ac_ext >&5
26513
26514 wx_cv_expat_is_not_broken=no
26515
26516 fi
26517
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26519 ac_ext=c
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26524
26525
26526
26527 fi
26528 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26529 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26530 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26531 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26532 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26533 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26534 echo $ECHO_N "(cached) $ECHO_C" >&6
26535 else
26536 ac_check_lib_save_LIBS=$LIBS
26537 LIBS="-lexpat $LIBS"
26538 cat >conftest.$ac_ext <<_ACEOF
26539 /* confdefs.h. */
26540 _ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26544
26545 /* Override any GCC internal prototype to avoid an error.
26546 Use char because int might match the return type of a GCC
26547 builtin and then its argument prototype would still apply. */
26548 #ifdef __cplusplus
26549 extern "C"
26550 #endif
26551 char XML_ParserCreate ();
26552 int
26553 main ()
26554 {
26555 return XML_ParserCreate ();
26556 ;
26557 return 0;
26558 }
26559 _ACEOF
26560 rm -f conftest.$ac_objext conftest$ac_exeext
26561 if { (ac_try="$ac_link"
26562 case "(($ac_try" in
26563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26564 *) ac_try_echo=$ac_try;;
26565 esac
26566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26567 (eval "$ac_link") 2>conftest.er1
26568 ac_status=$?
26569 grep -v '^ *+' conftest.er1 >conftest.err
26570 rm -f conftest.er1
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } && {
26574 test -z "$ac_c_werror_flag" ||
26575 test ! -s conftest.err
26576 } && test -s conftest$ac_exeext &&
26577 $as_test_x conftest$ac_exeext; then
26578 ac_cv_lib_expat_XML_ParserCreate=yes
26579 else
26580 echo "$as_me: failed program was:" >&5
26581 sed 's/^/| /' conftest.$ac_ext >&5
26582
26583 ac_cv_lib_expat_XML_ParserCreate=no
26584 fi
26585
26586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26587 conftest$ac_exeext conftest.$ac_ext
26588 LIBS=$ac_check_lib_save_LIBS
26589 fi
26590 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26591 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26592 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26593 EXPAT_LINK=" -lexpat"
26594 fi
26595
26596 fi
26597 fi
26598 if test "x$EXPAT_LINK" = "x" ; then
26599 if test "$wxUSE_EXPAT" = "sys" ; then
26600 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26601 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26602 { (exit 1); exit 1; }; }
26603 else
26604 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26605 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26606 wxUSE_EXPAT=builtin
26607 fi
26608 else
26609 wxUSE_EXPAT=sys
26610 fi
26611 fi
26612 if test "$wxUSE_EXPAT" = "builtin" ; then
26613 subdirs="$subdirs src/expat"
26614
26615 fi
26616 fi
26617
26618
26619
26620 if test "$wxUSE_LIBMSPACK" != "no"; then
26621 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26622 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26623 if test "${ac_cv_header_mspack_h+set}" = set; then
26624 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 else
26626 cat >conftest.$ac_ext <<_ACEOF
26627 /* confdefs.h. */
26628 _ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26632
26633
26634 #include <mspack.h>
26635 _ACEOF
26636 rm -f conftest.$ac_objext
26637 if { (ac_try="$ac_compile"
26638 case "(($ac_try" in
26639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26640 *) ac_try_echo=$ac_try;;
26641 esac
26642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26643 (eval "$ac_compile") 2>conftest.er1
26644 ac_status=$?
26645 grep -v '^ *+' conftest.er1 >conftest.err
26646 rm -f conftest.er1
26647 cat conftest.err >&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } && {
26650 test -z "$ac_c_werror_flag" ||
26651 test ! -s conftest.err
26652 } && test -s conftest.$ac_objext; then
26653 ac_cv_header_mspack_h=yes
26654 else
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.$ac_ext >&5
26657
26658 ac_cv_header_mspack_h=no
26659 fi
26660
26661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26662 fi
26663 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26664 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26665 if test $ac_cv_header_mspack_h = yes; then
26666 found_mspack_h=1
26667 fi
26668
26669
26670 if test "x$found_mspack_h" = "x1"; then
26671 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26672 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26673 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26674 echo $ECHO_N "(cached) $ECHO_C" >&6
26675 else
26676 ac_check_lib_save_LIBS=$LIBS
26677 LIBS="-lmspack $LIBS"
26678 cat >conftest.$ac_ext <<_ACEOF
26679 /* confdefs.h. */
26680 _ACEOF
26681 cat confdefs.h >>conftest.$ac_ext
26682 cat >>conftest.$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26684
26685 /* Override any GCC internal prototype to avoid an error.
26686 Use char because int might match the return type of a GCC
26687 builtin and then its argument prototype would still apply. */
26688 #ifdef __cplusplus
26689 extern "C"
26690 #endif
26691 char mspack_create_chm_decompressor ();
26692 int
26693 main ()
26694 {
26695 return mspack_create_chm_decompressor ();
26696 ;
26697 return 0;
26698 }
26699 _ACEOF
26700 rm -f conftest.$ac_objext conftest$ac_exeext
26701 if { (ac_try="$ac_link"
26702 case "(($ac_try" in
26703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26704 *) ac_try_echo=$ac_try;;
26705 esac
26706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26707 (eval "$ac_link") 2>conftest.er1
26708 ac_status=$?
26709 grep -v '^ *+' conftest.er1 >conftest.err
26710 rm -f conftest.er1
26711 cat conftest.err >&5
26712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26713 (exit $ac_status); } && {
26714 test -z "$ac_c_werror_flag" ||
26715 test ! -s conftest.err
26716 } && test -s conftest$ac_exeext &&
26717 $as_test_x conftest$ac_exeext; then
26718 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26719 else
26720 echo "$as_me: failed program was:" >&5
26721 sed 's/^/| /' conftest.$ac_ext >&5
26722
26723 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26724 fi
26725
26726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26727 conftest$ac_exeext conftest.$ac_ext
26728 LIBS=$ac_check_lib_save_LIBS
26729 fi
26730 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26731 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26732 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26733 MSPACK_LINK=" -lmspack"
26734 fi
26735
26736 fi
26737 if test "x$MSPACK_LINK" = "x" ; then
26738 wxUSE_LIBMSPACK=no
26739 fi
26740 fi
26741
26742 if test "$wxUSE_LIBMSPACK" != "no"; then
26743 cat >>confdefs.h <<\_ACEOF
26744 #define wxUSE_LIBMSPACK 1
26745 _ACEOF
26746
26747 fi
26748
26749
26750
26751 AFMINSTALL=
26752 WIN32INSTALL=
26753
26754 TOOLKIT=
26755 TOOLKIT_INCLUDE=
26756 WIDGET_SET=
26757
26758 if test "$USE_WIN32" = 1 ; then
26759 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26760 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26761 if test "${ac_cv_header_w32api_h+set}" = set; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 else
26764 cat >conftest.$ac_ext <<_ACEOF
26765 /* confdefs.h. */
26766 _ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26770
26771
26772 #include <w32api.h>
26773 _ACEOF
26774 rm -f conftest.$ac_objext
26775 if { (ac_try="$ac_compile"
26776 case "(($ac_try" in
26777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26778 *) ac_try_echo=$ac_try;;
26779 esac
26780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26781 (eval "$ac_compile") 2>conftest.er1
26782 ac_status=$?
26783 grep -v '^ *+' conftest.er1 >conftest.err
26784 rm -f conftest.er1
26785 cat conftest.err >&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); } && {
26788 test -z "$ac_c_werror_flag" ||
26789 test ! -s conftest.err
26790 } && test -s conftest.$ac_objext; then
26791 ac_cv_header_w32api_h=yes
26792 else
26793 echo "$as_me: failed program was:" >&5
26794 sed 's/^/| /' conftest.$ac_ext >&5
26795
26796 ac_cv_header_w32api_h=no
26797 fi
26798
26799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26800 fi
26801 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26802 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26803
26804
26805 { echo "$as_me:$LINENO: checking for windows.h" >&5
26806 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26807 if test "${ac_cv_header_windows_h+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 else
26810 cat >conftest.$ac_ext <<_ACEOF
26811 /* confdefs.h. */
26812 _ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26816
26817
26818 #include <windows.h>
26819 _ACEOF
26820 rm -f conftest.$ac_objext
26821 if { (ac_try="$ac_compile"
26822 case "(($ac_try" in
26823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26824 *) ac_try_echo=$ac_try;;
26825 esac
26826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26827 (eval "$ac_compile") 2>conftest.er1
26828 ac_status=$?
26829 grep -v '^ *+' conftest.er1 >conftest.err
26830 rm -f conftest.er1
26831 cat conftest.err >&5
26832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26833 (exit $ac_status); } && {
26834 test -z "$ac_c_werror_flag" ||
26835 test ! -s conftest.err
26836 } && test -s conftest.$ac_objext; then
26837 ac_cv_header_windows_h=yes
26838 else
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26841
26842 ac_cv_header_windows_h=no
26843 fi
26844
26845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26846 fi
26847 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26848 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26849 if test $ac_cv_header_windows_h = yes; then
26850 :
26851 else
26852
26853 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26854 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26855 { (exit 1); exit 1; }; }
26856
26857 fi
26858
26859
26860
26861 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26862
26863 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26864 LIBS="$LIBS -loleacc"
26865 fi
26866
26867 case "${host}" in
26868 *-*-cygwin* )
26869 LIBS="$LIBS -lkernel32 -luser32"
26870 esac
26871
26872 if test "$wxUSE_ODBC" = "sys" ; then
26873 wxUSE_ODBC = "yes"
26874 fi
26875 if test "$wxUSE_ODBC" = "yes" ; then
26876 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26877 cat >>confdefs.h <<\_ACEOF
26878 #define wxUSE_ODBC 1
26879 _ACEOF
26880
26881 fi
26882
26883 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26884 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26885
26886 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26887
26888 WIN32INSTALL=win32install
26889
26890 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26891 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26892 if test "${ac_cv_header_pbt_h+set}" = set; then
26893 echo $ECHO_N "(cached) $ECHO_C" >&6
26894 else
26895 cat >conftest.$ac_ext <<_ACEOF
26896 /* confdefs.h. */
26897 _ACEOF
26898 cat confdefs.h >>conftest.$ac_ext
26899 cat >>conftest.$ac_ext <<_ACEOF
26900 /* end confdefs.h. */
26901
26902
26903 #include <pbt.h>
26904 _ACEOF
26905 rm -f conftest.$ac_objext
26906 if { (ac_try="$ac_compile"
26907 case "(($ac_try" in
26908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26909 *) ac_try_echo=$ac_try;;
26910 esac
26911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26912 (eval "$ac_compile") 2>conftest.er1
26913 ac_status=$?
26914 grep -v '^ *+' conftest.er1 >conftest.err
26915 rm -f conftest.er1
26916 cat conftest.err >&5
26917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918 (exit $ac_status); } && {
26919 test -z "$ac_c_werror_flag" ||
26920 test ! -s conftest.err
26921 } && test -s conftest.$ac_objext; then
26922 ac_cv_header_pbt_h=yes
26923 else
26924 echo "$as_me: failed program was:" >&5
26925 sed 's/^/| /' conftest.$ac_ext >&5
26926
26927 ac_cv_header_pbt_h=no
26928 fi
26929
26930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26931 fi
26932 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26933 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26934 if test $ac_cv_header_pbt_h = yes; then
26935 :
26936 else
26937 cat >>confdefs.h <<\_ACEOF
26938 #define NEED_PBT_H 1
26939 _ACEOF
26940
26941 fi
26942
26943
26944 fi
26945
26946 if test "$wxUSE_GUI" = "yes"; then
26947 USE_GUI=1
26948
26949 GUI_TK_LIBRARY=
26950
26951 WXGTK12=
26952 WXGTK127=
26953 WXGTK20=
26954 WXGPE=
26955
26956 if test "$wxUSE_COCOA" = 1 ; then
26957 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26958 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26959 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26960 wxUSE_PRINTING_ARCHITECTURE=no
26961 fi
26962 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26963 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26964 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26965 wxUSE_DRAG_AND_DROP=no
26966 fi
26967 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26968 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26969 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26970 wxUSE_DRAGIMAGE=no
26971 fi
26972 fi
26973
26974 if test "$wxUSE_MSW" = 1 ; then
26975 TOOLKIT=MSW
26976 GUIDIST=MSW_DIST
26977
26978 case "${host}" in
26979 *-*-mingw32* )
26980 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26981 esac
26982 fi
26983
26984 if test "$wxUSE_GTK" = 1; then
26985 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26986 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26987
26988 gtk_version_cached=1
26989 if test "${wx_cv_lib_gtk+set}" = set; then
26990 echo $ECHO_N "(cached) $ECHO_C" >&6
26991 else
26992
26993 gtk_version_cached=0
26994 { echo "$as_me:$LINENO: result: " >&5
26995 echo "${ECHO_T}" >&6; }
26996
26997 GTK_MODULES=
26998 if test "$wxUSE_THREADS" = "yes"; then
26999 GTK_MODULES=gthread
27000 fi
27001
27002 wx_cv_lib_gtk=
27003 if test "x$wxGTK_VERSION" != "x1"
27004 then
27005 case "${host}" in
27006 *-*-solaris2* )
27007 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27008 enable_gtktest=no
27009 fi
27010 esac
27011
27012 # Check whether --enable-gtktest was given.
27013 if test "${enable_gtktest+set}" = set; then
27014 enableval=$enable_gtktest;
27015 else
27016 enable_gtktest=yes
27017 fi
27018
27019
27020 pkg_config_args=gtk+-2.0
27021 for module in . $GTK_MODULES
27022 do
27023 case "$module" in
27024 gthread)
27025 pkg_config_args="$pkg_config_args gthread-2.0"
27026 ;;
27027 esac
27028 done
27029
27030 no_gtk=""
27031
27032 # Extract the first word of "pkg-config", so it can be a program name with args.
27033 set dummy pkg-config; ac_word=$2
27034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27036 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27037 echo $ECHO_N "(cached) $ECHO_C" >&6
27038 else
27039 case $PKG_CONFIG in
27040 [\\/]* | ?:[\\/]*)
27041 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27042 ;;
27043 *)
27044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27045 for as_dir in $PATH
27046 do
27047 IFS=$as_save_IFS
27048 test -z "$as_dir" && as_dir=.
27049 for ac_exec_ext in '' $ac_executable_extensions; do
27050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27051 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27053 break 2
27054 fi
27055 done
27056 done
27057 IFS=$as_save_IFS
27058
27059 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27060 ;;
27061 esac
27062 fi
27063 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27064 if test -n "$PKG_CONFIG"; then
27065 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27066 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27067 else
27068 { echo "$as_me:$LINENO: result: no" >&5
27069 echo "${ECHO_T}no" >&6; }
27070 fi
27071
27072
27073
27074 if test x$PKG_CONFIG != xno ; then
27075 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27076 :
27077 else
27078 echo "*** pkg-config too old; version 0.7 or better required."
27079 no_gtk=yes
27080 PKG_CONFIG=no
27081 fi
27082 else
27083 no_gtk=yes
27084 fi
27085
27086 min_gtk_version=2.0.0
27087 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27088 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27089
27090 if test x$PKG_CONFIG != xno ; then
27091 ## don't try to run the test against uninstalled libtool libs
27092 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27093 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27094 enable_gtktest=no
27095 fi
27096
27097 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27098 :
27099 else
27100 no_gtk=yes
27101 fi
27102 fi
27103
27104 if test x"$no_gtk" = x ; then
27105 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27106 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27107 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27108 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27109 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27110 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27111 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27112 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27113 if test "x$enable_gtktest" = "xyes" ; then
27114 ac_save_CFLAGS="$CFLAGS"
27115 ac_save_LIBS="$LIBS"
27116 CFLAGS="$CFLAGS $GTK_CFLAGS"
27117 LIBS="$GTK_LIBS $LIBS"
27118 rm -f conf.gtktest
27119 if test "$cross_compiling" = yes; then
27120 echo $ac_n "cross compiling; assumed OK... $ac_c"
27121 else
27122 cat >conftest.$ac_ext <<_ACEOF
27123 /* confdefs.h. */
27124 _ACEOF
27125 cat confdefs.h >>conftest.$ac_ext
27126 cat >>conftest.$ac_ext <<_ACEOF
27127 /* end confdefs.h. */
27128
27129 #include <gtk/gtk.h>
27130 #include <stdio.h>
27131 #include <stdlib.h>
27132
27133 int
27134 main ()
27135 {
27136 int major, minor, micro;
27137 char *tmp_version;
27138
27139 system ("touch conf.gtktest");
27140
27141 /* HP/UX 9 (%@#!) writes to sscanf strings */
27142 tmp_version = g_strdup("$min_gtk_version");
27143 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27144 printf("%s, bad version string\n", "$min_gtk_version");
27145 exit(1);
27146 }
27147
27148 if ((gtk_major_version != $gtk_config_major_version) ||
27149 (gtk_minor_version != $gtk_config_minor_version) ||
27150 (gtk_micro_version != $gtk_config_micro_version))
27151 {
27152 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27153 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27154 gtk_major_version, gtk_minor_version, gtk_micro_version);
27155 printf ("*** was found! If pkg-config was correct, then it is best\n");
27156 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27157 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27158 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27159 printf("*** required on your system.\n");
27160 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27161 printf("*** to point to the correct configuration files\n");
27162 }
27163 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27164 (gtk_minor_version != GTK_MINOR_VERSION) ||
27165 (gtk_micro_version != GTK_MICRO_VERSION))
27166 {
27167 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27168 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27169 printf("*** library (version %d.%d.%d)\n",
27170 gtk_major_version, gtk_minor_version, gtk_micro_version);
27171 }
27172 else
27173 {
27174 if ((gtk_major_version > major) ||
27175 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27176 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27177 {
27178 return 0;
27179 }
27180 else
27181 {
27182 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27183 gtk_major_version, gtk_minor_version, gtk_micro_version);
27184 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27185 major, minor, micro);
27186 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27187 printf("***\n");
27188 printf("*** If you have already installed a sufficiently new version, this error\n");
27189 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27190 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27191 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27192 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27193 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27194 printf("*** so that the correct libraries are found at run-time))\n");
27195 }
27196 }
27197 return 1;
27198 }
27199
27200 _ACEOF
27201 rm -f conftest$ac_exeext
27202 if { (ac_try="$ac_link"
27203 case "(($ac_try" in
27204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27205 *) ac_try_echo=$ac_try;;
27206 esac
27207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27208 (eval "$ac_link") 2>&5
27209 ac_status=$?
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27212 { (case "(($ac_try" in
27213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27214 *) ac_try_echo=$ac_try;;
27215 esac
27216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27217 (eval "$ac_try") 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); }; }; then
27221 :
27222 else
27223 echo "$as_me: program exited with status $ac_status" >&5
27224 echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.$ac_ext >&5
27226
27227 ( exit $ac_status )
27228 no_gtk=yes
27229 fi
27230 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27231 fi
27232
27233
27234 CFLAGS="$ac_save_CFLAGS"
27235 LIBS="$ac_save_LIBS"
27236 fi
27237 fi
27238 if test "x$no_gtk" = x ; then
27239 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27240 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27241 wx_cv_lib_gtk=2.0
27242 else
27243 { echo "$as_me:$LINENO: result: no" >&5
27244 echo "${ECHO_T}no" >&6; }
27245 if test "$PKG_CONFIG" = "no" ; then
27246 echo "*** A new enough version of pkg-config was not found."
27247 echo "*** See http://pkgconfig.sourceforge.net"
27248 else
27249 if test -f conf.gtktest ; then
27250 :
27251 else
27252 echo "*** Could not run GTK+ test program, checking why..."
27253 ac_save_CFLAGS="$CFLAGS"
27254 ac_save_LIBS="$LIBS"
27255 CFLAGS="$CFLAGS $GTK_CFLAGS"
27256 LIBS="$LIBS $GTK_LIBS"
27257 cat >conftest.$ac_ext <<_ACEOF
27258 /* confdefs.h. */
27259 _ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27263
27264 #include <gtk/gtk.h>
27265 #include <stdio.h>
27266
27267 int
27268 main ()
27269 {
27270 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27271 ;
27272 return 0;
27273 }
27274 _ACEOF
27275 rm -f conftest.$ac_objext conftest$ac_exeext
27276 if { (ac_try="$ac_link"
27277 case "(($ac_try" in
27278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27279 *) ac_try_echo=$ac_try;;
27280 esac
27281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27282 (eval "$ac_link") 2>conftest.er1
27283 ac_status=$?
27284 grep -v '^ *+' conftest.er1 >conftest.err
27285 rm -f conftest.er1
27286 cat conftest.err >&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } && {
27289 test -z "$ac_c_werror_flag" ||
27290 test ! -s conftest.err
27291 } && test -s conftest$ac_exeext &&
27292 $as_test_x conftest$ac_exeext; then
27293 echo "*** The test program compiled, but did not run. This usually means"
27294 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27295 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27296 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27297 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27298 echo "*** is required on your system"
27299 echo "***"
27300 echo "*** If you have an old version installed, it is best to remove it, although"
27301 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27302 else
27303 echo "$as_me: failed program was:" >&5
27304 sed 's/^/| /' conftest.$ac_ext >&5
27305
27306 echo "*** The test program failed to compile or link. See the file config.log for the"
27307 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27308 fi
27309
27310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27311 conftest$ac_exeext conftest.$ac_ext
27312 CFLAGS="$ac_save_CFLAGS"
27313 LIBS="$ac_save_LIBS"
27314 fi
27315 fi
27316 GTK_CFLAGS=""
27317 GTK_LIBS=""
27318 :
27319 fi
27320
27321
27322 rm -f conf.gtktest
27323
27324
27325 case "${host}" in
27326 *-*-solaris2* )
27327 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27328 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27329 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27330 fi
27331 if test "$wxUSE_SHARED" != "yes"; then
27332 GTK_LIBS="$GTK_LIBS -lX11"
27333 fi
27334 esac
27335 fi
27336
27337 if test -z "$wx_cv_lib_gtk"; then
27338 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27339
27340 # Check whether --with-gtk-prefix was given.
27341 if test "${with_gtk_prefix+set}" = set; then
27342 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27343 else
27344 gtk_config_prefix=""
27345 fi
27346
27347
27348 # Check whether --with-gtk-exec-prefix was given.
27349 if test "${with_gtk_exec_prefix+set}" = set; then
27350 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27351 else
27352 gtk_config_exec_prefix=""
27353 fi
27354
27355 # Check whether --enable-gtktest was given.
27356 if test "${enable_gtktest+set}" = set; then
27357 enableval=$enable_gtktest;
27358 else
27359 enable_gtktest=yes
27360 fi
27361
27362
27363 for module in . $GTK_MODULES
27364 do
27365 case "$module" in
27366 gthread)
27367 gtk_config_args="$gtk_config_args gthread"
27368 ;;
27369 esac
27370 done
27371
27372 if test x$gtk_config_exec_prefix != x ; then
27373 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27374 if test x${GTK_CONFIG+set} != xset ; then
27375 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27376 fi
27377 fi
27378 if test x$gtk_config_prefix != x ; then
27379 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27380 if test x${GTK_CONFIG+set} != xset ; then
27381 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27382 fi
27383 fi
27384
27385 # Extract the first word of "gtk-config", so it can be a program name with args.
27386 set dummy gtk-config; ac_word=$2
27387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27389 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27391 else
27392 case $GTK_CONFIG in
27393 [\\/]* | ?:[\\/]*)
27394 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27395 ;;
27396 *)
27397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27398 for as_dir in $PATH
27399 do
27400 IFS=$as_save_IFS
27401 test -z "$as_dir" && as_dir=.
27402 for ac_exec_ext in '' $ac_executable_extensions; do
27403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27404 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27406 break 2
27407 fi
27408 done
27409 done
27410 IFS=$as_save_IFS
27411
27412 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27413 ;;
27414 esac
27415 fi
27416 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27417 if test -n "$GTK_CONFIG"; then
27418 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27419 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27420 else
27421 { echo "$as_me:$LINENO: result: no" >&5
27422 echo "${ECHO_T}no" >&6; }
27423 fi
27424
27425
27426 min_gtk_version=1.2.7
27427 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27428 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27429 no_gtk=""
27430 if test "$GTK_CONFIG" = "no" ; then
27431 no_gtk=yes
27432 else
27433 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27434 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27435 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27437 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27439 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27441 if test "x$enable_gtktest" = "xyes" ; then
27442 ac_save_CFLAGS="$CFLAGS"
27443 ac_save_LIBS="$LIBS"
27444 CFLAGS="$CFLAGS $GTK_CFLAGS"
27445 LIBS="$GTK_LIBS $LIBS"
27446 rm -f conf.gtktest
27447 if test "$cross_compiling" = yes; then
27448 echo $ac_n "cross compiling; assumed OK... $ac_c"
27449 else
27450 cat >conftest.$ac_ext <<_ACEOF
27451 /* confdefs.h. */
27452 _ACEOF
27453 cat confdefs.h >>conftest.$ac_ext
27454 cat >>conftest.$ac_ext <<_ACEOF
27455 /* end confdefs.h. */
27456
27457 #include <gtk/gtk.h>
27458 #include <stdio.h>
27459 #include <stdlib.h>
27460
27461 int
27462 main ()
27463 {
27464 int major, minor, micro;
27465 char *tmp_version;
27466
27467 system ("touch conf.gtktest");
27468
27469 /* HP/UX 9 (%@#!) writes to sscanf strings */
27470 tmp_version = g_strdup("$min_gtk_version");
27471 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27472 printf("%s, bad version string\n", "$min_gtk_version");
27473 exit(1);
27474 }
27475
27476 if ((gtk_major_version != $gtk_config_major_version) ||
27477 (gtk_minor_version != $gtk_config_minor_version) ||
27478 (gtk_micro_version != $gtk_config_micro_version))
27479 {
27480 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27481 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27482 gtk_major_version, gtk_minor_version, gtk_micro_version);
27483 printf ("*** was found! If gtk-config was correct, then it is best\n");
27484 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27485 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27486 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27487 printf("*** required on your system.\n");
27488 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27489 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27490 printf("*** before re-running configure\n");
27491 }
27492 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27493 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27494 (gtk_minor_version != GTK_MINOR_VERSION) ||
27495 (gtk_micro_version != GTK_MICRO_VERSION))
27496 {
27497 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27498 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27499 printf("*** library (version %d.%d.%d)\n",
27500 gtk_major_version, gtk_minor_version, gtk_micro_version);
27501 }
27502 #endif /* defined (GTK_MAJOR_VERSION) ... */
27503 else
27504 {
27505 if ((gtk_major_version > major) ||
27506 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27507 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27508 {
27509 return 0;
27510 }
27511 else
27512 {
27513 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27514 gtk_major_version, gtk_minor_version, gtk_micro_version);
27515 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27516 major, minor, micro);
27517 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27518 printf("***\n");
27519 printf("*** If you have already installed a sufficiently new version, this error\n");
27520 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27521 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27522 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27523 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27524 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27525 printf("*** so that the correct libraries are found at run-time))\n");
27526 }
27527 }
27528 return 1;
27529 }
27530
27531 _ACEOF
27532 rm -f conftest$ac_exeext
27533 if { (ac_try="$ac_link"
27534 case "(($ac_try" in
27535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27536 *) ac_try_echo=$ac_try;;
27537 esac
27538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27539 (eval "$ac_link") 2>&5
27540 ac_status=$?
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27543 { (case "(($ac_try" in
27544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27545 *) ac_try_echo=$ac_try;;
27546 esac
27547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27548 (eval "$ac_try") 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 :
27553 else
27554 echo "$as_me: program exited with status $ac_status" >&5
27555 echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.$ac_ext >&5
27557
27558 ( exit $ac_status )
27559 no_gtk=yes
27560 fi
27561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27562 fi
27563
27564
27565 CFLAGS="$ac_save_CFLAGS"
27566 LIBS="$ac_save_LIBS"
27567 fi
27568 fi
27569 if test "x$no_gtk" = x ; then
27570 { echo "$as_me:$LINENO: result: yes" >&5
27571 echo "${ECHO_T}yes" >&6; }
27572 wx_cv_lib_gtk=1.2.7
27573 else
27574 { echo "$as_me:$LINENO: result: no" >&5
27575 echo "${ECHO_T}no" >&6; }
27576 if test "$GTK_CONFIG" = "no" ; then
27577 echo "*** The gtk-config script installed by GTK could not be found"
27578 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27579 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27580 echo "*** full path to gtk-config."
27581 else
27582 if test -f conf.gtktest ; then
27583 :
27584 else
27585 echo "*** Could not run GTK test program, checking why..."
27586 CFLAGS="$CFLAGS $GTK_CFLAGS"
27587 LIBS="$LIBS $GTK_LIBS"
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594
27595 #include <gtk/gtk.h>
27596 #include <stdio.h>
27597
27598 int
27599 main ()
27600 {
27601 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27602 ;
27603 return 0;
27604 }
27605 _ACEOF
27606 rm -f conftest.$ac_objext conftest$ac_exeext
27607 if { (ac_try="$ac_link"
27608 case "(($ac_try" in
27609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27610 *) ac_try_echo=$ac_try;;
27611 esac
27612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27613 (eval "$ac_link") 2>conftest.er1
27614 ac_status=$?
27615 grep -v '^ *+' conftest.er1 >conftest.err
27616 rm -f conftest.er1
27617 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } && {
27620 test -z "$ac_c_werror_flag" ||
27621 test ! -s conftest.err
27622 } && test -s conftest$ac_exeext &&
27623 $as_test_x conftest$ac_exeext; then
27624 echo "*** The test program compiled, but did not run. This usually means"
27625 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27626 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27627 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27628 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27629 echo "*** is required on your system"
27630 echo "***"
27631 echo "*** If you have an old version installed, it is best to remove it, although"
27632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27633 echo "***"
27634 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27635 echo "*** came with the system with the command"
27636 echo "***"
27637 echo "*** rpm --erase --nodeps gtk gtk-devel"
27638 else
27639 echo "$as_me: failed program was:" >&5
27640 sed 's/^/| /' conftest.$ac_ext >&5
27641
27642 echo "*** The test program failed to compile or link. See the file config.log for the"
27643 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27644 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27645 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27646 fi
27647
27648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27649 conftest$ac_exeext conftest.$ac_ext
27650 CFLAGS="$ac_save_CFLAGS"
27651 LIBS="$ac_save_LIBS"
27652 fi
27653 fi
27654 GTK_CFLAGS=""
27655 GTK_LIBS=""
27656 :
27657 fi
27658
27659
27660 rm -f conf.gtktest
27661
27662
27663 if test -z "$wx_cv_lib_gtk"; then
27664
27665 # Check whether --with-gtk-prefix was given.
27666 if test "${with_gtk_prefix+set}" = set; then
27667 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27668 else
27669 gtk_config_prefix=""
27670 fi
27671
27672
27673 # Check whether --with-gtk-exec-prefix was given.
27674 if test "${with_gtk_exec_prefix+set}" = set; then
27675 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27676 else
27677 gtk_config_exec_prefix=""
27678 fi
27679
27680 # Check whether --enable-gtktest was given.
27681 if test "${enable_gtktest+set}" = set; then
27682 enableval=$enable_gtktest;
27683 else
27684 enable_gtktest=yes
27685 fi
27686
27687
27688 for module in . $GTK_MODULES
27689 do
27690 case "$module" in
27691 gthread)
27692 gtk_config_args="$gtk_config_args gthread"
27693 ;;
27694 esac
27695 done
27696
27697 if test x$gtk_config_exec_prefix != x ; then
27698 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27699 if test x${GTK_CONFIG+set} != xset ; then
27700 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27701 fi
27702 fi
27703 if test x$gtk_config_prefix != x ; then
27704 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27705 if test x${GTK_CONFIG+set} != xset ; then
27706 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27707 fi
27708 fi
27709
27710 # Extract the first word of "gtk-config", so it can be a program name with args.
27711 set dummy gtk-config; ac_word=$2
27712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27714 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27715 echo $ECHO_N "(cached) $ECHO_C" >&6
27716 else
27717 case $GTK_CONFIG in
27718 [\\/]* | ?:[\\/]*)
27719 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27720 ;;
27721 *)
27722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27723 for as_dir in $PATH
27724 do
27725 IFS=$as_save_IFS
27726 test -z "$as_dir" && as_dir=.
27727 for ac_exec_ext in '' $ac_executable_extensions; do
27728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27729 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27731 break 2
27732 fi
27733 done
27734 done
27735 IFS=$as_save_IFS
27736
27737 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27738 ;;
27739 esac
27740 fi
27741 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27742 if test -n "$GTK_CONFIG"; then
27743 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27744 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27745 else
27746 { echo "$as_me:$LINENO: result: no" >&5
27747 echo "${ECHO_T}no" >&6; }
27748 fi
27749
27750
27751 min_gtk_version=1.2.3
27752 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27753 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27754 no_gtk=""
27755 if test "$GTK_CONFIG" = "no" ; then
27756 no_gtk=yes
27757 else
27758 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27759 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27760 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27762 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27764 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27766 if test "x$enable_gtktest" = "xyes" ; then
27767 ac_save_CFLAGS="$CFLAGS"
27768 ac_save_LIBS="$LIBS"
27769 CFLAGS="$CFLAGS $GTK_CFLAGS"
27770 LIBS="$GTK_LIBS $LIBS"
27771 rm -f conf.gtktest
27772 if test "$cross_compiling" = yes; then
27773 echo $ac_n "cross compiling; assumed OK... $ac_c"
27774 else
27775 cat >conftest.$ac_ext <<_ACEOF
27776 /* confdefs.h. */
27777 _ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781
27782 #include <gtk/gtk.h>
27783 #include <stdio.h>
27784 #include <stdlib.h>
27785
27786 int
27787 main ()
27788 {
27789 int major, minor, micro;
27790 char *tmp_version;
27791
27792 system ("touch conf.gtktest");
27793
27794 /* HP/UX 9 (%@#!) writes to sscanf strings */
27795 tmp_version = g_strdup("$min_gtk_version");
27796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27797 printf("%s, bad version string\n", "$min_gtk_version");
27798 exit(1);
27799 }
27800
27801 if ((gtk_major_version != $gtk_config_major_version) ||
27802 (gtk_minor_version != $gtk_config_minor_version) ||
27803 (gtk_micro_version != $gtk_config_micro_version))
27804 {
27805 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27807 gtk_major_version, gtk_minor_version, gtk_micro_version);
27808 printf ("*** was found! If gtk-config was correct, then it is best\n");
27809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27812 printf("*** required on your system.\n");
27813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27815 printf("*** before re-running configure\n");
27816 }
27817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27819 (gtk_minor_version != GTK_MINOR_VERSION) ||
27820 (gtk_micro_version != GTK_MICRO_VERSION))
27821 {
27822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27824 printf("*** library (version %d.%d.%d)\n",
27825 gtk_major_version, gtk_minor_version, gtk_micro_version);
27826 }
27827 #endif /* defined (GTK_MAJOR_VERSION) ... */
27828 else
27829 {
27830 if ((gtk_major_version > major) ||
27831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27833 {
27834 return 0;
27835 }
27836 else
27837 {
27838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27839 gtk_major_version, gtk_minor_version, gtk_micro_version);
27840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27841 major, minor, micro);
27842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27843 printf("***\n");
27844 printf("*** If you have already installed a sufficiently new version, this error\n");
27845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27849 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27850 printf("*** so that the correct libraries are found at run-time))\n");
27851 }
27852 }
27853 return 1;
27854 }
27855
27856 _ACEOF
27857 rm -f conftest$ac_exeext
27858 if { (ac_try="$ac_link"
27859 case "(($ac_try" in
27860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27861 *) ac_try_echo=$ac_try;;
27862 esac
27863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27864 (eval "$ac_link") 2>&5
27865 ac_status=$?
27866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27867 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27868 { (case "(($ac_try" in
27869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27870 *) ac_try_echo=$ac_try;;
27871 esac
27872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27873 (eval "$ac_try") 2>&5
27874 ac_status=$?
27875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27876 (exit $ac_status); }; }; then
27877 :
27878 else
27879 echo "$as_me: program exited with status $ac_status" >&5
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27882
27883 ( exit $ac_status )
27884 no_gtk=yes
27885 fi
27886 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27887 fi
27888
27889
27890 CFLAGS="$ac_save_CFLAGS"
27891 LIBS="$ac_save_LIBS"
27892 fi
27893 fi
27894 if test "x$no_gtk" = x ; then
27895 { echo "$as_me:$LINENO: result: yes" >&5
27896 echo "${ECHO_T}yes" >&6; }
27897 wx_cv_lib_gtk=1.2.3
27898 else
27899 { echo "$as_me:$LINENO: result: no" >&5
27900 echo "${ECHO_T}no" >&6; }
27901 if test "$GTK_CONFIG" = "no" ; then
27902 echo "*** The gtk-config script installed by GTK could not be found"
27903 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27904 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27905 echo "*** full path to gtk-config."
27906 else
27907 if test -f conf.gtktest ; then
27908 :
27909 else
27910 echo "*** Could not run GTK test program, checking why..."
27911 CFLAGS="$CFLAGS $GTK_CFLAGS"
27912 LIBS="$LIBS $GTK_LIBS"
27913 cat >conftest.$ac_ext <<_ACEOF
27914 /* confdefs.h. */
27915 _ACEOF
27916 cat confdefs.h >>conftest.$ac_ext
27917 cat >>conftest.$ac_ext <<_ACEOF
27918 /* end confdefs.h. */
27919
27920 #include <gtk/gtk.h>
27921 #include <stdio.h>
27922
27923 int
27924 main ()
27925 {
27926 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27927 ;
27928 return 0;
27929 }
27930 _ACEOF
27931 rm -f conftest.$ac_objext conftest$ac_exeext
27932 if { (ac_try="$ac_link"
27933 case "(($ac_try" in
27934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27935 *) ac_try_echo=$ac_try;;
27936 esac
27937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27938 (eval "$ac_link") 2>conftest.er1
27939 ac_status=$?
27940 grep -v '^ *+' conftest.er1 >conftest.err
27941 rm -f conftest.er1
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } && {
27945 test -z "$ac_c_werror_flag" ||
27946 test ! -s conftest.err
27947 } && test -s conftest$ac_exeext &&
27948 $as_test_x conftest$ac_exeext; then
27949 echo "*** The test program compiled, but did not run. This usually means"
27950 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27951 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27952 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27953 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27954 echo "*** is required on your system"
27955 echo "***"
27956 echo "*** If you have an old version installed, it is best to remove it, although"
27957 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27958 echo "***"
27959 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27960 echo "*** came with the system with the command"
27961 echo "***"
27962 echo "*** rpm --erase --nodeps gtk gtk-devel"
27963 else
27964 echo "$as_me: failed program was:" >&5
27965 sed 's/^/| /' conftest.$ac_ext >&5
27966
27967 echo "*** The test program failed to compile or link. See the file config.log for the"
27968 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27969 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27970 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27971 fi
27972
27973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27974 conftest$ac_exeext conftest.$ac_ext
27975 CFLAGS="$ac_save_CFLAGS"
27976 LIBS="$ac_save_LIBS"
27977 fi
27978 fi
27979 GTK_CFLAGS=""
27980 GTK_LIBS=""
27981 :
27982 fi
27983
27984
27985 rm -f conf.gtktest
27986
27987 fi
27988 fi
27989 fi
27990
27991 if test -z "$wx_cv_lib_gtk"; then
27992 wx_cv_lib_gtk=none
27993 else
27994 wx_cv_cflags_gtk=$GTK_CFLAGS
27995 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27996 fi
27997
27998
27999 fi
28000
28001
28002 if test "$gtk_version_cached" = 1; then
28003 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28004 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28005 fi
28006
28007 case "$wx_cv_lib_gtk" in
28008 2.0) WXGTK20=1
28009 TOOLKIT_VERSION=2
28010 ;;
28011 1.2.7) WXGTK127=1
28012 WXGTK12=1
28013 ;;
28014 1.2.3) WXGTK12=1
28015 ;;
28016 *) { { echo "$as_me:$LINENO: error:
28017 The development files for GTK+ were not found. For GTK+ 2, please
28018 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28019 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28020 and that the version is 1.2.3 or above. Also check that the
28021 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28022 --libs' are in the LD_LIBRARY_PATH or equivalent.
28023 " >&5
28024 echo "$as_me: error:
28025 The development files for GTK+ were not found. For GTK+ 2, please
28026 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28027 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28028 and that the version is 1.2.3 or above. Also check that the
28029 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28030 --libs' are in the LD_LIBRARY_PATH or equivalent.
28031 " >&2;}
28032 { (exit 1); exit 1; }; }
28033 ;;
28034 esac
28035
28036 if test "$WXGTK20" = 1; then
28037 save_CFLAGS="$CFLAGS"
28038 save_LIBS="$LIBS"
28039 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28040 LIBS="$LIBS $wx_cv_libs_gtk"
28041
28042 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28043 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28044 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 else
28047 cat >conftest.$ac_ext <<_ACEOF
28048 /* confdefs.h. */
28049 _ACEOF
28050 cat confdefs.h >>conftest.$ac_ext
28051 cat >>conftest.$ac_ext <<_ACEOF
28052 /* end confdefs.h. */
28053 #include <gtk/gtk.h>
28054
28055 int
28056 main ()
28057 {
28058 #ifndef gtk_icon_size_lookup
28059 (void) gtk_icon_size_lookup;
28060 #endif
28061
28062 ;
28063 return 0;
28064 }
28065 _ACEOF
28066 rm -f conftest.$ac_objext
28067 if { (ac_try="$ac_compile"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28070 *) ac_try_echo=$ac_try;;
28071 esac
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_compile") 2>conftest.er1
28074 ac_status=$?
28075 grep -v '^ *+' conftest.er1 >conftest.err
28076 rm -f conftest.er1
28077 cat conftest.err >&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest.$ac_objext; then
28083 ac_cv_have_decl_gtk_icon_size_lookup=yes
28084 else
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.$ac_ext >&5
28087
28088 ac_cv_have_decl_gtk_icon_size_lookup=no
28089 fi
28090
28091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28092 fi
28093 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28094 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28095 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28096
28097 cat >>confdefs.h <<_ACEOF
28098 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28099 _ACEOF
28100
28101
28102 else
28103 cat >>confdefs.h <<_ACEOF
28104 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28105 _ACEOF
28106
28107 cat >>confdefs.h <<\_ACEOF
28108 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28109 _ACEOF
28110
28111 fi
28112
28113
28114
28115
28116 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28117 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28118 cat >conftest.$ac_ext <<_ACEOF
28119 /* confdefs.h. */
28120 _ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124
28125 #include <gtk/gtk.h>
28126
28127 int
28128 main ()
28129 {
28130
28131 #if !GTK_CHECK_VERSION(2,10,0)
28132 Not GTK+ 2.10
28133 #endif
28134
28135 ;
28136 return 0;
28137 }
28138 _ACEOF
28139 rm -f conftest.$ac_objext
28140 if { (ac_try="$ac_compile"
28141 case "(($ac_try" in
28142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28143 *) ac_try_echo=$ac_try;;
28144 esac
28145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28146 (eval "$ac_compile") 2>conftest.er1
28147 ac_status=$?
28148 grep -v '^ *+' conftest.er1 >conftest.err
28149 rm -f conftest.er1
28150 cat conftest.err >&5
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && {
28153 test -z "$ac_c_werror_flag" ||
28154 test ! -s conftest.err
28155 } && test -s conftest.$ac_objext; then
28156
28157 cat >>confdefs.h <<\_ACEOF
28158 #define __WXGTK210__ 1
28159 _ACEOF
28160
28161 cat >>confdefs.h <<\_ACEOF
28162 #define __WXGTK26__ 1
28163 _ACEOF
28164
28165 cat >>confdefs.h <<\_ACEOF
28166 #define __WXGTK24__ 1
28167 _ACEOF
28168
28169 { echo "$as_me:$LINENO: result: yes" >&5
28170 echo "${ECHO_T}yes" >&6; }
28171 ac_wxgtk210=1
28172
28173 else
28174 echo "$as_me: failed program was:" >&5
28175 sed 's/^/| /' conftest.$ac_ext >&5
28176
28177
28178 { echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6; }
28180 ac_wxgtk210=0
28181
28182 fi
28183
28184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28185
28186 if test "$ac_wxgtk210" = 0; then
28187 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28188 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28189 cat >conftest.$ac_ext <<_ACEOF
28190 /* confdefs.h. */
28191 _ACEOF
28192 cat confdefs.h >>conftest.$ac_ext
28193 cat >>conftest.$ac_ext <<_ACEOF
28194 /* end confdefs.h. */
28195
28196 #include <gtk/gtk.h>
28197
28198 int
28199 main ()
28200 {
28201
28202 #if !GTK_CHECK_VERSION(2,6,0)
28203 Not GTK+ 2.6
28204 #endif
28205
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext
28211 if { (ac_try="$ac_compile"
28212 case "(($ac_try" in
28213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 *) ac_try_echo=$ac_try;;
28215 esac
28216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 (eval "$ac_compile") 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } && {
28224 test -z "$ac_c_werror_flag" ||
28225 test ! -s conftest.err
28226 } && test -s conftest.$ac_objext; then
28227
28228 cat >>confdefs.h <<\_ACEOF
28229 #define __WXGTK26__ 1
28230 _ACEOF
28231
28232 cat >>confdefs.h <<\_ACEOF
28233 #define __WXGTK24__ 1
28234 _ACEOF
28235
28236 { echo "$as_me:$LINENO: result: yes" >&5
28237 echo "${ECHO_T}yes" >&6; }
28238 ac_wxgtk26=1
28239
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244
28245 { echo "$as_me:$LINENO: result: no" >&5
28246 echo "${ECHO_T}no" >&6; }
28247 ac_wxgtk26=0
28248
28249 fi
28250
28251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28252 fi
28253
28254 if test "$ac_wxgtk26" = 0; then
28255 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28256 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28257 cat >conftest.$ac_ext <<_ACEOF
28258 /* confdefs.h. */
28259 _ACEOF
28260 cat confdefs.h >>conftest.$ac_ext
28261 cat >>conftest.$ac_ext <<_ACEOF
28262 /* end confdefs.h. */
28263
28264 #include <gtk/gtk.h>
28265
28266 int
28267 main ()
28268 {
28269
28270 #if !GTK_CHECK_VERSION(2,4,0)
28271 Not GTK+ 2.4
28272 #endif
28273
28274 ;
28275 return 0;
28276 }
28277 _ACEOF
28278 rm -f conftest.$ac_objext
28279 if { (ac_try="$ac_compile"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28283 esac
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_compile") 2>conftest.er1
28286 ac_status=$?
28287 grep -v '^ *+' conftest.er1 >conftest.err
28288 rm -f conftest.er1
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest.$ac_objext; then
28295
28296 cat >>confdefs.h <<\_ACEOF
28297 #define __WXGTK24__ 1
28298 _ACEOF
28299
28300 { echo "$as_me:$LINENO: result: yes" >&5
28301 echo "${ECHO_T}yes" >&6; }
28302
28303 else
28304 echo "$as_me: failed program was:" >&5
28305 sed 's/^/| /' conftest.$ac_ext >&5
28306
28307
28308 { echo "$as_me:$LINENO: result: no" >&5
28309 echo "${ECHO_T}no" >&6; }
28310
28311 fi
28312
28313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28314 fi
28315
28316 CFLAGS="$save_CFLAGS"
28317 LIBS="$save_LIBS"
28318 else
28319 if test "$wxUSE_UNICODE" = "yes"; then
28320 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28321 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28322 wxUSE_UNICODE=no
28323 fi
28324
28325 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28326 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28327 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28328 echo $ECHO_N "(cached) $ECHO_C" >&6
28329 else
28330 ac_check_lib_save_LIBS=$LIBS
28331 LIBS="-lgdk $LIBS"
28332 cat >conftest.$ac_ext <<_ACEOF
28333 /* confdefs.h. */
28334 _ACEOF
28335 cat confdefs.h >>conftest.$ac_ext
28336 cat >>conftest.$ac_ext <<_ACEOF
28337 /* end confdefs.h. */
28338
28339 /* Override any GCC internal prototype to avoid an error.
28340 Use char because int might match the return type of a GCC
28341 builtin and then its argument prototype would still apply. */
28342 #ifdef __cplusplus
28343 extern "C"
28344 #endif
28345 char gdk_im_open ();
28346 int
28347 main ()
28348 {
28349 return gdk_im_open ();
28350 ;
28351 return 0;
28352 }
28353 _ACEOF
28354 rm -f conftest.$ac_objext conftest$ac_exeext
28355 if { (ac_try="$ac_link"
28356 case "(($ac_try" in
28357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28358 *) ac_try_echo=$ac_try;;
28359 esac
28360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28361 (eval "$ac_link") 2>conftest.er1
28362 ac_status=$?
28363 grep -v '^ *+' conftest.er1 >conftest.err
28364 rm -f conftest.er1
28365 cat conftest.err >&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } && {
28368 test -z "$ac_c_werror_flag" ||
28369 test ! -s conftest.err
28370 } && test -s conftest$ac_exeext &&
28371 $as_test_x conftest$ac_exeext; then
28372 ac_cv_lib_gdk_gdk_im_open=yes
28373 else
28374 echo "$as_me: failed program was:" >&5
28375 sed 's/^/| /' conftest.$ac_ext >&5
28376
28377 ac_cv_lib_gdk_gdk_im_open=no
28378 fi
28379
28380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28381 conftest$ac_exeext conftest.$ac_ext
28382 LIBS=$ac_check_lib_save_LIBS
28383 fi
28384 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28385 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28386 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28387 cat >>confdefs.h <<\_ACEOF
28388 #define HAVE_XIM 1
28389 _ACEOF
28390
28391 fi
28392
28393
28394 if test "$USE_DARWIN" != 1; then
28395
28396 for ac_func in poll
28397 do
28398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28403 else
28404 cat >conftest.$ac_ext <<_ACEOF
28405 /* confdefs.h. */
28406 _ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28412 #define $ac_func innocuous_$ac_func
28413
28414 /* System header to define __stub macros and hopefully few prototypes,
28415 which can conflict with char $ac_func (); below.
28416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28417 <limits.h> exists even on freestanding compilers. */
28418
28419 #ifdef __STDC__
28420 # include <limits.h>
28421 #else
28422 # include <assert.h>
28423 #endif
28424
28425 #undef $ac_func
28426
28427 /* Override any GCC internal prototype to avoid an error.
28428 Use char because int might match the return type of a GCC
28429 builtin and then its argument prototype would still apply. */
28430 #ifdef __cplusplus
28431 extern "C"
28432 #endif
28433 char $ac_func ();
28434 /* The GNU C library defines this for functions which it implements
28435 to always fail with ENOSYS. Some functions are actually named
28436 something starting with __ and the normal name is an alias. */
28437 #if defined __stub_$ac_func || defined __stub___$ac_func
28438 choke me
28439 #endif
28440
28441 int
28442 main ()
28443 {
28444 return $ac_func ();
28445 ;
28446 return 0;
28447 }
28448 _ACEOF
28449 rm -f conftest.$ac_objext conftest$ac_exeext
28450 if { (ac_try="$ac_link"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28454 esac
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_link") 2>conftest.er1
28457 ac_status=$?
28458 grep -v '^ *+' conftest.er1 >conftest.err
28459 rm -f conftest.er1
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_c_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest$ac_exeext &&
28466 $as_test_x conftest$ac_exeext; then
28467 eval "$as_ac_var=yes"
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 eval "$as_ac_var=no"
28473 fi
28474
28475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28476 conftest$ac_exeext conftest.$ac_ext
28477 fi
28478 ac_res=`eval echo '${'$as_ac_var'}'`
28479 { echo "$as_me:$LINENO: result: $ac_res" >&5
28480 echo "${ECHO_T}$ac_res" >&6; }
28481 if test `eval echo '${'$as_ac_var'}'` = yes; then
28482 cat >>confdefs.h <<_ACEOF
28483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28484 _ACEOF
28485
28486 fi
28487 done
28488
28489 fi
28490 fi
28491
28492 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28493 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28494
28495 AFMINSTALL=afminstall
28496 TOOLKIT=GTK
28497 GUIDIST=GTK_DIST
28498
28499 if test "$wxUSE_GPE" = "yes"; then
28500 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28501 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28502
28503 ac_find_libraries=
28504 for ac_dir in $SEARCH_LIB;
28505 do
28506 for ac_extension in a so sl dylib dll.a; do
28507 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28508 ac_find_libraries=$ac_dir
28509 break 2
28510 fi
28511 done
28512 done
28513
28514 if test "$ac_find_libraries" != "" ; then
28515
28516 if test "$ac_find_libraries" = "default location"; then
28517 ac_path_to_link=""
28518 else
28519 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28520 result=$?
28521 if test $result = 0; then
28522 ac_path_to_link=""
28523 else
28524 ac_path_to_link=" -L$ac_find_libraries"
28525 fi
28526 fi
28527
28528 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28529 WXGPE=1
28530 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28531 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28532 else
28533 { echo "$as_me:$LINENO: result: not found" >&5
28534 echo "${ECHO_T}not found" >&6; }
28535 fi
28536
28537 fi
28538 fi
28539
28540 if test "$wxUSE_MGL" = 1; then
28541 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28542 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28543 if test "x$MGL_ROOT" = x ; then
28544 { echo "$as_me:$LINENO: result: not found" >&5
28545 echo "${ECHO_T}not found" >&6; }
28546 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28547 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28548 { (exit 1); exit 1; }; }
28549 else
28550 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28551 echo "${ECHO_T}$MGL_ROOT" >&6; }
28552 fi
28553
28554 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28555 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28556 case "${host}" in
28557 *-*-linux* )
28558 if test "x$wxUSE_SHARED" = xyes ; then
28559 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28560 else
28561 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28562 fi
28563 ;;
28564 *-pc-msdosdjgpp )
28565 mgl_os_candidates="dos32/dj2"
28566 ;;
28567 *)
28568 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28569 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28570 { (exit 1); exit 1; }; }
28571 esac
28572
28573 mgl_lib_type=""
28574 mgl_os=""
28575
28576 for mgl_os_i in $mgl_os_candidates ; do
28577 if test "x$mgl_os" = x ; then
28578 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28579 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28580 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28581 mgl_lib_type=debug
28582 mgl_os=$mgl_os_i
28583 fi
28584 fi
28585 if test "x$mgl_lib_type" = x ; then
28586 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28587 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28588 mgl_lib_type=release
28589 mgl_os=$mgl_os_i
28590 fi
28591 fi
28592 fi
28593 done
28594
28595 if test "x$mgl_os" = x ; then
28596 { echo "$as_me:$LINENO: result: not found" >&5
28597 echo "${ECHO_T}not found" >&6; }
28598 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28599 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28600 { (exit 1); exit 1; }; }
28601 fi
28602 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28603 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28604
28605 wxUSE_UNIVERSAL="yes"
28606
28607 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28608 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28609
28610 AFMINSTALL=afminstall
28611 TOOLKIT=MGL
28612 GUIDIST=MGL_DIST
28613 fi
28614
28615 if test "$wxUSE_DFB" = 1; then
28616
28617
28618 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28619 if test -n "$ac_tool_prefix"; then
28620 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28621 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28625 echo $ECHO_N "(cached) $ECHO_C" >&6
28626 else
28627 case $PKG_CONFIG in
28628 [\\/]* | ?:[\\/]*)
28629 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28630 ;;
28631 *)
28632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28633 for as_dir in $PATH
28634 do
28635 IFS=$as_save_IFS
28636 test -z "$as_dir" && as_dir=.
28637 for ac_exec_ext in '' $ac_executable_extensions; do
28638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28639 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28641 break 2
28642 fi
28643 done
28644 done
28645 IFS=$as_save_IFS
28646
28647 ;;
28648 esac
28649 fi
28650 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28651 if test -n "$PKG_CONFIG"; then
28652 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28653 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28654 else
28655 { echo "$as_me:$LINENO: result: no" >&5
28656 echo "${ECHO_T}no" >&6; }
28657 fi
28658
28659
28660 fi
28661 if test -z "$ac_cv_path_PKG_CONFIG"; then
28662 ac_pt_PKG_CONFIG=$PKG_CONFIG
28663 # Extract the first word of "pkg-config", so it can be a program name with args.
28664 set dummy pkg-config; ac_word=$2
28665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28667 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28669 else
28670 case $ac_pt_PKG_CONFIG in
28671 [\\/]* | ?:[\\/]*)
28672 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28673 ;;
28674 *)
28675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28676 for as_dir in $PATH
28677 do
28678 IFS=$as_save_IFS
28679 test -z "$as_dir" && as_dir=.
28680 for ac_exec_ext in '' $ac_executable_extensions; do
28681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28682 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28684 break 2
28685 fi
28686 done
28687 done
28688 IFS=$as_save_IFS
28689
28690 ;;
28691 esac
28692 fi
28693 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28694 if test -n "$ac_pt_PKG_CONFIG"; then
28695 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28696 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28697 else
28698 { echo "$as_me:$LINENO: result: no" >&5
28699 echo "${ECHO_T}no" >&6; }
28700 fi
28701
28702 if test "x$ac_pt_PKG_CONFIG" = x; then
28703 PKG_CONFIG=""
28704 else
28705 case $cross_compiling:$ac_tool_warned in
28706 yes:)
28707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28708 whose name does not start with the host triplet. If you think this
28709 configuration is useful to you, please write to autoconf@gnu.org." >&5
28710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28711 whose name does not start with the host triplet. If you think this
28712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28713 ac_tool_warned=yes ;;
28714 esac
28715 PKG_CONFIG=$ac_pt_PKG_CONFIG
28716 fi
28717 else
28718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28719 fi
28720
28721 fi
28722 if test -n "$PKG_CONFIG"; then
28723 _pkg_min_version=0.9.0
28724 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28725 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28727 { echo "$as_me:$LINENO: result: yes" >&5
28728 echo "${ECHO_T}yes" >&6; }
28729 else
28730 { echo "$as_me:$LINENO: result: no" >&5
28731 echo "${ECHO_T}no" >&6; }
28732 PKG_CONFIG=""
28733 fi
28734
28735 fi
28736
28737
28738 pkg_failed=no
28739 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28740 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28741
28742 if test -n "$PKG_CONFIG"; then
28743 if test -n "$DIRECTFB_CFLAGS"; then
28744 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28745 else
28746 if test -n "$PKG_CONFIG" && \
28747 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28748 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28749 ac_status=$?
28750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28751 (exit $ac_status); }; then
28752 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28753 else
28754 pkg_failed=yes
28755 fi
28756 fi
28757 else
28758 pkg_failed=untried
28759 fi
28760 if test -n "$PKG_CONFIG"; then
28761 if test -n "$DIRECTFB_LIBS"; then
28762 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28763 else
28764 if test -n "$PKG_CONFIG" && \
28765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28766 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28767 ac_status=$?
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); }; then
28770 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28771 else
28772 pkg_failed=yes
28773 fi
28774 fi
28775 else
28776 pkg_failed=untried
28777 fi
28778
28779
28780
28781 if test $pkg_failed = yes; then
28782
28783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28784 _pkg_short_errors_supported=yes
28785 else
28786 _pkg_short_errors_supported=no
28787 fi
28788 if test $_pkg_short_errors_supported = yes; then
28789 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28790 else
28791 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28792 fi
28793 # Put the nasty error message in config.log where it belongs
28794 echo "$DIRECTFB_PKG_ERRORS" >&5
28795
28796
28797 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28798 echo "$as_me: error: DirectFB not found." >&2;}
28799 { (exit 1); exit 1; }; }
28800
28801
28802 elif test $pkg_failed = untried; then
28803
28804 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28805 echo "$as_me: error: DirectFB not found." >&2;}
28806 { (exit 1); exit 1; }; }
28807
28808
28809 else
28810 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28811 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28812 { echo "$as_me:$LINENO: result: yes" >&5
28813 echo "${ECHO_T}yes" >&6; }
28814
28815 wxUSE_UNIVERSAL="yes"
28816 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28817 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28818 TOOLKIT=DFB
28819 GUIDIST=DFB_DIST
28820
28821 fi
28822 fi
28823
28824 if test "$wxUSE_MICROWIN" = 1; then
28825 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28826 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28827 if test "x$MICROWINDOWS" = x ; then
28828 { echo "$as_me:$LINENO: result: not found" >&5
28829 echo "${ECHO_T}not found" >&6; }
28830 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28831 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28832 { (exit 1); exit 1; }; }
28833 else
28834 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28835 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28836 fi
28837
28838 if test -f $MICROWINDOWS/lib/libmwin.a; then
28839 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28840 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28841 else
28842 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28843 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28844 { (exit 1); exit 1; }; }
28845 fi
28846
28847 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28848 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28849
28850 wxUSE_UNIVERSAL="yes"
28851
28852 AFMINSTALL=afminstall
28853 TOOLKIT=MICROWIN
28854 GUIDIST=MICROWIN_DIST
28855
28856 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28857 fi
28858
28859 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28860 { echo "$as_me:$LINENO: checking for X" >&5
28861 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28862
28863
28864 # Check whether --with-x was given.
28865 if test "${with_x+set}" = set; then
28866 withval=$with_x;
28867 fi
28868
28869 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28870 if test "x$with_x" = xno; then
28871 # The user explicitly disabled X.
28872 have_x=disabled
28873 else
28874 case $x_includes,$x_libraries in #(
28875 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28876 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28877 { (exit 1); exit 1; }; };; #(
28878 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28879 echo $ECHO_N "(cached) $ECHO_C" >&6
28880 else
28881 # One or both of the vars are not set, and there is no cached value.
28882 ac_x_includes=no ac_x_libraries=no
28883 rm -f -r conftest.dir
28884 if mkdir conftest.dir; then
28885 cd conftest.dir
28886 cat >Imakefile <<'_ACEOF'
28887 incroot:
28888 @echo incroot='${INCROOT}'
28889 usrlibdir:
28890 @echo usrlibdir='${USRLIBDIR}'
28891 libdir:
28892 @echo libdir='${LIBDIR}'
28893 _ACEOF
28894 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28895 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28896 for ac_var in incroot usrlibdir libdir; do
28897 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28898 done
28899 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28900 for ac_extension in a so sl; do
28901 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28902 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28903 ac_im_usrlibdir=$ac_im_libdir; break
28904 fi
28905 done
28906 # Screen out bogus values from the imake configuration. They are
28907 # bogus both because they are the default anyway, and because
28908 # using them would break gcc on systems where it needs fixed includes.
28909 case $ac_im_incroot in
28910 /usr/include) ac_x_includes= ;;
28911 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28912 esac
28913 case $ac_im_usrlibdir in
28914 /usr/lib | /lib) ;;
28915 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28916 esac
28917 fi
28918 cd ..
28919 rm -f -r conftest.dir
28920 fi
28921
28922 # Standard set of common directories for X headers.
28923 # Check X11 before X11Rn because it is often a symlink to the current release.
28924 ac_x_header_dirs='
28925 /usr/X11/include
28926 /usr/X11R6/include
28927 /usr/X11R5/include
28928 /usr/X11R4/include
28929
28930 /usr/include/X11
28931 /usr/include/X11R6
28932 /usr/include/X11R5
28933 /usr/include/X11R4
28934
28935 /usr/local/X11/include
28936 /usr/local/X11R6/include
28937 /usr/local/X11R5/include
28938 /usr/local/X11R4/include
28939
28940 /usr/local/include/X11
28941 /usr/local/include/X11R6
28942 /usr/local/include/X11R5
28943 /usr/local/include/X11R4
28944
28945 /usr/X386/include
28946 /usr/x386/include
28947 /usr/XFree86/include/X11
28948
28949 /usr/include
28950 /usr/local/include
28951 /usr/unsupported/include
28952 /usr/athena/include
28953 /usr/local/x11r5/include
28954 /usr/lpp/Xamples/include
28955
28956 /usr/openwin/include
28957 /usr/openwin/share/include'
28958
28959 if test "$ac_x_includes" = no; then
28960 # Guess where to find include files, by looking for Xlib.h.
28961 # First, try using that file with no special directory specified.
28962 cat >conftest.$ac_ext <<_ACEOF
28963 /* confdefs.h. */
28964 _ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28968 #include <X11/Xlib.h>
28969 _ACEOF
28970 if { (ac_try="$ac_cpp conftest.$ac_ext"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28974 esac
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } >/dev/null && {
28983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28985 }; then
28986 # We can compile using X headers with no special include directory.
28987 ac_x_includes=
28988 else
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28991
28992 for ac_dir in $ac_x_header_dirs; do
28993 if test -r "$ac_dir/X11/Xlib.h"; then
28994 ac_x_includes=$ac_dir
28995 break
28996 fi
28997 done
28998 fi
28999
29000 rm -f conftest.err conftest.$ac_ext
29001 fi # $ac_x_includes = no
29002
29003 if test "$ac_x_libraries" = no; then
29004 # Check for the libraries.
29005 # See if we find them without any special options.
29006 # Don't add to $LIBS permanently.
29007 ac_save_LIBS=$LIBS
29008 LIBS="-lX11 $LIBS"
29009 cat >conftest.$ac_ext <<_ACEOF
29010 /* confdefs.h. */
29011 _ACEOF
29012 cat confdefs.h >>conftest.$ac_ext
29013 cat >>conftest.$ac_ext <<_ACEOF
29014 /* end confdefs.h. */
29015 #include <X11/Xlib.h>
29016 int
29017 main ()
29018 {
29019 XrmInitialize ()
29020 ;
29021 return 0;
29022 }
29023 _ACEOF
29024 rm -f conftest.$ac_objext conftest$ac_exeext
29025 if { (ac_try="$ac_link"
29026 case "(($ac_try" in
29027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 *) ac_try_echo=$ac_try;;
29029 esac
29030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 (eval "$ac_link") 2>conftest.er1
29032 ac_status=$?
29033 grep -v '^ *+' conftest.er1 >conftest.err
29034 rm -f conftest.er1
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } && {
29038 test -z "$ac_c_werror_flag" ||
29039 test ! -s conftest.err
29040 } && test -s conftest$ac_exeext &&
29041 $as_test_x conftest$ac_exeext; then
29042 LIBS=$ac_save_LIBS
29043 # We can link X programs with no special library path.
29044 ac_x_libraries=
29045 else
29046 echo "$as_me: failed program was:" >&5
29047 sed 's/^/| /' conftest.$ac_ext >&5
29048
29049 LIBS=$ac_save_LIBS
29050 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29051 do
29052 # Don't even attempt the hair of trying to link an X program!
29053 for ac_extension in a so sl; do
29054 if test -r "$ac_dir/libX11.$ac_extension"; then
29055 ac_x_libraries=$ac_dir
29056 break 2
29057 fi
29058 done
29059 done
29060 fi
29061
29062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29063 conftest$ac_exeext conftest.$ac_ext
29064 fi # $ac_x_libraries = no
29065
29066 case $ac_x_includes,$ac_x_libraries in #(
29067 no,* | *,no | *\'*)
29068 # Didn't find X, or a directory has "'" in its name.
29069 ac_cv_have_x="have_x=no";; #(
29070 *)
29071 # Record where we found X for the cache.
29072 ac_cv_have_x="have_x=yes\
29073 ac_x_includes='$ac_x_includes'\
29074 ac_x_libraries='$ac_x_libraries'"
29075 esac
29076 fi
29077 ;; #(
29078 *) have_x=yes;;
29079 esac
29080 eval "$ac_cv_have_x"
29081 fi # $with_x != no
29082
29083 if test "$have_x" != yes; then
29084 { echo "$as_me:$LINENO: result: $have_x" >&5
29085 echo "${ECHO_T}$have_x" >&6; }
29086 no_x=yes
29087 else
29088 # If each of the values was on the command line, it overrides each guess.
29089 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29090 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29091 # Update the cache value to reflect the command line values.
29092 ac_cv_have_x="have_x=yes\
29093 ac_x_includes='$x_includes'\
29094 ac_x_libraries='$x_libraries'"
29095 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29096 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29097 fi
29098
29099 if test "$no_x" = yes; then
29100 # Not all programs may use this symbol, but it does not hurt to define it.
29101
29102 cat >>confdefs.h <<\_ACEOF
29103 #define X_DISPLAY_MISSING 1
29104 _ACEOF
29105
29106 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29107 else
29108 if test -n "$x_includes"; then
29109 X_CFLAGS="$X_CFLAGS -I$x_includes"
29110 fi
29111
29112 # It would also be nice to do this for all -L options, not just this one.
29113 if test -n "$x_libraries"; then
29114 X_LIBS="$X_LIBS -L$x_libraries"
29115 # For Solaris; some versions of Sun CC require a space after -R and
29116 # others require no space. Words are not sufficient . . . .
29117 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29118 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29119 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29120 ac_xsave_c_werror_flag=$ac_c_werror_flag
29121 ac_c_werror_flag=yes
29122 cat >conftest.$ac_ext <<_ACEOF
29123 /* confdefs.h. */
29124 _ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29128
29129 int
29130 main ()
29131 {
29132
29133 ;
29134 return 0;
29135 }
29136 _ACEOF
29137 rm -f conftest.$ac_objext conftest$ac_exeext
29138 if { (ac_try="$ac_link"
29139 case "(($ac_try" in
29140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29141 *) ac_try_echo=$ac_try;;
29142 esac
29143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29144 (eval "$ac_link") 2>conftest.er1
29145 ac_status=$?
29146 grep -v '^ *+' conftest.er1 >conftest.err
29147 rm -f conftest.er1
29148 cat conftest.err >&5
29149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29150 (exit $ac_status); } && {
29151 test -z "$ac_c_werror_flag" ||
29152 test ! -s conftest.err
29153 } && test -s conftest$ac_exeext &&
29154 $as_test_x conftest$ac_exeext; then
29155 { echo "$as_me:$LINENO: result: no" >&5
29156 echo "${ECHO_T}no" >&6; }
29157 X_LIBS="$X_LIBS -R$x_libraries"
29158 else
29159 echo "$as_me: failed program was:" >&5
29160 sed 's/^/| /' conftest.$ac_ext >&5
29161
29162 LIBS="$ac_xsave_LIBS -R $x_libraries"
29163 cat >conftest.$ac_ext <<_ACEOF
29164 /* confdefs.h. */
29165 _ACEOF
29166 cat confdefs.h >>conftest.$ac_ext
29167 cat >>conftest.$ac_ext <<_ACEOF
29168 /* end confdefs.h. */
29169
29170 int
29171 main ()
29172 {
29173
29174 ;
29175 return 0;
29176 }
29177 _ACEOF
29178 rm -f conftest.$ac_objext conftest$ac_exeext
29179 if { (ac_try="$ac_link"
29180 case "(($ac_try" in
29181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29182 *) ac_try_echo=$ac_try;;
29183 esac
29184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29185 (eval "$ac_link") 2>conftest.er1
29186 ac_status=$?
29187 grep -v '^ *+' conftest.er1 >conftest.err
29188 rm -f conftest.er1
29189 cat conftest.err >&5
29190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29191 (exit $ac_status); } && {
29192 test -z "$ac_c_werror_flag" ||
29193 test ! -s conftest.err
29194 } && test -s conftest$ac_exeext &&
29195 $as_test_x conftest$ac_exeext; then
29196 { echo "$as_me:$LINENO: result: yes" >&5
29197 echo "${ECHO_T}yes" >&6; }
29198 X_LIBS="$X_LIBS -R $x_libraries"
29199 else
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.$ac_ext >&5
29202
29203 { echo "$as_me:$LINENO: result: neither works" >&5
29204 echo "${ECHO_T}neither works" >&6; }
29205 fi
29206
29207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29208 conftest$ac_exeext conftest.$ac_ext
29209 fi
29210
29211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29212 conftest$ac_exeext conftest.$ac_ext
29213 ac_c_werror_flag=$ac_xsave_c_werror_flag
29214 LIBS=$ac_xsave_LIBS
29215 fi
29216
29217 # Check for system-dependent libraries X programs must link with.
29218 # Do this before checking for the system-independent R6 libraries
29219 # (-lICE), since we may need -lsocket or whatever for X linking.
29220
29221 if test "$ISC" = yes; then
29222 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29223 else
29224 # Martyn Johnson says this is needed for Ultrix, if the X
29225 # libraries were built with DECnet support. And Karl Berry says
29226 # the Alpha needs dnet_stub (dnet does not exist).
29227 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29228 cat >conftest.$ac_ext <<_ACEOF
29229 /* confdefs.h. */
29230 _ACEOF
29231 cat confdefs.h >>conftest.$ac_ext
29232 cat >>conftest.$ac_ext <<_ACEOF
29233 /* end confdefs.h. */
29234
29235 /* Override any GCC internal prototype to avoid an error.
29236 Use char because int might match the return type of a GCC
29237 builtin and then its argument prototype would still apply. */
29238 #ifdef __cplusplus
29239 extern "C"
29240 #endif
29241 char XOpenDisplay ();
29242 int
29243 main ()
29244 {
29245 return XOpenDisplay ();
29246 ;
29247 return 0;
29248 }
29249 _ACEOF
29250 rm -f conftest.$ac_objext conftest$ac_exeext
29251 if { (ac_try="$ac_link"
29252 case "(($ac_try" in
29253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29254 *) ac_try_echo=$ac_try;;
29255 esac
29256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29257 (eval "$ac_link") 2>conftest.er1
29258 ac_status=$?
29259 grep -v '^ *+' conftest.er1 >conftest.err
29260 rm -f conftest.er1
29261 cat conftest.err >&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); } && {
29264 test -z "$ac_c_werror_flag" ||
29265 test ! -s conftest.err
29266 } && test -s conftest$ac_exeext &&
29267 $as_test_x conftest$ac_exeext; then
29268 :
29269 else
29270 echo "$as_me: failed program was:" >&5
29271 sed 's/^/| /' conftest.$ac_ext >&5
29272
29273 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29274 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29275 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29276 echo $ECHO_N "(cached) $ECHO_C" >&6
29277 else
29278 ac_check_lib_save_LIBS=$LIBS
29279 LIBS="-ldnet $LIBS"
29280 cat >conftest.$ac_ext <<_ACEOF
29281 /* confdefs.h. */
29282 _ACEOF
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29286
29287 /* Override any GCC internal prototype to avoid an error.
29288 Use char because int might match the return type of a GCC
29289 builtin and then its argument prototype would still apply. */
29290 #ifdef __cplusplus
29291 extern "C"
29292 #endif
29293 char dnet_ntoa ();
29294 int
29295 main ()
29296 {
29297 return dnet_ntoa ();
29298 ;
29299 return 0;
29300 }
29301 _ACEOF
29302 rm -f conftest.$ac_objext conftest$ac_exeext
29303 if { (ac_try="$ac_link"
29304 case "(($ac_try" in
29305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29306 *) ac_try_echo=$ac_try;;
29307 esac
29308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29309 (eval "$ac_link") 2>conftest.er1
29310 ac_status=$?
29311 grep -v '^ *+' conftest.er1 >conftest.err
29312 rm -f conftest.er1
29313 cat conftest.err >&5
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } && {
29316 test -z "$ac_c_werror_flag" ||
29317 test ! -s conftest.err
29318 } && test -s conftest$ac_exeext &&
29319 $as_test_x conftest$ac_exeext; then
29320 ac_cv_lib_dnet_dnet_ntoa=yes
29321 else
29322 echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.$ac_ext >&5
29324
29325 ac_cv_lib_dnet_dnet_ntoa=no
29326 fi
29327
29328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29329 conftest$ac_exeext conftest.$ac_ext
29330 LIBS=$ac_check_lib_save_LIBS
29331 fi
29332 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29333 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29334 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29335 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29336 fi
29337
29338 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29339 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29340 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29341 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29342 echo $ECHO_N "(cached) $ECHO_C" >&6
29343 else
29344 ac_check_lib_save_LIBS=$LIBS
29345 LIBS="-ldnet_stub $LIBS"
29346 cat >conftest.$ac_ext <<_ACEOF
29347 /* confdefs.h. */
29348 _ACEOF
29349 cat confdefs.h >>conftest.$ac_ext
29350 cat >>conftest.$ac_ext <<_ACEOF
29351 /* end confdefs.h. */
29352
29353 /* Override any GCC internal prototype to avoid an error.
29354 Use char because int might match the return type of a GCC
29355 builtin and then its argument prototype would still apply. */
29356 #ifdef __cplusplus
29357 extern "C"
29358 #endif
29359 char dnet_ntoa ();
29360 int
29361 main ()
29362 {
29363 return dnet_ntoa ();
29364 ;
29365 return 0;
29366 }
29367 _ACEOF
29368 rm -f conftest.$ac_objext conftest$ac_exeext
29369 if { (ac_try="$ac_link"
29370 case "(($ac_try" in
29371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29372 *) ac_try_echo=$ac_try;;
29373 esac
29374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29375 (eval "$ac_link") 2>conftest.er1
29376 ac_status=$?
29377 grep -v '^ *+' conftest.er1 >conftest.err
29378 rm -f conftest.er1
29379 cat conftest.err >&5
29380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29381 (exit $ac_status); } && {
29382 test -z "$ac_c_werror_flag" ||
29383 test ! -s conftest.err
29384 } && test -s conftest$ac_exeext &&
29385 $as_test_x conftest$ac_exeext; then
29386 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29387 else
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29390
29391 ac_cv_lib_dnet_stub_dnet_ntoa=no
29392 fi
29393
29394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29395 conftest$ac_exeext conftest.$ac_ext
29396 LIBS=$ac_check_lib_save_LIBS
29397 fi
29398 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29399 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29400 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29401 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29402 fi
29403
29404 fi
29405 fi
29406
29407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29408 conftest$ac_exeext conftest.$ac_ext
29409 LIBS="$ac_xsave_LIBS"
29410
29411 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29412 # to get the SysV transport functions.
29413 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29414 # needs -lnsl.
29415 # The nsl library prevents programs from opening the X display
29416 # on Irix 5.2, according to T.E. Dickey.
29417 # The functions gethostbyname, getservbyname, and inet_addr are
29418 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29419 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29420 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29421 if test "${ac_cv_func_gethostbyname+set}" = set; then
29422 echo $ECHO_N "(cached) $ECHO_C" >&6
29423 else
29424 cat >conftest.$ac_ext <<_ACEOF
29425 /* confdefs.h. */
29426 _ACEOF
29427 cat confdefs.h >>conftest.$ac_ext
29428 cat >>conftest.$ac_ext <<_ACEOF
29429 /* end confdefs.h. */
29430 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29432 #define gethostbyname innocuous_gethostbyname
29433
29434 /* System header to define __stub macros and hopefully few prototypes,
29435 which can conflict with char gethostbyname (); below.
29436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29437 <limits.h> exists even on freestanding compilers. */
29438
29439 #ifdef __STDC__
29440 # include <limits.h>
29441 #else
29442 # include <assert.h>
29443 #endif
29444
29445 #undef gethostbyname
29446
29447 /* Override any GCC internal prototype to avoid an error.
29448 Use char because int might match the return type of a GCC
29449 builtin and then its argument prototype would still apply. */
29450 #ifdef __cplusplus
29451 extern "C"
29452 #endif
29453 char gethostbyname ();
29454 /* The GNU C library defines this for functions which it implements
29455 to always fail with ENOSYS. Some functions are actually named
29456 something starting with __ and the normal name is an alias. */
29457 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29458 choke me
29459 #endif
29460
29461 int
29462 main ()
29463 {
29464 return gethostbyname ();
29465 ;
29466 return 0;
29467 }
29468 _ACEOF
29469 rm -f conftest.$ac_objext conftest$ac_exeext
29470 if { (ac_try="$ac_link"
29471 case "(($ac_try" in
29472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29473 *) ac_try_echo=$ac_try;;
29474 esac
29475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29476 (eval "$ac_link") 2>conftest.er1
29477 ac_status=$?
29478 grep -v '^ *+' conftest.er1 >conftest.err
29479 rm -f conftest.er1
29480 cat conftest.err >&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } && {
29483 test -z "$ac_c_werror_flag" ||
29484 test ! -s conftest.err
29485 } && test -s conftest$ac_exeext &&
29486 $as_test_x conftest$ac_exeext; then
29487 ac_cv_func_gethostbyname=yes
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29491
29492 ac_cv_func_gethostbyname=no
29493 fi
29494
29495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29496 conftest$ac_exeext conftest.$ac_ext
29497 fi
29498 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29499 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29500
29501 if test $ac_cv_func_gethostbyname = no; then
29502 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29503 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29504 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29505 echo $ECHO_N "(cached) $ECHO_C" >&6
29506 else
29507 ac_check_lib_save_LIBS=$LIBS
29508 LIBS="-lnsl $LIBS"
29509 cat >conftest.$ac_ext <<_ACEOF
29510 /* confdefs.h. */
29511 _ACEOF
29512 cat confdefs.h >>conftest.$ac_ext
29513 cat >>conftest.$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515
29516 /* Override any GCC internal prototype to avoid an error.
29517 Use char because int might match the return type of a GCC
29518 builtin and then its argument prototype would still apply. */
29519 #ifdef __cplusplus
29520 extern "C"
29521 #endif
29522 char gethostbyname ();
29523 int
29524 main ()
29525 {
29526 return gethostbyname ();
29527 ;
29528 return 0;
29529 }
29530 _ACEOF
29531 rm -f conftest.$ac_objext conftest$ac_exeext
29532 if { (ac_try="$ac_link"
29533 case "(($ac_try" in
29534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29535 *) ac_try_echo=$ac_try;;
29536 esac
29537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29538 (eval "$ac_link") 2>conftest.er1
29539 ac_status=$?
29540 grep -v '^ *+' conftest.er1 >conftest.err
29541 rm -f conftest.er1
29542 cat conftest.err >&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } && {
29545 test -z "$ac_c_werror_flag" ||
29546 test ! -s conftest.err
29547 } && test -s conftest$ac_exeext &&
29548 $as_test_x conftest$ac_exeext; then
29549 ac_cv_lib_nsl_gethostbyname=yes
29550 else
29551 echo "$as_me: failed program was:" >&5
29552 sed 's/^/| /' conftest.$ac_ext >&5
29553
29554 ac_cv_lib_nsl_gethostbyname=no
29555 fi
29556
29557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29558 conftest$ac_exeext conftest.$ac_ext
29559 LIBS=$ac_check_lib_save_LIBS
29560 fi
29561 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29562 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29563 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29565 fi
29566
29567 if test $ac_cv_lib_nsl_gethostbyname = no; then
29568 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29569 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29570 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29571 echo $ECHO_N "(cached) $ECHO_C" >&6
29572 else
29573 ac_check_lib_save_LIBS=$LIBS
29574 LIBS="-lbsd $LIBS"
29575 cat >conftest.$ac_ext <<_ACEOF
29576 /* confdefs.h. */
29577 _ACEOF
29578 cat confdefs.h >>conftest.$ac_ext
29579 cat >>conftest.$ac_ext <<_ACEOF
29580 /* end confdefs.h. */
29581
29582 /* Override any GCC internal prototype to avoid an error.
29583 Use char because int might match the return type of a GCC
29584 builtin and then its argument prototype would still apply. */
29585 #ifdef __cplusplus
29586 extern "C"
29587 #endif
29588 char gethostbyname ();
29589 int
29590 main ()
29591 {
29592 return gethostbyname ();
29593 ;
29594 return 0;
29595 }
29596 _ACEOF
29597 rm -f conftest.$ac_objext conftest$ac_exeext
29598 if { (ac_try="$ac_link"
29599 case "(($ac_try" in
29600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29602 esac
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_link") 2>conftest.er1
29605 ac_status=$?
29606 grep -v '^ *+' conftest.er1 >conftest.err
29607 rm -f conftest.er1
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest$ac_exeext &&
29614 $as_test_x conftest$ac_exeext; then
29615 ac_cv_lib_bsd_gethostbyname=yes
29616 else
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29619
29620 ac_cv_lib_bsd_gethostbyname=no
29621 fi
29622
29623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29624 conftest$ac_exeext conftest.$ac_ext
29625 LIBS=$ac_check_lib_save_LIBS
29626 fi
29627 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29628 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29629 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29631 fi
29632
29633 fi
29634 fi
29635
29636 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29637 # socket/setsockopt and other routines are undefined under SCO ODT
29638 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29639 # on later versions), says Simon Leinen: it contains gethostby*
29640 # variants that don't use the name server (or something). -lsocket
29641 # must be given before -lnsl if both are needed. We assume that
29642 # if connect needs -lnsl, so does gethostbyname.
29643 { echo "$as_me:$LINENO: checking for connect" >&5
29644 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29645 if test "${ac_cv_func_connect+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29647 else
29648 cat >conftest.$ac_ext <<_ACEOF
29649 /* confdefs.h. */
29650 _ACEOF
29651 cat confdefs.h >>conftest.$ac_ext
29652 cat >>conftest.$ac_ext <<_ACEOF
29653 /* end confdefs.h. */
29654 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29656 #define connect innocuous_connect
29657
29658 /* System header to define __stub macros and hopefully few prototypes,
29659 which can conflict with char connect (); below.
29660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29661 <limits.h> exists even on freestanding compilers. */
29662
29663 #ifdef __STDC__
29664 # include <limits.h>
29665 #else
29666 # include <assert.h>
29667 #endif
29668
29669 #undef connect
29670
29671 /* Override any GCC internal prototype to avoid an error.
29672 Use char because int might match the return type of a GCC
29673 builtin and then its argument prototype would still apply. */
29674 #ifdef __cplusplus
29675 extern "C"
29676 #endif
29677 char connect ();
29678 /* The GNU C library defines this for functions which it implements
29679 to always fail with ENOSYS. Some functions are actually named
29680 something starting with __ and the normal name is an alias. */
29681 #if defined __stub_connect || defined __stub___connect
29682 choke me
29683 #endif
29684
29685 int
29686 main ()
29687 {
29688 return connect ();
29689 ;
29690 return 0;
29691 }
29692 _ACEOF
29693 rm -f conftest.$ac_objext conftest$ac_exeext
29694 if { (ac_try="$ac_link"
29695 case "(($ac_try" in
29696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29697 *) ac_try_echo=$ac_try;;
29698 esac
29699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29700 (eval "$ac_link") 2>conftest.er1
29701 ac_status=$?
29702 grep -v '^ *+' conftest.er1 >conftest.err
29703 rm -f conftest.er1
29704 cat conftest.err >&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } && {
29707 test -z "$ac_c_werror_flag" ||
29708 test ! -s conftest.err
29709 } && test -s conftest$ac_exeext &&
29710 $as_test_x conftest$ac_exeext; then
29711 ac_cv_func_connect=yes
29712 else
29713 echo "$as_me: failed program was:" >&5
29714 sed 's/^/| /' conftest.$ac_ext >&5
29715
29716 ac_cv_func_connect=no
29717 fi
29718
29719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29720 conftest$ac_exeext conftest.$ac_ext
29721 fi
29722 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29723 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29724
29725 if test $ac_cv_func_connect = no; then
29726 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29727 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29728 if test "${ac_cv_lib_socket_connect+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29730 else
29731 ac_check_lib_save_LIBS=$LIBS
29732 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29733 cat >conftest.$ac_ext <<_ACEOF
29734 /* confdefs.h. */
29735 _ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739
29740 /* Override any GCC internal prototype to avoid an error.
29741 Use char because int might match the return type of a GCC
29742 builtin and then its argument prototype would still apply. */
29743 #ifdef __cplusplus
29744 extern "C"
29745 #endif
29746 char connect ();
29747 int
29748 main ()
29749 {
29750 return connect ();
29751 ;
29752 return 0;
29753 }
29754 _ACEOF
29755 rm -f conftest.$ac_objext conftest$ac_exeext
29756 if { (ac_try="$ac_link"
29757 case "(($ac_try" in
29758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29759 *) ac_try_echo=$ac_try;;
29760 esac
29761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29762 (eval "$ac_link") 2>conftest.er1
29763 ac_status=$?
29764 grep -v '^ *+' conftest.er1 >conftest.err
29765 rm -f conftest.er1
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } && {
29769 test -z "$ac_c_werror_flag" ||
29770 test ! -s conftest.err
29771 } && test -s conftest$ac_exeext &&
29772 $as_test_x conftest$ac_exeext; then
29773 ac_cv_lib_socket_connect=yes
29774 else
29775 echo "$as_me: failed program was:" >&5
29776 sed 's/^/| /' conftest.$ac_ext >&5
29777
29778 ac_cv_lib_socket_connect=no
29779 fi
29780
29781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29782 conftest$ac_exeext conftest.$ac_ext
29783 LIBS=$ac_check_lib_save_LIBS
29784 fi
29785 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29786 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29787 if test $ac_cv_lib_socket_connect = yes; then
29788 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29789 fi
29790
29791 fi
29792
29793 # Guillermo Gomez says -lposix is necessary on A/UX.
29794 { echo "$as_me:$LINENO: checking for remove" >&5
29795 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29796 if test "${ac_cv_func_remove+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799 cat >conftest.$ac_ext <<_ACEOF
29800 /* confdefs.h. */
29801 _ACEOF
29802 cat confdefs.h >>conftest.$ac_ext
29803 cat >>conftest.$ac_ext <<_ACEOF
29804 /* end confdefs.h. */
29805 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29807 #define remove innocuous_remove
29808
29809 /* System header to define __stub macros and hopefully few prototypes,
29810 which can conflict with char remove (); below.
29811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29812 <limits.h> exists even on freestanding compilers. */
29813
29814 #ifdef __STDC__
29815 # include <limits.h>
29816 #else
29817 # include <assert.h>
29818 #endif
29819
29820 #undef remove
29821
29822 /* Override any GCC internal prototype to avoid an error.
29823 Use char because int might match the return type of a GCC
29824 builtin and then its argument prototype would still apply. */
29825 #ifdef __cplusplus
29826 extern "C"
29827 #endif
29828 char remove ();
29829 /* The GNU C library defines this for functions which it implements
29830 to always fail with ENOSYS. Some functions are actually named
29831 something starting with __ and the normal name is an alias. */
29832 #if defined __stub_remove || defined __stub___remove
29833 choke me
29834 #endif
29835
29836 int
29837 main ()
29838 {
29839 return remove ();
29840 ;
29841 return 0;
29842 }
29843 _ACEOF
29844 rm -f conftest.$ac_objext conftest$ac_exeext
29845 if { (ac_try="$ac_link"
29846 case "(($ac_try" in
29847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29848 *) ac_try_echo=$ac_try;;
29849 esac
29850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29851 (eval "$ac_link") 2>conftest.er1
29852 ac_status=$?
29853 grep -v '^ *+' conftest.er1 >conftest.err
29854 rm -f conftest.er1
29855 cat conftest.err >&5
29856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857 (exit $ac_status); } && {
29858 test -z "$ac_c_werror_flag" ||
29859 test ! -s conftest.err
29860 } && test -s conftest$ac_exeext &&
29861 $as_test_x conftest$ac_exeext; then
29862 ac_cv_func_remove=yes
29863 else
29864 echo "$as_me: failed program was:" >&5
29865 sed 's/^/| /' conftest.$ac_ext >&5
29866
29867 ac_cv_func_remove=no
29868 fi
29869
29870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29871 conftest$ac_exeext conftest.$ac_ext
29872 fi
29873 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29874 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29875
29876 if test $ac_cv_func_remove = no; then
29877 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29878 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29879 if test "${ac_cv_lib_posix_remove+set}" = set; then
29880 echo $ECHO_N "(cached) $ECHO_C" >&6
29881 else
29882 ac_check_lib_save_LIBS=$LIBS
29883 LIBS="-lposix $LIBS"
29884 cat >conftest.$ac_ext <<_ACEOF
29885 /* confdefs.h. */
29886 _ACEOF
29887 cat confdefs.h >>conftest.$ac_ext
29888 cat >>conftest.$ac_ext <<_ACEOF
29889 /* end confdefs.h. */
29890
29891 /* Override any GCC internal prototype to avoid an error.
29892 Use char because int might match the return type of a GCC
29893 builtin and then its argument prototype would still apply. */
29894 #ifdef __cplusplus
29895 extern "C"
29896 #endif
29897 char remove ();
29898 int
29899 main ()
29900 {
29901 return remove ();
29902 ;
29903 return 0;
29904 }
29905 _ACEOF
29906 rm -f conftest.$ac_objext conftest$ac_exeext
29907 if { (ac_try="$ac_link"
29908 case "(($ac_try" in
29909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29910 *) ac_try_echo=$ac_try;;
29911 esac
29912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29913 (eval "$ac_link") 2>conftest.er1
29914 ac_status=$?
29915 grep -v '^ *+' conftest.er1 >conftest.err
29916 rm -f conftest.er1
29917 cat conftest.err >&5
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); } && {
29920 test -z "$ac_c_werror_flag" ||
29921 test ! -s conftest.err
29922 } && test -s conftest$ac_exeext &&
29923 $as_test_x conftest$ac_exeext; then
29924 ac_cv_lib_posix_remove=yes
29925 else
29926 echo "$as_me: failed program was:" >&5
29927 sed 's/^/| /' conftest.$ac_ext >&5
29928
29929 ac_cv_lib_posix_remove=no
29930 fi
29931
29932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29933 conftest$ac_exeext conftest.$ac_ext
29934 LIBS=$ac_check_lib_save_LIBS
29935 fi
29936 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29937 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29938 if test $ac_cv_lib_posix_remove = yes; then
29939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29940 fi
29941
29942 fi
29943
29944 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29945 { echo "$as_me:$LINENO: checking for shmat" >&5
29946 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29947 if test "${ac_cv_func_shmat+set}" = set; then
29948 echo $ECHO_N "(cached) $ECHO_C" >&6
29949 else
29950 cat >conftest.$ac_ext <<_ACEOF
29951 /* confdefs.h. */
29952 _ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29956 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29958 #define shmat innocuous_shmat
29959
29960 /* System header to define __stub macros and hopefully few prototypes,
29961 which can conflict with char shmat (); below.
29962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29963 <limits.h> exists even on freestanding compilers. */
29964
29965 #ifdef __STDC__
29966 # include <limits.h>
29967 #else
29968 # include <assert.h>
29969 #endif
29970
29971 #undef shmat
29972
29973 /* Override any GCC internal prototype to avoid an error.
29974 Use char because int might match the return type of a GCC
29975 builtin and then its argument prototype would still apply. */
29976 #ifdef __cplusplus
29977 extern "C"
29978 #endif
29979 char shmat ();
29980 /* The GNU C library defines this for functions which it implements
29981 to always fail with ENOSYS. Some functions are actually named
29982 something starting with __ and the normal name is an alias. */
29983 #if defined __stub_shmat || defined __stub___shmat
29984 choke me
29985 #endif
29986
29987 int
29988 main ()
29989 {
29990 return shmat ();
29991 ;
29992 return 0;
29993 }
29994 _ACEOF
29995 rm -f conftest.$ac_objext conftest$ac_exeext
29996 if { (ac_try="$ac_link"
29997 case "(($ac_try" in
29998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29999 *) ac_try_echo=$ac_try;;
30000 esac
30001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30002 (eval "$ac_link") 2>conftest.er1
30003 ac_status=$?
30004 grep -v '^ *+' conftest.er1 >conftest.err
30005 rm -f conftest.er1
30006 cat conftest.err >&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } && {
30009 test -z "$ac_c_werror_flag" ||
30010 test ! -s conftest.err
30011 } && test -s conftest$ac_exeext &&
30012 $as_test_x conftest$ac_exeext; then
30013 ac_cv_func_shmat=yes
30014 else
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.$ac_ext >&5
30017
30018 ac_cv_func_shmat=no
30019 fi
30020
30021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30022 conftest$ac_exeext conftest.$ac_ext
30023 fi
30024 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30025 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30026
30027 if test $ac_cv_func_shmat = no; then
30028 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30029 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30031 echo $ECHO_N "(cached) $ECHO_C" >&6
30032 else
30033 ac_check_lib_save_LIBS=$LIBS
30034 LIBS="-lipc $LIBS"
30035 cat >conftest.$ac_ext <<_ACEOF
30036 /* confdefs.h. */
30037 _ACEOF
30038 cat confdefs.h >>conftest.$ac_ext
30039 cat >>conftest.$ac_ext <<_ACEOF
30040 /* end confdefs.h. */
30041
30042 /* Override any GCC internal prototype to avoid an error.
30043 Use char because int might match the return type of a GCC
30044 builtin and then its argument prototype would still apply. */
30045 #ifdef __cplusplus
30046 extern "C"
30047 #endif
30048 char shmat ();
30049 int
30050 main ()
30051 {
30052 return shmat ();
30053 ;
30054 return 0;
30055 }
30056 _ACEOF
30057 rm -f conftest.$ac_objext conftest$ac_exeext
30058 if { (ac_try="$ac_link"
30059 case "(($ac_try" in
30060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30061 *) ac_try_echo=$ac_try;;
30062 esac
30063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30064 (eval "$ac_link") 2>conftest.er1
30065 ac_status=$?
30066 grep -v '^ *+' conftest.er1 >conftest.err
30067 rm -f conftest.er1
30068 cat conftest.err >&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); } && {
30071 test -z "$ac_c_werror_flag" ||
30072 test ! -s conftest.err
30073 } && test -s conftest$ac_exeext &&
30074 $as_test_x conftest$ac_exeext; then
30075 ac_cv_lib_ipc_shmat=yes
30076 else
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30079
30080 ac_cv_lib_ipc_shmat=no
30081 fi
30082
30083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30084 conftest$ac_exeext conftest.$ac_ext
30085 LIBS=$ac_check_lib_save_LIBS
30086 fi
30087 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30088 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30089 if test $ac_cv_lib_ipc_shmat = yes; then
30090 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30091 fi
30092
30093 fi
30094 fi
30095
30096 # Check for libraries that X11R6 Xt/Xaw programs need.
30097 ac_save_LDFLAGS=$LDFLAGS
30098 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30099 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30100 # check for ICE first), but we must link in the order -lSM -lICE or
30101 # we get undefined symbols. So assume we have SM if we have ICE.
30102 # These have to be linked with before -lX11, unlike the other
30103 # libraries we check for below, so use a different variable.
30104 # John Interrante, Karl Berry
30105 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30106 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30107 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30108 echo $ECHO_N "(cached) $ECHO_C" >&6
30109 else
30110 ac_check_lib_save_LIBS=$LIBS
30111 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30112 cat >conftest.$ac_ext <<_ACEOF
30113 /* confdefs.h. */
30114 _ACEOF
30115 cat confdefs.h >>conftest.$ac_ext
30116 cat >>conftest.$ac_ext <<_ACEOF
30117 /* end confdefs.h. */
30118
30119 /* Override any GCC internal prototype to avoid an error.
30120 Use char because int might match the return type of a GCC
30121 builtin and then its argument prototype would still apply. */
30122 #ifdef __cplusplus
30123 extern "C"
30124 #endif
30125 char IceConnectionNumber ();
30126 int
30127 main ()
30128 {
30129 return IceConnectionNumber ();
30130 ;
30131 return 0;
30132 }
30133 _ACEOF
30134 rm -f conftest.$ac_objext conftest$ac_exeext
30135 if { (ac_try="$ac_link"
30136 case "(($ac_try" in
30137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30138 *) ac_try_echo=$ac_try;;
30139 esac
30140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30141 (eval "$ac_link") 2>conftest.er1
30142 ac_status=$?
30143 grep -v '^ *+' conftest.er1 >conftest.err
30144 rm -f conftest.er1
30145 cat conftest.err >&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); } && {
30148 test -z "$ac_c_werror_flag" ||
30149 test ! -s conftest.err
30150 } && test -s conftest$ac_exeext &&
30151 $as_test_x conftest$ac_exeext; then
30152 ac_cv_lib_ICE_IceConnectionNumber=yes
30153 else
30154 echo "$as_me: failed program was:" >&5
30155 sed 's/^/| /' conftest.$ac_ext >&5
30156
30157 ac_cv_lib_ICE_IceConnectionNumber=no
30158 fi
30159
30160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30161 conftest$ac_exeext conftest.$ac_ext
30162 LIBS=$ac_check_lib_save_LIBS
30163 fi
30164 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30165 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30166 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30167 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30168 fi
30169
30170 LDFLAGS=$ac_save_LDFLAGS
30171
30172 fi
30173
30174
30175 if test "$no_x" = "yes"; then
30176 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30177 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30178 { (exit 1); exit 1; }; }
30179 fi
30180
30181 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30182 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30183 AFMINSTALL=afminstall
30184 COMPILED_X_PROGRAM=0
30185
30186 fi
30187
30188 if test "$wxUSE_X11" = 1; then
30189 if test "$wxUSE_NANOX" = "yes"; then
30190 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30191 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30192 if test "x$MICROWIN" = x ; then
30193 { echo "$as_me:$LINENO: result: not found" >&5
30194 echo "${ECHO_T}not found" >&6; }
30195 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30196 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30197 { (exit 1); exit 1; }; }
30198 else
30199 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30200 echo "${ECHO_T}$MICROWIN" >&6; }
30201 cat >>confdefs.h <<\_ACEOF
30202 #define wxUSE_NANOX 1
30203 _ACEOF
30204
30205 fi
30206 fi
30207
30208 if test "$wxUSE_UNICODE" = "yes"; then
30209
30210
30211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30212 if test -n "$ac_tool_prefix"; then
30213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30219 else
30220 case $PKG_CONFIG in
30221 [\\/]* | ?:[\\/]*)
30222 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30223 ;;
30224 *)
30225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30226 for as_dir in $PATH
30227 do
30228 IFS=$as_save_IFS
30229 test -z "$as_dir" && as_dir=.
30230 for ac_exec_ext in '' $ac_executable_extensions; do
30231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30232 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30234 break 2
30235 fi
30236 done
30237 done
30238 IFS=$as_save_IFS
30239
30240 ;;
30241 esac
30242 fi
30243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30244 if test -n "$PKG_CONFIG"; then
30245 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30246 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30247 else
30248 { echo "$as_me:$LINENO: result: no" >&5
30249 echo "${ECHO_T}no" >&6; }
30250 fi
30251
30252
30253 fi
30254 if test -z "$ac_cv_path_PKG_CONFIG"; then
30255 ac_pt_PKG_CONFIG=$PKG_CONFIG
30256 # Extract the first word of "pkg-config", so it can be a program name with args.
30257 set dummy pkg-config; ac_word=$2
30258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30261 echo $ECHO_N "(cached) $ECHO_C" >&6
30262 else
30263 case $ac_pt_PKG_CONFIG in
30264 [\\/]* | ?:[\\/]*)
30265 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30266 ;;
30267 *)
30268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30269 for as_dir in $PATH
30270 do
30271 IFS=$as_save_IFS
30272 test -z "$as_dir" && as_dir=.
30273 for ac_exec_ext in '' $ac_executable_extensions; do
30274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30275 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30277 break 2
30278 fi
30279 done
30280 done
30281 IFS=$as_save_IFS
30282
30283 ;;
30284 esac
30285 fi
30286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30287 if test -n "$ac_pt_PKG_CONFIG"; then
30288 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30289 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30290 else
30291 { echo "$as_me:$LINENO: result: no" >&5
30292 echo "${ECHO_T}no" >&6; }
30293 fi
30294
30295 if test "x$ac_pt_PKG_CONFIG" = x; then
30296 PKG_CONFIG=""
30297 else
30298 case $cross_compiling:$ac_tool_warned in
30299 yes:)
30300 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30301 whose name does not start with the host triplet. If you think this
30302 configuration is useful to you, please write to autoconf@gnu.org." >&5
30303 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30304 whose name does not start with the host triplet. If you think this
30305 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30306 ac_tool_warned=yes ;;
30307 esac
30308 PKG_CONFIG=$ac_pt_PKG_CONFIG
30309 fi
30310 else
30311 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30312 fi
30313
30314 fi
30315 if test -n "$PKG_CONFIG"; then
30316 _pkg_min_version=0.9.0
30317 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30318 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30319 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30320 { echo "$as_me:$LINENO: result: yes" >&5
30321 echo "${ECHO_T}yes" >&6; }
30322 else
30323 { echo "$as_me:$LINENO: result: no" >&5
30324 echo "${ECHO_T}no" >&6; }
30325 PKG_CONFIG=""
30326 fi
30327
30328 fi
30329
30330
30331 pkg_failed=no
30332 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30333 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30334
30335 if test -n "$PKG_CONFIG"; then
30336 if test -n "$PANGOX_CFLAGS"; then
30337 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30338 else
30339 if test -n "$PKG_CONFIG" && \
30340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30341 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; then
30345 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30346 else
30347 pkg_failed=yes
30348 fi
30349 fi
30350 else
30351 pkg_failed=untried
30352 fi
30353 if test -n "$PKG_CONFIG"; then
30354 if test -n "$PANGOX_LIBS"; then
30355 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30356 else
30357 if test -n "$PKG_CONFIG" && \
30358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30359 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30360 ac_status=$?
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; then
30363 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30364 else
30365 pkg_failed=yes
30366 fi
30367 fi
30368 else
30369 pkg_failed=untried
30370 fi
30371
30372
30373
30374 if test $pkg_failed = yes; then
30375
30376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30377 _pkg_short_errors_supported=yes
30378 else
30379 _pkg_short_errors_supported=no
30380 fi
30381 if test $_pkg_short_errors_supported = yes; then
30382 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30383 else
30384 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30385 fi
30386 # Put the nasty error message in config.log where it belongs
30387 echo "$PANGOX_PKG_ERRORS" >&5
30388
30389
30390 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30391 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30392 { (exit 1); exit 1; }; }
30393
30394
30395 elif test $pkg_failed = untried; then
30396
30397 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30398 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30399 { (exit 1); exit 1; }; }
30400
30401
30402 else
30403 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30404 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30405 { echo "$as_me:$LINENO: result: yes" >&5
30406 echo "${ECHO_T}yes" >&6; }
30407
30408 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30409 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30411
30412 fi
30413
30414 pkg_failed=no
30415 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30416 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30417
30418 if test -n "$PKG_CONFIG"; then
30419 if test -n "$PANGOFT2_CFLAGS"; then
30420 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30421 else
30422 if test -n "$PKG_CONFIG" && \
30423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30424 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30425 ac_status=$?
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; then
30428 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30429 else
30430 pkg_failed=yes
30431 fi
30432 fi
30433 else
30434 pkg_failed=untried
30435 fi
30436 if test -n "$PKG_CONFIG"; then
30437 if test -n "$PANGOFT2_LIBS"; then
30438 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30439 else
30440 if test -n "$PKG_CONFIG" && \
30441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30442 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; then
30446 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30447 else
30448 pkg_failed=yes
30449 fi
30450 fi
30451 else
30452 pkg_failed=untried
30453 fi
30454
30455
30456
30457 if test $pkg_failed = yes; then
30458
30459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30460 _pkg_short_errors_supported=yes
30461 else
30462 _pkg_short_errors_supported=no
30463 fi
30464 if test $_pkg_short_errors_supported = yes; then
30465 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30466 else
30467 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30468 fi
30469 # Put the nasty error message in config.log where it belongs
30470 echo "$PANGOFT2_PKG_ERRORS" >&5
30471
30472
30473 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30474 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30475 wxUSE_PRINTING_ARCHITECTURE="no"
30476
30477
30478 elif test $pkg_failed = untried; then
30479
30480 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30481 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30482 wxUSE_PRINTING_ARCHITECTURE="no"
30483
30484
30485 else
30486 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30487 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30488 { echo "$as_me:$LINENO: result: yes" >&5
30489 echo "${ECHO_T}yes" >&6; }
30490
30491 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30492 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30493 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30494
30495 fi
30496
30497 pkg_failed=no
30498 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30499 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30500
30501 if test -n "$PKG_CONFIG"; then
30502 if test -n "$PANGOXFT_CFLAGS"; then
30503 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30504 else
30505 if test -n "$PKG_CONFIG" && \
30506 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30507 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; then
30511 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30512 else
30513 pkg_failed=yes
30514 fi
30515 fi
30516 else
30517 pkg_failed=untried
30518 fi
30519 if test -n "$PKG_CONFIG"; then
30520 if test -n "$PANGOXFT_LIBS"; then
30521 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30522 else
30523 if test -n "$PKG_CONFIG" && \
30524 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30525 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30526 ac_status=$?
30527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 (exit $ac_status); }; then
30529 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30530 else
30531 pkg_failed=yes
30532 fi
30533 fi
30534 else
30535 pkg_failed=untried
30536 fi
30537
30538
30539
30540 if test $pkg_failed = yes; then
30541
30542 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30543 _pkg_short_errors_supported=yes
30544 else
30545 _pkg_short_errors_supported=no
30546 fi
30547 if test $_pkg_short_errors_supported = yes; then
30548 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30549 else
30550 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30551 fi
30552 # Put the nasty error message in config.log where it belongs
30553 echo "$PANGOXFT_PKG_ERRORS" >&5
30554
30555
30556 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30557 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30558
30559
30560 elif test $pkg_failed = untried; then
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 else
30567 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30568 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30569 { echo "$as_me:$LINENO: result: yes" >&5
30570 echo "${ECHO_T}yes" >&6; }
30571
30572 cat >>confdefs.h <<\_ACEOF
30573 #define HAVE_PANGO_XFT 1
30574 _ACEOF
30575
30576 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30577 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30578 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30579
30580 fi
30581 save_LIBS="$LIBS"
30582 LIBS="$LIBS $PANGOX_LIBS"
30583
30584 for ac_func in pango_font_family_is_monospace
30585 do
30586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30590 echo $ECHO_N "(cached) $ECHO_C" >&6
30591 else
30592 cat >conftest.$ac_ext <<_ACEOF
30593 /* confdefs.h. */
30594 _ACEOF
30595 cat confdefs.h >>conftest.$ac_ext
30596 cat >>conftest.$ac_ext <<_ACEOF
30597 /* end confdefs.h. */
30598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30600 #define $ac_func innocuous_$ac_func
30601
30602 /* System header to define __stub macros and hopefully few prototypes,
30603 which can conflict with char $ac_func (); below.
30604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30605 <limits.h> exists even on freestanding compilers. */
30606
30607 #ifdef __STDC__
30608 # include <limits.h>
30609 #else
30610 # include <assert.h>
30611 #endif
30612
30613 #undef $ac_func
30614
30615 /* Override any GCC internal prototype to avoid an error.
30616 Use char because int might match the return type of a GCC
30617 builtin and then its argument prototype would still apply. */
30618 #ifdef __cplusplus
30619 extern "C"
30620 #endif
30621 char $ac_func ();
30622 /* The GNU C library defines this for functions which it implements
30623 to always fail with ENOSYS. Some functions are actually named
30624 something starting with __ and the normal name is an alias. */
30625 #if defined __stub_$ac_func || defined __stub___$ac_func
30626 choke me
30627 #endif
30628
30629 int
30630 main ()
30631 {
30632 return $ac_func ();
30633 ;
30634 return 0;
30635 }
30636 _ACEOF
30637 rm -f conftest.$ac_objext conftest$ac_exeext
30638 if { (ac_try="$ac_link"
30639 case "(($ac_try" in
30640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30641 *) ac_try_echo=$ac_try;;
30642 esac
30643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30644 (eval "$ac_link") 2>conftest.er1
30645 ac_status=$?
30646 grep -v '^ *+' conftest.er1 >conftest.err
30647 rm -f conftest.er1
30648 cat conftest.err >&5
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); } && {
30651 test -z "$ac_c_werror_flag" ||
30652 test ! -s conftest.err
30653 } && test -s conftest$ac_exeext &&
30654 $as_test_x conftest$ac_exeext; then
30655 eval "$as_ac_var=yes"
30656 else
30657 echo "$as_me: failed program was:" >&5
30658 sed 's/^/| /' conftest.$ac_ext >&5
30659
30660 eval "$as_ac_var=no"
30661 fi
30662
30663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30664 conftest$ac_exeext conftest.$ac_ext
30665 fi
30666 ac_res=`eval echo '${'$as_ac_var'}'`
30667 { echo "$as_me:$LINENO: result: $ac_res" >&5
30668 echo "${ECHO_T}$ac_res" >&6; }
30669 if test `eval echo '${'$as_ac_var'}'` = yes; then
30670 cat >>confdefs.h <<_ACEOF
30671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30672 _ACEOF
30673
30674 fi
30675 done
30676
30677 LIBS="$save_LIBS"
30678 fi
30679
30680 wxUSE_UNIVERSAL="yes"
30681
30682 if test "$wxUSE_NANOX" = "yes"; then
30683 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30684 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"
30685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30686 else
30687 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30688 fi
30689
30690 TOOLKIT=X11
30691 GUIDIST=X11_DIST
30692 fi
30693
30694 if test "$wxUSE_MOTIF" = 1; then
30695 if test "$wxUSE_UNICODE" = "yes"; then
30696 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30697 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30698 { (exit 1); exit 1; }; }
30699 fi
30700
30701 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30702 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30703
30704 ac_find_includes=
30705 for ac_dir in $SEARCH_INCLUDE /usr/include;
30706 do
30707 if test -f "$ac_dir/Xm/Xm.h"; then
30708 ac_find_includes=$ac_dir
30709 break
30710 fi
30711 done
30712
30713 if test "$ac_find_includes" != "" ; then
30714 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30715 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30716
30717 if test "x$ac_find_includes" = "x/usr/include"; then
30718 ac_path_to_include=""
30719 else
30720 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30721 result=$?
30722 if test $result = 0; then
30723 ac_path_to_include=""
30724 else
30725 ac_path_to_include=" -I$ac_find_includes"
30726 fi
30727 fi
30728
30729 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30730 else
30731 save_CFLAGS=$CFLAGS
30732 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30733
30734 cat >conftest.$ac_ext <<_ACEOF
30735 /* confdefs.h. */
30736 _ACEOF
30737 cat confdefs.h >>conftest.$ac_ext
30738 cat >>conftest.$ac_ext <<_ACEOF
30739 /* end confdefs.h. */
30740
30741 #include <Xm/Xm.h>
30742
30743 int
30744 main ()
30745 {
30746
30747 int version;
30748 version = xmUseVersion;
30749
30750 ;
30751 return 0;
30752 }
30753 _ACEOF
30754 rm -f conftest.$ac_objext
30755 if { (ac_try="$ac_compile"
30756 case "(($ac_try" in
30757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30758 *) ac_try_echo=$ac_try;;
30759 esac
30760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30761 (eval "$ac_compile") 2>conftest.er1
30762 ac_status=$?
30763 grep -v '^ *+' conftest.er1 >conftest.err
30764 rm -f conftest.er1
30765 cat conftest.err >&5
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); } && {
30768 test -z "$ac_c_werror_flag" ||
30769 test ! -s conftest.err
30770 } && test -s conftest.$ac_objext; then
30771
30772 { echo "$as_me:$LINENO: result: found in default search path" >&5
30773 echo "${ECHO_T}found in default search path" >&6; }
30774 COMPILED_X_PROGRAM=1
30775
30776 else
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.$ac_ext >&5
30779
30780
30781 { echo "$as_me:$LINENO: result: no" >&5
30782 echo "${ECHO_T}no" >&6; }
30783 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30784 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30785 { (exit 1); exit 1; }; }
30786
30787
30788 fi
30789
30790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30791
30792 CFLAGS=$save_CFLAGS
30793 fi
30794
30795
30796 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30797 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30798
30799 ac_find_libraries=
30800 for ac_dir in $SEARCH_LIB;
30801 do
30802 for ac_extension in a so sl dylib dll.a; do
30803 if test -f "$ac_dir/libXm.$ac_extension"; then
30804 ac_find_libraries=$ac_dir
30805 break 2
30806 fi
30807 done
30808 done
30809
30810
30811 if test "x$ac_find_libraries" != "x" ; then
30812 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30813 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30814
30815
30816 if test "$ac_find_libraries" = "default location"; then
30817 ac_path_to_link=""
30818 else
30819 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30820 result=$?
30821 if test $result = 0; then
30822 ac_path_to_link=""
30823 else
30824 ac_path_to_link=" -L$ac_find_libraries"
30825 fi
30826 fi
30827
30828 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30829 else
30830 save_CFLAGS=$CFLAGS
30831 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30832 save_LIBS="$LIBS"
30833 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30834
30835 cat >conftest.$ac_ext <<_ACEOF
30836 /* confdefs.h. */
30837 _ACEOF
30838 cat confdefs.h >>conftest.$ac_ext
30839 cat >>conftest.$ac_ext <<_ACEOF
30840 /* end confdefs.h. */
30841
30842 #include <Xm/Xm.h>
30843
30844 int
30845 main ()
30846 {
30847
30848 int version;
30849 version = xmUseVersion;
30850
30851 ;
30852 return 0;
30853 }
30854 _ACEOF
30855 rm -f conftest.$ac_objext conftest$ac_exeext
30856 if { (ac_try="$ac_link"
30857 case "(($ac_try" in
30858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30859 *) ac_try_echo=$ac_try;;
30860 esac
30861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30862 (eval "$ac_link") 2>conftest.er1
30863 ac_status=$?
30864 grep -v '^ *+' conftest.er1 >conftest.err
30865 rm -f conftest.er1
30866 cat conftest.err >&5
30867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868 (exit $ac_status); } && {
30869 test -z "$ac_c_werror_flag" ||
30870 test ! -s conftest.err
30871 } && test -s conftest$ac_exeext &&
30872 $as_test_x conftest$ac_exeext; then
30873
30874 { echo "$as_me:$LINENO: result: found in default search path" >&5
30875 echo "${ECHO_T}found in default search path" >&6; }
30876 COMPILED_X_PROGRAM=1
30877
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882
30883 { echo "$as_me:$LINENO: result: no" >&5
30884 echo "${ECHO_T}no" >&6; }
30885 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30886 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30887 { (exit 1); exit 1; }; }
30888
30889
30890 fi
30891
30892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30893 conftest$ac_exeext conftest.$ac_ext
30894
30895 CFLAGS=$save_CFLAGS
30896 LIBS="$save_LIBS"
30897 fi
30898
30899 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30900 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30901 libp_link=""
30902 libsm_ice_link=""
30903 libs_found=0
30904 for libp in "" " -lXp"; do
30905 if test "$libs_found" = "0"; then
30906 for libsm_ice in "" " -lSM -lICE"; do
30907 if test "$libs_found" = "0"; then
30908 save_LIBS="$LIBS"
30909 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30910 save_CFLAGS=$CFLAGS
30911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30912
30913 cat >conftest.$ac_ext <<_ACEOF
30914 /* confdefs.h. */
30915 _ACEOF
30916 cat confdefs.h >>conftest.$ac_ext
30917 cat >>conftest.$ac_ext <<_ACEOF
30918 /* end confdefs.h. */
30919
30920 #include <Xm/Xm.h>
30921 #include <Xm/List.h>
30922
30923 int
30924 main ()
30925 {
30926
30927 XmString string = NULL;
30928 Widget w = NULL;
30929 int position = 0;
30930 XmListAddItem(w, string, position);
30931
30932 ;
30933 return 0;
30934 }
30935 _ACEOF
30936 rm -f conftest.$ac_objext conftest$ac_exeext
30937 if { (ac_try="$ac_link"
30938 case "(($ac_try" in
30939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30940 *) ac_try_echo=$ac_try;;
30941 esac
30942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30943 (eval "$ac_link") 2>conftest.er1
30944 ac_status=$?
30945 grep -v '^ *+' conftest.er1 >conftest.err
30946 rm -f conftest.er1
30947 cat conftest.err >&5
30948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30949 (exit $ac_status); } && {
30950 test -z "$ac_c_werror_flag" ||
30951 test ! -s conftest.err
30952 } && test -s conftest$ac_exeext &&
30953 $as_test_x conftest$ac_exeext; then
30954
30955 libp_link="$libp"
30956 libsm_ice_link="$libsm_ice"
30957 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30958 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30959 libs_found=1
30960
30961 else
30962 echo "$as_me: failed program was:" >&5
30963 sed 's/^/| /' conftest.$ac_ext >&5
30964
30965
30966
30967 fi
30968
30969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30970 conftest$ac_exeext conftest.$ac_ext
30971
30972 LIBS="$save_LIBS"
30973 CFLAGS=$save_CFLAGS
30974 fi
30975 done
30976 fi
30977 done
30978
30979 if test "$libs_found" = "0"; then
30980 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30981 echo "${ECHO_T}can't find the right libraries" >&6; }
30982 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30983 echo "$as_me: error: can't link a simple motif program" >&2;}
30984 { (exit 1); exit 1; }; }
30985 fi
30986
30987 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30988 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30989 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30990 echo $ECHO_N "(cached) $ECHO_C" >&6
30991 else
30992 ac_check_lib_save_LIBS=$LIBS
30993 LIBS="-lSgm $LIBS"
30994 cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h. */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000
31001 /* Override any GCC internal prototype to avoid an error.
31002 Use char because int might match the return type of a GCC
31003 builtin and then its argument prototype would still apply. */
31004 #ifdef __cplusplus
31005 extern "C"
31006 #endif
31007 char SgCreateList ();
31008 int
31009 main ()
31010 {
31011 return SgCreateList ();
31012 ;
31013 return 0;
31014 }
31015 _ACEOF
31016 rm -f conftest.$ac_objext conftest$ac_exeext
31017 if { (ac_try="$ac_link"
31018 case "(($ac_try" in
31019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31020 *) ac_try_echo=$ac_try;;
31021 esac
31022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31023 (eval "$ac_link") 2>conftest.er1
31024 ac_status=$?
31025 grep -v '^ *+' conftest.er1 >conftest.err
31026 rm -f conftest.er1
31027 cat conftest.err >&5
31028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31029 (exit $ac_status); } && {
31030 test -z "$ac_c_werror_flag" ||
31031 test ! -s conftest.err
31032 } && test -s conftest$ac_exeext &&
31033 $as_test_x conftest$ac_exeext; then
31034 ac_cv_lib_Sgm_SgCreateList=yes
31035 else
31036 echo "$as_me: failed program was:" >&5
31037 sed 's/^/| /' conftest.$ac_ext >&5
31038
31039 ac_cv_lib_Sgm_SgCreateList=no
31040 fi
31041
31042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31043 conftest$ac_exeext conftest.$ac_ext
31044 LIBS=$ac_check_lib_save_LIBS
31045 fi
31046 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31047 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31048 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31049 libsgm_link=" -lSgm"
31050 fi
31051
31052
31053 save_CFLAGS=$CFLAGS
31054 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31055
31056 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31057 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31058 if test "${wx_cv_lib_motif2+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31060 else
31061 cat >conftest.$ac_ext <<_ACEOF
31062 /* confdefs.h. */
31063 _ACEOF
31064 cat confdefs.h >>conftest.$ac_ext
31065 cat >>conftest.$ac_ext <<_ACEOF
31066 /* end confdefs.h. */
31067
31068 #include <Xm/Xm.h>
31069
31070 int
31071 main ()
31072 {
31073
31074 #if XmVersion < 2000
31075 Not Motif 2
31076 #endif
31077
31078 ;
31079 return 0;
31080 }
31081 _ACEOF
31082 rm -f conftest.$ac_objext
31083 if { (ac_try="$ac_compile"
31084 case "(($ac_try" in
31085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31086 *) ac_try_echo=$ac_try;;
31087 esac
31088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31089 (eval "$ac_compile") 2>conftest.er1
31090 ac_status=$?
31091 grep -v '^ *+' conftest.er1 >conftest.err
31092 rm -f conftest.er1
31093 cat conftest.err >&5
31094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31095 (exit $ac_status); } && {
31096 test -z "$ac_c_werror_flag" ||
31097 test ! -s conftest.err
31098 } && test -s conftest.$ac_objext; then
31099 wx_cv_lib_motif2="yes"
31100 else
31101 echo "$as_me: failed program was:" >&5
31102 sed 's/^/| /' conftest.$ac_ext >&5
31103
31104 wx_cv_lib_motif2="no"
31105 fi
31106
31107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31108 fi
31109 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31110 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31111 if test "$wx_cv_lib_motif2" = "yes"; then
31112 cat >>confdefs.h <<\_ACEOF
31113 #define __WXMOTIF20__ 1
31114 _ACEOF
31115
31116 else
31117 cat >>confdefs.h <<\_ACEOF
31118 #define __WXMOTIF20__ 0
31119 _ACEOF
31120
31121 fi
31122
31123 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31124 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31125 if test "${wx_cv_lib_lesstif+set}" = set; then
31126 echo $ECHO_N "(cached) $ECHO_C" >&6
31127 else
31128 cat >conftest.$ac_ext <<_ACEOF
31129 /* confdefs.h. */
31130 _ACEOF
31131 cat confdefs.h >>conftest.$ac_ext
31132 cat >>conftest.$ac_ext <<_ACEOF
31133 /* end confdefs.h. */
31134
31135 #include <Xm/Xm.h>
31136
31137 int
31138 main ()
31139 {
31140
31141 #if !defined(LesstifVersion) || LesstifVersion <= 0
31142 Not Lesstif
31143 #endif
31144
31145 ;
31146 return 0;
31147 }
31148 _ACEOF
31149 rm -f conftest.$ac_objext
31150 if { (ac_try="$ac_compile"
31151 case "(($ac_try" in
31152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31153 *) ac_try_echo=$ac_try;;
31154 esac
31155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31156 (eval "$ac_compile") 2>conftest.er1
31157 ac_status=$?
31158 grep -v '^ *+' conftest.er1 >conftest.err
31159 rm -f conftest.er1
31160 cat conftest.err >&5
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); } && {
31163 test -z "$ac_c_werror_flag" ||
31164 test ! -s conftest.err
31165 } && test -s conftest.$ac_objext; then
31166 wx_cv_lib_lesstif="yes"
31167 else
31168 echo "$as_me: failed program was:" >&5
31169 sed 's/^/| /' conftest.$ac_ext >&5
31170
31171 wx_cv_lib_lesstif="no"
31172 fi
31173
31174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31175
31176 fi
31177 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31178 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31179 if test "$wx_cv_lib_lesstif" = "yes"; then
31180 cat >>confdefs.h <<\_ACEOF
31181 #define __WXLESSTIF__ 1
31182 _ACEOF
31183
31184 else
31185 cat >>confdefs.h <<\_ACEOF
31186 #define __WXLESSTIF__ 0
31187 _ACEOF
31188
31189 fi
31190
31191 CFLAGS=$save_CFLAGS
31192
31193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31194 TOOLKIT=MOTIF
31195 GUIDIST=MOTIF_DIST
31196 fi
31197
31198 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31199 if test "$wxUSE_LIBXPM" = "sys"; then
31200 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31201 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31202
31203 ac_find_libraries=
31204 for ac_dir in $SEARCH_LIB;
31205 do
31206 for ac_extension in a so sl dylib dll.a; do
31207 if test -f "$ac_dir/libXpm.$ac_extension"; then
31208 ac_find_libraries=$ac_dir
31209 break 2
31210 fi
31211 done
31212 done
31213
31214 if test "$ac_find_libraries" != "" ; then
31215
31216 if test "$ac_find_libraries" = "default location"; then
31217 ac_path_to_link=""
31218 else
31219 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31220 result=$?
31221 if test $result = 0; then
31222 ac_path_to_link=""
31223 else
31224 ac_path_to_link=" -L$ac_find_libraries"
31225 fi
31226 fi
31227
31228 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31229 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31230 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31231
31232 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31233 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31234 if test "${wx_cv_x11_xpm_h+set}" = set; then
31235 echo $ECHO_N "(cached) $ECHO_C" >&6
31236 else
31237
31238 save_CFLAGS=$CFLAGS
31239 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31240
31241 cat >conftest.$ac_ext <<_ACEOF
31242 /* confdefs.h. */
31243 _ACEOF
31244 cat confdefs.h >>conftest.$ac_ext
31245 cat >>conftest.$ac_ext <<_ACEOF
31246 /* end confdefs.h. */
31247
31248 #include <X11/xpm.h>
31249
31250 int
31251 main ()
31252 {
31253
31254 int version;
31255 version = XpmLibraryVersion();
31256
31257 ;
31258 return 0;
31259 }
31260 _ACEOF
31261 rm -f conftest.$ac_objext
31262 if { (ac_try="$ac_compile"
31263 case "(($ac_try" in
31264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31265 *) ac_try_echo=$ac_try;;
31266 esac
31267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31268 (eval "$ac_compile") 2>conftest.er1
31269 ac_status=$?
31270 grep -v '^ *+' conftest.er1 >conftest.err
31271 rm -f conftest.er1
31272 cat conftest.err >&5
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); } && {
31275 test -z "$ac_c_werror_flag" ||
31276 test ! -s conftest.err
31277 } && test -s conftest.$ac_objext; then
31278 wx_cv_x11_xpm_h=yes
31279 else
31280 echo "$as_me: failed program was:" >&5
31281 sed 's/^/| /' conftest.$ac_ext >&5
31282
31283 wx_cv_x11_xpm_h=no
31284
31285 fi
31286
31287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31288
31289 CFLAGS=$save_CFLAGS
31290
31291
31292 fi
31293 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31294 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31295
31296 if test $wx_cv_x11_xpm_h = "yes"; then
31297 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31298 cat >>confdefs.h <<\_ACEOF
31299 #define wxHAVE_LIB_XPM 1
31300 _ACEOF
31301
31302 else
31303 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31304 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31305 fi
31306 fi
31307
31308 fi
31309
31310 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31311 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31312 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31313 echo $ECHO_N "(cached) $ECHO_C" >&6
31314 else
31315 ac_check_lib_save_LIBS=$LIBS
31316 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31317 cat >conftest.$ac_ext <<_ACEOF
31318 /* confdefs.h. */
31319 _ACEOF
31320 cat confdefs.h >>conftest.$ac_ext
31321 cat >>conftest.$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323
31324 /* Override any GCC internal prototype to avoid an error.
31325 Use char because int might match the return type of a GCC
31326 builtin and then its argument prototype would still apply. */
31327 #ifdef __cplusplus
31328 extern "C"
31329 #endif
31330 char XShapeQueryExtension ();
31331 int
31332 main ()
31333 {
31334 return XShapeQueryExtension ();
31335 ;
31336 return 0;
31337 }
31338 _ACEOF
31339 rm -f conftest.$ac_objext conftest$ac_exeext
31340 if { (ac_try="$ac_link"
31341 case "(($ac_try" in
31342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31343 *) ac_try_echo=$ac_try;;
31344 esac
31345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31346 (eval "$ac_link") 2>conftest.er1
31347 ac_status=$?
31348 grep -v '^ *+' conftest.er1 >conftest.err
31349 rm -f conftest.er1
31350 cat conftest.err >&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } && {
31353 test -z "$ac_c_werror_flag" ||
31354 test ! -s conftest.err
31355 } && test -s conftest$ac_exeext &&
31356 $as_test_x conftest$ac_exeext; then
31357 ac_cv_lib_Xext_XShapeQueryExtension=yes
31358 else
31359 echo "$as_me: failed program was:" >&5
31360 sed 's/^/| /' conftest.$ac_ext >&5
31361
31362 ac_cv_lib_Xext_XShapeQueryExtension=no
31363 fi
31364
31365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31366 conftest$ac_exeext conftest.$ac_ext
31367 LIBS=$ac_check_lib_save_LIBS
31368 fi
31369 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31370 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31371 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31372
31373 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31374 wxHAVE_XEXT_LIB=1
31375
31376 fi
31377
31378
31379 if test "$wxHAVE_XEXT_LIB" = 1; then
31380 save_CFLAGS="$CFLAGS"
31381 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31382
31383 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31384 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31385 cat >conftest.$ac_ext <<_ACEOF
31386 /* confdefs.h. */
31387 _ACEOF
31388 cat confdefs.h >>conftest.$ac_ext
31389 cat >>conftest.$ac_ext <<_ACEOF
31390 /* end confdefs.h. */
31391
31392 #include <X11/Xlib.h>
31393 #include <X11/extensions/shape.h>
31394
31395 int
31396 main ()
31397 {
31398
31399 int dummy1, dummy2;
31400 XShapeQueryExtension((Display*)NULL,
31401 (int*)NULL, (int*)NULL);
31402
31403 ;
31404 return 0;
31405 }
31406 _ACEOF
31407 rm -f conftest.$ac_objext
31408 if { (ac_try="$ac_compile"
31409 case "(($ac_try" in
31410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31411 *) ac_try_echo=$ac_try;;
31412 esac
31413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31414 (eval "$ac_compile") 2>conftest.er1
31415 ac_status=$?
31416 grep -v '^ *+' conftest.er1 >conftest.err
31417 rm -f conftest.er1
31418 cat conftest.err >&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } && {
31421 test -z "$ac_c_werror_flag" ||
31422 test ! -s conftest.err
31423 } && test -s conftest.$ac_objext; then
31424
31425 cat >>confdefs.h <<\_ACEOF
31426 #define HAVE_XSHAPE 1
31427 _ACEOF
31428
31429 { echo "$as_me:$LINENO: result: found" >&5
31430 echo "${ECHO_T}found" >&6; }
31431
31432 else
31433 echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.$ac_ext >&5
31435
31436
31437 { echo "$as_me:$LINENO: result: not found" >&5
31438 echo "${ECHO_T}not found" >&6; }
31439
31440 fi
31441
31442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31443 CFLAGS="$save_CFLAGS"
31444
31445 fi
31446 fi
31447
31448 if test "$wxUSE_MAC" = 1; then
31449 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31450 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31451 if test "$GCC" = yes; then
31452 { echo "$as_me:$LINENO: result: gcc" >&5
31453 echo "${ECHO_T}gcc" >&6; }
31454 CPPFLAGS_PASCAL="-fpascal-strings"
31455 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31456 { echo "$as_me:$LINENO: result: xlc" >&5
31457 echo "${ECHO_T}xlc" >&6; }
31458 CPPFLAGS_PASCAL="-qmacpstr"
31459 else
31460 { echo "$as_me:$LINENO: result: none" >&5
31461 echo "${ECHO_T}none" >&6; }
31462 fi
31463
31464 if test "x$wxUSE_UNIX" = "xyes"; then
31465 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31466 else
31467 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31468 fi
31469
31470 TOOLKIT=MAC
31471 GUIDIST=MACX_DIST
31472 WXBASEPORT="_carbon"
31473 fi
31474
31475 if test "$wxUSE_COCOA" = 1; then
31476 TOOLKIT=COCOA
31477 GUIDIST=COCOA_DIST
31478 fi
31479
31480 if test "$wxUSE_PM" = 1; then
31481 TOOLKIT=PM
31482 GUIDIST=PM_DIST
31483 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31484 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31485 if test "${wx_cv_spbcdata+set}" = set; then
31486 echo $ECHO_N "(cached) $ECHO_C" >&6
31487 else
31488
31489 cat >conftest.$ac_ext <<_ACEOF
31490 /* confdefs.h. */
31491 _ACEOF
31492 cat confdefs.h >>conftest.$ac_ext
31493 cat >>conftest.$ac_ext <<_ACEOF
31494 /* end confdefs.h. */
31495
31496 #define INCL_PM
31497 #include <os2.h>
31498
31499 int
31500 main ()
31501 {
31502
31503 SPBCDATA test;
31504
31505 ;
31506 return 0;
31507 }
31508 _ACEOF
31509 rm -f conftest.$ac_objext
31510 if { (ac_try="$ac_compile"
31511 case "(($ac_try" in
31512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31513 *) ac_try_echo=$ac_try;;
31514 esac
31515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31516 (eval "$ac_compile") 2>conftest.er1
31517 ac_status=$?
31518 grep -v '^ *+' conftest.er1 >conftest.err
31519 rm -f conftest.er1
31520 cat conftest.err >&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } && {
31523 test -z "$ac_c_werror_flag" ||
31524 test ! -s conftest.err
31525 } && test -s conftest.$ac_objext; then
31526 wx_cv_spbcdata=yes
31527 else
31528 echo "$as_me: failed program was:" >&5
31529 sed 's/^/| /' conftest.$ac_ext >&5
31530
31531 wx_cv_spbcdata=no
31532
31533 fi
31534
31535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31536
31537
31538 fi
31539 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31540 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31541
31542 if test $wx_cv_spbcdata = "yes"; then
31543 cat >>confdefs.h <<\_ACEOF
31544 #define HAVE_SPBCDATA 1
31545 _ACEOF
31546
31547 fi
31548 fi
31549
31550 if test "$TOOLKIT" = "PM" ; then
31551 TOOLKIT_DIR="os2"
31552 else
31553 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31554 fi
31555
31556 if test "$wxUSE_UNIVERSAL" = "yes"; then
31557 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31558 WIDGET_SET=univ
31559 fi
31560
31561 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31562 DISTDIR="wx\$(TOOLKIT)"
31563 else
31564 USE_GUI=0
31565
31566 TOOLKIT_DIR="base"
31567
31568 if test "$USE_WIN32" = 1 ; then
31569 TOOLKIT="MSW"
31570 fi
31571
31572 GUIDIST="BASE_DIST"
31573 DISTDIR="wxBase"
31574 fi
31575
31576
31577
31578 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31579 if test "$TOOLKIT" = "DFB" ; then
31580 wxUSE_UNICODE_UTF8=yes
31581 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31582 wxUSE_UNICODE_UTF8=yes
31583 else
31584 wxUSE_UNICODE_UTF8=no
31585 fi
31586 fi
31587
31588
31589 if test "$wxUSE_GUI" = "yes"; then
31590 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31591 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31592 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31593 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31594 echo $ECHO_N "(cached) $ECHO_C" >&6
31595 else
31596 cat >conftest.$ac_ext <<_ACEOF
31597 /* confdefs.h. */
31598 _ACEOF
31599 cat confdefs.h >>conftest.$ac_ext
31600 cat >>conftest.$ac_ext <<_ACEOF
31601 /* end confdefs.h. */
31602
31603
31604 #include <X11/Xlib.h>
31605 _ACEOF
31606 rm -f conftest.$ac_objext
31607 if { (ac_try="$ac_compile"
31608 case "(($ac_try" in
31609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31610 *) ac_try_echo=$ac_try;;
31611 esac
31612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31613 (eval "$ac_compile") 2>conftest.er1
31614 ac_status=$?
31615 grep -v '^ *+' conftest.er1 >conftest.err
31616 rm -f conftest.er1
31617 cat conftest.err >&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); } && {
31620 test -z "$ac_c_werror_flag" ||
31621 test ! -s conftest.err
31622 } && test -s conftest.$ac_objext; then
31623 ac_cv_header_X11_Xlib_h=yes
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31627
31628 ac_cv_header_X11_Xlib_h=no
31629 fi
31630
31631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31632 fi
31633 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31634 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31635
31636
31637 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31638 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31639 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31640 echo $ECHO_N "(cached) $ECHO_C" >&6
31641 else
31642 cat >conftest.$ac_ext <<_ACEOF
31643 /* confdefs.h. */
31644 _ACEOF
31645 cat confdefs.h >>conftest.$ac_ext
31646 cat >>conftest.$ac_ext <<_ACEOF
31647 /* end confdefs.h. */
31648
31649 #if HAVE_X11_XLIB_H
31650 #include <X11/Xlib.h>
31651 #endif
31652
31653
31654 #include <X11/XKBlib.h>
31655 _ACEOF
31656 rm -f conftest.$ac_objext
31657 if { (ac_try="$ac_compile"
31658 case "(($ac_try" in
31659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31660 *) ac_try_echo=$ac_try;;
31661 esac
31662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31663 (eval "$ac_compile") 2>conftest.er1
31664 ac_status=$?
31665 grep -v '^ *+' conftest.er1 >conftest.err
31666 rm -f conftest.er1
31667 cat conftest.err >&5
31668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31669 (exit $ac_status); } && {
31670 test -z "$ac_c_werror_flag" ||
31671 test ! -s conftest.err
31672 } && test -s conftest.$ac_objext; then
31673 ac_cv_header_X11_XKBlib_h=yes
31674 else
31675 echo "$as_me: failed program was:" >&5
31676 sed 's/^/| /' conftest.$ac_ext >&5
31677
31678 ac_cv_header_X11_XKBlib_h=no
31679 fi
31680
31681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31682 fi
31683 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31684 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31685
31686
31687 fi
31688 fi
31689
31690
31691
31692 IODBC_C_SRC=""
31693
31694
31695 if test "$TOOLKIT" != "MSW" ; then
31696
31697 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31698
31699 { echo "$as_me:$LINENO: checking for sql.h" >&5
31700 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31701 if test "${ac_cv_header_sql_h+set}" = set; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31703 else
31704 cat >conftest.$ac_ext <<_ACEOF
31705 /* confdefs.h. */
31706 _ACEOF
31707 cat confdefs.h >>conftest.$ac_ext
31708 cat >>conftest.$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31710
31711
31712 #include <sql.h>
31713 _ACEOF
31714 rm -f conftest.$ac_objext
31715 if { (ac_try="$ac_compile"
31716 case "(($ac_try" in
31717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31718 *) ac_try_echo=$ac_try;;
31719 esac
31720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31721 (eval "$ac_compile") 2>conftest.er1
31722 ac_status=$?
31723 grep -v '^ *+' conftest.er1 >conftest.err
31724 rm -f conftest.er1
31725 cat conftest.err >&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } && {
31728 test -z "$ac_c_werror_flag" ||
31729 test ! -s conftest.err
31730 } && test -s conftest.$ac_objext; then
31731 ac_cv_header_sql_h=yes
31732 else
31733 echo "$as_me: failed program was:" >&5
31734 sed 's/^/| /' conftest.$ac_ext >&5
31735
31736 ac_cv_header_sql_h=no
31737 fi
31738
31739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31740 fi
31741 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31742 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31743 if test $ac_cv_header_sql_h = yes; then
31744 found_sql_h=1
31745 fi
31746
31747
31748 if test "x$found_sql_h" = "x1" ; then
31749 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31750 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31751 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31752 echo $ECHO_N "(cached) $ECHO_C" >&6
31753 else
31754 ac_check_lib_save_LIBS=$LIBS
31755 LIBS="-liodbc $LIBS"
31756 cat >conftest.$ac_ext <<_ACEOF
31757 /* confdefs.h. */
31758 _ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31762
31763 /* Override any GCC internal prototype to avoid an error.
31764 Use char because int might match the return type of a GCC
31765 builtin and then its argument prototype would still apply. */
31766 #ifdef __cplusplus
31767 extern "C"
31768 #endif
31769 char SQLAllocEnv ();
31770 int
31771 main ()
31772 {
31773 return SQLAllocEnv ();
31774 ;
31775 return 0;
31776 }
31777 _ACEOF
31778 rm -f conftest.$ac_objext conftest$ac_exeext
31779 if { (ac_try="$ac_link"
31780 case "(($ac_try" in
31781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31782 *) ac_try_echo=$ac_try;;
31783 esac
31784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31785 (eval "$ac_link") 2>conftest.er1
31786 ac_status=$?
31787 grep -v '^ *+' conftest.er1 >conftest.err
31788 rm -f conftest.er1
31789 cat conftest.err >&5
31790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31791 (exit $ac_status); } && {
31792 test -z "$ac_c_werror_flag" ||
31793 test ! -s conftest.err
31794 } && test -s conftest$ac_exeext &&
31795 $as_test_x conftest$ac_exeext; then
31796 ac_cv_lib_iodbc_SQLAllocEnv=yes
31797 else
31798 echo "$as_me: failed program was:" >&5
31799 sed 's/^/| /' conftest.$ac_ext >&5
31800
31801 ac_cv_lib_iodbc_SQLAllocEnv=no
31802 fi
31803
31804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31805 conftest$ac_exeext conftest.$ac_ext
31806 LIBS=$ac_check_lib_save_LIBS
31807 fi
31808 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31809 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31810 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31811 ODBC_LINK=" -liodbc"
31812 else
31813
31814 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31815 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31816 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31817 echo $ECHO_N "(cached) $ECHO_C" >&6
31818 else
31819 ac_check_lib_save_LIBS=$LIBS
31820 LIBS="-lunixodbc $LIBS"
31821 cat >conftest.$ac_ext <<_ACEOF
31822 /* confdefs.h. */
31823 _ACEOF
31824 cat confdefs.h >>conftest.$ac_ext
31825 cat >>conftest.$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31827
31828 /* Override any GCC internal prototype to avoid an error.
31829 Use char because int might match the return type of a GCC
31830 builtin and then its argument prototype would still apply. */
31831 #ifdef __cplusplus
31832 extern "C"
31833 #endif
31834 char SQLAllocEnv ();
31835 int
31836 main ()
31837 {
31838 return SQLAllocEnv ();
31839 ;
31840 return 0;
31841 }
31842 _ACEOF
31843 rm -f conftest.$ac_objext conftest$ac_exeext
31844 if { (ac_try="$ac_link"
31845 case "(($ac_try" in
31846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31847 *) ac_try_echo=$ac_try;;
31848 esac
31849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31850 (eval "$ac_link") 2>conftest.er1
31851 ac_status=$?
31852 grep -v '^ *+' conftest.er1 >conftest.err
31853 rm -f conftest.er1
31854 cat conftest.err >&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); } && {
31857 test -z "$ac_c_werror_flag" ||
31858 test ! -s conftest.err
31859 } && test -s conftest$ac_exeext &&
31860 $as_test_x conftest$ac_exeext; then
31861 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31862 else
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.$ac_ext >&5
31865
31866 ac_cv_lib_unixodbc_SQLAllocEnv=no
31867 fi
31868
31869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31870 conftest$ac_exeext conftest.$ac_ext
31871 LIBS=$ac_check_lib_save_LIBS
31872 fi
31873 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31874 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31875 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31876 ODBC_LINK=" -lunixodbc"
31877 else
31878
31879 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31880 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31881 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31883 else
31884 ac_check_lib_save_LIBS=$LIBS
31885 LIBS="-lodbc $LIBS"
31886 cat >conftest.$ac_ext <<_ACEOF
31887 /* confdefs.h. */
31888 _ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892
31893 /* Override any GCC internal prototype to avoid an error.
31894 Use char because int might match the return type of a GCC
31895 builtin and then its argument prototype would still apply. */
31896 #ifdef __cplusplus
31897 extern "C"
31898 #endif
31899 char SQLAllocEnv ();
31900 int
31901 main ()
31902 {
31903 return SQLAllocEnv ();
31904 ;
31905 return 0;
31906 }
31907 _ACEOF
31908 rm -f conftest.$ac_objext conftest$ac_exeext
31909 if { (ac_try="$ac_link"
31910 case "(($ac_try" in
31911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31912 *) ac_try_echo=$ac_try;;
31913 esac
31914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31915 (eval "$ac_link") 2>conftest.er1
31916 ac_status=$?
31917 grep -v '^ *+' conftest.er1 >conftest.err
31918 rm -f conftest.er1
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } && {
31922 test -z "$ac_c_werror_flag" ||
31923 test ! -s conftest.err
31924 } && test -s conftest$ac_exeext &&
31925 $as_test_x conftest$ac_exeext; then
31926 ac_cv_lib_odbc_SQLAllocEnv=yes
31927 else
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31930
31931 ac_cv_lib_odbc_SQLAllocEnv=no
31932 fi
31933
31934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31935 conftest$ac_exeext conftest.$ac_ext
31936 LIBS=$ac_check_lib_save_LIBS
31937 fi
31938 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31939 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31940 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31941 ODBC_LINK=" -lodbc"
31942 fi
31943
31944
31945 fi
31946
31947
31948 fi
31949
31950 fi
31951 if test "x$ODBC_LINK" = "x" ; then
31952 if test "$wxUSE_ODBC" = "sys" ; then
31953 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31954 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31955 { (exit 1); exit 1; }; }
31956 else
31957 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31958 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31959 wxUSE_ODBC=builtin
31960 fi
31961 else
31962 wxUSE_ODBC=sys
31963 fi
31964 fi
31965
31966 if test "$wxUSE_ODBC" = "builtin" ; then
31967 cat >>confdefs.h <<\_ACEOF
31968 #define wxUSE_BUILTIN_IODBC 1
31969 _ACEOF
31970
31971 fi
31972 fi
31973
31974 if test "$wxUSE_ODBC" != "no" ; then
31975 cat >>confdefs.h <<\_ACEOF
31976 #define wxUSE_ODBC 1
31977 _ACEOF
31978
31979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31980
31981 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31982 fi
31983
31984
31985 if test "$wxUSE_DISPLAY" = "yes"; then
31986 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31987 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31988 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31989
31990 ac_find_libraries=
31991 for ac_dir in $SEARCH_LIB;
31992 do
31993 for ac_extension in a so sl dylib dll.a; do
31994 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31995 ac_find_libraries=$ac_dir
31996 break 2
31997 fi
31998 done
31999 done
32000
32001 if test "$ac_find_libraries" != "" ; then
32002
32003 if test "$ac_find_libraries" = "default location"; then
32004 ac_path_to_link=""
32005 else
32006 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32007 result=$?
32008 if test $result = 0; then
32009 ac_path_to_link=""
32010 else
32011 ac_path_to_link=" -L$ac_find_libraries"
32012 fi
32013 fi
32014
32015 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32016 LDFLAGS="$LDFLAGS $ac_path_to_link"
32017 fi
32018 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32019 { echo "$as_me:$LINENO: result: yes" >&5
32020 echo "${ECHO_T}yes" >&6; }
32021
32022 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32023 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32024
32025 ac_find_libraries=
32026 for ac_dir in $SEARCH_LIB;
32027 do
32028 for ac_extension in a so sl dylib dll.a; do
32029 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32030 ac_find_libraries=$ac_dir
32031 break 2
32032 fi
32033 done
32034 done
32035
32036 if test "$ac_find_libraries" != "" ; then
32037 { echo "$as_me:$LINENO: result: yes" >&5
32038 echo "${ECHO_T}yes" >&6; }
32039 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32040 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32041 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32042 echo $ECHO_N "(cached) $ECHO_C" >&6
32043 else
32044 cat >conftest.$ac_ext <<_ACEOF
32045 /* confdefs.h. */
32046 _ACEOF
32047 cat confdefs.h >>conftest.$ac_ext
32048 cat >>conftest.$ac_ext <<_ACEOF
32049 /* end confdefs.h. */
32050
32051 #if HAVE_X11_XLIB_H
32052 #include <X11/Xlib.h>
32053 #endif
32054
32055
32056 #include <X11/extensions/xf86vmode.h>
32057 _ACEOF
32058 rm -f conftest.$ac_objext
32059 if { (ac_try="$ac_compile"
32060 case "(($ac_try" in
32061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32062 *) ac_try_echo=$ac_try;;
32063 esac
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_compile") 2>conftest.er1
32066 ac_status=$?
32067 grep -v '^ *+' conftest.er1 >conftest.err
32068 rm -f conftest.er1
32069 cat conftest.err >&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); } && {
32072 test -z "$ac_c_werror_flag" ||
32073 test ! -s conftest.err
32074 } && test -s conftest.$ac_objext; then
32075 ac_cv_header_X11_extensions_xf86vmode_h=yes
32076 else
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32079
32080 ac_cv_header_X11_extensions_xf86vmode_h=no
32081 fi
32082
32083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32084 fi
32085 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32086 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32087 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32088
32089 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32090
32091 fi
32092
32093
32094 else
32095 { echo "$as_me:$LINENO: result: no" >&5
32096 echo "${ECHO_T}no" >&6; }
32097 fi
32098
32099 else
32100 { echo "$as_me:$LINENO: result: no" >&5
32101 echo "${ECHO_T}no" >&6; }
32102 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32103 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32104 wxUSE_DISPLAY="no"
32105 fi
32106 elif test "$wxUSE_MSW" = 1; then
32107 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32108 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32109 if test "${ac_cv_header_ddraw_h+set}" = set; then
32110 echo $ECHO_N "(cached) $ECHO_C" >&6
32111 else
32112 cat >conftest.$ac_ext <<_ACEOF
32113 /* confdefs.h. */
32114 _ACEOF
32115 cat confdefs.h >>conftest.$ac_ext
32116 cat >>conftest.$ac_ext <<_ACEOF
32117 /* end confdefs.h. */
32118 #include <windows.h>
32119
32120 #include <ddraw.h>
32121 _ACEOF
32122 rm -f conftest.$ac_objext
32123 if { (ac_try="$ac_compile"
32124 case "(($ac_try" in
32125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32126 *) ac_try_echo=$ac_try;;
32127 esac
32128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32129 (eval "$ac_compile") 2>conftest.er1
32130 ac_status=$?
32131 grep -v '^ *+' conftest.er1 >conftest.err
32132 rm -f conftest.er1
32133 cat conftest.err >&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } && {
32136 test -z "$ac_c_werror_flag" ||
32137 test ! -s conftest.err
32138 } && test -s conftest.$ac_objext; then
32139 ac_cv_header_ddraw_h=yes
32140 else
32141 echo "$as_me: failed program was:" >&5
32142 sed 's/^/| /' conftest.$ac_ext >&5
32143
32144 ac_cv_header_ddraw_h=no
32145 fi
32146
32147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32148 fi
32149 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32150 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32151
32152
32153 fi
32154 fi
32155
32156 if test "$wxUSE_DETECT_SM" = "yes"; then
32157 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32158 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32159 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32160
32161 ac_find_libraries=
32162 for ac_dir in $SEARCH_LIB;
32163 do
32164 for ac_extension in a so sl dylib dll.a; do
32165 if test -f "$ac_dir/libSM.$ac_extension"; then
32166 ac_find_libraries=$ac_dir
32167 break 2
32168 fi
32169 done
32170 done
32171
32172 if test "$ac_find_libraries" != "" ; then
32173
32174 if test "$ac_find_libraries" = "default location"; then
32175 ac_path_to_link=""
32176 else
32177 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32178 result=$?
32179 if test $result = 0; then
32180 ac_path_to_link=""
32181 else
32182 ac_path_to_link=" -L$ac_find_libraries"
32183 fi
32184 fi
32185
32186 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32187 LDFLAGS="$LDFLAGS $ac_path_to_link"
32188 fi
32189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32190 { echo "$as_me:$LINENO: result: yes" >&5
32191 echo "${ECHO_T}yes" >&6; }
32192 else
32193 { echo "$as_me:$LINENO: result: no" >&5
32194 echo "${ECHO_T}no" >&6; }
32195 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32196 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32197 wxUSE_DETECT_SM="no"
32198 fi
32199 else
32200 wxUSE_DETECT_SM="no"
32201 fi
32202 fi
32203
32204
32205
32206 USE_OPENGL=0
32207 if test "$wxUSE_OPENGL" = "yes"; then
32208 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32209 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32210 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32211 wxUSE_OPENGL="no"
32212 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32213 OPENGL_LIBS="-framework OpenGL -framework AGL"
32214 elif test "$wxUSE_MSW" = 1; then
32215 OPENGL_LIBS="-lopengl32 -lglu32"
32216 else
32217 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32218 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32219
32220 ac_find_includes=
32221 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32222 do
32223 if test -f "$ac_dir/GL/gl.h"; then
32224 ac_find_includes=$ac_dir
32225 break
32226 fi
32227 done
32228
32229 if test "$ac_find_includes" != "" ; then
32230 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32231 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32232
32233 if test "x$ac_find_includes" = "x/usr/include"; then
32234 ac_path_to_include=""
32235 else
32236 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32237 result=$?
32238 if test $result = 0; then
32239 ac_path_to_include=""
32240 else
32241 ac_path_to_include=" -I$ac_find_includes"
32242 fi
32243 fi
32244
32245 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32246 else
32247 { echo "$as_me:$LINENO: result: not found" >&5
32248 echo "${ECHO_T}not found" >&6; }
32249 fi
32250
32251 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32252 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32253 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 else
32256 cat >conftest.$ac_ext <<_ACEOF
32257 /* confdefs.h. */
32258 _ACEOF
32259 cat confdefs.h >>conftest.$ac_ext
32260 cat >>conftest.$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262
32263
32264 #include <GL/gl.h>
32265 _ACEOF
32266 rm -f conftest.$ac_objext
32267 if { (ac_try="$ac_compile"
32268 case "(($ac_try" in
32269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32270 *) ac_try_echo=$ac_try;;
32271 esac
32272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32273 (eval "$ac_compile") 2>conftest.er1
32274 ac_status=$?
32275 grep -v '^ *+' conftest.er1 >conftest.err
32276 rm -f conftest.er1
32277 cat conftest.err >&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); } && {
32280 test -z "$ac_c_werror_flag" ||
32281 test ! -s conftest.err
32282 } && test -s conftest.$ac_objext; then
32283 ac_cv_header_GL_gl_h=yes
32284 else
32285 echo "$as_me: failed program was:" >&5
32286 sed 's/^/| /' conftest.$ac_ext >&5
32287
32288 ac_cv_header_GL_gl_h=no
32289 fi
32290
32291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32292 fi
32293 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32294 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32295 if test $ac_cv_header_GL_gl_h = yes; then
32296
32297 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32298 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32299 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32300 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32301 echo $ECHO_N "(cached) $ECHO_C" >&6
32302 fi
32303 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32304 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32305 else
32306 # Is the header compilable?
32307 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32308 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32309 cat >conftest.$ac_ext <<_ACEOF
32310 /* confdefs.h. */
32311 _ACEOF
32312 cat confdefs.h >>conftest.$ac_ext
32313 cat >>conftest.$ac_ext <<_ACEOF
32314 /* end confdefs.h. */
32315 $ac_includes_default
32316 #include <GL/glu.h>
32317 _ACEOF
32318 rm -f conftest.$ac_objext
32319 if { (ac_try="$ac_compile"
32320 case "(($ac_try" in
32321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32322 *) ac_try_echo=$ac_try;;
32323 esac
32324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32325 (eval "$ac_compile") 2>conftest.er1
32326 ac_status=$?
32327 grep -v '^ *+' conftest.er1 >conftest.err
32328 rm -f conftest.er1
32329 cat conftest.err >&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); } && {
32332 test -z "$ac_c_werror_flag" ||
32333 test ! -s conftest.err
32334 } && test -s conftest.$ac_objext; then
32335 ac_header_compiler=yes
32336 else
32337 echo "$as_me: failed program was:" >&5
32338 sed 's/^/| /' conftest.$ac_ext >&5
32339
32340 ac_header_compiler=no
32341 fi
32342
32343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32345 echo "${ECHO_T}$ac_header_compiler" >&6; }
32346
32347 # Is the header present?
32348 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32349 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32350 cat >conftest.$ac_ext <<_ACEOF
32351 /* confdefs.h. */
32352 _ACEOF
32353 cat confdefs.h >>conftest.$ac_ext
32354 cat >>conftest.$ac_ext <<_ACEOF
32355 /* end confdefs.h. */
32356 #include <GL/glu.h>
32357 _ACEOF
32358 if { (ac_try="$ac_cpp conftest.$ac_ext"
32359 case "(($ac_try" in
32360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32361 *) ac_try_echo=$ac_try;;
32362 esac
32363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32365 ac_status=$?
32366 grep -v '^ *+' conftest.er1 >conftest.err
32367 rm -f conftest.er1
32368 cat conftest.err >&5
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); } >/dev/null && {
32371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32372 test ! -s conftest.err
32373 }; then
32374 ac_header_preproc=yes
32375 else
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32378
32379 ac_header_preproc=no
32380 fi
32381
32382 rm -f conftest.err conftest.$ac_ext
32383 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32384 echo "${ECHO_T}$ac_header_preproc" >&6; }
32385
32386 # So? What about this header?
32387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32388 yes:no: )
32389 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32390 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32391 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32392 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32393 ac_header_preproc=yes
32394 ;;
32395 no:yes:* )
32396 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32397 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32398 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32399 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32400 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32401 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32402 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32403 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32404 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32405 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32406 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32407 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32408 ( cat <<\_ASBOX
32409 ## ----------------------------------------- ##
32410 ## Report this to wx-dev@lists.wxwidgets.org ##
32411 ## ----------------------------------------- ##
32412 _ASBOX
32413 ) | sed "s/^/$as_me: WARNING: /" >&2
32414 ;;
32415 esac
32416 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32417 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32418 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 else
32421 ac_cv_header_GL_glu_h=$ac_header_preproc
32422 fi
32423 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32424 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32425
32426 fi
32427 if test $ac_cv_header_GL_glu_h = yes; then
32428
32429 found_gl=0
32430
32431 { echo "$as_me:$LINENO: checking for -lGL" >&5
32432 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32433
32434 ac_find_libraries=
32435 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32436 do
32437 for ac_extension in a so sl dylib dll.a; do
32438 if test -f "$ac_dir/libGL.$ac_extension"; then
32439 ac_find_libraries=$ac_dir
32440 break 2
32441 fi
32442 done
32443 done
32444
32445 if test "$ac_find_libraries" != "" ; then
32446 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32447 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32448
32449
32450 if test "$ac_find_libraries" = "default location"; then
32451 ac_path_to_link=""
32452 else
32453 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32454 result=$?
32455 if test $result = 0; then
32456 ac_path_to_link=""
32457 else
32458 ac_path_to_link=" -L$ac_find_libraries"
32459 fi
32460 fi
32461
32462 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32463 LDFLAGS_GL="$ac_path_to_link"
32464 fi
32465
32466 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32467 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32468
32469 ac_find_libraries=
32470 for ac_dir in $SEARCH_LIB;
32471 do
32472 for ac_extension in a so sl dylib dll.a; do
32473 if test -f "$ac_dir/libGLU.$ac_extension"; then
32474 ac_find_libraries=$ac_dir
32475 break 2
32476 fi
32477 done
32478 done
32479
32480 if test "$ac_find_libraries" != "" ; then
32481
32482 if test "$ac_find_libraries" = "default location"; then
32483 ac_path_to_link=""
32484 else
32485 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32486 result=$?
32487 if test $result = 0; then
32488 ac_path_to_link=""
32489 else
32490 ac_path_to_link=" -L$ac_find_libraries"
32491 fi
32492 fi
32493
32494 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32495 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32496 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32497 fi
32498
32499 found_gl=1
32500 OPENGL_LIBS="-lGL -lGLU"
32501 { echo "$as_me:$LINENO: result: yes" >&5
32502 echo "${ECHO_T}yes" >&6; }
32503 else
32504 { echo "$as_me:$LINENO: result: no" >&5
32505 echo "${ECHO_T}no" >&6; }
32506 fi
32507 else
32508 { echo "$as_me:$LINENO: result: no" >&5
32509 echo "${ECHO_T}no" >&6; }
32510 fi
32511
32512 if test "$found_gl" != 1; then
32513 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32514 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32515
32516 ac_find_libraries=
32517 for ac_dir in $SEARCH_LIB;
32518 do
32519 for ac_extension in a so sl dylib dll.a; do
32520 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32521 ac_find_libraries=$ac_dir
32522 break 2
32523 fi
32524 done
32525 done
32526
32527 if test "$ac_find_libraries" != "" ; then
32528
32529 if test "$ac_find_libraries" = "default location"; then
32530 ac_path_to_link=""
32531 else
32532 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32533 result=$?
32534 if test $result = 0; then
32535 ac_path_to_link=""
32536 else
32537 ac_path_to_link=" -L$ac_find_libraries"
32538 fi
32539 fi
32540
32541 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32542 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32543 { echo "$as_me:$LINENO: result: yes" >&5
32544 echo "${ECHO_T}yes" >&6; }
32545 else
32546 { echo "$as_me:$LINENO: result: no" >&5
32547 echo "${ECHO_T}no" >&6; }
32548 fi
32549 fi
32550
32551 fi
32552
32553
32554
32555 fi
32556
32557
32558
32559 if test "x$OPENGL_LIBS" = "x"; then
32560 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32561 echo "$as_me: error: OpenGL libraries not available" >&2;}
32562 { (exit 1); exit 1; }; }
32563 fi
32564 fi
32565
32566 if test "$wxUSE_OPENGL" = "yes"; then
32567 USE_OPENGL=1
32568 cat >>confdefs.h <<\_ACEOF
32569 #define wxUSE_OPENGL 1
32570 _ACEOF
32571
32572 cat >>confdefs.h <<\_ACEOF
32573 #define wxUSE_GLCANVAS 1
32574 _ACEOF
32575
32576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32577 fi
32578 fi
32579
32580
32581 if test -n "$TOOLKIT" ; then
32582 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32583 fi
32584
32585
32586
32587 if test "$wxUSE_SHARED" = "yes"; then
32588 case "${host}" in
32589 *-pc-msdosdjgpp )
32590 wxUSE_SHARED=no
32591 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32592 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32593 ;;
32594 esac
32595 fi
32596
32597 if test "$wxUSE_SHARED" = "yes"; then
32598
32599
32600 case "${host}" in
32601 *-*-cygwin* | *-*-mingw* )
32602 wx_cv_version_script=no
32603 ;;
32604
32605 *)
32606 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32607 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32608 if test "${wx_cv_version_script+set}" = set; then
32609 echo $ECHO_N "(cached) $ECHO_C" >&6
32610 else
32611
32612 echo "VER_1 { *; };" >conftest.sym
32613 echo "int main() { return 0; }" >conftest.cpp
32614
32615 if { ac_try='
32616 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32617 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32619 (eval $ac_try) 2>&5
32620 ac_status=$?
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); }; } ; then
32623 if test -s conftest.stderr ; then
32624 wx_cv_version_script=no
32625 else
32626 wx_cv_version_script=yes
32627 fi
32628 else
32629 wx_cv_version_script=no
32630 fi
32631
32632 if test $wx_cv_version_script = yes
32633 then
32634 echo "struct B { virtual ~B() { } }; \
32635 struct D : public B { }; \
32636 void F() { D d; }" > conftest.cpp
32637
32638 if { ac_try='
32639 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32640 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32643 ac_status=$?
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; } &&
32646 { ac_try='
32647 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32648 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32650 (eval $ac_try) 2>&5
32651 ac_status=$?
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); }; }
32654 then
32655 if { ac_try='
32656 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32657 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32660 ac_status=$?
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; }
32663 then
32664 wx_cv_version_script=yes
32665 else
32666 wx_cv_version_script=no
32667 fi
32668 fi
32669 fi
32670
32671 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32672 rm -f conftest1.output conftest2.output conftest3.output
32673
32674 fi
32675 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32676 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32677
32678 if test $wx_cv_version_script = yes ; then
32679 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32680 fi
32681 ;;
32682 esac
32683
32684
32685 case "${host}" in
32686 *-*-linux* | *-*-gnu* )
32687 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32688 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32689 ;;
32690
32691 *-*-solaris2* )
32692 if test "$GCC" = yes ; then
32693 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32694
32695 saveLdflags="$LDFLAGS"
32696 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32697 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32698 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32699 cat >conftest.$ac_ext <<_ACEOF
32700 /* confdefs.h. */
32701 _ACEOF
32702 cat confdefs.h >>conftest.$ac_ext
32703 cat >>conftest.$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32705
32706 int
32707 main ()
32708 {
32709
32710 ;
32711 return 0;
32712 }
32713 _ACEOF
32714 rm -f conftest.$ac_objext conftest$ac_exeext
32715 if { (ac_try="$ac_link"
32716 case "(($ac_try" in
32717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32718 *) ac_try_echo=$ac_try;;
32719 esac
32720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32721 (eval "$ac_link") 2>conftest.er1
32722 ac_status=$?
32723 grep -v '^ *+' conftest.er1 >conftest.err
32724 rm -f conftest.er1
32725 cat conftest.err >&5
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); } && {
32728 test -z "$ac_c_werror_flag" ||
32729 test ! -s conftest.err
32730 } && test -s conftest$ac_exeext &&
32731 $as_test_x conftest$ac_exeext; then
32732
32733 { echo "$as_me:$LINENO: result: yes" >&5
32734 echo "${ECHO_T}yes" >&6; }
32735 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32736 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32737
32738 else
32739 echo "$as_me: failed program was:" >&5
32740 sed 's/^/| /' conftest.$ac_ext >&5
32741
32742
32743 { echo "$as_me:$LINENO: result: no" >&5
32744 echo "${ECHO_T}no" >&6; }
32745 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32746 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32747 LDFLAGS="$saveLdflags -Wl,-R,/"
32748 cat >conftest.$ac_ext <<_ACEOF
32749 /* confdefs.h. */
32750 _ACEOF
32751 cat confdefs.h >>conftest.$ac_ext
32752 cat >>conftest.$ac_ext <<_ACEOF
32753 /* end confdefs.h. */
32754
32755 int
32756 main ()
32757 {
32758
32759 ;
32760 return 0;
32761 }
32762 _ACEOF
32763 rm -f conftest.$ac_objext conftest$ac_exeext
32764 if { (ac_try="$ac_link"
32765 case "(($ac_try" in
32766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32767 *) ac_try_echo=$ac_try;;
32768 esac
32769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32770 (eval "$ac_link") 2>conftest.er1
32771 ac_status=$?
32772 grep -v '^ *+' conftest.er1 >conftest.err
32773 rm -f conftest.er1
32774 cat conftest.err >&5
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); } && {
32777 test -z "$ac_c_werror_flag" ||
32778 test ! -s conftest.err
32779 } && test -s conftest$ac_exeext &&
32780 $as_test_x conftest$ac_exeext; then
32781
32782 { echo "$as_me:$LINENO: result: yes" >&5
32783 echo "${ECHO_T}yes" >&6; }
32784 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32785 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32786
32787 else
32788 echo "$as_me: failed program was:" >&5
32789 sed 's/^/| /' conftest.$ac_ext >&5
32790
32791
32792 { echo "$as_me:$LINENO: result: no" >&5
32793 echo "${ECHO_T}no" >&6; }
32794
32795 fi
32796
32797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32798 conftest$ac_exeext conftest.$ac_ext
32799
32800 fi
32801
32802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32803 conftest$ac_exeext conftest.$ac_ext
32804 LDFLAGS="$saveLdflags"
32805 else
32806 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32807 WXCONFIG_RPATH="-R\$libdir"
32808 fi
32809 ;;
32810
32811 *-*-darwin* )
32812 install_name_tool=`which install_name_tool`
32813 if test "$install_name_tool" -a -x "$install_name_tool"; then
32814 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32815 cat <<EOF >change-install-names
32816 #!/bin/sh
32817 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32818 inst_cmd="install_name_tool "
32819 for i in \${libnames} ; do
32820 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32821 done
32822 \${inst_cmd} \${3}
32823 EOF
32824 chmod +x change-install-names
32825 fi
32826 ;;
32827
32828 *-*-cygwin* | *-*-mingw32* )
32829 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32830 ;;
32831
32832 *-*-hpux* )
32833 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32834 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32835 ;;
32836
32837 esac
32838
32839 if test $wxUSE_RPATH = "no"; then
32840 SAMPLES_RPATH_FLAG=''
32841 SAMPLES_RPATH_POSTLINK=''
32842 WXCONFIG_RPATH=''
32843 fi
32844
32845 SHARED=1
32846
32847 else
32848
32849 config_linkage_component="-static"
32850 SHARED=0
32851
32852 fi
32853
32854
32855 UNICODE=0
32856 lib_unicode_suffix=
32857 WX_CHARTYPE="ansi"
32858 if test "$wxUSE_UNICODE" = "yes"; then
32859 lib_unicode_suffix=u
32860 WX_CHARTYPE="unicode"
32861 UNICODE=1
32862 fi
32863
32864 lib_debug_suffix=
32865 WX_DEBUGTYPE="release"
32866 DEBUG_FLAG=0
32867 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32868 lib_debug_suffix=d
32869 WX_DEBUGTYPE="debug"
32870 DEBUG_FLAG=1
32871 fi
32872
32873 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32874 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32875
32876 DEBUG_INFO=0
32877 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32878 DEBUG_INFO=1
32879 fi
32880
32881 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32882
32883 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32884
32885 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32886
32887 if test "$cross_compiling" = "yes"; then
32888 HOST_SUFFIX="-$host_alias"
32889 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32890 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32891 fi
32892
32893 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32894 if test "${TOOLKIT_DIR}" = "os2"; then
32895 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32896 else
32897 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32898 fi
32899
32900
32901
32902 if test "$wxUSE_COCOA" = 1; then
32903
32904 ac_ext=c
32905 ac_cpp='$CPP $CPPFLAGS'
32906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32909
32910 ac_ext=m
32911
32912 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32913 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32914 cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h. */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 #include <AppKit/NSEvent.h>
32921 #include <CoreFoundation/CoreFoundation.h>
32922
32923 int
32924 main ()
32925 {
32926
32927 ;
32928 return 0;
32929 }
32930 _ACEOF
32931 rm -f conftest.$ac_objext
32932 if { (ac_try="$ac_compile"
32933 case "(($ac_try" in
32934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32935 *) ac_try_echo=$ac_try;;
32936 esac
32937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32938 (eval "$ac_compile") 2>conftest.er1
32939 ac_status=$?
32940 grep -v '^ *+' conftest.er1 >conftest.err
32941 rm -f conftest.er1
32942 cat conftest.err >&5
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); } && {
32945 test -z "$ac_c_werror_flag" ||
32946 test ! -s conftest.err
32947 } && test -s conftest.$ac_objext; then
32948 { echo "$as_me:$LINENO: result: no" >&5
32949 echo "${ECHO_T}no" >&6; }
32950 else
32951 echo "$as_me: failed program was:" >&5
32952 sed 's/^/| /' conftest.$ac_ext >&5
32953
32954 { echo "$as_me:$LINENO: result: yes" >&5
32955 echo "${ECHO_T}yes" >&6; }
32956 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32957 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32958 cat >conftest.$ac_ext <<_ACEOF
32959 /* confdefs.h. */
32960 _ACEOF
32961 cat confdefs.h >>conftest.$ac_ext
32962 cat >>conftest.$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32964 #define __Point__ 1
32965 #include <AppKit/NSEvent.h>
32966 #include <CoreFoundation/CoreFoundation.h>
32967
32968 int
32969 main ()
32970 {
32971
32972 ;
32973 return 0;
32974 }
32975 _ACEOF
32976 rm -f conftest.$ac_objext
32977 if { (ac_try="$ac_compile"
32978 case "(($ac_try" in
32979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32980 *) ac_try_echo=$ac_try;;
32981 esac
32982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32983 (eval "$ac_compile") 2>conftest.er1
32984 ac_status=$?
32985 grep -v '^ *+' conftest.er1 >conftest.err
32986 rm -f conftest.er1
32987 cat conftest.err >&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } && {
32990 test -z "$ac_c_werror_flag" ||
32991 test ! -s conftest.err
32992 } && test -s conftest.$ac_objext; then
32993 { echo "$as_me:$LINENO: result: yes" >&5
32994 echo "${ECHO_T}yes" >&6; }
32995 cat >>confdefs.h <<\_ACEOF
32996 #define __Point__ 1
32997 _ACEOF
32998
32999
33000 else
33001 echo "$as_me: failed program was:" >&5
33002 sed 's/^/| /' conftest.$ac_ext >&5
33003
33004 { { echo "$as_me:$LINENO: error: no
33005 See \`config.log' for more details." >&5
33006 echo "$as_me: error: no
33007 See \`config.log' for more details." >&2;}
33008 { (exit 1); exit 1; }; }
33009
33010 fi
33011
33012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33013
33014 fi
33015
33016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33017 ac_ext=c
33018 ac_cpp='$CPP $CPPFLAGS'
33019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33022
33023 fi
33024
33025 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33026 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33027 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33028
33029 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33030
33031 # Extract the first word of "Rez", so it can be a program name with args.
33032 set dummy Rez; ac_word=$2
33033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33035 if test "${ac_cv_prog_REZ+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33037 else
33038 if test -n "$REZ"; then
33039 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33040 else
33041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33042 for as_dir in $PATH
33043 do
33044 IFS=$as_save_IFS
33045 test -z "$as_dir" && as_dir=.
33046 for ac_exec_ext in '' $ac_executable_extensions; do
33047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33048 ac_cv_prog_REZ="Rez"
33049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33050 break 2
33051 fi
33052 done
33053 done
33054 IFS=$as_save_IFS
33055
33056 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33057 fi
33058 fi
33059 REZ=$ac_cv_prog_REZ
33060 if test -n "$REZ"; then
33061 { echo "$as_me:$LINENO: result: $REZ" >&5
33062 echo "${ECHO_T}$REZ" >&6; }
33063 else
33064 { echo "$as_me:$LINENO: result: no" >&5
33065 echo "${ECHO_T}no" >&6; }
33066 fi
33067
33068
33069 # Extract the first word of "DeRez", so it can be a program name with args.
33070 set dummy DeRez; ac_word=$2
33071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33073 if test "${ac_cv_prog_DEREZ+set}" = set; then
33074 echo $ECHO_N "(cached) $ECHO_C" >&6
33075 else
33076 if test -n "$DEREZ"; then
33077 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33078 else
33079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33080 for as_dir in $PATH
33081 do
33082 IFS=$as_save_IFS
33083 test -z "$as_dir" && as_dir=.
33084 for ac_exec_ext in '' $ac_executable_extensions; do
33085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33086 ac_cv_prog_DEREZ="DeRez"
33087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33088 break 2
33089 fi
33090 done
33091 done
33092 IFS=$as_save_IFS
33093
33094 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33095 fi
33096 fi
33097 DEREZ=$ac_cv_prog_DEREZ
33098 if test -n "$DEREZ"; then
33099 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33100 echo "${ECHO_T}$DEREZ" >&6; }
33101 else
33102 { echo "$as_me:$LINENO: result: no" >&5
33103 echo "${ECHO_T}no" >&6; }
33104 fi
33105
33106
33107 # Extract the first word of "SetFile", so it can be a program name with args.
33108 set dummy SetFile; ac_word=$2
33109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33111 if test "${ac_cv_prog_SETFILE+set}" = set; then
33112 echo $ECHO_N "(cached) $ECHO_C" >&6
33113 else
33114 if test -n "$SETFILE"; then
33115 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33116 else
33117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33118 for as_dir in $PATH
33119 do
33120 IFS=$as_save_IFS
33121 test -z "$as_dir" && as_dir=.
33122 for ac_exec_ext in '' $ac_executable_extensions; do
33123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33124 ac_cv_prog_SETFILE="SetFile"
33125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33126 break 2
33127 fi
33128 done
33129 done
33130 IFS=$as_save_IFS
33131
33132 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33133 fi
33134 fi
33135 SETFILE=$ac_cv_prog_SETFILE
33136 if test -n "$SETFILE"; then
33137 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33138 echo "${ECHO_T}$SETFILE" >&6; }
33139 else
33140 { echo "$as_me:$LINENO: result: no" >&5
33141 echo "${ECHO_T}no" >&6; }
33142 fi
33143
33144
33145
33146 MACSETFILE="\$(SETFILE)"
33147
33148 if test "$wxUSE_MAC" = 1; then
33149 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33150 RESCOMP="$REZ"
33151 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33152 else
33153 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33154 RESCOMP="echo -n \| $REZ"
33155 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33156 fi
33157
33158 else
33159 MACSETFILE="@true"
33160
33161 if test "$wxUSE_PM" = 1; then
33162 RESCOMP="emxbind"
33163 WXCONFIG_RESFLAGS="-ep"
33164
33165 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33166 else
33167 POSTLINK_COMMAND="@true"
33168 fi
33169
33170 fi
33171
33172
33173
33174 { echo "$as_me:$LINENO: checking for mode_t" >&5
33175 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33176 if test "${ac_cv_type_mode_t+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33178 else
33179 cat >conftest.$ac_ext <<_ACEOF
33180 /* confdefs.h. */
33181 _ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33185 $ac_includes_default
33186 typedef mode_t ac__type_new_;
33187 int
33188 main ()
33189 {
33190 if ((ac__type_new_ *) 0)
33191 return 0;
33192 if (sizeof (ac__type_new_))
33193 return 0;
33194 ;
33195 return 0;
33196 }
33197 _ACEOF
33198 rm -f conftest.$ac_objext
33199 if { (ac_try="$ac_compile"
33200 case "(($ac_try" in
33201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33202 *) ac_try_echo=$ac_try;;
33203 esac
33204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33205 (eval "$ac_compile") 2>conftest.er1
33206 ac_status=$?
33207 grep -v '^ *+' conftest.er1 >conftest.err
33208 rm -f conftest.er1
33209 cat conftest.err >&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } && {
33212 test -z "$ac_c_werror_flag" ||
33213 test ! -s conftest.err
33214 } && test -s conftest.$ac_objext; then
33215 ac_cv_type_mode_t=yes
33216 else
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33219
33220 ac_cv_type_mode_t=no
33221 fi
33222
33223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33224 fi
33225 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33226 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33227 if test $ac_cv_type_mode_t = yes; then
33228 :
33229 else
33230
33231 cat >>confdefs.h <<_ACEOF
33232 #define mode_t int
33233 _ACEOF
33234
33235 fi
33236
33237 { echo "$as_me:$LINENO: checking for off_t" >&5
33238 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33239 if test "${ac_cv_type_off_t+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33241 else
33242 cat >conftest.$ac_ext <<_ACEOF
33243 /* confdefs.h. */
33244 _ACEOF
33245 cat confdefs.h >>conftest.$ac_ext
33246 cat >>conftest.$ac_ext <<_ACEOF
33247 /* end confdefs.h. */
33248 $ac_includes_default
33249 typedef off_t ac__type_new_;
33250 int
33251 main ()
33252 {
33253 if ((ac__type_new_ *) 0)
33254 return 0;
33255 if (sizeof (ac__type_new_))
33256 return 0;
33257 ;
33258 return 0;
33259 }
33260 _ACEOF
33261 rm -f conftest.$ac_objext
33262 if { (ac_try="$ac_compile"
33263 case "(($ac_try" in
33264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33265 *) ac_try_echo=$ac_try;;
33266 esac
33267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33268 (eval "$ac_compile") 2>conftest.er1
33269 ac_status=$?
33270 grep -v '^ *+' conftest.er1 >conftest.err
33271 rm -f conftest.er1
33272 cat conftest.err >&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); } && {
33275 test -z "$ac_c_werror_flag" ||
33276 test ! -s conftest.err
33277 } && test -s conftest.$ac_objext; then
33278 ac_cv_type_off_t=yes
33279 else
33280 echo "$as_me: failed program was:" >&5
33281 sed 's/^/| /' conftest.$ac_ext >&5
33282
33283 ac_cv_type_off_t=no
33284 fi
33285
33286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33287 fi
33288 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33289 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33290 if test $ac_cv_type_off_t = yes; then
33291 :
33292 else
33293
33294 cat >>confdefs.h <<_ACEOF
33295 #define off_t long int
33296 _ACEOF
33297
33298 fi
33299
33300 { echo "$as_me:$LINENO: checking for pid_t" >&5
33301 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33302 if test "${ac_cv_type_pid_t+set}" = set; then
33303 echo $ECHO_N "(cached) $ECHO_C" >&6
33304 else
33305 cat >conftest.$ac_ext <<_ACEOF
33306 /* confdefs.h. */
33307 _ACEOF
33308 cat confdefs.h >>conftest.$ac_ext
33309 cat >>conftest.$ac_ext <<_ACEOF
33310 /* end confdefs.h. */
33311 $ac_includes_default
33312 typedef pid_t ac__type_new_;
33313 int
33314 main ()
33315 {
33316 if ((ac__type_new_ *) 0)
33317 return 0;
33318 if (sizeof (ac__type_new_))
33319 return 0;
33320 ;
33321 return 0;
33322 }
33323 _ACEOF
33324 rm -f conftest.$ac_objext
33325 if { (ac_try="$ac_compile"
33326 case "(($ac_try" in
33327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33328 *) ac_try_echo=$ac_try;;
33329 esac
33330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33331 (eval "$ac_compile") 2>conftest.er1
33332 ac_status=$?
33333 grep -v '^ *+' conftest.er1 >conftest.err
33334 rm -f conftest.er1
33335 cat conftest.err >&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } && {
33338 test -z "$ac_c_werror_flag" ||
33339 test ! -s conftest.err
33340 } && test -s conftest.$ac_objext; then
33341 ac_cv_type_pid_t=yes
33342 else
33343 echo "$as_me: failed program was:" >&5
33344 sed 's/^/| /' conftest.$ac_ext >&5
33345
33346 ac_cv_type_pid_t=no
33347 fi
33348
33349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33350 fi
33351 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33352 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33353 if test $ac_cv_type_pid_t = yes; then
33354 :
33355 else
33356
33357 cat >>confdefs.h <<_ACEOF
33358 #define pid_t int
33359 _ACEOF
33360
33361 fi
33362
33363 { echo "$as_me:$LINENO: checking for size_t" >&5
33364 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33365 if test "${ac_cv_type_size_t+set}" = set; then
33366 echo $ECHO_N "(cached) $ECHO_C" >&6
33367 else
33368 cat >conftest.$ac_ext <<_ACEOF
33369 /* confdefs.h. */
33370 _ACEOF
33371 cat confdefs.h >>conftest.$ac_ext
33372 cat >>conftest.$ac_ext <<_ACEOF
33373 /* end confdefs.h. */
33374 $ac_includes_default
33375 typedef size_t ac__type_new_;
33376 int
33377 main ()
33378 {
33379 if ((ac__type_new_ *) 0)
33380 return 0;
33381 if (sizeof (ac__type_new_))
33382 return 0;
33383 ;
33384 return 0;
33385 }
33386 _ACEOF
33387 rm -f conftest.$ac_objext
33388 if { (ac_try="$ac_compile"
33389 case "(($ac_try" in
33390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33391 *) ac_try_echo=$ac_try;;
33392 esac
33393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33394 (eval "$ac_compile") 2>conftest.er1
33395 ac_status=$?
33396 grep -v '^ *+' conftest.er1 >conftest.err
33397 rm -f conftest.er1
33398 cat conftest.err >&5
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); } && {
33401 test -z "$ac_c_werror_flag" ||
33402 test ! -s conftest.err
33403 } && test -s conftest.$ac_objext; then
33404 ac_cv_type_size_t=yes
33405 else
33406 echo "$as_me: failed program was:" >&5
33407 sed 's/^/| /' conftest.$ac_ext >&5
33408
33409 ac_cv_type_size_t=no
33410 fi
33411
33412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413 fi
33414 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33415 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33416 if test $ac_cv_type_size_t = yes; then
33417 :
33418 else
33419
33420 cat >>confdefs.h <<_ACEOF
33421 #define size_t unsigned int
33422 _ACEOF
33423
33424 fi
33425
33426 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33427 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33428 if test "${ac_cv_type_uid_t+set}" = set; then
33429 echo $ECHO_N "(cached) $ECHO_C" >&6
33430 else
33431 cat >conftest.$ac_ext <<_ACEOF
33432 /* confdefs.h. */
33433 _ACEOF
33434 cat confdefs.h >>conftest.$ac_ext
33435 cat >>conftest.$ac_ext <<_ACEOF
33436 /* end confdefs.h. */
33437 #include <sys/types.h>
33438
33439 _ACEOF
33440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33441 $EGREP "uid_t" >/dev/null 2>&1; then
33442 ac_cv_type_uid_t=yes
33443 else
33444 ac_cv_type_uid_t=no
33445 fi
33446 rm -f conftest*
33447
33448 fi
33449 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33450 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33451 if test $ac_cv_type_uid_t = no; then
33452
33453 cat >>confdefs.h <<\_ACEOF
33454 #define uid_t int
33455 _ACEOF
33456
33457
33458 cat >>confdefs.h <<\_ACEOF
33459 #define gid_t int
33460 _ACEOF
33461
33462 fi
33463
33464
33465 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33466 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33467 if test "${ac_cv_type_ssize_t+set}" = set; then
33468 echo $ECHO_N "(cached) $ECHO_C" >&6
33469 else
33470 cat >conftest.$ac_ext <<_ACEOF
33471 /* confdefs.h. */
33472 _ACEOF
33473 cat confdefs.h >>conftest.$ac_ext
33474 cat >>conftest.$ac_ext <<_ACEOF
33475 /* end confdefs.h. */
33476 $ac_includes_default
33477 typedef ssize_t ac__type_new_;
33478 int
33479 main ()
33480 {
33481 if ((ac__type_new_ *) 0)
33482 return 0;
33483 if (sizeof (ac__type_new_))
33484 return 0;
33485 ;
33486 return 0;
33487 }
33488 _ACEOF
33489 rm -f conftest.$ac_objext
33490 if { (ac_try="$ac_compile"
33491 case "(($ac_try" in
33492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33493 *) ac_try_echo=$ac_try;;
33494 esac
33495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33496 (eval "$ac_compile") 2>conftest.er1
33497 ac_status=$?
33498 grep -v '^ *+' conftest.er1 >conftest.err
33499 rm -f conftest.er1
33500 cat conftest.err >&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); } && {
33503 test -z "$ac_c_werror_flag" ||
33504 test ! -s conftest.err
33505 } && test -s conftest.$ac_objext; then
33506 ac_cv_type_ssize_t=yes
33507 else
33508 echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33510
33511 ac_cv_type_ssize_t=no
33512 fi
33513
33514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33515 fi
33516 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33517 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33518 if test $ac_cv_type_ssize_t = yes; then
33519
33520 cat >>confdefs.h <<_ACEOF
33521 #define HAVE_SSIZE_T 1
33522 _ACEOF
33523
33524
33525 fi
33526
33527
33528 ac_ext=cpp
33529 ac_cpp='$CXXCPP $CPPFLAGS'
33530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33533 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33534 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33535 if test "${wx_cv_size_t_is_uint+set}" = set; then
33536 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 else
33538
33539 cat >conftest.$ac_ext <<_ACEOF
33540 /* confdefs.h. */
33541 _ACEOF
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33545 #include <stddef.h>
33546 int
33547 main ()
33548 {
33549
33550 return 0; }
33551
33552 struct Foo { void foo(size_t); void foo(unsigned int); };
33553
33554 int bar() {
33555
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 rm -f conftest.$ac_objext
33561 if { (ac_try="$ac_compile"
33562 case "(($ac_try" in
33563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33564 *) ac_try_echo=$ac_try;;
33565 esac
33566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33567 (eval "$ac_compile") 2>conftest.er1
33568 ac_status=$?
33569 grep -v '^ *+' conftest.er1 >conftest.err
33570 rm -f conftest.er1
33571 cat conftest.err >&5
33572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573 (exit $ac_status); } && {
33574 test -z "$ac_cxx_werror_flag" ||
33575 test ! -s conftest.err
33576 } && test -s conftest.$ac_objext; then
33577 wx_cv_size_t_is_uint=no
33578 else
33579 echo "$as_me: failed program was:" >&5
33580 sed 's/^/| /' conftest.$ac_ext >&5
33581
33582 wx_cv_size_t_is_uint=yes
33583
33584 fi
33585
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587
33588
33589 fi
33590 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33591 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33592
33593 if test "$wx_cv_size_t_is_uint" = "yes"; then
33594 cat >>confdefs.h <<\_ACEOF
33595 #define wxSIZE_T_IS_UINT 1
33596 _ACEOF
33597
33598 else
33599 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33600 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33601 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33602 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 else
33604 cat >conftest.$ac_ext <<_ACEOF
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #include <stddef.h>
33611 int
33612 main ()
33613 {
33614
33615 return 0; }
33616
33617 struct Foo { void foo(size_t); void foo(unsigned long); };
33618
33619 int bar() {
33620
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext
33626 if { (ac_try="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33630 esac
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33633 ac_status=$?
33634 grep -v '^ *+' conftest.er1 >conftest.err
33635 rm -f conftest.er1
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_cxx_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.$ac_objext; then
33642 wx_cv_size_t_is_ulong=no
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 wx_cv_size_t_is_ulong=yes
33648
33649 fi
33650
33651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33652
33653 fi
33654 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33655 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33656
33657 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33658 cat >>confdefs.h <<\_ACEOF
33659 #define wxSIZE_T_IS_ULONG 1
33660 _ACEOF
33661
33662 fi
33663 fi
33664
33665 ac_ext=c
33666 ac_cpp='$CPP $CPPFLAGS'
33667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33670
33671
33672 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33673 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33674 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33676 else
33677
33678 cat >conftest.$ac_ext <<_ACEOF
33679 /* confdefs.h. */
33680 _ACEOF
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33684 #include <pwd.h>
33685 int
33686 main ()
33687 {
33688
33689 char *p;
33690 struct passwd *pw;
33691 p = pw->pw_gecos;
33692
33693 ;
33694 return 0;
33695 }
33696 _ACEOF
33697 rm -f conftest.$ac_objext
33698 if { (ac_try="$ac_compile"
33699 case "(($ac_try" in
33700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33701 *) ac_try_echo=$ac_try;;
33702 esac
33703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33704 (eval "$ac_compile") 2>conftest.er1
33705 ac_status=$?
33706 grep -v '^ *+' conftest.er1 >conftest.err
33707 rm -f conftest.er1
33708 cat conftest.err >&5
33709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33710 (exit $ac_status); } && {
33711 test -z "$ac_c_werror_flag" ||
33712 test ! -s conftest.err
33713 } && test -s conftest.$ac_objext; then
33714
33715 wx_cv_struct_pw_gecos=yes
33716
33717 else
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.$ac_ext >&5
33720
33721
33722 wx_cv_struct_pw_gecos=no
33723
33724
33725 fi
33726
33727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33728
33729
33730 fi
33731 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33732 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33733
33734 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33735 cat >>confdefs.h <<\_ACEOF
33736 #define HAVE_PW_GECOS 1
33737 _ACEOF
33738
33739 fi
33740
33741
33742 if test "$wxUSE_WCHAR_T" = "yes"; then
33743 cat >>confdefs.h <<\_ACEOF
33744 #define wxUSE_WCHAR_T 1
33745 _ACEOF
33746
33747
33748 WCSLEN_FOUND=0
33749 WCHAR_LINK=
33750
33751 for ac_func in wcslen
33752 do
33753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33754 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33756 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 else
33759 cat >conftest.$ac_ext <<_ACEOF
33760 /* confdefs.h. */
33761 _ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33767 #define $ac_func innocuous_$ac_func
33768
33769 /* System header to define __stub macros and hopefully few prototypes,
33770 which can conflict with char $ac_func (); below.
33771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33772 <limits.h> exists even on freestanding compilers. */
33773
33774 #ifdef __STDC__
33775 # include <limits.h>
33776 #else
33777 # include <assert.h>
33778 #endif
33779
33780 #undef $ac_func
33781
33782 /* Override any GCC internal prototype to avoid an error.
33783 Use char because int might match the return type of a GCC
33784 builtin and then its argument prototype would still apply. */
33785 #ifdef __cplusplus
33786 extern "C"
33787 #endif
33788 char $ac_func ();
33789 /* The GNU C library defines this for functions which it implements
33790 to always fail with ENOSYS. Some functions are actually named
33791 something starting with __ and the normal name is an alias. */
33792 #if defined __stub_$ac_func || defined __stub___$ac_func
33793 choke me
33794 #endif
33795
33796 int
33797 main ()
33798 {
33799 return $ac_func ();
33800 ;
33801 return 0;
33802 }
33803 _ACEOF
33804 rm -f conftest.$ac_objext conftest$ac_exeext
33805 if { (ac_try="$ac_link"
33806 case "(($ac_try" in
33807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33808 *) ac_try_echo=$ac_try;;
33809 esac
33810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33811 (eval "$ac_link") 2>conftest.er1
33812 ac_status=$?
33813 grep -v '^ *+' conftest.er1 >conftest.err
33814 rm -f conftest.er1
33815 cat conftest.err >&5
33816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33817 (exit $ac_status); } && {
33818 test -z "$ac_c_werror_flag" ||
33819 test ! -s conftest.err
33820 } && test -s conftest$ac_exeext &&
33821 $as_test_x conftest$ac_exeext; then
33822 eval "$as_ac_var=yes"
33823 else
33824 echo "$as_me: failed program was:" >&5
33825 sed 's/^/| /' conftest.$ac_ext >&5
33826
33827 eval "$as_ac_var=no"
33828 fi
33829
33830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33831 conftest$ac_exeext conftest.$ac_ext
33832 fi
33833 ac_res=`eval echo '${'$as_ac_var'}'`
33834 { echo "$as_me:$LINENO: result: $ac_res" >&5
33835 echo "${ECHO_T}$ac_res" >&6; }
33836 if test `eval echo '${'$as_ac_var'}'` = yes; then
33837 cat >>confdefs.h <<_ACEOF
33838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33839 _ACEOF
33840 WCSLEN_FOUND=1
33841 fi
33842 done
33843
33844
33845 if test "$WCSLEN_FOUND" = 0; then
33846 if test "$TOOLKIT" = "MSW"; then
33847 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33848 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33849 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33850 echo $ECHO_N "(cached) $ECHO_C" >&6
33851 else
33852 ac_check_lib_save_LIBS=$LIBS
33853 LIBS="-lmsvcrt $LIBS"
33854 cat >conftest.$ac_ext <<_ACEOF
33855 /* confdefs.h. */
33856 _ACEOF
33857 cat confdefs.h >>conftest.$ac_ext
33858 cat >>conftest.$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33860
33861 /* Override any GCC internal prototype to avoid an error.
33862 Use char because int might match the return type of a GCC
33863 builtin and then its argument prototype would still apply. */
33864 #ifdef __cplusplus
33865 extern "C"
33866 #endif
33867 char wcslen ();
33868 int
33869 main ()
33870 {
33871 return wcslen ();
33872 ;
33873 return 0;
33874 }
33875 _ACEOF
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (ac_try="$ac_link"
33878 case "(($ac_try" in
33879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33880 *) ac_try_echo=$ac_try;;
33881 esac
33882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33883 (eval "$ac_link") 2>conftest.er1
33884 ac_status=$?
33885 grep -v '^ *+' conftest.er1 >conftest.err
33886 rm -f conftest.er1
33887 cat conftest.err >&5
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); } && {
33890 test -z "$ac_c_werror_flag" ||
33891 test ! -s conftest.err
33892 } && test -s conftest$ac_exeext &&
33893 $as_test_x conftest$ac_exeext; then
33894 ac_cv_lib_msvcrt_wcslen=yes
33895 else
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33898
33899 ac_cv_lib_msvcrt_wcslen=no
33900 fi
33901
33902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33903 conftest$ac_exeext conftest.$ac_ext
33904 LIBS=$ac_check_lib_save_LIBS
33905 fi
33906 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33907 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33908 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33909 WCHAR_OK=1
33910 fi
33911
33912 else
33913 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33914 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33915 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33916 echo $ECHO_N "(cached) $ECHO_C" >&6
33917 else
33918 ac_check_lib_save_LIBS=$LIBS
33919 LIBS="-lw $LIBS"
33920 cat >conftest.$ac_ext <<_ACEOF
33921 /* confdefs.h. */
33922 _ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h. */
33926
33927 /* Override any GCC internal prototype to avoid an error.
33928 Use char because int might match the return type of a GCC
33929 builtin and then its argument prototype would still apply. */
33930 #ifdef __cplusplus
33931 extern "C"
33932 #endif
33933 char wcslen ();
33934 int
33935 main ()
33936 {
33937 return wcslen ();
33938 ;
33939 return 0;
33940 }
33941 _ACEOF
33942 rm -f conftest.$ac_objext conftest$ac_exeext
33943 if { (ac_try="$ac_link"
33944 case "(($ac_try" in
33945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33946 *) ac_try_echo=$ac_try;;
33947 esac
33948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33949 (eval "$ac_link") 2>conftest.er1
33950 ac_status=$?
33951 grep -v '^ *+' conftest.er1 >conftest.err
33952 rm -f conftest.er1
33953 cat conftest.err >&5
33954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33955 (exit $ac_status); } && {
33956 test -z "$ac_c_werror_flag" ||
33957 test ! -s conftest.err
33958 } && test -s conftest$ac_exeext &&
33959 $as_test_x conftest$ac_exeext; then
33960 ac_cv_lib_w_wcslen=yes
33961 else
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.$ac_ext >&5
33964
33965 ac_cv_lib_w_wcslen=no
33966 fi
33967
33968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33969 conftest$ac_exeext conftest.$ac_ext
33970 LIBS=$ac_check_lib_save_LIBS
33971 fi
33972 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33973 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33974 if test $ac_cv_lib_w_wcslen = yes; then
33975
33976 WCHAR_LINK=" -lw"
33977 WCSLEN_FOUND=1
33978
33979 fi
33980
33981 fi
33982 fi
33983
33984 if test "$WCSLEN_FOUND" = 1; then
33985 cat >>confdefs.h <<\_ACEOF
33986 #define HAVE_WCSLEN 1
33987 _ACEOF
33988
33989 fi
33990
33991 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33992 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33993 fi
33994
33995 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33996 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33997 if test "${ac_cv_type_mbstate_t+set}" = set; then
33998 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 else
34000 cat >conftest.$ac_ext <<_ACEOF
34001 /* confdefs.h. */
34002 _ACEOF
34003 cat confdefs.h >>conftest.$ac_ext
34004 cat >>conftest.$ac_ext <<_ACEOF
34005 /* end confdefs.h. */
34006 #include <wchar.h>
34007
34008 typedef mbstate_t ac__type_new_;
34009 int
34010 main ()
34011 {
34012 if ((ac__type_new_ *) 0)
34013 return 0;
34014 if (sizeof (ac__type_new_))
34015 return 0;
34016 ;
34017 return 0;
34018 }
34019 _ACEOF
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34025 esac
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34028 ac_status=$?
34029 grep -v '^ *+' conftest.er1 >conftest.err
34030 rm -f conftest.er1
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_c_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 ac_cv_type_mbstate_t=yes
34038 else
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34041
34042 ac_cv_type_mbstate_t=no
34043 fi
34044
34045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34046 fi
34047 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34048 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34049 if test $ac_cv_type_mbstate_t = yes; then
34050
34051 cat >>confdefs.h <<_ACEOF
34052 #define HAVE_MBSTATE_T 1
34053 _ACEOF
34054
34055
34056 for ac_func in wcsrtombs
34057 do
34058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34059 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34061 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34064 cat >conftest.$ac_ext <<_ACEOF
34065 /* confdefs.h. */
34066 _ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34072 #define $ac_func innocuous_$ac_func
34073
34074 /* System header to define __stub macros and hopefully few prototypes,
34075 which can conflict with char $ac_func (); below.
34076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34077 <limits.h> exists even on freestanding compilers. */
34078
34079 #ifdef __STDC__
34080 # include <limits.h>
34081 #else
34082 # include <assert.h>
34083 #endif
34084
34085 #undef $ac_func
34086
34087 /* Override any GCC internal prototype to avoid an error.
34088 Use char because int might match the return type of a GCC
34089 builtin and then its argument prototype would still apply. */
34090 #ifdef __cplusplus
34091 extern "C"
34092 #endif
34093 char $ac_func ();
34094 /* The GNU C library defines this for functions which it implements
34095 to always fail with ENOSYS. Some functions are actually named
34096 something starting with __ and the normal name is an alias. */
34097 #if defined __stub_$ac_func || defined __stub___$ac_func
34098 choke me
34099 #endif
34100
34101 int
34102 main ()
34103 {
34104 return $ac_func ();
34105 ;
34106 return 0;
34107 }
34108 _ACEOF
34109 rm -f conftest.$ac_objext conftest$ac_exeext
34110 if { (ac_try="$ac_link"
34111 case "(($ac_try" in
34112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34113 *) ac_try_echo=$ac_try;;
34114 esac
34115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34116 (eval "$ac_link") 2>conftest.er1
34117 ac_status=$?
34118 grep -v '^ *+' conftest.er1 >conftest.err
34119 rm -f conftest.er1
34120 cat conftest.err >&5
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); } && {
34123 test -z "$ac_c_werror_flag" ||
34124 test ! -s conftest.err
34125 } && test -s conftest$ac_exeext &&
34126 $as_test_x conftest$ac_exeext; then
34127 eval "$as_ac_var=yes"
34128 else
34129 echo "$as_me: failed program was:" >&5
34130 sed 's/^/| /' conftest.$ac_ext >&5
34131
34132 eval "$as_ac_var=no"
34133 fi
34134
34135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34136 conftest$ac_exeext conftest.$ac_ext
34137 fi
34138 ac_res=`eval echo '${'$as_ac_var'}'`
34139 { echo "$as_me:$LINENO: result: $ac_res" >&5
34140 echo "${ECHO_T}$ac_res" >&6; }
34141 if test `eval echo '${'$as_ac_var'}'` = yes; then
34142 cat >>confdefs.h <<_ACEOF
34143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34144 _ACEOF
34145
34146 fi
34147 done
34148
34149 fi
34150
34151 else
34152 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34153 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34154 fi
34155
34156
34157
34158 for ac_func in snprintf vsnprintf
34159 do
34160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34161 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34163 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34164 echo $ECHO_N "(cached) $ECHO_C" >&6
34165 else
34166 cat >conftest.$ac_ext <<_ACEOF
34167 /* confdefs.h. */
34168 _ACEOF
34169 cat confdefs.h >>conftest.$ac_ext
34170 cat >>conftest.$ac_ext <<_ACEOF
34171 /* end confdefs.h. */
34172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34174 #define $ac_func innocuous_$ac_func
34175
34176 /* System header to define __stub macros and hopefully few prototypes,
34177 which can conflict with char $ac_func (); below.
34178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34179 <limits.h> exists even on freestanding compilers. */
34180
34181 #ifdef __STDC__
34182 # include <limits.h>
34183 #else
34184 # include <assert.h>
34185 #endif
34186
34187 #undef $ac_func
34188
34189 /* Override any GCC internal prototype to avoid an error.
34190 Use char because int might match the return type of a GCC
34191 builtin and then its argument prototype would still apply. */
34192 #ifdef __cplusplus
34193 extern "C"
34194 #endif
34195 char $ac_func ();
34196 /* The GNU C library defines this for functions which it implements
34197 to always fail with ENOSYS. Some functions are actually named
34198 something starting with __ and the normal name is an alias. */
34199 #if defined __stub_$ac_func || defined __stub___$ac_func
34200 choke me
34201 #endif
34202
34203 int
34204 main ()
34205 {
34206 return $ac_func ();
34207 ;
34208 return 0;
34209 }
34210 _ACEOF
34211 rm -f conftest.$ac_objext conftest$ac_exeext
34212 if { (ac_try="$ac_link"
34213 case "(($ac_try" in
34214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34215 *) ac_try_echo=$ac_try;;
34216 esac
34217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34218 (eval "$ac_link") 2>conftest.er1
34219 ac_status=$?
34220 grep -v '^ *+' conftest.er1 >conftest.err
34221 rm -f conftest.er1
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } && {
34225 test -z "$ac_c_werror_flag" ||
34226 test ! -s conftest.err
34227 } && test -s conftest$ac_exeext &&
34228 $as_test_x conftest$ac_exeext; then
34229 eval "$as_ac_var=yes"
34230 else
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34233
34234 eval "$as_ac_var=no"
34235 fi
34236
34237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34238 conftest$ac_exeext conftest.$ac_ext
34239 fi
34240 ac_res=`eval echo '${'$as_ac_var'}'`
34241 { echo "$as_me:$LINENO: result: $ac_res" >&5
34242 echo "${ECHO_T}$ac_res" >&6; }
34243 if test `eval echo '${'$as_ac_var'}'` = yes; then
34244 cat >>confdefs.h <<_ACEOF
34245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34246 _ACEOF
34247
34248 fi
34249 done
34250
34251
34252 if test "$ac_cv_func_vsnprintf" = "yes"; then
34253 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34254 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34255 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34257 else
34258
34259 cat >conftest.$ac_ext <<_ACEOF
34260 /* confdefs.h. */
34261 _ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34265
34266 #include <stdio.h>
34267 #include <stdarg.h>
34268 #ifdef __MSL__
34269 #if __MSL__ >= 0x6000
34270 namespace std {}
34271 using namespace std;
34272 #endif
34273 #endif
34274
34275 int
34276 main ()
34277 {
34278
34279 char *buf;
34280 va_list ap;
34281 vsnprintf(buf, 10u, "%s", ap);
34282
34283 ;
34284 return 0;
34285 }
34286 _ACEOF
34287 rm -f conftest.$ac_objext
34288 if { (ac_try="$ac_compile"
34289 case "(($ac_try" in
34290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34291 *) ac_try_echo=$ac_try;;
34292 esac
34293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34294 (eval "$ac_compile") 2>conftest.er1
34295 ac_status=$?
34296 grep -v '^ *+' conftest.er1 >conftest.err
34297 rm -f conftest.er1
34298 cat conftest.err >&5
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); } && {
34301 test -z "$ac_c_werror_flag" ||
34302 test ! -s conftest.err
34303 } && test -s conftest.$ac_objext; then
34304 wx_cv_func_vsnprintf_decl=yes
34305 else
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34308
34309 wx_cv_func_vsnprintf_decl=no
34310
34311 fi
34312
34313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34314
34315
34316 fi
34317 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34318 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34319
34320 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34321 cat >>confdefs.h <<\_ACEOF
34322 #define HAVE_VSNPRINTF_DECL 1
34323 _ACEOF
34324
34325
34326 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34327 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34328 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34329 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 else
34331
34332 cat >conftest.$ac_ext <<_ACEOF
34333 /* confdefs.h. */
34334 _ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34338
34339 #include <stdio.h>
34340 #include <stdarg.h>
34341 #ifdef __MSL__
34342 #if __MSL__ >= 0x6000
34343 namespace std {}
34344 using namespace std;
34345 #endif
34346 #endif
34347
34348 int
34349 main ()
34350 {
34351
34352 char *buf;
34353 va_list ap;
34354 const char *fmt = "%s";
34355 vsnprintf(buf, 10u, fmt, ap);
34356
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext
34362 if { (ac_try="$ac_compile"
34363 case "(($ac_try" in
34364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34365 *) ac_try_echo=$ac_try;;
34366 esac
34367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34368 (eval "$ac_compile") 2>conftest.er1
34369 ac_status=$?
34370 grep -v '^ *+' conftest.er1 >conftest.err
34371 rm -f conftest.er1
34372 cat conftest.err >&5
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); } && {
34375 test -z "$ac_c_werror_flag" ||
34376 test ! -s conftest.err
34377 } && test -s conftest.$ac_objext; then
34378 wx_cv_func_broken_vsnprintf_decl=no
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 wx_cv_func_broken_vsnprintf_decl=yes
34384
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34388
34389
34390 fi
34391 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34392 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34393
34394 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34395 cat >>confdefs.h <<\_ACEOF
34396 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34397 _ACEOF
34398
34399 fi
34400 fi
34401 fi
34402
34403 if test "$ac_cv_func_snprintf" = "yes"; then
34404 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34405 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34406 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34407 echo $ECHO_N "(cached) $ECHO_C" >&6
34408 else
34409
34410 cat >conftest.$ac_ext <<_ACEOF
34411 /* confdefs.h. */
34412 _ACEOF
34413 cat confdefs.h >>conftest.$ac_ext
34414 cat >>conftest.$ac_ext <<_ACEOF
34415 /* end confdefs.h. */
34416
34417 #include <stdio.h>
34418 #include <stdarg.h>
34419 #ifdef __MSL__
34420 #if __MSL__ >= 0x6000
34421 namespace std {}
34422 using namespace std;
34423 #endif
34424 #endif
34425
34426 int
34427 main ()
34428 {
34429
34430 char *buf;
34431 snprintf(buf, 10u, "%s", "wx");
34432
34433 ;
34434 return 0;
34435 }
34436 _ACEOF
34437 rm -f conftest.$ac_objext
34438 if { (ac_try="$ac_compile"
34439 case "(($ac_try" in
34440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34441 *) ac_try_echo=$ac_try;;
34442 esac
34443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34444 (eval "$ac_compile") 2>conftest.er1
34445 ac_status=$?
34446 grep -v '^ *+' conftest.er1 >conftest.err
34447 rm -f conftest.er1
34448 cat conftest.err >&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } && {
34451 test -z "$ac_c_werror_flag" ||
34452 test ! -s conftest.err
34453 } && test -s conftest.$ac_objext; then
34454 wx_cv_func_snprintf_decl=yes
34455 else
34456 echo "$as_me: failed program was:" >&5
34457 sed 's/^/| /' conftest.$ac_ext >&5
34458
34459 wx_cv_func_snprintf_decl=no
34460
34461 fi
34462
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34464
34465
34466 fi
34467 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34468 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34469
34470 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34471 cat >>confdefs.h <<\_ACEOF
34472 #define HAVE_SNPRINTF_DECL 1
34473 _ACEOF
34474
34475
34476 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34477 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34478 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34480 else
34481
34482 cat >conftest.$ac_ext <<_ACEOF
34483 /* confdefs.h. */
34484 _ACEOF
34485 cat confdefs.h >>conftest.$ac_ext
34486 cat >>conftest.$ac_ext <<_ACEOF
34487 /* end confdefs.h. */
34488
34489 #include <stdio.h>
34490 #include <stdarg.h>
34491 #ifdef __MSL__
34492 #if __MSL__ >= 0x6000
34493 namespace std {}
34494 using namespace std;
34495 #endif
34496 #endif
34497
34498 int
34499 main ()
34500 {
34501
34502 char *buf;
34503 const char *fmt = "%s";
34504 snprintf(buf, 10u, fmt, "wx");
34505
34506 ;
34507 return 0;
34508 }
34509 _ACEOF
34510 rm -f conftest.$ac_objext
34511 if { (ac_try="$ac_compile"
34512 case "(($ac_try" in
34513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34514 *) ac_try_echo=$ac_try;;
34515 esac
34516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34517 (eval "$ac_compile") 2>conftest.er1
34518 ac_status=$?
34519 grep -v '^ *+' conftest.er1 >conftest.err
34520 rm -f conftest.er1
34521 cat conftest.err >&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } && {
34524 test -z "$ac_c_werror_flag" ||
34525 test ! -s conftest.err
34526 } && test -s conftest.$ac_objext; then
34527 wx_cv_func_broken_snprintf_decl=no
34528 else
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34531
34532 wx_cv_func_broken_snprintf_decl=yes
34533
34534 fi
34535
34536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34537
34538
34539 fi
34540 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34541 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34542
34543 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34544 cat >>confdefs.h <<\_ACEOF
34545 #define HAVE_BROKEN_SNPRINTF_DECL 1
34546 _ACEOF
34547
34548 fi
34549 fi
34550
34551 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34552
34553 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34554 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34555 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 else
34558
34559 if test "$cross_compiling" = yes; then
34560
34561 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34562 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34563 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34565 wx_cv_func_snprintf_pos_params=no
34566
34567
34568 else
34569 cat >conftest.$ac_ext <<_ACEOF
34570 /* confdefs.h. */
34571 _ACEOF
34572 cat confdefs.h >>conftest.$ac_ext
34573 cat >>conftest.$ac_ext <<_ACEOF
34574 /* end confdefs.h. */
34575
34576 #include <stdio.h>
34577
34578 int main (void)
34579 {
34580 char buffer[128];
34581 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34582 if (strcmp ("2 3 1", buffer) == 0)
34583 exit (0);
34584 exit (1);
34585 }
34586
34587 _ACEOF
34588 rm -f conftest$ac_exeext
34589 if { (ac_try="$ac_link"
34590 case "(($ac_try" in
34591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34593 esac
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_link") 2>&5
34596 ac_status=$?
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34599 { (case "(($ac_try" in
34600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34601 *) ac_try_echo=$ac_try;;
34602 esac
34603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34604 (eval "$ac_try") 2>&5
34605 ac_status=$?
34606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34607 (exit $ac_status); }; }; then
34608 wx_cv_func_snprintf_pos_params=no
34609 else
34610 echo "$as_me: program exited with status $ac_status" >&5
34611 echo "$as_me: failed program was:" >&5
34612 sed 's/^/| /' conftest.$ac_ext >&5
34613
34614 ( exit $ac_status )
34615 wx_cv_func_snprintf_pos_params=yes
34616 fi
34617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34618 fi
34619
34620
34621
34622
34623 fi
34624 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34625 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34626
34627 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34628 cat >>confdefs.h <<\_ACEOF
34629 #define HAVE_UNIX98_PRINTF 1
34630 _ACEOF
34631
34632 fi
34633 fi
34634 fi
34635
34636 if test "$wxUSE_UNICODE" = yes; then
34637
34638
34639 for ac_func in swprintf
34640 do
34641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34645 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 else
34647 cat >conftest.$ac_ext <<_ACEOF
34648 /* confdefs.h. */
34649 _ACEOF
34650 cat confdefs.h >>conftest.$ac_ext
34651 cat >>conftest.$ac_ext <<_ACEOF
34652 /* end confdefs.h. */
34653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34655 #define $ac_func innocuous_$ac_func
34656
34657 /* System header to define __stub macros and hopefully few prototypes,
34658 which can conflict with char $ac_func (); below.
34659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34660 <limits.h> exists even on freestanding compilers. */
34661
34662 #ifdef __STDC__
34663 # include <limits.h>
34664 #else
34665 # include <assert.h>
34666 #endif
34667
34668 #undef $ac_func
34669
34670 /* Override any GCC internal prototype to avoid an error.
34671 Use char because int might match the return type of a GCC
34672 builtin and then its argument prototype would still apply. */
34673 #ifdef __cplusplus
34674 extern "C"
34675 #endif
34676 char $ac_func ();
34677 /* The GNU C library defines this for functions which it implements
34678 to always fail with ENOSYS. Some functions are actually named
34679 something starting with __ and the normal name is an alias. */
34680 #if defined __stub_$ac_func || defined __stub___$ac_func
34681 choke me
34682 #endif
34683
34684 int
34685 main ()
34686 {
34687 return $ac_func ();
34688 ;
34689 return 0;
34690 }
34691 _ACEOF
34692 rm -f conftest.$ac_objext conftest$ac_exeext
34693 if { (ac_try="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34697 esac
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34700 ac_status=$?
34701 grep -v '^ *+' conftest.er1 >conftest.err
34702 rm -f conftest.er1
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_c_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 eval "$as_ac_var=yes"
34711 else
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34714
34715 eval "$as_ac_var=no"
34716 fi
34717
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34720 fi
34721 ac_res=`eval echo '${'$as_ac_var'}'`
34722 { echo "$as_me:$LINENO: result: $ac_res" >&5
34723 echo "${ECHO_T}$ac_res" >&6; }
34724 if test `eval echo '${'$as_ac_var'}'` = yes; then
34725 cat >>confdefs.h <<_ACEOF
34726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34727 _ACEOF
34728
34729 fi
34730 done
34731
34732
34733 if test "$ac_cv_func_swprintf" = "yes"; then
34734 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34735 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34736 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739
34740 cat >conftest.$ac_ext <<_ACEOF
34741 /* confdefs.h. */
34742 _ACEOF
34743 cat confdefs.h >>conftest.$ac_ext
34744 cat >>conftest.$ac_ext <<_ACEOF
34745 /* end confdefs.h. */
34746
34747 #include <stdio.h>
34748 #include <stdarg.h>
34749 #include <wchar.h>
34750
34751 int
34752 main ()
34753 {
34754
34755 wchar_t *buf;
34756 const wchar_t *fmt = L"test";
34757 swprintf(buf, 10u, fmt);
34758
34759 ;
34760 return 0;
34761 }
34762 _ACEOF
34763 rm -f conftest.$ac_objext
34764 if { (ac_try="$ac_compile"
34765 case "(($ac_try" in
34766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34767 *) ac_try_echo=$ac_try;;
34768 esac
34769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34770 (eval "$ac_compile") 2>conftest.er1
34771 ac_status=$?
34772 grep -v '^ *+' conftest.er1 >conftest.err
34773 rm -f conftest.er1
34774 cat conftest.err >&5
34775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34776 (exit $ac_status); } && {
34777 test -z "$ac_c_werror_flag" ||
34778 test ! -s conftest.err
34779 } && test -s conftest.$ac_objext; then
34780 wx_cv_func_broken_swprintf_decl=no
34781 else
34782 echo "$as_me: failed program was:" >&5
34783 sed 's/^/| /' conftest.$ac_ext >&5
34784
34785 wx_cv_func_broken_swprintf_decl=yes
34786
34787 fi
34788
34789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34790
34791
34792 fi
34793 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34794 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34795
34796 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34797 cat >>confdefs.h <<\_ACEOF
34798 #define HAVE_BROKEN_SWPRINTF_DECL 1
34799 _ACEOF
34800
34801 fi
34802 fi
34803
34804 wchar_headers="#include <stdio.h>
34805 #include <wchar.h>"
34806 case "${host}" in
34807 *-*-solaris2* )
34808 { echo "$as_me:$LINENO: checking for widec.h" >&5
34809 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34810 if test "${ac_cv_header_widec_h+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34813 cat >conftest.$ac_ext <<_ACEOF
34814 /* confdefs.h. */
34815 _ACEOF
34816 cat confdefs.h >>conftest.$ac_ext
34817 cat >>conftest.$ac_ext <<_ACEOF
34818 /* end confdefs.h. */
34819 $ac_includes_default
34820
34821 #include <widec.h>
34822 _ACEOF
34823 rm -f conftest.$ac_objext
34824 if { (ac_try="$ac_compile"
34825 case "(($ac_try" in
34826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34827 *) ac_try_echo=$ac_try;;
34828 esac
34829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34830 (eval "$ac_compile") 2>conftest.er1
34831 ac_status=$?
34832 grep -v '^ *+' conftest.er1 >conftest.err
34833 rm -f conftest.er1
34834 cat conftest.err >&5
34835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34836 (exit $ac_status); } && {
34837 test -z "$ac_c_werror_flag" ||
34838 test ! -s conftest.err
34839 } && test -s conftest.$ac_objext; then
34840 ac_cv_header_widec_h=yes
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845 ac_cv_header_widec_h=no
34846 fi
34847
34848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34849 fi
34850 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34851 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34852
34853
34854 if test "$ac_cv_header_widec_h" = "yes"; then
34855 wchar_headers="$wchar_headers
34856 #include <widec.h>"
34857 fi
34858 esac
34859
34860
34861 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34862 do
34863 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34864 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34865 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34867 else
34868
34869 cat >conftest.$ac_ext <<_ACEOF
34870
34871 /* confdefs.h. */
34872 _ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34876
34877 $wchar_headers
34878 $ac_includes_default
34879
34880 int
34881 main ()
34882 {
34883
34884 #ifndef $wx_func
34885 &$wx_func;
34886 #endif
34887
34888
34889 ;
34890 return 0;
34891 }
34892
34893 _ACEOF
34894 rm -f conftest.$ac_objext conftest$ac_exeext
34895 if { (ac_try="$ac_link"
34896 case "(($ac_try" in
34897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34898 *) ac_try_echo=$ac_try;;
34899 esac
34900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34901 (eval "$ac_link") 2>conftest.er1
34902 ac_status=$?
34903 grep -v '^ *+' conftest.er1 >conftest.err
34904 rm -f conftest.er1
34905 cat conftest.err >&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } && {
34908 test -z "$ac_c_werror_flag" ||
34909 test ! -s conftest.err
34910 } && test -s conftest$ac_exeext &&
34911 $as_test_x conftest$ac_exeext; then
34912 eval wx_cv_func_$wx_func=yes
34913 else
34914 echo "$as_me: failed program was:" >&5
34915 sed 's/^/| /' conftest.$ac_ext >&5
34916
34917 eval wx_cv_func_$wx_func=no
34918 fi
34919
34920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34921 conftest$ac_exeext conftest.$ac_ext
34922
34923 fi
34924 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34925 { echo "$as_me:$LINENO: result: $ac_res" >&5
34926 echo "${ECHO_T}$ac_res" >&6; }
34927
34928 if eval test \$wx_cv_func_$wx_func = yes
34929 then
34930 cat >>confdefs.h <<_ACEOF
34931 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34932 _ACEOF
34933
34934
34935 else
34936 :
34937
34938 fi
34939 done
34940
34941
34942 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34943 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34944 cat >conftest.$ac_ext <<_ACEOF
34945 /* confdefs.h. */
34946 _ACEOF
34947 cat confdefs.h >>conftest.$ac_ext
34948 cat >>conftest.$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34950 #include <wchar.h>
34951 int
34952 main ()
34953 {
34954 &_vsnwprintf;
34955 ;
34956 return 0;
34957 }
34958 _ACEOF
34959 rm -f conftest.$ac_objext
34960 if { (ac_try="$ac_compile"
34961 case "(($ac_try" in
34962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34963 *) ac_try_echo=$ac_try;;
34964 esac
34965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34966 (eval "$ac_compile") 2>conftest.er1
34967 ac_status=$?
34968 grep -v '^ *+' conftest.er1 >conftest.err
34969 rm -f conftest.er1
34970 cat conftest.err >&5
34971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34972 (exit $ac_status); } && {
34973 test -z "$ac_c_werror_flag" ||
34974 test ! -s conftest.err
34975 } && test -s conftest.$ac_objext; then
34976 { echo "$as_me:$LINENO: result: yes" >&5
34977 echo "${ECHO_T}yes" >&6; }
34978 cat >>confdefs.h <<\_ACEOF
34979 #define HAVE__VSNWPRINTF 1
34980 _ACEOF
34981
34982 else
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34985
34986 { echo "$as_me:$LINENO: result: no" >&5
34987 echo "${ECHO_T}no" >&6; }
34988 fi
34989
34990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34991 fi
34992
34993 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34994
34995 for wx_func in fnmatch
34996 do
34997 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34998 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34999 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35000 echo $ECHO_N "(cached) $ECHO_C" >&6
35001 else
35002
35003 cat >conftest.$ac_ext <<_ACEOF
35004
35005 /* confdefs.h. */
35006 _ACEOF
35007 cat confdefs.h >>conftest.$ac_ext
35008 cat >>conftest.$ac_ext <<_ACEOF
35009 /* end confdefs.h. */
35010
35011 #include <fnmatch.h>
35012 $ac_includes_default
35013
35014 int
35015 main ()
35016 {
35017
35018 #ifndef $wx_func
35019 &$wx_func;
35020 #endif
35021
35022
35023 ;
35024 return 0;
35025 }
35026
35027 _ACEOF
35028 rm -f conftest.$ac_objext conftest$ac_exeext
35029 if { (ac_try="$ac_link"
35030 case "(($ac_try" in
35031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35032 *) ac_try_echo=$ac_try;;
35033 esac
35034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35035 (eval "$ac_link") 2>conftest.er1
35036 ac_status=$?
35037 grep -v '^ *+' conftest.er1 >conftest.err
35038 rm -f conftest.er1
35039 cat conftest.err >&5
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); } && {
35042 test -z "$ac_c_werror_flag" ||
35043 test ! -s conftest.err
35044 } && test -s conftest$ac_exeext &&
35045 $as_test_x conftest$ac_exeext; then
35046 eval wx_cv_func_$wx_func=yes
35047 else
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35050
35051 eval wx_cv_func_$wx_func=no
35052 fi
35053
35054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35055 conftest$ac_exeext conftest.$ac_ext
35056
35057 fi
35058 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35059 { echo "$as_me:$LINENO: result: $ac_res" >&5
35060 echo "${ECHO_T}$ac_res" >&6; }
35061
35062 if eval test \$wx_cv_func_$wx_func = yes
35063 then
35064 cat >>confdefs.h <<_ACEOF
35065 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35066 _ACEOF
35067
35068
35069 else
35070 :
35071
35072 fi
35073 done
35074
35075 fi
35076
35077 if test "$wxUSE_FILE" = "yes"; then
35078
35079 for wx_func in fsync
35080 do
35081 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35082 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35083 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35084 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 else
35086
35087 cat >conftest.$ac_ext <<_ACEOF
35088
35089 /* confdefs.h. */
35090 _ACEOF
35091 cat confdefs.h >>conftest.$ac_ext
35092 cat >>conftest.$ac_ext <<_ACEOF
35093 /* end confdefs.h. */
35094
35095
35096 $ac_includes_default
35097
35098 int
35099 main ()
35100 {
35101
35102 #ifndef $wx_func
35103 &$wx_func;
35104 #endif
35105
35106
35107 ;
35108 return 0;
35109 }
35110
35111 _ACEOF
35112 rm -f conftest.$ac_objext conftest$ac_exeext
35113 if { (ac_try="$ac_link"
35114 case "(($ac_try" in
35115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35116 *) ac_try_echo=$ac_try;;
35117 esac
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_link") 2>conftest.er1
35120 ac_status=$?
35121 grep -v '^ *+' conftest.er1 >conftest.err
35122 rm -f conftest.er1
35123 cat conftest.err >&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } && {
35126 test -z "$ac_c_werror_flag" ||
35127 test ! -s conftest.err
35128 } && test -s conftest$ac_exeext &&
35129 $as_test_x conftest$ac_exeext; then
35130 eval wx_cv_func_$wx_func=yes
35131 else
35132 echo "$as_me: failed program was:" >&5
35133 sed 's/^/| /' conftest.$ac_ext >&5
35134
35135 eval wx_cv_func_$wx_func=no
35136 fi
35137
35138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35139 conftest$ac_exeext conftest.$ac_ext
35140
35141 fi
35142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35143 { echo "$as_me:$LINENO: result: $ac_res" >&5
35144 echo "${ECHO_T}$ac_res" >&6; }
35145
35146 if eval test \$wx_cv_func_$wx_func = yes
35147 then
35148 cat >>confdefs.h <<_ACEOF
35149 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35150 _ACEOF
35151
35152
35153 else
35154 :
35155
35156 fi
35157 done
35158
35159 fi
35160
35161 ac_ext=cpp
35162 ac_cpp='$CXXCPP $CPPFLAGS'
35163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35166
35167
35168 for wx_func in round
35169 do
35170 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35171 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35172 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35173 echo $ECHO_N "(cached) $ECHO_C" >&6
35174 else
35175
35176 cat >conftest.$ac_ext <<_ACEOF
35177
35178 /* confdefs.h. */
35179 _ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35183
35184 #include <math.h>
35185 $ac_includes_default
35186
35187 int
35188 main ()
35189 {
35190
35191 #ifndef $wx_func
35192 &$wx_func;
35193 #endif
35194
35195
35196 ;
35197 return 0;
35198 }
35199
35200 _ACEOF
35201 rm -f conftest.$ac_objext conftest$ac_exeext
35202 if { (ac_try="$ac_link"
35203 case "(($ac_try" in
35204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35205 *) ac_try_echo=$ac_try;;
35206 esac
35207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35208 (eval "$ac_link") 2>conftest.er1
35209 ac_status=$?
35210 grep -v '^ *+' conftest.er1 >conftest.err
35211 rm -f conftest.er1
35212 cat conftest.err >&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } && {
35215 test -z "$ac_cxx_werror_flag" ||
35216 test ! -s conftest.err
35217 } && test -s conftest$ac_exeext &&
35218 $as_test_x conftest$ac_exeext; then
35219 eval wx_cv_func_$wx_func=yes
35220 else
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35223
35224 eval wx_cv_func_$wx_func=no
35225 fi
35226
35227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35228 conftest$ac_exeext conftest.$ac_ext
35229
35230 fi
35231 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35232 { echo "$as_me:$LINENO: result: $ac_res" >&5
35233 echo "${ECHO_T}$ac_res" >&6; }
35234
35235 if eval test \$wx_cv_func_$wx_func = yes
35236 then
35237 cat >>confdefs.h <<_ACEOF
35238 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35239 _ACEOF
35240
35241
35242 else
35243 :
35244
35245 fi
35246 done
35247
35248 ac_ext=c
35249 ac_cpp='$CPP $CPPFLAGS'
35250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35253
35254
35255 if test "$TOOLKIT" != "MSW"; then
35256
35257
35258
35259
35260
35261 # Check whether --with-libiconv-prefix was given.
35262 if test "${with_libiconv_prefix+set}" = set; then
35263 withval=$with_libiconv_prefix;
35264 for dir in `echo "$withval" | tr : ' '`; do
35265 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35266 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35267 done
35268
35269 fi
35270
35271
35272 { echo "$as_me:$LINENO: checking for iconv" >&5
35273 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35274 if test "${am_cv_func_iconv+set}" = set; then
35275 echo $ECHO_N "(cached) $ECHO_C" >&6
35276 else
35277
35278 am_cv_func_iconv="no, consider installing GNU libiconv"
35279 am_cv_lib_iconv=no
35280 cat >conftest.$ac_ext <<_ACEOF
35281 /* confdefs.h. */
35282 _ACEOF
35283 cat confdefs.h >>conftest.$ac_ext
35284 cat >>conftest.$ac_ext <<_ACEOF
35285 /* end confdefs.h. */
35286 #include <stdlib.h>
35287 #include <iconv.h>
35288 int
35289 main ()
35290 {
35291 iconv_t cd = iconv_open("","");
35292 iconv(cd,NULL,NULL,NULL,NULL);
35293 iconv_close(cd);
35294 ;
35295 return 0;
35296 }
35297 _ACEOF
35298 rm -f conftest.$ac_objext conftest$ac_exeext
35299 if { (ac_try="$ac_link"
35300 case "(($ac_try" in
35301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35302 *) ac_try_echo=$ac_try;;
35303 esac
35304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35305 (eval "$ac_link") 2>conftest.er1
35306 ac_status=$?
35307 grep -v '^ *+' conftest.er1 >conftest.err
35308 rm -f conftest.er1
35309 cat conftest.err >&5
35310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35311 (exit $ac_status); } && {
35312 test -z "$ac_c_werror_flag" ||
35313 test ! -s conftest.err
35314 } && test -s conftest$ac_exeext &&
35315 $as_test_x conftest$ac_exeext; then
35316 am_cv_func_iconv=yes
35317 else
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35320
35321
35322 fi
35323
35324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35325 conftest$ac_exeext conftest.$ac_ext
35326 if test "$am_cv_func_iconv" != yes; then
35327 am_save_LIBS="$LIBS"
35328 LIBS="$LIBS -liconv"
35329 cat >conftest.$ac_ext <<_ACEOF
35330 /* confdefs.h. */
35331 _ACEOF
35332 cat confdefs.h >>conftest.$ac_ext
35333 cat >>conftest.$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35335 #include <stdlib.h>
35336 #include <iconv.h>
35337 int
35338 main ()
35339 {
35340 iconv_t cd = iconv_open("","");
35341 iconv(cd,NULL,NULL,NULL,NULL);
35342 iconv_close(cd);
35343 ;
35344 return 0;
35345 }
35346 _ACEOF
35347 rm -f conftest.$ac_objext conftest$ac_exeext
35348 if { (ac_try="$ac_link"
35349 case "(($ac_try" in
35350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35351 *) ac_try_echo=$ac_try;;
35352 esac
35353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35354 (eval "$ac_link") 2>conftest.er1
35355 ac_status=$?
35356 grep -v '^ *+' conftest.er1 >conftest.err
35357 rm -f conftest.er1
35358 cat conftest.err >&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } && {
35361 test -z "$ac_c_werror_flag" ||
35362 test ! -s conftest.err
35363 } && test -s conftest$ac_exeext &&
35364 $as_test_x conftest$ac_exeext; then
35365 am_cv_lib_iconv=yes
35366 am_cv_func_iconv=yes
35367 else
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.$ac_ext >&5
35370
35371
35372 fi
35373
35374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35375 conftest$ac_exeext conftest.$ac_ext
35376 LIBS="$am_save_LIBS"
35377 fi
35378
35379 fi
35380 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35381 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35382 if test "$am_cv_func_iconv" = yes; then
35383
35384 cat >>confdefs.h <<\_ACEOF
35385 #define HAVE_ICONV 1
35386 _ACEOF
35387
35388 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35389 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35390 if test "${wx_cv_func_iconv_const+set}" = set; then
35391 echo $ECHO_N "(cached) $ECHO_C" >&6
35392 else
35393 cat >conftest.$ac_ext <<_ACEOF
35394 /* confdefs.h. */
35395 _ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399
35400 #include <stdlib.h>
35401 #include <iconv.h>
35402 extern
35403 #ifdef __cplusplus
35404 "C"
35405 #endif
35406 #if defined(__STDC__) || defined(__cplusplus)
35407 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35408 #else
35409 size_t iconv();
35410 #endif
35411
35412 int
35413 main ()
35414 {
35415
35416 ;
35417 return 0;
35418 }
35419 _ACEOF
35420 rm -f conftest.$ac_objext
35421 if { (ac_try="$ac_compile"
35422 case "(($ac_try" in
35423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35424 *) ac_try_echo=$ac_try;;
35425 esac
35426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35427 (eval "$ac_compile") 2>conftest.er1
35428 ac_status=$?
35429 grep -v '^ *+' conftest.er1 >conftest.err
35430 rm -f conftest.er1
35431 cat conftest.err >&5
35432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35433 (exit $ac_status); } && {
35434 test -z "$ac_c_werror_flag" ||
35435 test ! -s conftest.err
35436 } && test -s conftest.$ac_objext; then
35437 wx_cv_func_iconv_const="no"
35438 else
35439 echo "$as_me: failed program was:" >&5
35440 sed 's/^/| /' conftest.$ac_ext >&5
35441
35442 wx_cv_func_iconv_const="yes"
35443
35444 fi
35445
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447
35448 fi
35449 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35450 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35451
35452 iconv_const=
35453 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35454 iconv_const="const"
35455 fi
35456
35457
35458 cat >>confdefs.h <<_ACEOF
35459 #define ICONV_CONST $iconv_const
35460 _ACEOF
35461
35462 fi
35463 LIBICONV=
35464 if test "$am_cv_lib_iconv" = yes; then
35465 LIBICONV="-liconv"
35466 fi
35467
35468
35469 LIBS="$LIBICONV $LIBS"
35470
35471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35472
35473 for ac_func in sigaction
35474 do
35475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35479 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 else
35481 cat >conftest.$ac_ext <<_ACEOF
35482 /* confdefs.h. */
35483 _ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35489 #define $ac_func innocuous_$ac_func
35490
35491 /* System header to define __stub macros and hopefully few prototypes,
35492 which can conflict with char $ac_func (); below.
35493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35494 <limits.h> exists even on freestanding compilers. */
35495
35496 #ifdef __STDC__
35497 # include <limits.h>
35498 #else
35499 # include <assert.h>
35500 #endif
35501
35502 #undef $ac_func
35503
35504 /* Override any GCC internal prototype to avoid an error.
35505 Use char because int might match the return type of a GCC
35506 builtin and then its argument prototype would still apply. */
35507 #ifdef __cplusplus
35508 extern "C"
35509 #endif
35510 char $ac_func ();
35511 /* The GNU C library defines this for functions which it implements
35512 to always fail with ENOSYS. Some functions are actually named
35513 something starting with __ and the normal name is an alias. */
35514 #if defined __stub_$ac_func || defined __stub___$ac_func
35515 choke me
35516 #endif
35517
35518 int
35519 main ()
35520 {
35521 return $ac_func ();
35522 ;
35523 return 0;
35524 }
35525 _ACEOF
35526 rm -f conftest.$ac_objext conftest$ac_exeext
35527 if { (ac_try="$ac_link"
35528 case "(($ac_try" in
35529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35530 *) ac_try_echo=$ac_try;;
35531 esac
35532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35533 (eval "$ac_link") 2>conftest.er1
35534 ac_status=$?
35535 grep -v '^ *+' conftest.er1 >conftest.err
35536 rm -f conftest.er1
35537 cat conftest.err >&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 (exit $ac_status); } && {
35540 test -z "$ac_c_werror_flag" ||
35541 test ! -s conftest.err
35542 } && test -s conftest$ac_exeext &&
35543 $as_test_x conftest$ac_exeext; then
35544 eval "$as_ac_var=yes"
35545 else
35546 echo "$as_me: failed program was:" >&5
35547 sed 's/^/| /' conftest.$ac_ext >&5
35548
35549 eval "$as_ac_var=no"
35550 fi
35551
35552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35553 conftest$ac_exeext conftest.$ac_ext
35554 fi
35555 ac_res=`eval echo '${'$as_ac_var'}'`
35556 { echo "$as_me:$LINENO: result: $ac_res" >&5
35557 echo "${ECHO_T}$ac_res" >&6; }
35558 if test `eval echo '${'$as_ac_var'}'` = yes; then
35559 cat >>confdefs.h <<_ACEOF
35560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35561 _ACEOF
35562
35563 fi
35564 done
35565
35566
35567 if test "$ac_cv_func_sigaction" = "no"; then
35568 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35569 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35570 wxUSE_ON_FATAL_EXCEPTION=no
35571 fi
35572
35573 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35574 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35575 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35576 if test "${wx_cv_type_sa_handler+set}" = set; then
35577 echo $ECHO_N "(cached) $ECHO_C" >&6
35578 else
35579
35580 ac_ext=cpp
35581 ac_cpp='$CXXCPP $CPPFLAGS'
35582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35585
35586 cat >conftest.$ac_ext <<_ACEOF
35587 /* confdefs.h. */
35588 _ACEOF
35589 cat confdefs.h >>conftest.$ac_ext
35590 cat >>conftest.$ac_ext <<_ACEOF
35591 /* end confdefs.h. */
35592 #include <signal.h>
35593 int
35594 main ()
35595 {
35596
35597 extern void testSigHandler(int);
35598
35599 struct sigaction sa;
35600 sa.sa_handler = testSigHandler;
35601
35602 ;
35603 return 0;
35604 }
35605 _ACEOF
35606 rm -f conftest.$ac_objext
35607 if { (ac_try="$ac_compile"
35608 case "(($ac_try" in
35609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35610 *) ac_try_echo=$ac_try;;
35611 esac
35612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35613 (eval "$ac_compile") 2>conftest.er1
35614 ac_status=$?
35615 grep -v '^ *+' conftest.er1 >conftest.err
35616 rm -f conftest.er1
35617 cat conftest.err >&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); } && {
35620 test -z "$ac_cxx_werror_flag" ||
35621 test ! -s conftest.err
35622 } && test -s conftest.$ac_objext; then
35623
35624 wx_cv_type_sa_handler=int
35625
35626 else
35627 echo "$as_me: failed program was:" >&5
35628 sed 's/^/| /' conftest.$ac_ext >&5
35629
35630
35631 wx_cv_type_sa_handler=void
35632
35633 fi
35634
35635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35636 ac_ext=c
35637 ac_cpp='$CPP $CPPFLAGS'
35638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35641
35642
35643 fi
35644 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35645 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35646
35647 cat >>confdefs.h <<_ACEOF
35648 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35649 _ACEOF
35650
35651 fi
35652 fi
35653
35654 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35655 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35656 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35657 if test "${wx_cv_func_backtrace+set}" = set; then
35658 echo $ECHO_N "(cached) $ECHO_C" >&6
35659 else
35660
35661 ac_ext=cpp
35662 ac_cpp='$CXXCPP $CPPFLAGS'
35663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35666
35667 cat >conftest.$ac_ext <<_ACEOF
35668 /* confdefs.h. */
35669 _ACEOF
35670 cat confdefs.h >>conftest.$ac_ext
35671 cat >>conftest.$ac_ext <<_ACEOF
35672 /* end confdefs.h. */
35673 #include <execinfo.h>
35674 int
35675 main ()
35676 {
35677
35678 void *trace[1];
35679 char **messages;
35680
35681 backtrace(trace, 1);
35682 messages = backtrace_symbols(trace, 1);
35683
35684 ;
35685 return 0;
35686 }
35687 _ACEOF
35688 rm -f conftest.$ac_objext
35689 if { (ac_try="$ac_compile"
35690 case "(($ac_try" in
35691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35692 *) ac_try_echo=$ac_try;;
35693 esac
35694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35695 (eval "$ac_compile") 2>conftest.er1
35696 ac_status=$?
35697 grep -v '^ *+' conftest.er1 >conftest.err
35698 rm -f conftest.er1
35699 cat conftest.err >&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); } && {
35702 test -z "$ac_cxx_werror_flag" ||
35703 test ! -s conftest.err
35704 } && test -s conftest.$ac_objext; then
35705 wx_cv_func_backtrace=yes
35706 else
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.$ac_ext >&5
35709
35710 wx_cv_func_backtrace=no
35711
35712 fi
35713
35714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35715 ac_ext=c
35716 ac_cpp='$CPP $CPPFLAGS'
35717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35720
35721
35722
35723 fi
35724 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35725 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35726
35727
35728 if test "$wx_cv_func_backtrace" = "no"; then
35729 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35730 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35731 wxUSE_STACKWALKER=no
35732 else
35733 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35734 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35735 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35736 echo $ECHO_N "(cached) $ECHO_C" >&6
35737 else
35738
35739 ac_ext=cpp
35740 ac_cpp='$CXXCPP $CPPFLAGS'
35741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35744
35745 cat >conftest.$ac_ext <<_ACEOF
35746 /* confdefs.h. */
35747 _ACEOF
35748 cat confdefs.h >>conftest.$ac_ext
35749 cat >>conftest.$ac_ext <<_ACEOF
35750 /* end confdefs.h. */
35751 #include <cxxabi.h>
35752 int
35753 main ()
35754 {
35755
35756 int rc;
35757 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35758
35759 ;
35760 return 0;
35761 }
35762 _ACEOF
35763 rm -f conftest.$ac_objext conftest$ac_exeext
35764 if { (ac_try="$ac_link"
35765 case "(($ac_try" in
35766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35767 *) ac_try_echo=$ac_try;;
35768 esac
35769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35770 (eval "$ac_link") 2>conftest.er1
35771 ac_status=$?
35772 grep -v '^ *+' conftest.er1 >conftest.err
35773 rm -f conftest.er1
35774 cat conftest.err >&5
35775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35776 (exit $ac_status); } && {
35777 test -z "$ac_cxx_werror_flag" ||
35778 test ! -s conftest.err
35779 } && test -s conftest$ac_exeext &&
35780 $as_test_x conftest$ac_exeext; then
35781 wx_cv_func_cxa_demangle=yes
35782 else
35783 echo "$as_me: failed program was:" >&5
35784 sed 's/^/| /' conftest.$ac_ext >&5
35785
35786 wx_cv_func_cxa_demangle=no
35787
35788 fi
35789
35790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35791 conftest$ac_exeext conftest.$ac_ext
35792 ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35797
35798
35799
35800 fi
35801 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35802 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35803
35804 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35805 cat >>confdefs.h <<\_ACEOF
35806 #define HAVE_CXA_DEMANGLE 1
35807 _ACEOF
35808
35809 fi
35810 fi
35811 fi
35812
35813 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35814 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35815 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35816 wxUSE_STACKWALKER=no
35817 fi
35818
35819
35820
35821
35822 for ac_func in mkstemp mktemp
35823 do
35824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 else
35830 cat >conftest.$ac_ext <<_ACEOF
35831 /* confdefs.h. */
35832 _ACEOF
35833 cat confdefs.h >>conftest.$ac_ext
35834 cat >>conftest.$ac_ext <<_ACEOF
35835 /* end confdefs.h. */
35836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35838 #define $ac_func innocuous_$ac_func
35839
35840 /* System header to define __stub macros and hopefully few prototypes,
35841 which can conflict with char $ac_func (); below.
35842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35843 <limits.h> exists even on freestanding compilers. */
35844
35845 #ifdef __STDC__
35846 # include <limits.h>
35847 #else
35848 # include <assert.h>
35849 #endif
35850
35851 #undef $ac_func
35852
35853 /* Override any GCC internal prototype to avoid an error.
35854 Use char because int might match the return type of a GCC
35855 builtin and then its argument prototype would still apply. */
35856 #ifdef __cplusplus
35857 extern "C"
35858 #endif
35859 char $ac_func ();
35860 /* The GNU C library defines this for functions which it implements
35861 to always fail with ENOSYS. Some functions are actually named
35862 something starting with __ and the normal name is an alias. */
35863 #if defined __stub_$ac_func || defined __stub___$ac_func
35864 choke me
35865 #endif
35866
35867 int
35868 main ()
35869 {
35870 return $ac_func ();
35871 ;
35872 return 0;
35873 }
35874 _ACEOF
35875 rm -f conftest.$ac_objext conftest$ac_exeext
35876 if { (ac_try="$ac_link"
35877 case "(($ac_try" in
35878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35879 *) ac_try_echo=$ac_try;;
35880 esac
35881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35882 (eval "$ac_link") 2>conftest.er1
35883 ac_status=$?
35884 grep -v '^ *+' conftest.er1 >conftest.err
35885 rm -f conftest.er1
35886 cat conftest.err >&5
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); } && {
35889 test -z "$ac_c_werror_flag" ||
35890 test ! -s conftest.err
35891 } && test -s conftest$ac_exeext &&
35892 $as_test_x conftest$ac_exeext; then
35893 eval "$as_ac_var=yes"
35894 else
35895 echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.$ac_ext >&5
35897
35898 eval "$as_ac_var=no"
35899 fi
35900
35901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35902 conftest$ac_exeext conftest.$ac_ext
35903 fi
35904 ac_res=`eval echo '${'$as_ac_var'}'`
35905 { echo "$as_me:$LINENO: result: $ac_res" >&5
35906 echo "${ECHO_T}$ac_res" >&6; }
35907 if test `eval echo '${'$as_ac_var'}'` = yes; then
35908 cat >>confdefs.h <<_ACEOF
35909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35910 _ACEOF
35911 break
35912 fi
35913 done
35914
35915
35916 { echo "$as_me:$LINENO: checking for statfs" >&5
35917 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35918 if test "${wx_cv_func_statfs+set}" = set; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35920 else
35921 cat >conftest.$ac_ext <<_ACEOF
35922 /* confdefs.h. */
35923 _ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927
35928 #if defined(__BSD__)
35929 #include <sys/param.h>
35930 #include <sys/mount.h>
35931 #else
35932 #include <sys/vfs.h>
35933 #endif
35934
35935 int
35936 main ()
35937 {
35938
35939 long l;
35940 struct statfs fs;
35941 statfs("/", &fs);
35942 l = fs.f_bsize;
35943 l += fs.f_blocks;
35944 l += fs.f_bavail;
35945
35946 ;
35947 return 0;
35948 }
35949 _ACEOF
35950 rm -f conftest.$ac_objext
35951 if { (ac_try="$ac_compile"
35952 case "(($ac_try" in
35953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35954 *) ac_try_echo=$ac_try;;
35955 esac
35956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35957 (eval "$ac_compile") 2>conftest.er1
35958 ac_status=$?
35959 grep -v '^ *+' conftest.er1 >conftest.err
35960 rm -f conftest.er1
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } && {
35964 test -z "$ac_c_werror_flag" ||
35965 test ! -s conftest.err
35966 } && test -s conftest.$ac_objext; then
35967 wx_cv_func_statfs=yes
35968 else
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.$ac_ext >&5
35971
35972 wx_cv_func_statfs=no
35973
35974 fi
35975
35976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35977
35978 fi
35979 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35980 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35981
35982 if test "$wx_cv_func_statfs" = "yes"; then
35983 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35984 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35985 if test "${wx_cv_func_statfs_decl+set}" = set; then
35986 echo $ECHO_N "(cached) $ECHO_C" >&6
35987 else
35988 ac_ext=cpp
35989 ac_cpp='$CXXCPP $CPPFLAGS'
35990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35993
35994 cat >conftest.$ac_ext <<_ACEOF
35995 /* confdefs.h. */
35996 _ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000
36001 #if defined(__BSD__)
36002 #include <sys/param.h>
36003 #include <sys/mount.h>
36004 #else
36005 #include <sys/vfs.h>
36006 #endif
36007
36008 int
36009 main ()
36010 {
36011
36012 struct statfs fs;
36013 statfs("", &fs);
36014
36015 ;
36016 return 0;
36017 }
36018 _ACEOF
36019 rm -f conftest.$ac_objext
36020 if { (ac_try="$ac_compile"
36021 case "(($ac_try" in
36022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36023 *) ac_try_echo=$ac_try;;
36024 esac
36025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36026 (eval "$ac_compile") 2>conftest.er1
36027 ac_status=$?
36028 grep -v '^ *+' conftest.er1 >conftest.err
36029 rm -f conftest.er1
36030 cat conftest.err >&5
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); } && {
36033 test -z "$ac_cxx_werror_flag" ||
36034 test ! -s conftest.err
36035 } && test -s conftest.$ac_objext; then
36036 wx_cv_func_statfs_decl=yes
36037 else
36038 echo "$as_me: failed program was:" >&5
36039 sed 's/^/| /' conftest.$ac_ext >&5
36040
36041 wx_cv_func_statfs_decl=no
36042
36043 fi
36044
36045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36046 ac_ext=c
36047 ac_cpp='$CPP $CPPFLAGS'
36048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36051
36052
36053 fi
36054 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36055 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36056
36057 if test "$wx_cv_func_statfs_decl" = "yes"; then
36058 cat >>confdefs.h <<\_ACEOF
36059 #define HAVE_STATFS_DECL 1
36060 _ACEOF
36061
36062 fi
36063
36064 wx_cv_type_statvfs_t="struct statfs"
36065 cat >>confdefs.h <<\_ACEOF
36066 #define HAVE_STATFS 1
36067 _ACEOF
36068
36069 else
36070 { echo "$as_me:$LINENO: checking for statvfs" >&5
36071 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36072 if test "${wx_cv_func_statvfs+set}" = set; then
36073 echo $ECHO_N "(cached) $ECHO_C" >&6
36074 else
36075 cat >conftest.$ac_ext <<_ACEOF
36076 /* confdefs.h. */
36077 _ACEOF
36078 cat confdefs.h >>conftest.$ac_ext
36079 cat >>conftest.$ac_ext <<_ACEOF
36080 /* end confdefs.h. */
36081
36082 #include <stddef.h>
36083 #include <sys/statvfs.h>
36084
36085 int
36086 main ()
36087 {
36088
36089 statvfs("/", NULL);
36090
36091 ;
36092 return 0;
36093 }
36094 _ACEOF
36095 rm -f conftest.$ac_objext
36096 if { (ac_try="$ac_compile"
36097 case "(($ac_try" in
36098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36099 *) ac_try_echo=$ac_try;;
36100 esac
36101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36102 (eval "$ac_compile") 2>conftest.er1
36103 ac_status=$?
36104 grep -v '^ *+' conftest.er1 >conftest.err
36105 rm -f conftest.er1
36106 cat conftest.err >&5
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); } && {
36109 test -z "$ac_c_werror_flag" ||
36110 test ! -s conftest.err
36111 } && test -s conftest.$ac_objext; then
36112 wx_cv_func_statvfs=yes
36113 else
36114 echo "$as_me: failed program was:" >&5
36115 sed 's/^/| /' conftest.$ac_ext >&5
36116
36117 wx_cv_func_statvfs=no
36118
36119 fi
36120
36121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36122
36123 fi
36124 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36125 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36126
36127 if test "$wx_cv_func_statvfs" = "yes"; then
36128 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36129 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36130 if test "${wx_cv_type_statvfs_t+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 else
36133 ac_ext=cpp
36134 ac_cpp='$CXXCPP $CPPFLAGS'
36135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36138
36139 cat >conftest.$ac_ext <<_ACEOF
36140 /* confdefs.h. */
36141 _ACEOF
36142 cat confdefs.h >>conftest.$ac_ext
36143 cat >>conftest.$ac_ext <<_ACEOF
36144 /* end confdefs.h. */
36145
36146 #include <sys/statvfs.h>
36147
36148 int
36149 main ()
36150 {
36151
36152 long l;
36153 statvfs_t fs;
36154 statvfs("/", &fs);
36155 l = fs.f_bsize;
36156 l += fs.f_blocks;
36157 l += fs.f_bavail;
36158
36159 ;
36160 return 0;
36161 }
36162 _ACEOF
36163 rm -f conftest.$ac_objext
36164 if { (ac_try="$ac_compile"
36165 case "(($ac_try" in
36166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36167 *) ac_try_echo=$ac_try;;
36168 esac
36169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36170 (eval "$ac_compile") 2>conftest.er1
36171 ac_status=$?
36172 grep -v '^ *+' conftest.er1 >conftest.err
36173 rm -f conftest.er1
36174 cat conftest.err >&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); } && {
36177 test -z "$ac_cxx_werror_flag" ||
36178 test ! -s conftest.err
36179 } && test -s conftest.$ac_objext; then
36180 wx_cv_type_statvfs_t=statvfs_t
36181 else
36182 echo "$as_me: failed program was:" >&5
36183 sed 's/^/| /' conftest.$ac_ext >&5
36184
36185
36186 cat >conftest.$ac_ext <<_ACEOF
36187 /* confdefs.h. */
36188 _ACEOF
36189 cat confdefs.h >>conftest.$ac_ext
36190 cat >>conftest.$ac_ext <<_ACEOF
36191 /* end confdefs.h. */
36192
36193 #include <sys/statvfs.h>
36194
36195 int
36196 main ()
36197 {
36198
36199 long l;
36200 struct statvfs fs;
36201 statvfs("/", &fs);
36202 l = fs.f_bsize;
36203 l += fs.f_blocks;
36204 l += fs.f_bavail;
36205
36206 ;
36207 return 0;
36208 }
36209 _ACEOF
36210 rm -f conftest.$ac_objext
36211 if { (ac_try="$ac_compile"
36212 case "(($ac_try" in
36213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36214 *) ac_try_echo=$ac_try;;
36215 esac
36216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36217 (eval "$ac_compile") 2>conftest.er1
36218 ac_status=$?
36219 grep -v '^ *+' conftest.er1 >conftest.err
36220 rm -f conftest.er1
36221 cat conftest.err >&5
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); } && {
36224 test -z "$ac_cxx_werror_flag" ||
36225 test ! -s conftest.err
36226 } && test -s conftest.$ac_objext; then
36227 wx_cv_type_statvfs_t="struct statvfs"
36228 else
36229 echo "$as_me: failed program was:" >&5
36230 sed 's/^/| /' conftest.$ac_ext >&5
36231
36232 wx_cv_type_statvfs_t="unknown"
36233
36234 fi
36235
36236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36237
36238
36239 fi
36240
36241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36242 ac_ext=c
36243 ac_cpp='$CPP $CPPFLAGS'
36244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36247
36248
36249 fi
36250 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36251 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36252
36253 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36254 cat >>confdefs.h <<\_ACEOF
36255 #define HAVE_STATVFS 1
36256 _ACEOF
36257
36258 fi
36259 else
36260 wx_cv_type_statvfs_t="unknown"
36261 fi
36262 fi
36263
36264 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36265 cat >>confdefs.h <<_ACEOF
36266 #define WX_STATFS_T $wx_cv_type_statvfs_t
36267 _ACEOF
36268
36269 else
36270 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36271 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36272 fi
36273
36274 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36275
36276
36277 for ac_func in fcntl flock
36278 do
36279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 else
36285 cat >conftest.$ac_ext <<_ACEOF
36286 /* confdefs.h. */
36287 _ACEOF
36288 cat confdefs.h >>conftest.$ac_ext
36289 cat >>conftest.$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36293 #define $ac_func innocuous_$ac_func
36294
36295 /* System header to define __stub macros and hopefully few prototypes,
36296 which can conflict with char $ac_func (); below.
36297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36298 <limits.h> exists even on freestanding compilers. */
36299
36300 #ifdef __STDC__
36301 # include <limits.h>
36302 #else
36303 # include <assert.h>
36304 #endif
36305
36306 #undef $ac_func
36307
36308 /* Override any GCC internal prototype to avoid an error.
36309 Use char because int might match the return type of a GCC
36310 builtin and then its argument prototype would still apply. */
36311 #ifdef __cplusplus
36312 extern "C"
36313 #endif
36314 char $ac_func ();
36315 /* The GNU C library defines this for functions which it implements
36316 to always fail with ENOSYS. Some functions are actually named
36317 something starting with __ and the normal name is an alias. */
36318 #if defined __stub_$ac_func || defined __stub___$ac_func
36319 choke me
36320 #endif
36321
36322 int
36323 main ()
36324 {
36325 return $ac_func ();
36326 ;
36327 return 0;
36328 }
36329 _ACEOF
36330 rm -f conftest.$ac_objext conftest$ac_exeext
36331 if { (ac_try="$ac_link"
36332 case "(($ac_try" in
36333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36334 *) ac_try_echo=$ac_try;;
36335 esac
36336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36337 (eval "$ac_link") 2>conftest.er1
36338 ac_status=$?
36339 grep -v '^ *+' conftest.er1 >conftest.err
36340 rm -f conftest.er1
36341 cat conftest.err >&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } && {
36344 test -z "$ac_c_werror_flag" ||
36345 test ! -s conftest.err
36346 } && test -s conftest$ac_exeext &&
36347 $as_test_x conftest$ac_exeext; then
36348 eval "$as_ac_var=yes"
36349 else
36350 echo "$as_me: failed program was:" >&5
36351 sed 's/^/| /' conftest.$ac_ext >&5
36352
36353 eval "$as_ac_var=no"
36354 fi
36355
36356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36357 conftest$ac_exeext conftest.$ac_ext
36358 fi
36359 ac_res=`eval echo '${'$as_ac_var'}'`
36360 { echo "$as_me:$LINENO: result: $ac_res" >&5
36361 echo "${ECHO_T}$ac_res" >&6; }
36362 if test `eval echo '${'$as_ac_var'}'` = yes; then
36363 cat >>confdefs.h <<_ACEOF
36364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36365 _ACEOF
36366 break
36367 fi
36368 done
36369
36370
36371 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36372 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36373 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36374 wxUSE_SNGLINST_CHECKER=no
36375 fi
36376 fi
36377
36378
36379 for ac_func in timegm
36380 do
36381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 else
36387 cat >conftest.$ac_ext <<_ACEOF
36388 /* confdefs.h. */
36389 _ACEOF
36390 cat confdefs.h >>conftest.$ac_ext
36391 cat >>conftest.$ac_ext <<_ACEOF
36392 /* end confdefs.h. */
36393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36395 #define $ac_func innocuous_$ac_func
36396
36397 /* System header to define __stub macros and hopefully few prototypes,
36398 which can conflict with char $ac_func (); below.
36399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36400 <limits.h> exists even on freestanding compilers. */
36401
36402 #ifdef __STDC__
36403 # include <limits.h>
36404 #else
36405 # include <assert.h>
36406 #endif
36407
36408 #undef $ac_func
36409
36410 /* Override any GCC internal prototype to avoid an error.
36411 Use char because int might match the return type of a GCC
36412 builtin and then its argument prototype would still apply. */
36413 #ifdef __cplusplus
36414 extern "C"
36415 #endif
36416 char $ac_func ();
36417 /* The GNU C library defines this for functions which it implements
36418 to always fail with ENOSYS. Some functions are actually named
36419 something starting with __ and the normal name is an alias. */
36420 #if defined __stub_$ac_func || defined __stub___$ac_func
36421 choke me
36422 #endif
36423
36424 int
36425 main ()
36426 {
36427 return $ac_func ();
36428 ;
36429 return 0;
36430 }
36431 _ACEOF
36432 rm -f conftest.$ac_objext conftest$ac_exeext
36433 if { (ac_try="$ac_link"
36434 case "(($ac_try" in
36435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36436 *) ac_try_echo=$ac_try;;
36437 esac
36438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36439 (eval "$ac_link") 2>conftest.er1
36440 ac_status=$?
36441 grep -v '^ *+' conftest.er1 >conftest.err
36442 rm -f conftest.er1
36443 cat conftest.err >&5
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); } && {
36446 test -z "$ac_c_werror_flag" ||
36447 test ! -s conftest.err
36448 } && test -s conftest$ac_exeext &&
36449 $as_test_x conftest$ac_exeext; then
36450 eval "$as_ac_var=yes"
36451 else
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.$ac_ext >&5
36454
36455 eval "$as_ac_var=no"
36456 fi
36457
36458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36459 conftest$ac_exeext conftest.$ac_ext
36460 fi
36461 ac_res=`eval echo '${'$as_ac_var'}'`
36462 { echo "$as_me:$LINENO: result: $ac_res" >&5
36463 echo "${ECHO_T}$ac_res" >&6; }
36464 if test `eval echo '${'$as_ac_var'}'` = yes; then
36465 cat >>confdefs.h <<_ACEOF
36466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36467 _ACEOF
36468
36469 fi
36470 done
36471
36472
36473
36474
36475 for ac_func in putenv setenv
36476 do
36477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 else
36483 cat >conftest.$ac_ext <<_ACEOF
36484 /* confdefs.h. */
36485 _ACEOF
36486 cat confdefs.h >>conftest.$ac_ext
36487 cat >>conftest.$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36491 #define $ac_func innocuous_$ac_func
36492
36493 /* System header to define __stub macros and hopefully few prototypes,
36494 which can conflict with char $ac_func (); below.
36495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36496 <limits.h> exists even on freestanding compilers. */
36497
36498 #ifdef __STDC__
36499 # include <limits.h>
36500 #else
36501 # include <assert.h>
36502 #endif
36503
36504 #undef $ac_func
36505
36506 /* Override any GCC internal prototype to avoid an error.
36507 Use char because int might match the return type of a GCC
36508 builtin and then its argument prototype would still apply. */
36509 #ifdef __cplusplus
36510 extern "C"
36511 #endif
36512 char $ac_func ();
36513 /* The GNU C library defines this for functions which it implements
36514 to always fail with ENOSYS. Some functions are actually named
36515 something starting with __ and the normal name is an alias. */
36516 #if defined __stub_$ac_func || defined __stub___$ac_func
36517 choke me
36518 #endif
36519
36520 int
36521 main ()
36522 {
36523 return $ac_func ();
36524 ;
36525 return 0;
36526 }
36527 _ACEOF
36528 rm -f conftest.$ac_objext conftest$ac_exeext
36529 if { (ac_try="$ac_link"
36530 case "(($ac_try" in
36531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36532 *) ac_try_echo=$ac_try;;
36533 esac
36534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36535 (eval "$ac_link") 2>conftest.er1
36536 ac_status=$?
36537 grep -v '^ *+' conftest.er1 >conftest.err
36538 rm -f conftest.er1
36539 cat conftest.err >&5
36540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36541 (exit $ac_status); } && {
36542 test -z "$ac_c_werror_flag" ||
36543 test ! -s conftest.err
36544 } && test -s conftest$ac_exeext &&
36545 $as_test_x conftest$ac_exeext; then
36546 eval "$as_ac_var=yes"
36547 else
36548 echo "$as_me: failed program was:" >&5
36549 sed 's/^/| /' conftest.$ac_ext >&5
36550
36551 eval "$as_ac_var=no"
36552 fi
36553
36554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36555 conftest$ac_exeext conftest.$ac_ext
36556 fi
36557 ac_res=`eval echo '${'$as_ac_var'}'`
36558 { echo "$as_me:$LINENO: result: $ac_res" >&5
36559 echo "${ECHO_T}$ac_res" >&6; }
36560 if test `eval echo '${'$as_ac_var'}'` = yes; then
36561 cat >>confdefs.h <<_ACEOF
36562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36563 _ACEOF
36564 break
36565 fi
36566 done
36567
36568
36569 HAVE_SOME_SLEEP_FUNC=0
36570 if test "$USE_BEOS" = 1; then
36571 cat >>confdefs.h <<\_ACEOF
36572 #define HAVE_SLEEP 1
36573 _ACEOF
36574
36575 HAVE_SOME_SLEEP_FUNC=1
36576 fi
36577
36578 if test "$USE_DARWIN" = 1; then
36579 cat >>confdefs.h <<\_ACEOF
36580 #define HAVE_USLEEP 1
36581 _ACEOF
36582
36583 HAVE_SOME_SLEEP_FUNC=1
36584 fi
36585
36586 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36587 POSIX4_LINK=
36588
36589 for ac_func in nanosleep
36590 do
36591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36592 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36594 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36595 echo $ECHO_N "(cached) $ECHO_C" >&6
36596 else
36597 cat >conftest.$ac_ext <<_ACEOF
36598 /* confdefs.h. */
36599 _ACEOF
36600 cat confdefs.h >>conftest.$ac_ext
36601 cat >>conftest.$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36605 #define $ac_func innocuous_$ac_func
36606
36607 /* System header to define __stub macros and hopefully few prototypes,
36608 which can conflict with char $ac_func (); below.
36609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36610 <limits.h> exists even on freestanding compilers. */
36611
36612 #ifdef __STDC__
36613 # include <limits.h>
36614 #else
36615 # include <assert.h>
36616 #endif
36617
36618 #undef $ac_func
36619
36620 /* Override any GCC internal prototype to avoid an error.
36621 Use char because int might match the return type of a GCC
36622 builtin and then its argument prototype would still apply. */
36623 #ifdef __cplusplus
36624 extern "C"
36625 #endif
36626 char $ac_func ();
36627 /* The GNU C library defines this for functions which it implements
36628 to always fail with ENOSYS. Some functions are actually named
36629 something starting with __ and the normal name is an alias. */
36630 #if defined __stub_$ac_func || defined __stub___$ac_func
36631 choke me
36632 #endif
36633
36634 int
36635 main ()
36636 {
36637 return $ac_func ();
36638 ;
36639 return 0;
36640 }
36641 _ACEOF
36642 rm -f conftest.$ac_objext conftest$ac_exeext
36643 if { (ac_try="$ac_link"
36644 case "(($ac_try" in
36645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36646 *) ac_try_echo=$ac_try;;
36647 esac
36648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36649 (eval "$ac_link") 2>conftest.er1
36650 ac_status=$?
36651 grep -v '^ *+' conftest.er1 >conftest.err
36652 rm -f conftest.er1
36653 cat conftest.err >&5
36654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36655 (exit $ac_status); } && {
36656 test -z "$ac_c_werror_flag" ||
36657 test ! -s conftest.err
36658 } && test -s conftest$ac_exeext &&
36659 $as_test_x conftest$ac_exeext; then
36660 eval "$as_ac_var=yes"
36661 else
36662 echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36664
36665 eval "$as_ac_var=no"
36666 fi
36667
36668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36669 conftest$ac_exeext conftest.$ac_ext
36670 fi
36671 ac_res=`eval echo '${'$as_ac_var'}'`
36672 { echo "$as_me:$LINENO: result: $ac_res" >&5
36673 echo "${ECHO_T}$ac_res" >&6; }
36674 if test `eval echo '${'$as_ac_var'}'` = yes; then
36675 cat >>confdefs.h <<_ACEOF
36676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36677 _ACEOF
36678 cat >>confdefs.h <<\_ACEOF
36679 #define HAVE_NANOSLEEP 1
36680 _ACEOF
36681
36682 else
36683
36684 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36685 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36686 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36687 echo $ECHO_N "(cached) $ECHO_C" >&6
36688 else
36689 ac_check_lib_save_LIBS=$LIBS
36690 LIBS="-lposix4 $LIBS"
36691 cat >conftest.$ac_ext <<_ACEOF
36692 /* confdefs.h. */
36693 _ACEOF
36694 cat confdefs.h >>conftest.$ac_ext
36695 cat >>conftest.$ac_ext <<_ACEOF
36696 /* end confdefs.h. */
36697
36698 /* Override any GCC internal prototype to avoid an error.
36699 Use char because int might match the return type of a GCC
36700 builtin and then its argument prototype would still apply. */
36701 #ifdef __cplusplus
36702 extern "C"
36703 #endif
36704 char nanosleep ();
36705 int
36706 main ()
36707 {
36708 return nanosleep ();
36709 ;
36710 return 0;
36711 }
36712 _ACEOF
36713 rm -f conftest.$ac_objext conftest$ac_exeext
36714 if { (ac_try="$ac_link"
36715 case "(($ac_try" in
36716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36717 *) ac_try_echo=$ac_try;;
36718 esac
36719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36720 (eval "$ac_link") 2>conftest.er1
36721 ac_status=$?
36722 grep -v '^ *+' conftest.er1 >conftest.err
36723 rm -f conftest.er1
36724 cat conftest.err >&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); } && {
36727 test -z "$ac_c_werror_flag" ||
36728 test ! -s conftest.err
36729 } && test -s conftest$ac_exeext &&
36730 $as_test_x conftest$ac_exeext; then
36731 ac_cv_lib_posix4_nanosleep=yes
36732 else
36733 echo "$as_me: failed program was:" >&5
36734 sed 's/^/| /' conftest.$ac_ext >&5
36735
36736 ac_cv_lib_posix4_nanosleep=no
36737 fi
36738
36739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36740 conftest$ac_exeext conftest.$ac_ext
36741 LIBS=$ac_check_lib_save_LIBS
36742 fi
36743 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36744 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36745 if test $ac_cv_lib_posix4_nanosleep = yes; then
36746
36747 cat >>confdefs.h <<\_ACEOF
36748 #define HAVE_NANOSLEEP 1
36749 _ACEOF
36750
36751 POSIX4_LINK=" -lposix4"
36752
36753 else
36754
36755
36756 for wx_func in usleep
36757 do
36758 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36759 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36760 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36761 echo $ECHO_N "(cached) $ECHO_C" >&6
36762 else
36763
36764 cat >conftest.$ac_ext <<_ACEOF
36765
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771
36772
36773 $ac_includes_default
36774
36775 int
36776 main ()
36777 {
36778
36779 #ifndef $wx_func
36780 &$wx_func;
36781 #endif
36782
36783
36784 ;
36785 return 0;
36786 }
36787
36788 _ACEOF
36789 rm -f conftest.$ac_objext conftest$ac_exeext
36790 if { (ac_try="$ac_link"
36791 case "(($ac_try" in
36792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36793 *) ac_try_echo=$ac_try;;
36794 esac
36795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36796 (eval "$ac_link") 2>conftest.er1
36797 ac_status=$?
36798 grep -v '^ *+' conftest.er1 >conftest.err
36799 rm -f conftest.er1
36800 cat conftest.err >&5
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); } && {
36803 test -z "$ac_c_werror_flag" ||
36804 test ! -s conftest.err
36805 } && test -s conftest$ac_exeext &&
36806 $as_test_x conftest$ac_exeext; then
36807 eval wx_cv_func_$wx_func=yes
36808 else
36809 echo "$as_me: failed program was:" >&5
36810 sed 's/^/| /' conftest.$ac_ext >&5
36811
36812 eval wx_cv_func_$wx_func=no
36813 fi
36814
36815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36816 conftest$ac_exeext conftest.$ac_ext
36817
36818 fi
36819 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36820 { echo "$as_me:$LINENO: result: $ac_res" >&5
36821 echo "${ECHO_T}$ac_res" >&6; }
36822
36823 if eval test \$wx_cv_func_$wx_func = yes
36824 then
36825 cat >>confdefs.h <<_ACEOF
36826 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36827 _ACEOF
36828
36829
36830 else
36831 :
36832 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36833 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36834
36835 fi
36836 done
36837
36838
36839
36840 fi
36841
36842
36843
36844 fi
36845 done
36846
36847 fi
36848
36849
36850 for wx_func in uname
36851 do
36852 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36853 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36854 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36855 echo $ECHO_N "(cached) $ECHO_C" >&6
36856 else
36857
36858 cat >conftest.$ac_ext <<_ACEOF
36859
36860 /* confdefs.h. */
36861 _ACEOF
36862 cat confdefs.h >>conftest.$ac_ext
36863 cat >>conftest.$ac_ext <<_ACEOF
36864 /* end confdefs.h. */
36865
36866 #include <sys/utsname.h>
36867 $ac_includes_default
36868
36869 int
36870 main ()
36871 {
36872
36873 #ifndef $wx_func
36874 &$wx_func;
36875 #endif
36876
36877
36878 ;
36879 return 0;
36880 }
36881
36882 _ACEOF
36883 rm -f conftest.$ac_objext conftest$ac_exeext
36884 if { (ac_try="$ac_link"
36885 case "(($ac_try" in
36886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36887 *) ac_try_echo=$ac_try;;
36888 esac
36889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36890 (eval "$ac_link") 2>conftest.er1
36891 ac_status=$?
36892 grep -v '^ *+' conftest.er1 >conftest.err
36893 rm -f conftest.er1
36894 cat conftest.err >&5
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); } && {
36897 test -z "$ac_c_werror_flag" ||
36898 test ! -s conftest.err
36899 } && test -s conftest$ac_exeext &&
36900 $as_test_x conftest$ac_exeext; then
36901 eval wx_cv_func_$wx_func=yes
36902 else
36903 echo "$as_me: failed program was:" >&5
36904 sed 's/^/| /' conftest.$ac_ext >&5
36905
36906 eval wx_cv_func_$wx_func=no
36907 fi
36908
36909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36910 conftest$ac_exeext conftest.$ac_ext
36911
36912 fi
36913 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36914 { echo "$as_me:$LINENO: result: $ac_res" >&5
36915 echo "${ECHO_T}$ac_res" >&6; }
36916
36917 if eval test \$wx_cv_func_$wx_func = yes
36918 then
36919 cat >>confdefs.h <<_ACEOF
36920 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36921 _ACEOF
36922
36923
36924 else
36925 :
36926
36927 fi
36928 done
36929
36930 if test "$wx_cv_func_uname" != yes; then
36931
36932 for wx_func in gethostname
36933 do
36934 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36935 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36936 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36938 else
36939
36940 cat >conftest.$ac_ext <<_ACEOF
36941
36942 /* confdefs.h. */
36943 _ACEOF
36944 cat confdefs.h >>conftest.$ac_ext
36945 cat >>conftest.$ac_ext <<_ACEOF
36946 /* end confdefs.h. */
36947
36948
36949 $ac_includes_default
36950
36951 int
36952 main ()
36953 {
36954
36955 #ifndef $wx_func
36956 &$wx_func;
36957 #endif
36958
36959
36960 ;
36961 return 0;
36962 }
36963
36964 _ACEOF
36965 rm -f conftest.$ac_objext conftest$ac_exeext
36966 if { (ac_try="$ac_link"
36967 case "(($ac_try" in
36968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36969 *) ac_try_echo=$ac_try;;
36970 esac
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_link") 2>conftest.er1
36973 ac_status=$?
36974 grep -v '^ *+' conftest.er1 >conftest.err
36975 rm -f conftest.er1
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest$ac_exeext &&
36982 $as_test_x conftest$ac_exeext; then
36983 eval wx_cv_func_$wx_func=yes
36984 else
36985 echo "$as_me: failed program was:" >&5
36986 sed 's/^/| /' conftest.$ac_ext >&5
36987
36988 eval wx_cv_func_$wx_func=no
36989 fi
36990
36991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36992 conftest$ac_exeext conftest.$ac_ext
36993
36994 fi
36995 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36996 { echo "$as_me:$LINENO: result: $ac_res" >&5
36997 echo "${ECHO_T}$ac_res" >&6; }
36998
36999 if eval test \$wx_cv_func_$wx_func = yes
37000 then
37001 cat >>confdefs.h <<_ACEOF
37002 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37003 _ACEOF
37004
37005
37006 else
37007 :
37008
37009 fi
37010 done
37011
37012 fi
37013
37014
37015 for wx_func in strtok_r
37016 do
37017 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37018 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37019 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37020 echo $ECHO_N "(cached) $ECHO_C" >&6
37021 else
37022
37023 cat >conftest.$ac_ext <<_ACEOF
37024
37025 /* confdefs.h. */
37026 _ACEOF
37027 cat confdefs.h >>conftest.$ac_ext
37028 cat >>conftest.$ac_ext <<_ACEOF
37029 /* end confdefs.h. */
37030
37031 #define _REENTRANT
37032 $ac_includes_default
37033
37034 int
37035 main ()
37036 {
37037
37038 #ifndef $wx_func
37039 &$wx_func;
37040 #endif
37041
37042
37043 ;
37044 return 0;
37045 }
37046
37047 _ACEOF
37048 rm -f conftest.$ac_objext conftest$ac_exeext
37049 if { (ac_try="$ac_link"
37050 case "(($ac_try" in
37051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37052 *) ac_try_echo=$ac_try;;
37053 esac
37054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37055 (eval "$ac_link") 2>conftest.er1
37056 ac_status=$?
37057 grep -v '^ *+' conftest.er1 >conftest.err
37058 rm -f conftest.er1
37059 cat conftest.err >&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } && {
37062 test -z "$ac_c_werror_flag" ||
37063 test ! -s conftest.err
37064 } && test -s conftest$ac_exeext &&
37065 $as_test_x conftest$ac_exeext; then
37066 eval wx_cv_func_$wx_func=yes
37067 else
37068 echo "$as_me: failed program was:" >&5
37069 sed 's/^/| /' conftest.$ac_ext >&5
37070
37071 eval wx_cv_func_$wx_func=no
37072 fi
37073
37074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37075 conftest$ac_exeext conftest.$ac_ext
37076
37077 fi
37078 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37079 { echo "$as_me:$LINENO: result: $ac_res" >&5
37080 echo "${ECHO_T}$ac_res" >&6; }
37081
37082 if eval test \$wx_cv_func_$wx_func = yes
37083 then
37084 cat >>confdefs.h <<_ACEOF
37085 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37086 _ACEOF
37087
37088
37089 else
37090 :
37091
37092 fi
37093 done
37094
37095
37096 INET_LINK=
37097
37098 for ac_func in inet_addr
37099 do
37100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37101 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37104 echo $ECHO_N "(cached) $ECHO_C" >&6
37105 else
37106 cat >conftest.$ac_ext <<_ACEOF
37107 /* confdefs.h. */
37108 _ACEOF
37109 cat confdefs.h >>conftest.$ac_ext
37110 cat >>conftest.$ac_ext <<_ACEOF
37111 /* end confdefs.h. */
37112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37114 #define $ac_func innocuous_$ac_func
37115
37116 /* System header to define __stub macros and hopefully few prototypes,
37117 which can conflict with char $ac_func (); below.
37118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37119 <limits.h> exists even on freestanding compilers. */
37120
37121 #ifdef __STDC__
37122 # include <limits.h>
37123 #else
37124 # include <assert.h>
37125 #endif
37126
37127 #undef $ac_func
37128
37129 /* Override any GCC internal prototype to avoid an error.
37130 Use char because int might match the return type of a GCC
37131 builtin and then its argument prototype would still apply. */
37132 #ifdef __cplusplus
37133 extern "C"
37134 #endif
37135 char $ac_func ();
37136 /* The GNU C library defines this for functions which it implements
37137 to always fail with ENOSYS. Some functions are actually named
37138 something starting with __ and the normal name is an alias. */
37139 #if defined __stub_$ac_func || defined __stub___$ac_func
37140 choke me
37141 #endif
37142
37143 int
37144 main ()
37145 {
37146 return $ac_func ();
37147 ;
37148 return 0;
37149 }
37150 _ACEOF
37151 rm -f conftest.$ac_objext conftest$ac_exeext
37152 if { (ac_try="$ac_link"
37153 case "(($ac_try" in
37154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37155 *) ac_try_echo=$ac_try;;
37156 esac
37157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37158 (eval "$ac_link") 2>conftest.er1
37159 ac_status=$?
37160 grep -v '^ *+' conftest.er1 >conftest.err
37161 rm -f conftest.er1
37162 cat conftest.err >&5
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); } && {
37165 test -z "$ac_c_werror_flag" ||
37166 test ! -s conftest.err
37167 } && test -s conftest$ac_exeext &&
37168 $as_test_x conftest$ac_exeext; then
37169 eval "$as_ac_var=yes"
37170 else
37171 echo "$as_me: failed program was:" >&5
37172 sed 's/^/| /' conftest.$ac_ext >&5
37173
37174 eval "$as_ac_var=no"
37175 fi
37176
37177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37178 conftest$ac_exeext conftest.$ac_ext
37179 fi
37180 ac_res=`eval echo '${'$as_ac_var'}'`
37181 { echo "$as_me:$LINENO: result: $ac_res" >&5
37182 echo "${ECHO_T}$ac_res" >&6; }
37183 if test `eval echo '${'$as_ac_var'}'` = yes; then
37184 cat >>confdefs.h <<_ACEOF
37185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37186 _ACEOF
37187 cat >>confdefs.h <<\_ACEOF
37188 #define HAVE_INET_ADDR 1
37189 _ACEOF
37190
37191 else
37192
37193 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37194 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37195 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37196 echo $ECHO_N "(cached) $ECHO_C" >&6
37197 else
37198 ac_check_lib_save_LIBS=$LIBS
37199 LIBS="-lnsl $LIBS"
37200 cat >conftest.$ac_ext <<_ACEOF
37201 /* confdefs.h. */
37202 _ACEOF
37203 cat confdefs.h >>conftest.$ac_ext
37204 cat >>conftest.$ac_ext <<_ACEOF
37205 /* end confdefs.h. */
37206
37207 /* Override any GCC internal prototype to avoid an error.
37208 Use char because int might match the return type of a GCC
37209 builtin and then its argument prototype would still apply. */
37210 #ifdef __cplusplus
37211 extern "C"
37212 #endif
37213 char inet_addr ();
37214 int
37215 main ()
37216 {
37217 return inet_addr ();
37218 ;
37219 return 0;
37220 }
37221 _ACEOF
37222 rm -f conftest.$ac_objext conftest$ac_exeext
37223 if { (ac_try="$ac_link"
37224 case "(($ac_try" in
37225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37226 *) ac_try_echo=$ac_try;;
37227 esac
37228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37229 (eval "$ac_link") 2>conftest.er1
37230 ac_status=$?
37231 grep -v '^ *+' conftest.er1 >conftest.err
37232 rm -f conftest.er1
37233 cat conftest.err >&5
37234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235 (exit $ac_status); } && {
37236 test -z "$ac_c_werror_flag" ||
37237 test ! -s conftest.err
37238 } && test -s conftest$ac_exeext &&
37239 $as_test_x conftest$ac_exeext; then
37240 ac_cv_lib_nsl_inet_addr=yes
37241 else
37242 echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.$ac_ext >&5
37244
37245 ac_cv_lib_nsl_inet_addr=no
37246 fi
37247
37248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37249 conftest$ac_exeext conftest.$ac_ext
37250 LIBS=$ac_check_lib_save_LIBS
37251 fi
37252 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37253 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37254 if test $ac_cv_lib_nsl_inet_addr = yes; then
37255 INET_LINK="nsl"
37256 else
37257
37258 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37259 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37260 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37261 echo $ECHO_N "(cached) $ECHO_C" >&6
37262 else
37263 ac_check_lib_save_LIBS=$LIBS
37264 LIBS="-lresolv $LIBS"
37265 cat >conftest.$ac_ext <<_ACEOF
37266 /* confdefs.h. */
37267 _ACEOF
37268 cat confdefs.h >>conftest.$ac_ext
37269 cat >>conftest.$ac_ext <<_ACEOF
37270 /* end confdefs.h. */
37271
37272 /* Override any GCC internal prototype to avoid an error.
37273 Use char because int might match the return type of a GCC
37274 builtin and then its argument prototype would still apply. */
37275 #ifdef __cplusplus
37276 extern "C"
37277 #endif
37278 char inet_addr ();
37279 int
37280 main ()
37281 {
37282 return inet_addr ();
37283 ;
37284 return 0;
37285 }
37286 _ACEOF
37287 rm -f conftest.$ac_objext conftest$ac_exeext
37288 if { (ac_try="$ac_link"
37289 case "(($ac_try" in
37290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37291 *) ac_try_echo=$ac_try;;
37292 esac
37293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37294 (eval "$ac_link") 2>conftest.er1
37295 ac_status=$?
37296 grep -v '^ *+' conftest.er1 >conftest.err
37297 rm -f conftest.er1
37298 cat conftest.err >&5
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); } && {
37301 test -z "$ac_c_werror_flag" ||
37302 test ! -s conftest.err
37303 } && test -s conftest$ac_exeext &&
37304 $as_test_x conftest$ac_exeext; then
37305 ac_cv_lib_resolv_inet_addr=yes
37306 else
37307 echo "$as_me: failed program was:" >&5
37308 sed 's/^/| /' conftest.$ac_ext >&5
37309
37310 ac_cv_lib_resolv_inet_addr=no
37311 fi
37312
37313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37314 conftest$ac_exeext conftest.$ac_ext
37315 LIBS=$ac_check_lib_save_LIBS
37316 fi
37317 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37318 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37319 if test $ac_cv_lib_resolv_inet_addr = yes; then
37320 INET_LINK="resolv"
37321 else
37322
37323 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37324 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37325 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 else
37328 ac_check_lib_save_LIBS=$LIBS
37329 LIBS="-lsocket $LIBS"
37330 cat >conftest.$ac_ext <<_ACEOF
37331 /* confdefs.h. */
37332 _ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336
37337 /* Override any GCC internal prototype to avoid an error.
37338 Use char because int might match the return type of a GCC
37339 builtin and then its argument prototype would still apply. */
37340 #ifdef __cplusplus
37341 extern "C"
37342 #endif
37343 char inet_addr ();
37344 int
37345 main ()
37346 {
37347 return inet_addr ();
37348 ;
37349 return 0;
37350 }
37351 _ACEOF
37352 rm -f conftest.$ac_objext conftest$ac_exeext
37353 if { (ac_try="$ac_link"
37354 case "(($ac_try" in
37355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37356 *) ac_try_echo=$ac_try;;
37357 esac
37358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37359 (eval "$ac_link") 2>conftest.er1
37360 ac_status=$?
37361 grep -v '^ *+' conftest.er1 >conftest.err
37362 rm -f conftest.er1
37363 cat conftest.err >&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } && {
37366 test -z "$ac_c_werror_flag" ||
37367 test ! -s conftest.err
37368 } && test -s conftest$ac_exeext &&
37369 $as_test_x conftest$ac_exeext; then
37370 ac_cv_lib_socket_inet_addr=yes
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37374
37375 ac_cv_lib_socket_inet_addr=no
37376 fi
37377
37378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37379 conftest$ac_exeext conftest.$ac_ext
37380 LIBS=$ac_check_lib_save_LIBS
37381 fi
37382 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37383 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37384 if test $ac_cv_lib_socket_inet_addr = yes; then
37385 INET_LINK="socket"
37386
37387 fi
37388
37389
37390
37391 fi
37392
37393
37394
37395 fi
37396
37397
37398
37399 fi
37400 done
37401
37402
37403
37404 for ac_func in inet_aton
37405 do
37406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37407 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37410 echo $ECHO_N "(cached) $ECHO_C" >&6
37411 else
37412 cat >conftest.$ac_ext <<_ACEOF
37413 /* confdefs.h. */
37414 _ACEOF
37415 cat confdefs.h >>conftest.$ac_ext
37416 cat >>conftest.$ac_ext <<_ACEOF
37417 /* end confdefs.h. */
37418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37420 #define $ac_func innocuous_$ac_func
37421
37422 /* System header to define __stub macros and hopefully few prototypes,
37423 which can conflict with char $ac_func (); below.
37424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37425 <limits.h> exists even on freestanding compilers. */
37426
37427 #ifdef __STDC__
37428 # include <limits.h>
37429 #else
37430 # include <assert.h>
37431 #endif
37432
37433 #undef $ac_func
37434
37435 /* Override any GCC internal prototype to avoid an error.
37436 Use char because int might match the return type of a GCC
37437 builtin and then its argument prototype would still apply. */
37438 #ifdef __cplusplus
37439 extern "C"
37440 #endif
37441 char $ac_func ();
37442 /* The GNU C library defines this for functions which it implements
37443 to always fail with ENOSYS. Some functions are actually named
37444 something starting with __ and the normal name is an alias. */
37445 #if defined __stub_$ac_func || defined __stub___$ac_func
37446 choke me
37447 #endif
37448
37449 int
37450 main ()
37451 {
37452 return $ac_func ();
37453 ;
37454 return 0;
37455 }
37456 _ACEOF
37457 rm -f conftest.$ac_objext conftest$ac_exeext
37458 if { (ac_try="$ac_link"
37459 case "(($ac_try" in
37460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37461 *) ac_try_echo=$ac_try;;
37462 esac
37463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37464 (eval "$ac_link") 2>conftest.er1
37465 ac_status=$?
37466 grep -v '^ *+' conftest.er1 >conftest.err
37467 rm -f conftest.er1
37468 cat conftest.err >&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); } && {
37471 test -z "$ac_c_werror_flag" ||
37472 test ! -s conftest.err
37473 } && test -s conftest$ac_exeext &&
37474 $as_test_x conftest$ac_exeext; then
37475 eval "$as_ac_var=yes"
37476 else
37477 echo "$as_me: failed program was:" >&5
37478 sed 's/^/| /' conftest.$ac_ext >&5
37479
37480 eval "$as_ac_var=no"
37481 fi
37482
37483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37484 conftest$ac_exeext conftest.$ac_ext
37485 fi
37486 ac_res=`eval echo '${'$as_ac_var'}'`
37487 { echo "$as_me:$LINENO: result: $ac_res" >&5
37488 echo "${ECHO_T}$ac_res" >&6; }
37489 if test `eval echo '${'$as_ac_var'}'` = yes; then
37490 cat >>confdefs.h <<_ACEOF
37491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37492 _ACEOF
37493 cat >>confdefs.h <<\_ACEOF
37494 #define HAVE_INET_ATON 1
37495 _ACEOF
37496
37497 else
37498
37499 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37500 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37501 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37502 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37503 echo $ECHO_N "(cached) $ECHO_C" >&6
37504 else
37505 ac_check_lib_save_LIBS=$LIBS
37506 LIBS="-l$INET_LINK $LIBS"
37507 cat >conftest.$ac_ext <<_ACEOF
37508 /* confdefs.h. */
37509 _ACEOF
37510 cat confdefs.h >>conftest.$ac_ext
37511 cat >>conftest.$ac_ext <<_ACEOF
37512 /* end confdefs.h. */
37513
37514 /* Override any GCC internal prototype to avoid an error.
37515 Use char because int might match the return type of a GCC
37516 builtin and then its argument prototype would still apply. */
37517 #ifdef __cplusplus
37518 extern "C"
37519 #endif
37520 char inet_aton ();
37521 int
37522 main ()
37523 {
37524 return inet_aton ();
37525 ;
37526 return 0;
37527 }
37528 _ACEOF
37529 rm -f conftest.$ac_objext conftest$ac_exeext
37530 if { (ac_try="$ac_link"
37531 case "(($ac_try" in
37532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37533 *) ac_try_echo=$ac_try;;
37534 esac
37535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37536 (eval "$ac_link") 2>conftest.er1
37537 ac_status=$?
37538 grep -v '^ *+' conftest.er1 >conftest.err
37539 rm -f conftest.er1
37540 cat conftest.err >&5
37541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542 (exit $ac_status); } && {
37543 test -z "$ac_c_werror_flag" ||
37544 test ! -s conftest.err
37545 } && test -s conftest$ac_exeext &&
37546 $as_test_x conftest$ac_exeext; then
37547 eval "$as_ac_Lib=yes"
37548 else
37549 echo "$as_me: failed program was:" >&5
37550 sed 's/^/| /' conftest.$ac_ext >&5
37551
37552 eval "$as_ac_Lib=no"
37553 fi
37554
37555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37556 conftest$ac_exeext conftest.$ac_ext
37557 LIBS=$ac_check_lib_save_LIBS
37558 fi
37559 ac_res=`eval echo '${'$as_ac_Lib'}'`
37560 { echo "$as_me:$LINENO: result: $ac_res" >&5
37561 echo "${ECHO_T}$ac_res" >&6; }
37562 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37563 cat >>confdefs.h <<\_ACEOF
37564 #define HAVE_INET_ATON 1
37565 _ACEOF
37566
37567 fi
37568
37569
37570 fi
37571 done
37572
37573
37574 if test "x$INET_LINK" != "x"; then
37575 cat >>confdefs.h <<\_ACEOF
37576 #define HAVE_INET_ADDR 1
37577 _ACEOF
37578
37579 INET_LINK=" -l$INET_LINK"
37580 fi
37581
37582
37583 for wx_func in fdopen
37584 do
37585 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37586 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37587 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37589 else
37590
37591 cat >conftest.$ac_ext <<_ACEOF
37592
37593 /* confdefs.h. */
37594 _ACEOF
37595 cat confdefs.h >>conftest.$ac_ext
37596 cat >>conftest.$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37598
37599
37600 $ac_includes_default
37601
37602 int
37603 main ()
37604 {
37605
37606 #ifndef $wx_func
37607 &$wx_func;
37608 #endif
37609
37610
37611 ;
37612 return 0;
37613 }
37614
37615 _ACEOF
37616 rm -f conftest.$ac_objext conftest$ac_exeext
37617 if { (ac_try="$ac_link"
37618 case "(($ac_try" in
37619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37620 *) ac_try_echo=$ac_try;;
37621 esac
37622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37623 (eval "$ac_link") 2>conftest.er1
37624 ac_status=$?
37625 grep -v '^ *+' conftest.er1 >conftest.err
37626 rm -f conftest.er1
37627 cat conftest.err >&5
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); } && {
37630 test -z "$ac_c_werror_flag" ||
37631 test ! -s conftest.err
37632 } && test -s conftest$ac_exeext &&
37633 $as_test_x conftest$ac_exeext; then
37634 eval wx_cv_func_$wx_func=yes
37635 else
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37638
37639 eval wx_cv_func_$wx_func=no
37640 fi
37641
37642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37643 conftest$ac_exeext conftest.$ac_ext
37644
37645 fi
37646 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37647 { echo "$as_me:$LINENO: result: $ac_res" >&5
37648 echo "${ECHO_T}$ac_res" >&6; }
37649
37650 if eval test \$wx_cv_func_$wx_func = yes
37651 then
37652 cat >>confdefs.h <<_ACEOF
37653 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37654 _ACEOF
37655
37656
37657 else
37658 :
37659
37660 fi
37661 done
37662
37663
37664 fi
37665
37666
37667
37668 cat >confcache <<\_ACEOF
37669 # This file is a shell script that caches the results of configure
37670 # tests run on this system so they can be shared between configure
37671 # scripts and configure runs, see configure's option --config-cache.
37672 # It is not useful on other systems. If it contains results you don't
37673 # want to keep, you may remove or edit it.
37674 #
37675 # config.status only pays attention to the cache file if you give it
37676 # the --recheck option to rerun configure.
37677 #
37678 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37679 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37680 # following values.
37681
37682 _ACEOF
37683
37684 # The following way of writing the cache mishandles newlines in values,
37685 # but we know of no workaround that is simple, portable, and efficient.
37686 # So, we kill variables containing newlines.
37687 # Ultrix sh set writes to stderr and can't be redirected directly,
37688 # and sets the high bit in the cache file unless we assign to the vars.
37689 (
37690 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37691 eval ac_val=\$$ac_var
37692 case $ac_val in #(
37693 *${as_nl}*)
37694 case $ac_var in #(
37695 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37696 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37697 esac
37698 case $ac_var in #(
37699 _ | IFS | as_nl) ;; #(
37700 *) $as_unset $ac_var ;;
37701 esac ;;
37702 esac
37703 done
37704
37705 (set) 2>&1 |
37706 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37707 *${as_nl}ac_space=\ *)
37708 # `set' does not quote correctly, so add quotes (double-quote
37709 # substitution turns \\\\ into \\, and sed turns \\ into \).
37710 sed -n \
37711 "s/'/'\\\\''/g;
37712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37713 ;; #(
37714 *)
37715 # `set' quotes correctly as required by POSIX, so do not add quotes.
37716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37717 ;;
37718 esac |
37719 sort
37720 ) |
37721 sed '
37722 /^ac_cv_env_/b end
37723 t clear
37724 :clear
37725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37726 t end
37727 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37728 :end' >>confcache
37729 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37730 if test -w "$cache_file"; then
37731 test "x$cache_file" != "x/dev/null" &&
37732 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37733 echo "$as_me: updating cache $cache_file" >&6;}
37734 cat confcache >$cache_file
37735 else
37736 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37737 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37738 fi
37739 fi
37740 rm -f confcache
37741
37742
37743 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37744
37745
37746 THREADS_LINK=
37747 THREADS_CFLAGS=
37748
37749 if test "$wxUSE_THREADS" = "yes" ; then
37750 if test "$USE_BEOS" = 1; then
37751 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37752 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37753 wxUSE_THREADS="no"
37754 fi
37755 fi
37756
37757 if test "$wxUSE_THREADS" = "yes" ; then
37758
37759
37760 THREAD_OPTS="-pthread"
37761 case "${host}" in
37762 *-*-solaris2* | *-*-sunos4* )
37763 if test "x$GCC" = "xyes"; then
37764 THREAD_OPTS="-pthreads $THREAD_OPTS"
37765 else
37766 THREAD_OPTS="-mt $THREAD_OPTS"
37767 fi
37768 ;;
37769 *-*-freebsd*)
37770 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37771 ;;
37772 *-*-darwin* | *-*-cygwin* )
37773 THREAD_OPTS=""
37774 ;;
37775 *-*-aix*)
37776 THREAD_OPTS="pthreads"
37777 ;;
37778 *-hp-hpux* )
37779 if test "x$GCC" = "xyes"; then
37780 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37781 THREAD_OPTS=""
37782 else
37783 THREAD_OPTS="-mt"
37784 fi
37785 ;;
37786
37787 *-*-irix* )
37788 if test "x$GCC" = "xyes"; then
37789 THREAD_OPTS=""
37790 fi
37791 ;;
37792
37793 *-*-*UnixWare*)
37794 if test "x$GCC" != "xyes"; then
37795 THREAD_OPTS="-Ethread"
37796 fi
37797 ;;
37798 esac
37799
37800 THREAD_OPTS="$THREAD_OPTS pthread none"
37801
37802 THREADS_OK=no
37803 for flag in $THREAD_OPTS; do
37804 case $flag in
37805 none)
37806 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37807 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37808 ;;
37809
37810 -*)
37811 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37812 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37813 THREADS_CFLAGS="$flag"
37814 ;;
37815
37816 *)
37817 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37818 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37819 THREADS_LINK="-l$flag"
37820 ;;
37821 esac
37822
37823 save_LIBS="$LIBS"
37824 save_CFLAGS="$CFLAGS"
37825 LIBS="$THREADS_LINK $LIBS"
37826 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37827
37828 cat >conftest.$ac_ext <<_ACEOF
37829 /* confdefs.h. */
37830 _ACEOF
37831 cat confdefs.h >>conftest.$ac_ext
37832 cat >>conftest.$ac_ext <<_ACEOF
37833 /* end confdefs.h. */
37834 #include <pthread.h>
37835 int
37836 main ()
37837 {
37838 pthread_create(0,0,0,0);
37839 ;
37840 return 0;
37841 }
37842 _ACEOF
37843 rm -f conftest.$ac_objext conftest$ac_exeext
37844 if { (ac_try="$ac_link"
37845 case "(($ac_try" in
37846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37847 *) ac_try_echo=$ac_try;;
37848 esac
37849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37850 (eval "$ac_link") 2>conftest.er1
37851 ac_status=$?
37852 grep -v '^ *+' conftest.er1 >conftest.err
37853 rm -f conftest.er1
37854 cat conftest.err >&5
37855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37856 (exit $ac_status); } && {
37857 test -z "$ac_c_werror_flag" ||
37858 test ! -s conftest.err
37859 } && test -s conftest$ac_exeext &&
37860 $as_test_x conftest$ac_exeext; then
37861 THREADS_OK=yes
37862 else
37863 echo "$as_me: failed program was:" >&5
37864 sed 's/^/| /' conftest.$ac_ext >&5
37865
37866
37867 fi
37868
37869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37870 conftest$ac_exeext conftest.$ac_ext
37871
37872 LIBS="$save_LIBS"
37873 CFLAGS="$save_CFLAGS"
37874
37875 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37876 echo "${ECHO_T}$THREADS_OK" >&6; }
37877 if test "x$THREADS_OK" = "xyes"; then
37878 break;
37879 fi
37880
37881 THREADS_LINK=""
37882 THREADS_CFLAGS=""
37883 done
37884
37885 if test "x$THREADS_OK" != "xyes"; then
37886 wxUSE_THREADS=no
37887 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37888 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37889 else
37890 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37891 LIBS="$THREADS_LINK $LIBS"
37892
37893 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37894 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37895 flag=no
37896 case "${host}" in
37897 *-aix*)
37898 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37899 flag="-D_THREAD_SAFE"
37900 ;;
37901 *-freebsd*)
37902 flag="-D_THREAD_SAFE"
37903 ;;
37904 *-hp-hpux* )
37905 flag="-D_REENTRANT"
37906 if test "x$GCC" != "xyes"; then
37907 flag="$flag -D_RWSTD_MULTI_THREAD"
37908 fi
37909 ;;
37910 *solaris* | alpha*-osf*)
37911 flag="-D_REENTRANT"
37912 ;;
37913 esac
37914 { echo "$as_me:$LINENO: result: ${flag}" >&5
37915 echo "${ECHO_T}${flag}" >&6; }
37916 if test "x$flag" != xno; then
37917 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37918 fi
37919
37920 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37921 fi
37922 fi
37923
37924 if test "$wxUSE_THREADS" = "yes" ; then
37925
37926 for ac_func in thr_setconcurrency
37927 do
37928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37929 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37931 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37932 echo $ECHO_N "(cached) $ECHO_C" >&6
37933 else
37934 cat >conftest.$ac_ext <<_ACEOF
37935 /* confdefs.h. */
37936 _ACEOF
37937 cat confdefs.h >>conftest.$ac_ext
37938 cat >>conftest.$ac_ext <<_ACEOF
37939 /* end confdefs.h. */
37940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37942 #define $ac_func innocuous_$ac_func
37943
37944 /* System header to define __stub macros and hopefully few prototypes,
37945 which can conflict with char $ac_func (); below.
37946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37947 <limits.h> exists even on freestanding compilers. */
37948
37949 #ifdef __STDC__
37950 # include <limits.h>
37951 #else
37952 # include <assert.h>
37953 #endif
37954
37955 #undef $ac_func
37956
37957 /* Override any GCC internal prototype to avoid an error.
37958 Use char because int might match the return type of a GCC
37959 builtin and then its argument prototype would still apply. */
37960 #ifdef __cplusplus
37961 extern "C"
37962 #endif
37963 char $ac_func ();
37964 /* The GNU C library defines this for functions which it implements
37965 to always fail with ENOSYS. Some functions are actually named
37966 something starting with __ and the normal name is an alias. */
37967 #if defined __stub_$ac_func || defined __stub___$ac_func
37968 choke me
37969 #endif
37970
37971 int
37972 main ()
37973 {
37974 return $ac_func ();
37975 ;
37976 return 0;
37977 }
37978 _ACEOF
37979 rm -f conftest.$ac_objext conftest$ac_exeext
37980 if { (ac_try="$ac_link"
37981 case "(($ac_try" in
37982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37983 *) ac_try_echo=$ac_try;;
37984 esac
37985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37986 (eval "$ac_link") 2>conftest.er1
37987 ac_status=$?
37988 grep -v '^ *+' conftest.er1 >conftest.err
37989 rm -f conftest.er1
37990 cat conftest.err >&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } && {
37993 test -z "$ac_c_werror_flag" ||
37994 test ! -s conftest.err
37995 } && test -s conftest$ac_exeext &&
37996 $as_test_x conftest$ac_exeext; then
37997 eval "$as_ac_var=yes"
37998 else
37999 echo "$as_me: failed program was:" >&5
38000 sed 's/^/| /' conftest.$ac_ext >&5
38001
38002 eval "$as_ac_var=no"
38003 fi
38004
38005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38006 conftest$ac_exeext conftest.$ac_ext
38007 fi
38008 ac_res=`eval echo '${'$as_ac_var'}'`
38009 { echo "$as_me:$LINENO: result: $ac_res" >&5
38010 echo "${ECHO_T}$ac_res" >&6; }
38011 if test `eval echo '${'$as_ac_var'}'` = yes; then
38012 cat >>confdefs.h <<_ACEOF
38013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38014 _ACEOF
38015
38016 fi
38017 done
38018
38019
38020 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38021 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38022 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38023 echo $ECHO_N "(cached) $ECHO_C" >&6
38024 else
38025
38026 cat >conftest.$ac_ext <<_ACEOF
38027 /* confdefs.h. */
38028 _ACEOF
38029 cat confdefs.h >>conftest.$ac_ext
38030 cat >>conftest.$ac_ext <<_ACEOF
38031 /* end confdefs.h. */
38032 #include <pthread.h>
38033 void ThreadCleanupFunc(void *p);
38034
38035 int
38036 main ()
38037 {
38038
38039 void *p;
38040 pthread_cleanup_push(ThreadCleanupFunc, p);
38041 pthread_cleanup_pop(0);
38042
38043 ;
38044 return 0;
38045 }
38046 _ACEOF
38047 rm -f conftest.$ac_objext
38048 if { (ac_try="$ac_compile"
38049 case "(($ac_try" in
38050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38051 *) ac_try_echo=$ac_try;;
38052 esac
38053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38054 (eval "$ac_compile") 2>conftest.er1
38055 ac_status=$?
38056 grep -v '^ *+' conftest.er1 >conftest.err
38057 rm -f conftest.er1
38058 cat conftest.err >&5
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); } && {
38061 test -z "$ac_c_werror_flag" ||
38062 test ! -s conftest.err
38063 } && test -s conftest.$ac_objext; then
38064
38065 wx_cv_func_pthread_cleanup=yes
38066
38067 else
38068 echo "$as_me: failed program was:" >&5
38069 sed 's/^/| /' conftest.$ac_ext >&5
38070
38071
38072 wx_cv_func_pthread_cleanup=no
38073
38074
38075 fi
38076
38077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38078
38079 fi
38080 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38081 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38082 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38083 cat >>confdefs.h <<\_ACEOF
38084 #define wxHAVE_PTHREAD_CLEANUP 1
38085 _ACEOF
38086
38087 fi
38088
38089 { echo "$as_me:$LINENO: checking for sched.h" >&5
38090 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38091 if test "${ac_cv_header_sched_h+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38093 else
38094 cat >conftest.$ac_ext <<_ACEOF
38095 /* confdefs.h. */
38096 _ACEOF
38097 cat confdefs.h >>conftest.$ac_ext
38098 cat >>conftest.$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38100 $ac_includes_default
38101
38102 #include <sched.h>
38103 _ACEOF
38104 rm -f conftest.$ac_objext
38105 if { (ac_try="$ac_compile"
38106 case "(($ac_try" in
38107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38108 *) ac_try_echo=$ac_try;;
38109 esac
38110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38111 (eval "$ac_compile") 2>conftest.er1
38112 ac_status=$?
38113 grep -v '^ *+' conftest.er1 >conftest.err
38114 rm -f conftest.er1
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } && {
38118 test -z "$ac_c_werror_flag" ||
38119 test ! -s conftest.err
38120 } && test -s conftest.$ac_objext; then
38121 ac_cv_header_sched_h=yes
38122 else
38123 echo "$as_me: failed program was:" >&5
38124 sed 's/^/| /' conftest.$ac_ext >&5
38125
38126 ac_cv_header_sched_h=no
38127 fi
38128
38129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38130 fi
38131 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38132 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38133
38134
38135 if test "$ac_cv_header_sched_h" = "yes"; then
38136 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38137 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38138 if test "${ac_cv_func_sched_yield+set}" = set; then
38139 echo $ECHO_N "(cached) $ECHO_C" >&6
38140 else
38141 cat >conftest.$ac_ext <<_ACEOF
38142 /* confdefs.h. */
38143 _ACEOF
38144 cat confdefs.h >>conftest.$ac_ext
38145 cat >>conftest.$ac_ext <<_ACEOF
38146 /* end confdefs.h. */
38147 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38149 #define sched_yield innocuous_sched_yield
38150
38151 /* System header to define __stub macros and hopefully few prototypes,
38152 which can conflict with char sched_yield (); below.
38153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38154 <limits.h> exists even on freestanding compilers. */
38155
38156 #ifdef __STDC__
38157 # include <limits.h>
38158 #else
38159 # include <assert.h>
38160 #endif
38161
38162 #undef sched_yield
38163
38164 /* Override any GCC internal prototype to avoid an error.
38165 Use char because int might match the return type of a GCC
38166 builtin and then its argument prototype would still apply. */
38167 #ifdef __cplusplus
38168 extern "C"
38169 #endif
38170 char sched_yield ();
38171 /* The GNU C library defines this for functions which it implements
38172 to always fail with ENOSYS. Some functions are actually named
38173 something starting with __ and the normal name is an alias. */
38174 #if defined __stub_sched_yield || defined __stub___sched_yield
38175 choke me
38176 #endif
38177
38178 int
38179 main ()
38180 {
38181 return sched_yield ();
38182 ;
38183 return 0;
38184 }
38185 _ACEOF
38186 rm -f conftest.$ac_objext conftest$ac_exeext
38187 if { (ac_try="$ac_link"
38188 case "(($ac_try" in
38189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38190 *) ac_try_echo=$ac_try;;
38191 esac
38192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38193 (eval "$ac_link") 2>conftest.er1
38194 ac_status=$?
38195 grep -v '^ *+' conftest.er1 >conftest.err
38196 rm -f conftest.er1
38197 cat conftest.err >&5
38198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38199 (exit $ac_status); } && {
38200 test -z "$ac_c_werror_flag" ||
38201 test ! -s conftest.err
38202 } && test -s conftest$ac_exeext &&
38203 $as_test_x conftest$ac_exeext; then
38204 ac_cv_func_sched_yield=yes
38205 else
38206 echo "$as_me: failed program was:" >&5
38207 sed 's/^/| /' conftest.$ac_ext >&5
38208
38209 ac_cv_func_sched_yield=no
38210 fi
38211
38212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38213 conftest$ac_exeext conftest.$ac_ext
38214 fi
38215 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38216 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38217 if test $ac_cv_func_sched_yield = yes; then
38218 cat >>confdefs.h <<\_ACEOF
38219 #define HAVE_SCHED_YIELD 1
38220 _ACEOF
38221
38222 else
38223
38224 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38225 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38226 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38228 else
38229 ac_check_lib_save_LIBS=$LIBS
38230 LIBS="-lposix4 $LIBS"
38231 cat >conftest.$ac_ext <<_ACEOF
38232 /* confdefs.h. */
38233 _ACEOF
38234 cat confdefs.h >>conftest.$ac_ext
38235 cat >>conftest.$ac_ext <<_ACEOF
38236 /* end confdefs.h. */
38237
38238 /* Override any GCC internal prototype to avoid an error.
38239 Use char because int might match the return type of a GCC
38240 builtin and then its argument prototype would still apply. */
38241 #ifdef __cplusplus
38242 extern "C"
38243 #endif
38244 char sched_yield ();
38245 int
38246 main ()
38247 {
38248 return sched_yield ();
38249 ;
38250 return 0;
38251 }
38252 _ACEOF
38253 rm -f conftest.$ac_objext conftest$ac_exeext
38254 if { (ac_try="$ac_link"
38255 case "(($ac_try" in
38256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38257 *) ac_try_echo=$ac_try;;
38258 esac
38259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38260 (eval "$ac_link") 2>conftest.er1
38261 ac_status=$?
38262 grep -v '^ *+' conftest.er1 >conftest.err
38263 rm -f conftest.er1
38264 cat conftest.err >&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); } && {
38267 test -z "$ac_c_werror_flag" ||
38268 test ! -s conftest.err
38269 } && test -s conftest$ac_exeext &&
38270 $as_test_x conftest$ac_exeext; then
38271 ac_cv_lib_posix4_sched_yield=yes
38272 else
38273 echo "$as_me: failed program was:" >&5
38274 sed 's/^/| /' conftest.$ac_ext >&5
38275
38276 ac_cv_lib_posix4_sched_yield=no
38277 fi
38278
38279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38280 conftest$ac_exeext conftest.$ac_ext
38281 LIBS=$ac_check_lib_save_LIBS
38282 fi
38283 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38284 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38285 if test $ac_cv_lib_posix4_sched_yield = yes; then
38286 cat >>confdefs.h <<\_ACEOF
38287 #define HAVE_SCHED_YIELD 1
38288 _ACEOF
38289 POSIX4_LINK=" -lposix4"
38290 else
38291 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38292 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38293
38294 fi
38295
38296
38297
38298 fi
38299
38300 fi
38301
38302 HAVE_PRIOR_FUNCS=0
38303 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38304 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38305 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38306 echo $ECHO_N "(cached) $ECHO_C" >&6
38307 else
38308 cat >conftest.$ac_ext <<_ACEOF
38309 /* confdefs.h. */
38310 _ACEOF
38311 cat confdefs.h >>conftest.$ac_ext
38312 cat >>conftest.$ac_ext <<_ACEOF
38313 /* end confdefs.h. */
38314 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38316 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38317
38318 /* System header to define __stub macros and hopefully few prototypes,
38319 which can conflict with char pthread_attr_getschedpolicy (); below.
38320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38321 <limits.h> exists even on freestanding compilers. */
38322
38323 #ifdef __STDC__
38324 # include <limits.h>
38325 #else
38326 # include <assert.h>
38327 #endif
38328
38329 #undef pthread_attr_getschedpolicy
38330
38331 /* Override any GCC internal prototype to avoid an error.
38332 Use char because int might match the return type of a GCC
38333 builtin and then its argument prototype would still apply. */
38334 #ifdef __cplusplus
38335 extern "C"
38336 #endif
38337 char pthread_attr_getschedpolicy ();
38338 /* The GNU C library defines this for functions which it implements
38339 to always fail with ENOSYS. Some functions are actually named
38340 something starting with __ and the normal name is an alias. */
38341 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38342 choke me
38343 #endif
38344
38345 int
38346 main ()
38347 {
38348 return pthread_attr_getschedpolicy ();
38349 ;
38350 return 0;
38351 }
38352 _ACEOF
38353 rm -f conftest.$ac_objext conftest$ac_exeext
38354 if { (ac_try="$ac_link"
38355 case "(($ac_try" in
38356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38357 *) ac_try_echo=$ac_try;;
38358 esac
38359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38360 (eval "$ac_link") 2>conftest.er1
38361 ac_status=$?
38362 grep -v '^ *+' conftest.er1 >conftest.err
38363 rm -f conftest.er1
38364 cat conftest.err >&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } && {
38367 test -z "$ac_c_werror_flag" ||
38368 test ! -s conftest.err
38369 } && test -s conftest$ac_exeext &&
38370 $as_test_x conftest$ac_exeext; then
38371 ac_cv_func_pthread_attr_getschedpolicy=yes
38372 else
38373 echo "$as_me: failed program was:" >&5
38374 sed 's/^/| /' conftest.$ac_ext >&5
38375
38376 ac_cv_func_pthread_attr_getschedpolicy=no
38377 fi
38378
38379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38380 conftest$ac_exeext conftest.$ac_ext
38381 fi
38382 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38383 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38384 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38385 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38386 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38387 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 else
38390 cat >conftest.$ac_ext <<_ACEOF
38391 /* confdefs.h. */
38392 _ACEOF
38393 cat confdefs.h >>conftest.$ac_ext
38394 cat >>conftest.$ac_ext <<_ACEOF
38395 /* end confdefs.h. */
38396 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38398 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38399
38400 /* System header to define __stub macros and hopefully few prototypes,
38401 which can conflict with char pthread_attr_setschedparam (); below.
38402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38403 <limits.h> exists even on freestanding compilers. */
38404
38405 #ifdef __STDC__
38406 # include <limits.h>
38407 #else
38408 # include <assert.h>
38409 #endif
38410
38411 #undef pthread_attr_setschedparam
38412
38413 /* Override any GCC internal prototype to avoid an error.
38414 Use char because int might match the return type of a GCC
38415 builtin and then its argument prototype would still apply. */
38416 #ifdef __cplusplus
38417 extern "C"
38418 #endif
38419 char pthread_attr_setschedparam ();
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38424 choke me
38425 #endif
38426
38427 int
38428 main ()
38429 {
38430 return pthread_attr_setschedparam ();
38431 ;
38432 return 0;
38433 }
38434 _ACEOF
38435 rm -f conftest.$ac_objext conftest$ac_exeext
38436 if { (ac_try="$ac_link"
38437 case "(($ac_try" in
38438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38439 *) ac_try_echo=$ac_try;;
38440 esac
38441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38442 (eval "$ac_link") 2>conftest.er1
38443 ac_status=$?
38444 grep -v '^ *+' conftest.er1 >conftest.err
38445 rm -f conftest.er1
38446 cat conftest.err >&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } && {
38449 test -z "$ac_c_werror_flag" ||
38450 test ! -s conftest.err
38451 } && test -s conftest$ac_exeext &&
38452 $as_test_x conftest$ac_exeext; then
38453 ac_cv_func_pthread_attr_setschedparam=yes
38454 else
38455 echo "$as_me: failed program was:" >&5
38456 sed 's/^/| /' conftest.$ac_ext >&5
38457
38458 ac_cv_func_pthread_attr_setschedparam=no
38459 fi
38460
38461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38462 conftest$ac_exeext conftest.$ac_ext
38463 fi
38464 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38465 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38466 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38467 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38468 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38469 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38470 echo $ECHO_N "(cached) $ECHO_C" >&6
38471 else
38472 cat >conftest.$ac_ext <<_ACEOF
38473 /* confdefs.h. */
38474 _ACEOF
38475 cat confdefs.h >>conftest.$ac_ext
38476 cat >>conftest.$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38480 #define sched_get_priority_max innocuous_sched_get_priority_max
38481
38482 /* System header to define __stub macros and hopefully few prototypes,
38483 which can conflict with char sched_get_priority_max (); below.
38484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38485 <limits.h> exists even on freestanding compilers. */
38486
38487 #ifdef __STDC__
38488 # include <limits.h>
38489 #else
38490 # include <assert.h>
38491 #endif
38492
38493 #undef sched_get_priority_max
38494
38495 /* Override any GCC internal prototype to avoid an error.
38496 Use char because int might match the return type of a GCC
38497 builtin and then its argument prototype would still apply. */
38498 #ifdef __cplusplus
38499 extern "C"
38500 #endif
38501 char sched_get_priority_max ();
38502 /* The GNU C library defines this for functions which it implements
38503 to always fail with ENOSYS. Some functions are actually named
38504 something starting with __ and the normal name is an alias. */
38505 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38506 choke me
38507 #endif
38508
38509 int
38510 main ()
38511 {
38512 return sched_get_priority_max ();
38513 ;
38514 return 0;
38515 }
38516 _ACEOF
38517 rm -f conftest.$ac_objext conftest$ac_exeext
38518 if { (ac_try="$ac_link"
38519 case "(($ac_try" in
38520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38521 *) ac_try_echo=$ac_try;;
38522 esac
38523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38524 (eval "$ac_link") 2>conftest.er1
38525 ac_status=$?
38526 grep -v '^ *+' conftest.er1 >conftest.err
38527 rm -f conftest.er1
38528 cat conftest.err >&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } && {
38531 test -z "$ac_c_werror_flag" ||
38532 test ! -s conftest.err
38533 } && test -s conftest$ac_exeext &&
38534 $as_test_x conftest$ac_exeext; then
38535 ac_cv_func_sched_get_priority_max=yes
38536 else
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.$ac_ext >&5
38539
38540 ac_cv_func_sched_get_priority_max=no
38541 fi
38542
38543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38544 conftest$ac_exeext conftest.$ac_ext
38545 fi
38546 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38547 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38548 if test $ac_cv_func_sched_get_priority_max = yes; then
38549 HAVE_PRIOR_FUNCS=1
38550 else
38551 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38552 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38553 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38554 echo $ECHO_N "(cached) $ECHO_C" >&6
38555 else
38556 ac_check_lib_save_LIBS=$LIBS
38557 LIBS="-lposix4 $LIBS"
38558 cat >conftest.$ac_ext <<_ACEOF
38559 /* confdefs.h. */
38560 _ACEOF
38561 cat confdefs.h >>conftest.$ac_ext
38562 cat >>conftest.$ac_ext <<_ACEOF
38563 /* end confdefs.h. */
38564
38565 /* Override any GCC internal prototype to avoid an error.
38566 Use char because int might match the return type of a GCC
38567 builtin and then its argument prototype would still apply. */
38568 #ifdef __cplusplus
38569 extern "C"
38570 #endif
38571 char sched_get_priority_max ();
38572 int
38573 main ()
38574 {
38575 return sched_get_priority_max ();
38576 ;
38577 return 0;
38578 }
38579 _ACEOF
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (ac_try="$ac_link"
38582 case "(($ac_try" in
38583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38584 *) ac_try_echo=$ac_try;;
38585 esac
38586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38587 (eval "$ac_link") 2>conftest.er1
38588 ac_status=$?
38589 grep -v '^ *+' conftest.er1 >conftest.err
38590 rm -f conftest.er1
38591 cat conftest.err >&5
38592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38593 (exit $ac_status); } && {
38594 test -z "$ac_c_werror_flag" ||
38595 test ! -s conftest.err
38596 } && test -s conftest$ac_exeext &&
38597 $as_test_x conftest$ac_exeext; then
38598 ac_cv_lib_posix4_sched_get_priority_max=yes
38599 else
38600 echo "$as_me: failed program was:" >&5
38601 sed 's/^/| /' conftest.$ac_ext >&5
38602
38603 ac_cv_lib_posix4_sched_get_priority_max=no
38604 fi
38605
38606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38607 conftest$ac_exeext conftest.$ac_ext
38608 LIBS=$ac_check_lib_save_LIBS
38609 fi
38610 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38611 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38612 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38613
38614 HAVE_PRIOR_FUNCS=1
38615 POSIX4_LINK=" -lposix4"
38616
38617 fi
38618
38619
38620 fi
38621
38622
38623 fi
38624
38625
38626 fi
38627
38628
38629 if test "$HAVE_PRIOR_FUNCS" = 1; then
38630 cat >>confdefs.h <<\_ACEOF
38631 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38632 _ACEOF
38633
38634 else
38635 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38636 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38637 fi
38638
38639 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38640 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38641 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38642 echo $ECHO_N "(cached) $ECHO_C" >&6
38643 else
38644 cat >conftest.$ac_ext <<_ACEOF
38645 /* confdefs.h. */
38646 _ACEOF
38647 cat confdefs.h >>conftest.$ac_ext
38648 cat >>conftest.$ac_ext <<_ACEOF
38649 /* end confdefs.h. */
38650 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38652 #define pthread_cancel innocuous_pthread_cancel
38653
38654 /* System header to define __stub macros and hopefully few prototypes,
38655 which can conflict with char pthread_cancel (); below.
38656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38657 <limits.h> exists even on freestanding compilers. */
38658
38659 #ifdef __STDC__
38660 # include <limits.h>
38661 #else
38662 # include <assert.h>
38663 #endif
38664
38665 #undef pthread_cancel
38666
38667 /* Override any GCC internal prototype to avoid an error.
38668 Use char because int might match the return type of a GCC
38669 builtin and then its argument prototype would still apply. */
38670 #ifdef __cplusplus
38671 extern "C"
38672 #endif
38673 char pthread_cancel ();
38674 /* The GNU C library defines this for functions which it implements
38675 to always fail with ENOSYS. Some functions are actually named
38676 something starting with __ and the normal name is an alias. */
38677 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38678 choke me
38679 #endif
38680
38681 int
38682 main ()
38683 {
38684 return pthread_cancel ();
38685 ;
38686 return 0;
38687 }
38688 _ACEOF
38689 rm -f conftest.$ac_objext conftest$ac_exeext
38690 if { (ac_try="$ac_link"
38691 case "(($ac_try" in
38692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38693 *) ac_try_echo=$ac_try;;
38694 esac
38695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38696 (eval "$ac_link") 2>conftest.er1
38697 ac_status=$?
38698 grep -v '^ *+' conftest.er1 >conftest.err
38699 rm -f conftest.er1
38700 cat conftest.err >&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } && {
38703 test -z "$ac_c_werror_flag" ||
38704 test ! -s conftest.err
38705 } && test -s conftest$ac_exeext &&
38706 $as_test_x conftest$ac_exeext; then
38707 ac_cv_func_pthread_cancel=yes
38708 else
38709 echo "$as_me: failed program was:" >&5
38710 sed 's/^/| /' conftest.$ac_ext >&5
38711
38712 ac_cv_func_pthread_cancel=no
38713 fi
38714
38715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38716 conftest$ac_exeext conftest.$ac_ext
38717 fi
38718 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38719 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38720 if test $ac_cv_func_pthread_cancel = yes; then
38721 cat >>confdefs.h <<\_ACEOF
38722 #define HAVE_PTHREAD_CANCEL 1
38723 _ACEOF
38724
38725 else
38726 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38727 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38728 fi
38729
38730
38731 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38732 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38733 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38734 echo $ECHO_N "(cached) $ECHO_C" >&6
38735 else
38736 cat >conftest.$ac_ext <<_ACEOF
38737 /* confdefs.h. */
38738 _ACEOF
38739 cat confdefs.h >>conftest.$ac_ext
38740 cat >>conftest.$ac_ext <<_ACEOF
38741 /* end confdefs.h. */
38742 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38744 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38745
38746 /* System header to define __stub macros and hopefully few prototypes,
38747 which can conflict with char pthread_mutex_timedlock (); below.
38748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38749 <limits.h> exists even on freestanding compilers. */
38750
38751 #ifdef __STDC__
38752 # include <limits.h>
38753 #else
38754 # include <assert.h>
38755 #endif
38756
38757 #undef pthread_mutex_timedlock
38758
38759 /* Override any GCC internal prototype to avoid an error.
38760 Use char because int might match the return type of a GCC
38761 builtin and then its argument prototype would still apply. */
38762 #ifdef __cplusplus
38763 extern "C"
38764 #endif
38765 char pthread_mutex_timedlock ();
38766 /* The GNU C library defines this for functions which it implements
38767 to always fail with ENOSYS. Some functions are actually named
38768 something starting with __ and the normal name is an alias. */
38769 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38770 choke me
38771 #endif
38772
38773 int
38774 main ()
38775 {
38776 return pthread_mutex_timedlock ();
38777 ;
38778 return 0;
38779 }
38780 _ACEOF
38781 rm -f conftest.$ac_objext conftest$ac_exeext
38782 if { (ac_try="$ac_link"
38783 case "(($ac_try" in
38784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38785 *) ac_try_echo=$ac_try;;
38786 esac
38787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38788 (eval "$ac_link") 2>conftest.er1
38789 ac_status=$?
38790 grep -v '^ *+' conftest.er1 >conftest.err
38791 rm -f conftest.er1
38792 cat conftest.err >&5
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); } && {
38795 test -z "$ac_c_werror_flag" ||
38796 test ! -s conftest.err
38797 } && test -s conftest$ac_exeext &&
38798 $as_test_x conftest$ac_exeext; then
38799 ac_cv_func_pthread_mutex_timedlock=yes
38800 else
38801 echo "$as_me: failed program was:" >&5
38802 sed 's/^/| /' conftest.$ac_ext >&5
38803
38804 ac_cv_func_pthread_mutex_timedlock=no
38805 fi
38806
38807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38808 conftest$ac_exeext conftest.$ac_ext
38809 fi
38810 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38811 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38812 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38813 cat >>confdefs.h <<\_ACEOF
38814 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38815 _ACEOF
38816
38817 else
38818 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38819 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38820 fi
38821
38822
38823 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38824 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38825 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38826 echo $ECHO_N "(cached) $ECHO_C" >&6
38827 else
38828 cat >conftest.$ac_ext <<_ACEOF
38829 /* confdefs.h. */
38830 _ACEOF
38831 cat confdefs.h >>conftest.$ac_ext
38832 cat >>conftest.$ac_ext <<_ACEOF
38833 /* end confdefs.h. */
38834 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38836 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38837
38838 /* System header to define __stub macros and hopefully few prototypes,
38839 which can conflict with char pthread_attr_setstacksize (); below.
38840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38841 <limits.h> exists even on freestanding compilers. */
38842
38843 #ifdef __STDC__
38844 # include <limits.h>
38845 #else
38846 # include <assert.h>
38847 #endif
38848
38849 #undef pthread_attr_setstacksize
38850
38851 /* Override any GCC internal prototype to avoid an error.
38852 Use char because int might match the return type of a GCC
38853 builtin and then its argument prototype would still apply. */
38854 #ifdef __cplusplus
38855 extern "C"
38856 #endif
38857 char pthread_attr_setstacksize ();
38858 /* The GNU C library defines this for functions which it implements
38859 to always fail with ENOSYS. Some functions are actually named
38860 something starting with __ and the normal name is an alias. */
38861 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38862 choke me
38863 #endif
38864
38865 int
38866 main ()
38867 {
38868 return pthread_attr_setstacksize ();
38869 ;
38870 return 0;
38871 }
38872 _ACEOF
38873 rm -f conftest.$ac_objext conftest$ac_exeext
38874 if { (ac_try="$ac_link"
38875 case "(($ac_try" in
38876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38877 *) ac_try_echo=$ac_try;;
38878 esac
38879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38880 (eval "$ac_link") 2>conftest.er1
38881 ac_status=$?
38882 grep -v '^ *+' conftest.er1 >conftest.err
38883 rm -f conftest.er1
38884 cat conftest.err >&5
38885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38886 (exit $ac_status); } && {
38887 test -z "$ac_c_werror_flag" ||
38888 test ! -s conftest.err
38889 } && test -s conftest$ac_exeext &&
38890 $as_test_x conftest$ac_exeext; then
38891 ac_cv_func_pthread_attr_setstacksize=yes
38892 else
38893 echo "$as_me: failed program was:" >&5
38894 sed 's/^/| /' conftest.$ac_ext >&5
38895
38896 ac_cv_func_pthread_attr_setstacksize=no
38897 fi
38898
38899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38900 conftest$ac_exeext conftest.$ac_ext
38901 fi
38902 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38903 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38904 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38905 cat >>confdefs.h <<\_ACEOF
38906 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38907 _ACEOF
38908
38909 fi
38910
38911
38912
38913 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38914 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38915 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38916 echo $ECHO_N "(cached) $ECHO_C" >&6
38917 else
38918
38919 cat >conftest.$ac_ext <<_ACEOF
38920 /* confdefs.h. */
38921 _ACEOF
38922 cat confdefs.h >>conftest.$ac_ext
38923 cat >>conftest.$ac_ext <<_ACEOF
38924 /* end confdefs.h. */
38925 #include <pthread.h>
38926 int
38927 main ()
38928 {
38929
38930 pthread_mutexattr_t attr;
38931 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38932
38933 ;
38934 return 0;
38935 }
38936 _ACEOF
38937 rm -f conftest.$ac_objext
38938 if { (ac_try="$ac_compile"
38939 case "(($ac_try" in
38940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38941 *) ac_try_echo=$ac_try;;
38942 esac
38943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38944 (eval "$ac_compile") 2>conftest.er1
38945 ac_status=$?
38946 grep -v '^ *+' conftest.er1 >conftest.err
38947 rm -f conftest.er1
38948 cat conftest.err >&5
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); } && {
38951 test -z "$ac_c_werror_flag" ||
38952 test ! -s conftest.err
38953 } && test -s conftest.$ac_objext; then
38954 wx_cv_type_pthread_mutexattr_t=yes
38955 else
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38958
38959 wx_cv_type_pthread_mutexattr_t=no
38960
38961 fi
38962
38963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38964
38965 fi
38966 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38967 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38968
38969 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38970 cat >>confdefs.h <<\_ACEOF
38971 #define HAVE_PTHREAD_MUTEXATTR_T 1
38972 _ACEOF
38973
38974
38975 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38976 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38977 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38978 echo $ECHO_N "(cached) $ECHO_C" >&6
38979 else
38980
38981 cat >conftest.$ac_ext <<_ACEOF
38982 /* confdefs.h. */
38983 _ACEOF
38984 cat confdefs.h >>conftest.$ac_ext
38985 cat >>conftest.$ac_ext <<_ACEOF
38986 /* end confdefs.h. */
38987 #include <pthread.h>
38988 int
38989 main ()
38990 {
38991
38992 pthread_mutexattr_t attr;
38993 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38994
38995 ;
38996 return 0;
38997 }
38998 _ACEOF
38999 rm -f conftest.$ac_objext
39000 if { (ac_try="$ac_compile"
39001 case "(($ac_try" in
39002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39003 *) ac_try_echo=$ac_try;;
39004 esac
39005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39006 (eval "$ac_compile") 2>conftest.er1
39007 ac_status=$?
39008 grep -v '^ *+' conftest.er1 >conftest.err
39009 rm -f conftest.er1
39010 cat conftest.err >&5
39011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39012 (exit $ac_status); } && {
39013 test -z "$ac_c_werror_flag" ||
39014 test ! -s conftest.err
39015 } && test -s conftest.$ac_objext; then
39016 wx_cv_func_pthread_mutexattr_settype_decl=yes
39017 else
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.$ac_ext >&5
39020
39021 wx_cv_func_pthread_mutexattr_settype_decl=no
39022
39023 fi
39024
39025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39026
39027 fi
39028 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39029 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39030 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39031 cat >>confdefs.h <<\_ACEOF
39032 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39033 _ACEOF
39034
39035 fi
39036 else
39037 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39038 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39039 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39042
39043 cat >conftest.$ac_ext <<_ACEOF
39044 /* confdefs.h. */
39045 _ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 #include <pthread.h>
39050 int
39051 main ()
39052 {
39053
39054 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39055
39056 ;
39057 return 0;
39058 }
39059 _ACEOF
39060 rm -f conftest.$ac_objext
39061 if { (ac_try="$ac_compile"
39062 case "(($ac_try" in
39063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39064 *) ac_try_echo=$ac_try;;
39065 esac
39066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39067 (eval "$ac_compile") 2>conftest.er1
39068 ac_status=$?
39069 grep -v '^ *+' conftest.er1 >conftest.err
39070 rm -f conftest.er1
39071 cat conftest.err >&5
39072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39073 (exit $ac_status); } && {
39074 test -z "$ac_c_werror_flag" ||
39075 test ! -s conftest.err
39076 } && test -s conftest.$ac_objext; then
39077
39078 wx_cv_type_pthread_rec_mutex_init=yes
39079
39080 else
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39083
39084
39085 wx_cv_type_pthread_rec_mutex_init=no
39086
39087
39088 fi
39089
39090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39091
39092 fi
39093 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39094 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39095 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39096 cat >>confdefs.h <<\_ACEOF
39097 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39098 _ACEOF
39099
39100 else
39101 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39102 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39103 fi
39104 fi
39105 fi
39106
39107 else
39108 if test "$wxUSE_THREADS" = "yes" ; then
39109 case "${host}" in
39110 *-*-mingw32* )
39111 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39112 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39113 if test "${wx_cv_cflags_mthread+set}" = set; then
39114 echo $ECHO_N "(cached) $ECHO_C" >&6
39115 else
39116
39117 CFLAGS_OLD="$CFLAGS"
39118 CFLAGS="-mthreads $CFLAGS"
39119 cat >conftest.$ac_ext <<_ACEOF
39120 /* confdefs.h. */
39121 _ACEOF
39122 cat confdefs.h >>conftest.$ac_ext
39123 cat >>conftest.$ac_ext <<_ACEOF
39124 /* end confdefs.h. */
39125
39126 int
39127 main ()
39128 {
39129
39130 ;
39131 return 0;
39132 }
39133 _ACEOF
39134 rm -f conftest.$ac_objext
39135 if { (ac_try="$ac_compile"
39136 case "(($ac_try" in
39137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39138 *) ac_try_echo=$ac_try;;
39139 esac
39140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39141 (eval "$ac_compile") 2>conftest.er1
39142 ac_status=$?
39143 grep -v '^ *+' conftest.er1 >conftest.err
39144 rm -f conftest.er1
39145 cat conftest.err >&5
39146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39147 (exit $ac_status); } && {
39148 test -z "$ac_c_werror_flag" ||
39149 test ! -s conftest.err
39150 } && test -s conftest.$ac_objext; then
39151 wx_cv_cflags_mthread=yes
39152 else
39153 echo "$as_me: failed program was:" >&5
39154 sed 's/^/| /' conftest.$ac_ext >&5
39155
39156 wx_cv_cflags_mthread=no
39157
39158 fi
39159
39160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39161
39162
39163 fi
39164 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39165 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39166
39167 if test "$wx_cv_cflags_mthread" = "yes"; then
39168 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39169 LDFLAGS="$LDFLAGS -mthreads"
39170 else
39171 CFLAGS="$CFLAGS_OLD"
39172 fi
39173 ;;
39174 *-pc-os2*emx )
39175 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39176 LDFLAGS="$LDFLAGS -Zmt"
39177 ;;
39178 esac
39179 fi
39180 fi
39181
39182 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39183 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39184 if test "${ac_cv_func_localtime_r+set}" = set; then
39185 echo $ECHO_N "(cached) $ECHO_C" >&6
39186 else
39187 cat >conftest.$ac_ext <<_ACEOF
39188 /* confdefs.h. */
39189 _ACEOF
39190 cat confdefs.h >>conftest.$ac_ext
39191 cat >>conftest.$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39193 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39195 #define localtime_r innocuous_localtime_r
39196
39197 /* System header to define __stub macros and hopefully few prototypes,
39198 which can conflict with char localtime_r (); below.
39199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39200 <limits.h> exists even on freestanding compilers. */
39201
39202 #ifdef __STDC__
39203 # include <limits.h>
39204 #else
39205 # include <assert.h>
39206 #endif
39207
39208 #undef localtime_r
39209
39210 /* Override any GCC internal prototype to avoid an error.
39211 Use char because int might match the return type of a GCC
39212 builtin and then its argument prototype would still apply. */
39213 #ifdef __cplusplus
39214 extern "C"
39215 #endif
39216 char localtime_r ();
39217 /* The GNU C library defines this for functions which it implements
39218 to always fail with ENOSYS. Some functions are actually named
39219 something starting with __ and the normal name is an alias. */
39220 #if defined __stub_localtime_r || defined __stub___localtime_r
39221 choke me
39222 #endif
39223
39224 int
39225 main ()
39226 {
39227 return localtime_r ();
39228 ;
39229 return 0;
39230 }
39231 _ACEOF
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (ac_try="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39237 esac
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest$ac_exeext &&
39249 $as_test_x conftest$ac_exeext; then
39250 ac_cv_func_localtime_r=yes
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39254
39255 ac_cv_func_localtime_r=no
39256 fi
39257
39258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39259 conftest$ac_exeext conftest.$ac_ext
39260 fi
39261 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39262 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39263 if test $ac_cv_func_localtime_r = yes; then
39264 cat >>confdefs.h <<\_ACEOF
39265 #define HAVE_LOCALTIME_R 1
39266 _ACEOF
39267
39268 fi
39269
39270 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39271 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39272 if test "${ac_cv_func_gmtime_r+set}" = set; then
39273 echo $ECHO_N "(cached) $ECHO_C" >&6
39274 else
39275 cat >conftest.$ac_ext <<_ACEOF
39276 /* confdefs.h. */
39277 _ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39283 #define gmtime_r innocuous_gmtime_r
39284
39285 /* System header to define __stub macros and hopefully few prototypes,
39286 which can conflict with char gmtime_r (); below.
39287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39288 <limits.h> exists even on freestanding compilers. */
39289
39290 #ifdef __STDC__
39291 # include <limits.h>
39292 #else
39293 # include <assert.h>
39294 #endif
39295
39296 #undef gmtime_r
39297
39298 /* Override any GCC internal prototype to avoid an error.
39299 Use char because int might match the return type of a GCC
39300 builtin and then its argument prototype would still apply. */
39301 #ifdef __cplusplus
39302 extern "C"
39303 #endif
39304 char gmtime_r ();
39305 /* The GNU C library defines this for functions which it implements
39306 to always fail with ENOSYS. Some functions are actually named
39307 something starting with __ and the normal name is an alias. */
39308 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39309 choke me
39310 #endif
39311
39312 int
39313 main ()
39314 {
39315 return gmtime_r ();
39316 ;
39317 return 0;
39318 }
39319 _ACEOF
39320 rm -f conftest.$ac_objext conftest$ac_exeext
39321 if { (ac_try="$ac_link"
39322 case "(($ac_try" in
39323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39324 *) ac_try_echo=$ac_try;;
39325 esac
39326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39327 (eval "$ac_link") 2>conftest.er1
39328 ac_status=$?
39329 grep -v '^ *+' conftest.er1 >conftest.err
39330 rm -f conftest.er1
39331 cat conftest.err >&5
39332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39333 (exit $ac_status); } && {
39334 test -z "$ac_c_werror_flag" ||
39335 test ! -s conftest.err
39336 } && test -s conftest$ac_exeext &&
39337 $as_test_x conftest$ac_exeext; then
39338 ac_cv_func_gmtime_r=yes
39339 else
39340 echo "$as_me: failed program was:" >&5
39341 sed 's/^/| /' conftest.$ac_ext >&5
39342
39343 ac_cv_func_gmtime_r=no
39344 fi
39345
39346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39347 conftest$ac_exeext conftest.$ac_ext
39348 fi
39349 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39350 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39351 if test $ac_cv_func_gmtime_r = yes; then
39352 cat >>confdefs.h <<\_ACEOF
39353 #define HAVE_GMTIME_R 1
39354 _ACEOF
39355
39356 fi
39357
39358 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39359 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39360 if test "${ac_cv_func_readdir_r+set}" = set; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 else
39363 cat >conftest.$ac_ext <<_ACEOF
39364 /* confdefs.h. */
39365 _ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h. */
39369 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39371 #define readdir_r innocuous_readdir_r
39372
39373 /* System header to define __stub macros and hopefully few prototypes,
39374 which can conflict with char readdir_r (); below.
39375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39376 <limits.h> exists even on freestanding compilers. */
39377
39378 #ifdef __STDC__
39379 # include <limits.h>
39380 #else
39381 # include <assert.h>
39382 #endif
39383
39384 #undef readdir_r
39385
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39389 #ifdef __cplusplus
39390 extern "C"
39391 #endif
39392 char readdir_r ();
39393 /* The GNU C library defines this for functions which it implements
39394 to always fail with ENOSYS. Some functions are actually named
39395 something starting with __ and the normal name is an alias. */
39396 #if defined __stub_readdir_r || defined __stub___readdir_r
39397 choke me
39398 #endif
39399
39400 int
39401 main ()
39402 {
39403 return readdir_r ();
39404 ;
39405 return 0;
39406 }
39407 _ACEOF
39408 rm -f conftest.$ac_objext conftest$ac_exeext
39409 if { (ac_try="$ac_link"
39410 case "(($ac_try" in
39411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39412 *) ac_try_echo=$ac_try;;
39413 esac
39414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_link") 2>conftest.er1
39416 ac_status=$?
39417 grep -v '^ *+' conftest.er1 >conftest.err
39418 rm -f conftest.er1
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } && {
39422 test -z "$ac_c_werror_flag" ||
39423 test ! -s conftest.err
39424 } && test -s conftest$ac_exeext &&
39425 $as_test_x conftest$ac_exeext; then
39426 ac_cv_func_readdir_r=yes
39427 else
39428 echo "$as_me: failed program was:" >&5
39429 sed 's/^/| /' conftest.$ac_ext >&5
39430
39431 ac_cv_func_readdir_r=no
39432 fi
39433
39434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39435 conftest$ac_exeext conftest.$ac_ext
39436 fi
39437 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39438 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39439 if test $ac_cv_func_readdir_r = yes; then
39440 cat >>confdefs.h <<\_ACEOF
39441 #define HAVE_READDIR_R 1
39442 _ACEOF
39443
39444 fi
39445
39446
39447
39448
39449 ac_ext=c
39450 ac_cpp='$CPP $CPPFLAGS'
39451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39454
39455 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39456 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39457
39458 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39459 echo $ECHO_N "(cached) $ECHO_C" >&6
39460 else
39461
39462
39463 ################################################################
39464
39465 ac_cv_func_which_gethostbyname_r=unknown
39466
39467 #
39468 # ONE ARGUMENT (sanity check)
39469 #
39470
39471 # This should fail, as there is no variant of gethostbyname_r() that takes
39472 # a single argument. If it actually compiles, then we can assume that
39473 # netdb.h is not declaring the function, and the compiler is thereby
39474 # assuming an implicit prototype. In which case, we're out of luck.
39475 #
39476 cat >conftest.$ac_ext <<_ACEOF
39477 /* confdefs.h. */
39478 _ACEOF
39479 cat confdefs.h >>conftest.$ac_ext
39480 cat >>conftest.$ac_ext <<_ACEOF
39481 /* end confdefs.h. */
39482 #include <netdb.h>
39483 int
39484 main ()
39485 {
39486
39487 char *name = "www.gnu.org";
39488 (void)gethostbyname_r(name) /* ; */
39489
39490 ;
39491 return 0;
39492 }
39493 _ACEOF
39494 rm -f conftest.$ac_objext
39495 if { (ac_try="$ac_compile"
39496 case "(($ac_try" in
39497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39498 *) ac_try_echo=$ac_try;;
39499 esac
39500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39501 (eval "$ac_compile") 2>conftest.er1
39502 ac_status=$?
39503 grep -v '^ *+' conftest.er1 >conftest.err
39504 rm -f conftest.er1
39505 cat conftest.err >&5
39506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39507 (exit $ac_status); } && {
39508 test -z "$ac_c_werror_flag" ||
39509 test ! -s conftest.err
39510 } && test -s conftest.$ac_objext; then
39511 ac_cv_func_which_gethostbyname_r=no
39512 else
39513 echo "$as_me: failed program was:" >&5
39514 sed 's/^/| /' conftest.$ac_ext >&5
39515
39516
39517 fi
39518
39519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39520
39521 #
39522 # SIX ARGUMENTS
39523 # (e.g. Linux)
39524 #
39525
39526 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39527
39528 cat >conftest.$ac_ext <<_ACEOF
39529 /* confdefs.h. */
39530 _ACEOF
39531 cat confdefs.h >>conftest.$ac_ext
39532 cat >>conftest.$ac_ext <<_ACEOF
39533 /* end confdefs.h. */
39534 #include <netdb.h>
39535 int
39536 main ()
39537 {
39538
39539 char *name = "www.gnu.org";
39540 struct hostent ret, *retp;
39541 char buf[1024];
39542 int buflen = 1024;
39543 int my_h_errno;
39544 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39545
39546 ;
39547 return 0;
39548 }
39549 _ACEOF
39550 rm -f conftest.$ac_objext
39551 if { (ac_try="$ac_compile"
39552 case "(($ac_try" in
39553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39554 *) ac_try_echo=$ac_try;;
39555 esac
39556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39557 (eval "$ac_compile") 2>conftest.er1
39558 ac_status=$?
39559 grep -v '^ *+' conftest.er1 >conftest.err
39560 rm -f conftest.er1
39561 cat conftest.err >&5
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); } && {
39564 test -z "$ac_c_werror_flag" ||
39565 test ! -s conftest.err
39566 } && test -s conftest.$ac_objext; then
39567 ac_cv_func_which_gethostbyname_r=six
39568 else
39569 echo "$as_me: failed program was:" >&5
39570 sed 's/^/| /' conftest.$ac_ext >&5
39571
39572
39573 fi
39574
39575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39576
39577 fi
39578
39579 #
39580 # FIVE ARGUMENTS
39581 # (e.g. Solaris)
39582 #
39583
39584 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39585
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <netdb.h>
39593 int
39594 main ()
39595 {
39596
39597 char *name = "www.gnu.org";
39598 struct hostent ret;
39599 char buf[1024];
39600 int buflen = 1024;
39601 int my_h_errno;
39602 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39603
39604 ;
39605 return 0;
39606 }
39607 _ACEOF
39608 rm -f conftest.$ac_objext
39609 if { (ac_try="$ac_compile"
39610 case "(($ac_try" in
39611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39612 *) ac_try_echo=$ac_try;;
39613 esac
39614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39615 (eval "$ac_compile") 2>conftest.er1
39616 ac_status=$?
39617 grep -v '^ *+' conftest.er1 >conftest.err
39618 rm -f conftest.er1
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } && {
39622 test -z "$ac_c_werror_flag" ||
39623 test ! -s conftest.err
39624 } && test -s conftest.$ac_objext; then
39625 ac_cv_func_which_gethostbyname_r=five
39626 else
39627 echo "$as_me: failed program was:" >&5
39628 sed 's/^/| /' conftest.$ac_ext >&5
39629
39630
39631 fi
39632
39633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39634
39635 fi
39636
39637 #
39638 # THREE ARGUMENTS
39639 # (e.g. AIX, HP-UX, Tru64)
39640 #
39641
39642 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39643
39644 cat >conftest.$ac_ext <<_ACEOF
39645 /* confdefs.h. */
39646 _ACEOF
39647 cat confdefs.h >>conftest.$ac_ext
39648 cat >>conftest.$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39650 #include <netdb.h>
39651 int
39652 main ()
39653 {
39654
39655 char *name = "www.gnu.org";
39656 struct hostent ret;
39657 struct hostent_data data;
39658 (void)gethostbyname_r(name, &ret, &data) /* ; */
39659
39660 ;
39661 return 0;
39662 }
39663 _ACEOF
39664 rm -f conftest.$ac_objext
39665 if { (ac_try="$ac_compile"
39666 case "(($ac_try" in
39667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39668 *) ac_try_echo=$ac_try;;
39669 esac
39670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39671 (eval "$ac_compile") 2>conftest.er1
39672 ac_status=$?
39673 grep -v '^ *+' conftest.er1 >conftest.err
39674 rm -f conftest.er1
39675 cat conftest.err >&5
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); } && {
39678 test -z "$ac_c_werror_flag" ||
39679 test ! -s conftest.err
39680 } && test -s conftest.$ac_objext; then
39681 ac_cv_func_which_gethostbyname_r=three
39682 else
39683 echo "$as_me: failed program was:" >&5
39684 sed 's/^/| /' conftest.$ac_ext >&5
39685
39686
39687 fi
39688
39689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39690
39691 fi
39692
39693 ################################################################
39694
39695
39696 fi
39697
39698 case "$ac_cv_func_which_gethostbyname_r" in
39699 three)
39700 { echo "$as_me:$LINENO: result: three" >&5
39701 echo "${ECHO_T}three" >&6; }
39702 cat >>confdefs.h <<\_ACEOF
39703 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39704 _ACEOF
39705
39706 ;;
39707
39708 five)
39709 { echo "$as_me:$LINENO: result: five" >&5
39710 echo "${ECHO_T}five" >&6; }
39711 cat >>confdefs.h <<\_ACEOF
39712 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39713 _ACEOF
39714
39715 ;;
39716
39717 six)
39718 { echo "$as_me:$LINENO: result: six" >&5
39719 echo "${ECHO_T}six" >&6; }
39720 cat >>confdefs.h <<\_ACEOF
39721 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39722 _ACEOF
39723
39724 ;;
39725
39726 no)
39727 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39728 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39729 ;;
39730
39731 unknown)
39732 { echo "$as_me:$LINENO: result: can't tell" >&5
39733 echo "${ECHO_T}can't tell" >&6; }
39734 ;;
39735
39736 *)
39737 { { echo "$as_me:$LINENO: error: internal error" >&5
39738 echo "$as_me: error: internal error" >&2;}
39739 { (exit 1); exit 1; }; }
39740 ;;
39741 esac
39742
39743 ac_ext=c
39744 ac_cpp='$CPP $CPPFLAGS'
39745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39748
39749
39750
39751 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39752 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39753 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39754 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39755 if test "${ac_cv_func_gethostbyname+set}" = set; then
39756 echo $ECHO_N "(cached) $ECHO_C" >&6
39757 else
39758 cat >conftest.$ac_ext <<_ACEOF
39759 /* confdefs.h. */
39760 _ACEOF
39761 cat confdefs.h >>conftest.$ac_ext
39762 cat >>conftest.$ac_ext <<_ACEOF
39763 /* end confdefs.h. */
39764 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39766 #define gethostbyname innocuous_gethostbyname
39767
39768 /* System header to define __stub macros and hopefully few prototypes,
39769 which can conflict with char gethostbyname (); below.
39770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39771 <limits.h> exists even on freestanding compilers. */
39772
39773 #ifdef __STDC__
39774 # include <limits.h>
39775 #else
39776 # include <assert.h>
39777 #endif
39778
39779 #undef gethostbyname
39780
39781 /* Override any GCC internal prototype to avoid an error.
39782 Use char because int might match the return type of a GCC
39783 builtin and then its argument prototype would still apply. */
39784 #ifdef __cplusplus
39785 extern "C"
39786 #endif
39787 char gethostbyname ();
39788 /* The GNU C library defines this for functions which it implements
39789 to always fail with ENOSYS. Some functions are actually named
39790 something starting with __ and the normal name is an alias. */
39791 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39792 choke me
39793 #endif
39794
39795 int
39796 main ()
39797 {
39798 return gethostbyname ();
39799 ;
39800 return 0;
39801 }
39802 _ACEOF
39803 rm -f conftest.$ac_objext conftest$ac_exeext
39804 if { (ac_try="$ac_link"
39805 case "(($ac_try" in
39806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39807 *) ac_try_echo=$ac_try;;
39808 esac
39809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39810 (eval "$ac_link") 2>conftest.er1
39811 ac_status=$?
39812 grep -v '^ *+' conftest.er1 >conftest.err
39813 rm -f conftest.er1
39814 cat conftest.err >&5
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); } && {
39817 test -z "$ac_c_werror_flag" ||
39818 test ! -s conftest.err
39819 } && test -s conftest$ac_exeext &&
39820 $as_test_x conftest$ac_exeext; then
39821 ac_cv_func_gethostbyname=yes
39822 else
39823 echo "$as_me: failed program was:" >&5
39824 sed 's/^/| /' conftest.$ac_ext >&5
39825
39826 ac_cv_func_gethostbyname=no
39827 fi
39828
39829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39830 conftest$ac_exeext conftest.$ac_ext
39831 fi
39832 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39833 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39834 if test $ac_cv_func_gethostbyname = yes; then
39835 cat >>confdefs.h <<\_ACEOF
39836 #define HAVE_GETHOSTBYNAME 1
39837 _ACEOF
39838
39839 fi
39840
39841 fi
39842
39843 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39844 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39845 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 else
39848
39849 ac_ext=cpp
39850 ac_cpp='$CXXCPP $CPPFLAGS'
39851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39854
39855
39856 cat >conftest.$ac_ext <<_ACEOF
39857 /* confdefs.h. */
39858 _ACEOF
39859 cat confdefs.h >>conftest.$ac_ext
39860 cat >>conftest.$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39862 #include <netdb.h>
39863 int
39864 main ()
39865 {
39866
39867 char *name;
39868 char *proto;
39869 struct servent *se, *res;
39870 char buffer[2048];
39871 int buflen = 2048;
39872 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39873
39874 ;
39875 return 0;
39876 }
39877 _ACEOF
39878 rm -f conftest.$ac_objext
39879 if { (ac_try="$ac_compile"
39880 case "(($ac_try" in
39881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39882 *) ac_try_echo=$ac_try;;
39883 esac
39884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39885 (eval "$ac_compile") 2>conftest.er1
39886 ac_status=$?
39887 grep -v '^ *+' conftest.er1 >conftest.err
39888 rm -f conftest.er1
39889 cat conftest.err >&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } && {
39892 test -z "$ac_cxx_werror_flag" ||
39893 test ! -s conftest.err
39894 } && test -s conftest.$ac_objext; then
39895 ac_cv_func_which_getservbyname_r=six
39896 else
39897 echo "$as_me: failed program was:" >&5
39898 sed 's/^/| /' conftest.$ac_ext >&5
39899
39900
39901 cat >conftest.$ac_ext <<_ACEOF
39902 /* confdefs.h. */
39903 _ACEOF
39904 cat confdefs.h >>conftest.$ac_ext
39905 cat >>conftest.$ac_ext <<_ACEOF
39906 /* end confdefs.h. */
39907 #include <netdb.h>
39908 int
39909 main ()
39910 {
39911
39912 char *name;
39913 char *proto;
39914 struct servent *se;
39915 char buffer[2048];
39916 int buflen = 2048;
39917 (void) getservbyname_r(name, proto, se, buffer, buflen)
39918
39919 ;
39920 return 0;
39921 }
39922 _ACEOF
39923 rm -f conftest.$ac_objext
39924 if { (ac_try="$ac_compile"
39925 case "(($ac_try" in
39926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39927 *) ac_try_echo=$ac_try;;
39928 esac
39929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39930 (eval "$ac_compile") 2>conftest.er1
39931 ac_status=$?
39932 grep -v '^ *+' conftest.er1 >conftest.err
39933 rm -f conftest.er1
39934 cat conftest.err >&5
39935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936 (exit $ac_status); } && {
39937 test -z "$ac_cxx_werror_flag" ||
39938 test ! -s conftest.err
39939 } && test -s conftest.$ac_objext; then
39940 ac_cv_func_which_getservbyname_r=five
39941 else
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39944
39945
39946 cat >conftest.$ac_ext <<_ACEOF
39947 /* confdefs.h. */
39948 _ACEOF
39949 cat confdefs.h >>conftest.$ac_ext
39950 cat >>conftest.$ac_ext <<_ACEOF
39951 /* end confdefs.h. */
39952 #include <netdb.h>
39953 int
39954 main ()
39955 {
39956
39957 char *name;
39958 char *proto;
39959 struct servent *se;
39960 struct servent_data data;
39961 (void) getservbyname_r(name, proto, se, &data);
39962
39963 ;
39964 return 0;
39965 }
39966 _ACEOF
39967 rm -f conftest.$ac_objext
39968 if { (ac_try="$ac_compile"
39969 case "(($ac_try" in
39970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39971 *) ac_try_echo=$ac_try;;
39972 esac
39973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39974 (eval "$ac_compile") 2>conftest.er1
39975 ac_status=$?
39976 grep -v '^ *+' conftest.er1 >conftest.err
39977 rm -f conftest.er1
39978 cat conftest.err >&5
39979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39980 (exit $ac_status); } && {
39981 test -z "$ac_cxx_werror_flag" ||
39982 test ! -s conftest.err
39983 } && test -s conftest.$ac_objext; then
39984 ac_cv_func_which_getservbyname_r=four
39985 else
39986 echo "$as_me: failed program was:" >&5
39987 sed 's/^/| /' conftest.$ac_ext >&5
39988
39989 ac_cv_func_which_getservbyname_r=no
39990
39991 fi
39992
39993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39994
39995
39996 fi
39997
39998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39999
40000
40001 fi
40002
40003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40004 ac_ext=c
40005 ac_cpp='$CPP $CPPFLAGS'
40006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40009
40010
40011
40012 fi
40013 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40014 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40015
40016 if test $ac_cv_func_which_getservbyname_r = six; then
40017 cat >>confdefs.h <<\_ACEOF
40018 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40019 _ACEOF
40020
40021 elif test $ac_cv_func_which_getservbyname_r = five; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40024 _ACEOF
40025
40026 elif test $ac_cv_func_which_getservbyname_r = four; then
40027 cat >>confdefs.h <<\_ACEOF
40028 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40029 _ACEOF
40030
40031 fi
40032
40033
40034 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40035 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40036
40037 for ac_func in getservbyname
40038 do
40039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40040 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40042 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40043 echo $ECHO_N "(cached) $ECHO_C" >&6
40044 else
40045 cat >conftest.$ac_ext <<_ACEOF
40046 /* confdefs.h. */
40047 _ACEOF
40048 cat confdefs.h >>conftest.$ac_ext
40049 cat >>conftest.$ac_ext <<_ACEOF
40050 /* end confdefs.h. */
40051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40053 #define $ac_func innocuous_$ac_func
40054
40055 /* System header to define __stub macros and hopefully few prototypes,
40056 which can conflict with char $ac_func (); below.
40057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40058 <limits.h> exists even on freestanding compilers. */
40059
40060 #ifdef __STDC__
40061 # include <limits.h>
40062 #else
40063 # include <assert.h>
40064 #endif
40065
40066 #undef $ac_func
40067
40068 /* Override any GCC internal prototype to avoid an error.
40069 Use char because int might match the return type of a GCC
40070 builtin and then its argument prototype would still apply. */
40071 #ifdef __cplusplus
40072 extern "C"
40073 #endif
40074 char $ac_func ();
40075 /* The GNU C library defines this for functions which it implements
40076 to always fail with ENOSYS. Some functions are actually named
40077 something starting with __ and the normal name is an alias. */
40078 #if defined __stub_$ac_func || defined __stub___$ac_func
40079 choke me
40080 #endif
40081
40082 int
40083 main ()
40084 {
40085 return $ac_func ();
40086 ;
40087 return 0;
40088 }
40089 _ACEOF
40090 rm -f conftest.$ac_objext conftest$ac_exeext
40091 if { (ac_try="$ac_link"
40092 case "(($ac_try" in
40093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40094 *) ac_try_echo=$ac_try;;
40095 esac
40096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40097 (eval "$ac_link") 2>conftest.er1
40098 ac_status=$?
40099 grep -v '^ *+' conftest.er1 >conftest.err
40100 rm -f conftest.er1
40101 cat conftest.err >&5
40102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40103 (exit $ac_status); } && {
40104 test -z "$ac_c_werror_flag" ||
40105 test ! -s conftest.err
40106 } && test -s conftest$ac_exeext &&
40107 $as_test_x conftest$ac_exeext; then
40108 eval "$as_ac_var=yes"
40109 else
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40112
40113 eval "$as_ac_var=no"
40114 fi
40115
40116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40117 conftest$ac_exeext conftest.$ac_ext
40118 fi
40119 ac_res=`eval echo '${'$as_ac_var'}'`
40120 { echo "$as_me:$LINENO: result: $ac_res" >&5
40121 echo "${ECHO_T}$ac_res" >&6; }
40122 if test `eval echo '${'$as_ac_var'}'` = yes; then
40123 cat >>confdefs.h <<_ACEOF
40124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40125 _ACEOF
40126 cat >>confdefs.h <<\_ACEOF
40127 #define HAVE_GETSERVBYNAME 1
40128 _ACEOF
40129
40130 fi
40131 done
40132
40133 fi
40134
40135 if test "$wxUSE_THREADS" = "yes"; then
40136 cat >>confdefs.h <<\_ACEOF
40137 #define wxUSE_THREADS 1
40138 _ACEOF
40139
40140
40141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40142 else
40143 if test "$wx_cv_func_strtok_r" = "yes"; then
40144 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40145 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40146 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40147 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40148 { echo "$as_me:$LINENO: result: yes" >&5
40149 echo "${ECHO_T}yes" >&6; }
40150 else
40151 { echo "$as_me:$LINENO: result: no" >&5
40152 echo "${ECHO_T}no" >&6; }
40153 fi
40154 fi
40155 fi
40156
40157 if test "$WXGTK20" = 1 ; then
40158 cat >>confdefs.h <<_ACEOF
40159 #define __WXGTK20__ $WXGTK20
40160 _ACEOF
40161
40162 WXGTK12=1
40163 fi
40164
40165 if test "$WXGTK12" = 1 ; then
40166 cat >>confdefs.h <<_ACEOF
40167 #define __WXGTK12__ $WXGTK12
40168 _ACEOF
40169
40170 fi
40171
40172 if test "$WXGTK127" = 1 ; then
40173 cat >>confdefs.h <<_ACEOF
40174 #define __WXGTK127__ $WXGTK127
40175 _ACEOF
40176
40177 fi
40178
40179 if test "$WXGPE" = 1 ; then
40180 cat >>confdefs.h <<_ACEOF
40181 #define __WXGPE__ $WXGPE
40182 _ACEOF
40183
40184 fi
40185
40186 DEBUG_CFLAGS=
40187 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40188 DEBUG_CFLAGS="-g"
40189 wxUSE_OPTIMISE=no
40190 fi
40191
40192 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40193 wxUSE_DEBUG_INFO=yes
40194 if test "$GCC" = yes; then
40195 DEBUG_CFLAGS="-ggdb"
40196 fi
40197 fi
40198
40199 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40200 cat >>confdefs.h <<\_ACEOF
40201 #define WXDEBUG 1
40202 _ACEOF
40203
40204 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40205 else
40206 if test "$wxUSE_GTK" = 1 ; then
40207 if test "x$wxGTK_VERSION" = "x1" ; then
40208 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40209 fi
40210 fi
40211 fi
40212
40213 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40214 cat >>confdefs.h <<\_ACEOF
40215 #define wxUSE_MEMORY_TRACING 1
40216 _ACEOF
40217
40218 cat >>confdefs.h <<\_ACEOF
40219 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40220 _ACEOF
40221
40222 cat >>confdefs.h <<\_ACEOF
40223 #define wxUSE_DEBUG_NEW_ALWAYS 1
40224 _ACEOF
40225
40226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40227 fi
40228
40229 if test "$wxUSE_DMALLOC" = "yes" ; then
40230 DMALLOC_LIBS="-ldmallocthcxx"
40231 fi
40232
40233 PROFILE_FLAGS=
40234 if test "$wxUSE_PROFILE" = "yes" ; then
40235 PROFILE_FLAGS=" -pg"
40236 fi
40237
40238 if test "$GCC" = "yes" ; then
40239 if test "$wxUSE_NO_RTTI" = "yes" ; then
40240 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40241 fi
40242 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40243 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40244 fi
40245 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40246 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40247 fi
40248
40249 case "${host}" in
40250 powerpc*-*-aix* )
40251 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40252 ;;
40253 *-hppa* )
40254 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40255 ;;
40256 esac
40257 fi
40258
40259 OPTIMISE_CFLAGS=
40260 if test "$wxUSE_OPTIMISE" = "no" ; then
40261 if test "$GCC" = yes ; then
40262 OPTIMISE_CFLAGS="-O0"
40263 fi
40264 else
40265 if test "$GCC" = yes ; then
40266 case "${host}" in
40267 *-pc-os2_emx | *-pc-os2-emx )
40268 OPTIMISE_CFLAGS="-O2"
40269 ;;
40270 *)
40271 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40272 ;;
40273 esac
40274 else
40275 OPTIMISE_CFLAGS="-O"
40276 fi
40277 fi
40278
40279
40280 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40281 cat >>confdefs.h <<\_ACEOF
40282 #define WXWIN_COMPATIBILITY_2_6 1
40283 _ACEOF
40284
40285
40286 WXWIN_COMPATIBILITY_2_8="yes"
40287 fi
40288
40289 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40290 cat >>confdefs.h <<\_ACEOF
40291 #define WXWIN_COMPATIBILITY_2_8 1
40292 _ACEOF
40293
40294 fi
40295
40296
40297 if test "$wxUSE_GUI" = "yes"; then
40298 cat >>confdefs.h <<\_ACEOF
40299 #define wxUSE_GUI 1
40300 _ACEOF
40301
40302
40303 fi
40304
40305
40306 if test "$wxUSE_UNIX" = "yes"; then
40307 cat >>confdefs.h <<\_ACEOF
40308 #define wxUSE_UNIX 1
40309 _ACEOF
40310
40311 fi
40312
40313
40314 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40315
40316 HAVE_DL_FUNCS=0
40317 HAVE_SHL_FUNCS=0
40318 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40319 if test "$USE_DARWIN" = 1; then
40320 HAVE_DL_FUNCS=1
40321 elif test "$USE_DOS" = 1; then
40322 HAVE_DL_FUNCS=0
40323 else
40324
40325 for ac_func in dlopen
40326 do
40327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40330 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40331 echo $ECHO_N "(cached) $ECHO_C" >&6
40332 else
40333 cat >conftest.$ac_ext <<_ACEOF
40334 /* confdefs.h. */
40335 _ACEOF
40336 cat confdefs.h >>conftest.$ac_ext
40337 cat >>conftest.$ac_ext <<_ACEOF
40338 /* end confdefs.h. */
40339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40341 #define $ac_func innocuous_$ac_func
40342
40343 /* System header to define __stub macros and hopefully few prototypes,
40344 which can conflict with char $ac_func (); below.
40345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40346 <limits.h> exists even on freestanding compilers. */
40347
40348 #ifdef __STDC__
40349 # include <limits.h>
40350 #else
40351 # include <assert.h>
40352 #endif
40353
40354 #undef $ac_func
40355
40356 /* Override any GCC internal prototype to avoid an error.
40357 Use char because int might match the return type of a GCC
40358 builtin and then its argument prototype would still apply. */
40359 #ifdef __cplusplus
40360 extern "C"
40361 #endif
40362 char $ac_func ();
40363 /* The GNU C library defines this for functions which it implements
40364 to always fail with ENOSYS. Some functions are actually named
40365 something starting with __ and the normal name is an alias. */
40366 #if defined __stub_$ac_func || defined __stub___$ac_func
40367 choke me
40368 #endif
40369
40370 int
40371 main ()
40372 {
40373 return $ac_func ();
40374 ;
40375 return 0;
40376 }
40377 _ACEOF
40378 rm -f conftest.$ac_objext conftest$ac_exeext
40379 if { (ac_try="$ac_link"
40380 case "(($ac_try" in
40381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40382 *) ac_try_echo=$ac_try;;
40383 esac
40384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40385 (eval "$ac_link") 2>conftest.er1
40386 ac_status=$?
40387 grep -v '^ *+' conftest.er1 >conftest.err
40388 rm -f conftest.er1
40389 cat conftest.err >&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); } && {
40392 test -z "$ac_c_werror_flag" ||
40393 test ! -s conftest.err
40394 } && test -s conftest$ac_exeext &&
40395 $as_test_x conftest$ac_exeext; then
40396 eval "$as_ac_var=yes"
40397 else
40398 echo "$as_me: failed program was:" >&5
40399 sed 's/^/| /' conftest.$ac_ext >&5
40400
40401 eval "$as_ac_var=no"
40402 fi
40403
40404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40405 conftest$ac_exeext conftest.$ac_ext
40406 fi
40407 ac_res=`eval echo '${'$as_ac_var'}'`
40408 { echo "$as_me:$LINENO: result: $ac_res" >&5
40409 echo "${ECHO_T}$ac_res" >&6; }
40410 if test `eval echo '${'$as_ac_var'}'` = yes; then
40411 cat >>confdefs.h <<_ACEOF
40412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40413 _ACEOF
40414
40415 cat >>confdefs.h <<\_ACEOF
40416 #define HAVE_DLOPEN 1
40417 _ACEOF
40418
40419 HAVE_DL_FUNCS=1
40420
40421 else
40422
40423 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40424 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40425 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40426 echo $ECHO_N "(cached) $ECHO_C" >&6
40427 else
40428 ac_check_lib_save_LIBS=$LIBS
40429 LIBS="-ldl $LIBS"
40430 cat >conftest.$ac_ext <<_ACEOF
40431 /* confdefs.h. */
40432 _ACEOF
40433 cat confdefs.h >>conftest.$ac_ext
40434 cat >>conftest.$ac_ext <<_ACEOF
40435 /* end confdefs.h. */
40436
40437 /* Override any GCC internal prototype to avoid an error.
40438 Use char because int might match the return type of a GCC
40439 builtin and then its argument prototype would still apply. */
40440 #ifdef __cplusplus
40441 extern "C"
40442 #endif
40443 char dlopen ();
40444 int
40445 main ()
40446 {
40447 return dlopen ();
40448 ;
40449 return 0;
40450 }
40451 _ACEOF
40452 rm -f conftest.$ac_objext conftest$ac_exeext
40453 if { (ac_try="$ac_link"
40454 case "(($ac_try" in
40455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40456 *) ac_try_echo=$ac_try;;
40457 esac
40458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40459 (eval "$ac_link") 2>conftest.er1
40460 ac_status=$?
40461 grep -v '^ *+' conftest.er1 >conftest.err
40462 rm -f conftest.er1
40463 cat conftest.err >&5
40464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40465 (exit $ac_status); } && {
40466 test -z "$ac_c_werror_flag" ||
40467 test ! -s conftest.err
40468 } && test -s conftest$ac_exeext &&
40469 $as_test_x conftest$ac_exeext; then
40470 ac_cv_lib_dl_dlopen=yes
40471 else
40472 echo "$as_me: failed program was:" >&5
40473 sed 's/^/| /' conftest.$ac_ext >&5
40474
40475 ac_cv_lib_dl_dlopen=no
40476 fi
40477
40478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40479 conftest$ac_exeext conftest.$ac_ext
40480 LIBS=$ac_check_lib_save_LIBS
40481 fi
40482 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40483 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40484 if test $ac_cv_lib_dl_dlopen = yes; then
40485
40486 cat >>confdefs.h <<\_ACEOF
40487 #define HAVE_DLOPEN 1
40488 _ACEOF
40489
40490 HAVE_DL_FUNCS=1
40491 DL_LINK=" -ldl$DL_LINK"
40492
40493 else
40494
40495
40496 for ac_func in shl_load
40497 do
40498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40499 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40501 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40502 echo $ECHO_N "(cached) $ECHO_C" >&6
40503 else
40504 cat >conftest.$ac_ext <<_ACEOF
40505 /* confdefs.h. */
40506 _ACEOF
40507 cat confdefs.h >>conftest.$ac_ext
40508 cat >>conftest.$ac_ext <<_ACEOF
40509 /* end confdefs.h. */
40510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40512 #define $ac_func innocuous_$ac_func
40513
40514 /* System header to define __stub macros and hopefully few prototypes,
40515 which can conflict with char $ac_func (); below.
40516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40517 <limits.h> exists even on freestanding compilers. */
40518
40519 #ifdef __STDC__
40520 # include <limits.h>
40521 #else
40522 # include <assert.h>
40523 #endif
40524
40525 #undef $ac_func
40526
40527 /* Override any GCC internal prototype to avoid an error.
40528 Use char because int might match the return type of a GCC
40529 builtin and then its argument prototype would still apply. */
40530 #ifdef __cplusplus
40531 extern "C"
40532 #endif
40533 char $ac_func ();
40534 /* The GNU C library defines this for functions which it implements
40535 to always fail with ENOSYS. Some functions are actually named
40536 something starting with __ and the normal name is an alias. */
40537 #if defined __stub_$ac_func || defined __stub___$ac_func
40538 choke me
40539 #endif
40540
40541 int
40542 main ()
40543 {
40544 return $ac_func ();
40545 ;
40546 return 0;
40547 }
40548 _ACEOF
40549 rm -f conftest.$ac_objext conftest$ac_exeext
40550 if { (ac_try="$ac_link"
40551 case "(($ac_try" in
40552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40553 *) ac_try_echo=$ac_try;;
40554 esac
40555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40556 (eval "$ac_link") 2>conftest.er1
40557 ac_status=$?
40558 grep -v '^ *+' conftest.er1 >conftest.err
40559 rm -f conftest.er1
40560 cat conftest.err >&5
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); } && {
40563 test -z "$ac_c_werror_flag" ||
40564 test ! -s conftest.err
40565 } && test -s conftest$ac_exeext &&
40566 $as_test_x conftest$ac_exeext; then
40567 eval "$as_ac_var=yes"
40568 else
40569 echo "$as_me: failed program was:" >&5
40570 sed 's/^/| /' conftest.$ac_ext >&5
40571
40572 eval "$as_ac_var=no"
40573 fi
40574
40575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40576 conftest$ac_exeext conftest.$ac_ext
40577 fi
40578 ac_res=`eval echo '${'$as_ac_var'}'`
40579 { echo "$as_me:$LINENO: result: $ac_res" >&5
40580 echo "${ECHO_T}$ac_res" >&6; }
40581 if test `eval echo '${'$as_ac_var'}'` = yes; then
40582 cat >>confdefs.h <<_ACEOF
40583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40584 _ACEOF
40585
40586 cat >>confdefs.h <<\_ACEOF
40587 #define HAVE_SHL_LOAD 1
40588 _ACEOF
40589
40590 HAVE_SHL_FUNCS=1
40591
40592 else
40593
40594 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40595 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40596 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40597 echo $ECHO_N "(cached) $ECHO_C" >&6
40598 else
40599 ac_check_lib_save_LIBS=$LIBS
40600 LIBS="-lshl_load $LIBS"
40601 cat >conftest.$ac_ext <<_ACEOF
40602 /* confdefs.h. */
40603 _ACEOF
40604 cat confdefs.h >>conftest.$ac_ext
40605 cat >>conftest.$ac_ext <<_ACEOF
40606 /* end confdefs.h. */
40607
40608 /* Override any GCC internal prototype to avoid an error.
40609 Use char because int might match the return type of a GCC
40610 builtin and then its argument prototype would still apply. */
40611 #ifdef __cplusplus
40612 extern "C"
40613 #endif
40614 char dld ();
40615 int
40616 main ()
40617 {
40618 return dld ();
40619 ;
40620 return 0;
40621 }
40622 _ACEOF
40623 rm -f conftest.$ac_objext conftest$ac_exeext
40624 if { (ac_try="$ac_link"
40625 case "(($ac_try" in
40626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40627 *) ac_try_echo=$ac_try;;
40628 esac
40629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40630 (eval "$ac_link") 2>conftest.er1
40631 ac_status=$?
40632 grep -v '^ *+' conftest.er1 >conftest.err
40633 rm -f conftest.er1
40634 cat conftest.err >&5
40635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40636 (exit $ac_status); } && {
40637 test -z "$ac_c_werror_flag" ||
40638 test ! -s conftest.err
40639 } && test -s conftest$ac_exeext &&
40640 $as_test_x conftest$ac_exeext; then
40641 ac_cv_lib_shl_load_dld=yes
40642 else
40643 echo "$as_me: failed program was:" >&5
40644 sed 's/^/| /' conftest.$ac_ext >&5
40645
40646 ac_cv_lib_shl_load_dld=no
40647 fi
40648
40649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40650 conftest$ac_exeext conftest.$ac_ext
40651 LIBS=$ac_check_lib_save_LIBS
40652 fi
40653 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40654 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40655 if test $ac_cv_lib_shl_load_dld = yes; then
40656
40657 HAVE_SHL_FUNCS=1
40658 DL_LINK=" -ldld$DL_LINK"
40659
40660 fi
40661
40662
40663 fi
40664 done
40665
40666
40667 fi
40668
40669
40670 fi
40671 done
40672
40673
40674 if test "$HAVE_DL_FUNCS" = 1; then
40675
40676 for ac_func in dlerror
40677 do
40678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40683 else
40684 cat >conftest.$ac_ext <<_ACEOF
40685 /* confdefs.h. */
40686 _ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40692 #define $ac_func innocuous_$ac_func
40693
40694 /* System header to define __stub macros and hopefully few prototypes,
40695 which can conflict with char $ac_func (); below.
40696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40697 <limits.h> exists even on freestanding compilers. */
40698
40699 #ifdef __STDC__
40700 # include <limits.h>
40701 #else
40702 # include <assert.h>
40703 #endif
40704
40705 #undef $ac_func
40706
40707 /* Override any GCC internal prototype to avoid an error.
40708 Use char because int might match the return type of a GCC
40709 builtin and then its argument prototype would still apply. */
40710 #ifdef __cplusplus
40711 extern "C"
40712 #endif
40713 char $ac_func ();
40714 /* The GNU C library defines this for functions which it implements
40715 to always fail with ENOSYS. Some functions are actually named
40716 something starting with __ and the normal name is an alias. */
40717 #if defined __stub_$ac_func || defined __stub___$ac_func
40718 choke me
40719 #endif
40720
40721 int
40722 main ()
40723 {
40724 return $ac_func ();
40725 ;
40726 return 0;
40727 }
40728 _ACEOF
40729 rm -f conftest.$ac_objext conftest$ac_exeext
40730 if { (ac_try="$ac_link"
40731 case "(($ac_try" in
40732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40733 *) ac_try_echo=$ac_try;;
40734 esac
40735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40736 (eval "$ac_link") 2>conftest.er1
40737 ac_status=$?
40738 grep -v '^ *+' conftest.er1 >conftest.err
40739 rm -f conftest.er1
40740 cat conftest.err >&5
40741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40742 (exit $ac_status); } && {
40743 test -z "$ac_c_werror_flag" ||
40744 test ! -s conftest.err
40745 } && test -s conftest$ac_exeext &&
40746 $as_test_x conftest$ac_exeext; then
40747 eval "$as_ac_var=yes"
40748 else
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.$ac_ext >&5
40751
40752 eval "$as_ac_var=no"
40753 fi
40754
40755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40756 conftest$ac_exeext conftest.$ac_ext
40757 fi
40758 ac_res=`eval echo '${'$as_ac_var'}'`
40759 { echo "$as_me:$LINENO: result: $ac_res" >&5
40760 echo "${ECHO_T}$ac_res" >&6; }
40761 if test `eval echo '${'$as_ac_var'}'` = yes; then
40762 cat >>confdefs.h <<_ACEOF
40763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40764 _ACEOF
40765 cat >>confdefs.h <<\_ACEOF
40766 #define HAVE_DLERROR 1
40767 _ACEOF
40768
40769 else
40770
40771 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40772 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40773 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40774 echo $ECHO_N "(cached) $ECHO_C" >&6
40775 else
40776 ac_check_lib_save_LIBS=$LIBS
40777 LIBS="-ldl $LIBS"
40778 cat >conftest.$ac_ext <<_ACEOF
40779 /* confdefs.h. */
40780 _ACEOF
40781 cat confdefs.h >>conftest.$ac_ext
40782 cat >>conftest.$ac_ext <<_ACEOF
40783 /* end confdefs.h. */
40784
40785 /* Override any GCC internal prototype to avoid an error.
40786 Use char because int might match the return type of a GCC
40787 builtin and then its argument prototype would still apply. */
40788 #ifdef __cplusplus
40789 extern "C"
40790 #endif
40791 char dlerror ();
40792 int
40793 main ()
40794 {
40795 return dlerror ();
40796 ;
40797 return 0;
40798 }
40799 _ACEOF
40800 rm -f conftest.$ac_objext conftest$ac_exeext
40801 if { (ac_try="$ac_link"
40802 case "(($ac_try" in
40803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40804 *) ac_try_echo=$ac_try;;
40805 esac
40806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40807 (eval "$ac_link") 2>conftest.er1
40808 ac_status=$?
40809 grep -v '^ *+' conftest.er1 >conftest.err
40810 rm -f conftest.er1
40811 cat conftest.err >&5
40812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40813 (exit $ac_status); } && {
40814 test -z "$ac_c_werror_flag" ||
40815 test ! -s conftest.err
40816 } && test -s conftest$ac_exeext &&
40817 $as_test_x conftest$ac_exeext; then
40818 ac_cv_lib_dl_dlerror=yes
40819 else
40820 echo "$as_me: failed program was:" >&5
40821 sed 's/^/| /' conftest.$ac_ext >&5
40822
40823 ac_cv_lib_dl_dlerror=no
40824 fi
40825
40826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40827 conftest$ac_exeext conftest.$ac_ext
40828 LIBS=$ac_check_lib_save_LIBS
40829 fi
40830 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40831 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40832 if test $ac_cv_lib_dl_dlerror = yes; then
40833 cat >>confdefs.h <<\_ACEOF
40834 #define HAVE_DLERROR 1
40835 _ACEOF
40836
40837 fi
40838
40839
40840
40841 fi
40842 done
40843
40844 fi
40845 fi
40846
40847 if test "$HAVE_DL_FUNCS" = 0; then
40848 if test "$HAVE_SHL_FUNCS" = 0; then
40849 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40850 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40851 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40852 wxUSE_DYNAMIC_LOADER=no
40853 wxUSE_DYNLIB_CLASS=no
40854 else
40855 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40856 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40857 fi
40858 fi
40859 fi
40860 fi
40861 fi
40862
40863 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40864 cat >>confdefs.h <<\_ACEOF
40865 #define wxUSE_DYNAMIC_LOADER 1
40866 _ACEOF
40867
40868 fi
40869 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40870 cat >>confdefs.h <<\_ACEOF
40871 #define wxUSE_DYNLIB_CLASS 1
40872 _ACEOF
40873
40874 fi
40875
40876
40877
40878 if test "$wxUSE_PLUGINS" = "yes" ; then
40879 if test "$wxUSE_SHARED" = "no" ; then
40880 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40881 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40882 wxUSE_PLUGINS=no
40883 fi
40884 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40885 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40886 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40887 wxUSE_PLUGINS=no
40888 fi
40889 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40890 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40891 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40892 wxUSE_PLUGINS=no
40893 fi
40894 if test "$wxUSE_PLUGINS" = "yes" ; then
40895 cat >>confdefs.h <<\_ACEOF
40896 #define wxUSE_PLUGINS 1
40897 _ACEOF
40898
40899 fi
40900 fi
40901
40902
40903 if test "$wxUSE_STL" = "yes"; then
40904 cat >>confdefs.h <<\_ACEOF
40905 #define wxUSE_STL 1
40906 _ACEOF
40907
40908 fi
40909
40910 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
40911 cat >>confdefs.h <<\_ACEOF
40912 #define wxUSE_EXTENDED_RTTI 1
40913 _ACEOF
40914
40915 fi
40916
40917 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40918 cat >>confdefs.h <<\_ACEOF
40919 #define wxUSE_APPLE_IEEE 1
40920 _ACEOF
40921
40922 fi
40923
40924 if test "$wxUSE_TIMER" = "yes"; then
40925 cat >>confdefs.h <<\_ACEOF
40926 #define wxUSE_TIMER 1
40927 _ACEOF
40928
40929 fi
40930
40931 if test "$USE_UNIX" = "1" ; then
40932 if test "$wxUSE_MGL" != 1; then
40933 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40934 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40935 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40936 echo $ECHO_N "(cached) $ECHO_C" >&6
40937 else
40938
40939 cat >conftest.$ac_ext <<_ACEOF
40940 /* confdefs.h. */
40941 _ACEOF
40942 cat confdefs.h >>conftest.$ac_ext
40943 cat >>conftest.$ac_ext <<_ACEOF
40944 /* end confdefs.h. */
40945
40946 #include <sys/ioctl.h>
40947 #include <sys/soundcard.h>
40948
40949 int
40950 main ()
40951 {
40952
40953 ioctl(0, SNDCTL_DSP_SPEED, 0);
40954
40955 ;
40956 return 0;
40957 }
40958 _ACEOF
40959 rm -f conftest.$ac_objext conftest$ac_exeext
40960 if { (ac_try="$ac_link"
40961 case "(($ac_try" in
40962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40963 *) ac_try_echo=$ac_try;;
40964 esac
40965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40966 (eval "$ac_link") 2>conftest.er1
40967 ac_status=$?
40968 grep -v '^ *+' conftest.er1 >conftest.err
40969 rm -f conftest.er1
40970 cat conftest.err >&5
40971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972 (exit $ac_status); } && {
40973 test -z "$ac_c_werror_flag" ||
40974 test ! -s conftest.err
40975 } && test -s conftest$ac_exeext &&
40976 $as_test_x conftest$ac_exeext; then
40977 ac_cv_header_sys_soundcard=yes
40978 else
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.$ac_ext >&5
40981
40982
40983 saveLibs="$LIBS"
40984 LIBS="$saveLibs -lossaudio"
40985 cat >conftest.$ac_ext <<_ACEOF
40986 /* confdefs.h. */
40987 _ACEOF
40988 cat confdefs.h >>conftest.$ac_ext
40989 cat >>conftest.$ac_ext <<_ACEOF
40990 /* end confdefs.h. */
40991
40992 #include <sys/ioctl.h>
40993 #include <sys/soundcard.h>
40994
40995 int
40996 main ()
40997 {
40998
40999 ioctl(0, SNDCTL_DSP_SPEED, 0);
41000
41001 ;
41002 return 0;
41003 }
41004 _ACEOF
41005 rm -f conftest.$ac_objext conftest$ac_exeext
41006 if { (ac_try="$ac_link"
41007 case "(($ac_try" in
41008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41009 *) ac_try_echo=$ac_try;;
41010 esac
41011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41012 (eval "$ac_link") 2>conftest.er1
41013 ac_status=$?
41014 grep -v '^ *+' conftest.er1 >conftest.err
41015 rm -f conftest.er1
41016 cat conftest.err >&5
41017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41018 (exit $ac_status); } && {
41019 test -z "$ac_c_werror_flag" ||
41020 test ! -s conftest.err
41021 } && test -s conftest$ac_exeext &&
41022 $as_test_x conftest$ac_exeext; then
41023 ac_cv_header_sys_soundcard=yes
41024 else
41025 echo "$as_me: failed program was:" >&5
41026 sed 's/^/| /' conftest.$ac_ext >&5
41027
41028
41029 LIBS="$saveLibs"
41030 ac_cv_header_sys_soundcard=no
41031
41032
41033 fi
41034
41035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41036 conftest$ac_exeext conftest.$ac_ext
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 fi
41045 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41046 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41047 fi
41048
41049 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41050 cat >>confdefs.h <<\_ACEOF
41051 #define HAVE_SYS_SOUNDCARD_H 1
41052 _ACEOF
41053
41054 fi
41055 fi
41056
41057 WITH_PLUGIN_SDL=0
41058 if test "$wxUSE_SOUND" = "yes"; then
41059 if test "$USE_UNIX" = "1" ; then
41060 if test "$wxUSE_LIBSDL" != "no"; then
41061
41062 # Check whether --with-sdl-prefix was given.
41063 if test "${with_sdl_prefix+set}" = set; then
41064 withval=$with_sdl_prefix; sdl_prefix="$withval"
41065 else
41066 sdl_prefix=""
41067 fi
41068
41069
41070 # Check whether --with-sdl-exec-prefix was given.
41071 if test "${with_sdl_exec_prefix+set}" = set; then
41072 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41073 else
41074 sdl_exec_prefix=""
41075 fi
41076
41077 # Check whether --enable-sdltest was given.
41078 if test "${enable_sdltest+set}" = set; then
41079 enableval=$enable_sdltest;
41080 else
41081 enable_sdltest=yes
41082 fi
41083
41084
41085 if test x$sdl_exec_prefix != x ; then
41086 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41087 if test x${SDL_CONFIG+set} != xset ; then
41088 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41089 fi
41090 fi
41091 if test x$sdl_prefix != x ; then
41092 sdl_args="$sdl_args --prefix=$sdl_prefix"
41093 if test x${SDL_CONFIG+set} != xset ; then
41094 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41095 fi
41096 fi
41097
41098 if test "x$prefix" != xNONE; then
41099 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41100 fi
41101 # Extract the first word of "sdl-config", so it can be a program name with args.
41102 set dummy sdl-config; ac_word=$2
41103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41105 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41106 echo $ECHO_N "(cached) $ECHO_C" >&6
41107 else
41108 case $SDL_CONFIG in
41109 [\\/]* | ?:[\\/]*)
41110 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41111 ;;
41112 *)
41113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41114 for as_dir in $PATH
41115 do
41116 IFS=$as_save_IFS
41117 test -z "$as_dir" && as_dir=.
41118 for ac_exec_ext in '' $ac_executable_extensions; do
41119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41120 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41122 break 2
41123 fi
41124 done
41125 done
41126 IFS=$as_save_IFS
41127
41128 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41129 ;;
41130 esac
41131 fi
41132 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41133 if test -n "$SDL_CONFIG"; then
41134 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41135 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41136 else
41137 { echo "$as_me:$LINENO: result: no" >&5
41138 echo "${ECHO_T}no" >&6; }
41139 fi
41140
41141
41142 min_sdl_version=1.2.0
41143 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41144 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41145 no_sdl=""
41146 if test "$SDL_CONFIG" = "no" ; then
41147 no_sdl=yes
41148 else
41149 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41150 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41151
41152 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41154 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41155 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41156 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41158 if test "x$enable_sdltest" = "xyes" ; then
41159 ac_save_CFLAGS="$CFLAGS"
41160 ac_save_CXXFLAGS="$CXXFLAGS"
41161 ac_save_LIBS="$LIBS"
41162 CFLAGS="$CFLAGS $SDL_CFLAGS"
41163 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41164 LIBS="$LIBS $SDL_LIBS"
41165 rm -f conf.sdltest
41166 if test "$cross_compiling" = yes; then
41167 echo $ac_n "cross compiling; assumed OK... $ac_c"
41168 else
41169 cat >conftest.$ac_ext <<_ACEOF
41170 /* confdefs.h. */
41171 _ACEOF
41172 cat confdefs.h >>conftest.$ac_ext
41173 cat >>conftest.$ac_ext <<_ACEOF
41174 /* end confdefs.h. */
41175
41176 #include <stdio.h>
41177 #include <stdlib.h>
41178 #include <string.h>
41179 #include "SDL.h"
41180
41181 char*
41182 my_strdup (char *str)
41183 {
41184 char *new_str;
41185
41186 if (str)
41187 {
41188 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41189 strcpy (new_str, str);
41190 }
41191 else
41192 new_str = NULL;
41193
41194 return new_str;
41195 }
41196
41197 int main (int argc, char *argv[])
41198 {
41199 int major, minor, micro;
41200 char *tmp_version;
41201
41202 /* This hangs on some systems (?)
41203 system ("touch conf.sdltest");
41204 */
41205 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41206
41207 /* HP/UX 9 (%@#!) writes to sscanf strings */
41208 tmp_version = my_strdup("$min_sdl_version");
41209 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41210 printf("%s, bad version string\n", "$min_sdl_version");
41211 exit(1);
41212 }
41213
41214 if (($sdl_major_version > major) ||
41215 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41216 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41217 {
41218 return 0;
41219 }
41220 else
41221 {
41222 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41223 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41224 printf("*** best to upgrade to the required version.\n");
41225 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41226 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41227 printf("*** config.cache before re-running configure\n");
41228 return 1;
41229 }
41230 }
41231
41232
41233 _ACEOF
41234 rm -f conftest$ac_exeext
41235 if { (ac_try="$ac_link"
41236 case "(($ac_try" in
41237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41238 *) ac_try_echo=$ac_try;;
41239 esac
41240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41241 (eval "$ac_link") 2>&5
41242 ac_status=$?
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41245 { (case "(($ac_try" in
41246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41247 *) ac_try_echo=$ac_try;;
41248 esac
41249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41250 (eval "$ac_try") 2>&5
41251 ac_status=$?
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); }; }; then
41254 :
41255 else
41256 echo "$as_me: program exited with status $ac_status" >&5
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.$ac_ext >&5
41259
41260 ( exit $ac_status )
41261 no_sdl=yes
41262 fi
41263 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41264 fi
41265
41266
41267 CFLAGS="$ac_save_CFLAGS"
41268 CXXFLAGS="$ac_save_CXXFLAGS"
41269 LIBS="$ac_save_LIBS"
41270 fi
41271 fi
41272 if test "x$no_sdl" = x ; then
41273 { echo "$as_me:$LINENO: result: yes" >&5
41274 echo "${ECHO_T}yes" >&6; }
41275
41276 EXTRALIBS_SDL="$SDL_LIBS"
41277 CFLAGS="$SDL_CFLAGS $CFLAGS"
41278 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41279 cat >>confdefs.h <<\_ACEOF
41280 #define wxUSE_LIBSDL 1
41281 _ACEOF
41282
41283
41284 else
41285 { echo "$as_me:$LINENO: result: no" >&5
41286 echo "${ECHO_T}no" >&6; }
41287 if test "$SDL_CONFIG" = "no" ; then
41288 echo "*** The sdl-config script installed by SDL could not be found"
41289 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41290 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41291 echo "*** full path to sdl-config."
41292 else
41293 if test -f conf.sdltest ; then
41294 :
41295 else
41296 echo "*** Could not run SDL test program, checking why..."
41297 CFLAGS="$CFLAGS $SDL_CFLAGS"
41298 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41299 LIBS="$LIBS $SDL_LIBS"
41300 cat >conftest.$ac_ext <<_ACEOF
41301 /* confdefs.h. */
41302 _ACEOF
41303 cat confdefs.h >>conftest.$ac_ext
41304 cat >>conftest.$ac_ext <<_ACEOF
41305 /* end confdefs.h. */
41306
41307 #include <stdio.h>
41308 #include "SDL.h"
41309
41310 int main(int argc, char *argv[])
41311 { return 0; }
41312 #undef main
41313 #define main K_and_R_C_main
41314
41315 int
41316 main ()
41317 {
41318 return 0;
41319 ;
41320 return 0;
41321 }
41322 _ACEOF
41323 rm -f conftest.$ac_objext conftest$ac_exeext
41324 if { (ac_try="$ac_link"
41325 case "(($ac_try" in
41326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41327 *) ac_try_echo=$ac_try;;
41328 esac
41329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41330 (eval "$ac_link") 2>conftest.er1
41331 ac_status=$?
41332 grep -v '^ *+' conftest.er1 >conftest.err
41333 rm -f conftest.er1
41334 cat conftest.err >&5
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); } && {
41337 test -z "$ac_c_werror_flag" ||
41338 test ! -s conftest.err
41339 } && test -s conftest$ac_exeext &&
41340 $as_test_x conftest$ac_exeext; then
41341 echo "*** The test program compiled, but did not run. This usually means"
41342 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41343 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41344 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41345 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41346 echo "*** is required on your system"
41347 echo "***"
41348 echo "*** If you have an old version installed, it is best to remove it, although"
41349 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41350 else
41351 echo "$as_me: failed program was:" >&5
41352 sed 's/^/| /' conftest.$ac_ext >&5
41353
41354 echo "*** The test program failed to compile or link. See the file config.log for the"
41355 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41356 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41357 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41358 fi
41359
41360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41361 conftest$ac_exeext conftest.$ac_ext
41362 CFLAGS="$ac_save_CFLAGS"
41363 CXXFLAGS="$ac_save_CXXFLAGS"
41364 LIBS="$ac_save_LIBS"
41365 fi
41366 fi
41367 SDL_CFLAGS=""
41368 SDL_LIBS=""
41369 wxUSE_LIBSDL="no"
41370 fi
41371
41372
41373 rm -f conf.sdltest
41374
41375 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41376 WITH_PLUGIN_SDL=1
41377 fi
41378 fi
41379 else
41380 if test "$wxUSE_MGL" = 1; then
41381 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41382 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41383 wxUSE_SOUND="no"
41384 fi
41385 fi
41386 fi
41387
41388 if test "$wxUSE_SOUND" = "yes"; then
41389 cat >>confdefs.h <<\_ACEOF
41390 #define wxUSE_SOUND 1
41391 _ACEOF
41392
41393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41394 fi
41395
41396 if test "$WXGTK20" = 1; then
41397
41398
41399 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41400 if test -n "$ac_tool_prefix"; then
41401 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41402 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41405 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41406 echo $ECHO_N "(cached) $ECHO_C" >&6
41407 else
41408 case $PKG_CONFIG in
41409 [\\/]* | ?:[\\/]*)
41410 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41411 ;;
41412 *)
41413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41414 for as_dir in $PATH
41415 do
41416 IFS=$as_save_IFS
41417 test -z "$as_dir" && as_dir=.
41418 for ac_exec_ext in '' $ac_executable_extensions; do
41419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41420 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41422 break 2
41423 fi
41424 done
41425 done
41426 IFS=$as_save_IFS
41427
41428 ;;
41429 esac
41430 fi
41431 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41432 if test -n "$PKG_CONFIG"; then
41433 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41434 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41435 else
41436 { echo "$as_me:$LINENO: result: no" >&5
41437 echo "${ECHO_T}no" >&6; }
41438 fi
41439
41440
41441 fi
41442 if test -z "$ac_cv_path_PKG_CONFIG"; then
41443 ac_pt_PKG_CONFIG=$PKG_CONFIG
41444 # Extract the first word of "pkg-config", so it can be a program name with args.
41445 set dummy pkg-config; ac_word=$2
41446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41448 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41449 echo $ECHO_N "(cached) $ECHO_C" >&6
41450 else
41451 case $ac_pt_PKG_CONFIG in
41452 [\\/]* | ?:[\\/]*)
41453 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41454 ;;
41455 *)
41456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41457 for as_dir in $PATH
41458 do
41459 IFS=$as_save_IFS
41460 test -z "$as_dir" && as_dir=.
41461 for ac_exec_ext in '' $ac_executable_extensions; do
41462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41463 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41465 break 2
41466 fi
41467 done
41468 done
41469 IFS=$as_save_IFS
41470
41471 ;;
41472 esac
41473 fi
41474 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41475 if test -n "$ac_pt_PKG_CONFIG"; then
41476 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41477 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41478 else
41479 { echo "$as_me:$LINENO: result: no" >&5
41480 echo "${ECHO_T}no" >&6; }
41481 fi
41482
41483 if test "x$ac_pt_PKG_CONFIG" = x; then
41484 PKG_CONFIG=""
41485 else
41486 case $cross_compiling:$ac_tool_warned in
41487 yes:)
41488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41489 whose name does not start with the host triplet. If you think this
41490 configuration is useful to you, please write to autoconf@gnu.org." >&5
41491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41492 whose name does not start with the host triplet. If you think this
41493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41494 ac_tool_warned=yes ;;
41495 esac
41496 PKG_CONFIG=$ac_pt_PKG_CONFIG
41497 fi
41498 else
41499 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41500 fi
41501
41502 fi
41503 if test -n "$PKG_CONFIG"; then
41504 _pkg_min_version=0.9.0
41505 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41506 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41507 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41508 { echo "$as_me:$LINENO: result: yes" >&5
41509 echo "${ECHO_T}yes" >&6; }
41510 else
41511 { echo "$as_me:$LINENO: result: no" >&5
41512 echo "${ECHO_T}no" >&6; }
41513 PKG_CONFIG=""
41514 fi
41515
41516 fi
41517
41518 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41519 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41520
41521
41522 pkg_failed=no
41523 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41524 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41525
41526 if test -n "$PKG_CONFIG"; then
41527 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41528 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41529 else
41530 if test -n "$PKG_CONFIG" && \
41531 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41532 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41533 ac_status=$?
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); }; then
41536 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41537 else
41538 pkg_failed=yes
41539 fi
41540 fi
41541 else
41542 pkg_failed=untried
41543 fi
41544 if test -n "$PKG_CONFIG"; then
41545 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41546 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41547 else
41548 if test -n "$PKG_CONFIG" && \
41549 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41550 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41551 ac_status=$?
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); }; then
41554 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41555 else
41556 pkg_failed=yes
41557 fi
41558 fi
41559 else
41560 pkg_failed=untried
41561 fi
41562
41563
41564
41565 if test $pkg_failed = yes; then
41566
41567 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41568 _pkg_short_errors_supported=yes
41569 else
41570 _pkg_short_errors_supported=no
41571 fi
41572 if test $_pkg_short_errors_supported = yes; then
41573 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41574 else
41575 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41576 fi
41577 # Put the nasty error message in config.log where it belongs
41578 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41579
41580
41581 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41582 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41583 wxUSE_LIBGNOMEPRINT="no"
41584
41585
41586 elif test $pkg_failed = untried; then
41587
41588 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41589 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41590 wxUSE_LIBGNOMEPRINT="no"
41591
41592
41593 else
41594 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41595 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41596 { echo "$as_me:$LINENO: result: yes" >&5
41597 echo "${ECHO_T}yes" >&6; }
41598
41599 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41600 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41601 cat >>confdefs.h <<\_ACEOF
41602 #define wxUSE_LIBGNOMEPRINT 1
41603 _ACEOF
41604
41605
41606 fi
41607 fi
41608 fi
41609
41610 if test "$wxUSE_MIMETYPE" = "yes" ; then
41611 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41612
41613
41614 pkg_failed=no
41615 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41616 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41617
41618 if test -n "$PKG_CONFIG"; then
41619 if test -n "$GNOMEVFS_CFLAGS"; then
41620 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41621 else
41622 if test -n "$PKG_CONFIG" && \
41623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41624 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41625 ac_status=$?
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; then
41628 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41629 else
41630 pkg_failed=yes
41631 fi
41632 fi
41633 else
41634 pkg_failed=untried
41635 fi
41636 if test -n "$PKG_CONFIG"; then
41637 if test -n "$GNOMEVFS_LIBS"; then
41638 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41639 else
41640 if test -n "$PKG_CONFIG" && \
41641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41642 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41643 ac_status=$?
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); }; then
41646 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41647 else
41648 pkg_failed=yes
41649 fi
41650 fi
41651 else
41652 pkg_failed=untried
41653 fi
41654
41655
41656
41657 if test $pkg_failed = yes; then
41658
41659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41660 _pkg_short_errors_supported=yes
41661 else
41662 _pkg_short_errors_supported=no
41663 fi
41664 if test $_pkg_short_errors_supported = yes; then
41665 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41666 else
41667 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41668 fi
41669 # Put the nasty error message in config.log where it belongs
41670 echo "$GNOMEVFS_PKG_ERRORS" >&5
41671
41672
41673 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41674 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41675 wxUSE_LIBGNOMEVFS="no"
41676
41677
41678 elif test $pkg_failed = untried; then
41679
41680 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41681 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41682 wxUSE_LIBGNOMEVFS="no"
41683
41684
41685 else
41686 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41687 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41688 { echo "$as_me:$LINENO: result: yes" >&5
41689 echo "${ECHO_T}yes" >&6; }
41690
41691 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41692 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41693 cat >>confdefs.h <<\_ACEOF
41694 #define wxUSE_LIBGNOMEVFS 1
41695 _ACEOF
41696
41697
41698 fi
41699 fi
41700 fi
41701
41702 if test "$wxUSE_LIBHILDON" = "yes" ; then
41703
41704 pkg_failed=no
41705 { echo "$as_me:$LINENO: checking for HILDON" >&5
41706 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41707
41708 if test -n "$PKG_CONFIG"; then
41709 if test -n "$HILDON_CFLAGS"; then
41710 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41711 else
41712 if test -n "$PKG_CONFIG" && \
41713 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41714 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41715 ac_status=$?
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); }; then
41718 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41719 else
41720 pkg_failed=yes
41721 fi
41722 fi
41723 else
41724 pkg_failed=untried
41725 fi
41726 if test -n "$PKG_CONFIG"; then
41727 if test -n "$HILDON_LIBS"; then
41728 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41729 else
41730 if test -n "$PKG_CONFIG" && \
41731 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41732 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41733 ac_status=$?
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; then
41736 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41737 else
41738 pkg_failed=yes
41739 fi
41740 fi
41741 else
41742 pkg_failed=untried
41743 fi
41744
41745
41746
41747 if test $pkg_failed = yes; then
41748
41749 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41750 _pkg_short_errors_supported=yes
41751 else
41752 _pkg_short_errors_supported=no
41753 fi
41754 if test $_pkg_short_errors_supported = yes; then
41755 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41756 else
41757 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41758 fi
41759 # Put the nasty error message in config.log where it belongs
41760 echo "$HILDON_PKG_ERRORS" >&5
41761
41762
41763 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41764 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41765 wxUSE_LIBHILDON="no"
41766
41767
41768 elif test $pkg_failed = untried; then
41769
41770 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41771 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41772 wxUSE_LIBHILDON="no"
41773
41774
41775 else
41776 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41777 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41778 { echo "$as_me:$LINENO: result: yes" >&5
41779 echo "${ECHO_T}yes" >&6; }
41780
41781 EXTRALIBS_HILDON="$HILDON_LIBS"
41782 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41783 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41784 cat >>confdefs.h <<\_ACEOF
41785 #define wxUSE_LIBHILDON 1
41786 _ACEOF
41787
41788
41789 fi
41790 fi
41791 fi
41792
41793 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41794 cat >>confdefs.h <<\_ACEOF
41795 #define wxUSE_CMDLINE_PARSER 1
41796 _ACEOF
41797
41798 fi
41799
41800 if test "$wxUSE_STOPWATCH" = "yes"; then
41801 cat >>confdefs.h <<\_ACEOF
41802 #define wxUSE_STOPWATCH 1
41803 _ACEOF
41804
41805 fi
41806
41807 if test "$wxUSE_DATETIME" = "yes"; then
41808 cat >>confdefs.h <<\_ACEOF
41809 #define wxUSE_DATETIME 1
41810 _ACEOF
41811
41812 fi
41813
41814 if test "$wxUSE_FILE" = "yes"; then
41815 cat >>confdefs.h <<\_ACEOF
41816 #define wxUSE_FILE 1
41817 _ACEOF
41818
41819 fi
41820
41821 if test "$wxUSE_FFILE" = "yes"; then
41822 cat >>confdefs.h <<\_ACEOF
41823 #define wxUSE_FFILE 1
41824 _ACEOF
41825
41826 fi
41827
41828 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41829 if test "$wxUSE_STREAMS" != yes; then
41830 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41831 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41832 wxUSE_ARCHIVE_STREAMS=no
41833 else
41834 cat >>confdefs.h <<\_ACEOF
41835 #define wxUSE_ARCHIVE_STREAMS 1
41836 _ACEOF
41837
41838 fi
41839 fi
41840
41841 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41842 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41843 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41844 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41845 elif test "$wxUSE_ZLIB" = "no"; then
41846 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41847 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41848 else
41849 cat >>confdefs.h <<\_ACEOF
41850 #define wxUSE_ZIPSTREAM 1
41851 _ACEOF
41852
41853 fi
41854 fi
41855
41856 if test "$wxUSE_TARSTREAM" = "yes"; then
41857 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41858 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41859 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41860 else
41861 cat >>confdefs.h <<\_ACEOF
41862 #define wxUSE_TARSTREAM 1
41863 _ACEOF
41864
41865 fi
41866 fi
41867
41868 if test "$wxUSE_FILESYSTEM" = "yes"; then
41869 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41870 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41871 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41872 wxUSE_FILESYSTEM=no
41873 else
41874 cat >>confdefs.h <<\_ACEOF
41875 #define wxUSE_FILESYSTEM 1
41876 _ACEOF
41877
41878 fi
41879 fi
41880
41881 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41882 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41883 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41884 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41885 else
41886 cat >>confdefs.h <<\_ACEOF
41887 #define wxUSE_FS_ARCHIVE 1
41888 _ACEOF
41889
41890 fi
41891 fi
41892
41893 if test "$wxUSE_FS_ZIP" = "yes"; then
41894 if test "$wxUSE_FS_ARCHIVE" != yes; then
41895 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41896 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41897 else
41898 cat >>confdefs.h <<\_ACEOF
41899 #define wxUSE_FS_ZIP 1
41900 _ACEOF
41901
41902 fi
41903 fi
41904
41905 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41906 if test "$USE_UNIX" != 1; then
41907 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41908 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41909 wxUSE_ON_FATAL_EXCEPTION=no
41910 else
41911 cat >>confdefs.h <<\_ACEOF
41912 #define wxUSE_ON_FATAL_EXCEPTION 1
41913 _ACEOF
41914
41915 fi
41916 fi
41917
41918 if test "$wxUSE_STACKWALKER" = "yes"; then
41919 cat >>confdefs.h <<\_ACEOF
41920 #define wxUSE_STACKWALKER 1
41921 _ACEOF
41922
41923 fi
41924
41925 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41926 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41927 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41928 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41929 wxUSE_DEBUGREPORT=no
41930 else
41931 cat >>confdefs.h <<\_ACEOF
41932 #define wxUSE_DEBUGREPORT 1
41933 _ACEOF
41934
41935 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41937 fi
41938 fi
41939 fi
41940
41941 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41942 cat >>confdefs.h <<\_ACEOF
41943 #define wxUSE_SNGLINST_CHECKER 1
41944 _ACEOF
41945
41946 fi
41947
41948 if test "$wxUSE_BUSYINFO" = "yes"; then
41949 cat >>confdefs.h <<\_ACEOF
41950 #define wxUSE_BUSYINFO 1
41951 _ACEOF
41952
41953 fi
41954
41955 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41956 cat >>confdefs.h <<\_ACEOF
41957 #define wxUSE_STD_IOSTREAM 1
41958 _ACEOF
41959
41960 fi
41961
41962 if test "$wxUSE_STD_STRING" = "yes"; then
41963 cat >>confdefs.h <<\_ACEOF
41964 #define wxUSE_STD_STRING 1
41965 _ACEOF
41966
41967 fi
41968
41969 if test "$wxUSE_STDPATHS" = "yes"; then
41970 cat >>confdefs.h <<\_ACEOF
41971 #define wxUSE_STDPATHS 1
41972 _ACEOF
41973
41974 fi
41975
41976 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41977 cat >>confdefs.h <<\_ACEOF
41978 #define wxUSE_TEXTBUFFER 1
41979 _ACEOF
41980
41981 fi
41982
41983 if test "$wxUSE_TEXTFILE" = "yes"; then
41984 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41985 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41986 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41987 else
41988 cat >>confdefs.h <<\_ACEOF
41989 #define wxUSE_TEXTFILE 1
41990 _ACEOF
41991
41992 fi
41993 fi
41994
41995 if test "$wxUSE_CONFIG" = "yes" ; then
41996 if test "$wxUSE_TEXTFILE" != "yes"; then
41997 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41998 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41999 else
42000 cat >>confdefs.h <<\_ACEOF
42001 #define wxUSE_CONFIG 1
42002 _ACEOF
42003
42004 cat >>confdefs.h <<\_ACEOF
42005 #define wxUSE_CONFIG_NATIVE 1
42006 _ACEOF
42007
42008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42009 fi
42010 fi
42011
42012 if test "$wxUSE_INTL" = "yes" ; then
42013 if test "$wxUSE_FILE" != "yes"; then
42014 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42015 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42016 else
42017 cat >>confdefs.h <<\_ACEOF
42018 #define wxUSE_INTL 1
42019 _ACEOF
42020
42021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42022 GUIDIST="$GUIDIST INTL_DIST"
42023 fi
42024 fi
42025
42026 if test "$wxUSE_LOG" = "yes"; then
42027 cat >>confdefs.h <<\_ACEOF
42028 #define wxUSE_LOG 1
42029 _ACEOF
42030
42031
42032 if test "$wxUSE_LOGGUI" = "yes"; then
42033 cat >>confdefs.h <<\_ACEOF
42034 #define wxUSE_LOGGUI 1
42035 _ACEOF
42036
42037 fi
42038
42039 if test "$wxUSE_LOGWINDOW" = "yes"; then
42040 cat >>confdefs.h <<\_ACEOF
42041 #define wxUSE_LOGWINDOW 1
42042 _ACEOF
42043
42044 fi
42045
42046 if test "$wxUSE_LOGDIALOG" = "yes"; then
42047 cat >>confdefs.h <<\_ACEOF
42048 #define wxUSE_LOG_DIALOG 1
42049 _ACEOF
42050
42051 fi
42052
42053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42054 fi
42055
42056 if test "$wxUSE_LONGLONG" = "yes"; then
42057 cat >>confdefs.h <<\_ACEOF
42058 #define wxUSE_LONGLONG 1
42059 _ACEOF
42060
42061 fi
42062
42063 if test "$wxUSE_GEOMETRY" = "yes"; then
42064 cat >>confdefs.h <<\_ACEOF
42065 #define wxUSE_GEOMETRY 1
42066 _ACEOF
42067
42068 fi
42069
42070 if test "$wxUSE_STREAMS" = "yes" ; then
42071 cat >>confdefs.h <<\_ACEOF
42072 #define wxUSE_STREAMS 1
42073 _ACEOF
42074
42075 fi
42076
42077 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42078 cat >>confdefs.h <<\_ACEOF
42079 #define wxUSE_PRINTF_POS_PARAMS 1
42080 _ACEOF
42081
42082 fi
42083
42084
42085
42086 if test "$wxUSE_DATETIME" = "yes"; then
42087
42088 for ac_func in strptime
42089 do
42090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42091 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42093 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42094 echo $ECHO_N "(cached) $ECHO_C" >&6
42095 else
42096 cat >conftest.$ac_ext <<_ACEOF
42097 /* confdefs.h. */
42098 _ACEOF
42099 cat confdefs.h >>conftest.$ac_ext
42100 cat >>conftest.$ac_ext <<_ACEOF
42101 /* end confdefs.h. */
42102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42104 #define $ac_func innocuous_$ac_func
42105
42106 /* System header to define __stub macros and hopefully few prototypes,
42107 which can conflict with char $ac_func (); below.
42108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42109 <limits.h> exists even on freestanding compilers. */
42110
42111 #ifdef __STDC__
42112 # include <limits.h>
42113 #else
42114 # include <assert.h>
42115 #endif
42116
42117 #undef $ac_func
42118
42119 /* Override any GCC internal prototype to avoid an error.
42120 Use char because int might match the return type of a GCC
42121 builtin and then its argument prototype would still apply. */
42122 #ifdef __cplusplus
42123 extern "C"
42124 #endif
42125 char $ac_func ();
42126 /* The GNU C library defines this for functions which it implements
42127 to always fail with ENOSYS. Some functions are actually named
42128 something starting with __ and the normal name is an alias. */
42129 #if defined __stub_$ac_func || defined __stub___$ac_func
42130 choke me
42131 #endif
42132
42133 int
42134 main ()
42135 {
42136 return $ac_func ();
42137 ;
42138 return 0;
42139 }
42140 _ACEOF
42141 rm -f conftest.$ac_objext conftest$ac_exeext
42142 if { (ac_try="$ac_link"
42143 case "(($ac_try" in
42144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42145 *) ac_try_echo=$ac_try;;
42146 esac
42147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42148 (eval "$ac_link") 2>conftest.er1
42149 ac_status=$?
42150 grep -v '^ *+' conftest.er1 >conftest.err
42151 rm -f conftest.er1
42152 cat conftest.err >&5
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); } && {
42155 test -z "$ac_c_werror_flag" ||
42156 test ! -s conftest.err
42157 } && test -s conftest$ac_exeext &&
42158 $as_test_x conftest$ac_exeext; then
42159 eval "$as_ac_var=yes"
42160 else
42161 echo "$as_me: failed program was:" >&5
42162 sed 's/^/| /' conftest.$ac_ext >&5
42163
42164 eval "$as_ac_var=no"
42165 fi
42166
42167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42168 conftest$ac_exeext conftest.$ac_ext
42169 fi
42170 ac_res=`eval echo '${'$as_ac_var'}'`
42171 { echo "$as_me:$LINENO: result: $ac_res" >&5
42172 echo "${ECHO_T}$ac_res" >&6; }
42173 if test `eval echo '${'$as_ac_var'}'` = yes; then
42174 cat >>confdefs.h <<_ACEOF
42175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42176 _ACEOF
42177
42178 fi
42179 done
42180
42181 if test "$ac_cv_func_strptime" = "yes"; then
42182 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42183 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42184 if test "${wx_cv_func_strptime_decl+set}" = set; then
42185 echo $ECHO_N "(cached) $ECHO_C" >&6
42186 else
42187
42188 ac_ext=cpp
42189 ac_cpp='$CXXCPP $CPPFLAGS'
42190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42193
42194 cat >conftest.$ac_ext <<_ACEOF
42195 /* confdefs.h. */
42196 _ACEOF
42197 cat confdefs.h >>conftest.$ac_ext
42198 cat >>conftest.$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42200
42201 #include <time.h>
42202
42203 int
42204 main ()
42205 {
42206
42207 struct tm t;
42208 strptime("foo", "bar", &t);
42209
42210 ;
42211 return 0;
42212 }
42213 _ACEOF
42214 rm -f conftest.$ac_objext
42215 if { (ac_try="$ac_compile"
42216 case "(($ac_try" in
42217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42218 *) ac_try_echo=$ac_try;;
42219 esac
42220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 (eval "$ac_compile") 2>conftest.er1
42222 ac_status=$?
42223 grep -v '^ *+' conftest.er1 >conftest.err
42224 rm -f conftest.er1
42225 cat conftest.err >&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } && {
42228 test -z "$ac_cxx_werror_flag" ||
42229 test ! -s conftest.err
42230 } && test -s conftest.$ac_objext; then
42231 wx_cv_func_strptime_decl=yes
42232 else
42233 echo "$as_me: failed program was:" >&5
42234 sed 's/^/| /' conftest.$ac_ext >&5
42235
42236 wx_cv_func_strptime_decl=no
42237
42238 fi
42239
42240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42241 ac_ext=c
42242 ac_cpp='$CPP $CPPFLAGS'
42243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42246
42247
42248
42249 fi
42250 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42251 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42252 fi
42253 if test "$wx_cv_func_strptime_decl" = "yes"; then
42254 cat >>confdefs.h <<\_ACEOF
42255 #define HAVE_STRPTIME_DECL 1
42256 _ACEOF
42257
42258 fi
42259
42260 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42261 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42262 if test "${wx_cv_var_timezone+set}" = set; then
42263 echo $ECHO_N "(cached) $ECHO_C" >&6
42264 else
42265
42266 ac_ext=cpp
42267 ac_cpp='$CXXCPP $CPPFLAGS'
42268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42271
42272 cat >conftest.$ac_ext <<_ACEOF
42273 /* confdefs.h. */
42274 _ACEOF
42275 cat confdefs.h >>conftest.$ac_ext
42276 cat >>conftest.$ac_ext <<_ACEOF
42277 /* end confdefs.h. */
42278
42279 #include <time.h>
42280
42281 int
42282 main ()
42283 {
42284
42285 int tz;
42286 tz = timezone;
42287
42288 ;
42289 return 0;
42290 }
42291 _ACEOF
42292 rm -f conftest.$ac_objext
42293 if { (ac_try="$ac_compile"
42294 case "(($ac_try" in
42295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42296 *) ac_try_echo=$ac_try;;
42297 esac
42298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42299 (eval "$ac_compile") 2>conftest.er1
42300 ac_status=$?
42301 grep -v '^ *+' conftest.er1 >conftest.err
42302 rm -f conftest.er1
42303 cat conftest.err >&5
42304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42305 (exit $ac_status); } && {
42306 test -z "$ac_cxx_werror_flag" ||
42307 test ! -s conftest.err
42308 } && test -s conftest.$ac_objext; then
42309
42310 wx_cv_var_timezone=timezone
42311
42312 else
42313 echo "$as_me: failed program was:" >&5
42314 sed 's/^/| /' conftest.$ac_ext >&5
42315
42316
42317 cat >conftest.$ac_ext <<_ACEOF
42318 /* confdefs.h. */
42319 _ACEOF
42320 cat confdefs.h >>conftest.$ac_ext
42321 cat >>conftest.$ac_ext <<_ACEOF
42322 /* end confdefs.h. */
42323
42324 #include <time.h>
42325
42326 int
42327 main ()
42328 {
42329
42330 int tz;
42331 tz = _timezone;
42332
42333 ;
42334 return 0;
42335 }
42336 _ACEOF
42337 rm -f conftest.$ac_objext
42338 if { (ac_try="$ac_compile"
42339 case "(($ac_try" in
42340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42341 *) ac_try_echo=$ac_try;;
42342 esac
42343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42344 (eval "$ac_compile") 2>conftest.er1
42345 ac_status=$?
42346 grep -v '^ *+' conftest.er1 >conftest.err
42347 rm -f conftest.er1
42348 cat conftest.err >&5
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); } && {
42351 test -z "$ac_cxx_werror_flag" ||
42352 test ! -s conftest.err
42353 } && test -s conftest.$ac_objext; then
42354
42355 wx_cv_var_timezone=_timezone
42356
42357 else
42358 echo "$as_me: failed program was:" >&5
42359 sed 's/^/| /' conftest.$ac_ext >&5
42360
42361
42362 cat >conftest.$ac_ext <<_ACEOF
42363 /* confdefs.h. */
42364 _ACEOF
42365 cat confdefs.h >>conftest.$ac_ext
42366 cat >>conftest.$ac_ext <<_ACEOF
42367 /* end confdefs.h. */
42368
42369 #include <time.h>
42370
42371 int
42372 main ()
42373 {
42374
42375 int tz;
42376 tz = __timezone;
42377
42378 ;
42379 return 0;
42380 }
42381 _ACEOF
42382 rm -f conftest.$ac_objext
42383 if { (ac_try="$ac_compile"
42384 case "(($ac_try" in
42385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42386 *) ac_try_echo=$ac_try;;
42387 esac
42388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42389 (eval "$ac_compile") 2>conftest.er1
42390 ac_status=$?
42391 grep -v '^ *+' conftest.er1 >conftest.err
42392 rm -f conftest.er1
42393 cat conftest.err >&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } && {
42396 test -z "$ac_cxx_werror_flag" ||
42397 test ! -s conftest.err
42398 } && test -s conftest.$ac_objext; then
42399
42400 wx_cv_var_timezone=__timezone
42401
42402 else
42403 echo "$as_me: failed program was:" >&5
42404 sed 's/^/| /' conftest.$ac_ext >&5
42405
42406
42407 if test "$USE_DOS" = 0 ; then
42408 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42409 echo "$as_me: WARNING: no timezone variable" >&2;}
42410 fi
42411
42412
42413 fi
42414
42415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42416
42417
42418 fi
42419
42420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42421
42422
42423 fi
42424
42425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42426 ac_ext=c
42427 ac_cpp='$CPP $CPPFLAGS'
42428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42431
42432
42433
42434 fi
42435 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42436 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42437
42438 if test "x$wx_cv_var_timezone" != x ; then
42439 cat >>confdefs.h <<_ACEOF
42440 #define WX_TIMEZONE $wx_cv_var_timezone
42441 _ACEOF
42442
42443 fi
42444
42445
42446 for ac_func in localtime
42447 do
42448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42452 echo $ECHO_N "(cached) $ECHO_C" >&6
42453 else
42454 cat >conftest.$ac_ext <<_ACEOF
42455 /* confdefs.h. */
42456 _ACEOF
42457 cat confdefs.h >>conftest.$ac_ext
42458 cat >>conftest.$ac_ext <<_ACEOF
42459 /* end confdefs.h. */
42460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42462 #define $ac_func innocuous_$ac_func
42463
42464 /* System header to define __stub macros and hopefully few prototypes,
42465 which can conflict with char $ac_func (); below.
42466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42467 <limits.h> exists even on freestanding compilers. */
42468
42469 #ifdef __STDC__
42470 # include <limits.h>
42471 #else
42472 # include <assert.h>
42473 #endif
42474
42475 #undef $ac_func
42476
42477 /* Override any GCC internal prototype to avoid an error.
42478 Use char because int might match the return type of a GCC
42479 builtin and then its argument prototype would still apply. */
42480 #ifdef __cplusplus
42481 extern "C"
42482 #endif
42483 char $ac_func ();
42484 /* The GNU C library defines this for functions which it implements
42485 to always fail with ENOSYS. Some functions are actually named
42486 something starting with __ and the normal name is an alias. */
42487 #if defined __stub_$ac_func || defined __stub___$ac_func
42488 choke me
42489 #endif
42490
42491 int
42492 main ()
42493 {
42494 return $ac_func ();
42495 ;
42496 return 0;
42497 }
42498 _ACEOF
42499 rm -f conftest.$ac_objext conftest$ac_exeext
42500 if { (ac_try="$ac_link"
42501 case "(($ac_try" in
42502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42503 *) ac_try_echo=$ac_try;;
42504 esac
42505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42506 (eval "$ac_link") 2>conftest.er1
42507 ac_status=$?
42508 grep -v '^ *+' conftest.er1 >conftest.err
42509 rm -f conftest.er1
42510 cat conftest.err >&5
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); } && {
42513 test -z "$ac_c_werror_flag" ||
42514 test ! -s conftest.err
42515 } && test -s conftest$ac_exeext &&
42516 $as_test_x conftest$ac_exeext; then
42517 eval "$as_ac_var=yes"
42518 else
42519 echo "$as_me: failed program was:" >&5
42520 sed 's/^/| /' conftest.$ac_ext >&5
42521
42522 eval "$as_ac_var=no"
42523 fi
42524
42525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42526 conftest$ac_exeext conftest.$ac_ext
42527 fi
42528 ac_res=`eval echo '${'$as_ac_var'}'`
42529 { echo "$as_me:$LINENO: result: $ac_res" >&5
42530 echo "${ECHO_T}$ac_res" >&6; }
42531 if test `eval echo '${'$as_ac_var'}'` = yes; then
42532 cat >>confdefs.h <<_ACEOF
42533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42534 _ACEOF
42535
42536 fi
42537 done
42538
42539
42540 if test "$ac_cv_func_localtime" = "yes"; then
42541 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42542 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42543 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42544 echo $ECHO_N "(cached) $ECHO_C" >&6
42545 else
42546
42547 cat >conftest.$ac_ext <<_ACEOF
42548 /* confdefs.h. */
42549 _ACEOF
42550 cat confdefs.h >>conftest.$ac_ext
42551 cat >>conftest.$ac_ext <<_ACEOF
42552 /* end confdefs.h. */
42553
42554 #include <time.h>
42555
42556 int
42557 main ()
42558 {
42559
42560 struct tm tm;
42561 tm.tm_gmtoff++;
42562
42563 ;
42564 return 0;
42565 }
42566 _ACEOF
42567 rm -f conftest.$ac_objext
42568 if { (ac_try="$ac_compile"
42569 case "(($ac_try" in
42570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42571 *) ac_try_echo=$ac_try;;
42572 esac
42573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42574 (eval "$ac_compile") 2>conftest.er1
42575 ac_status=$?
42576 grep -v '^ *+' conftest.er1 >conftest.err
42577 rm -f conftest.er1
42578 cat conftest.err >&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } && {
42581 test -z "$ac_c_werror_flag" ||
42582 test ! -s conftest.err
42583 } && test -s conftest.$ac_objext; then
42584
42585 wx_cv_struct_tm_has_gmtoff=yes
42586
42587 else
42588 echo "$as_me: failed program was:" >&5
42589 sed 's/^/| /' conftest.$ac_ext >&5
42590
42591 wx_cv_struct_tm_has_gmtoff=no
42592
42593 fi
42594
42595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42596
42597 fi
42598 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42599 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42600 fi
42601
42602 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42603 cat >>confdefs.h <<\_ACEOF
42604 #define WX_GMTOFF_IN_TM 1
42605 _ACEOF
42606
42607 fi
42608
42609
42610
42611 for ac_func in gettimeofday ftime
42612 do
42613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42617 echo $ECHO_N "(cached) $ECHO_C" >&6
42618 else
42619 cat >conftest.$ac_ext <<_ACEOF
42620 /* confdefs.h. */
42621 _ACEOF
42622 cat confdefs.h >>conftest.$ac_ext
42623 cat >>conftest.$ac_ext <<_ACEOF
42624 /* end confdefs.h. */
42625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42627 #define $ac_func innocuous_$ac_func
42628
42629 /* System header to define __stub macros and hopefully few prototypes,
42630 which can conflict with char $ac_func (); below.
42631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42632 <limits.h> exists even on freestanding compilers. */
42633
42634 #ifdef __STDC__
42635 # include <limits.h>
42636 #else
42637 # include <assert.h>
42638 #endif
42639
42640 #undef $ac_func
42641
42642 /* Override any GCC internal prototype to avoid an error.
42643 Use char because int might match the return type of a GCC
42644 builtin and then its argument prototype would still apply. */
42645 #ifdef __cplusplus
42646 extern "C"
42647 #endif
42648 char $ac_func ();
42649 /* The GNU C library defines this for functions which it implements
42650 to always fail with ENOSYS. Some functions are actually named
42651 something starting with __ and the normal name is an alias. */
42652 #if defined __stub_$ac_func || defined __stub___$ac_func
42653 choke me
42654 #endif
42655
42656 int
42657 main ()
42658 {
42659 return $ac_func ();
42660 ;
42661 return 0;
42662 }
42663 _ACEOF
42664 rm -f conftest.$ac_objext conftest$ac_exeext
42665 if { (ac_try="$ac_link"
42666 case "(($ac_try" in
42667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42668 *) ac_try_echo=$ac_try;;
42669 esac
42670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42671 (eval "$ac_link") 2>conftest.er1
42672 ac_status=$?
42673 grep -v '^ *+' conftest.er1 >conftest.err
42674 rm -f conftest.er1
42675 cat conftest.err >&5
42676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42677 (exit $ac_status); } && {
42678 test -z "$ac_c_werror_flag" ||
42679 test ! -s conftest.err
42680 } && test -s conftest$ac_exeext &&
42681 $as_test_x conftest$ac_exeext; then
42682 eval "$as_ac_var=yes"
42683 else
42684 echo "$as_me: failed program was:" >&5
42685 sed 's/^/| /' conftest.$ac_ext >&5
42686
42687 eval "$as_ac_var=no"
42688 fi
42689
42690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42691 conftest$ac_exeext conftest.$ac_ext
42692 fi
42693 ac_res=`eval echo '${'$as_ac_var'}'`
42694 { echo "$as_me:$LINENO: result: $ac_res" >&5
42695 echo "${ECHO_T}$ac_res" >&6; }
42696 if test `eval echo '${'$as_ac_var'}'` = yes; then
42697 cat >>confdefs.h <<_ACEOF
42698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42699 _ACEOF
42700 break
42701 fi
42702 done
42703
42704
42705 if test "$ac_cv_func_gettimeofday" = "yes"; then
42706 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42707 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42708 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42709 echo $ECHO_N "(cached) $ECHO_C" >&6
42710 else
42711
42712 cat >conftest.$ac_ext <<_ACEOF
42713 /* confdefs.h. */
42714 _ACEOF
42715 cat confdefs.h >>conftest.$ac_ext
42716 cat >>conftest.$ac_ext <<_ACEOF
42717 /* end confdefs.h. */
42718
42719 #include <sys/time.h>
42720 #include <unistd.h>
42721
42722 int
42723 main ()
42724 {
42725
42726 struct timeval tv;
42727 gettimeofday(&tv, NULL);
42728
42729 ;
42730 return 0;
42731 }
42732 _ACEOF
42733 rm -f conftest.$ac_objext
42734 if { (ac_try="$ac_compile"
42735 case "(($ac_try" in
42736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42737 *) ac_try_echo=$ac_try;;
42738 esac
42739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42740 (eval "$ac_compile") 2>conftest.er1
42741 ac_status=$?
42742 grep -v '^ *+' conftest.er1 >conftest.err
42743 rm -f conftest.er1
42744 cat conftest.err >&5
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); } && {
42747 test -z "$ac_c_werror_flag" ||
42748 test ! -s conftest.err
42749 } && test -s conftest.$ac_objext; then
42750 wx_cv_func_gettimeofday_has_2_args=yes
42751 else
42752 echo "$as_me: failed program was:" >&5
42753 sed 's/^/| /' conftest.$ac_ext >&5
42754
42755 cat >conftest.$ac_ext <<_ACEOF
42756 /* confdefs.h. */
42757 _ACEOF
42758 cat confdefs.h >>conftest.$ac_ext
42759 cat >>conftest.$ac_ext <<_ACEOF
42760 /* end confdefs.h. */
42761
42762 #include <sys/time.h>
42763 #include <unistd.h>
42764
42765 int
42766 main ()
42767 {
42768
42769 struct timeval tv;
42770 gettimeofday(&tv);
42771
42772 ;
42773 return 0;
42774 }
42775 _ACEOF
42776 rm -f conftest.$ac_objext
42777 if { (ac_try="$ac_compile"
42778 case "(($ac_try" in
42779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42780 *) ac_try_echo=$ac_try;;
42781 esac
42782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42783 (eval "$ac_compile") 2>conftest.er1
42784 ac_status=$?
42785 grep -v '^ *+' conftest.er1 >conftest.err
42786 rm -f conftest.er1
42787 cat conftest.err >&5
42788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42789 (exit $ac_status); } && {
42790 test -z "$ac_c_werror_flag" ||
42791 test ! -s conftest.err
42792 } && test -s conftest.$ac_objext; then
42793 wx_cv_func_gettimeofday_has_2_args=no
42794 else
42795 echo "$as_me: failed program was:" >&5
42796 sed 's/^/| /' conftest.$ac_ext >&5
42797
42798
42799 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42800 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42801 wx_cv_func_gettimeofday_has_2_args=unknown
42802
42803
42804 fi
42805
42806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42807
42808 fi
42809
42810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42811
42812 fi
42813 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42814 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42815
42816 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42817 cat >>confdefs.h <<\_ACEOF
42818 #define WX_GETTIMEOFDAY_NO_TZ 1
42819 _ACEOF
42820
42821 fi
42822 fi
42823
42824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42825 fi
42826
42827
42828 if test "$wxUSE_SOCKETS" = "yes"; then
42829 if test "$wxUSE_MGL" = "1"; then
42830 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42831 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42832 wxUSE_SOCKETS="no"
42833 fi
42834 fi
42835
42836 if test "$wxUSE_SOCKETS" = "yes"; then
42837 if test "$TOOLKIT" != "MSW"; then
42838 { echo "$as_me:$LINENO: checking for socket" >&5
42839 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42840 if test "${ac_cv_func_socket+set}" = set; then
42841 echo $ECHO_N "(cached) $ECHO_C" >&6
42842 else
42843 cat >conftest.$ac_ext <<_ACEOF
42844 /* confdefs.h. */
42845 _ACEOF
42846 cat confdefs.h >>conftest.$ac_ext
42847 cat >>conftest.$ac_ext <<_ACEOF
42848 /* end confdefs.h. */
42849 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42851 #define socket innocuous_socket
42852
42853 /* System header to define __stub macros and hopefully few prototypes,
42854 which can conflict with char socket (); below.
42855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42856 <limits.h> exists even on freestanding compilers. */
42857
42858 #ifdef __STDC__
42859 # include <limits.h>
42860 #else
42861 # include <assert.h>
42862 #endif
42863
42864 #undef socket
42865
42866 /* Override any GCC internal prototype to avoid an error.
42867 Use char because int might match the return type of a GCC
42868 builtin and then its argument prototype would still apply. */
42869 #ifdef __cplusplus
42870 extern "C"
42871 #endif
42872 char socket ();
42873 /* The GNU C library defines this for functions which it implements
42874 to always fail with ENOSYS. Some functions are actually named
42875 something starting with __ and the normal name is an alias. */
42876 #if defined __stub_socket || defined __stub___socket
42877 choke me
42878 #endif
42879
42880 int
42881 main ()
42882 {
42883 return socket ();
42884 ;
42885 return 0;
42886 }
42887 _ACEOF
42888 rm -f conftest.$ac_objext conftest$ac_exeext
42889 if { (ac_try="$ac_link"
42890 case "(($ac_try" in
42891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42892 *) ac_try_echo=$ac_try;;
42893 esac
42894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42895 (eval "$ac_link") 2>conftest.er1
42896 ac_status=$?
42897 grep -v '^ *+' conftest.er1 >conftest.err
42898 rm -f conftest.er1
42899 cat conftest.err >&5
42900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42901 (exit $ac_status); } && {
42902 test -z "$ac_c_werror_flag" ||
42903 test ! -s conftest.err
42904 } && test -s conftest$ac_exeext &&
42905 $as_test_x conftest$ac_exeext; then
42906 ac_cv_func_socket=yes
42907 else
42908 echo "$as_me: failed program was:" >&5
42909 sed 's/^/| /' conftest.$ac_ext >&5
42910
42911 ac_cv_func_socket=no
42912 fi
42913
42914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42915 conftest$ac_exeext conftest.$ac_ext
42916 fi
42917 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42918 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42919 if test $ac_cv_func_socket = yes; then
42920 :
42921 else
42922
42923 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42924 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42925 if test "${ac_cv_lib_socket_socket+set}" = set; then
42926 echo $ECHO_N "(cached) $ECHO_C" >&6
42927 else
42928 ac_check_lib_save_LIBS=$LIBS
42929 LIBS="-lsocket $LIBS"
42930 cat >conftest.$ac_ext <<_ACEOF
42931 /* confdefs.h. */
42932 _ACEOF
42933 cat confdefs.h >>conftest.$ac_ext
42934 cat >>conftest.$ac_ext <<_ACEOF
42935 /* end confdefs.h. */
42936
42937 /* Override any GCC internal prototype to avoid an error.
42938 Use char because int might match the return type of a GCC
42939 builtin and then its argument prototype would still apply. */
42940 #ifdef __cplusplus
42941 extern "C"
42942 #endif
42943 char socket ();
42944 int
42945 main ()
42946 {
42947 return socket ();
42948 ;
42949 return 0;
42950 }
42951 _ACEOF
42952 rm -f conftest.$ac_objext conftest$ac_exeext
42953 if { (ac_try="$ac_link"
42954 case "(($ac_try" in
42955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42956 *) ac_try_echo=$ac_try;;
42957 esac
42958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42959 (eval "$ac_link") 2>conftest.er1
42960 ac_status=$?
42961 grep -v '^ *+' conftest.er1 >conftest.err
42962 rm -f conftest.er1
42963 cat conftest.err >&5
42964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42965 (exit $ac_status); } && {
42966 test -z "$ac_c_werror_flag" ||
42967 test ! -s conftest.err
42968 } && test -s conftest$ac_exeext &&
42969 $as_test_x conftest$ac_exeext; then
42970 ac_cv_lib_socket_socket=yes
42971 else
42972 echo "$as_me: failed program was:" >&5
42973 sed 's/^/| /' conftest.$ac_ext >&5
42974
42975 ac_cv_lib_socket_socket=no
42976 fi
42977
42978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42979 conftest$ac_exeext conftest.$ac_ext
42980 LIBS=$ac_check_lib_save_LIBS
42981 fi
42982 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42983 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42984 if test $ac_cv_lib_socket_socket = yes; then
42985 if test "$INET_LINK" != " -lsocket"; then
42986 INET_LINK="$INET_LINK -lsocket"
42987 fi
42988 else
42989
42990 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42991 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42992 wxUSE_SOCKETS=no
42993
42994
42995 fi
42996
42997
42998
42999 fi
43000
43001 fi
43002 fi
43003
43004 if test "$wxUSE_SOCKETS" = "yes" ; then
43005 if test "$TOOLKIT" != "MSW"; then
43006 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43007 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43008 if test "${wx_cv_type_getsockname3+set}" = set; then
43009 echo $ECHO_N "(cached) $ECHO_C" >&6
43010 else
43011
43012 ac_ext=cpp
43013 ac_cpp='$CXXCPP $CPPFLAGS'
43014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43017
43018 cat >conftest.$ac_ext <<_ACEOF
43019 /* confdefs.h. */
43020 _ACEOF
43021 cat confdefs.h >>conftest.$ac_ext
43022 cat >>conftest.$ac_ext <<_ACEOF
43023 /* end confdefs.h. */
43024
43025 #include <sys/types.h>
43026 #include <sys/socket.h>
43027
43028 int
43029 main ()
43030 {
43031
43032 socklen_t len;
43033 getsockname(0, 0, &len);
43034
43035 ;
43036 return 0;
43037 }
43038 _ACEOF
43039 rm -f conftest.$ac_objext
43040 if { (ac_try="$ac_compile"
43041 case "(($ac_try" in
43042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43043 *) ac_try_echo=$ac_try;;
43044 esac
43045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43046 (eval "$ac_compile") 2>conftest.er1
43047 ac_status=$?
43048 grep -v '^ *+' conftest.er1 >conftest.err
43049 rm -f conftest.er1
43050 cat conftest.err >&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } && {
43053 test -z "$ac_cxx_werror_flag" ||
43054 test ! -s conftest.err
43055 } && test -s conftest.$ac_objext; then
43056 wx_cv_type_getsockname3=socklen_t
43057 else
43058 echo "$as_me: failed program was:" >&5
43059 sed 's/^/| /' conftest.$ac_ext >&5
43060
43061
43062 CFLAGS_OLD="$CFLAGS"
43063 if test "$GCC" = yes ; then
43064 CFLAGS="-Werror $CFLAGS"
43065 fi
43066
43067 cat >conftest.$ac_ext <<_ACEOF
43068 /* confdefs.h. */
43069 _ACEOF
43070 cat confdefs.h >>conftest.$ac_ext
43071 cat >>conftest.$ac_ext <<_ACEOF
43072 /* end confdefs.h. */
43073
43074 #include <sys/types.h>
43075 #include <sys/socket.h>
43076
43077 int
43078 main ()
43079 {
43080
43081 size_t len;
43082 getsockname(0, 0, &len);
43083
43084 ;
43085 return 0;
43086 }
43087 _ACEOF
43088 rm -f conftest.$ac_objext
43089 if { (ac_try="$ac_compile"
43090 case "(($ac_try" in
43091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43092 *) ac_try_echo=$ac_try;;
43093 esac
43094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43095 (eval "$ac_compile") 2>conftest.er1
43096 ac_status=$?
43097 grep -v '^ *+' conftest.er1 >conftest.err
43098 rm -f conftest.er1
43099 cat conftest.err >&5
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); } && {
43102 test -z "$ac_cxx_werror_flag" ||
43103 test ! -s conftest.err
43104 } && test -s conftest.$ac_objext; then
43105 wx_cv_type_getsockname3=size_t
43106 else
43107 echo "$as_me: failed program was:" >&5
43108 sed 's/^/| /' conftest.$ac_ext >&5
43109
43110 cat >conftest.$ac_ext <<_ACEOF
43111 /* confdefs.h. */
43112 _ACEOF
43113 cat confdefs.h >>conftest.$ac_ext
43114 cat >>conftest.$ac_ext <<_ACEOF
43115 /* end confdefs.h. */
43116
43117 #include <sys/types.h>
43118 #include <sys/socket.h>
43119
43120 int
43121 main ()
43122 {
43123
43124 int len;
43125 getsockname(0, 0, &len);
43126
43127 ;
43128 return 0;
43129 }
43130 _ACEOF
43131 rm -f conftest.$ac_objext
43132 if { (ac_try="$ac_compile"
43133 case "(($ac_try" in
43134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43135 *) ac_try_echo=$ac_try;;
43136 esac
43137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43138 (eval "$ac_compile") 2>conftest.er1
43139 ac_status=$?
43140 grep -v '^ *+' conftest.er1 >conftest.err
43141 rm -f conftest.er1
43142 cat conftest.err >&5
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); } && {
43145 test -z "$ac_cxx_werror_flag" ||
43146 test ! -s conftest.err
43147 } && test -s conftest.$ac_objext; then
43148 wx_cv_type_getsockname3=int
43149 else
43150 echo "$as_me: failed program was:" >&5
43151 sed 's/^/| /' conftest.$ac_ext >&5
43152
43153 wx_cv_type_getsockname3=unknown
43154
43155 fi
43156
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158
43159 fi
43160
43161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43162
43163 CFLAGS="$CFLAGS_OLD"
43164
43165
43166 fi
43167
43168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43169 ac_ext=c
43170 ac_cpp='$CPP $CPPFLAGS'
43171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43174
43175
43176 fi
43177 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43178 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43179
43180 if test "$wx_cv_type_getsockname3" = "unknown"; then
43181 wxUSE_SOCKETS=no
43182 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43183 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43184 else
43185 cat >>confdefs.h <<_ACEOF
43186 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43187 _ACEOF
43188
43189 fi
43190 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43191 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43192 if test "${wx_cv_type_getsockopt5+set}" = set; then
43193 echo $ECHO_N "(cached) $ECHO_C" >&6
43194 else
43195
43196 ac_ext=cpp
43197 ac_cpp='$CXXCPP $CPPFLAGS'
43198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43201
43202 cat >conftest.$ac_ext <<_ACEOF
43203 /* confdefs.h. */
43204 _ACEOF
43205 cat confdefs.h >>conftest.$ac_ext
43206 cat >>conftest.$ac_ext <<_ACEOF
43207 /* end confdefs.h. */
43208
43209 #include <sys/types.h>
43210 #include <sys/socket.h>
43211
43212 int
43213 main ()
43214 {
43215
43216 socklen_t len;
43217 getsockopt(0, 0, 0, 0, &len);
43218
43219 ;
43220 return 0;
43221 }
43222 _ACEOF
43223 rm -f conftest.$ac_objext
43224 if { (ac_try="$ac_compile"
43225 case "(($ac_try" in
43226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43227 *) ac_try_echo=$ac_try;;
43228 esac
43229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43230 (eval "$ac_compile") 2>conftest.er1
43231 ac_status=$?
43232 grep -v '^ *+' conftest.er1 >conftest.err
43233 rm -f conftest.er1
43234 cat conftest.err >&5
43235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43236 (exit $ac_status); } && {
43237 test -z "$ac_cxx_werror_flag" ||
43238 test ! -s conftest.err
43239 } && test -s conftest.$ac_objext; then
43240 wx_cv_type_getsockopt5=socklen_t
43241 else
43242 echo "$as_me: failed program was:" >&5
43243 sed 's/^/| /' conftest.$ac_ext >&5
43244
43245
43246 cat >conftest.$ac_ext <<_ACEOF
43247 /* confdefs.h. */
43248 _ACEOF
43249 cat confdefs.h >>conftest.$ac_ext
43250 cat >>conftest.$ac_ext <<_ACEOF
43251 /* end confdefs.h. */
43252
43253 #include <sys/types.h>
43254 #include <sys/socket.h>
43255
43256 int
43257 main ()
43258 {
43259
43260 size_t len;
43261 getsockopt(0, 0, 0, 0, &len);
43262
43263 ;
43264 return 0;
43265 }
43266 _ACEOF
43267 rm -f conftest.$ac_objext
43268 if { (ac_try="$ac_compile"
43269 case "(($ac_try" in
43270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43271 *) ac_try_echo=$ac_try;;
43272 esac
43273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43274 (eval "$ac_compile") 2>conftest.er1
43275 ac_status=$?
43276 grep -v '^ *+' conftest.er1 >conftest.err
43277 rm -f conftest.er1
43278 cat conftest.err >&5
43279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43280 (exit $ac_status); } && {
43281 test -z "$ac_cxx_werror_flag" ||
43282 test ! -s conftest.err
43283 } && test -s conftest.$ac_objext; then
43284 wx_cv_type_getsockopt5=size_t
43285 else
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43288
43289 cat >conftest.$ac_ext <<_ACEOF
43290 /* confdefs.h. */
43291 _ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43295
43296 #include <sys/types.h>
43297 #include <sys/socket.h>
43298
43299 int
43300 main ()
43301 {
43302
43303 int len;
43304 getsockopt(0, 0, 0, 0, &len);
43305
43306 ;
43307 return 0;
43308 }
43309 _ACEOF
43310 rm -f conftest.$ac_objext
43311 if { (ac_try="$ac_compile"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43314 *) ac_try_echo=$ac_try;;
43315 esac
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_compile") 2>conftest.er1
43318 ac_status=$?
43319 grep -v '^ *+' conftest.er1 >conftest.err
43320 rm -f conftest.er1
43321 cat conftest.err >&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_cxx_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.$ac_objext; then
43327 wx_cv_type_getsockopt5=int
43328 else
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.$ac_ext >&5
43331
43332 wx_cv_type_getsockopt5=unknown
43333
43334 fi
43335
43336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43337
43338 fi
43339
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341
43342
43343 fi
43344
43345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43346 ac_ext=c
43347 ac_cpp='$CPP $CPPFLAGS'
43348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43351
43352
43353 fi
43354 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43355 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43356
43357 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43358 wxUSE_SOCKETS=no
43359 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43360 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43361 else
43362 cat >>confdefs.h <<_ACEOF
43363 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43364 _ACEOF
43365
43366 fi
43367 fi
43368 fi
43369
43370 if test "$wxUSE_SOCKETS" = "yes" ; then
43371 cat >>confdefs.h <<\_ACEOF
43372 #define wxUSE_SOCKETS 1
43373 _ACEOF
43374
43375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43376 fi
43377
43378 if test "$wxUSE_PROTOCOL" = "yes"; then
43379 if test "$wxUSE_SOCKETS" != "yes"; then
43380 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43381 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43382 wxUSE_PROTOCOL=no
43383 fi
43384 fi
43385
43386 if test "$wxUSE_PROTOCOL" = "yes"; then
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_PROTOCOL 1
43389 _ACEOF
43390
43391
43392 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_PROTOCOL_HTTP 1
43395 _ACEOF
43396
43397 fi
43398 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43399 cat >>confdefs.h <<\_ACEOF
43400 #define wxUSE_PROTOCOL_FTP 1
43401 _ACEOF
43402
43403 fi
43404 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_PROTOCOL_FILE 1
43407 _ACEOF
43408
43409 fi
43410 else
43411 if test "$wxUSE_FS_INET" = "yes"; then
43412 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43413 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43414 wxUSE_FS_INET="no"
43415 fi
43416 fi
43417
43418 if test "$wxUSE_URL" = "yes"; then
43419 if test "$wxUSE_PROTOCOL" != "yes"; then
43420 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43421 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43422 wxUSE_URL=no
43423 fi
43424 if test "$wxUSE_URL" = "yes"; then
43425 cat >>confdefs.h <<\_ACEOF
43426 #define wxUSE_URL 1
43427 _ACEOF
43428
43429 fi
43430 fi
43431
43432 if test "$wxUSE_VARIANT" = "yes"; then
43433 cat >>confdefs.h <<\_ACEOF
43434 #define wxUSE_VARIANT 1
43435 _ACEOF
43436
43437 fi
43438
43439 if test "$wxUSE_FS_INET" = "yes"; then
43440 cat >>confdefs.h <<\_ACEOF
43441 #define wxUSE_FS_INET 1
43442 _ACEOF
43443
43444 fi
43445
43446
43447 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43448 wxUSE_JOYSTICK=no
43449
43450 if test "$TOOLKIT" = "MSW"; then
43451 wxUSE_JOYSTICK=yes
43452
43453 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43454 if test "$USE_DARWIN" = 1; then
43455 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43456 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43457 ac_ext=cpp
43458 ac_cpp='$CXXCPP $CPPFLAGS'
43459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43462
43463 cat >conftest.$ac_ext <<_ACEOF
43464 /* confdefs.h. */
43465 _ACEOF
43466 cat confdefs.h >>conftest.$ac_ext
43467 cat >>conftest.$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43469 #include <IOKit/hid/IOHIDLib.h>
43470 int
43471 main ()
43472 {
43473 IOHIDQueueInterface *qi = NULL;
43474 IOHIDCallbackFunction cb = NULL;
43475 qi->setEventCallout(NULL, cb, NULL, NULL);
43476 ;
43477 return 0;
43478 }
43479 _ACEOF
43480 rm -f conftest.$ac_objext
43481 if { (ac_try="$ac_compile"
43482 case "(($ac_try" in
43483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43484 *) ac_try_echo=$ac_try;;
43485 esac
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_compile") 2>conftest.er1
43488 ac_status=$?
43489 grep -v '^ *+' conftest.er1 >conftest.err
43490 rm -f conftest.er1
43491 cat conftest.err >&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_cxx_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest.$ac_objext; then
43497 wxUSE_JOYSTICK=yes
43498
43499 else
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43502
43503
43504 fi
43505
43506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43507 ac_ext=c
43508 ac_cpp='$CPP $CPPFLAGS'
43509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43512
43513 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43514 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43515 fi
43516
43517 else
43518 if test "$wxUSE_MGL" != "1"; then
43519 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43520 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43521 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43522 echo $ECHO_N "(cached) $ECHO_C" >&6
43523 else
43524 cat >conftest.$ac_ext <<_ACEOF
43525 /* confdefs.h. */
43526 _ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43530 $ac_includes_default
43531
43532 #include <linux/joystick.h>
43533 _ACEOF
43534 rm -f conftest.$ac_objext
43535 if { (ac_try="$ac_compile"
43536 case "(($ac_try" in
43537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43538 *) ac_try_echo=$ac_try;;
43539 esac
43540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43541 (eval "$ac_compile") 2>conftest.er1
43542 ac_status=$?
43543 grep -v '^ *+' conftest.er1 >conftest.err
43544 rm -f conftest.er1
43545 cat conftest.err >&5
43546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43547 (exit $ac_status); } && {
43548 test -z "$ac_c_werror_flag" ||
43549 test ! -s conftest.err
43550 } && test -s conftest.$ac_objext; then
43551 ac_cv_header_linux_joystick_h=yes
43552 else
43553 echo "$as_me: failed program was:" >&5
43554 sed 's/^/| /' conftest.$ac_ext >&5
43555
43556 ac_cv_header_linux_joystick_h=no
43557 fi
43558
43559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43560 fi
43561 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43562 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43563 if test $ac_cv_header_linux_joystick_h = yes; then
43564 wxUSE_JOYSTICK=yes
43565 fi
43566
43567
43568 fi
43569 fi
43570
43571 if test "$wxUSE_JOYSTICK" = "yes"; then
43572 cat >>confdefs.h <<\_ACEOF
43573 #define wxUSE_JOYSTICK 1
43574 _ACEOF
43575
43576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43577 else
43578 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43579 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43580 fi
43581 fi
43582
43583
43584
43585 if test "$wxUSE_FONTMAP" = "yes" ; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define wxUSE_FONTMAP 1
43588 _ACEOF
43589
43590 fi
43591
43592 if test "$wxUSE_UNICODE" = "yes" ; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_UNICODE 1
43595 _ACEOF
43596
43597
43598 if test "$USE_WIN32" != 1; then
43599 wxUSE_UNICODE_MSLU=no
43600 fi
43601
43602 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43603 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43604 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43605 if test "${ac_cv_lib_unicows_main+set}" = set; then
43606 echo $ECHO_N "(cached) $ECHO_C" >&6
43607 else
43608 ac_check_lib_save_LIBS=$LIBS
43609 LIBS="-lunicows $LIBS"
43610 cat >conftest.$ac_ext <<_ACEOF
43611 /* confdefs.h. */
43612 _ACEOF
43613 cat confdefs.h >>conftest.$ac_ext
43614 cat >>conftest.$ac_ext <<_ACEOF
43615 /* end confdefs.h. */
43616
43617
43618 int
43619 main ()
43620 {
43621 return main ();
43622 ;
43623 return 0;
43624 }
43625 _ACEOF
43626 rm -f conftest.$ac_objext conftest$ac_exeext
43627 if { (ac_try="$ac_link"
43628 case "(($ac_try" in
43629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43630 *) ac_try_echo=$ac_try;;
43631 esac
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_link") 2>conftest.er1
43634 ac_status=$?
43635 grep -v '^ *+' conftest.er1 >conftest.err
43636 rm -f conftest.er1
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest$ac_exeext &&
43643 $as_test_x conftest$ac_exeext; then
43644 ac_cv_lib_unicows_main=yes
43645 else
43646 echo "$as_me: failed program was:" >&5
43647 sed 's/^/| /' conftest.$ac_ext >&5
43648
43649 ac_cv_lib_unicows_main=no
43650 fi
43651
43652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43653 conftest$ac_exeext conftest.$ac_ext
43654 LIBS=$ac_check_lib_save_LIBS
43655 fi
43656 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43657 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43658 if test $ac_cv_lib_unicows_main = yes; then
43659
43660 cat >>confdefs.h <<\_ACEOF
43661 #define wxUSE_UNICODE_MSLU 1
43662 _ACEOF
43663
43664
43665 else
43666
43667 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43668 Applications will only run on Windows NT/2000/XP!" >&5
43669 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43670 Applications will only run on Windows NT/2000/XP!" >&2;}
43671 wxUSE_UNICODE_MSLU=no
43672
43673 fi
43674
43675 fi
43676 fi
43677
43678 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43679 cat >>confdefs.h <<\_ACEOF
43680 #define wxUSE_UNICODE_UTF8 1
43681 _ACEOF
43682
43683
43684 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43685 cat >>confdefs.h <<\_ACEOF
43686 #define wxUSE_UTF8_LOCALE_ONLY 1
43687 _ACEOF
43688
43689 fi
43690 fi
43691
43692 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43693 cat >>confdefs.h <<\_ACEOF
43694 #define wxUSE_EXPERIMENTAL_PRINTF 1
43695 _ACEOF
43696
43697 fi
43698
43699
43700 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43701 cat >>confdefs.h <<\_ACEOF
43702 #define wxUSE_POSTSCRIPT 1
43703 _ACEOF
43704
43705 fi
43706
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43709 _ACEOF
43710
43711
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_NORMALIZED_PS_FONTS 1
43714 _ACEOF
43715
43716
43717
43718 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43719 cat >>confdefs.h <<\_ACEOF
43720 #define wxUSE_CONSTRAINTS 1
43721 _ACEOF
43722
43723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43724 fi
43725
43726 if test "$wxUSE_MDI" = "yes"; then
43727 cat >>confdefs.h <<\_ACEOF
43728 #define wxUSE_MDI 1
43729 _ACEOF
43730
43731
43732 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_MDI_ARCHITECTURE 1
43735 _ACEOF
43736
43737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43738 fi
43739 fi
43740
43741 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43742 cat >>confdefs.h <<\_ACEOF
43743 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43744 _ACEOF
43745
43746 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43747 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43749 fi
43750 fi
43751
43752 if test "$wxUSE_HELP" = "yes"; then
43753 cat >>confdefs.h <<\_ACEOF
43754 #define wxUSE_HELP 1
43755 _ACEOF
43756
43757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43758
43759 if test "$wxUSE_MSW" = 1; then
43760 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_MS_HTML_HELP 1
43763 _ACEOF
43764
43765 fi
43766 fi
43767
43768 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43769 if test "$wxUSE_HTML" = "yes"; then
43770 cat >>confdefs.h <<\_ACEOF
43771 #define wxUSE_WXHTML_HELP 1
43772 _ACEOF
43773
43774 else
43775 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43776 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43777 wxUSE_WXHTML_HELP=no
43778 fi
43779 fi
43780 fi
43781
43782 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43783 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43784 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43785 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43786 else
43787 cat >>confdefs.h <<\_ACEOF
43788 #define wxUSE_PRINTING_ARCHITECTURE 1
43789 _ACEOF
43790
43791 fi
43792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43793 fi
43794
43795
43796
43797 if test "$wxUSE_METAFILE" = "yes"; then
43798 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43799 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43800 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43801 wxUSE_METAFILE=no
43802 fi
43803 fi
43804
43805
43806 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43807 -o "$wxUSE_CLIPBOARD" = "yes" \
43808 -o "$wxUSE_OLE" = "yes" \
43809 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43810 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43811 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43812 if test "${ac_cv_header_ole2_h+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43814 else
43815 cat >conftest.$ac_ext <<_ACEOF
43816 /* confdefs.h. */
43817 _ACEOF
43818 cat confdefs.h >>conftest.$ac_ext
43819 cat >>conftest.$ac_ext <<_ACEOF
43820 /* end confdefs.h. */
43821
43822
43823 #include <ole2.h>
43824 _ACEOF
43825 rm -f conftest.$ac_objext
43826 if { (ac_try="$ac_compile"
43827 case "(($ac_try" in
43828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43829 *) ac_try_echo=$ac_try;;
43830 esac
43831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43832 (eval "$ac_compile") 2>conftest.er1
43833 ac_status=$?
43834 grep -v '^ *+' conftest.er1 >conftest.err
43835 rm -f conftest.er1
43836 cat conftest.err >&5
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); } && {
43839 test -z "$ac_c_werror_flag" ||
43840 test ! -s conftest.err
43841 } && test -s conftest.$ac_objext; then
43842 ac_cv_header_ole2_h=yes
43843 else
43844 echo "$as_me: failed program was:" >&5
43845 sed 's/^/| /' conftest.$ac_ext >&5
43846
43847 ac_cv_header_ole2_h=no
43848 fi
43849
43850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43851 fi
43852 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43853 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43854
43855
43856
43857 if test "$ac_cv_header_ole2_h" = "yes" ; then
43858 if test "$GCC" = yes ; then
43859 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43860 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43861 cat >conftest.$ac_ext <<_ACEOF
43862 /* confdefs.h. */
43863 _ACEOF
43864 cat confdefs.h >>conftest.$ac_ext
43865 cat >>conftest.$ac_ext <<_ACEOF
43866 /* end confdefs.h. */
43867 #include <windows.h>
43868 #include <ole2.h>
43869 int
43870 main ()
43871 {
43872
43873 ;
43874 return 0;
43875 }
43876 _ACEOF
43877 rm -f conftest.$ac_objext
43878 if { (ac_try="$ac_compile"
43879 case "(($ac_try" in
43880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43881 *) ac_try_echo=$ac_try;;
43882 esac
43883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43884 (eval "$ac_compile") 2>conftest.er1
43885 ac_status=$?
43886 grep -v '^ *+' conftest.er1 >conftest.err
43887 rm -f conftest.er1
43888 cat conftest.err >&5
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); } && {
43891 test -z "$ac_c_werror_flag" ||
43892 test ! -s conftest.err
43893 } && test -s conftest.$ac_objext; then
43894 { echo "$as_me:$LINENO: result: no" >&5
43895 echo "${ECHO_T}no" >&6; }
43896 else
43897 echo "$as_me: failed program was:" >&5
43898 sed 's/^/| /' conftest.$ac_ext >&5
43899
43900 { echo "$as_me:$LINENO: result: yes" >&5
43901 echo "${ECHO_T}yes" >&6; }
43902 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43903 fi
43904
43905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43906 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43907 if test "$wxUSE_OLE" = "yes" ; then
43908 cat >>confdefs.h <<\_ACEOF
43909 #define wxUSE_OLE 1
43910 _ACEOF
43911
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_OLE_AUTOMATION 1
43914 _ACEOF
43915
43916 cat >>confdefs.h <<\_ACEOF
43917 #define wxUSE_ACTIVEX 1
43918 _ACEOF
43919
43920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43921 fi
43922 fi
43923
43924 if test "$wxUSE_DATAOBJ" = "yes" ; then
43925 cat >>confdefs.h <<\_ACEOF
43926 #define wxUSE_DATAOBJ 1
43927 _ACEOF
43928
43929 fi
43930 else
43931 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43932 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43933
43934 wxUSE_CLIPBOARD=no
43935 wxUSE_DRAG_AND_DROP=no
43936 wxUSE_DATAOBJ=no
43937 wxUSE_OLE=no
43938 fi
43939
43940 if test "$wxUSE_METAFILE" = "yes"; then
43941 cat >>confdefs.h <<\_ACEOF
43942 #define wxUSE_METAFILE 1
43943 _ACEOF
43944
43945
43946 cat >>confdefs.h <<\_ACEOF
43947 #define wxUSE_ENH_METAFILE 1
43948 _ACEOF
43949
43950 fi
43951 fi
43952
43953 if test "$wxUSE_IPC" = "yes"; then
43954 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43955 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43956 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43957 wxUSE_IPC=no
43958 fi
43959
43960 if test "$wxUSE_IPC" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_IPC 1
43963 _ACEOF
43964
43965 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43966 fi
43967 fi
43968
43969 if test "$wxUSE_DATAOBJ" = "yes"; then
43970 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43971 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43972 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43973 wxUSE_DATAOBJ=no
43974 else
43975 cat >>confdefs.h <<\_ACEOF
43976 #define wxUSE_DATAOBJ 1
43977 _ACEOF
43978
43979 fi
43980 else
43981 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43982 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43983 wxUSE_CLIPBOARD=no
43984 wxUSE_DRAG_AND_DROP=no
43985 fi
43986
43987 if test "$wxUSE_CLIPBOARD" = "yes"; then
43988 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43989 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43990 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43991 wxUSE_CLIPBOARD=no
43992 fi
43993
43994 if test "$wxUSE_CLIPBOARD" = "yes"; then
43995 cat >>confdefs.h <<\_ACEOF
43996 #define wxUSE_CLIPBOARD 1
43997 _ACEOF
43998
43999 fi
44000 fi
44001
44002 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44003 if test "$wxUSE_GTK" = 1; then
44004 if test "$WXGTK12" != 1; then
44005 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44006 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44007 wxUSE_DRAG_AND_DROP=no
44008 fi
44009 fi
44010
44011 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44012 "$wxUSE_DFB" = 1; then
44013 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44014 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44015 wxUSE_DRAG_AND_DROP=no
44016 fi
44017
44018 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44019 cat >>confdefs.h <<\_ACEOF
44020 #define wxUSE_DRAG_AND_DROP 1
44021 _ACEOF
44022
44023 fi
44024
44025 fi
44026
44027 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44029 fi
44030
44031 if test "$wxUSE_SPLINES" = "yes" ; then
44032 cat >>confdefs.h <<\_ACEOF
44033 #define wxUSE_SPLINES 1
44034 _ACEOF
44035
44036 fi
44037
44038 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44039 cat >>confdefs.h <<\_ACEOF
44040 #define wxUSE_MOUSEWHEEL 1
44041 _ACEOF
44042
44043 fi
44044
44045
44046 USES_CONTROLS=0
44047 if test "$wxUSE_CONTROLS" = "yes"; then
44048 USES_CONTROLS=1
44049 fi
44050
44051 if test "$wxUSE_ACCEL" = "yes"; then
44052 cat >>confdefs.h <<\_ACEOF
44053 #define wxUSE_ACCEL 1
44054 _ACEOF
44055
44056 USES_CONTROLS=1
44057 fi
44058
44059 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44060 cat >>confdefs.h <<\_ACEOF
44061 #define wxUSE_ANIMATIONCTRL 1
44062 _ACEOF
44063
44064 USES_CONTROLS=1
44065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44066 fi
44067
44068 if test "$wxUSE_BUTTON" = "yes"; then
44069 cat >>confdefs.h <<\_ACEOF
44070 #define wxUSE_BUTTON 1
44071 _ACEOF
44072
44073 USES_CONTROLS=1
44074 fi
44075
44076 if test "$wxUSE_BMPBUTTON" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_BMPBUTTON 1
44079 _ACEOF
44080
44081 USES_CONTROLS=1
44082 fi
44083
44084 if test "$wxUSE_CALCTRL" = "yes"; then
44085 cat >>confdefs.h <<\_ACEOF
44086 #define wxUSE_CALENDARCTRL 1
44087 _ACEOF
44088
44089 USES_CONTROLS=1
44090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44091 fi
44092
44093 if test "$wxUSE_CARET" = "yes"; then
44094 cat >>confdefs.h <<\_ACEOF
44095 #define wxUSE_CARET 1
44096 _ACEOF
44097
44098 USES_CONTROLS=1
44099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44100 fi
44101
44102 if test "$wxUSE_COLLPANE" = "yes"; then
44103 cat >>confdefs.h <<\_ACEOF
44104 #define wxUSE_COLLPANE 1
44105 _ACEOF
44106
44107 USES_CONTROLS=1
44108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44109 fi
44110
44111 if test "$wxUSE_COMBOBOX" = "yes"; then
44112 cat >>confdefs.h <<\_ACEOF
44113 #define wxUSE_COMBOBOX 1
44114 _ACEOF
44115
44116 USES_CONTROLS=1
44117 fi
44118
44119 if test "$wxUSE_COMBOCTRL" = "yes"; then
44120 cat >>confdefs.h <<\_ACEOF
44121 #define wxUSE_COMBOCTRL 1
44122 _ACEOF
44123
44124 USES_CONTROLS=1
44125 fi
44126
44127 if test "$wxUSE_CHOICE" = "yes"; then
44128 cat >>confdefs.h <<\_ACEOF
44129 #define wxUSE_CHOICE 1
44130 _ACEOF
44131
44132 USES_CONTROLS=1
44133 fi
44134
44135 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44136 cat >>confdefs.h <<\_ACEOF
44137 #define wxUSE_CHOICEBOOK 1
44138 _ACEOF
44139
44140 USES_CONTROLS=1
44141 fi
44142
44143 if test "$wxUSE_CHECKBOX" = "yes"; then
44144 cat >>confdefs.h <<\_ACEOF
44145 #define wxUSE_CHECKBOX 1
44146 _ACEOF
44147
44148 USES_CONTROLS=1
44149 fi
44150
44151 if test "$wxUSE_CHECKLST" = "yes"; then
44152 cat >>confdefs.h <<\_ACEOF
44153 #define wxUSE_CHECKLISTBOX 1
44154 _ACEOF
44155
44156 USES_CONTROLS=1
44157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44158 fi
44159
44160 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44161 cat >>confdefs.h <<\_ACEOF
44162 #define wxUSE_COLOURPICKERCTRL 1
44163 _ACEOF
44164
44165 USES_CONTROLS=1
44166 fi
44167
44168 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44169 cat >>confdefs.h <<\_ACEOF
44170 #define wxUSE_DATEPICKCTRL 1
44171 _ACEOF
44172
44173 USES_CONTROLS=1
44174 fi
44175
44176 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44177 cat >>confdefs.h <<\_ACEOF
44178 #define wxUSE_DIRPICKERCTRL 1
44179 _ACEOF
44180
44181 USES_CONTROLS=1
44182 fi
44183
44184 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44185 cat >>confdefs.h <<\_ACEOF
44186 #define wxUSE_FILEPICKERCTRL 1
44187 _ACEOF
44188
44189 USES_CONTROLS=1
44190 fi
44191
44192 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44193 cat >>confdefs.h <<\_ACEOF
44194 #define wxUSE_FONTPICKERCTRL 1
44195 _ACEOF
44196
44197 USES_CONTROLS=1
44198 fi
44199
44200 if test "$wxUSE_DISPLAY" = "yes"; then
44201 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44202 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44203 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44204 wxUSE_DISPLAY=no
44205 else
44206 cat >>confdefs.h <<\_ACEOF
44207 #define wxUSE_DISPLAY 1
44208 _ACEOF
44209
44210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44211 fi
44212 fi
44213
44214 if test "$wxUSE_DETECT_SM" = "yes"; then
44215 cat >>confdefs.h <<\_ACEOF
44216 #define wxUSE_DETECT_SM 1
44217 _ACEOF
44218
44219 fi
44220
44221 if test "$wxUSE_GAUGE" = "yes"; then
44222 cat >>confdefs.h <<\_ACEOF
44223 #define wxUSE_GAUGE 1
44224 _ACEOF
44225
44226 USES_CONTROLS=1
44227 fi
44228
44229 if test "$wxUSE_GRID" = "yes"; then
44230 cat >>confdefs.h <<\_ACEOF
44231 #define wxUSE_GRID 1
44232 _ACEOF
44233
44234 USES_CONTROLS=1
44235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44236 fi
44237
44238 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44239 cat >>confdefs.h <<\_ACEOF
44240 #define wxUSE_HYPERLINKCTRL 1
44241 _ACEOF
44242
44243 USES_CONTROLS=1
44244 fi
44245
44246 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_BITMAPCOMBOBOX 1
44249 _ACEOF
44250
44251 USES_CONTROLS=1
44252 fi
44253
44254 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44255 cat >>confdefs.h <<\_ACEOF
44256 #define wxUSE_DATAVIEWCTRL 1
44257 _ACEOF
44258
44259 USES_CONTROLS=1
44260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44261 fi
44262
44263 if test "$wxUSE_IMAGLIST" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_IMAGLIST 1
44266 _ACEOF
44267
44268 fi
44269
44270 if test "$wxUSE_LISTBOOK" = "yes"; then
44271 cat >>confdefs.h <<\_ACEOF
44272 #define wxUSE_LISTBOOK 1
44273 _ACEOF
44274
44275 USES_CONTROLS=1
44276 fi
44277
44278 if test "$wxUSE_LISTBOX" = "yes"; then
44279 cat >>confdefs.h <<\_ACEOF
44280 #define wxUSE_LISTBOX 1
44281 _ACEOF
44282
44283 USES_CONTROLS=1
44284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44285 fi
44286
44287 if test "$wxUSE_LISTCTRL" = "yes"; then
44288 if test "$wxUSE_IMAGLIST" = "yes"; then
44289 cat >>confdefs.h <<\_ACEOF
44290 #define wxUSE_LISTCTRL 1
44291 _ACEOF
44292
44293 USES_CONTROLS=1
44294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44295 else
44296 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44297 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44298 fi
44299 fi
44300
44301 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44302 cat >>confdefs.h <<\_ACEOF
44303 #define wxUSE_EDITABLELISTBOX 1
44304 _ACEOF
44305
44306 USES_CONTROLS=1
44307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44308 fi
44309
44310 if test "$wxUSE_NOTEBOOK" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_NOTEBOOK 1
44313 _ACEOF
44314
44315 USES_CONTROLS=1
44316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44317 fi
44318
44319 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44320 cat >>confdefs.h <<\_ACEOF
44321 #define wxUSE_ODCOMBOBOX 1
44322 _ACEOF
44323
44324 USES_CONTROLS=1
44325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44326 fi
44327
44328
44329 if test "$wxUSE_RADIOBOX" = "yes"; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_RADIOBOX 1
44332 _ACEOF
44333
44334 USES_CONTROLS=1
44335 fi
44336
44337 if test "$wxUSE_RADIOBTN" = "yes"; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_RADIOBTN 1
44340 _ACEOF
44341
44342 USES_CONTROLS=1
44343 fi
44344
44345 if test "$wxUSE_SASH" = "yes"; then
44346 cat >>confdefs.h <<\_ACEOF
44347 #define wxUSE_SASH 1
44348 _ACEOF
44349
44350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44351 fi
44352
44353 if test "$wxUSE_SCROLLBAR" = "yes"; then
44354 cat >>confdefs.h <<\_ACEOF
44355 #define wxUSE_SCROLLBAR 1
44356 _ACEOF
44357
44358 USES_CONTROLS=1
44359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44360 fi
44361
44362 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_SEARCHCTRL 1
44365 _ACEOF
44366
44367 USES_CONTROLS=1
44368 fi
44369
44370 if test "$wxUSE_SLIDER" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_SLIDER 1
44373 _ACEOF
44374
44375 USES_CONTROLS=1
44376 fi
44377
44378 if test "$wxUSE_SPINBTN" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_SPINBTN 1
44381 _ACEOF
44382
44383 USES_CONTROLS=1
44384 fi
44385
44386 if test "$wxUSE_SPINCTRL" = "yes"; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_SPINCTRL 1
44389 _ACEOF
44390
44391 USES_CONTROLS=1
44392 fi
44393
44394 if test "$wxUSE_SPLITTER" = "yes"; then
44395 cat >>confdefs.h <<\_ACEOF
44396 #define wxUSE_SPLITTER 1
44397 _ACEOF
44398
44399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44400 fi
44401
44402 if test "$wxUSE_STATBMP" = "yes"; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_STATBMP 1
44405 _ACEOF
44406
44407 USES_CONTROLS=1
44408 fi
44409
44410 if test "$wxUSE_STATBOX" = "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define wxUSE_STATBOX 1
44413 _ACEOF
44414
44415 USES_CONTROLS=1
44416 fi
44417
44418 if test "$wxUSE_STATTEXT" = "yes"; then
44419 cat >>confdefs.h <<\_ACEOF
44420 #define wxUSE_STATTEXT 1
44421 _ACEOF
44422
44423 USES_CONTROLS=1
44424 fi
44425
44426 if test "$wxUSE_STATLINE" = "yes"; then
44427 cat >>confdefs.h <<\_ACEOF
44428 #define wxUSE_STATLINE 1
44429 _ACEOF
44430
44431 USES_CONTROLS=1
44432 fi
44433
44434 if test "$wxUSE_STATUSBAR" = "yes"; then
44435 cat >>confdefs.h <<\_ACEOF
44436 #define wxUSE_NATIVE_STATUSBAR 1
44437 _ACEOF
44438
44439 cat >>confdefs.h <<\_ACEOF
44440 #define wxUSE_STATUSBAR 1
44441 _ACEOF
44442
44443 USES_CONTROLS=1
44444
44445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44446 fi
44447
44448 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_TAB_DIALOG 1
44451 _ACEOF
44452
44453 fi
44454
44455 if test "$wxUSE_TEXTCTRL" = "yes"; then
44456 cat >>confdefs.h <<\_ACEOF
44457 #define wxUSE_TEXTCTRL 1
44458 _ACEOF
44459
44460 USES_CONTROLS=1
44461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44462 fi
44463
44464 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44465 if test "$wxUSE_COCOA" = 1 ; then
44466 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44467 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44468 wxUSE_TOGGLEBTN=no
44469 fi
44470
44471 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44472 cat >>confdefs.h <<\_ACEOF
44473 #define wxUSE_TOGGLEBTN 1
44474 _ACEOF
44475
44476 USES_CONTROLS=1
44477 fi
44478 fi
44479
44480 if test "$wxUSE_TOOLBAR" = "yes"; then
44481 cat >>confdefs.h <<\_ACEOF
44482 #define wxUSE_TOOLBAR 1
44483 _ACEOF
44484
44485 USES_CONTROLS=1
44486
44487 if test "$wxUSE_UNIVERSAL" = "yes"; then
44488 wxUSE_TOOLBAR_NATIVE="no"
44489 else
44490 wxUSE_TOOLBAR_NATIVE="yes"
44491 cat >>confdefs.h <<\_ACEOF
44492 #define wxUSE_TOOLBAR_NATIVE 1
44493 _ACEOF
44494
44495 fi
44496
44497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44498 fi
44499
44500 if test "$wxUSE_TOOLTIPS" = "yes"; then
44501 if test "$wxUSE_MOTIF" = 1; then
44502 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44503 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44504 else
44505 if test "$wxUSE_UNIVERSAL" = "yes"; then
44506 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44507 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44508 else
44509 cat >>confdefs.h <<\_ACEOF
44510 #define wxUSE_TOOLTIPS 1
44511 _ACEOF
44512
44513 fi
44514 fi
44515 fi
44516
44517 if test "$wxUSE_TREEBOOK" = "yes"; then
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_TREEBOOK 1
44520 _ACEOF
44521
44522 USES_CONTROLS=1
44523 fi
44524
44525 if test "$wxUSE_TOOLBOOK" = "yes"; then
44526 cat >>confdefs.h <<\_ACEOF
44527 #define wxUSE_TOOLBOOK 1
44528 _ACEOF
44529
44530 USES_CONTROLS=1
44531 fi
44532
44533 if test "$wxUSE_TREECTRL" = "yes"; then
44534 if test "$wxUSE_IMAGLIST" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_TREECTRL 1
44537 _ACEOF
44538
44539 USES_CONTROLS=1
44540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44541 else
44542 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44543 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44544 fi
44545 fi
44546
44547 if test "$wxUSE_POPUPWIN" = "yes"; then
44548 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44549 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44550 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44551 else
44552 if test "$wxUSE_PM" = 1; then
44553 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44554 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44555 else
44556 cat >>confdefs.h <<\_ACEOF
44557 #define wxUSE_POPUPWIN 1
44558 _ACEOF
44559
44560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44561
44562 USES_CONTROLS=1
44563 fi
44564 fi
44565 fi
44566
44567 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44568 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44569 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44570 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44571 else
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_DIALUP_MANAGER 1
44574 _ACEOF
44575
44576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44577 fi
44578 fi
44579
44580 if test "$wxUSE_TIPWINDOW" = "yes"; then
44581 if test "$wxUSE_PM" = 1; then
44582 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44583 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44584 else
44585 cat >>confdefs.h <<\_ACEOF
44586 #define wxUSE_TIPWINDOW 1
44587 _ACEOF
44588
44589 fi
44590 fi
44591
44592 if test "$USES_CONTROLS" = 1; then
44593 cat >>confdefs.h <<\_ACEOF
44594 #define wxUSE_CONTROLS 1
44595 _ACEOF
44596
44597 fi
44598
44599
44600 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_ACCESSIBILITY 1
44603 _ACEOF
44604
44605 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44606 fi
44607
44608 if test "$wxUSE_DC_CACHEING" = "yes"; then
44609 cat >>confdefs.h <<\_ACEOF
44610 #define wxUSE_DC_CACHEING 1
44611 _ACEOF
44612
44613 fi
44614
44615 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44616 cat >>confdefs.h <<\_ACEOF
44617 #define wxUSE_DRAGIMAGE 1
44618 _ACEOF
44619
44620 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44621 fi
44622
44623 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44624 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44625 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44626 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44627 else
44628 cat >>confdefs.h <<\_ACEOF
44629 #define wxUSE_EXCEPTIONS 1
44630 _ACEOF
44631
44632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44633 fi
44634 fi
44635
44636 USE_HTML=0
44637 if test "$wxUSE_HTML" = "yes"; then
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_HTML 1
44640 _ACEOF
44641
44642 USE_HTML=1
44643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44644 if test "$wxUSE_MAC" = 1; then
44645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44646 fi
44647 fi
44648 if test "$wxUSE_WEBKIT" = "yes"; then
44649 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44650 old_CPPFLAGS="$CPPFLAGS"
44651 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44652 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44653 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44654 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44655 echo $ECHO_N "(cached) $ECHO_C" >&6
44656 else
44657 cat >conftest.$ac_ext <<_ACEOF
44658 /* confdefs.h. */
44659 _ACEOF
44660 cat confdefs.h >>conftest.$ac_ext
44661 cat >>conftest.$ac_ext <<_ACEOF
44662 /* end confdefs.h. */
44663
44664 #include <Carbon/Carbon.h>
44665 #include <WebKit/WebKit.h>
44666
44667
44668 #include <WebKit/HIWebView.h>
44669 _ACEOF
44670 rm -f conftest.$ac_objext
44671 if { (ac_try="$ac_compile"
44672 case "(($ac_try" in
44673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44674 *) ac_try_echo=$ac_try;;
44675 esac
44676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44677 (eval "$ac_compile") 2>conftest.er1
44678 ac_status=$?
44679 grep -v '^ *+' conftest.er1 >conftest.err
44680 rm -f conftest.er1
44681 cat conftest.err >&5
44682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44683 (exit $ac_status); } && {
44684 test -z "$ac_c_werror_flag" ||
44685 test ! -s conftest.err
44686 } && test -s conftest.$ac_objext; then
44687 ac_cv_header_WebKit_HIWebView_h=yes
44688 else
44689 echo "$as_me: failed program was:" >&5
44690 sed 's/^/| /' conftest.$ac_ext >&5
44691
44692 ac_cv_header_WebKit_HIWebView_h=no
44693 fi
44694
44695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44696 fi
44697 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44698 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44699 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44700
44701 cat >>confdefs.h <<\_ACEOF
44702 #define wxUSE_WEBKIT 1
44703 _ACEOF
44704
44705 WEBKIT_LINK="-framework WebKit"
44706
44707 else
44708
44709 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44710 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44711 wxUSE_WEBKIT=no
44712
44713 fi
44714
44715
44716 CPPFLAGS="$old_CPPFLAGS"
44717 elif test "$wxUSE_COCOA" = 1; then
44718 cat >>confdefs.h <<\_ACEOF
44719 #define wxUSE_WEBKIT 1
44720 _ACEOF
44721
44722 else
44723 wxUSE_WEBKIT=no
44724 fi
44725 fi
44726
44727 USE_XRC=0
44728 if test "$wxUSE_XRC" = "yes"; then
44729 if test "$wxUSE_XML" != "yes"; then
44730 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44731 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44732 wxUSE_XRC=no
44733 else
44734 cat >>confdefs.h <<\_ACEOF
44735 #define wxUSE_XRC 1
44736 _ACEOF
44737
44738 USE_XRC=1
44739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44740 fi
44741 fi
44742
44743 USE_AUI=0
44744 if test "$wxUSE_AUI" = "yes"; then
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_AUI 1
44747 _ACEOF
44748
44749 USE_AUI=1
44750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44751 fi
44752
44753 USE_STC=0
44754 if test "$wxUSE_STC" = "yes"; then
44755 cat >>confdefs.h <<\_ACEOF
44756 #define wxUSE_STC 1
44757 _ACEOF
44758
44759 USE_STC=1
44760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44761 fi
44762
44763 if test "$wxUSE_MENUS" = "yes"; then
44764 cat >>confdefs.h <<\_ACEOF
44765 #define wxUSE_MENUS 1
44766 _ACEOF
44767
44768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44769 fi
44770
44771 if test "$wxUSE_METAFILE" = "yes"; then
44772 cat >>confdefs.h <<\_ACEOF
44773 #define wxUSE_METAFILE 1
44774 _ACEOF
44775
44776 fi
44777
44778 if test "$wxUSE_MIMETYPE" = "yes"; then
44779 cat >>confdefs.h <<\_ACEOF
44780 #define wxUSE_MIMETYPE 1
44781 _ACEOF
44782
44783 fi
44784
44785 if test "$wxUSE_MINIFRAME" = "yes"; then
44786 cat >>confdefs.h <<\_ACEOF
44787 #define wxUSE_MINIFRAME 1
44788 _ACEOF
44789
44790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44791 fi
44792
44793 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_SYSTEM_OPTIONS 1
44796 _ACEOF
44797
44798 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44799 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44801 fi
44802 fi
44803
44804
44805 if test "$wxUSE_VALIDATORS" = "yes"; then
44806 cat >>confdefs.h <<\_ACEOF
44807 #define wxUSE_VALIDATORS 1
44808 _ACEOF
44809
44810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44811 fi
44812
44813 if test "$wxUSE_PALETTE" = "yes" ; then
44814 if test "$wxUSE_DFB" = 1; then
44815 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44816 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44817 wxUSE_PALETTE=no
44818 else
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_PALETTE 1
44821 _ACEOF
44822
44823 fi
44824 fi
44825
44826 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44827 LIBS=" -lunicows $LIBS"
44828 fi
44829
44830 USE_RICHTEXT=0
44831 if test "$wxUSE_RICHTEXT" = "yes"; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_RICHTEXT 1
44834 _ACEOF
44835
44836 USE_RICHTEXT=1
44837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44838 fi
44839
44840
44841 if test "$wxUSE_IMAGE" = "yes" ; then
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_IMAGE 1
44844 _ACEOF
44845
44846
44847 if test "$wxUSE_GIF" = "yes" ; then
44848 cat >>confdefs.h <<\_ACEOF
44849 #define wxUSE_GIF 1
44850 _ACEOF
44851
44852 fi
44853
44854 if test "$wxUSE_PCX" = "yes" ; then
44855 cat >>confdefs.h <<\_ACEOF
44856 #define wxUSE_PCX 1
44857 _ACEOF
44858
44859 fi
44860
44861 if test "$wxUSE_TGA" = "yes" ; then
44862 cat >>confdefs.h <<\_ACEOF
44863 #define wxUSE_TGA 1
44864 _ACEOF
44865
44866 fi
44867
44868 if test "$wxUSE_IFF" = "yes" ; then
44869 cat >>confdefs.h <<\_ACEOF
44870 #define wxUSE_IFF 1
44871 _ACEOF
44872
44873 fi
44874
44875 if test "$wxUSE_PNM" = "yes" ; then
44876 cat >>confdefs.h <<\_ACEOF
44877 #define wxUSE_PNM 1
44878 _ACEOF
44879
44880 fi
44881
44882 if test "$wxUSE_XPM" = "yes" ; then
44883 cat >>confdefs.h <<\_ACEOF
44884 #define wxUSE_XPM 1
44885 _ACEOF
44886
44887 fi
44888
44889 if test "$wxUSE_ICO_CUR" = "yes" ; then
44890 cat >>confdefs.h <<\_ACEOF
44891 #define wxUSE_ICO_CUR 1
44892 _ACEOF
44893
44894 fi
44895 fi
44896
44897
44898 if test "$wxUSE_ABOUTDLG" = "yes"; then
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_ABOUTDLG 1
44901 _ACEOF
44902
44903 fi
44904
44905 if test "$wxUSE_CHOICEDLG" = "yes"; then
44906 cat >>confdefs.h <<\_ACEOF
44907 #define wxUSE_CHOICEDLG 1
44908 _ACEOF
44909
44910 fi
44911
44912 if test "$wxUSE_COLOURDLG" = "yes"; then
44913 cat >>confdefs.h <<\_ACEOF
44914 #define wxUSE_COLOURDLG 1
44915 _ACEOF
44916
44917 fi
44918
44919 if test "$wxUSE_FILEDLG" = "yes"; then
44920 cat >>confdefs.h <<\_ACEOF
44921 #define wxUSE_FILEDLG 1
44922 _ACEOF
44923
44924 fi
44925
44926 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44927 cat >>confdefs.h <<\_ACEOF
44928 #define wxUSE_FINDREPLDLG 1
44929 _ACEOF
44930
44931 fi
44932
44933 if test "$wxUSE_FONTDLG" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_FONTDLG 1
44936 _ACEOF
44937
44938 fi
44939
44940 if test "$wxUSE_DIRDLG" = "yes"; then
44941 if test "$wxUSE_TREECTRL" != "yes"; then
44942 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44943 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44944 else
44945 cat >>confdefs.h <<\_ACEOF
44946 #define wxUSE_DIRDLG 1
44947 _ACEOF
44948
44949 fi
44950 fi
44951
44952 if test "$wxUSE_MSGDLG" = "yes"; then
44953 cat >>confdefs.h <<\_ACEOF
44954 #define wxUSE_MSGDLG 1
44955 _ACEOF
44956
44957 fi
44958
44959 if test "$wxUSE_NUMBERDLG" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_NUMBERDLG 1
44962 _ACEOF
44963
44964 fi
44965
44966 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44967 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44968 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44969 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44970 else
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_PROGRESSDLG 1
44973 _ACEOF
44974
44975 fi
44976 fi
44977
44978 if test "$wxUSE_SPLASH" = "yes"; then
44979 cat >>confdefs.h <<\_ACEOF
44980 #define wxUSE_SPLASH 1
44981 _ACEOF
44982
44983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44984 fi
44985
44986 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44987 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44988 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44989 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44990 else
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_STARTUP_TIPS 1
44993 _ACEOF
44994
44995 fi
44996 fi
44997
44998 if test "$wxUSE_TEXTDLG" = "yes"; then
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_TEXTDLG 1
45001 _ACEOF
45002
45003 fi
45004
45005 if test "$wxUSE_WIZARDDLG" = "yes"; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_WIZARDDLG 1
45008 _ACEOF
45009
45010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45011 fi
45012
45013
45014 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45015 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_GRAPHICS_CONTEXT 1
45018 _ACEOF
45019
45020 elif test "$wxUSE_GTK" != 1; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_GRAPHICS_CONTEXT 1
45023 _ACEOF
45024
45025 else
45026
45027 pkg_failed=no
45028 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45029 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45030
45031 if test -n "$PKG_CONFIG"; then
45032 if test -n "$CAIRO_CFLAGS"; then
45033 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45034 else
45035 if test -n "$PKG_CONFIG" && \
45036 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45037 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45038 ac_status=$?
45039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45040 (exit $ac_status); }; then
45041 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45042 else
45043 pkg_failed=yes
45044 fi
45045 fi
45046 else
45047 pkg_failed=untried
45048 fi
45049 if test -n "$PKG_CONFIG"; then
45050 if test -n "$CAIRO_LIBS"; then
45051 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45052 else
45053 if test -n "$PKG_CONFIG" && \
45054 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45055 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45056 ac_status=$?
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); }; then
45059 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45060 else
45061 pkg_failed=yes
45062 fi
45063 fi
45064 else
45065 pkg_failed=untried
45066 fi
45067
45068
45069
45070 if test $pkg_failed = yes; then
45071
45072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45073 _pkg_short_errors_supported=yes
45074 else
45075 _pkg_short_errors_supported=no
45076 fi
45077 if test $_pkg_short_errors_supported = yes; then
45078 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45079 else
45080 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45081 fi
45082 # Put the nasty error message in config.log where it belongs
45083 echo "$CAIRO_PKG_ERRORS" >&5
45084
45085 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45086 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45087
45088 elif test $pkg_failed = untried; then
45089 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45090 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45091
45092 else
45093 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45094 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45095 { echo "$as_me:$LINENO: result: yes" >&5
45096 echo "${ECHO_T}yes" >&6; }
45097 cat >>confdefs.h <<\_ACEOF
45098 #define wxUSE_GRAPHICS_CONTEXT 1
45099 _ACEOF
45100
45101 fi
45102 fi
45103 fi
45104
45105
45106 USE_MEDIA=0
45107
45108 if test "$wxUSE_MEDIACTRL" = "yes"; then
45109 USE_MEDIA=1
45110
45111 if test "$wxUSE_GTK" = 1; then
45112 wxUSE_GSTREAMER="no"
45113
45114 GST_VERSION_MAJOR=0
45115 GST_VERSION_MINOR=10
45116 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45117
45118 if test "$wxUSE_GSTREAMER8" = "no"; then
45119
45120 pkg_failed=no
45121 { echo "$as_me:$LINENO: checking for GST" >&5
45122 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45123
45124 if test -n "$PKG_CONFIG"; then
45125 if test -n "$GST_CFLAGS"; then
45126 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45127 else
45128 if test -n "$PKG_CONFIG" && \
45129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45130 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45131 ac_status=$?
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; then
45134 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45135 else
45136 pkg_failed=yes
45137 fi
45138 fi
45139 else
45140 pkg_failed=untried
45141 fi
45142 if test -n "$PKG_CONFIG"; then
45143 if test -n "$GST_LIBS"; then
45144 pkg_cv_GST_LIBS="$GST_LIBS"
45145 else
45146 if test -n "$PKG_CONFIG" && \
45147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45148 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45149 ac_status=$?
45150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45151 (exit $ac_status); }; then
45152 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45153 else
45154 pkg_failed=yes
45155 fi
45156 fi
45157 else
45158 pkg_failed=untried
45159 fi
45160
45161
45162
45163 if test $pkg_failed = yes; then
45164
45165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45166 _pkg_short_errors_supported=yes
45167 else
45168 _pkg_short_errors_supported=no
45169 fi
45170 if test $_pkg_short_errors_supported = yes; then
45171 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45172 else
45173 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45174 fi
45175 # Put the nasty error message in config.log where it belongs
45176 echo "$GST_PKG_ERRORS" >&5
45177
45178
45179 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45180 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45181 GST_VERSION_MINOR=8
45182
45183
45184 elif test $pkg_failed = untried; then
45185
45186 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45187 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45188 GST_VERSION_MINOR=8
45189
45190
45191 else
45192 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45193 GST_LIBS=$pkg_cv_GST_LIBS
45194 { echo "$as_me:$LINENO: result: yes" >&5
45195 echo "${ECHO_T}yes" >&6; }
45196
45197 wxUSE_GSTREAMER="yes"
45198 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45199
45200 fi
45201 else
45202 GST_VERSION_MINOR=8
45203 fi
45204
45205 if test $GST_VERSION_MINOR = "8"; then
45206 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45207
45208 pkg_failed=no
45209 { echo "$as_me:$LINENO: checking for GST" >&5
45210 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45211
45212 if test -n "$PKG_CONFIG"; then
45213 if test -n "$GST_CFLAGS"; then
45214 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45215 else
45216 if test -n "$PKG_CONFIG" && \
45217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45218 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45219 ac_status=$?
45220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45221 (exit $ac_status); }; then
45222 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45223 else
45224 pkg_failed=yes
45225 fi
45226 fi
45227 else
45228 pkg_failed=untried
45229 fi
45230 if test -n "$PKG_CONFIG"; then
45231 if test -n "$GST_LIBS"; then
45232 pkg_cv_GST_LIBS="$GST_LIBS"
45233 else
45234 if test -n "$PKG_CONFIG" && \
45235 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45236 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45237 ac_status=$?
45238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45239 (exit $ac_status); }; then
45240 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45241 else
45242 pkg_failed=yes
45243 fi
45244 fi
45245 else
45246 pkg_failed=untried
45247 fi
45248
45249
45250
45251 if test $pkg_failed = yes; then
45252
45253 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45254 _pkg_short_errors_supported=yes
45255 else
45256 _pkg_short_errors_supported=no
45257 fi
45258 if test $_pkg_short_errors_supported = yes; then
45259 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45260 else
45261 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45262 fi
45263 # Put the nasty error message in config.log where it belongs
45264 echo "$GST_PKG_ERRORS" >&5
45265
45266
45267 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45268 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45269
45270 elif test $pkg_failed = untried; then
45271
45272 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45273 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45274
45275 else
45276 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45277 GST_LIBS=$pkg_cv_GST_LIBS
45278 { echo "$as_me:$LINENO: result: yes" >&5
45279 echo "${ECHO_T}yes" >&6; }
45280 wxUSE_GSTREAMER="yes"
45281 fi
45282 fi
45283
45284
45285 if test "$wxUSE_GSTREAMER" = "yes"; then
45286 case "${host}" in
45287 *-*-solaris2* )
45288 if "$GCC" = yes; then
45289 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45290 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45291 fi
45292 esac
45293
45294 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45295 LIBS="$GST_LIBS $LIBS"
45296
45297 cat >>confdefs.h <<\_ACEOF
45298 #define wxUSE_GSTREAMER 1
45299 _ACEOF
45300
45301 else
45302 USE_MEDIA=0
45303 fi
45304 fi
45305
45306 if test $USE_MEDIA = 1; then
45307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_MEDIACTRL 1
45310 _ACEOF
45311
45312 fi
45313 fi
45314
45315
45316 if test "$cross_compiling" = "yes"; then
45317 OSINFO="\"$host\""
45318 else
45319 OSINFO=`uname -s -r -m`
45320 OSINFO="\"$OSINFO\""
45321 fi
45322
45323 cat >>confdefs.h <<_ACEOF
45324 #define WXWIN_OS_DESCRIPTION $OSINFO
45325 _ACEOF
45326
45327
45328
45329 if test "x$prefix" != "xNONE"; then
45330 wxPREFIX=$prefix
45331 else
45332 wxPREFIX=$ac_default_prefix
45333 fi
45334
45335 cat >>confdefs.h <<_ACEOF
45336 #define wxINSTALL_PREFIX "$wxPREFIX"
45337 _ACEOF
45338
45339
45340
45341
45342 CORE_BASE_LIBS="net base"
45343 CORE_GUI_LIBS="adv core"
45344
45345 if test "$wxUSE_XML" = "yes" ; then
45346 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45347 fi
45348 if test "$wxUSE_ODBC" != "no" ; then
45349 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45350 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45351 fi
45352 if test "$wxUSE_HTML" = "yes" ; then
45353 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45354 fi
45355 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45356 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45357 fi
45358 if test "$wxUSE_XRC" = "yes" ; then
45359 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45360 fi
45361 if test "$wxUSE_AUI" = "yes" ; then
45362 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45363 fi
45364 if test "$wxUSE_STC" = "yes" ; then
45365 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45366 fi
45367
45368 if test "$wxUSE_GUI" != "yes"; then
45369 CORE_GUI_LIBS=""
45370 fi
45371
45372
45373
45374
45375
45376
45377 if test "$wxUSE_MAC" = 1 ; then
45378 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45379 if test "$USE_DARWIN" = 1; then
45380 LDFLAGS="$LDFLAGS -framework QuickTime"
45381 else
45382 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45383 fi
45384 fi
45385 if test "$USE_DARWIN" = 1; then
45386 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45387 else
45388 LDFLAGS="$LDFLAGS -lCarbonLib"
45389 fi
45390 fi
45391 if test "$wxUSE_COCOA" = 1 ; then
45392 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45393 if test "$wxUSE_MEDIACTRL" = "yes"; then
45394 LDFLAGS="$LDFLAGS -framework QuickTime"
45395 fi
45396 fi
45397 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45398 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45399 fi
45400
45401 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45402
45403 if test "$wxUSE_GUI" = "yes"; then
45404
45405
45406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45407 dynamic erase event exec font image minimal mobile \
45408 mobile/wxedit mobile/styles propsize render \
45409 rotate shaped svg taborder vscroll widgets"
45410
45411 if test "$wxUSE_MONOLITHIC" != "yes"; then
45412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45413 fi
45414 if test "$TOOLKIT" = "MSW"; then
45415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45416 if test "$wxUSE_UNIVERSAL" != "yes"; then
45417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45418 fi
45419 fi
45420 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45422 fi
45423 else
45424 SAMPLES_SUBDIRS="console"
45425 fi
45426
45427
45428 if test "x$INTELCC" = "xyes" ; then
45429 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45430 elif test "$GCC" = yes ; then
45431 CWARNINGS="-Wall -Wundef"
45432 fi
45433
45434 if test "x$INTELCXX" = "xyes" ; then
45435 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45436 elif test "$GXX" = yes ; then
45437 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45438 fi
45439
45440
45441 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45442 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45443
45444
45445 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45446 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45447 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45448 $CPPFLAGS `
45449
45450 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45451 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45452 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45453
45454 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45455
45456
45457 if test "x$MWCC" = "xyes"; then
45458
45459 CC="$CC -cwd source -I-"
45460 CXX="$CXX -cwd source -I-"
45461 fi
45462
45463
45464 LIBS=`echo $LIBS`
45465 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45466 EXTRALIBS_XML="$EXPAT_LINK"
45467 EXTRALIBS_HTML="$MSPACK_LINK"
45468 EXTRALIBS_ODBC="$ODBC_LINK"
45469 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45470 if test "$wxUSE_GUI" = "yes"; then
45471 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45472 fi
45473 if test "$wxUSE_OPENGL" = "yes"; then
45474 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45475 fi
45476
45477 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45478
45479 WXCONFIG_LIBS="$LIBS"
45480
45481 if test "$wxUSE_REGEX" = "builtin" ; then
45482 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45483 fi
45484 if test "$wxUSE_EXPAT" = "builtin" ; then
45485 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45486 fi
45487 if test "$wxUSE_ODBC" = "builtin" ; then
45488 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45489 fi
45490 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45491 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45492 fi
45493 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45494 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45495 fi
45496 if test "$wxUSE_LIBPNG" = "builtin" ; then
45497 wxconfig_3rdparty="png $wxconfig_3rdparty"
45498 fi
45499 if test "$wxUSE_ZLIB" = "builtin" ; then
45500 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45501 fi
45502
45503 for i in $wxconfig_3rdparty ; do
45504 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45505 done
45506
45507
45508 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45509 WXUNIV=1
45510
45511 case "$wxUNIV_THEMES" in
45512 ''|all)
45513 cat >>confdefs.h <<\_ACEOF
45514 #define wxUSE_ALL_THEMES 1
45515 _ACEOF
45516
45517 ;;
45518
45519 *)
45520 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45521 cat >>confdefs.h <<_ACEOF
45522 #define wxUSE_THEME_$t 1
45523 _ACEOF
45524
45525 done
45526 esac
45527 else
45528 WXUNIV=0
45529 fi
45530
45531
45532
45533
45534
45535
45536
45537
45538
45539 if test $wxUSE_MONOLITHIC = "yes" ; then
45540 MONOLITHIC=1
45541 else
45542 MONOLITHIC=0
45543 fi
45544
45545 if test $wxUSE_PLUGINS = "yes" ; then
45546 USE_PLUGINS=1
45547 else
45548 USE_PLUGINS=0
45549 fi
45550
45551 if test $wxUSE_ODBC != "no" ; then
45552 USE_ODBC=1
45553 else
45554 USE_ODBC=0
45555 fi
45556
45557 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45558 USE_QA=1
45559 else
45560 USE_QA=0
45561 fi
45562
45563 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45564 OFFICIAL_BUILD=1
45565 else
45566 OFFICIAL_BUILD=0
45567 fi
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581
45582
45583
45584
45585
45586
45587
45588
45589
45590
45591
45592
45593
45594 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45595
45596
45597
45598
45599
45600
45601
45602
45603 case "$TOOLKIT" in
45604 GTK)
45605 TOOLKIT_DESC="GTK+"
45606 if test "$WXGTK20" = 1; then
45607 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45608 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45609 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45610 fi
45611 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45612 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45613 fi
45614 if test "$wxUSE_LIBHILDON" = "yes"; then
45615 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45616 fi
45617
45618 if test "$TOOLKIT_EXTRA" != ""; then
45619 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45620 fi
45621 fi
45622 ;;
45623
45624 ?*)
45625 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45626 ;;
45627
45628 *)
45629 TOOLKIT_DESC="base only"
45630 ;;
45631 esac
45632
45633 if test "$wxUSE_WINE" = "yes"; then
45634 BAKEFILE_FORCE_PLATFORM=win32
45635 fi
45636
45637 if test "$wxUSE_MAC" = 1 ; then
45638 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45639 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45640 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45641 else
45642 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45643 fi
45644 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45645 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45646 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45647 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45648 bk_use_pch=no
45649 fi
45650 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45651 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45652 fi
45653
45654 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45655 then
45656 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45657 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45658 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45659 echo $ECHO_N "(cached) $ECHO_C" >&6
45660 else
45661
45662 echo '#include <stdio.h>
45663 const wchar_t test_var[] = L"awidetest";' > conftest.h
45664
45665 echo '#include "conftest.h"
45666 int main()
45667 {
45668 printf("%ls", test_var);
45669 return 0;
45670 }' > conftest.cpp
45671
45672 wx_cv_gcc_pch_bug="pch not supported"
45673
45674 if $CXX conftest.h >/dev/null 2>&1
45675 then
45676 wx_cv_gcc_pch_bug=
45677
45678 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45679 then
45680 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45681 grep awidetest >/dev/null
45682 then
45683 wx_cv_gcc_pch_bug=no
45684 else
45685 wx_cv_gcc_pch_bug=yes
45686 fi
45687 fi
45688 fi
45689
45690 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45691
45692 fi
45693 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45694 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45695
45696 if test "$wx_cv_gcc_pch_bug" = yes; then
45697 bk_use_pch=no
45698 fi
45699 fi
45700
45701
45702
45703
45704 if test "x$BAKEFILE_HOST" = "x"; then
45705 if test "x${host}" = "x" ; then
45706 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45707 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45708 { (exit 1); exit 1; }; }
45709 fi
45710
45711 BAKEFILE_HOST="${host}"
45712 fi
45713
45714 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45715
45716 if test -n "$ac_tool_prefix"; then
45717 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45718 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45721 if test "${ac_cv_prog_RANLIB+set}" = set; then
45722 echo $ECHO_N "(cached) $ECHO_C" >&6
45723 else
45724 if test -n "$RANLIB"; then
45725 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45726 else
45727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45728 for as_dir in $PATH
45729 do
45730 IFS=$as_save_IFS
45731 test -z "$as_dir" && as_dir=.
45732 for ac_exec_ext in '' $ac_executable_extensions; do
45733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45734 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45736 break 2
45737 fi
45738 done
45739 done
45740 IFS=$as_save_IFS
45741
45742 fi
45743 fi
45744 RANLIB=$ac_cv_prog_RANLIB
45745 if test -n "$RANLIB"; then
45746 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45747 echo "${ECHO_T}$RANLIB" >&6; }
45748 else
45749 { echo "$as_me:$LINENO: result: no" >&5
45750 echo "${ECHO_T}no" >&6; }
45751 fi
45752
45753
45754 fi
45755 if test -z "$ac_cv_prog_RANLIB"; then
45756 ac_ct_RANLIB=$RANLIB
45757 # Extract the first word of "ranlib", so it can be a program name with args.
45758 set dummy ranlib; ac_word=$2
45759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45761 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45762 echo $ECHO_N "(cached) $ECHO_C" >&6
45763 else
45764 if test -n "$ac_ct_RANLIB"; then
45765 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45766 else
45767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45768 for as_dir in $PATH
45769 do
45770 IFS=$as_save_IFS
45771 test -z "$as_dir" && as_dir=.
45772 for ac_exec_ext in '' $ac_executable_extensions; do
45773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45774 ac_cv_prog_ac_ct_RANLIB="ranlib"
45775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45776 break 2
45777 fi
45778 done
45779 done
45780 IFS=$as_save_IFS
45781
45782 fi
45783 fi
45784 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45785 if test -n "$ac_ct_RANLIB"; then
45786 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45787 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45788 else
45789 { echo "$as_me:$LINENO: result: no" >&5
45790 echo "${ECHO_T}no" >&6; }
45791 fi
45792
45793 if test "x$ac_ct_RANLIB" = x; then
45794 RANLIB=":"
45795 else
45796 case $cross_compiling:$ac_tool_warned in
45797 yes:)
45798 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45799 whose name does not start with the host triplet. If you think this
45800 configuration is useful to you, please write to autoconf@gnu.org." >&5
45801 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45802 whose name does not start with the host triplet. If you think this
45803 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45804 ac_tool_warned=yes ;;
45805 esac
45806 RANLIB=$ac_ct_RANLIB
45807 fi
45808 else
45809 RANLIB="$ac_cv_prog_RANLIB"
45810 fi
45811
45812 # Find a good install program. We prefer a C program (faster),
45813 # so one script is as good as another. But avoid the broken or
45814 # incompatible versions:
45815 # SysV /etc/install, /usr/sbin/install
45816 # SunOS /usr/etc/install
45817 # IRIX /sbin/install
45818 # AIX /bin/install
45819 # AmigaOS /C/install, which installs bootblocks on floppy discs
45820 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45821 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45822 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45823 # OS/2's system install, which has a completely different semantic
45824 # ./install, which can be erroneously created by make from ./install.sh.
45825 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45826 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45827 if test -z "$INSTALL"; then
45828 if test "${ac_cv_path_install+set}" = set; then
45829 echo $ECHO_N "(cached) $ECHO_C" >&6
45830 else
45831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45832 for as_dir in $PATH
45833 do
45834 IFS=$as_save_IFS
45835 test -z "$as_dir" && as_dir=.
45836 # Account for people who put trailing slashes in PATH elements.
45837 case $as_dir/ in
45838 ./ | .// | /cC/* | \
45839 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45840 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45841 /usr/ucb/* ) ;;
45842 *)
45843 # OSF1 and SCO ODT 3.0 have their own names for install.
45844 # Don't use installbsd from OSF since it installs stuff as root
45845 # by default.
45846 for ac_prog in ginstall scoinst install; do
45847 for ac_exec_ext in '' $ac_executable_extensions; do
45848 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45849 if test $ac_prog = install &&
45850 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45851 # AIX install. It has an incompatible calling convention.
45852 :
45853 elif test $ac_prog = install &&
45854 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45855 # program-specific install script used by HP pwplus--don't use.
45856 :
45857 else
45858 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45859 break 3
45860 fi
45861 fi
45862 done
45863 done
45864 ;;
45865 esac
45866 done
45867 IFS=$as_save_IFS
45868
45869
45870 fi
45871 if test "${ac_cv_path_install+set}" = set; then
45872 INSTALL=$ac_cv_path_install
45873 else
45874 # As a last resort, use the slow shell script. Don't cache a
45875 # value for INSTALL within a source directory, because that will
45876 # break other packages using the cache if that directory is
45877 # removed, or if the value is a relative name.
45878 INSTALL=$ac_install_sh
45879 fi
45880 fi
45881 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45882 echo "${ECHO_T}$INSTALL" >&6; }
45883
45884 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45885 # It thinks the first close brace ends the variable substitution.
45886 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45887
45888 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45889
45890 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45891
45892 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45893 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45894 LN_S=$as_ln_s
45895 if test "$LN_S" = "ln -s"; then
45896 { echo "$as_me:$LINENO: result: yes" >&5
45897 echo "${ECHO_T}yes" >&6; }
45898 else
45899 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45900 echo "${ECHO_T}no, using $LN_S" >&6; }
45901 fi
45902
45903
45904 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45905 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45906 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45907 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45909 else
45910 cat >conftest.make <<\_ACEOF
45911 SHELL = /bin/sh
45912 all:
45913 @echo '@@@%%%=$(MAKE)=@@@%%%'
45914 _ACEOF
45915 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45917 *@@@%%%=?*=@@@%%%*)
45918 eval ac_cv_prog_make_${ac_make}_set=yes;;
45919 *)
45920 eval ac_cv_prog_make_${ac_make}_set=no;;
45921 esac
45922 rm -f conftest.make
45923 fi
45924 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45925 { echo "$as_me:$LINENO: result: yes" >&5
45926 echo "${ECHO_T}yes" >&6; }
45927 SET_MAKE=
45928 else
45929 { echo "$as_me:$LINENO: result: no" >&5
45930 echo "${ECHO_T}no" >&6; }
45931 SET_MAKE="MAKE=${MAKE-make}"
45932 fi
45933
45934
45935
45936 if test "x$SUNCXX" = "xyes"; then
45937 AR=$CXX
45938 AROPTIONS="-xar -o"
45939
45940 elif test "x$SGICC" = "xyes"; then
45941 AR=$CXX
45942 AROPTIONS="-ar -o"
45943
45944 else
45945 if test -n "$ac_tool_prefix"; then
45946 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45947 set dummy ${ac_tool_prefix}ar; ac_word=$2
45948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45950 if test "${ac_cv_prog_AR+set}" = set; then
45951 echo $ECHO_N "(cached) $ECHO_C" >&6
45952 else
45953 if test -n "$AR"; then
45954 ac_cv_prog_AR="$AR" # Let the user override the test.
45955 else
45956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45957 for as_dir in $PATH
45958 do
45959 IFS=$as_save_IFS
45960 test -z "$as_dir" && as_dir=.
45961 for ac_exec_ext in '' $ac_executable_extensions; do
45962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45963 ac_cv_prog_AR="${ac_tool_prefix}ar"
45964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45965 break 2
45966 fi
45967 done
45968 done
45969 IFS=$as_save_IFS
45970
45971 fi
45972 fi
45973 AR=$ac_cv_prog_AR
45974 if test -n "$AR"; then
45975 { echo "$as_me:$LINENO: result: $AR" >&5
45976 echo "${ECHO_T}$AR" >&6; }
45977 else
45978 { echo "$as_me:$LINENO: result: no" >&5
45979 echo "${ECHO_T}no" >&6; }
45980 fi
45981
45982
45983 fi
45984 if test -z "$ac_cv_prog_AR"; then
45985 ac_ct_AR=$AR
45986 # Extract the first word of "ar", so it can be a program name with args.
45987 set dummy ar; ac_word=$2
45988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45990 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45991 echo $ECHO_N "(cached) $ECHO_C" >&6
45992 else
45993 if test -n "$ac_ct_AR"; then
45994 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45995 else
45996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45997 for as_dir in $PATH
45998 do
45999 IFS=$as_save_IFS
46000 test -z "$as_dir" && as_dir=.
46001 for ac_exec_ext in '' $ac_executable_extensions; do
46002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46003 ac_cv_prog_ac_ct_AR="ar"
46004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46005 break 2
46006 fi
46007 done
46008 done
46009 IFS=$as_save_IFS
46010
46011 fi
46012 fi
46013 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46014 if test -n "$ac_ct_AR"; then
46015 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46016 echo "${ECHO_T}$ac_ct_AR" >&6; }
46017 else
46018 { echo "$as_me:$LINENO: result: no" >&5
46019 echo "${ECHO_T}no" >&6; }
46020 fi
46021
46022 if test "x$ac_ct_AR" = x; then
46023 AR="ar"
46024 else
46025 case $cross_compiling:$ac_tool_warned in
46026 yes:)
46027 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46028 whose name does not start with the host triplet. If you think this
46029 configuration is useful to you, please write to autoconf@gnu.org." >&5
46030 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46031 whose name does not start with the host triplet. If you think this
46032 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46033 ac_tool_warned=yes ;;
46034 esac
46035 AR=$ac_ct_AR
46036 fi
46037 else
46038 AR="$ac_cv_prog_AR"
46039 fi
46040
46041 AROPTIONS=rcu
46042 fi
46043
46044
46045 if test -n "$ac_tool_prefix"; then
46046 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46047 set dummy ${ac_tool_prefix}strip; ac_word=$2
46048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46050 if test "${ac_cv_prog_STRIP+set}" = set; then
46051 echo $ECHO_N "(cached) $ECHO_C" >&6
46052 else
46053 if test -n "$STRIP"; then
46054 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46055 else
46056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46057 for as_dir in $PATH
46058 do
46059 IFS=$as_save_IFS
46060 test -z "$as_dir" && as_dir=.
46061 for ac_exec_ext in '' $ac_executable_extensions; do
46062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46063 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46065 break 2
46066 fi
46067 done
46068 done
46069 IFS=$as_save_IFS
46070
46071 fi
46072 fi
46073 STRIP=$ac_cv_prog_STRIP
46074 if test -n "$STRIP"; then
46075 { echo "$as_me:$LINENO: result: $STRIP" >&5
46076 echo "${ECHO_T}$STRIP" >&6; }
46077 else
46078 { echo "$as_me:$LINENO: result: no" >&5
46079 echo "${ECHO_T}no" >&6; }
46080 fi
46081
46082
46083 fi
46084 if test -z "$ac_cv_prog_STRIP"; then
46085 ac_ct_STRIP=$STRIP
46086 # Extract the first word of "strip", so it can be a program name with args.
46087 set dummy strip; ac_word=$2
46088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46090 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46091 echo $ECHO_N "(cached) $ECHO_C" >&6
46092 else
46093 if test -n "$ac_ct_STRIP"; then
46094 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46095 else
46096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46097 for as_dir in $PATH
46098 do
46099 IFS=$as_save_IFS
46100 test -z "$as_dir" && as_dir=.
46101 for ac_exec_ext in '' $ac_executable_extensions; do
46102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46103 ac_cv_prog_ac_ct_STRIP="strip"
46104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46105 break 2
46106 fi
46107 done
46108 done
46109 IFS=$as_save_IFS
46110
46111 fi
46112 fi
46113 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46114 if test -n "$ac_ct_STRIP"; then
46115 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46116 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46117 else
46118 { echo "$as_me:$LINENO: result: no" >&5
46119 echo "${ECHO_T}no" >&6; }
46120 fi
46121
46122 if test "x$ac_ct_STRIP" = x; then
46123 STRIP=":"
46124 else
46125 case $cross_compiling:$ac_tool_warned in
46126 yes:)
46127 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46128 whose name does not start with the host triplet. If you think this
46129 configuration is useful to you, please write to autoconf@gnu.org." >&5
46130 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46131 whose name does not start with the host triplet. If you think this
46132 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46133 ac_tool_warned=yes ;;
46134 esac
46135 STRIP=$ac_ct_STRIP
46136 fi
46137 else
46138 STRIP="$ac_cv_prog_STRIP"
46139 fi
46140
46141 if test -n "$ac_tool_prefix"; then
46142 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46143 set dummy ${ac_tool_prefix}nm; ac_word=$2
46144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46146 if test "${ac_cv_prog_NM+set}" = set; then
46147 echo $ECHO_N "(cached) $ECHO_C" >&6
46148 else
46149 if test -n "$NM"; then
46150 ac_cv_prog_NM="$NM" # Let the user override the test.
46151 else
46152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46153 for as_dir in $PATH
46154 do
46155 IFS=$as_save_IFS
46156 test -z "$as_dir" && as_dir=.
46157 for ac_exec_ext in '' $ac_executable_extensions; do
46158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46159 ac_cv_prog_NM="${ac_tool_prefix}nm"
46160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46161 break 2
46162 fi
46163 done
46164 done
46165 IFS=$as_save_IFS
46166
46167 fi
46168 fi
46169 NM=$ac_cv_prog_NM
46170 if test -n "$NM"; then
46171 { echo "$as_me:$LINENO: result: $NM" >&5
46172 echo "${ECHO_T}$NM" >&6; }
46173 else
46174 { echo "$as_me:$LINENO: result: no" >&5
46175 echo "${ECHO_T}no" >&6; }
46176 fi
46177
46178
46179 fi
46180 if test -z "$ac_cv_prog_NM"; then
46181 ac_ct_NM=$NM
46182 # Extract the first word of "nm", so it can be a program name with args.
46183 set dummy nm; ac_word=$2
46184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46186 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46187 echo $ECHO_N "(cached) $ECHO_C" >&6
46188 else
46189 if test -n "$ac_ct_NM"; then
46190 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46191 else
46192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46193 for as_dir in $PATH
46194 do
46195 IFS=$as_save_IFS
46196 test -z "$as_dir" && as_dir=.
46197 for ac_exec_ext in '' $ac_executable_extensions; do
46198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46199 ac_cv_prog_ac_ct_NM="nm"
46200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46201 break 2
46202 fi
46203 done
46204 done
46205 IFS=$as_save_IFS
46206
46207 fi
46208 fi
46209 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46210 if test -n "$ac_ct_NM"; then
46211 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46212 echo "${ECHO_T}$ac_ct_NM" >&6; }
46213 else
46214 { echo "$as_me:$LINENO: result: no" >&5
46215 echo "${ECHO_T}no" >&6; }
46216 fi
46217
46218 if test "x$ac_ct_NM" = x; then
46219 NM=":"
46220 else
46221 case $cross_compiling:$ac_tool_warned in
46222 yes:)
46223 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46224 whose name does not start with the host triplet. If you think this
46225 configuration is useful to you, please write to autoconf@gnu.org." >&5
46226 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46227 whose name does not start with the host triplet. If you think this
46228 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46229 ac_tool_warned=yes ;;
46230 esac
46231 NM=$ac_ct_NM
46232 fi
46233 else
46234 NM="$ac_cv_prog_NM"
46235 fi
46236
46237
46238 case ${BAKEFILE_HOST} in
46239 *-hp-hpux* )
46240 INSTALL_DIR="mkdir -p"
46241 ;;
46242 * )
46243 INSTALL_DIR='$(INSTALL) -d'
46244 ;;
46245 esac
46246
46247
46248 LDFLAGS_GUI=
46249 case ${BAKEFILE_HOST} in
46250 *-*-cygwin* | *-*-mingw32* )
46251 LDFLAGS_GUI="-mwindows"
46252 esac
46253
46254
46255 fi
46256
46257 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46258 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46259 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46260 echo $ECHO_N "(cached) $ECHO_C" >&6
46261 else
46262
46263 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46264 egrep -s GNU > /dev/null); then
46265 bakefile_cv_prog_makeisgnu="yes"
46266 else
46267 bakefile_cv_prog_makeisgnu="no"
46268 fi
46269
46270 fi
46271 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46272 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46273
46274 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46275 IF_GNU_MAKE=""
46276 else
46277 IF_GNU_MAKE="#"
46278 fi
46279
46280
46281
46282 PLATFORM_UNIX=0
46283 PLATFORM_WIN32=0
46284 PLATFORM_MSDOS=0
46285 PLATFORM_MAC=0
46286 PLATFORM_MACOS=0
46287 PLATFORM_MACOSX=0
46288 PLATFORM_OS2=0
46289 PLATFORM_BEOS=0
46290
46291 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46292 case "${BAKEFILE_HOST}" in
46293 *-*-mingw32* )
46294 PLATFORM_WIN32=1
46295 ;;
46296 *-pc-msdosdjgpp )
46297 PLATFORM_MSDOS=1
46298 ;;
46299 *-pc-os2_emx | *-pc-os2-emx )
46300 PLATFORM_OS2=1
46301 ;;
46302 *-*-darwin* )
46303 PLATFORM_MAC=1
46304 PLATFORM_MACOSX=1
46305 ;;
46306 *-*-beos* )
46307 PLATFORM_BEOS=1
46308 ;;
46309 powerpc-apple-macos* )
46310 PLATFORM_MAC=1
46311 PLATFORM_MACOS=1
46312 ;;
46313 * )
46314 PLATFORM_UNIX=1
46315 ;;
46316 esac
46317 else
46318 case "$BAKEFILE_FORCE_PLATFORM" in
46319 win32 )
46320 PLATFORM_WIN32=1
46321 ;;
46322 msdos )
46323 PLATFORM_MSDOS=1
46324 ;;
46325 os2 )
46326 PLATFORM_OS2=1
46327 ;;
46328 darwin )
46329 PLATFORM_MAC=1
46330 PLATFORM_MACOSX=1
46331 ;;
46332 unix )
46333 PLATFORM_UNIX=1
46334 ;;
46335 beos )
46336 PLATFORM_BEOS=1
46337 ;;
46338 * )
46339 ;;
46340 esac
46341 fi
46342
46343
46344
46345
46346
46347
46348
46349
46350
46351
46352
46353 # Check whether --enable-omf was given.
46354 if test "${enable_omf+set}" = set; then
46355 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46356 fi
46357
46358
46359 case "${BAKEFILE_HOST}" in
46360 *-*-darwin* )
46361 if test "x$GCC" = "xyes"; then
46362 CFLAGS="$CFLAGS -fno-common"
46363 CXXFLAGS="$CXXFLAGS -fno-common"
46364 fi
46365 if test "x$XLCC" = "xyes"; then
46366 CFLAGS="$CFLAGS -qnocommon"
46367 CXXFLAGS="$CXXFLAGS -qnocommon"
46368 fi
46369 ;;
46370
46371 *-pc-os2_emx | *-pc-os2-emx )
46372 if test "x$bk_os2_use_omf" = "xyes" ; then
46373 AR=emxomfar
46374 RANLIB=:
46375 LDFLAGS="-Zomf $LDFLAGS"
46376 CFLAGS="-Zomf $CFLAGS"
46377 CXXFLAGS="-Zomf $CXXFLAGS"
46378 OS2_LIBEXT="lib"
46379 else
46380 OS2_LIBEXT="a"
46381 fi
46382 ;;
46383
46384 i*86-*-beos* )
46385 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46386 ;;
46387 esac
46388
46389
46390 SO_SUFFIX="so"
46391 SO_SUFFIX_MODULE="so"
46392 EXEEXT=""
46393 LIBPREFIX="lib"
46394 LIBEXT=".a"
46395 DLLPREFIX="lib"
46396 DLLPREFIX_MODULE=""
46397 DLLIMP_SUFFIX=""
46398 dlldir="$libdir"
46399
46400 case "${BAKEFILE_HOST}" in
46401 *-hp-hpux* )
46402 SO_SUFFIX="sl"
46403 SO_SUFFIX_MODULE="sl"
46404 ;;
46405 *-*-aix* )
46406 SO_SUFFIX="a"
46407 SO_SUFFIX_MODULE="a"
46408 ;;
46409 *-*-cygwin* )
46410 SO_SUFFIX="dll"
46411 SO_SUFFIX_MODULE="dll"
46412 DLLIMP_SUFFIX="dll.a"
46413 EXEEXT=".exe"
46414 DLLPREFIX="cyg"
46415 dlldir="$bindir"
46416 ;;
46417 *-*-mingw32* )
46418 SO_SUFFIX="dll"
46419 SO_SUFFIX_MODULE="dll"
46420 DLLIMP_SUFFIX="dll.a"
46421 EXEEXT=".exe"
46422 DLLPREFIX=""
46423 dlldir="$bindir"
46424 ;;
46425 *-pc-msdosdjgpp )
46426 EXEEXT=".exe"
46427 DLLPREFIX=""
46428 dlldir="$bindir"
46429 ;;
46430 *-pc-os2_emx | *-pc-os2-emx )
46431 SO_SUFFIX="dll"
46432 SO_SUFFIX_MODULE="dll"
46433 DLLIMP_SUFFIX=$OS2_LIBEXT
46434 EXEEXT=".exe"
46435 DLLPREFIX=""
46436 LIBPREFIX=""
46437 LIBEXT=".$OS2_LIBEXT"
46438 dlldir="$bindir"
46439 ;;
46440 *-*-darwin* )
46441 SO_SUFFIX="dylib"
46442 SO_SUFFIX_MODULE="bundle"
46443 ;;
46444 esac
46445
46446 if test "x$DLLIMP_SUFFIX" = "x" ; then
46447 DLLIMP_SUFFIX="$SO_SUFFIX"
46448 fi
46449
46450
46451
46452
46453
46454
46455
46456
46457
46458
46459
46460
46461 PIC_FLAG=""
46462 if test "x$GCC" = "xyes"; then
46463 PIC_FLAG="-fPIC"
46464 fi
46465
46466 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46467 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46468 WINDOWS_IMPLIB=0
46469
46470 case "${BAKEFILE_HOST}" in
46471 *-hp-hpux* )
46472 if test "x$GCC" != "xyes"; then
46473 LDFLAGS="$LDFLAGS -L/usr/lib"
46474
46475 SHARED_LD_CC="${CC} -b -o"
46476 SHARED_LD_CXX="${CXX} -b -o"
46477 PIC_FLAG="+Z"
46478 fi
46479 ;;
46480
46481 *-*-linux* )
46482 if test "x$GCC" != "xyes"; then
46483 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46484 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46485 if test "${bakefile_cv_prog_icc+set}" = set; then
46486 echo $ECHO_N "(cached) $ECHO_C" >&6
46487 else
46488
46489 cat >conftest.$ac_ext <<_ACEOF
46490 /* confdefs.h. */
46491 _ACEOF
46492 cat confdefs.h >>conftest.$ac_ext
46493 cat >>conftest.$ac_ext <<_ACEOF
46494 /* end confdefs.h. */
46495
46496 int
46497 main ()
46498 {
46499
46500 #ifndef __INTEL_COMPILER
46501 This is not ICC
46502 #endif
46503
46504 ;
46505 return 0;
46506 }
46507 _ACEOF
46508 rm -f conftest.$ac_objext
46509 if { (ac_try="$ac_compile"
46510 case "(($ac_try" in
46511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46512 *) ac_try_echo=$ac_try;;
46513 esac
46514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46515 (eval "$ac_compile") 2>conftest.er1
46516 ac_status=$?
46517 grep -v '^ *+' conftest.er1 >conftest.err
46518 rm -f conftest.er1
46519 cat conftest.err >&5
46520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46521 (exit $ac_status); } && {
46522 test -z "$ac_c_werror_flag" ||
46523 test ! -s conftest.err
46524 } && test -s conftest.$ac_objext; then
46525 bakefile_cv_prog_icc=yes
46526 else
46527 echo "$as_me: failed program was:" >&5
46528 sed 's/^/| /' conftest.$ac_ext >&5
46529
46530 bakefile_cv_prog_icc=no
46531
46532 fi
46533
46534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46535
46536 fi
46537 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46538 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46539 if test "$bakefile_cv_prog_icc" = "yes"; then
46540 PIC_FLAG="-KPIC"
46541 fi
46542 fi
46543 ;;
46544
46545 *-*-solaris2* )
46546 if test "x$GCC" != xyes ; then
46547 SHARED_LD_CC="${CC} -G -o"
46548 SHARED_LD_CXX="${CXX} -G -o"
46549 PIC_FLAG="-KPIC"
46550 fi
46551 ;;
46552
46553 *-*-darwin* )
46554
46555 D='$'
46556 cat <<EOF >shared-ld-sh
46557 #!/bin/sh
46558 #-----------------------------------------------------------------------------
46559 #-- Name: distrib/mac/shared-ld-sh
46560 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46561 #-- Author: Gilles Depeyrot
46562 #-- Copyright: (c) 2002 Gilles Depeyrot
46563 #-- Licence: any use permitted
46564 #-----------------------------------------------------------------------------
46565
46566 verbose=0
46567 args=""
46568 objects=""
46569 linking_flag="-dynamiclib"
46570 ldargs="-r -keep_private_externs -nostdlib"
46571
46572 while test ${D}# -gt 0; do
46573 case ${D}1 in
46574
46575 -v)
46576 verbose=1
46577 ;;
46578
46579 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46580 # collect these options and values
46581 args="${D}{args} ${D}1 ${D}2"
46582 shift
46583 ;;
46584
46585 -s|-Wl,*)
46586 # collect these load args
46587 ldargs="${D}{ldargs} ${D}1"
46588 ;;
46589
46590 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46591 # collect these options
46592 args="${D}{args} ${D}1"
46593 ;;
46594
46595 -dynamiclib|-bundle)
46596 linking_flag="${D}1"
46597 ;;
46598
46599 -*)
46600 echo "shared-ld: unhandled option '${D}1'"
46601 exit 1
46602 ;;
46603
46604 *.o | *.a | *.dylib)
46605 # collect object files
46606 objects="${D}{objects} ${D}1"
46607 ;;
46608
46609 *)
46610 echo "shared-ld: unhandled argument '${D}1'"
46611 exit 1
46612 ;;
46613
46614 esac
46615 shift
46616 done
46617
46618 status=0
46619
46620 #
46621 # Link one module containing all the others
46622 #
46623 if test ${D}{verbose} = 1; then
46624 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46625 fi
46626 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46627 status=${D}?
46628
46629 #
46630 # Link the shared library from the single module created, but only if the
46631 # previous command didn't fail:
46632 #
46633 if test ${D}{status} = 0; then
46634 if test ${D}{verbose} = 1; then
46635 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46636 fi
46637 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46638 status=${D}?
46639 fi
46640
46641 #
46642 # Remove intermediate module
46643 #
46644 rm -f master.${D}${D}.o
46645
46646 exit ${D}status
46647 EOF
46648
46649 chmod +x shared-ld-sh
46650
46651 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46652 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46653
46654
46655 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46656 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46657 if test "${bakefile_cv_gcc31+set}" = set; then
46658 echo $ECHO_N "(cached) $ECHO_C" >&6
46659 else
46660
46661 cat >conftest.$ac_ext <<_ACEOF
46662 /* confdefs.h. */
46663 _ACEOF
46664 cat confdefs.h >>conftest.$ac_ext
46665 cat >>conftest.$ac_ext <<_ACEOF
46666 /* end confdefs.h. */
46667
46668 int
46669 main ()
46670 {
46671
46672 #if (__GNUC__ < 3) || \
46673 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46674 This is old gcc
46675 #endif
46676
46677 ;
46678 return 0;
46679 }
46680 _ACEOF
46681 rm -f conftest.$ac_objext
46682 if { (ac_try="$ac_compile"
46683 case "(($ac_try" in
46684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46685 *) ac_try_echo=$ac_try;;
46686 esac
46687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46688 (eval "$ac_compile") 2>conftest.er1
46689 ac_status=$?
46690 grep -v '^ *+' conftest.er1 >conftest.err
46691 rm -f conftest.er1
46692 cat conftest.err >&5
46693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694 (exit $ac_status); } && {
46695 test -z "$ac_c_werror_flag" ||
46696 test ! -s conftest.err
46697 } && test -s conftest.$ac_objext; then
46698
46699 bakefile_cv_gcc31=yes
46700
46701 else
46702 echo "$as_me: failed program was:" >&5
46703 sed 's/^/| /' conftest.$ac_ext >&5
46704
46705
46706 bakefile_cv_gcc31=no
46707
46708
46709 fi
46710
46711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46712
46713 fi
46714 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46715 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46716 if test "$bakefile_cv_gcc31" = "no"; then
46717 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46718 SHARED_LD_CXX="$SHARED_LD_CC"
46719 else
46720 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46721 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46722 fi
46723
46724 if test "x$GCC" == "xyes"; then
46725 PIC_FLAG="-dynamic -fPIC"
46726 fi
46727 if test "x$XLCC" = "xyes"; then
46728 PIC_FLAG="-dynamic -DPIC"
46729 fi
46730 ;;
46731
46732 *-*-aix* )
46733 if test "x$GCC" = "xyes"; then
46734 PIC_FLAG=""
46735
46736 case "${BAKEFILE_HOST}" in
46737 *-*-aix5* )
46738 LD_EXPFULL="-Wl,-bexpfull"
46739 ;;
46740 esac
46741
46742 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46743 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46744 else
46745 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46746 set dummy makeC++SharedLib; ac_word=$2
46747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46749 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46750 echo $ECHO_N "(cached) $ECHO_C" >&6
46751 else
46752 if test -n "$AIX_CXX_LD"; then
46753 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46754 else
46755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46756 for as_dir in $PATH
46757 do
46758 IFS=$as_save_IFS
46759 test -z "$as_dir" && as_dir=.
46760 for ac_exec_ext in '' $ac_executable_extensions; do
46761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46762 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46764 break 2
46765 fi
46766 done
46767 done
46768 IFS=$as_save_IFS
46769
46770 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46771 fi
46772 fi
46773 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46774 if test -n "$AIX_CXX_LD"; then
46775 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46776 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46777 else
46778 { echo "$as_me:$LINENO: result: no" >&5
46779 echo "${ECHO_T}no" >&6; }
46780 fi
46781
46782
46783 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46784 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46785 fi
46786 ;;
46787
46788 *-*-beos* )
46789 SHARED_LD_CC="${LD} -nostart -o"
46790 SHARED_LD_CXX="${LD} -nostart -o"
46791 ;;
46792
46793 *-*-irix* )
46794 if test "x$GCC" != "xyes"; then
46795 PIC_FLAG="-KPIC"
46796 fi
46797 ;;
46798
46799 *-*-cygwin* | *-*-mingw32* )
46800 PIC_FLAG=""
46801 SHARED_LD_CC="\$(CC) -shared -o"
46802 SHARED_LD_CXX="\$(CXX) -shared -o"
46803 WINDOWS_IMPLIB=1
46804 ;;
46805
46806 *-pc-os2_emx | *-pc-os2-emx )
46807 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46808 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46809 PIC_FLAG=""
46810
46811 D='$'
46812 cat <<EOF >dllar.sh
46813 #!/bin/sh
46814 #
46815 # dllar - a tool to build both a .dll and an .a file
46816 # from a set of object (.o) files for EMX/OS2.
46817 #
46818 # Written by Andrew Zabolotny, bit@freya.etu.ru
46819 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46820 #
46821 # This script will accept a set of files on the command line.
46822 # All the public symbols from the .o files will be exported into
46823 # a .DEF file, then linker will be run (through gcc) against them to
46824 # build a shared library consisting of all given .o files. All libraries
46825 # (.a) will be first decompressed into component .o files then act as
46826 # described above. You can optionally give a description (-d "description")
46827 # which will be put into .DLL. To see the list of accepted options (as well
46828 # as command-line format) simply run this program without options. The .DLL
46829 # is built to be imported by name (there is no guarantee that new versions
46830 # of the library you build will have same ordinals for same symbols).
46831 #
46832 # dllar is free software; you can redistribute it and/or modify
46833 # it under the terms of the GNU General Public License as published by
46834 # the Free Software Foundation; either version 2, or (at your option)
46835 # any later version.
46836 #
46837 # dllar is distributed in the hope that it will be useful,
46838 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46839 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46840 # GNU General Public License for more details.
46841 #
46842 # You should have received a copy of the GNU General Public License
46843 # along with dllar; see the file COPYING. If not, write to the Free
46844 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46845 # 02111-1307, USA.
46846
46847 # To successfuly run this program you will need:
46848 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46849 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46850 # - gcc
46851 # (used to build the .dll)
46852 # - emxexp
46853 # (used to create .def file from .o files)
46854 # - emximp
46855 # (used to create .a file from .def file)
46856 # - GNU text utilites (cat, sort, uniq)
46857 # used to process emxexp output
46858 # - GNU file utilities (mv, rm)
46859 # - GNU sed
46860 # - lxlite (optional, see flag below)
46861 # (used for general .dll cleanup)
46862 #
46863
46864 flag_USE_LXLITE=1;
46865
46866 #
46867 # helper functions
46868 # basnam, variant of basename, which does _not_ remove the path, _iff_
46869 # second argument (suffix to remove) is given
46870 basnam(){
46871 case ${D}# in
46872 1)
46873 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46874 ;;
46875 2)
46876 echo ${D}1 | sed 's/'${D}2'${D}//'
46877 ;;
46878 *)
46879 echo "error in basnam ${D}*"
46880 exit 8
46881 ;;
46882 esac
46883 }
46884
46885 # Cleanup temporary files and output
46886 CleanUp() {
46887 cd ${D}curDir
46888 for i in ${D}inputFiles ; do
46889 case ${D}i in
46890 *!)
46891 rm -rf \`basnam ${D}i !\`
46892 ;;
46893 *)
46894 ;;
46895 esac
46896 done
46897
46898 # Kill result in case of failure as there is just to many stupid make/nmake
46899 # things out there which doesn't do this.
46900 if [ ${D}# -eq 0 ]; then
46901 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46902 fi
46903 }
46904
46905 # Print usage and exit script with rc=1.
46906 PrintHelp() {
46907 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46908 echo ' [-name-mangler-script script.sh]'
46909 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46910 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46911 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46912 echo ' [*.o] [*.a]'
46913 echo '*> "output_file" should have no extension.'
46914 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46915 echo ' The import library name is derived from this and is set to "name".a,'
46916 echo ' unless overridden by -import'
46917 echo '*> "importlib_name" should have no extension.'
46918 echo ' If it has the .o, or .a extension, it is automatically removed.'
46919 echo ' This name is used as the import library name and may be longer and'
46920 echo ' more descriptive than the DLL name which has to follow the old '
46921 echo ' 8.3 convention of FAT.'
46922 echo '*> "script.sh may be given to override the output_file name by a'
46923 echo ' different name. It is mainly useful if the regular make process'
46924 echo ' of some package does not take into account OS/2 restriction of'
46925 echo ' DLL name lengths. It takes the importlib name as input and is'
46926 echo ' supposed to procude a shorter name as output. The script should'
46927 echo ' expect to get importlib_name without extension and should produce'
46928 echo ' a (max.) 8 letter name without extension.'
46929 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46930 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46931 echo ' These flags will be put at the start of GCC command line.'
46932 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46933 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46934 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46935 echo ' If the last character of a symbol is "*", all symbols beginning'
46936 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46937 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46938 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46939 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46940 echo ' C runtime DLLs.'
46941 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46942 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46943 echo ' unchanged to GCC at the end of command line.'
46944 echo '*> If you create a DLL from a library and you do not specify -o,'
46945 echo ' the basename for DLL and import library will be set to library name,'
46946 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46947 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46948 echo ' library will be renamed into gcc_s.a.'
46949 echo '--------'
46950 echo 'Example:'
46951 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46952 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46953 CleanUp
46954 exit 1
46955 }
46956
46957 # Execute a command.
46958 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46959 # @Uses Whatever CleanUp() uses.
46960 doCommand() {
46961 echo "${D}*"
46962 eval ${D}*
46963 rcCmd=${D}?
46964
46965 if [ ${D}rcCmd -ne 0 ]; then
46966 echo "command failed, exit code="${D}rcCmd
46967 CleanUp
46968 exit ${D}rcCmd
46969 fi
46970 }
46971
46972 # main routine
46973 # setup globals
46974 cmdLine=${D}*
46975 outFile=""
46976 outimpFile=""
46977 inputFiles=""
46978 renameScript=""
46979 description=""
46980 CC=gcc.exe
46981 CFLAGS="-s -Zcrtdll"
46982 EXTRA_CFLAGS=""
46983 EXPORT_BY_ORDINALS=0
46984 exclude_symbols=""
46985 library_flags=""
46986 curDir=\`pwd\`
46987 curDirS=curDir
46988 case ${D}curDirS in
46989 */)
46990 ;;
46991 *)
46992 curDirS=${D}{curDirS}"/"
46993 ;;
46994 esac
46995 # Parse commandline
46996 libsToLink=0
46997 omfLinking=0
46998 while [ ${D}1 ]; do
46999 case ${D}1 in
47000 -ord*)
47001 EXPORT_BY_ORDINALS=1;
47002 ;;
47003 -o*)
47004 shift
47005 outFile=${D}1
47006 ;;
47007 -i*)
47008 shift
47009 outimpFile=${D}1
47010 ;;
47011 -name-mangler-script)
47012 shift
47013 renameScript=${D}1
47014 ;;
47015 -d*)
47016 shift
47017 description=${D}1
47018 ;;
47019 -f*)
47020 shift
47021 CFLAGS=${D}1
47022 ;;
47023 -c*)
47024 shift
47025 CC=${D}1
47026 ;;
47027 -h*)
47028 PrintHelp
47029 ;;
47030 -ex*)
47031 shift
47032 exclude_symbols=${D}{exclude_symbols}${D}1" "
47033 ;;
47034 -libf*)
47035 shift
47036 library_flags=${D}{library_flags}${D}1" "
47037 ;;
47038 -nocrt*)
47039 CFLAGS="-s"
47040 ;;
47041 -nolxl*)
47042 flag_USE_LXLITE=0
47043 ;;
47044 -* | /*)
47045 case ${D}1 in
47046 -L* | -l*)
47047 libsToLink=1
47048 ;;
47049 -Zomf)
47050 omfLinking=1
47051 ;;
47052 *)
47053 ;;
47054 esac
47055 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47056 ;;
47057 *.dll)
47058 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47059 if [ ${D}omfLinking -eq 1 ]; then
47060 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47061 else
47062 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47063 fi
47064 ;;
47065 *)
47066 found=0;
47067 if [ ${D}libsToLink -ne 0 ]; then
47068 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47069 else
47070 for file in ${D}1 ; do
47071 if [ -f ${D}file ]; then
47072 inputFiles="${D}{inputFiles} ${D}file"
47073 found=1
47074 fi
47075 done
47076 if [ ${D}found -eq 0 ]; then
47077 echo "ERROR: No file(s) found: "${D}1
47078 exit 8
47079 fi
47080 fi
47081 ;;
47082 esac
47083 shift
47084 done # iterate cmdline words
47085
47086 #
47087 if [ -z "${D}inputFiles" ]; then
47088 echo "dllar: no input files"
47089 PrintHelp
47090 fi
47091
47092 # Now extract all .o files from .a files
47093 newInputFiles=""
47094 for file in ${D}inputFiles ; do
47095 case ${D}file in
47096 *.a | *.lib)
47097 case ${D}file in
47098 *.a)
47099 suffix=".a"
47100 AR="ar"
47101 ;;
47102 *.lib)
47103 suffix=".lib"
47104 AR="emxomfar"
47105 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47106 ;;
47107 *)
47108 ;;
47109 esac
47110 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47111 mkdir ${D}dirname
47112 if [ ${D}? -ne 0 ]; then
47113 echo "Failed to create subdirectory ./${D}dirname"
47114 CleanUp
47115 exit 8;
47116 fi
47117 # Append '!' to indicate archive
47118 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47119 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47120 cd ${D}curDir
47121 found=0;
47122 for subfile in ${D}dirname/*.o* ; do
47123 if [ -f ${D}subfile ]; then
47124 found=1
47125 if [ -s ${D}subfile ]; then
47126 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47127 newInputFiles="${D}newInputFiles ${D}subfile"
47128 fi
47129 fi
47130 done
47131 if [ ${D}found -eq 0 ]; then
47132 echo "WARNING: there are no files in archive \\'${D}file\\'"
47133 fi
47134 ;;
47135 *)
47136 newInputFiles="${D}{newInputFiles} ${D}file"
47137 ;;
47138 esac
47139 done
47140 inputFiles="${D}newInputFiles"
47141
47142 # Output filename(s).
47143 do_backup=0;
47144 if [ -z ${D}outFile ]; then
47145 do_backup=1;
47146 set outFile ${D}inputFiles; outFile=${D}2
47147 fi
47148
47149 # If it is an archive, remove the '!' and the '_%' suffixes
47150 case ${D}outFile in
47151 *_%!)
47152 outFile=\`basnam ${D}outFile _%!\`
47153 ;;
47154 *)
47155 ;;
47156 esac
47157 case ${D}outFile in
47158 *.dll)
47159 outFile=\`basnam ${D}outFile .dll\`
47160 ;;
47161 *.DLL)
47162 outFile=\`basnam ${D}outFile .DLL\`
47163 ;;
47164 *.o)
47165 outFile=\`basnam ${D}outFile .o\`
47166 ;;
47167 *.obj)
47168 outFile=\`basnam ${D}outFile .obj\`
47169 ;;
47170 *.a)
47171 outFile=\`basnam ${D}outFile .a\`
47172 ;;
47173 *.lib)
47174 outFile=\`basnam ${D}outFile .lib\`
47175 ;;
47176 *)
47177 ;;
47178 esac
47179 case ${D}outimpFile in
47180 *.a)
47181 outimpFile=\`basnam ${D}outimpFile .a\`
47182 ;;
47183 *.lib)
47184 outimpFile=\`basnam ${D}outimpFile .lib\`
47185 ;;
47186 *)
47187 ;;
47188 esac
47189 if [ -z ${D}outimpFile ]; then
47190 outimpFile=${D}outFile
47191 fi
47192 defFile="${D}{outFile}.def"
47193 arcFile="${D}{outimpFile}.a"
47194 arcFile2="${D}{outimpFile}.lib"
47195
47196 #create ${D}dllFile as something matching 8.3 restrictions,
47197 if [ -z ${D}renameScript ] ; then
47198 dllFile="${D}outFile"
47199 else
47200 dllFile=\`${D}renameScript ${D}outimpFile\`
47201 fi
47202
47203 if [ ${D}do_backup -ne 0 ] ; then
47204 if [ -f ${D}arcFile ] ; then
47205 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47206 fi
47207 if [ -f ${D}arcFile2 ] ; then
47208 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47209 fi
47210 fi
47211
47212 # Extract public symbols from all the object files.
47213 tmpdefFile=${D}{defFile}_%
47214 rm -f ${D}tmpdefFile
47215 for file in ${D}inputFiles ; do
47216 case ${D}file in
47217 *!)
47218 ;;
47219 *)
47220 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47221 ;;
47222 esac
47223 done
47224
47225 # Create the def file.
47226 rm -f ${D}defFile
47227 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47228 dllFile="${D}{dllFile}.dll"
47229 if [ ! -z ${D}description ]; then
47230 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47231 fi
47232 echo "EXPORTS" >> ${D}defFile
47233
47234 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47235 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47236
47237 # Checks if the export is ok or not.
47238 for word in ${D}exclude_symbols; do
47239 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47240 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47241 done
47242
47243
47244 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47245 sed "=" < ${D}tmpdefFile | \\
47246 sed '
47247 N
47248 : loop
47249 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47250 t loop
47251 ' > ${D}{tmpdefFile}%
47252 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47253 else
47254 rm -f ${D}{tmpdefFile}%
47255 fi
47256 cat ${D}tmpdefFile >> ${D}defFile
47257 rm -f ${D}tmpdefFile
47258
47259 # Do linking, create implib, and apply lxlite.
47260 gccCmdl="";
47261 for file in ${D}inputFiles ; do
47262 case ${D}file in
47263 *!)
47264 ;;
47265 *)
47266 gccCmdl="${D}gccCmdl ${D}file"
47267 ;;
47268 esac
47269 done
47270 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47271 touch "${D}{outFile}.dll"
47272
47273 doCommand "emximp -o ${D}arcFile ${D}defFile"
47274 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47275 add_flags="";
47276 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47277 add_flags="-ynd"
47278 fi
47279 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47280 fi
47281 doCommand "emxomf -s -l ${D}arcFile"
47282
47283 # Successful exit.
47284 CleanUp 1
47285 exit 0
47286 EOF
47287
47288 chmod +x dllar.sh
47289 ;;
47290
47291 powerpc-apple-macos* | \
47292 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47293 *-*-mirbsd* | \
47294 *-*-sunos4* | \
47295 *-*-osf* | \
47296 *-*-dgux5* | \
47297 *-*-sysv5* | \
47298 *-pc-msdosdjgpp )
47299 ;;
47300
47301 *)
47302 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47303 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47304 { (exit 1); exit 1; }; }
47305 esac
47306
47307 if test "x$PIC_FLAG" != "x" ; then
47308 PIC_FLAG="$PIC_FLAG -DPIC"
47309 fi
47310
47311 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47312 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47313 fi
47314 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47315 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47316 fi
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326 USE_SOVERSION=0
47327 USE_SOVERLINUX=0
47328 USE_SOVERSOLARIS=0
47329 USE_SOVERCYGWIN=0
47330 USE_SOSYMLINKS=0
47331 USE_MACVERSION=0
47332 SONAME_FLAG=
47333
47334 case "${BAKEFILE_HOST}" in
47335 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47336 SONAME_FLAG="-Wl,-soname,"
47337 USE_SOVERSION=1
47338 USE_SOVERLINUX=1
47339 USE_SOSYMLINKS=1
47340 ;;
47341
47342 *-*-solaris2* )
47343 SONAME_FLAG="-h "
47344 USE_SOVERSION=1
47345 USE_SOVERSOLARIS=1
47346 USE_SOSYMLINKS=1
47347 ;;
47348
47349 *-*-darwin* )
47350 USE_MACVERSION=1
47351 USE_SOVERSION=1
47352 USE_SOSYMLINKS=1
47353 ;;
47354
47355 *-*-cygwin* )
47356 USE_SOVERSION=1
47357 USE_SOVERCYGWIN=1
47358 ;;
47359 esac
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370 # Check whether --enable-dependency-tracking was given.
47371 if test "${enable_dependency_tracking+set}" = set; then
47372 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47373 fi
47374
47375
47376 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47377 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47378
47379 BK_DEPS=""
47380 if test "x$bk_use_trackdeps" = "xno" ; then
47381 DEPS_TRACKING=0
47382 { echo "$as_me:$LINENO: result: disabled" >&5
47383 echo "${ECHO_T}disabled" >&6; }
47384 else
47385 DEPS_TRACKING=1
47386
47387 if test "x$GCC" = "xyes"; then
47388 DEPSMODE=gcc
47389 case "${BAKEFILE_HOST}" in
47390 *-*-darwin* )
47391 DEPSFLAG="-no-cpp-precomp -MMD"
47392 ;;
47393 * )
47394 DEPSFLAG="-MMD"
47395 ;;
47396 esac
47397 { echo "$as_me:$LINENO: result: gcc" >&5
47398 echo "${ECHO_T}gcc" >&6; }
47399 elif test "x$MWCC" = "xyes"; then
47400 DEPSMODE=mwcc
47401 DEPSFLAG="-MM"
47402 { echo "$as_me:$LINENO: result: mwcc" >&5
47403 echo "${ECHO_T}mwcc" >&6; }
47404 elif test "x$SUNCC" = "xyes"; then
47405 DEPSMODE=unixcc
47406 DEPSFLAG="-xM1"
47407 { echo "$as_me:$LINENO: result: Sun cc" >&5
47408 echo "${ECHO_T}Sun cc" >&6; }
47409 elif test "x$SGICC" = "xyes"; then
47410 DEPSMODE=unixcc
47411 DEPSFLAG="-M"
47412 { echo "$as_me:$LINENO: result: SGI cc" >&5
47413 echo "${ECHO_T}SGI cc" >&6; }
47414 elif test "x$HPCC" = "xyes"; then
47415 DEPSMODE=unixcc
47416 DEPSFLAG="+make"
47417 { echo "$as_me:$LINENO: result: HP cc" >&5
47418 echo "${ECHO_T}HP cc" >&6; }
47419 elif test "x$COMPAQCC" = "xyes"; then
47420 DEPSMODE=gcc
47421 DEPSFLAG="-MD"
47422 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47423 echo "${ECHO_T}Compaq cc" >&6; }
47424 else
47425 DEPS_TRACKING=0
47426 { echo "$as_me:$LINENO: result: none" >&5
47427 echo "${ECHO_T}none" >&6; }
47428 fi
47429
47430 if test $DEPS_TRACKING = 1 ; then
47431
47432 D='$'
47433 cat <<EOF >bk-deps
47434 #!/bin/sh
47435
47436 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47437 # script. It is used to track C/C++ files dependencies in portable way.
47438 #
47439 # Permission is given to use this file in any way.
47440
47441 DEPSMODE=${DEPSMODE}
47442 DEPSDIR=.deps
47443 DEPSFLAG="${DEPSFLAG}"
47444
47445 mkdir -p ${D}DEPSDIR
47446
47447 if test ${D}DEPSMODE = gcc ; then
47448 ${D}* ${D}{DEPSFLAG}
47449 status=${D}?
47450 if test ${D}{status} != 0 ; then
47451 exit ${D}{status}
47452 fi
47453 # move created file to the location we want it in:
47454 while test ${D}# -gt 0; do
47455 case "${D}1" in
47456 -o )
47457 shift
47458 objfile=${D}1
47459 ;;
47460 -* )
47461 ;;
47462 * )
47463 srcfile=${D}1
47464 ;;
47465 esac
47466 shift
47467 done
47468 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47469 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47470 if test -f ${D}depfile ; then
47471 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47472 rm -f ${D}depfile
47473 else
47474 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47475 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47476 if test ! -f ${D}depfile ; then
47477 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47478 depfile="${D}objfile.d"
47479 fi
47480 if test -f ${D}depfile ; then
47481 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47482 rm -f ${D}depfile
47483 fi
47484 fi
47485 exit 0
47486 elif test ${D}DEPSMODE = mwcc ; then
47487 ${D}* || exit ${D}?
47488 # Run mwcc again with -MM and redirect into the dep file we want
47489 # NOTE: We can't use shift here because we need ${D}* to be valid
47490 prevarg=
47491 for arg in ${D}* ; do
47492 if test "${D}prevarg" = "-o"; then
47493 objfile=${D}arg
47494 else
47495 case "${D}arg" in
47496 -* )
47497 ;;
47498 * )
47499 srcfile=${D}arg
47500 ;;
47501 esac
47502 fi
47503 prevarg="${D}arg"
47504 done
47505 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47506 exit 0
47507 elif test ${D}DEPSMODE = unixcc; then
47508 ${D}* || exit ${D}?
47509 # Run compiler again with deps flag and redirect into the dep file.
47510 # It doesn't work if the '-o FILE' option is used, but without it the
47511 # dependency file will contain the wrong name for the object. So it is
47512 # removed from the command line, and the dep file is fixed with sed.
47513 cmd=""
47514 while test ${D}# -gt 0; do
47515 case "${D}1" in
47516 -o )
47517 shift
47518 objfile=${D}1
47519 ;;
47520 * )
47521 eval arg${D}#=\\${D}1
47522 cmd="${D}cmd \\${D}arg${D}#"
47523 ;;
47524 esac
47525 shift
47526 done
47527 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47528 exit 0
47529 else
47530 ${D}*
47531 exit ${D}?
47532 fi
47533 EOF
47534
47535 chmod +x bk-deps
47536 BK_DEPS="`pwd`/bk-deps"
47537 fi
47538 fi
47539
47540
47541
47542
47543
47544 case ${BAKEFILE_HOST} in
47545 *-*-cygwin* | *-*-mingw32* )
47546 if test -n "$ac_tool_prefix"; then
47547 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47548 set dummy ${ac_tool_prefix}windres; ac_word=$2
47549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47551 if test "${ac_cv_prog_WINDRES+set}" = set; then
47552 echo $ECHO_N "(cached) $ECHO_C" >&6
47553 else
47554 if test -n "$WINDRES"; then
47555 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47556 else
47557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47558 for as_dir in $PATH
47559 do
47560 IFS=$as_save_IFS
47561 test -z "$as_dir" && as_dir=.
47562 for ac_exec_ext in '' $ac_executable_extensions; do
47563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47564 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47566 break 2
47567 fi
47568 done
47569 done
47570 IFS=$as_save_IFS
47571
47572 fi
47573 fi
47574 WINDRES=$ac_cv_prog_WINDRES
47575 if test -n "$WINDRES"; then
47576 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47577 echo "${ECHO_T}$WINDRES" >&6; }
47578 else
47579 { echo "$as_me:$LINENO: result: no" >&5
47580 echo "${ECHO_T}no" >&6; }
47581 fi
47582
47583
47584 fi
47585 if test -z "$ac_cv_prog_WINDRES"; then
47586 ac_ct_WINDRES=$WINDRES
47587 # Extract the first word of "windres", so it can be a program name with args.
47588 set dummy windres; ac_word=$2
47589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47591 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47592 echo $ECHO_N "(cached) $ECHO_C" >&6
47593 else
47594 if test -n "$ac_ct_WINDRES"; then
47595 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47596 else
47597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47598 for as_dir in $PATH
47599 do
47600 IFS=$as_save_IFS
47601 test -z "$as_dir" && as_dir=.
47602 for ac_exec_ext in '' $ac_executable_extensions; do
47603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47604 ac_cv_prog_ac_ct_WINDRES="windres"
47605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47606 break 2
47607 fi
47608 done
47609 done
47610 IFS=$as_save_IFS
47611
47612 fi
47613 fi
47614 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47615 if test -n "$ac_ct_WINDRES"; then
47616 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47617 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47618 else
47619 { echo "$as_me:$LINENO: result: no" >&5
47620 echo "${ECHO_T}no" >&6; }
47621 fi
47622
47623 if test "x$ac_ct_WINDRES" = x; then
47624 WINDRES=""
47625 else
47626 case $cross_compiling:$ac_tool_warned in
47627 yes:)
47628 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47629 whose name does not start with the host triplet. If you think this
47630 configuration is useful to you, please write to autoconf@gnu.org." >&5
47631 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47632 whose name does not start with the host triplet. If you think this
47633 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47634 ac_tool_warned=yes ;;
47635 esac
47636 WINDRES=$ac_ct_WINDRES
47637 fi
47638 else
47639 WINDRES="$ac_cv_prog_WINDRES"
47640 fi
47641
47642 ;;
47643
47644 *-*-darwin* | powerpc-apple-macos* )
47645 # Extract the first word of "Rez", so it can be a program name with args.
47646 set dummy Rez; ac_word=$2
47647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47649 if test "${ac_cv_prog_REZ+set}" = set; then
47650 echo $ECHO_N "(cached) $ECHO_C" >&6
47651 else
47652 if test -n "$REZ"; then
47653 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47654 else
47655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47656 for as_dir in $PATH
47657 do
47658 IFS=$as_save_IFS
47659 test -z "$as_dir" && as_dir=.
47660 for ac_exec_ext in '' $ac_executable_extensions; do
47661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47662 ac_cv_prog_REZ="Rez"
47663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47664 break 2
47665 fi
47666 done
47667 done
47668 IFS=$as_save_IFS
47669
47670 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47671 fi
47672 fi
47673 REZ=$ac_cv_prog_REZ
47674 if test -n "$REZ"; then
47675 { echo "$as_me:$LINENO: result: $REZ" >&5
47676 echo "${ECHO_T}$REZ" >&6; }
47677 else
47678 { echo "$as_me:$LINENO: result: no" >&5
47679 echo "${ECHO_T}no" >&6; }
47680 fi
47681
47682
47683 # Extract the first word of "SetFile", so it can be a program name with args.
47684 set dummy SetFile; ac_word=$2
47685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47687 if test "${ac_cv_prog_SETFILE+set}" = set; then
47688 echo $ECHO_N "(cached) $ECHO_C" >&6
47689 else
47690 if test -n "$SETFILE"; then
47691 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47692 else
47693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47694 for as_dir in $PATH
47695 do
47696 IFS=$as_save_IFS
47697 test -z "$as_dir" && as_dir=.
47698 for ac_exec_ext in '' $ac_executable_extensions; do
47699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47700 ac_cv_prog_SETFILE="SetFile"
47701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47702 break 2
47703 fi
47704 done
47705 done
47706 IFS=$as_save_IFS
47707
47708 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47709 fi
47710 fi
47711 SETFILE=$ac_cv_prog_SETFILE
47712 if test -n "$SETFILE"; then
47713 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47714 echo "${ECHO_T}$SETFILE" >&6; }
47715 else
47716 { echo "$as_me:$LINENO: result: no" >&5
47717 echo "${ECHO_T}no" >&6; }
47718 fi
47719
47720
47721 ;;
47722 esac
47723
47724
47725
47726
47727
47728
47729 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47730
47731
47732 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47733
47734
47735
47736 # Check whether --enable-precomp-headers was given.
47737 if test "${enable_precomp_headers+set}" = set; then
47738 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47739 fi
47740
47741
47742 GCC_PCH=0
47743 ICC_PCH=0
47744 USE_PCH=0
47745 BK_MAKE_PCH=""
47746
47747 case ${BAKEFILE_HOST} in
47748 *-*-cygwin* )
47749 bk_use_pch="no"
47750 ;;
47751 esac
47752
47753 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47754 if test "x$GCC" = "xyes"; then
47755 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47756 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47757 cat >conftest.$ac_ext <<_ACEOF
47758 /* confdefs.h. */
47759 _ACEOF
47760 cat confdefs.h >>conftest.$ac_ext
47761 cat >>conftest.$ac_ext <<_ACEOF
47762 /* end confdefs.h. */
47763
47764 int
47765 main ()
47766 {
47767
47768 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47769 There is no PCH support
47770 #endif
47771 #if (__GNUC__ < 3)
47772 There is no PCH support
47773 #endif
47774 #if (__GNUC__ == 3) && \
47775 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47776 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47777 ( defined(__INTEL_COMPILER) )
47778 There is no PCH support
47779 #endif
47780
47781 ;
47782 return 0;
47783 }
47784 _ACEOF
47785 rm -f conftest.$ac_objext
47786 if { (ac_try="$ac_compile"
47787 case "(($ac_try" in
47788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47789 *) ac_try_echo=$ac_try;;
47790 esac
47791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47792 (eval "$ac_compile") 2>conftest.er1
47793 ac_status=$?
47794 grep -v '^ *+' conftest.er1 >conftest.err
47795 rm -f conftest.er1
47796 cat conftest.err >&5
47797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47798 (exit $ac_status); } && {
47799 test -z "$ac_c_werror_flag" ||
47800 test ! -s conftest.err
47801 } && test -s conftest.$ac_objext; then
47802
47803 { echo "$as_me:$LINENO: result: yes" >&5
47804 echo "${ECHO_T}yes" >&6; }
47805 GCC_PCH=1
47806
47807 else
47808 echo "$as_me: failed program was:" >&5
47809 sed 's/^/| /' conftest.$ac_ext >&5
47810
47811
47812 cat >conftest.$ac_ext <<_ACEOF
47813 /* confdefs.h. */
47814 _ACEOF
47815 cat confdefs.h >>conftest.$ac_ext
47816 cat >>conftest.$ac_ext <<_ACEOF
47817 /* end confdefs.h. */
47818
47819 int
47820 main ()
47821 {
47822
47823 #if !defined(__INTEL_COMPILER) || \
47824 (__INTEL_COMPILER < 800)
47825 There is no PCH support
47826 #endif
47827
47828 ;
47829 return 0;
47830 }
47831 _ACEOF
47832 rm -f conftest.$ac_objext
47833 if { (ac_try="$ac_compile"
47834 case "(($ac_try" in
47835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47836 *) ac_try_echo=$ac_try;;
47837 esac
47838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47839 (eval "$ac_compile") 2>conftest.er1
47840 ac_status=$?
47841 grep -v '^ *+' conftest.er1 >conftest.err
47842 rm -f conftest.er1
47843 cat conftest.err >&5
47844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47845 (exit $ac_status); } && {
47846 test -z "$ac_c_werror_flag" ||
47847 test ! -s conftest.err
47848 } && test -s conftest.$ac_objext; then
47849
47850 { echo "$as_me:$LINENO: result: yes" >&5
47851 echo "${ECHO_T}yes" >&6; }
47852 ICC_PCH=1
47853
47854 else
47855 echo "$as_me: failed program was:" >&5
47856 sed 's/^/| /' conftest.$ac_ext >&5
47857
47858
47859 { echo "$as_me:$LINENO: result: no" >&5
47860 echo "${ECHO_T}no" >&6; }
47861
47862 fi
47863
47864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47865
47866 fi
47867
47868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47869 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47870 USE_PCH=1
47871
47872 D='$'
47873 cat <<EOF >bk-make-pch
47874 #!/bin/sh
47875
47876 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47877 # script. It is used to generated precompiled headers.
47878 #
47879 # Permission is given to use this file in any way.
47880
47881 outfile="${D}{1}"
47882 header="${D}{2}"
47883 shift
47884 shift
47885
47886 compiler=""
47887 headerfile=""
47888
47889 while test ${D}{#} -gt 0; do
47890 add_to_cmdline=1
47891 case "${D}{1}" in
47892 -I* )
47893 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47894 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47895 headerfile="${D}{incdir}/${D}{header}"
47896 fi
47897 ;;
47898 -use-pch|-use_pch )
47899 shift
47900 add_to_cmdline=0
47901 ;;
47902 esac
47903 if test ${D}add_to_cmdline = 1 ; then
47904 compiler="${D}{compiler} ${D}{1}"
47905 fi
47906 shift
47907 done
47908
47909 if test "x${D}{headerfile}" = "x" ; then
47910 echo "error: can't find header ${D}{header} in include paths" >&2
47911 else
47912 if test -f ${D}{outfile} ; then
47913 rm -f ${D}{outfile}
47914 else
47915 mkdir -p \`dirname ${D}{outfile}\`
47916 fi
47917 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47918 mkdir -p .deps
47919 if test "x${GCC_PCH}" = "x1" ; then
47920 # can do this because gcc is >= 3.4:
47921 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47922 elif test "x${ICC_PCH}" = "x1" ; then
47923 filename=pch_gen-${D}${D}
47924 file=${D}{filename}.c
47925 dfile=${D}{filename}.d
47926 cat > ${D}file <<EOT
47927 #include "${D}header"
47928 EOT
47929 # using -MF icc complains about differing command lines in creation/use
47930 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47931 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47932 rm -f ${D}file ${D}dfile ${D}{filename}.o
47933 fi
47934 exit ${D}{?}
47935 fi
47936 EOF
47937
47938 chmod +x bk-make-pch
47939 BK_MAKE_PCH="`pwd`/bk-make-pch"
47940 fi
47941 fi
47942 fi
47943
47944
47945
47946
47947
47948 COND_BUILD_DEBUG="#"
47949 if test "x$BUILD" = "xdebug" ; then
47950 COND_BUILD_DEBUG=""
47951 fi
47952
47953 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47954 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47955 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47956 fi
47957
47958 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47959 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47960 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47961 fi
47962
47963 COND_BUILD_DEBUG_UNICODE_0="#"
47964 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47965 COND_BUILD_DEBUG_UNICODE_0=""
47966 fi
47967
47968 COND_BUILD_DEBUG_UNICODE_1="#"
47969 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47970 COND_BUILD_DEBUG_UNICODE_1=""
47971 fi
47972
47973 COND_BUILD_RELEASE="#"
47974 if test "x$BUILD" = "xrelease" ; then
47975 COND_BUILD_RELEASE=""
47976 fi
47977
47978 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47979 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47980 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47981 fi
47982
47983 COND_BUILD_RELEASE_UNICODE_0="#"
47984 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47985 COND_BUILD_RELEASE_UNICODE_0=""
47986 fi
47987
47988 COND_BUILD_RELEASE_UNICODE_1="#"
47989 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47990 COND_BUILD_RELEASE_UNICODE_1=""
47991 fi
47992
47993 COND_DEBUG_FLAG_1="#"
47994 if test "x$DEBUG_FLAG" = "x1" ; then
47995 COND_DEBUG_FLAG_1=""
47996 fi
47997
47998 COND_DEBUG_INFO_0="#"
47999 if test "x$DEBUG_INFO" = "x0" ; then
48000 COND_DEBUG_INFO_0=""
48001 fi
48002
48003 COND_DEBUG_INFO_1="#"
48004 if test "x$DEBUG_INFO" = "x1" ; then
48005 COND_DEBUG_INFO_1=""
48006 fi
48007
48008 COND_DEPS_TRACKING_0="#"
48009 if test "x$DEPS_TRACKING" = "x0" ; then
48010 COND_DEPS_TRACKING_0=""
48011 fi
48012
48013 COND_DEPS_TRACKING_1="#"
48014 if test "x$DEPS_TRACKING" = "x1" ; then
48015 COND_DEPS_TRACKING_1=""
48016 fi
48017
48018 COND_GCC_PCH_1="#"
48019 if test "x$GCC_PCH" = "x1" ; then
48020 COND_GCC_PCH_1=""
48021 fi
48022
48023 COND_ICC_PCH_1="#"
48024 if test "x$ICC_PCH" = "x1" ; then
48025 COND_ICC_PCH_1=""
48026 fi
48027
48028 COND_MONOLITHIC_0="#"
48029 if test "x$MONOLITHIC" = "x0" ; then
48030 COND_MONOLITHIC_0=""
48031 fi
48032
48033 COND_MONOLITHIC_0_SHARED_0="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48035 COND_MONOLITHIC_0_SHARED_0=""
48036 fi
48037
48038 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48040 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48041 fi
48042
48043 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48046 fi
48047
48048 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48049 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48051 fi
48052
48053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48054 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48055 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48056 fi
48057
48058 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48059 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48061 fi
48062
48063 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48064 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48065 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48066 fi
48067
48068 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48069 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48070 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48071 fi
48072
48073 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48074 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48075 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48076 fi
48077
48078 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48079 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48080 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48081 fi
48082
48083 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48084 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48085 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48086 fi
48087
48088 COND_MONOLITHIC_0_SHARED_1="#"
48089 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48090 COND_MONOLITHIC_0_SHARED_1=""
48091 fi
48092
48093 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48094 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48095 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48096 fi
48097
48098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48099 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48101 fi
48102
48103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48104 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48106 fi
48107
48108 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48109 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48110 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48111 fi
48112
48113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48114 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48116 fi
48117
48118 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48119 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48120 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48121 fi
48122
48123 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48124 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48125 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48126 fi
48127
48128 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48129 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48130 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48131 fi
48132
48133 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48134 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48135 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48136 fi
48137
48138 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48139 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48140 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48141 fi
48142
48143 COND_MONOLITHIC_0_USE_AUI_1="#"
48144 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48145 COND_MONOLITHIC_0_USE_AUI_1=""
48146 fi
48147
48148 COND_MONOLITHIC_0_USE_GUI_1="#"
48149 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48150 COND_MONOLITHIC_0_USE_GUI_1=""
48151 fi
48152
48153 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48154 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48155 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48156 fi
48157
48158 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48159 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48160 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48161 fi
48162
48163 COND_MONOLITHIC_0_USE_HTML_1="#"
48164 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48165 COND_MONOLITHIC_0_USE_HTML_1=""
48166 fi
48167
48168 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48169 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48170 COND_MONOLITHIC_0_USE_MEDIA_1=""
48171 fi
48172
48173 COND_MONOLITHIC_0_USE_ODBC_1="#"
48174 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48175 COND_MONOLITHIC_0_USE_ODBC_1=""
48176 fi
48177
48178 COND_MONOLITHIC_0_USE_QA_1="#"
48179 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48180 COND_MONOLITHIC_0_USE_QA_1=""
48181 fi
48182
48183 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48184 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48185 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48186 fi
48187
48188 COND_MONOLITHIC_0_USE_STC_1="#"
48189 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48190 COND_MONOLITHIC_0_USE_STC_1=""
48191 fi
48192
48193 COND_MONOLITHIC_0_USE_XRC_1="#"
48194 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48195 COND_MONOLITHIC_0_USE_XRC_1=""
48196 fi
48197
48198 COND_MONOLITHIC_1="#"
48199 if test "x$MONOLITHIC" = "x1" ; then
48200 COND_MONOLITHIC_1=""
48201 fi
48202
48203 COND_MONOLITHIC_1_SHARED_0="#"
48204 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48205 COND_MONOLITHIC_1_SHARED_0=""
48206 fi
48207
48208 COND_MONOLITHIC_1_SHARED_1="#"
48209 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48210 COND_MONOLITHIC_1_SHARED_1=""
48211 fi
48212
48213 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48214 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48215 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48216 fi
48217
48218 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48219 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48220 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48221 fi
48222
48223 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48224 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48225 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48226 fi
48227
48228 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48229 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48230 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48231 fi
48232
48233 COND_PLATFORM_MACOSX_1="#"
48234 if test "x$PLATFORM_MACOSX" = "x1" ; then
48235 COND_PLATFORM_MACOSX_1=""
48236 fi
48237
48238 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48239 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48240 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48241 fi
48242
48243 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48244 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48245 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48246 fi
48247
48248 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48249 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48250 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48251 fi
48252
48253 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48254 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48255 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48256 fi
48257
48258 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48259 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48260 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48261 fi
48262
48263 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48264 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48265 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48266 fi
48267
48268 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48269 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48270 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48271 fi
48272
48273 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48274 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48275 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48276 fi
48277
48278 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48279 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48280 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48281 fi
48282
48283 COND_PLATFORM_MACOS_1="#"
48284 if test "x$PLATFORM_MACOS" = "x1" ; then
48285 COND_PLATFORM_MACOS_1=""
48286 fi
48287
48288 COND_PLATFORM_MAC_1="#"
48289 if test "x$PLATFORM_MAC" = "x1" ; then
48290 COND_PLATFORM_MAC_1=""
48291 fi
48292
48293 COND_PLATFORM_MSDOS_0="#"
48294 if test "x$PLATFORM_MSDOS" = "x0" ; then
48295 COND_PLATFORM_MSDOS_0=""
48296 fi
48297
48298 COND_PLATFORM_MSDOS_1="#"
48299 if test "x$PLATFORM_MSDOS" = "x1" ; then
48300 COND_PLATFORM_MSDOS_1=""
48301 fi
48302
48303 COND_PLATFORM_OS2_1="#"
48304 if test "x$PLATFORM_OS2" = "x1" ; then
48305 COND_PLATFORM_OS2_1=""
48306 fi
48307
48308 COND_PLATFORM_UNIX_0="#"
48309 if test "x$PLATFORM_UNIX" = "x0" ; then
48310 COND_PLATFORM_UNIX_0=""
48311 fi
48312
48313 COND_PLATFORM_UNIX_1="#"
48314 if test "x$PLATFORM_UNIX" = "x1" ; then
48315 COND_PLATFORM_UNIX_1=""
48316 fi
48317
48318 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48319 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48320 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48321 fi
48322
48323 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48324 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48325 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48326 fi
48327
48328 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48329 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48330 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48331 fi
48332
48333 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48334 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48335 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48336 fi
48337
48338 COND_PLATFORM_WIN32_0="#"
48339 if test "x$PLATFORM_WIN32" = "x0" ; then
48340 COND_PLATFORM_WIN32_0=""
48341 fi
48342
48343 COND_PLATFORM_WIN32_1="#"
48344 if test "x$PLATFORM_WIN32" = "x1" ; then
48345 COND_PLATFORM_WIN32_1=""
48346 fi
48347
48348 COND_SHARED_0="#"
48349 if test "x$SHARED" = "x0" ; then
48350 COND_SHARED_0=""
48351 fi
48352
48353 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48354 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48355 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48356 fi
48357
48358 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48359 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48360 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48361 fi
48362
48363 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48364 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48365 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48366 fi
48367
48368 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48369 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48370 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48371 fi
48372
48373 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48374 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48375 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48376 fi
48377
48378 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48379 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48380 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48381 fi
48382
48383 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48384 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48385 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48386 fi
48387
48388 COND_SHARED_0_USE_STC_1="#"
48389 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48390 COND_SHARED_0_USE_STC_1=""
48391 fi
48392
48393 COND_SHARED_0_USE_XRC_1="#"
48394 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48395 COND_SHARED_0_USE_XRC_1=""
48396 fi
48397
48398 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48399 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48400 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48401 fi
48402
48403 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48404 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48405 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48406 fi
48407
48408 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48409 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48410 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48411 fi
48412
48413 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48414 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48415 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48416 fi
48417
48418 COND_SHARED_1="#"
48419 if test "x$SHARED" = "x1" ; then
48420 COND_SHARED_1=""
48421 fi
48422
48423 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48424 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48425 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48426 fi
48427
48428 COND_SHARED_1_USE_XRC_1="#"
48429 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48430 COND_SHARED_1_USE_XRC_1=""
48431 fi
48432
48433 COND_TOOLKIT_="#"
48434 if test "x$TOOLKIT" = "x" ; then
48435 COND_TOOLKIT_=""
48436 fi
48437
48438 COND_TOOLKIT_COCOA="#"
48439 if test "x$TOOLKIT" = "xCOCOA" ; then
48440 COND_TOOLKIT_COCOA=""
48441 fi
48442
48443 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48444 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48445 COND_TOOLKIT_COCOA_USE_GUI_1=""
48446 fi
48447
48448 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48449 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48450 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48451 fi
48452
48453 COND_TOOLKIT_DFB="#"
48454 if test "x$TOOLKIT" = "xDFB" ; then
48455 COND_TOOLKIT_DFB=""
48456 fi
48457
48458 COND_TOOLKIT_DFB_USE_GUI_1="#"
48459 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48460 COND_TOOLKIT_DFB_USE_GUI_1=""
48461 fi
48462
48463 COND_TOOLKIT_GTK="#"
48464 if test "x$TOOLKIT" = "xGTK" ; then
48465 COND_TOOLKIT_GTK=""
48466 fi
48467
48468 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48469 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48470 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48471 fi
48472
48473 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48474 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48475 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48476 fi
48477
48478 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48479 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48480 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48481 fi
48482
48483 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48484 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48485 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48486 fi
48487
48488 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48489 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48490 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48491 fi
48492
48493 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48494 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48495 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48496 fi
48497
48498 COND_TOOLKIT_GTK_USE_GUI_1="#"
48499 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48500 COND_TOOLKIT_GTK_USE_GUI_1=""
48501 fi
48502
48503 COND_TOOLKIT_MAC="#"
48504 if test "x$TOOLKIT" = "xMAC" ; then
48505 COND_TOOLKIT_MAC=""
48506 fi
48507
48508 COND_TOOLKIT_MAC_USE_GUI_1="#"
48509 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48510 COND_TOOLKIT_MAC_USE_GUI_1=""
48511 fi
48512
48513 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48514 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48515 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48516 fi
48517
48518 COND_TOOLKIT_MGL="#"
48519 if test "x$TOOLKIT" = "xMGL" ; then
48520 COND_TOOLKIT_MGL=""
48521 fi
48522
48523 COND_TOOLKIT_MGL_USE_GUI_1="#"
48524 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48525 COND_TOOLKIT_MGL_USE_GUI_1=""
48526 fi
48527
48528 COND_TOOLKIT_MOTIF="#"
48529 if test "x$TOOLKIT" = "xMOTIF" ; then
48530 COND_TOOLKIT_MOTIF=""
48531 fi
48532
48533 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48534 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48535 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48536 fi
48537
48538 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48539 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48540 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48541 fi
48542
48543 COND_TOOLKIT_MSW="#"
48544 if test "x$TOOLKIT" = "xMSW" ; then
48545 COND_TOOLKIT_MSW=""
48546 fi
48547
48548 COND_TOOLKIT_MSW_USE_GUI_1="#"
48549 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48550 COND_TOOLKIT_MSW_USE_GUI_1=""
48551 fi
48552
48553 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48554 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48555 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48556 fi
48557
48558 COND_TOOLKIT_MSW_WXUNIV_0="#"
48559 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48560 COND_TOOLKIT_MSW_WXUNIV_0=""
48561 fi
48562
48563 COND_TOOLKIT_PM="#"
48564 if test "x$TOOLKIT" = "xPM" ; then
48565 COND_TOOLKIT_PM=""
48566 fi
48567
48568 COND_TOOLKIT_PM_USE_GUI_1="#"
48569 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48570 COND_TOOLKIT_PM_USE_GUI_1=""
48571 fi
48572
48573 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48574 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48575 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48576 fi
48577
48578 COND_TOOLKIT_WINCE="#"
48579 if test "x$TOOLKIT" = "xWINCE" ; then
48580 COND_TOOLKIT_WINCE=""
48581 fi
48582
48583 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48584 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48585 COND_TOOLKIT_WINCE_USE_GUI_1=""
48586 fi
48587
48588 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48589 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48590 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48591 fi
48592
48593 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48594 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48595 COND_TOOLKIT_WINCE_WXUNIV_0=""
48596 fi
48597
48598 COND_TOOLKIT_X11="#"
48599 if test "x$TOOLKIT" = "xX11" ; then
48600 COND_TOOLKIT_X11=""
48601 fi
48602
48603 COND_TOOLKIT_X11_USE_GUI_1="#"
48604 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48605 COND_TOOLKIT_X11_USE_GUI_1=""
48606 fi
48607
48608 COND_UNICODE_1="#"
48609 if test "x$UNICODE" = "x1" ; then
48610 COND_UNICODE_1=""
48611 fi
48612
48613 COND_USE_EXCEPTIONS_0="#"
48614 if test "x$USE_EXCEPTIONS" = "x0" ; then
48615 COND_USE_EXCEPTIONS_0=""
48616 fi
48617
48618 COND_USE_EXCEPTIONS_1="#"
48619 if test "x$USE_EXCEPTIONS" = "x1" ; then
48620 COND_USE_EXCEPTIONS_1=""
48621 fi
48622
48623 COND_USE_GUI_0="#"
48624 if test "x$USE_GUI" = "x0" ; then
48625 COND_USE_GUI_0=""
48626 fi
48627
48628 COND_USE_GUI_1="#"
48629 if test "x$USE_GUI" = "x1" ; then
48630 COND_USE_GUI_1=""
48631 fi
48632
48633 COND_USE_GUI_1_USE_OPENGL_1="#"
48634 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48635 COND_USE_GUI_1_USE_OPENGL_1=""
48636 fi
48637
48638 COND_USE_GUI_1_WXUNIV_0="#"
48639 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48640 COND_USE_GUI_1_WXUNIV_0=""
48641 fi
48642
48643 COND_USE_GUI_1_WXUNIV_1="#"
48644 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48645 COND_USE_GUI_1_WXUNIV_1=""
48646 fi
48647
48648 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48649 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48650 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48651 fi
48652
48653 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48654 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48655 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48656 fi
48657
48658 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48659 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48660 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48661 fi
48662
48663 COND_USE_ODBC_1="#"
48664 if test "x$USE_ODBC" = "x1" ; then
48665 COND_USE_ODBC_1=""
48666 fi
48667
48668 COND_USE_OPENGL_1="#"
48669 if test "x$USE_OPENGL" = "x1" ; then
48670 COND_USE_OPENGL_1=""
48671 fi
48672
48673 COND_USE_PCH_1="#"
48674 if test "x$USE_PCH" = "x1" ; then
48675 COND_USE_PCH_1=""
48676 fi
48677
48678 COND_USE_PLUGINS_0="#"
48679 if test "x$USE_PLUGINS" = "x0" ; then
48680 COND_USE_PLUGINS_0=""
48681 fi
48682
48683 COND_USE_RTTI_0="#"
48684 if test "x$USE_RTTI" = "x0" ; then
48685 COND_USE_RTTI_0=""
48686 fi
48687
48688 COND_USE_RTTI_1="#"
48689 if test "x$USE_RTTI" = "x1" ; then
48690 COND_USE_RTTI_1=""
48691 fi
48692
48693 COND_USE_SOSYMLINKS_1="#"
48694 if test "x$USE_SOSYMLINKS" = "x1" ; then
48695 COND_USE_SOSYMLINKS_1=""
48696 fi
48697
48698 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48699 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48700 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48701 fi
48702
48703 COND_USE_SOVERLINUX_1="#"
48704 if test "x$USE_SOVERLINUX" = "x1" ; then
48705 COND_USE_SOVERLINUX_1=""
48706 fi
48707
48708 COND_USE_SOVERSION_0="#"
48709 if test "x$USE_SOVERSION" = "x0" ; then
48710 COND_USE_SOVERSION_0=""
48711 fi
48712
48713 COND_USE_SOVERSOLARIS_1="#"
48714 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48715 COND_USE_SOVERSOLARIS_1=""
48716 fi
48717
48718 COND_USE_STC_1="#"
48719 if test "x$USE_STC" = "x1" ; then
48720 COND_USE_STC_1=""
48721 fi
48722
48723 COND_USE_THREADS_0="#"
48724 if test "x$USE_THREADS" = "x0" ; then
48725 COND_USE_THREADS_0=""
48726 fi
48727
48728 COND_USE_THREADS_1="#"
48729 if test "x$USE_THREADS" = "x1" ; then
48730 COND_USE_THREADS_1=""
48731 fi
48732
48733 COND_USE_XRC_1="#"
48734 if test "x$USE_XRC" = "x1" ; then
48735 COND_USE_XRC_1=""
48736 fi
48737
48738 COND_WINDOWS_IMPLIB_1="#"
48739 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48740 COND_WINDOWS_IMPLIB_1=""
48741 fi
48742
48743 COND_WITH_PLUGIN_SDL_1="#"
48744 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48745 COND_WITH_PLUGIN_SDL_1=""
48746 fi
48747
48748 COND_WXUNIV_0="#"
48749 if test "x$WXUNIV" = "x0" ; then
48750 COND_WXUNIV_0=""
48751 fi
48752
48753 COND_WXUNIV_1="#"
48754 if test "x$WXUNIV" = "x1" ; then
48755 COND_WXUNIV_1=""
48756 fi
48757
48758 COND_WXUSE_EXPAT_BUILTIN="#"
48759 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48760 COND_WXUSE_EXPAT_BUILTIN=""
48761 fi
48762
48763 COND_WXUSE_LIBJPEG_BUILTIN="#"
48764 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48765 COND_WXUSE_LIBJPEG_BUILTIN=""
48766 fi
48767
48768 COND_WXUSE_LIBPNG_BUILTIN="#"
48769 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48770 COND_WXUSE_LIBPNG_BUILTIN=""
48771 fi
48772
48773 COND_WXUSE_LIBTIFF_BUILTIN="#"
48774 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48775 COND_WXUSE_LIBTIFF_BUILTIN=""
48776 fi
48777
48778 COND_WXUSE_ODBC_BUILTIN="#"
48779 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48780 COND_WXUSE_ODBC_BUILTIN=""
48781 fi
48782
48783 COND_WXUSE_REGEX_BUILTIN="#"
48784 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48785 COND_WXUSE_REGEX_BUILTIN=""
48786 fi
48787
48788 COND_WXUSE_ZLIB_BUILTIN="#"
48789 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48790 COND_WXUSE_ZLIB_BUILTIN=""
48791 fi
48792
48793
48794
48795 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48796 { { 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
48797 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;}
48798 { (exit 1); exit 1; }; }
48799 fi
48800
48801 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48802 { { 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
48803 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;}
48804 { (exit 1); exit 1; }; }
48805 fi
48806
48807
48808 if test $GCC_PCH = 1
48809 then
48810 if test "$wx_cv_gcc_pch_bug" = yes; then
48811 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48812 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48813 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48814 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48815 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48816 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48817 fi
48818
48819 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48820 fi
48821
48822
48823 if test "$wxUSE_MAC" = 1 ; then
48824 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48825 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48826 mv temp bk-deps
48827 chmod +x bk-deps
48828 fi
48829 fi
48830
48831 if test "$wxUSE_SHARED" = "yes"; then
48832
48833 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48834 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48835
48836 case "${host}" in
48837 *-pc-os2_emx | *-pc-os2-emx )
48838 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48839 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48840 cp -p ${srcdir}/src/os2/dllnames.sh .
48841 cp -p ${srcdir}/src/os2/dllar.sh .
48842 ;;
48843 esac
48844 else
48845
48846 EXE_LINKER="$CXX -o"
48847
48848 fi
48849 if test "$wxUSE_OMF" = "yes"; then
48850 case "${host}" in
48851 *-pc-os2_emx | *-pc-os2-emx )
48852 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48853 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48854 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48855 ;;
48856 esac
48857 fi
48858
48859 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48860
48861 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48862
48863
48864
48865
48866
48867
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 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48924 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48925 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48926 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48927 echo $ECHO_N "(cached) $ECHO_C" >&6
48928 else
48929 cat >conftest.make <<\_ACEOF
48930 SHELL = /bin/sh
48931 all:
48932 @echo '@@@%%%=$(MAKE)=@@@%%%'
48933 _ACEOF
48934 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48935 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48936 *@@@%%%=?*=@@@%%%*)
48937 eval ac_cv_prog_make_${ac_make}_set=yes;;
48938 *)
48939 eval ac_cv_prog_make_${ac_make}_set=no;;
48940 esac
48941 rm -f conftest.make
48942 fi
48943 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48944 { echo "$as_me:$LINENO: result: yes" >&5
48945 echo "${ECHO_T}yes" >&6; }
48946 SET_MAKE=
48947 else
48948 { echo "$as_me:$LINENO: result: no" >&5
48949 echo "${ECHO_T}no" >&6; }
48950 SET_MAKE="MAKE=${MAKE-make}"
48951 fi
48952
48953
48954
48955 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48956
48957
48958 if test "$USE_WIN32" = 1; then
48959 ac_config_commands="$ac_config_commands
48960 rcdefs.h
48961 "
48962
48963 fi
48964
48965 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48966
48967
48968 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48969
48970
48971 if test "$wx_cv_version_script" = "yes"; then
48972 ac_config_files="$ac_config_files version-script"
48973
48974 fi
48975 ac_config_files="$ac_config_files Makefile"
48976
48977
48978 ac_config_commands="$ac_config_commands wx-config"
48979
48980
48981
48982 if test "$wxWITH_SUBDIRS" != "no"; then
48983 if test "$wxUSE_GUI" = "yes"; then
48984 SUBDIRS="samples demos utils"
48985 else SUBDIRS="samples utils"
48986 fi
48987
48988
48989
48990 # Check whether --with-cppunit-prefix was given.
48991 if test "${with_cppunit_prefix+set}" = set; then
48992 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48993 else
48994 cppunit_config_prefix=""
48995 fi
48996
48997
48998 # Check whether --with-cppunit-exec-prefix was given.
48999 if test "${with_cppunit_exec_prefix+set}" = set; then
49000 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49001 else
49002 cppunit_config_exec_prefix=""
49003 fi
49004
49005
49006 if test x$cppunit_config_exec_prefix != x ; then
49007 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49008 if test x${CPPUNIT_CONFIG+set} != xset ; then
49009 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49010 fi
49011 fi
49012 if test x$cppunit_config_prefix != x ; then
49013 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49014 if test x${CPPUNIT_CONFIG+set} != xset ; then
49015 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49016 fi
49017 fi
49018
49019 # Extract the first word of "cppunit-config", so it can be a program name with args.
49020 set dummy cppunit-config; ac_word=$2
49021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49023 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49024 echo $ECHO_N "(cached) $ECHO_C" >&6
49025 else
49026 case $CPPUNIT_CONFIG in
49027 [\\/]* | ?:[\\/]*)
49028 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49029 ;;
49030 *)
49031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49032 for as_dir in $PATH
49033 do
49034 IFS=$as_save_IFS
49035 test -z "$as_dir" && as_dir=.
49036 for ac_exec_ext in '' $ac_executable_extensions; do
49037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49038 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49040 break 2
49041 fi
49042 done
49043 done
49044 IFS=$as_save_IFS
49045
49046 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49047 ;;
49048 esac
49049 fi
49050 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49051 if test -n "$CPPUNIT_CONFIG"; then
49052 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49053 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49054 else
49055 { echo "$as_me:$LINENO: result: no" >&5
49056 echo "${ECHO_T}no" >&6; }
49057 fi
49058
49059
49060 cppunit_version_min=1.8.0
49061
49062 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49063 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49064 no_cppunit=""
49065 if test "$CPPUNIT_CONFIG" = "no" ; then
49066 { echo "$as_me:$LINENO: result: no" >&5
49067 echo "${ECHO_T}no" >&6; }
49068 no_cppunit=yes
49069 else
49070 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49071 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49072 cppunit_version=`$CPPUNIT_CONFIG --version`
49073
49074 cppunit_major_version=`echo $cppunit_version | \
49075 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49076 cppunit_minor_version=`echo $cppunit_version | \
49077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49078 cppunit_micro_version=`echo $cppunit_version | \
49079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49080
49081 cppunit_major_min=`echo $cppunit_version_min | \
49082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49083 cppunit_minor_min=`echo $cppunit_version_min | \
49084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49085 cppunit_micro_min=`echo $cppunit_version_min | \
49086 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49087
49088 cppunit_version_proper=`expr \
49089 $cppunit_major_version \> $cppunit_major_min \| \
49090 $cppunit_major_version \= $cppunit_major_min \& \
49091 $cppunit_minor_version \> $cppunit_minor_min \| \
49092 $cppunit_major_version \= $cppunit_major_min \& \
49093 $cppunit_minor_version \= $cppunit_minor_min \& \
49094 $cppunit_micro_version \>= $cppunit_micro_min `
49095
49096 if test "$cppunit_version_proper" = "1" ; then
49097 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49098 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49099 else
49100 { echo "$as_me:$LINENO: result: no" >&5
49101 echo "${ECHO_T}no" >&6; }
49102 no_cppunit=yes
49103 fi
49104 fi
49105
49106 if test "x$no_cppunit" = x ; then
49107 SUBDIRS="$SUBDIRS tests"
49108 else
49109 CPPUNIT_CFLAGS=""
49110 CPPUNIT_LIBS=""
49111 :
49112 fi
49113
49114
49115
49116
49117
49118 for subdir in `echo $SUBDIRS`; do
49119 if test -d ${srcdir}/${subdir} ; then
49120 if test "$wxUSE_GUI" = "yes"; then
49121 if test ${subdir} = "samples"; then
49122 makefiles="samples/Makefile.in $makefiles"
49123 for sample in `echo $SAMPLES_SUBDIRS`; do
49124 if test -d $srcdir/samples/$sample; then
49125 makefiles="samples/$sample/Makefile.in $makefiles"
49126 fi
49127 done
49128 else
49129 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49130 eval "disabled=\$$disabled_var"
49131 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49132 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49133 fi
49134 else if test ${subdir} = "samples"; then
49135 makefiles="samples/Makefile.in samples/console/Makefile.in"
49136 elif test ${subdir} = "utils"; then
49137 makefiles=""
49138 for util in HelpGen tex2rtf ; do
49139 if test -d $srcdir/utils/$util ; then
49140 makefiles="utils/$util/Makefile.in \
49141 utils/$util/src/Makefile.in \
49142 $makefiles"
49143 fi
49144 done
49145 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49146 fi
49147 fi
49148
49149 for mkin in $makefiles ; do
49150 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49151 ac_config_files="$ac_config_files $mk"
49152
49153 done
49154 fi
49155 done
49156 fi
49157 cat >confcache <<\_ACEOF
49158 # This file is a shell script that caches the results of configure
49159 # tests run on this system so they can be shared between configure
49160 # scripts and configure runs, see configure's option --config-cache.
49161 # It is not useful on other systems. If it contains results you don't
49162 # want to keep, you may remove or edit it.
49163 #
49164 # config.status only pays attention to the cache file if you give it
49165 # the --recheck option to rerun configure.
49166 #
49167 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49168 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49169 # following values.
49170
49171 _ACEOF
49172
49173 # The following way of writing the cache mishandles newlines in values,
49174 # but we know of no workaround that is simple, portable, and efficient.
49175 # So, we kill variables containing newlines.
49176 # Ultrix sh set writes to stderr and can't be redirected directly,
49177 # and sets the high bit in the cache file unless we assign to the vars.
49178 (
49179 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49180 eval ac_val=\$$ac_var
49181 case $ac_val in #(
49182 *${as_nl}*)
49183 case $ac_var in #(
49184 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49185 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49186 esac
49187 case $ac_var in #(
49188 _ | IFS | as_nl) ;; #(
49189 *) $as_unset $ac_var ;;
49190 esac ;;
49191 esac
49192 done
49193
49194 (set) 2>&1 |
49195 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49196 *${as_nl}ac_space=\ *)
49197 # `set' does not quote correctly, so add quotes (double-quote
49198 # substitution turns \\\\ into \\, and sed turns \\ into \).
49199 sed -n \
49200 "s/'/'\\\\''/g;
49201 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49202 ;; #(
49203 *)
49204 # `set' quotes correctly as required by POSIX, so do not add quotes.
49205 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49206 ;;
49207 esac |
49208 sort
49209 ) |
49210 sed '
49211 /^ac_cv_env_/b end
49212 t clear
49213 :clear
49214 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49215 t end
49216 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49217 :end' >>confcache
49218 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49219 if test -w "$cache_file"; then
49220 test "x$cache_file" != "x/dev/null" &&
49221 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49222 echo "$as_me: updating cache $cache_file" >&6;}
49223 cat confcache >$cache_file
49224 else
49225 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49226 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49227 fi
49228 fi
49229 rm -f confcache
49230
49231 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49232 # Let make expand exec_prefix.
49233 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49234
49235 DEFS=-DHAVE_CONFIG_H
49236
49237 ac_libobjs=
49238 ac_ltlibobjs=
49239 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49240 # 1. Remove the extension, and $U if already installed.
49241 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49242 ac_i=`echo "$ac_i" | sed "$ac_script"`
49243 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49244 # will be set to the directory where LIBOBJS objects are built.
49245 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49246 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49247 done
49248 LIBOBJS=$ac_libobjs
49249
49250 LTLIBOBJS=$ac_ltlibobjs
49251
49252
49253
49254 : ${CONFIG_STATUS=./config.status}
49255 ac_clean_files_save=$ac_clean_files
49256 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49257 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49258 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49259 cat >$CONFIG_STATUS <<_ACEOF
49260 #! $SHELL
49261 # Generated by $as_me.
49262 # Run this file to recreate the current configuration.
49263 # Compiler output produced by configure, useful for debugging
49264 # configure, is in config.log if it exists.
49265
49266 debug=false
49267 ac_cs_recheck=false
49268 ac_cs_silent=false
49269 SHELL=\${CONFIG_SHELL-$SHELL}
49270 _ACEOF
49271
49272 cat >>$CONFIG_STATUS <<\_ACEOF
49273 ## --------------------- ##
49274 ## M4sh Initialization. ##
49275 ## --------------------- ##
49276
49277 # Be more Bourne compatible
49278 DUALCASE=1; export DUALCASE # for MKS sh
49279 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49280 emulate sh
49281 NULLCMD=:
49282 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49283 # is contrary to our usage. Disable this feature.
49284 alias -g '${1+"$@"}'='"$@"'
49285 setopt NO_GLOB_SUBST
49286 else
49287 case `(set -o) 2>/dev/null` in
49288 *posix*) set -o posix ;;
49289 esac
49290
49291 fi
49292
49293
49294
49295
49296 # PATH needs CR
49297 # Avoid depending upon Character Ranges.
49298 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49299 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49300 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49301 as_cr_digits='0123456789'
49302 as_cr_alnum=$as_cr_Letters$as_cr_digits
49303
49304 # The user is always right.
49305 if test "${PATH_SEPARATOR+set}" != set; then
49306 echo "#! /bin/sh" >conf$$.sh
49307 echo "exit 0" >>conf$$.sh
49308 chmod +x conf$$.sh
49309 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49310 PATH_SEPARATOR=';'
49311 else
49312 PATH_SEPARATOR=:
49313 fi
49314 rm -f conf$$.sh
49315 fi
49316
49317 # Support unset when possible.
49318 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49319 as_unset=unset
49320 else
49321 as_unset=false
49322 fi
49323
49324
49325 # IFS
49326 # We need space, tab and new line, in precisely that order. Quoting is
49327 # there to prevent editors from complaining about space-tab.
49328 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49329 # splitting by setting IFS to empty value.)
49330 as_nl='
49331 '
49332 IFS=" "" $as_nl"
49333
49334 # Find who we are. Look in the path if we contain no directory separator.
49335 case $0 in
49336 *[\\/]* ) as_myself=$0 ;;
49337 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49338 for as_dir in $PATH
49339 do
49340 IFS=$as_save_IFS
49341 test -z "$as_dir" && as_dir=.
49342 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49343 done
49344 IFS=$as_save_IFS
49345
49346 ;;
49347 esac
49348 # We did not find ourselves, most probably we were run as `sh COMMAND'
49349 # in which case we are not to be found in the path.
49350 if test "x$as_myself" = x; then
49351 as_myself=$0
49352 fi
49353 if test ! -f "$as_myself"; then
49354 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49355 { (exit 1); exit 1; }
49356 fi
49357
49358 # Work around bugs in pre-3.0 UWIN ksh.
49359 for as_var in ENV MAIL MAILPATH
49360 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49361 done
49362 PS1='$ '
49363 PS2='> '
49364 PS4='+ '
49365
49366 # NLS nuisances.
49367 for as_var in \
49368 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49369 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49370 LC_TELEPHONE LC_TIME
49371 do
49372 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49373 eval $as_var=C; export $as_var
49374 else
49375 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49376 fi
49377 done
49378
49379 # Required to use basename.
49380 if expr a : '\(a\)' >/dev/null 2>&1 &&
49381 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49382 as_expr=expr
49383 else
49384 as_expr=false
49385 fi
49386
49387 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49388 as_basename=basename
49389 else
49390 as_basename=false
49391 fi
49392
49393
49394 # Name of the executable.
49395 as_me=`$as_basename -- "$0" ||
49396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49397 X"$0" : 'X\(//\)$' \| \
49398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49399 echo X/"$0" |
49400 sed '/^.*\/\([^/][^/]*\)\/*$/{
49401 s//\1/
49402 q
49403 }
49404 /^X\/\(\/\/\)$/{
49405 s//\1/
49406 q
49407 }
49408 /^X\/\(\/\).*/{
49409 s//\1/
49410 q
49411 }
49412 s/.*/./; q'`
49413
49414 # CDPATH.
49415 $as_unset CDPATH
49416
49417
49418
49419 as_lineno_1=$LINENO
49420 as_lineno_2=$LINENO
49421 test "x$as_lineno_1" != "x$as_lineno_2" &&
49422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49423
49424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49425 # uniformly replaced by the line number. The first 'sed' inserts a
49426 # line-number line after each line using $LINENO; the second 'sed'
49427 # does the real work. The second script uses 'N' to pair each
49428 # line-number line with the line containing $LINENO, and appends
49429 # trailing '-' during substitution so that $LINENO is not a special
49430 # case at line end.
49431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49432 # scripts with optimization help from Paolo Bonzini. Blame Lee
49433 # E. McMahon (1931-1989) for sed's syntax. :-)
49434 sed -n '
49435 p
49436 /[$]LINENO/=
49437 ' <$as_myself |
49438 sed '
49439 s/[$]LINENO.*/&-/
49440 t lineno
49441 b
49442 :lineno
49443 N
49444 :loop
49445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49446 t loop
49447 s/-\n.*//
49448 ' >$as_me.lineno &&
49449 chmod +x "$as_me.lineno" ||
49450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49451 { (exit 1); exit 1; }; }
49452
49453 # Don't try to exec as it changes $[0], causing all sort of problems
49454 # (the dirname of $[0] is not the place where we might find the
49455 # original and so on. Autoconf is especially sensitive to this).
49456 . "./$as_me.lineno"
49457 # Exit status is that of the last command.
49458 exit
49459 }
49460
49461
49462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49463 as_dirname=dirname
49464 else
49465 as_dirname=false
49466 fi
49467
49468 ECHO_C= ECHO_N= ECHO_T=
49469 case `echo -n x` in
49470 -n*)
49471 case `echo 'x\c'` in
49472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49473 *) ECHO_C='\c';;
49474 esac;;
49475 *)
49476 ECHO_N='-n';;
49477 esac
49478
49479 if expr a : '\(a\)' >/dev/null 2>&1 &&
49480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49481 as_expr=expr
49482 else
49483 as_expr=false
49484 fi
49485
49486 rm -f conf$$ conf$$.exe conf$$.file
49487 if test -d conf$$.dir; then
49488 rm -f conf$$.dir/conf$$.file
49489 else
49490 rm -f conf$$.dir
49491 mkdir conf$$.dir
49492 fi
49493 echo >conf$$.file
49494 if ln -s conf$$.file conf$$ 2>/dev/null; then
49495 as_ln_s='ln -s'
49496 # ... but there are two gotchas:
49497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49499 # In both cases, we have to default to `cp -p'.
49500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49501 as_ln_s='cp -p'
49502 elif ln conf$$.file conf$$ 2>/dev/null; then
49503 as_ln_s=ln
49504 else
49505 as_ln_s='cp -p'
49506 fi
49507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49508 rmdir conf$$.dir 2>/dev/null
49509
49510 if mkdir -p . 2>/dev/null; then
49511 as_mkdir_p=:
49512 else
49513 test -d ./-p && rmdir ./-p
49514 as_mkdir_p=false
49515 fi
49516
49517 if test -x / >/dev/null 2>&1; then
49518 as_test_x='test -x'
49519 else
49520 if ls -dL / >/dev/null 2>&1; then
49521 as_ls_L_option=L
49522 else
49523 as_ls_L_option=
49524 fi
49525 as_test_x='
49526 eval sh -c '\''
49527 if test -d "$1"; then
49528 test -d "$1/.";
49529 else
49530 case $1 in
49531 -*)set "./$1";;
49532 esac;
49533 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49534 ???[sx]*):;;*)false;;esac;fi
49535 '\'' sh
49536 '
49537 fi
49538 as_executable_p=$as_test_x
49539
49540 # Sed expression to map a string onto a valid CPP name.
49541 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49542
49543 # Sed expression to map a string onto a valid variable name.
49544 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49545
49546
49547 exec 6>&1
49548
49549 # Save the log message, to keep $[0] and so on meaningful, and to
49550 # report actual input values of CONFIG_FILES etc. instead of their
49551 # values after options handling.
49552 ac_log="
49553 This file was extended by wxWidgets $as_me 2.9.0, which was
49554 generated by GNU Autoconf 2.61. Invocation command line was
49555
49556 CONFIG_FILES = $CONFIG_FILES
49557 CONFIG_HEADERS = $CONFIG_HEADERS
49558 CONFIG_LINKS = $CONFIG_LINKS
49559 CONFIG_COMMANDS = $CONFIG_COMMANDS
49560 $ $0 $@
49561
49562 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49563 "
49564
49565 _ACEOF
49566
49567 cat >>$CONFIG_STATUS <<_ACEOF
49568 # Files that config.status was made for.
49569 config_files="$ac_config_files"
49570 config_headers="$ac_config_headers"
49571 config_commands="$ac_config_commands"
49572
49573 _ACEOF
49574
49575 cat >>$CONFIG_STATUS <<\_ACEOF
49576 ac_cs_usage="\
49577 \`$as_me' instantiates files from templates according to the
49578 current configuration.
49579
49580 Usage: $0 [OPTIONS] [FILE]...
49581
49582 -h, --help print this help, then exit
49583 -V, --version print version number and configuration settings, then exit
49584 -q, --quiet do not print progress messages
49585 -d, --debug don't remove temporary files
49586 --recheck update $as_me by reconfiguring in the same conditions
49587 --file=FILE[:TEMPLATE]
49588 instantiate the configuration file FILE
49589 --header=FILE[:TEMPLATE]
49590 instantiate the configuration header FILE
49591
49592 Configuration files:
49593 $config_files
49594
49595 Configuration headers:
49596 $config_headers
49597
49598 Configuration commands:
49599 $config_commands
49600
49601 Report bugs to <bug-autoconf@gnu.org>."
49602
49603 _ACEOF
49604 cat >>$CONFIG_STATUS <<_ACEOF
49605 ac_cs_version="\\
49606 wxWidgets config.status 2.9.0
49607 configured by $0, generated by GNU Autoconf 2.61,
49608 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49609
49610 Copyright (C) 2006 Free Software Foundation, Inc.
49611 This config.status script is free software; the Free Software Foundation
49612 gives unlimited permission to copy, distribute and modify it."
49613
49614 ac_pwd='$ac_pwd'
49615 srcdir='$srcdir'
49616 INSTALL='$INSTALL'
49617 _ACEOF
49618
49619 cat >>$CONFIG_STATUS <<\_ACEOF
49620 # If no file are specified by the user, then we need to provide default
49621 # value. By we need to know if files were specified by the user.
49622 ac_need_defaults=:
49623 while test $# != 0
49624 do
49625 case $1 in
49626 --*=*)
49627 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49628 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49629 ac_shift=:
49630 ;;
49631 *)
49632 ac_option=$1
49633 ac_optarg=$2
49634 ac_shift=shift
49635 ;;
49636 esac
49637
49638 case $ac_option in
49639 # Handling of the options.
49640 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49641 ac_cs_recheck=: ;;
49642 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49643 echo "$ac_cs_version"; exit ;;
49644 --debug | --debu | --deb | --de | --d | -d )
49645 debug=: ;;
49646 --file | --fil | --fi | --f )
49647 $ac_shift
49648 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49649 ac_need_defaults=false;;
49650 --header | --heade | --head | --hea )
49651 $ac_shift
49652 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49653 ac_need_defaults=false;;
49654 --he | --h)
49655 # Conflict between --help and --header
49656 { echo "$as_me: error: ambiguous option: $1
49657 Try \`$0 --help' for more information." >&2
49658 { (exit 1); exit 1; }; };;
49659 --help | --hel | -h )
49660 echo "$ac_cs_usage"; exit ;;
49661 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49662 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49663 ac_cs_silent=: ;;
49664
49665 # This is an error.
49666 -*) { echo "$as_me: error: unrecognized option: $1
49667 Try \`$0 --help' for more information." >&2
49668 { (exit 1); exit 1; }; } ;;
49669
49670 *) ac_config_targets="$ac_config_targets $1"
49671 ac_need_defaults=false ;;
49672
49673 esac
49674 shift
49675 done
49676
49677 ac_configure_extra_args=
49678
49679 if $ac_cs_silent; then
49680 exec 6>/dev/null
49681 ac_configure_extra_args="$ac_configure_extra_args --silent"
49682 fi
49683
49684 _ACEOF
49685 cat >>$CONFIG_STATUS <<_ACEOF
49686 if \$ac_cs_recheck; then
49687 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49688 CONFIG_SHELL=$SHELL
49689 export CONFIG_SHELL
49690 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49691 fi
49692
49693 _ACEOF
49694 cat >>$CONFIG_STATUS <<\_ACEOF
49695 exec 5>>config.log
49696 {
49697 echo
49698 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49699 ## Running $as_me. ##
49700 _ASBOX
49701 echo "$ac_log"
49702 } >&5
49703
49704 _ACEOF
49705 cat >>$CONFIG_STATUS <<_ACEOF
49706 #
49707 # INIT-COMMANDS
49708 #
49709
49710 CPP="$CPP"
49711 infile="$srcdir/include/wx/msw/genrcdefs.h"
49712 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49713
49714
49715 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49716 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49717 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49718 LN_S="${LN_S}"
49719
49720
49721 _ACEOF
49722
49723 cat >>$CONFIG_STATUS <<\_ACEOF
49724
49725 # Handling of arguments.
49726 for ac_config_target in $ac_config_targets
49727 do
49728 case $ac_config_target in
49729 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49730 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49731 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49732 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49733 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49734 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49735 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49736 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49737
49738 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49739 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49740 { (exit 1); exit 1; }; };;
49741 esac
49742 done
49743
49744
49745 # If the user did not use the arguments to specify the items to instantiate,
49746 # then the envvar interface is used. Set only those that are not.
49747 # We use the long form for the default assignment because of an extremely
49748 # bizarre bug on SunOS 4.1.3.
49749 if $ac_need_defaults; then
49750 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49751 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49752 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49753 fi
49754
49755 # Have a temporary directory for convenience. Make it in the build tree
49756 # simply because there is no reason against having it here, and in addition,
49757 # creating and moving files from /tmp can sometimes cause problems.
49758 # Hook for its removal unless debugging.
49759 # Note that there is a small window in which the directory will not be cleaned:
49760 # after its creation but before its name has been assigned to `$tmp'.
49761 $debug ||
49762 {
49763 tmp=
49764 trap 'exit_status=$?
49765 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49766 ' 0
49767 trap '{ (exit 1); exit 1; }' 1 2 13 15
49768 }
49769 # Create a (secure) tmp directory for tmp files.
49770
49771 {
49772 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49773 test -n "$tmp" && test -d "$tmp"
49774 } ||
49775 {
49776 tmp=./conf$$-$RANDOM
49777 (umask 077 && mkdir "$tmp")
49778 } ||
49779 {
49780 echo "$me: cannot create a temporary directory in ." >&2
49781 { (exit 1); exit 1; }
49782 }
49783
49784 #
49785 # Set up the sed scripts for CONFIG_FILES section.
49786 #
49787
49788 # No need to generate the scripts if there are no CONFIG_FILES.
49789 # This happens for instance when ./config.status config.h
49790 if test -n "$CONFIG_FILES"; then
49791
49792 _ACEOF
49793
49794
49795
49796 ac_delim='%!_!# '
49797 for ac_last_try in false false false false false :; do
49798 cat >conf$$subs.sed <<_ACEOF
49799 SHELL!$SHELL$ac_delim
49800 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49801 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49802 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49803 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49804 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49805 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49806 exec_prefix!$exec_prefix$ac_delim
49807 prefix!$prefix$ac_delim
49808 program_transform_name!$program_transform_name$ac_delim
49809 bindir!$bindir$ac_delim
49810 sbindir!$sbindir$ac_delim
49811 libexecdir!$libexecdir$ac_delim
49812 datarootdir!$datarootdir$ac_delim
49813 datadir!$datadir$ac_delim
49814 sysconfdir!$sysconfdir$ac_delim
49815 sharedstatedir!$sharedstatedir$ac_delim
49816 localstatedir!$localstatedir$ac_delim
49817 includedir!$includedir$ac_delim
49818 oldincludedir!$oldincludedir$ac_delim
49819 docdir!$docdir$ac_delim
49820 infodir!$infodir$ac_delim
49821 htmldir!$htmldir$ac_delim
49822 dvidir!$dvidir$ac_delim
49823 pdfdir!$pdfdir$ac_delim
49824 psdir!$psdir$ac_delim
49825 libdir!$libdir$ac_delim
49826 localedir!$localedir$ac_delim
49827 mandir!$mandir$ac_delim
49828 DEFS!$DEFS$ac_delim
49829 ECHO_C!$ECHO_C$ac_delim
49830 ECHO_N!$ECHO_N$ac_delim
49831 ECHO_T!$ECHO_T$ac_delim
49832 LIBS!$LIBS$ac_delim
49833 build_alias!$build_alias$ac_delim
49834 host_alias!$host_alias$ac_delim
49835 target_alias!$target_alias$ac_delim
49836 build!$build$ac_delim
49837 build_cpu!$build_cpu$ac_delim
49838 build_vendor!$build_vendor$ac_delim
49839 build_os!$build_os$ac_delim
49840 host!$host$ac_delim
49841 host_cpu!$host_cpu$ac_delim
49842 host_vendor!$host_vendor$ac_delim
49843 host_os!$host_os$ac_delim
49844 target!$target$ac_delim
49845 target_cpu!$target_cpu$ac_delim
49846 target_vendor!$target_vendor$ac_delim
49847 target_os!$target_os$ac_delim
49848 wx_top_builddir!$wx_top_builddir$ac_delim
49849 CC!$CC$ac_delim
49850 CFLAGS!$CFLAGS$ac_delim
49851 LDFLAGS!$LDFLAGS$ac_delim
49852 CPPFLAGS!$CPPFLAGS$ac_delim
49853 ac_ct_CC!$ac_ct_CC$ac_delim
49854 EXEEXT!$EXEEXT$ac_delim
49855 OBJEXT!$OBJEXT$ac_delim
49856 CPP!$CPP$ac_delim
49857 GREP!$GREP$ac_delim
49858 EGREP!$EGREP$ac_delim
49859 CXX!$CXX$ac_delim
49860 CXXFLAGS!$CXXFLAGS$ac_delim
49861 ac_ct_CXX!$ac_ct_CXX$ac_delim
49862 RANLIB!$RANLIB$ac_delim
49863 AR!$AR$ac_delim
49864 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49865 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49866 INSTALL_DATA!$INSTALL_DATA$ac_delim
49867 STRIP!$STRIP$ac_delim
49868 WINDRES!$WINDRES$ac_delim
49869 DLLTOOL!$DLLTOOL$ac_delim
49870 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49871 LN_S!$LN_S$ac_delim
49872 subdirs!$subdirs$ac_delim
49873 PKG_CONFIG!$PKG_CONFIG$ac_delim
49874 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49875 GTK_LIBS!$GTK_LIBS$ac_delim
49876 GTK_CONFIG!$GTK_CONFIG$ac_delim
49877 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49878 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49879 XMKMF!$XMKMF$ac_delim
49880 X_CFLAGS!$X_CFLAGS$ac_delim
49881 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49882 X_LIBS!$X_LIBS$ac_delim
49883 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49884 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49885 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49886 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49887 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49888 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49889 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49890 REZ!$REZ$ac_delim
49891 DEREZ!$DEREZ$ac_delim
49892 SETFILE!$SETFILE$ac_delim
49893 LIBICONV!$LIBICONV$ac_delim
49894 SDL_CONFIG!$SDL_CONFIG$ac_delim
49895 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49896 _ACEOF
49897
49898 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49899 break
49900 elif $ac_last_try; then
49901 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49902 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49903 { (exit 1); exit 1; }; }
49904 else
49905 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49906 fi
49907 done
49908
49909 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49910 if test -n "$ac_eof"; then
49911 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49912 ac_eof=`expr $ac_eof + 1`
49913 fi
49914
49915 cat >>$CONFIG_STATUS <<_ACEOF
49916 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49918 _ACEOF
49919 sed '
49920 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49921 s/^/s,@/; s/!/@,|#_!!_#|/
49922 :n
49923 t n
49924 s/'"$ac_delim"'$/,g/; t
49925 s/$/\\/; p
49926 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49927 ' >>$CONFIG_STATUS <conf$$subs.sed
49928 rm -f conf$$subs.sed
49929 cat >>$CONFIG_STATUS <<_ACEOF
49930 CEOF$ac_eof
49931 _ACEOF
49932
49933
49934 ac_delim='%!_!# '
49935 for ac_last_try in false false false false false :; do
49936 cat >conf$$subs.sed <<_ACEOF
49937 SDL_LIBS!$SDL_LIBS$ac_delim
49938 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49939 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49940 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49941 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49942 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49943 HILDON_LIBS!$HILDON_LIBS$ac_delim
49944 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49945 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49946 GST_CFLAGS!$GST_CFLAGS$ac_delim
49947 GST_LIBS!$GST_LIBS$ac_delim
49948 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49949 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49950 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49951 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49952 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49953 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49954 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49955 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49956 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49957 VENDOR!$VENDOR$ac_delim
49958 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49959 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49960 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49961 WXUNIV!$WXUNIV$ac_delim
49962 MONOLITHIC!$MONOLITHIC$ac_delim
49963 USE_PLUGINS!$USE_PLUGINS$ac_delim
49964 CXXWARNINGS!$CXXWARNINGS$ac_delim
49965 EXTRALIBS!$EXTRALIBS$ac_delim
49966 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49967 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49968 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49969 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49970 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49971 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49972 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49973 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49974 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49975 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49976 UNICODE!$UNICODE$ac_delim
49977 BUILD!$BUILD$ac_delim
49978 DEBUG_INFO!$DEBUG_INFO$ac_delim
49979 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49980 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49981 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49982 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49983 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49984 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49985 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49986 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49987 SET_MAKE!$SET_MAKE$ac_delim
49988 MAKE_SET!$MAKE_SET$ac_delim
49989 AROPTIONS!$AROPTIONS$ac_delim
49990 NM!$NM$ac_delim
49991 INSTALL_DIR!$INSTALL_DIR$ac_delim
49992 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49993 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49994 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49995 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49996 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49997 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49998 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49999 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50000 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50001 SO_SUFFIX!$SO_SUFFIX$ac_delim
50002 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50003 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50004 LIBPREFIX!$LIBPREFIX$ac_delim
50005 LIBEXT!$LIBEXT$ac_delim
50006 DLLPREFIX!$DLLPREFIX$ac_delim
50007 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50008 dlldir!$dlldir$ac_delim
50009 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50010 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50011 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50012 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50013 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50014 PIC_FLAG!$PIC_FLAG$ac_delim
50015 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50016 USE_SOVERSION!$USE_SOVERSION$ac_delim
50017 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50018 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50019 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50020 USE_MACVERSION!$USE_MACVERSION$ac_delim
50021 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50022 SONAME_FLAG!$SONAME_FLAG$ac_delim
50023 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50024 BK_DEPS!$BK_DEPS$ac_delim
50025 GCC_PCH!$GCC_PCH$ac_delim
50026 ICC_PCH!$ICC_PCH$ac_delim
50027 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50028 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50029 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50030 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50031 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50032 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50033 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50034 _ACEOF
50035
50036 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50037 break
50038 elif $ac_last_try; then
50039 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50040 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50041 { (exit 1); exit 1; }; }
50042 else
50043 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50044 fi
50045 done
50046
50047 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50048 if test -n "$ac_eof"; then
50049 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50050 ac_eof=`expr $ac_eof + 1`
50051 fi
50052
50053 cat >>$CONFIG_STATUS <<_ACEOF
50054 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50055 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50056 _ACEOF
50057 sed '
50058 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50059 s/^/s,@/; s/!/@,|#_!!_#|/
50060 :n
50061 t n
50062 s/'"$ac_delim"'$/,g/; t
50063 s/$/\\/; p
50064 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50065 ' >>$CONFIG_STATUS <conf$$subs.sed
50066 rm -f conf$$subs.sed
50067 cat >>$CONFIG_STATUS <<_ACEOF
50068 CEOF$ac_eof
50069 _ACEOF
50070
50071
50072 ac_delim='%!_!# '
50073 for ac_last_try in false false false false false :; do
50074 cat >conf$$subs.sed <<_ACEOF
50075 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50076 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50077 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50078 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50079 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50080 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50081 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50082 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50083 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50084 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50085 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50086 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50087 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50089 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50090 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50091 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50093 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50094 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50095 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50096 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50097 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50098 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50099 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50101 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50103 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50104 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50105 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50106 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50107 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50108 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50109 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50110 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50111 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50112 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50113 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50114 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50115 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50116 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50117 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50118 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50119 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50120 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50121 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50122 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50123 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50124 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50125 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50126 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50127 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50128 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50130 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50131 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50132 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50133 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50134 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50135 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50136 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50137 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50138 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50139 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50140 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50141 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50142 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50143 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50144 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50145 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50146 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50147 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50148 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50149 COND_SHARED_0!$COND_SHARED_0$ac_delim
50150 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50151 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50152 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50153 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50156 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50157 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50158 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50159 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50160 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50161 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50162 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50163 COND_SHARED_1!$COND_SHARED_1$ac_delim
50164 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50165 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50166 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50167 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50168 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50169 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50170 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50171 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50172 _ACEOF
50173
50174 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50175 break
50176 elif $ac_last_try; then
50177 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50178 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50179 { (exit 1); exit 1; }; }
50180 else
50181 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50182 fi
50183 done
50184
50185 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50186 if test -n "$ac_eof"; then
50187 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50188 ac_eof=`expr $ac_eof + 1`
50189 fi
50190
50191 cat >>$CONFIG_STATUS <<_ACEOF
50192 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50194 _ACEOF
50195 sed '
50196 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50197 s/^/s,@/; s/!/@,|#_!!_#|/
50198 :n
50199 t n
50200 s/'"$ac_delim"'$/,g/; t
50201 s/$/\\/; p
50202 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50203 ' >>$CONFIG_STATUS <conf$$subs.sed
50204 rm -f conf$$subs.sed
50205 cat >>$CONFIG_STATUS <<_ACEOF
50206 CEOF$ac_eof
50207 _ACEOF
50208
50209
50210 ac_delim='%!_!# '
50211 for ac_last_try in false false false false false :; do
50212 cat >conf$$subs.sed <<_ACEOF
50213 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50214 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50216 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50217 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50218 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50219 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50220 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50221 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50222 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50223 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50224 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50225 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50226 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50227 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50228 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50229 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50230 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50231 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50232 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50233 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50234 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50235 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50236 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50237 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50238 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50239 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50240 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50241 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50242 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50243 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50244 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50245 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50246 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50247 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50248 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50249 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50250 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50251 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50252 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50253 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50254 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50255 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50256 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50257 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50258 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50259 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50260 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50261 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50262 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50263 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50264 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50265 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50266 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50267 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50268 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50269 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50270 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50271 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50272 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50273 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50274 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50275 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50276 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50277 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50278 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50279 SHARED!$SHARED$ac_delim
50280 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50281 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50282 USE_GUI!$USE_GUI$ac_delim
50283 AFMINSTALL!$AFMINSTALL$ac_delim
50284 WIN32INSTALL!$WIN32INSTALL$ac_delim
50285 TOOLKIT!$TOOLKIT$ac_delim
50286 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50287 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50288 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50289 cross_compiling!$cross_compiling$ac_delim
50290 WIDGET_SET!$WIDGET_SET$ac_delim
50291 WX_RELEASE!$WX_RELEASE$ac_delim
50292 WX_VERSION!$WX_VERSION$ac_delim
50293 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50294 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50295 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50296 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50297 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50298 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50299 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50300 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50301 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50302 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50303 EXE_LINKER!$EXE_LINKER$ac_delim
50304 GUIDIST!$GUIDIST$ac_delim
50305 DISTDIR!$DISTDIR$ac_delim
50306 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50307 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50308 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50309 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50310 _ACEOF
50311
50312 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50313 break
50314 elif $ac_last_try; then
50315 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50316 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50317 { (exit 1); exit 1; }; }
50318 else
50319 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50320 fi
50321 done
50322
50323 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50324 if test -n "$ac_eof"; then
50325 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50326 ac_eof=`expr $ac_eof + 1`
50327 fi
50328
50329 cat >>$CONFIG_STATUS <<_ACEOF
50330 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50331 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50332 _ACEOF
50333 sed '
50334 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50335 s/^/s,@/; s/!/@,|#_!!_#|/
50336 :n
50337 t n
50338 s/'"$ac_delim"'$/,g/; t
50339 s/$/\\/; p
50340 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50341 ' >>$CONFIG_STATUS <conf$$subs.sed
50342 rm -f conf$$subs.sed
50343 cat >>$CONFIG_STATUS <<_ACEOF
50344 CEOF$ac_eof
50345 _ACEOF
50346
50347
50348 ac_delim='%!_!# '
50349 for ac_last_try in false false false false false :; do
50350 cat >conf$$subs.sed <<_ACEOF
50351 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50352 RESCOMP!$RESCOMP$ac_delim
50353 RESFLAGS!$RESFLAGS$ac_delim
50354 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50355 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50356 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50357 LIBWXMACRES!$LIBWXMACRES$ac_delim
50358 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50359 MACSETFILE!$MACSETFILE$ac_delim
50360 GCC!$GCC$ac_delim
50361 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50362 LIBOBJS!$LIBOBJS$ac_delim
50363 LTLIBOBJS!$LTLIBOBJS$ac_delim
50364 _ACEOF
50365
50366 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50367 break
50368 elif $ac_last_try; then
50369 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50370 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50371 { (exit 1); exit 1; }; }
50372 else
50373 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50374 fi
50375 done
50376
50377 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50378 if test -n "$ac_eof"; then
50379 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50380 ac_eof=`expr $ac_eof + 1`
50381 fi
50382
50383 cat >>$CONFIG_STATUS <<_ACEOF
50384 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50385 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50386 _ACEOF
50387 sed '
50388 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50389 s/^/s,@/; s/!/@,|#_!!_#|/
50390 :n
50391 t n
50392 s/'"$ac_delim"'$/,g/; t
50393 s/$/\\/; p
50394 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50395 ' >>$CONFIG_STATUS <conf$$subs.sed
50396 rm -f conf$$subs.sed
50397 cat >>$CONFIG_STATUS <<_ACEOF
50398 :end
50399 s/|#_!!_#|//g
50400 CEOF$ac_eof
50401 _ACEOF
50402
50403
50404 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50405 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50406 # trailing colons and then remove the whole line if VPATH becomes empty
50407 # (actually we leave an empty line to preserve line numbers).
50408 if test "x$srcdir" = x.; then
50409 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50410 s/:*\$(srcdir):*/:/
50411 s/:*\${srcdir}:*/:/
50412 s/:*@srcdir@:*/:/
50413 s/^\([^=]*=[ ]*\):*/\1/
50414 s/:*$//
50415 s/^[^=]*=[ ]*$//
50416 }'
50417 fi
50418
50419 cat >>$CONFIG_STATUS <<\_ACEOF
50420 fi # test -n "$CONFIG_FILES"
50421
50422
50423 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50424 do
50425 case $ac_tag in
50426 :[FHLC]) ac_mode=$ac_tag; continue;;
50427 esac
50428 case $ac_mode$ac_tag in
50429 :[FHL]*:*);;
50430 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50431 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50432 { (exit 1); exit 1; }; };;
50433 :[FH]-) ac_tag=-:-;;
50434 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50435 esac
50436 ac_save_IFS=$IFS
50437 IFS=:
50438 set x $ac_tag
50439 IFS=$ac_save_IFS
50440 shift
50441 ac_file=$1
50442 shift
50443
50444 case $ac_mode in
50445 :L) ac_source=$1;;
50446 :[FH])
50447 ac_file_inputs=
50448 for ac_f
50449 do
50450 case $ac_f in
50451 -) ac_f="$tmp/stdin";;
50452 *) # Look for the file first in the build tree, then in the source tree
50453 # (if the path is not absolute). The absolute path cannot be DOS-style,
50454 # because $ac_f cannot contain `:'.
50455 test -f "$ac_f" ||
50456 case $ac_f in
50457 [\\/$]*) false;;
50458 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50459 esac ||
50460 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50461 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50462 { (exit 1); exit 1; }; };;
50463 esac
50464 ac_file_inputs="$ac_file_inputs $ac_f"
50465 done
50466
50467 # Let's still pretend it is `configure' which instantiates (i.e., don't
50468 # use $as_me), people would be surprised to read:
50469 # /* config.h. Generated by config.status. */
50470 configure_input="Generated from "`IFS=:
50471 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50472 if test x"$ac_file" != x-; then
50473 configure_input="$ac_file. $configure_input"
50474 { echo "$as_me:$LINENO: creating $ac_file" >&5
50475 echo "$as_me: creating $ac_file" >&6;}
50476 fi
50477
50478 case $ac_tag in
50479 *:-:* | *:-) cat >"$tmp/stdin";;
50480 esac
50481 ;;
50482 esac
50483
50484 ac_dir=`$as_dirname -- "$ac_file" ||
50485 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50486 X"$ac_file" : 'X\(//\)[^/]' \| \
50487 X"$ac_file" : 'X\(//\)$' \| \
50488 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50489 echo X"$ac_file" |
50490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50491 s//\1/
50492 q
50493 }
50494 /^X\(\/\/\)[^/].*/{
50495 s//\1/
50496 q
50497 }
50498 /^X\(\/\/\)$/{
50499 s//\1/
50500 q
50501 }
50502 /^X\(\/\).*/{
50503 s//\1/
50504 q
50505 }
50506 s/.*/./; q'`
50507 { as_dir="$ac_dir"
50508 case $as_dir in #(
50509 -*) as_dir=./$as_dir;;
50510 esac
50511 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50512 as_dirs=
50513 while :; do
50514 case $as_dir in #(
50515 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50516 *) as_qdir=$as_dir;;
50517 esac
50518 as_dirs="'$as_qdir' $as_dirs"
50519 as_dir=`$as_dirname -- "$as_dir" ||
50520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50521 X"$as_dir" : 'X\(//\)[^/]' \| \
50522 X"$as_dir" : 'X\(//\)$' \| \
50523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50524 echo X"$as_dir" |
50525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50526 s//\1/
50527 q
50528 }
50529 /^X\(\/\/\)[^/].*/{
50530 s//\1/
50531 q
50532 }
50533 /^X\(\/\/\)$/{
50534 s//\1/
50535 q
50536 }
50537 /^X\(\/\).*/{
50538 s//\1/
50539 q
50540 }
50541 s/.*/./; q'`
50542 test -d "$as_dir" && break
50543 done
50544 test -z "$as_dirs" || eval "mkdir $as_dirs"
50545 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50546 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50547 { (exit 1); exit 1; }; }; }
50548 ac_builddir=.
50549
50550 case "$ac_dir" in
50551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50552 *)
50553 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50554 # A ".." for each directory in $ac_dir_suffix.
50555 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50556 case $ac_top_builddir_sub in
50557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50559 esac ;;
50560 esac
50561 ac_abs_top_builddir=$ac_pwd
50562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50563 # for backward compatibility:
50564 ac_top_builddir=$ac_top_build_prefix
50565
50566 case $srcdir in
50567 .) # We are building in place.
50568 ac_srcdir=.
50569 ac_top_srcdir=$ac_top_builddir_sub
50570 ac_abs_top_srcdir=$ac_pwd ;;
50571 [\\/]* | ?:[\\/]* ) # Absolute name.
50572 ac_srcdir=$srcdir$ac_dir_suffix;
50573 ac_top_srcdir=$srcdir
50574 ac_abs_top_srcdir=$srcdir ;;
50575 *) # Relative name.
50576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50577 ac_top_srcdir=$ac_top_build_prefix$srcdir
50578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50579 esac
50580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50581
50582
50583 case $ac_mode in
50584 :F)
50585 #
50586 # CONFIG_FILE
50587 #
50588
50589 case $INSTALL in
50590 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50591 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50592 esac
50593 _ACEOF
50594
50595 cat >>$CONFIG_STATUS <<\_ACEOF
50596 # If the template does not know about datarootdir, expand it.
50597 # FIXME: This hack should be removed a few years after 2.60.
50598 ac_datarootdir_hack=; ac_datarootdir_seen=
50599
50600 case `sed -n '/datarootdir/ {
50601 p
50602 q
50603 }
50604 /@datadir@/p
50605 /@docdir@/p
50606 /@infodir@/p
50607 /@localedir@/p
50608 /@mandir@/p
50609 ' $ac_file_inputs` in
50610 *datarootdir*) ac_datarootdir_seen=yes;;
50611 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50612 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50613 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50614 _ACEOF
50615 cat >>$CONFIG_STATUS <<_ACEOF
50616 ac_datarootdir_hack='
50617 s&@datadir@&$datadir&g
50618 s&@docdir@&$docdir&g
50619 s&@infodir@&$infodir&g
50620 s&@localedir@&$localedir&g
50621 s&@mandir@&$mandir&g
50622 s&\\\${datarootdir}&$datarootdir&g' ;;
50623 esac
50624 _ACEOF
50625
50626 # Neutralize VPATH when `$srcdir' = `.'.
50627 # Shell code in configure.ac might set extrasub.
50628 # FIXME: do we really want to maintain this feature?
50629 cat >>$CONFIG_STATUS <<_ACEOF
50630 sed "$ac_vpsub
50631 $extrasub
50632 _ACEOF
50633 cat >>$CONFIG_STATUS <<\_ACEOF
50634 :t
50635 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50636 s&@configure_input@&$configure_input&;t t
50637 s&@top_builddir@&$ac_top_builddir_sub&;t t
50638 s&@srcdir@&$ac_srcdir&;t t
50639 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50640 s&@top_srcdir@&$ac_top_srcdir&;t t
50641 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50642 s&@builddir@&$ac_builddir&;t t
50643 s&@abs_builddir@&$ac_abs_builddir&;t t
50644 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50645 s&@INSTALL@&$ac_INSTALL&;t t
50646 $ac_datarootdir_hack
50647 " $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
50648
50649 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50650 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50651 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50652 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50653 which seems to be undefined. Please make sure it is defined." >&5
50654 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50655 which seems to be undefined. Please make sure it is defined." >&2;}
50656
50657 rm -f "$tmp/stdin"
50658 case $ac_file in
50659 -) cat "$tmp/out"; rm -f "$tmp/out";;
50660 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50661 esac
50662 ;;
50663 :H)
50664 #
50665 # CONFIG_HEADER
50666 #
50667 _ACEOF
50668
50669 # Transform confdefs.h into a sed script `conftest.defines', that
50670 # substitutes the proper values into config.h.in to produce config.h.
50671 rm -f conftest.defines conftest.tail
50672 # First, append a space to every undef/define line, to ease matching.
50673 echo 's/$/ /' >conftest.defines
50674 # Then, protect against being on the right side of a sed subst, or in
50675 # an unquoted here document, in config.status. If some macros were
50676 # called several times there might be several #defines for the same
50677 # symbol, which is useless. But do not sort them, since the last
50678 # AC_DEFINE must be honored.
50679 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50680 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50681 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50682 # PARAMS is the parameter list in the macro definition--in most cases, it's
50683 # just an empty string.
50684 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50685 ac_dB='\\)[ (].*,\\1define\\2'
50686 ac_dC=' '
50687 ac_dD=' ,'
50688
50689 uniq confdefs.h |
50690 sed -n '
50691 t rset
50692 :rset
50693 s/^[ ]*#[ ]*define[ ][ ]*//
50694 t ok
50695 d
50696 :ok
50697 s/[\\&,]/\\&/g
50698 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50699 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50700 ' >>conftest.defines
50701
50702 # Remove the space that was appended to ease matching.
50703 # Then replace #undef with comments. This is necessary, for
50704 # example, in the case of _POSIX_SOURCE, which is predefined and required
50705 # on some systems where configure will not decide to define it.
50706 # (The regexp can be short, since the line contains either #define or #undef.)
50707 echo 's/ $//
50708 s,^[ #]*u.*,/* & */,' >>conftest.defines
50709
50710 # Break up conftest.defines:
50711 ac_max_sed_lines=50
50712
50713 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50714 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50715 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50716 # et cetera.
50717 ac_in='$ac_file_inputs'
50718 ac_out='"$tmp/out1"'
50719 ac_nxt='"$tmp/out2"'
50720
50721 while :
50722 do
50723 # Write a here document:
50724 cat >>$CONFIG_STATUS <<_ACEOF
50725 # First, check the format of the line:
50726 cat >"\$tmp/defines.sed" <<\\CEOF
50727 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50728 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50729 b
50730 :def
50731 _ACEOF
50732 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50733 echo 'CEOF
50734 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50735 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50736 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50737 grep . conftest.tail >/dev/null || break
50738 rm -f conftest.defines
50739 mv conftest.tail conftest.defines
50740 done
50741 rm -f conftest.defines conftest.tail
50742
50743 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50744 cat >>$CONFIG_STATUS <<\_ACEOF
50745 if test x"$ac_file" != x-; then
50746 echo "/* $configure_input */" >"$tmp/config.h"
50747 cat "$ac_result" >>"$tmp/config.h"
50748 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50749 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50750 echo "$as_me: $ac_file is unchanged" >&6;}
50751 else
50752 rm -f $ac_file
50753 mv "$tmp/config.h" $ac_file
50754 fi
50755 else
50756 echo "/* $configure_input */"
50757 cat "$ac_result"
50758 fi
50759 rm -f "$tmp/out12"
50760 ;;
50761
50762 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50763 echo "$as_me: executing $ac_file commands" >&6;}
50764 ;;
50765 esac
50766
50767
50768 case $ac_file$ac_mode in
50769 "rcdefs.h":C)
50770 mkdir -p $outdir &&
50771 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50772 ;;
50773 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50774 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50775 "wx-config":C) rm -f wx-config
50776 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50777 ;;
50778
50779 esac
50780 done # for ac_tag
50781
50782
50783 { (exit 0); exit 0; }
50784 _ACEOF
50785 chmod +x $CONFIG_STATUS
50786 ac_clean_files=$ac_clean_files_save
50787
50788
50789 # configure is writing to config.log, and then calls config.status.
50790 # config.status does its own redirection, appending to config.log.
50791 # Unfortunately, on DOS this fails, as config.log is still kept open
50792 # by configure, so config.status won't be able to write to it; its
50793 # output is simply discarded. So we exec the FD to /dev/null,
50794 # effectively closing config.log, so it can be properly (re)opened and
50795 # appended to by config.status. When coming back to configure, we
50796 # need to make the FD available again.
50797 if test "$no_create" != yes; then
50798 ac_cs_success=:
50799 ac_config_status_args=
50800 test "$silent" = yes &&
50801 ac_config_status_args="$ac_config_status_args --quiet"
50802 exec 5>/dev/null
50803 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50804 exec 5>>config.log
50805 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50806 # would make configure fail if this is the last instruction.
50807 $ac_cs_success || { (exit 1); exit 1; }
50808 fi
50809
50810 #
50811 # CONFIG_SUBDIRS section.
50812 #
50813 if test "$no_recursion" != yes; then
50814
50815 # Remove --cache-file and --srcdir arguments so they do not pile up.
50816 ac_sub_configure_args=
50817 ac_prev=
50818 eval "set x $ac_configure_args"
50819 shift
50820 for ac_arg
50821 do
50822 if test -n "$ac_prev"; then
50823 ac_prev=
50824 continue
50825 fi
50826 case $ac_arg in
50827 -cache-file | --cache-file | --cache-fil | --cache-fi \
50828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50829 ac_prev=cache_file ;;
50830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50832 | --c=*)
50833 ;;
50834 --config-cache | -C)
50835 ;;
50836 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50837 ac_prev=srcdir ;;
50838 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50839 ;;
50840 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50841 ac_prev=prefix ;;
50842 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50843 ;;
50844 *)
50845 case $ac_arg in
50846 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50847 esac
50848 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50849 esac
50850 done
50851
50852 # Always prepend --prefix to ensure using the same prefix
50853 # in subdir configurations.
50854 ac_arg="--prefix=$prefix"
50855 case $ac_arg in
50856 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50857 esac
50858 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50859
50860 # Pass --silent
50861 if test "$silent" = yes; then
50862 ac_sub_configure_args="--silent $ac_sub_configure_args"
50863 fi
50864
50865 ac_popdir=`pwd`
50866 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50867
50868 # Do not complain, so a configure script can configure whichever
50869 # parts of a large source tree are present.
50870 test -d "$srcdir/$ac_dir" || continue
50871
50872 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50873 echo "$as_me:$LINENO: $ac_msg" >&5
50874 echo "$ac_msg" >&6
50875 { as_dir="$ac_dir"
50876 case $as_dir in #(
50877 -*) as_dir=./$as_dir;;
50878 esac
50879 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50880 as_dirs=
50881 while :; do
50882 case $as_dir in #(
50883 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50884 *) as_qdir=$as_dir;;
50885 esac
50886 as_dirs="'$as_qdir' $as_dirs"
50887 as_dir=`$as_dirname -- "$as_dir" ||
50888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50889 X"$as_dir" : 'X\(//\)[^/]' \| \
50890 X"$as_dir" : 'X\(//\)$' \| \
50891 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50892 echo X"$as_dir" |
50893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50894 s//\1/
50895 q
50896 }
50897 /^X\(\/\/\)[^/].*/{
50898 s//\1/
50899 q
50900 }
50901 /^X\(\/\/\)$/{
50902 s//\1/
50903 q
50904 }
50905 /^X\(\/\).*/{
50906 s//\1/
50907 q
50908 }
50909 s/.*/./; q'`
50910 test -d "$as_dir" && break
50911 done
50912 test -z "$as_dirs" || eval "mkdir $as_dirs"
50913 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50914 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50915 { (exit 1); exit 1; }; }; }
50916 ac_builddir=.
50917
50918 case "$ac_dir" in
50919 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50920 *)
50921 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50922 # A ".." for each directory in $ac_dir_suffix.
50923 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50924 case $ac_top_builddir_sub in
50925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50927 esac ;;
50928 esac
50929 ac_abs_top_builddir=$ac_pwd
50930 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50931 # for backward compatibility:
50932 ac_top_builddir=$ac_top_build_prefix
50933
50934 case $srcdir in
50935 .) # We are building in place.
50936 ac_srcdir=.
50937 ac_top_srcdir=$ac_top_builddir_sub
50938 ac_abs_top_srcdir=$ac_pwd ;;
50939 [\\/]* | ?:[\\/]* ) # Absolute name.
50940 ac_srcdir=$srcdir$ac_dir_suffix;
50941 ac_top_srcdir=$srcdir
50942 ac_abs_top_srcdir=$srcdir ;;
50943 *) # Relative name.
50944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50945 ac_top_srcdir=$ac_top_build_prefix$srcdir
50946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50947 esac
50948 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50949
50950
50951 cd "$ac_dir"
50952
50953 # Check for guested configure; otherwise get Cygnus style configure.
50954 if test -f "$ac_srcdir/configure.gnu"; then
50955 ac_sub_configure=$ac_srcdir/configure.gnu
50956 elif test -f "$ac_srcdir/configure"; then
50957 ac_sub_configure=$ac_srcdir/configure
50958 elif test -f "$ac_srcdir/configure.in"; then
50959 # This should be Cygnus configure.
50960 ac_sub_configure=$ac_aux_dir/configure
50961 else
50962 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50964 ac_sub_configure=
50965 fi
50966
50967 # The recursion is here.
50968 if test -n "$ac_sub_configure"; then
50969 # Make the cache file name correct relative to the subdirectory.
50970 case $cache_file in
50971 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50972 *) # Relative name.
50973 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50974 esac
50975
50976 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50977 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50978 # The eval makes quoting arguments work.
50979 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50980 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50981 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50982 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50983 { (exit 1); exit 1; }; }
50984 fi
50985
50986 cd "$ac_popdir"
50987 done
50988 fi
50989
50990
50991 echo
50992 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50993 echo ""
50994 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50995 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50996
50997 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50998 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50999 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51000 if test "$wxUSE_UNICODE" = "yes"; then
51001 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51002 echo " (using UTF-8)"
51003 else
51004 echo " (using wchar_t)"
51005 fi
51006 else
51007 echo
51008 fi
51009
51010 echo " What level of wxWidgets compatibility should be enabled?"
51011 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51012 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51013
51014 echo " Which libraries should wxWidgets use?"
51015 echo " jpeg ${wxUSE_LIBJPEG-none}"
51016 echo " png ${wxUSE_LIBPNG-none}"
51017 echo " regex ${wxUSE_REGEX}"
51018 echo " tiff ${wxUSE_LIBTIFF-none}"
51019 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51020 echo " xpm ${wxUSE_LIBXPM-none}"
51021 fi
51022 echo " zlib ${wxUSE_ZLIB}"
51023 echo " odbc ${wxUSE_ODBC}"
51024 echo " expat ${wxUSE_EXPAT}"
51025 echo " libmspack ${wxUSE_LIBMSPACK}"
51026 echo " sdl ${wxUSE_LIBSDL}"
51027
51028 echo ""
51029