]> git.saurik.com Git - wxWidgets.git/blob - configure
Ctrl-H must not be used on Mac...
[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 EXTRALIBS_ESD
715 SDL_CONFIG
716 SDL_CFLAGS
717 SDL_LIBS
718 LIBGNOMEPRINTUI_CFLAGS
719 LIBGNOMEPRINTUI_LIBS
720 GNOMEVFS_CFLAGS
721 GNOMEVFS_LIBS
722 HILDON_CFLAGS
723 HILDON_LIBS
724 CAIRO_CFLAGS
725 CAIRO_LIBS
726 GST_CFLAGS
727 GST_LIBS
728 CORE_BASE_LIBS
729 CORE_GUI_LIBS
730 wxUSE_ZLIB
731 wxUSE_REGEX
732 wxUSE_EXPAT
733 wxUSE_ODBC
734 wxUSE_LIBJPEG
735 wxUSE_LIBPNG
736 wxUSE_LIBTIFF
737 VENDOR
738 OFFICIAL_BUILD
739 WX_FLAVOUR
740 WX_LIB_FLAVOUR
741 WXUNIV
742 MONOLITHIC
743 USE_PLUGINS
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_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
844 COND_MONOLITHIC_0_USE_MEDIA_1
845 COND_MONOLITHIC_0_USE_ODBC_1
846 COND_MONOLITHIC_1
847 COND_MONOLITHIC_1_SHARED_0
848 COND_MONOLITHIC_1_SHARED_1
849 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
850 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
851 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
852 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
853 COND_PLATFORM_MACOSX_1
854 COND_PLATFORM_MACOSX_1_TOOLKIT_
855 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
856 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
859 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
860 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
861 COND_PLATFORM_MACOSX_1_USE_GUI_1
862 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
863 COND_PLATFORM_MACOS_1
864 COND_PLATFORM_MAC_1
865 COND_PLATFORM_MSDOS_0
866 COND_PLATFORM_MSDOS_1
867 COND_PLATFORM_OS2_1
868 COND_PLATFORM_UNIX_0
869 COND_PLATFORM_UNIX_1
870 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
872 COND_PLATFORM_UNIX_1_USE_GUI_1
873 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
874 COND_PLATFORM_WIN32_0
875 COND_PLATFORM_WIN32_1
876 COND_SHARED_0
877 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
878 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
879 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
880 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
881 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
883 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
884 COND_SHARED_0_USE_XRC_1
885 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
886 COND_SHARED_0_WXUSE_ODBC_BUILTIN
887 COND_SHARED_0_WXUSE_REGEX_BUILTIN
888 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
889 COND_SHARED_1
890 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_1_USE_XRC_1
892 COND_TOOLKIT_
893 COND_TOOLKIT_COCOA
894 COND_TOOLKIT_COCOA_USE_GUI_1
895 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
896 COND_TOOLKIT_DFB
897 COND_TOOLKIT_DFB_USE_GUI_1
898 COND_TOOLKIT_GTK
899 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
905 COND_TOOLKIT_GTK_USE_GUI_1
906 COND_TOOLKIT_MAC
907 COND_TOOLKIT_MAC_USE_GUI_1
908 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
909 COND_TOOLKIT_MGL
910 COND_TOOLKIT_MGL_USE_GUI_1
911 COND_TOOLKIT_MOTIF
912 COND_TOOLKIT_MOTIF_USE_GUI_1
913 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_MSW
915 COND_TOOLKIT_MSW_USE_GUI_1
916 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MSW_WXUNIV_0
918 COND_TOOLKIT_PM
919 COND_TOOLKIT_PM_USE_GUI_1
920 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_WINCE
922 COND_TOOLKIT_WINCE_USE_GUI_1
923 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_WINCE_WXUNIV_0
925 COND_TOOLKIT_X11
926 COND_TOOLKIT_X11_USE_GUI_1
927 COND_UNICODE_1
928 COND_USE_EXCEPTIONS_0
929 COND_USE_EXCEPTIONS_1
930 COND_USE_GUI_0
931 COND_USE_GUI_1
932 COND_USE_GUI_1_WXUNIV_0
933 COND_USE_GUI_1_WXUNIV_1
934 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
935 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
936 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
937 COND_USE_ODBC_1
938 COND_USE_OPENGL_1
939 COND_USE_PCH_1
940 COND_USE_PLUGINS_0
941 COND_USE_RTTI_0
942 COND_USE_RTTI_1
943 COND_USE_SOSYMLINKS_1
944 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
945 COND_USE_SOVERLINUX_1
946 COND_USE_SOVERSION_0
947 COND_USE_SOVERSOLARIS_1
948 COND_USE_THREADS_0
949 COND_USE_THREADS_1
950 COND_USE_XRC_1
951 COND_WINDOWS_IMPLIB_1
952 COND_WITH_PLUGIN_SDL_1
953 COND_WXUNIV_0
954 COND_WXUNIV_1
955 COND_WXUSE_EXPAT_BUILTIN
956 COND_WXUSE_LIBJPEG_BUILTIN
957 COND_WXUSE_LIBPNG_BUILTIN
958 COND_WXUSE_LIBTIFF_BUILTIN
959 COND_WXUSE_ODBC_BUILTIN
960 COND_WXUSE_REGEX_BUILTIN
961 COND_WXUSE_ZLIB_BUILTIN
962 SHARED
963 WX_LIBRARY_BASENAME_NOGUI
964 WX_LIBRARY_BASENAME_GUI
965 USE_GUI
966 AFMINSTALL
967 WIN32INSTALL
968 TOOLKIT
969 TOOLKIT_DIR
970 TOOLCHAIN_NAME
971 TOOLCHAIN_FULLNAME
972 cross_compiling
973 WIDGET_SET
974 WX_RELEASE
975 WX_VERSION
976 WX_SUBVERSION
977 WX_CHARTYPE
978 WX_DEBUGTYPE
979 WXCONFIG_CPPFLAGS
980 WXCONFIG_CFLAGS
981 WXCONFIG_CXXFLAGS
982 WXCONFIG_LIBS
983 WXCONFIG_RPATH
984 WXCONFIG_LDFLAGS_GUI
985 WXCONFIG_RESFLAGS
986 EXE_LINKER
987 GUIDIST
988 DISTDIR
989 SAMPLES_SUBDIRS
990 LDFLAGS_GL
991 OPENGL_LIBS
992 DMALLOC_LIBS
993 WX_VERSION_TAG
994 RESCOMP
995 RESFLAGS
996 RESPROGRAMOBJ
997 WX_RESOURCES_MACOSX_ASCII
998 WX_RESOURCES_MACOSX_DATA
999 LIBWXMACRES
1000 POSTLINK_COMMAND
1001 MACSETFILE
1002 GCC
1003 CPPUNIT_CONFIG
1004 LIBOBJS
1005 LTLIBOBJS'
1006 ac_subst_files=''
1007 ac_precious_vars='build_alias
1008 host_alias
1009 target_alias
1010 CC
1011 CFLAGS
1012 LDFLAGS
1013 LIBS
1014 CPPFLAGS
1015 CPP
1016 CXX
1017 CXXFLAGS
1018 CCC
1019 PKG_CONFIG
1020 DIRECTFB_CFLAGS
1021 DIRECTFB_LIBS
1022 XMKMF
1023 PANGOX_CFLAGS
1024 PANGOX_LIBS
1025 PANGOFT2_CFLAGS
1026 PANGOFT2_LIBS
1027 PANGOXFT_CFLAGS
1028 PANGOXFT_LIBS
1029 LIBGNOMEPRINTUI_CFLAGS
1030 LIBGNOMEPRINTUI_LIBS
1031 GNOMEVFS_CFLAGS
1032 GNOMEVFS_LIBS
1033 HILDON_CFLAGS
1034 HILDON_LIBS
1035 CAIRO_CFLAGS
1036 CAIRO_LIBS
1037 GST_CFLAGS
1038 GST_LIBS'
1039 ac_subdirs_all='src/expat'
1040
1041 # Initialize some variables set by options.
1042 ac_init_help=
1043 ac_init_version=false
1044 # The variables have the same names as the options, with
1045 # dashes changed to underlines.
1046 cache_file=/dev/null
1047 exec_prefix=NONE
1048 no_create=
1049 no_recursion=
1050 prefix=NONE
1051 program_prefix=NONE
1052 program_suffix=NONE
1053 program_transform_name=s,x,x,
1054 silent=
1055 site=
1056 srcdir=
1057 verbose=
1058 x_includes=NONE
1059 x_libraries=NONE
1060
1061 # Installation directory options.
1062 # These are left unexpanded so users can "make install exec_prefix=/foo"
1063 # and all the variables that are supposed to be based on exec_prefix
1064 # by default will actually change.
1065 # Use braces instead of parens because sh, perl, etc. also accept them.
1066 # (The list follows the same order as the GNU Coding Standards.)
1067 bindir='${exec_prefix}/bin'
1068 sbindir='${exec_prefix}/sbin'
1069 libexecdir='${exec_prefix}/libexec'
1070 datarootdir='${prefix}/share'
1071 datadir='${datarootdir}'
1072 sysconfdir='${prefix}/etc'
1073 sharedstatedir='${prefix}/com'
1074 localstatedir='${prefix}/var'
1075 includedir='${prefix}/include'
1076 oldincludedir='/usr/include'
1077 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1078 infodir='${datarootdir}/info'
1079 htmldir='${docdir}'
1080 dvidir='${docdir}'
1081 pdfdir='${docdir}'
1082 psdir='${docdir}'
1083 libdir='${exec_prefix}/lib'
1084 localedir='${datarootdir}/locale'
1085 mandir='${datarootdir}/man'
1086
1087 ac_prev=
1088 ac_dashdash=
1089 for ac_option
1090 do
1091 # If the previous option needs an argument, assign it.
1092 if test -n "$ac_prev"; then
1093 eval $ac_prev=\$ac_option
1094 ac_prev=
1095 continue
1096 fi
1097
1098 case $ac_option in
1099 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1100 *) ac_optarg=yes ;;
1101 esac
1102
1103 # Accept the important Cygnus configure options, so we can diagnose typos.
1104
1105 case $ac_dashdash$ac_option in
1106 --)
1107 ac_dashdash=yes ;;
1108
1109 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1110 ac_prev=bindir ;;
1111 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1112 bindir=$ac_optarg ;;
1113
1114 -build | --build | --buil | --bui | --bu)
1115 ac_prev=build_alias ;;
1116 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1117 build_alias=$ac_optarg ;;
1118
1119 -cache-file | --cache-file | --cache-fil | --cache-fi \
1120 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1121 ac_prev=cache_file ;;
1122 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1123 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1124 cache_file=$ac_optarg ;;
1125
1126 --config-cache | -C)
1127 cache_file=config.cache ;;
1128
1129 -datadir | --datadir | --datadi | --datad)
1130 ac_prev=datadir ;;
1131 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1132 datadir=$ac_optarg ;;
1133
1134 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1135 | --dataroo | --dataro | --datar)
1136 ac_prev=datarootdir ;;
1137 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1138 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1139 datarootdir=$ac_optarg ;;
1140
1141 -disable-* | --disable-*)
1142 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1145 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1146 { (exit 1); exit 1; }; }
1147 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1148 eval enable_$ac_feature=no ;;
1149
1150 -docdir | --docdir | --docdi | --doc | --do)
1151 ac_prev=docdir ;;
1152 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1153 docdir=$ac_optarg ;;
1154
1155 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1156 ac_prev=dvidir ;;
1157 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1158 dvidir=$ac_optarg ;;
1159
1160 -enable-* | --enable-*)
1161 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1165 { (exit 1); exit 1; }; }
1166 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1167 eval enable_$ac_feature=\$ac_optarg ;;
1168
1169 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1170 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1171 | --exec | --exe | --ex)
1172 ac_prev=exec_prefix ;;
1173 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1174 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1175 | --exec=* | --exe=* | --ex=*)
1176 exec_prefix=$ac_optarg ;;
1177
1178 -gas | --gas | --ga | --g)
1179 # Obsolete; use --with-gas.
1180 with_gas=yes ;;
1181
1182 -help | --help | --hel | --he | -h)
1183 ac_init_help=long ;;
1184 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1185 ac_init_help=recursive ;;
1186 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1187 ac_init_help=short ;;
1188
1189 -host | --host | --hos | --ho)
1190 ac_prev=host_alias ;;
1191 -host=* | --host=* | --hos=* | --ho=*)
1192 host_alias=$ac_optarg ;;
1193
1194 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1195 ac_prev=htmldir ;;
1196 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1197 | --ht=*)
1198 htmldir=$ac_optarg ;;
1199
1200 -includedir | --includedir | --includedi | --included | --include \
1201 | --includ | --inclu | --incl | --inc)
1202 ac_prev=includedir ;;
1203 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1204 | --includ=* | --inclu=* | --incl=* | --inc=*)
1205 includedir=$ac_optarg ;;
1206
1207 -infodir | --infodir | --infodi | --infod | --info | --inf)
1208 ac_prev=infodir ;;
1209 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1210 infodir=$ac_optarg ;;
1211
1212 -libdir | --libdir | --libdi | --libd)
1213 ac_prev=libdir ;;
1214 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1215 libdir=$ac_optarg ;;
1216
1217 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1218 | --libexe | --libex | --libe)
1219 ac_prev=libexecdir ;;
1220 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1221 | --libexe=* | --libex=* | --libe=*)
1222 libexecdir=$ac_optarg ;;
1223
1224 -localedir | --localedir | --localedi | --localed | --locale)
1225 ac_prev=localedir ;;
1226 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1227 localedir=$ac_optarg ;;
1228
1229 -localstatedir | --localstatedir | --localstatedi | --localstated \
1230 | --localstate | --localstat | --localsta | --localst | --locals)
1231 ac_prev=localstatedir ;;
1232 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1233 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1234 localstatedir=$ac_optarg ;;
1235
1236 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1237 ac_prev=mandir ;;
1238 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1239 mandir=$ac_optarg ;;
1240
1241 -nfp | --nfp | --nf)
1242 # Obsolete; use --without-fp.
1243 with_fp=no ;;
1244
1245 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1246 | --no-cr | --no-c | -n)
1247 no_create=yes ;;
1248
1249 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1250 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1251 no_recursion=yes ;;
1252
1253 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1254 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1255 | --oldin | --oldi | --old | --ol | --o)
1256 ac_prev=oldincludedir ;;
1257 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1258 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1259 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1260 oldincludedir=$ac_optarg ;;
1261
1262 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1263 ac_prev=prefix ;;
1264 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1265 prefix=$ac_optarg ;;
1266
1267 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1268 | --program-pre | --program-pr | --program-p)
1269 ac_prev=program_prefix ;;
1270 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1271 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1272 program_prefix=$ac_optarg ;;
1273
1274 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1275 | --program-suf | --program-su | --program-s)
1276 ac_prev=program_suffix ;;
1277 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1278 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1279 program_suffix=$ac_optarg ;;
1280
1281 -program-transform-name | --program-transform-name \
1282 | --program-transform-nam | --program-transform-na \
1283 | --program-transform-n | --program-transform- \
1284 | --program-transform | --program-transfor \
1285 | --program-transfo | --program-transf \
1286 | --program-trans | --program-tran \
1287 | --progr-tra | --program-tr | --program-t)
1288 ac_prev=program_transform_name ;;
1289 -program-transform-name=* | --program-transform-name=* \
1290 | --program-transform-nam=* | --program-transform-na=* \
1291 | --program-transform-n=* | --program-transform-=* \
1292 | --program-transform=* | --program-transfor=* \
1293 | --program-transfo=* | --program-transf=* \
1294 | --program-trans=* | --program-tran=* \
1295 | --progr-tra=* | --program-tr=* | --program-t=*)
1296 program_transform_name=$ac_optarg ;;
1297
1298 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1299 ac_prev=pdfdir ;;
1300 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1301 pdfdir=$ac_optarg ;;
1302
1303 -psdir | --psdir | --psdi | --psd | --ps)
1304 ac_prev=psdir ;;
1305 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1306 psdir=$ac_optarg ;;
1307
1308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1309 | -silent | --silent | --silen | --sile | --sil)
1310 silent=yes ;;
1311
1312 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1313 ac_prev=sbindir ;;
1314 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1315 | --sbi=* | --sb=*)
1316 sbindir=$ac_optarg ;;
1317
1318 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1319 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1320 | --sharedst | --shareds | --shared | --share | --shar \
1321 | --sha | --sh)
1322 ac_prev=sharedstatedir ;;
1323 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1324 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1325 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1326 | --sha=* | --sh=*)
1327 sharedstatedir=$ac_optarg ;;
1328
1329 -site | --site | --sit)
1330 ac_prev=site ;;
1331 -site=* | --site=* | --sit=*)
1332 site=$ac_optarg ;;
1333
1334 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1335 ac_prev=srcdir ;;
1336 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1337 srcdir=$ac_optarg ;;
1338
1339 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1340 | --syscon | --sysco | --sysc | --sys | --sy)
1341 ac_prev=sysconfdir ;;
1342 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1343 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1344 sysconfdir=$ac_optarg ;;
1345
1346 -target | --target | --targe | --targ | --tar | --ta | --t)
1347 ac_prev=target_alias ;;
1348 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1349 target_alias=$ac_optarg ;;
1350
1351 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1352 verbose=yes ;;
1353
1354 -version | --version | --versio | --versi | --vers | -V)
1355 ac_init_version=: ;;
1356
1357 -with-* | --with-*)
1358 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1359 # Reject names that are not valid shell variable names.
1360 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1361 { echo "$as_me: error: invalid package name: $ac_package" >&2
1362 { (exit 1); exit 1; }; }
1363 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1364 eval with_$ac_package=\$ac_optarg ;;
1365
1366 -without-* | --without-*)
1367 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1370 { echo "$as_me: error: invalid package name: $ac_package" >&2
1371 { (exit 1); exit 1; }; }
1372 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1373 eval with_$ac_package=no ;;
1374
1375 --x)
1376 # Obsolete; use --with-x.
1377 with_x=yes ;;
1378
1379 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1380 | --x-incl | --x-inc | --x-in | --x-i)
1381 ac_prev=x_includes ;;
1382 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1383 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1384 x_includes=$ac_optarg ;;
1385
1386 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1387 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1388 ac_prev=x_libraries ;;
1389 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1390 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1391 x_libraries=$ac_optarg ;;
1392
1393 -*) { echo "$as_me: error: unrecognized option: $ac_option
1394 Try \`$0 --help' for more information." >&2
1395 { (exit 1); exit 1; }; }
1396 ;;
1397
1398 *=*)
1399 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1400 # Reject names that are not valid shell variable names.
1401 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1402 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1403 { (exit 1); exit 1; }; }
1404 eval $ac_envvar=\$ac_optarg
1405 export $ac_envvar ;;
1406
1407 *)
1408 # FIXME: should be removed in autoconf 3.0.
1409 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1410 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1411 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1412 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1413 ;;
1414
1415 esac
1416 done
1417
1418 if test -n "$ac_prev"; then
1419 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1420 { echo "$as_me: error: missing argument to $ac_option" >&2
1421 { (exit 1); exit 1; }; }
1422 fi
1423
1424 # Be sure to have absolute directory names.
1425 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1426 datadir sysconfdir sharedstatedir localstatedir includedir \
1427 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1428 libdir localedir mandir
1429 do
1430 eval ac_val=\$$ac_var
1431 case $ac_val in
1432 [\\/$]* | ?:[\\/]* ) continue;;
1433 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1434 esac
1435 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1436 { (exit 1); exit 1; }; }
1437 done
1438
1439 # There might be people who depend on the old broken behavior: `$host'
1440 # used to hold the argument of --host etc.
1441 # FIXME: To remove some day.
1442 build=$build_alias
1443 host=$host_alias
1444 target=$target_alias
1445
1446 # FIXME: To remove some day.
1447 if test "x$host_alias" != x; then
1448 if test "x$build_alias" = x; then
1449 cross_compiling=maybe
1450 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1451 If a cross compiler is detected then cross compile mode will be used." >&2
1452 elif test "x$build_alias" != "x$host_alias"; then
1453 cross_compiling=yes
1454 fi
1455 fi
1456
1457 ac_tool_prefix=
1458 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1459
1460 test "$silent" = yes && exec 6>/dev/null
1461
1462
1463 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1464 ac_ls_di=`ls -di .` &&
1465 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1466 { echo "$as_me: error: Working directory cannot be determined" >&2
1467 { (exit 1); exit 1; }; }
1468 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1469 { echo "$as_me: error: pwd does not report name of working directory" >&2
1470 { (exit 1); exit 1; }; }
1471
1472
1473 # Find the source files, if location was not specified.
1474 if test -z "$srcdir"; then
1475 ac_srcdir_defaulted=yes
1476 # Try the directory containing this script, then the parent directory.
1477 ac_confdir=`$as_dirname -- "$0" ||
1478 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1479 X"$0" : 'X\(//\)[^/]' \| \
1480 X"$0" : 'X\(//\)$' \| \
1481 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1482 echo X"$0" |
1483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1484 s//\1/
1485 q
1486 }
1487 /^X\(\/\/\)[^/].*/{
1488 s//\1/
1489 q
1490 }
1491 /^X\(\/\/\)$/{
1492 s//\1/
1493 q
1494 }
1495 /^X\(\/\).*/{
1496 s//\1/
1497 q
1498 }
1499 s/.*/./; q'`
1500 srcdir=$ac_confdir
1501 if test ! -r "$srcdir/$ac_unique_file"; then
1502 srcdir=..
1503 fi
1504 else
1505 ac_srcdir_defaulted=no
1506 fi
1507 if test ! -r "$srcdir/$ac_unique_file"; then
1508 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1509 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1510 { (exit 1); exit 1; }; }
1511 fi
1512 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1513 ac_abs_confdir=`(
1514 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1515 { (exit 1); exit 1; }; }
1516 pwd)`
1517 # When building in place, set srcdir=.
1518 if test "$ac_abs_confdir" = "$ac_pwd"; then
1519 srcdir=.
1520 fi
1521 # Remove unnecessary trailing slashes from srcdir.
1522 # Double slashes in file names in object file debugging info
1523 # mess up M-x gdb in Emacs.
1524 case $srcdir in
1525 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1526 esac
1527 for ac_var in $ac_precious_vars; do
1528 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1529 eval ac_env_${ac_var}_value=\$${ac_var}
1530 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1531 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1532 done
1533
1534 #
1535 # Report the --help message.
1536 #
1537 if test "$ac_init_help" = "long"; then
1538 # Omit some internal or obsolete options to make the list less imposing.
1539 # This message is too long to be a string in the A/UX 3.1 sh.
1540 cat <<_ACEOF
1541 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1542
1543 Usage: $0 [OPTION]... [VAR=VALUE]...
1544
1545 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1546 VAR=VALUE. See below for descriptions of some of the useful variables.
1547
1548 Defaults for the options are specified in brackets.
1549
1550 Configuration:
1551 -h, --help display this help and exit
1552 --help=short display options specific to this package
1553 --help=recursive display the short help of all the included packages
1554 -V, --version display version information and exit
1555 -q, --quiet, --silent do not print \`checking...' messages
1556 --cache-file=FILE cache test results in FILE [disabled]
1557 -C, --config-cache alias for \`--cache-file=config.cache'
1558 -n, --no-create do not create output files
1559 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1560
1561 Installation directories:
1562 --prefix=PREFIX install architecture-independent files in PREFIX
1563 [$ac_default_prefix]
1564 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1565 [PREFIX]
1566
1567 By default, \`make install' will install all the files in
1568 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1569 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1570 for instance \`--prefix=\$HOME'.
1571
1572 For better control, use the options below.
1573
1574 Fine tuning of the installation directories:
1575 --bindir=DIR user executables [EPREFIX/bin]
1576 --sbindir=DIR system admin executables [EPREFIX/sbin]
1577 --libexecdir=DIR program executables [EPREFIX/libexec]
1578 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1579 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1580 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1581 --libdir=DIR object code libraries [EPREFIX/lib]
1582 --includedir=DIR C header files [PREFIX/include]
1583 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1584 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1585 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1586 --infodir=DIR info documentation [DATAROOTDIR/info]
1587 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1588 --mandir=DIR man documentation [DATAROOTDIR/man]
1589 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1590 --htmldir=DIR html documentation [DOCDIR]
1591 --dvidir=DIR dvi documentation [DOCDIR]
1592 --pdfdir=DIR pdf documentation [DOCDIR]
1593 --psdir=DIR ps documentation [DOCDIR]
1594 _ACEOF
1595
1596 cat <<\_ACEOF
1597
1598 X features:
1599 --x-includes=DIR X include files are in DIR
1600 --x-libraries=DIR X library files are in DIR
1601
1602 System types:
1603 --build=BUILD configure for building on BUILD [guessed]
1604 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1605 --target=TARGET configure for building compilers for TARGET [HOST]
1606 _ACEOF
1607 fi
1608
1609 if test -n "$ac_init_help"; then
1610 case $ac_init_help in
1611 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1612 esac
1613 cat <<\_ACEOF
1614
1615 Optional Features:
1616 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1617 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1618 --enable-gui use GUI classes
1619 --enable-monolithic build wxWidgets as single library
1620 --enable-plugins build parts of wxWidgets as loadable components
1621 --enable-universal use wxWidgets GUI controls instead of native ones
1622 --enable-nanox use NanoX
1623 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1624 --enable-gpe use GNOME PDA Environment features if possible
1625 --enable-shared create shared library code
1626 --enable-optimise create optimised code
1627 --enable-debug same as debug_flag and debug_info
1628 --enable-stl use STL for containers
1629 --enable-omf use OMF object format
1630 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1631 --enable-debug_info create code with debugging information
1632 --enable-debug_gdb create code with extra GDB debugging information
1633 --enable-debug_cntxt use wxDebugContext
1634 --enable-mem_tracing create code with memory tracing
1635 --enable-profile create code with profiling information
1636 --enable-no_rtti create code without RTTI information
1637 --enable-no_exceptions create code without C++ exceptions handling
1638 --enable-permissive compile code disregarding strict ANSI
1639 --enable-no_deps create code without dependency information
1640 --disable-vararg_macros don't use vararg macros, even if they are supported
1641 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1642 --enable-compat26 enable wxWidgets 2.6 compatibility
1643 --disable-compat28 disable wxWidgets 2.8 compatibility
1644 --disable-rpath disable use of rpath for uninstalled builds
1645 --enable-intl use internationalization system
1646 --enable-config use wxConfig (and derived) classes
1647 --enable-protocols use wxProtocol and derived classes
1648 --enable-ftp use wxFTP (requires wxProtocol
1649 --enable-http use wxHTTP (requires wxProtocol
1650 --enable-fileproto use wxFileProto class (requires wxProtocol
1651 --enable-sockets use socket/network classes
1652 --enable-ole use OLE classes (Win32 only)
1653 --enable-dataobj use data object classes
1654 --enable-ipc use interprocess communication (wxSocket etc.)
1655 --enable-apple_ieee use the Apple IEEE codec
1656 --enable-arcstream use wxArchive streams
1657 --enable-backtrace use wxStackWalker class for getting backtraces
1658 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1659 --enable-cmdline use wxCmdLineParser class
1660 --enable-datetime use wxDateTime class
1661 --enable-debugreport use wxDebugReport class
1662 --enable-dialupman use dialup network classes
1663 --enable-dynlib use wxLibrary class for DLL loading
1664 --enable-dynamicloader use (new) wxDynamicLibrary class
1665 --enable-exceptions build exception-safe library
1666 --enable-ffile use wxFFile class
1667 --enable-file use wxFile class
1668 --enable-filesystem use virtual file systems classes
1669 --enable-fontmap use font encodings conversion classes
1670 --enable-fs_archive use virtual archive filesystems
1671 --enable-fs_inet use virtual HTTP/FTP filesystems
1672 --enable-fs_zip now replaced by fs_archive
1673 --enable-geometry use geometry class
1674 --enable-log use logging system
1675 --enable-longlong use wxLongLong class
1676 --enable-mimetype use wxMimeTypesManager
1677 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1678 --enable-snglinst use wxSingleInstanceChecker class
1679 --enable-std_iostreams use standard C++ stream classes
1680 --enable-std_string use standard C++ string classes
1681 --enable-stdpaths use wxStandardPaths class
1682 --enable-stopwatch use wxStopWatch class
1683 --enable-streams use wxStream etc classes
1684 --enable-sysoptions use wxSystemOptions
1685 --enable-tarstream use wxTar streams
1686 --enable-textbuf use wxTextBuffer class
1687 --enable-textfile use wxTextFile class
1688 --enable-timer use wxTimer class
1689 --enable-unicode compile wxString with Unicode support
1690 --enable-sound use wxSound class
1691 --enable-mediactrl use wxMediaCtrl class
1692 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1693 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1694 --enable-zipstream use wxZip streams
1695 --enable-url use wxURL class
1696 --enable-variant use wxVariant class
1697 --enable-protocol use wxProtocol class
1698 --enable-protocol-http HTTP support in wxProtocol
1699 --enable-protocol-ftp FTP support in wxProtocol
1700 --enable-protocol-file FILE support in wxProtocol
1701 --enable-threads use threads
1702 --enable-docview use document view architecture
1703 --enable-help use help subsystem
1704 --enable-mshtmlhelp use MS HTML Help (win32)
1705 --enable-html use wxHTML sub-library
1706 --enable-htmlhelp use wxHTML-based help
1707 --enable-xrc use XRC resources sub-library
1708 --enable-aui use AUI docking library
1709 --enable-constraints use layout-constraints system
1710 --enable-printarch use printing architecture
1711 --enable-mdi use multiple document interface architecture
1712 --enable-mdidoc use docview architecture with MDI
1713 --enable-loggui use standard GUI logger
1714 --enable-logwin use wxLogWindow
1715 --enable-logdialog use wxLogDialog
1716 --enable-webkit use wxWebKitCtrl (Mac)
1717 --enable-richtext use wxRichTextCtrl
1718 --enable-graphics_ctx use graphics context 2D drawing API
1719 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1720 --enable-prologio not available; see contrib
1721 --enable-resources not available; see contrib
1722 --enable-clipboard use wxClipboard class
1723 --enable-dnd use Drag'n'Drop classes
1724 --enable-metafile use win32 metafiles
1725 --enable-controls use all usual controls
1726 --enable-accel use accelerators
1727 --enable-animatectrl use wxAnimationCtrl class
1728 --enable-button use wxButton class
1729 --enable-bmpbutton use wxBitmapButton class
1730 --enable-bmpcombobox use wxBitmapComboBox class
1731 --enable-calendar use wxCalendarCtrl class
1732 --enable-caret use wxCaret class
1733 --enable-checkbox use wxCheckBox class
1734 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1735 --enable-choice use wxChoice class
1736 --enable-choicebook use wxChoicebook class
1737 --enable-collpane use wxCollapsiblePane class
1738 --enable-colourpicker use wxColourPickerCtrl class
1739 --enable-combobox use wxComboBox class
1740 --enable-comboctrl use wxComboCtrl class
1741 --enable-datepick use wxDatePickerCtrl class
1742 --enable-dirpicker use wxDirPickerCtrl class
1743 --enable-display use wxDisplay class
1744 --enable-detect_sm use code to detect X11 session manager
1745 --enable-filepicker use wxFilePickerCtrl class
1746 --enable-fontpicker use wxFontPickerCtrl class
1747 --enable-gauge use wxGauge class
1748 --enable-grid use wxGrid class
1749 --enable-dataviewctrl use wxDataViewCtrl class
1750 --enable-hyperlink use wxHyperlinkCtrl class
1751 --enable-imaglist use wxImageList class
1752 --enable-listbook use wxListbook class
1753 --enable-listbox use wxListBox class
1754 --enable-listctrl use wxListCtrl class
1755 --enable-notebook use wxNotebook class
1756 --enable-odcombobox use wxOwnerDrawnComboBox class
1757 --enable-radiobox use wxRadioBox class
1758 --enable-radiobtn use wxRadioButton class
1759 --enable-sash use wxSashWindow class
1760 --enable-scrollbar use wxScrollBar class and scrollable windows
1761 --enable-searchctrl use wxSearchCtrl class
1762 --enable-slider use wxSlider class
1763 --enable-spinbtn use wxSpinButton class
1764 --enable-spinctrl use wxSpinCtrl class
1765 --enable-splitter use wxSplitterWindow class
1766 --enable-statbmp use wxStaticBitmap class
1767 --enable-statbox use wxStaticBox class
1768 --enable-statline use wxStaticLine class
1769 --enable-stattext use wxStaticText class
1770 --enable-statusbar use wxStatusBar class
1771 --enable-tabdialog use wxTabControl class
1772 --enable-textctrl use wxTextCtrl class
1773 --enable-togglebtn use wxToggleButton class
1774 --enable-toolbar use wxToolBar class
1775 --enable-tbarnative use native wxToolBar class
1776 --enable-treebook use wxTreebook class
1777 --enable-toolbook use wxToolbook class
1778 --enable-treectrl use wxTreeCtrl class
1779 --enable-tipwindow use wxTipWindow class
1780 --enable-popupwin use wxPopUpWindow class
1781 --enable-commondlg use all common dialogs
1782 --enable-aboutdlg use wxAboutBox
1783 --enable-choicedlg use wxChoiceDialog
1784 --enable-coldlg use wxColourDialog
1785 --enable-filedlg use wxFileDialog
1786 --enable-finddlg use wxFindReplaceDialog
1787 --enable-fontdlg use wxFontDialog
1788 --enable-dirdlg use wxDirDialog
1789 --enable-msgdlg use wxMessageDialog
1790 --enable-numberdlg use wxNumberEntryDialog
1791 --enable-splash use wxSplashScreen
1792 --enable-textdlg use wxTextDialog
1793 --enable-tipdlg use startup tips
1794 --enable-progressdlg use wxProgressDialog
1795 --enable-wizarddlg use wxWizard
1796 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1797 --enable-miniframe use wxMiniFrame class
1798 --enable-tooltips use wxToolTip class
1799 --enable-splines use spline drawing code
1800 --enable-mousewheel use mousewheel
1801 --enable-validators use wxValidator and derived classes
1802 --enable-busyinfo use wxBusyInfo
1803 --enable-joystick use wxJoystick
1804 --enable-metafiles use wxMetaFile (Win32 only)
1805 --enable-dragimage use wxDragImage
1806 --enable-accessibility enable accessibility support
1807 --enable-dccache cache temporary wxDC objects (Win32 only)
1808 --enable-palette use wxPalette class
1809 --enable-image use wxImage class
1810 --enable-gif use gif images (GIF file format)
1811 --enable-pcx use pcx images (PCX file format)
1812 --enable-tga use tga images (TGA file format)
1813 --enable-iff use iff images (IFF file format)
1814 --enable-pnm use pnm images (PNM file format)
1815 --enable-xpm use xpm images (XPM file format)
1816 --enable-icocur use Windows ICO and CUR formats
1817 --enable-official_build official build of wxWidgets (win32 DLL only)
1818 --enable-vendor=VENDOR vendor name (win32 DLL only)
1819 --disable-largefile omit support for large files
1820 --disable-gtktest do not try to compile and run a test GTK+ program
1821 --disable-gtktest Do not try to compile and run a test GTK program
1822 --disable-sdltest Do not try to compile and run a test SDL program
1823 --enable-omf use OMF object format (OS/2)
1824 --disable-dependency-tracking
1825 don't use dependency tracking even if the compiler
1826 can
1827 --disable-precomp-headers
1828 don't use precompiled headers even if compiler can
1829
1830 Optional Packages:
1831 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1832 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1833 --without-subdirs don't generate makefiles for samples/demos/...
1834 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1835 --with-motif use Motif/Lesstif
1836 --with-mac use Mac OS X
1837 --with-cocoa use Cocoa
1838 --with-wine use Wine
1839 --with-msw use MS-Windows
1840 --with-pm use OS/2 Presentation Manager
1841 --with-mgl use SciTech MGL
1842 --with-directfb use DirectFB
1843 --with-microwin use MicroWindows
1844 --with-x11 use X11
1845 --with-libpng use libpng (PNG image format)
1846 --with-libjpeg use libjpeg (JPEG file format)
1847 --with-libtiff use libtiff (TIFF file format)
1848 --with-libxpm use libxpm (XPM file format)
1849 --with-libmspack use libmspack (CHM help files loading)
1850 --with-sdl use SDL for audio on Unix
1851 --with-gnomeprint use GNOME print for printing under GNOME
1852 --with-gnomevfs use GNOME VFS for associating MIME types
1853 --with-hildon use Hildon framework for Nokia 770
1854 --with-opengl use OpenGL (or Mesa)
1855 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1856 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1857 --with-regex enable support for wxRegEx class
1858 --with-zlib use zlib for LZW compression
1859 --with-odbc use the IODBC and wxODBC classes
1860 --with-expat enable XML support using expat parser
1861 --with-flavour=NAME specify a name to identify this build
1862 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1863 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1864 --with-x use the X Window System
1865 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1866 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1867 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1868 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1869 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1870
1871 Some influential environment variables:
1872 CC C compiler command
1873 CFLAGS C compiler flags
1874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1875 nonstandard directory <lib dir>
1876 LIBS libraries to pass to the linker, e.g. -l<library>
1877 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1878 you have headers in a nonstandard directory <include dir>
1879 CPP C preprocessor
1880 CXX C++ compiler command
1881 CXXFLAGS C++ compiler flags
1882 PKG_CONFIG path to pkg-config utility
1883 DIRECTFB_CFLAGS
1884 C compiler flags for DIRECTFB, overriding pkg-config
1885 DIRECTFB_LIBS
1886 linker flags for DIRECTFB, overriding pkg-config
1887 XMKMF Path to xmkmf, Makefile generator for X Window System
1888 PANGOX_CFLAGS
1889 C compiler flags for PANGOX, overriding pkg-config
1890 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1891 PANGOFT2_CFLAGS
1892 C compiler flags for PANGOFT2, overriding pkg-config
1893 PANGOFT2_LIBS
1894 linker flags for PANGOFT2, overriding pkg-config
1895 PANGOXFT_CFLAGS
1896 C compiler flags for PANGOXFT, overriding pkg-config
1897 PANGOXFT_LIBS
1898 linker flags for PANGOXFT, overriding pkg-config
1899 LIBGNOMEPRINTUI_CFLAGS
1900 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1901 LIBGNOMEPRINTUI_LIBS
1902 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1903 GNOMEVFS_CFLAGS
1904 C compiler flags for GNOMEVFS, overriding pkg-config
1905 GNOMEVFS_LIBS
1906 linker flags for GNOMEVFS, overriding pkg-config
1907 HILDON_CFLAGS
1908 C compiler flags for HILDON, overriding pkg-config
1909 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1910 CAIRO_CFLAGS
1911 C compiler flags for CAIRO, overriding pkg-config
1912 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1913 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1914 GST_LIBS linker flags for GST, overriding pkg-config
1915
1916 Use these variables to override the choices made by `configure' or to help
1917 it to find libraries and programs with nonstandard names/locations.
1918
1919 Report bugs to <wx-dev@lists.wxwidgets.org>.
1920 _ACEOF
1921 ac_status=$?
1922 fi
1923
1924 if test "$ac_init_help" = "recursive"; then
1925 # If there are subdirs, report their specific --help.
1926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1927 test -d "$ac_dir" || continue
1928 ac_builddir=.
1929
1930 case "$ac_dir" in
1931 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1932 *)
1933 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1934 # A ".." for each directory in $ac_dir_suffix.
1935 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1936 case $ac_top_builddir_sub in
1937 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1938 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1939 esac ;;
1940 esac
1941 ac_abs_top_builddir=$ac_pwd
1942 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1943 # for backward compatibility:
1944 ac_top_builddir=$ac_top_build_prefix
1945
1946 case $srcdir in
1947 .) # We are building in place.
1948 ac_srcdir=.
1949 ac_top_srcdir=$ac_top_builddir_sub
1950 ac_abs_top_srcdir=$ac_pwd ;;
1951 [\\/]* | ?:[\\/]* ) # Absolute name.
1952 ac_srcdir=$srcdir$ac_dir_suffix;
1953 ac_top_srcdir=$srcdir
1954 ac_abs_top_srcdir=$srcdir ;;
1955 *) # Relative name.
1956 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1957 ac_top_srcdir=$ac_top_build_prefix$srcdir
1958 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1959 esac
1960 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1961
1962 cd "$ac_dir" || { ac_status=$?; continue; }
1963 # Check for guested configure.
1964 if test -f "$ac_srcdir/configure.gnu"; then
1965 echo &&
1966 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1967 elif test -f "$ac_srcdir/configure"; then
1968 echo &&
1969 $SHELL "$ac_srcdir/configure" --help=recursive
1970 else
1971 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1972 fi || ac_status=$?
1973 cd "$ac_pwd" || { ac_status=$?; break; }
1974 done
1975 fi
1976
1977 test -n "$ac_init_help" && exit $ac_status
1978 if $ac_init_version; then
1979 cat <<\_ACEOF
1980 wxWidgets configure 2.9.0
1981 generated by GNU Autoconf 2.61
1982
1983 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1984 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1985 This configure script is free software; the Free Software Foundation
1986 gives unlimited permission to copy, distribute and modify it.
1987 _ACEOF
1988 exit
1989 fi
1990 cat >config.log <<_ACEOF
1991 This file contains any messages produced by compilers while
1992 running configure, to aid debugging if configure makes a mistake.
1993
1994 It was created by wxWidgets $as_me 2.9.0, which was
1995 generated by GNU Autoconf 2.61. Invocation command line was
1996
1997 $ $0 $@
1998
1999 _ACEOF
2000 exec 5>>config.log
2001 {
2002 cat <<_ASUNAME
2003 ## --------- ##
2004 ## Platform. ##
2005 ## --------- ##
2006
2007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2012
2013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2014 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2015
2016 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2017 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2019 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2020 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2021 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2022 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2023
2024 _ASUNAME
2025
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 for as_dir in $PATH
2028 do
2029 IFS=$as_save_IFS
2030 test -z "$as_dir" && as_dir=.
2031 echo "PATH: $as_dir"
2032 done
2033 IFS=$as_save_IFS
2034
2035 } >&5
2036
2037 cat >&5 <<_ACEOF
2038
2039
2040 ## ----------- ##
2041 ## Core tests. ##
2042 ## ----------- ##
2043
2044 _ACEOF
2045
2046
2047 # Keep a trace of the command line.
2048 # Strip out --no-create and --no-recursion so they do not pile up.
2049 # Strip out --silent because we don't want to record it for future runs.
2050 # Also quote any args containing shell meta-characters.
2051 # Make two passes to allow for proper duplicate-argument suppression.
2052 ac_configure_args=
2053 ac_configure_args0=
2054 ac_configure_args1=
2055 ac_must_keep_next=false
2056 for ac_pass in 1 2
2057 do
2058 for ac_arg
2059 do
2060 case $ac_arg in
2061 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2063 | -silent | --silent | --silen | --sile | --sil)
2064 continue ;;
2065 *\'*)
2066 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2067 esac
2068 case $ac_pass in
2069 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2070 2)
2071 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2072 if test $ac_must_keep_next = true; then
2073 ac_must_keep_next=false # Got value, back to normal.
2074 else
2075 case $ac_arg in
2076 *=* | --config-cache | -C | -disable-* | --disable-* \
2077 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2078 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2079 | -with-* | --with-* | -without-* | --without-* | --x)
2080 case "$ac_configure_args0 " in
2081 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2082 esac
2083 ;;
2084 -* ) ac_must_keep_next=true ;;
2085 esac
2086 fi
2087 ac_configure_args="$ac_configure_args '$ac_arg'"
2088 ;;
2089 esac
2090 done
2091 done
2092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2094
2095 # When interrupted or exit'd, cleanup temporary files, and complete
2096 # config.log. We remove comments because anyway the quotes in there
2097 # would cause problems or look ugly.
2098 # WARNING: Use '\'' to represent an apostrophe within the trap.
2099 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2100 trap 'exit_status=$?
2101 # Save into config.log some information that might help in debugging.
2102 {
2103 echo
2104
2105 cat <<\_ASBOX
2106 ## ---------------- ##
2107 ## Cache variables. ##
2108 ## ---------------- ##
2109 _ASBOX
2110 echo
2111 # The following way of writing the cache mishandles newlines in values,
2112 (
2113 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2114 eval ac_val=\$$ac_var
2115 case $ac_val in #(
2116 *${as_nl}*)
2117 case $ac_var in #(
2118 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2120 esac
2121 case $ac_var in #(
2122 _ | IFS | as_nl) ;; #(
2123 *) $as_unset $ac_var ;;
2124 esac ;;
2125 esac
2126 done
2127 (set) 2>&1 |
2128 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2129 *${as_nl}ac_space=\ *)
2130 sed -n \
2131 "s/'\''/'\''\\\\'\'''\''/g;
2132 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2133 ;; #(
2134 *)
2135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2136 ;;
2137 esac |
2138 sort
2139 )
2140 echo
2141
2142 cat <<\_ASBOX
2143 ## ----------------- ##
2144 ## Output variables. ##
2145 ## ----------------- ##
2146 _ASBOX
2147 echo
2148 for ac_var in $ac_subst_vars
2149 do
2150 eval ac_val=\$$ac_var
2151 case $ac_val in
2152 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2153 esac
2154 echo "$ac_var='\''$ac_val'\''"
2155 done | sort
2156 echo
2157
2158 if test -n "$ac_subst_files"; then
2159 cat <<\_ASBOX
2160 ## ------------------- ##
2161 ## File substitutions. ##
2162 ## ------------------- ##
2163 _ASBOX
2164 echo
2165 for ac_var in $ac_subst_files
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 fi
2175
2176 if test -s confdefs.h; then
2177 cat <<\_ASBOX
2178 ## ----------- ##
2179 ## confdefs.h. ##
2180 ## ----------- ##
2181 _ASBOX
2182 echo
2183 cat confdefs.h
2184 echo
2185 fi
2186 test "$ac_signal" != 0 &&
2187 echo "$as_me: caught signal $ac_signal"
2188 echo "$as_me: exit $exit_status"
2189 } >&5
2190 rm -f core *.core core.conftest.* &&
2191 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2192 exit $exit_status
2193 ' 0
2194 for ac_signal in 1 2 13 15; do
2195 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2196 done
2197 ac_signal=0
2198
2199 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2200 rm -f -r conftest* confdefs.h
2201
2202 # Predefined preprocessor variables.
2203
2204 cat >>confdefs.h <<_ACEOF
2205 #define PACKAGE_NAME "$PACKAGE_NAME"
2206 _ACEOF
2207
2208
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2211 _ACEOF
2212
2213
2214 cat >>confdefs.h <<_ACEOF
2215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2216 _ACEOF
2217
2218
2219 cat >>confdefs.h <<_ACEOF
2220 #define PACKAGE_STRING "$PACKAGE_STRING"
2221 _ACEOF
2222
2223
2224 cat >>confdefs.h <<_ACEOF
2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2226 _ACEOF
2227
2228
2229 # Let the site file select an alternate cache file if it wants to.
2230 # Prefer explicitly selected file to automatically selected ones.
2231 if test -n "$CONFIG_SITE"; then
2232 set x "$CONFIG_SITE"
2233 elif test "x$prefix" != xNONE; then
2234 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2235 else
2236 set x "$ac_default_prefix/share/config.site" \
2237 "$ac_default_prefix/etc/config.site"
2238 fi
2239 shift
2240 for ac_site_file
2241 do
2242 if test -r "$ac_site_file"; then
2243 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2244 echo "$as_me: loading site script $ac_site_file" >&6;}
2245 sed 's/^/| /' "$ac_site_file" >&5
2246 . "$ac_site_file"
2247 fi
2248 done
2249
2250 if test -r "$cache_file"; then
2251 # Some versions of bash will fail to source /dev/null (special
2252 # files actually), so we avoid doing that.
2253 if test -f "$cache_file"; then
2254 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2255 echo "$as_me: loading cache $cache_file" >&6;}
2256 case $cache_file in
2257 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2258 *) . "./$cache_file";;
2259 esac
2260 fi
2261 else
2262 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2263 echo "$as_me: creating cache $cache_file" >&6;}
2264 >$cache_file
2265 fi
2266
2267 # Check that the precious variables saved in the cache have kept the same
2268 # value.
2269 ac_cache_corrupted=false
2270 for ac_var in $ac_precious_vars; do
2271 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2272 eval ac_new_set=\$ac_env_${ac_var}_set
2273 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2274 eval ac_new_val=\$ac_env_${ac_var}_value
2275 case $ac_old_set,$ac_new_set in
2276 set,)
2277 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2278 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2279 ac_cache_corrupted=: ;;
2280 ,set)
2281 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2282 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2283 ac_cache_corrupted=: ;;
2284 ,);;
2285 *)
2286 if test "x$ac_old_val" != "x$ac_new_val"; then
2287 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2288 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2289 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2290 echo "$as_me: former value: $ac_old_val" >&2;}
2291 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2292 echo "$as_me: current value: $ac_new_val" >&2;}
2293 ac_cache_corrupted=:
2294 fi;;
2295 esac
2296 # Pass precious variables to config.status.
2297 if test "$ac_new_set" = set; then
2298 case $ac_new_val in
2299 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2300 *) ac_arg=$ac_var=$ac_new_val ;;
2301 esac
2302 case " $ac_configure_args " in
2303 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2304 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2305 esac
2306 fi
2307 done
2308 if $ac_cache_corrupted; then
2309 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2310 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2311 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2312 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2313 { (exit 1); exit 1; }; }
2314 fi
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340 ac_ext=c
2341 ac_cpp='$CPP $CPPFLAGS'
2342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2345
2346
2347
2348
2349
2350 ac_aux_dir=
2351 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2352 if test -f "$ac_dir/install-sh"; then
2353 ac_aux_dir=$ac_dir
2354 ac_install_sh="$ac_aux_dir/install-sh -c"
2355 break
2356 elif test -f "$ac_dir/install.sh"; then
2357 ac_aux_dir=$ac_dir
2358 ac_install_sh="$ac_aux_dir/install.sh -c"
2359 break
2360 elif test -f "$ac_dir/shtool"; then
2361 ac_aux_dir=$ac_dir
2362 ac_install_sh="$ac_aux_dir/shtool install -c"
2363 break
2364 fi
2365 done
2366 if test -z "$ac_aux_dir"; then
2367 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2368 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2369 { (exit 1); exit 1; }; }
2370 fi
2371
2372 # These three variables are undocumented and unsupported,
2373 # and are intended to be withdrawn in a future Autoconf release.
2374 # They can cause serious problems if a builder's source tree is in a directory
2375 # whose full name contains unusual characters.
2376 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2377 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2378 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2379
2380
2381 # Make sure we can run config.sub.
2382 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2383 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2384 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2385 { (exit 1); exit 1; }; }
2386
2387 { echo "$as_me:$LINENO: checking build system type" >&5
2388 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2389 if test "${ac_cv_build+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2391 else
2392 ac_build_alias=$build_alias
2393 test "x$ac_build_alias" = x &&
2394 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2395 test "x$ac_build_alias" = x &&
2396 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2397 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2398 { (exit 1); exit 1; }; }
2399 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2400 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2401 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2402 { (exit 1); exit 1; }; }
2403
2404 fi
2405 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2406 echo "${ECHO_T}$ac_cv_build" >&6; }
2407 case $ac_cv_build in
2408 *-*-*) ;;
2409 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2410 echo "$as_me: error: invalid value of canonical build" >&2;}
2411 { (exit 1); exit 1; }; };;
2412 esac
2413 build=$ac_cv_build
2414 ac_save_IFS=$IFS; IFS='-'
2415 set x $ac_cv_build
2416 shift
2417 build_cpu=$1
2418 build_vendor=$2
2419 shift; shift
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2422 build_os=$*
2423 IFS=$ac_save_IFS
2424 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2425
2426
2427 { echo "$as_me:$LINENO: checking host system type" >&5
2428 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2429 if test "${ac_cv_host+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 else
2432 if test "x$host_alias" = x; then
2433 ac_cv_host=$ac_cv_build
2434 else
2435 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2436 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2437 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2438 { (exit 1); exit 1; }; }
2439 fi
2440
2441 fi
2442 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2443 echo "${ECHO_T}$ac_cv_host" >&6; }
2444 case $ac_cv_host in
2445 *-*-*) ;;
2446 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2447 echo "$as_me: error: invalid value of canonical host" >&2;}
2448 { (exit 1); exit 1; }; };;
2449 esac
2450 host=$ac_cv_host
2451 ac_save_IFS=$IFS; IFS='-'
2452 set x $ac_cv_host
2453 shift
2454 host_cpu=$1
2455 host_vendor=$2
2456 shift; shift
2457 # Remember, the first character of IFS is used to create $*,
2458 # except with old shells:
2459 host_os=$*
2460 IFS=$ac_save_IFS
2461 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2462
2463
2464 { echo "$as_me:$LINENO: checking target system type" >&5
2465 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2466 if test "${ac_cv_target+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 else
2469 if test "x$target_alias" = x; then
2470 ac_cv_target=$ac_cv_host
2471 else
2472 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476 fi
2477
2478 fi
2479 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2480 echo "${ECHO_T}$ac_cv_target" >&6; }
2481 case $ac_cv_target in
2482 *-*-*) ;;
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2484 echo "$as_me: error: invalid value of canonical target" >&2;}
2485 { (exit 1); exit 1; }; };;
2486 esac
2487 target=$ac_cv_target
2488 ac_save_IFS=$IFS; IFS='-'
2489 set x $ac_cv_target
2490 shift
2491 target_cpu=$1
2492 target_vendor=$2
2493 shift; shift
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2496 target_os=$*
2497 IFS=$ac_save_IFS
2498 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2499
2500
2501 # The aliases save the names the user supplied, while $host etc.
2502 # will get canonicalized.
2503 test -n "$target_alias" &&
2504 test "$program_prefix$program_suffix$program_transform_name" = \
2505 NONENONEs,x,x, &&
2506 program_prefix=${target_alias}-
2507
2508
2509
2510 wx_major_version_number=2
2511 wx_minor_version_number=9
2512 wx_release_number=0
2513 wx_subrelease_number=0
2514
2515 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2516 WX_VERSION=$WX_RELEASE.$wx_release_number
2517 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2518
2519 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2520
2521
2522 wx_top_builddir="`pwd`"
2523
2524
2525
2526
2527 USE_UNIX=1
2528 USE_OS2=0
2529 USE_WIN32=0
2530 USE_DOS=0
2531 USE_BEOS=0
2532 USE_MAC=0
2533
2534 USE_AIX=
2535 USE_BSD= USE_DARWIN= USE_FREEBSD=
2536 USE_GNU= USE_HPUX=
2537 USE_LINUX=
2538 USE_NETBSD=
2539 USE_OPENBSD=
2540 USE_OSF= USE_SGI=
2541 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2542 USE_ULTRIX=
2543 USE_UNIXWARE=
2544
2545 USE_ALPHA=
2546
2547 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2548
2549 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2550
2551 DEFAULT_wxUSE_COCOA=0
2552 DEFAULT_wxUSE_GTK=0
2553 DEFAULT_wxUSE_MAC=0
2554 DEFAULT_wxUSE_MGL=0
2555 DEFAULT_wxUSE_MICROWIN=0
2556 DEFAULT_wxUSE_MOTIF=0
2557 DEFAULT_wxUSE_MSW=0
2558 DEFAULT_wxUSE_PM=0
2559 DEFAULT_wxUSE_X11=0
2560 DEFAULT_wxUSE_DFB=0
2561
2562 DEFAULT_DEFAULT_wxUSE_COCOA=0
2563 DEFAULT_DEFAULT_wxUSE_GTK=0
2564 DEFAULT_DEFAULT_wxUSE_MAC=0
2565 DEFAULT_DEFAULT_wxUSE_MGL=0
2566 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2568 DEFAULT_DEFAULT_wxUSE_MSW=0
2569 DEFAULT_DEFAULT_wxUSE_PM=0
2570 DEFAULT_DEFAULT_wxUSE_X11=0
2571 DEFAULT_DEFAULT_wxUSE_DFB=0
2572
2573 PROGRAM_EXT=
2574 SO_SUFFIX=so
2575 SAMPLES_RPATH_FLAG=
2576 SAMPLES_RPATH_POSTLINK=
2577
2578 DEFAULT_STD_FLAG=yes
2579
2580 case "${host}" in
2581 *-hp-hpux* )
2582 USE_HPUX=1
2583 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2584 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2585 SO_SUFFIX=sl
2586 cat >>confdefs.h <<\_ACEOF
2587 #define __HPUX__ 1
2588 _ACEOF
2589
2590
2591 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2592 ;;
2593 *-*-linux* )
2594 USE_LINUX=1
2595 cat >>confdefs.h <<\_ACEOF
2596 #define __LINUX__ 1
2597 _ACEOF
2598
2599 TMP=`uname -m`
2600 if test "x$TMP" = "xalpha"; then
2601 USE_ALPHA=1
2602 cat >>confdefs.h <<\_ACEOF
2603 #define __ALPHA__ 1
2604 _ACEOF
2605
2606 fi
2607 DEFAULT_DEFAULT_wxUSE_GTK=1
2608 ;;
2609 *-*-gnu* | *-*-k*bsd*-gnu )
2610 USE_GNU=1
2611 TMP=`uname -m`
2612 if test "x$TMP" = "xalpha"; then
2613 USE_ALPHA=1
2614 cat >>confdefs.h <<\_ACEOF
2615 #define __ALPHA__ 1
2616 _ACEOF
2617
2618 fi
2619 DEFAULT_DEFAULT_wxUSE_GTK=1
2620 ;;
2621 *-*-irix5* | *-*-irix6* )
2622 USE_SGI=1
2623 USE_SVR4=1
2624 cat >>confdefs.h <<\_ACEOF
2625 #define __SGI__ 1
2626 _ACEOF
2627
2628 cat >>confdefs.h <<\_ACEOF
2629 #define __SVR4__ 1
2630 _ACEOF
2631
2632 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2633 ;;
2634 *-*-solaris2* )
2635 USE_SUN=1
2636 USE_SOLARIS=1
2637 USE_SVR4=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __SUN__ 1
2640 _ACEOF
2641
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __SOLARIS__ 1
2644 _ACEOF
2645
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __SVR4__ 1
2648 _ACEOF
2649
2650 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2651 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2652 ;;
2653 *-*-sunos4* )
2654 USE_SUN=1
2655 USE_SUNOS=1
2656 USE_BSD=1
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __SUN__ 1
2659 _ACEOF
2660
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __SUNOS__ 1
2663 _ACEOF
2664
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __BSD__ 1
2667 _ACEOF
2668
2669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2670 ;;
2671 *-*-freebsd*)
2672 USE_BSD=1
2673 USE_FREEBSD=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __FREEBSD__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __BSD__ 1
2680 _ACEOF
2681
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2683 ;;
2684 *-*-openbsd*|*-*-mirbsd*)
2685 USE_BSD=1
2686 USE_OPENBSD=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __OPENBSD__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __BSD__ 1
2693 _ACEOF
2694
2695 DEFAULT_DEFAULT_wxUSE_GTK=1
2696 ;;
2697 *-*-netbsd*)
2698 USE_BSD=1
2699 USE_NETBSD=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __NETBSD__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __BSD__ 1
2706 _ACEOF
2707
2708 DEFAULT_DEFAULT_wxUSE_GTK=1
2709 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2710
2711 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2712 ;;
2713 *-*-osf* )
2714 USE_ALPHA=1
2715 USE_OSF=1
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __ALPHA__ 1
2718 _ACEOF
2719
2720 cat >>confdefs.h <<\_ACEOF
2721 #define __OSF__ 1
2722 _ACEOF
2723
2724 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2725 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2726 ;;
2727 *-*-dgux5* )
2728 USE_ALPHA=1
2729 USE_SVR4=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __ALPHA__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __SVR4__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2739 ;;
2740 *-*-sysv5* )
2741 USE_SYSV=1
2742 USE_SVR4=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __SYSV__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __SVR4__ 1
2749 _ACEOF
2750
2751 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2752 ;;
2753 *-*-aix* )
2754 USE_AIX=1
2755 USE_SYSV=1
2756 USE_SVR4=1
2757 SO_SUFFIX=a
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __AIX__ 1
2760 _ACEOF
2761
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __SYSV__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __SVR4__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2771 ;;
2772
2773 *-*-*UnixWare*)
2774 USE_SYSV=1
2775 USE_SVR4=1
2776 USE_UNIXWARE=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __UNIXWARE__ 1
2779 _ACEOF
2780
2781 ;;
2782
2783 *-*-cygwin* | *-*-mingw32* )
2784 SO_SUFFIX=dll
2785 PROGRAM_EXT=".exe"
2786 DEFAULT_DEFAULT_wxUSE_MSW=1
2787 ;;
2788
2789 *-pc-msdosdjgpp )
2790 USE_UNIX=0
2791 USE_DOS=1
2792 cat >>confdefs.h <<\_ACEOF
2793 #define __DOS__ 1
2794 _ACEOF
2795
2796 PROGRAM_EXT=".exe"
2797 DEFAULT_DEFAULT_wxUSE_MGL=1
2798 ;;
2799
2800 *-pc-os2_emx | *-pc-os2-emx )
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __EMX__ 1
2803 _ACEOF
2804
2805 USE_OS2=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __OS2__ 1
2808 _ACEOF
2809
2810 PROGRAM_EXT=".exe"
2811 DEFAULT_DEFAULT_wxUSE_PM=1
2812 CXX=gcc
2813 LDFLAGS="$LDFLAGS -Zcrtdll"
2814 ac_executable_extensions=".exe"
2815 export ac_executable_extensions
2816 ac_save_IFS="$IFS"
2817 IFS='\\'
2818 ac_TEMP_PATH=
2819 for ac_dir in $PATH; do
2820 IFS=$ac_save_IFS
2821 if test -z "$ac_TEMP_PATH"; then
2822 ac_TEMP_PATH="$ac_dir"
2823 else
2824 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2825 fi
2826 done
2827 export PATH="$ac_TEMP_PATH"
2828 unset ac_TEMP_PATH
2829 DEFAULT_STD_FLAG=no
2830 ;;
2831
2832 *-*-darwin* )
2833 USE_BSD=1
2834 USE_DARWIN=1
2835 SO_SUFFIX=dylib
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __BSD__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __DARWIN__ 1
2842 _ACEOF
2843
2844 cat >>confdefs.h <<\_ACEOF
2845 #define TARGET_CARBON 1
2846 _ACEOF
2847
2848 DEFAULT_DEFAULT_wxUSE_MAC=1
2849 DEFAULT_STD_FLAG=no
2850 ;;
2851 powerpc-apple-macos* )
2852 USE_UNIX=0
2853 ac_cv_c_bigendian=yes
2854 SO_SUFFIX=shlib
2855 DEFAULT_DEFAULT_wxUSE_MAC=1
2856 DEFAULT_STD_FLAG=no
2857 ;;
2858
2859 *-*-beos* )
2860 USE_BEOS=1
2861 cat >>confdefs.h <<\_ACEOF
2862 #define __BEOS__ 1
2863 _ACEOF
2864
2865 ;;
2866
2867 *)
2868 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2869 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2870 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2871 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2872
2873 DEFAULT_DEFAULT_wxUSE_X11=1
2874 DEFAULT_wxUSE_SHARED=no
2875 esac
2876
2877
2878
2879
2880 wx_arg_cache_file="configarg.cache"
2881 echo "loading argument cache $wx_arg_cache_file"
2882 rm -f ${wx_arg_cache_file}.tmp
2883 touch ${wx_arg_cache_file}.tmp
2884 touch ${wx_arg_cache_file}
2885
2886
2887 DEBUG_CONFIGURE=0
2888 if test $DEBUG_CONFIGURE = 1; then
2889 DEFAULT_wxUSE_UNIVERSAL=no
2890 DEFAULT_wxUSE_STL=no
2891
2892 DEFAULT_wxUSE_NANOX=no
2893
2894 DEFAULT_wxUSE_THREADS=yes
2895
2896 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2897 DEFAULT_wxUSE_OPTIMISE=no
2898 DEFAULT_wxUSE_PROFILE=no
2899 DEFAULT_wxUSE_NO_DEPS=no
2900 DEFAULT_wxUSE_VARARG_MACROS=no
2901 DEFAULT_wxUSE_NO_RTTI=no
2902 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2903 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2904 DEFAULT_wxUSE_RPATH=yes
2905 DEFAULT_wxUSE_PERMISSIVE=no
2906 DEFAULT_wxUSE_DEBUG_FLAG=yes
2907 DEFAULT_wxUSE_DEBUG_INFO=yes
2908 DEFAULT_wxUSE_DEBUG_GDB=yes
2909 DEFAULT_wxUSE_MEM_TRACING=no
2910 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2911 DEFAULT_wxUSE_DMALLOC=no
2912 DEFAULT_wxUSE_APPLE_IEEE=no
2913
2914 DEFAULT_wxUSE_EXCEPTIONS=no
2915 DEFAULT_wxUSE_LOG=yes
2916 DEFAULT_wxUSE_LOGWINDOW=no
2917 DEFAULT_wxUSE_LOGGUI=no
2918 DEFAULT_wxUSE_LOGDIALOG=no
2919
2920 DEFAULT_wxUSE_GUI=yes
2921 DEFAULT_wxUSE_CONTROLS=no
2922
2923 DEFAULT_wxUSE_REGEX=no
2924 DEFAULT_wxUSE_XML=no
2925 DEFAULT_wxUSE_EXPAT=no
2926 DEFAULT_wxUSE_ZLIB=no
2927 DEFAULT_wxUSE_LIBPNG=no
2928 DEFAULT_wxUSE_LIBJPEG=no
2929 DEFAULT_wxUSE_LIBTIFF=no
2930 DEFAULT_wxUSE_LIBXPM=no
2931 DEFAULT_wxUSE_LIBMSPACK=no
2932 DEFAULT_wxUSE_LIBSDL=no
2933 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2934 DEFAULT_wxUSE_LIBGNOMEVFS=no
2935 DEFAULT_wxUSE_LIBHILDON=no
2936 DEFAULT_wxUSE_ODBC=no
2937 DEFAULT_wxUSE_OPENGL=no
2938
2939 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2940 DEFAULT_wxUSE_STACKWALKER=no
2941 DEFAULT_wxUSE_DEBUGREPORT=no
2942 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2943 DEFAULT_wxUSE_STD_IOSTREAM=no
2944 DEFAULT_wxUSE_STD_STRING=no
2945 DEFAULT_wxUSE_CMDLINE_PARSER=no
2946 DEFAULT_wxUSE_DATETIME=no
2947 DEFAULT_wxUSE_TIMER=no
2948 DEFAULT_wxUSE_STOPWATCH=no
2949 DEFAULT_wxUSE_FILE=no
2950 DEFAULT_wxUSE_FFILE=no
2951 DEFAULT_wxUSE_STDPATHS=no
2952 DEFAULT_wxUSE_TEXTBUFFER=no
2953 DEFAULT_wxUSE_TEXTFILE=no
2954 DEFAULT_wxUSE_SOUND=no
2955 DEFAULT_wxUSE_MEDIACTRL=no
2956 DEFAULT_wxUSE_GSTREAMER8=no
2957 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2958 DEFAULT_wxUSE_INTL=no
2959 DEFAULT_wxUSE_CONFIG=no
2960 DEFAULT_wxUSE_FONTMAP=no
2961 DEFAULT_wxUSE_STREAMS=no
2962 DEFAULT_wxUSE_SOCKETS=no
2963 DEFAULT_wxUSE_OLE=no
2964 DEFAULT_wxUSE_DATAOBJ=no
2965 DEFAULT_wxUSE_DIALUP_MANAGER=no
2966 DEFAULT_wxUSE_JOYSTICK=no
2967 DEFAULT_wxUSE_DYNLIB_CLASS=no
2968 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2969 DEFAULT_wxUSE_LONGLONG=no
2970 DEFAULT_wxUSE_GEOMETRY=no
2971
2972 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2973 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2974 DEFAULT_wxUSE_POSTSCRIPT=no
2975
2976 DEFAULT_wxUSE_CLIPBOARD=no
2977 DEFAULT_wxUSE_TOOLTIPS=no
2978 DEFAULT_wxUSE_DRAG_AND_DROP=no
2979 DEFAULT_wxUSE_DRAGIMAGE=no
2980 DEFAULT_wxUSE_SPLINES=no
2981 DEFAULT_wxUSE_MOUSEWHEEL=no
2982
2983 DEFAULT_wxUSE_MDI=no
2984 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2985 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2986 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2987
2988 DEFAULT_wxUSE_RESOURCES=no
2989 DEFAULT_wxUSE_CONSTRAINTS=no
2990 DEFAULT_wxUSE_IPC=no
2991 DEFAULT_wxUSE_HELP=no
2992 DEFAULT_wxUSE_MS_HTML_HELP=no
2993 DEFAULT_wxUSE_WXHTML_HELP=no
2994 DEFAULT_wxUSE_TREELAYOUT=no
2995 DEFAULT_wxUSE_METAFILE=no
2996 DEFAULT_wxUSE_MIMETYPE=no
2997 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2998 DEFAULT_wxUSE_PROTOCOL=no
2999 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3000 DEFAULT_wxUSE_PROTOCOL_FTP=no
3001 DEFAULT_wxUSE_PROTOCOL_FILE=no
3002 DEFAULT_wxUSE_URL=no
3003 DEFAULT_wxUSE_VARIANT=no
3004
3005 DEFAULT_wxUSE_ABOUTDLG=no
3006 DEFAULT_wxUSE_COMMONDLGS=no
3007 DEFAULT_wxUSE_CHOICEDLG=no
3008 DEFAULT_wxUSE_COLOURDLG=no
3009 DEFAULT_wxUSE_DIRDLG=no
3010 DEFAULT_wxUSE_FILEDLG=no
3011 DEFAULT_wxUSE_FINDREPLDLG=no
3012 DEFAULT_wxUSE_FONTDLG=no
3013 DEFAULT_wxUSE_MSGDLG=no
3014 DEFAULT_wxUSE_NUMBERDLG=no
3015 DEFAULT_wxUSE_TEXTDLG=no
3016 DEFAULT_wxUSE_SPLASH=no
3017 DEFAULT_wxUSE_STARTUP_TIPS=no
3018 DEFAULT_wxUSE_PROGRESSDLG=no
3019 DEFAULT_wxUSE_WIZARDDLG=no
3020
3021 DEFAULT_wxUSE_MENUS=no
3022 DEFAULT_wxUSE_MINIFRAME=no
3023 DEFAULT_wxUSE_HTML=no
3024 DEFAULT_wxUSE_RICHTEXT=no
3025 DEFAULT_wxUSE_XRC=no
3026 DEFAULT_wxUSE_AUI=no
3027 DEFAULT_wxUSE_WEBKIT=no
3028 DEFAULT_wxUSE_FILESYSTEM=no
3029 DEFAULT_wxUSE_FS_INET=no
3030 DEFAULT_wxUSE_FS_ZIP=no
3031 DEFAULT_wxUSE_FS_ARCHIVE=no
3032 DEFAULT_wxUSE_BUSYINFO=no
3033 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3034 DEFAULT_wxUSE_ZIPSTREAM=no
3035 DEFAULT_wxUSE_TARSTREAM=no
3036 DEFAULT_wxUSE_VALIDATORS=no
3037
3038 DEFAULT_wxUSE_ACCEL=no
3039 DEFAULT_wxUSE_ANIMATIONCTRL=no
3040 DEFAULT_wxUSE_BUTTON=no
3041 DEFAULT_wxUSE_BMPBUTTON=no
3042 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3043 DEFAULT_wxUSE_CALCTRL=no
3044 DEFAULT_wxUSE_CARET=no
3045 DEFAULT_wxUSE_CHECKBOX=no
3046 DEFAULT_wxUSE_CHECKLST=no
3047 DEFAULT_wxUSE_CHOICE=no
3048 DEFAULT_wxUSE_CHOICEBOOK=no
3049 DEFAULT_wxUSE_COLLPANE=no
3050 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3051 DEFAULT_wxUSE_COMBOBOX=no
3052 DEFAULT_wxUSE_COMBOCTRL=no
3053 DEFAULT_wxUSE_DATEPICKCTRL=no
3054 DEFAULT_wxUSE_DISPLAY=no
3055 DEFAULT_wxUSE_DETECT_SM=no
3056 DEFAULT_wxUSE_DIRPICKERCTRL=no
3057 DEFAULT_wxUSE_FILEPICKERCTRL=no
3058 DEFAULT_wxUSE_FONTPICKERCTRL=no
3059 DEFAULT_wxUSE_GAUGE=no
3060 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3061 DEFAULT_wxUSE_GRID=no
3062 DEFAULT_wxUSE_HYPERLINKCTRL=no
3063 DEFAULT_wxUSE_DATAVIEWCTRL=no
3064 DEFAULT_wxUSE_IMAGLIST=no
3065 DEFAULT_wxUSE_LISTBOOK=no
3066 DEFAULT_wxUSE_LISTBOX=no
3067 DEFAULT_wxUSE_LISTCTRL=no
3068 DEFAULT_wxUSE_NOTEBOOK=no
3069 DEFAULT_wxUSE_ODCOMBOBOX=no
3070 DEFAULT_wxUSE_RADIOBOX=no
3071 DEFAULT_wxUSE_RADIOBTN=no
3072 DEFAULT_wxUSE_SASH=no
3073 DEFAULT_wxUSE_SCROLLBAR=no
3074 DEFAULT_wxUSE_SEARCHCTRL=no
3075 DEFAULT_wxUSE_SLIDER=no
3076 DEFAULT_wxUSE_SPINBTN=no
3077 DEFAULT_wxUSE_SPINCTRL=no
3078 DEFAULT_wxUSE_SPLITTER=no
3079 DEFAULT_wxUSE_STATBMP=no
3080 DEFAULT_wxUSE_STATBOX=no
3081 DEFAULT_wxUSE_STATLINE=no
3082 DEFAULT_wxUSE_STATTEXT=no
3083 DEFAULT_wxUSE_STATUSBAR=yes
3084 DEFAULT_wxUSE_TAB_DIALOG=no
3085 DEFAULT_wxUSE_TEXTCTRL=no
3086 DEFAULT_wxUSE_TOGGLEBTN=no
3087 DEFAULT_wxUSE_TOOLBAR=no
3088 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3089 DEFAULT_wxUSE_TREEBOOK=no
3090 DEFAULT_wxUSE_TOOLBOOK=no
3091 DEFAULT_wxUSE_TREECTRL=no
3092 DEFAULT_wxUSE_POPUPWIN=no
3093 DEFAULT_wxUSE_TIPWINDOW=no
3094
3095 DEFAULT_wxUSE_UNICODE=no
3096 DEFAULT_wxUSE_UNICODE_MSLU=no
3097 DEFAULT_wxUSE_WCSRTOMBS=no
3098
3099 DEFAULT_wxUSE_PALETTE=no
3100 DEFAULT_wxUSE_IMAGE=no
3101 DEFAULT_wxUSE_GIF=no
3102 DEFAULT_wxUSE_PCX=no
3103 DEFAULT_wxUSE_TGA=no
3104 DEFAULT_wxUSE_PNM=no
3105 DEFAULT_wxUSE_IFF=no
3106 DEFAULT_wxUSE_XPM=no
3107 DEFAULT_wxUSE_ICO_CUR=no
3108 DEFAULT_wxUSE_ACCESSIBILITY=no
3109
3110 DEFAULT_wxUSE_MONOLITHIC=no
3111 DEFAULT_wxUSE_PLUGINS=no
3112 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3113 else
3114 DEFAULT_wxUSE_UNIVERSAL=no
3115 DEFAULT_wxUSE_STL=no
3116
3117 DEFAULT_wxUSE_NANOX=no
3118
3119 DEFAULT_wxUSE_THREADS=yes
3120
3121 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3122 DEFAULT_wxUSE_OPTIMISE=yes
3123 DEFAULT_wxUSE_PROFILE=no
3124 DEFAULT_wxUSE_NO_DEPS=no
3125 DEFAULT_wxUSE_VARARG_MACROS=yes
3126 DEFAULT_wxUSE_NO_RTTI=no
3127 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3128 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3129 DEFAULT_wxUSE_RPATH=yes
3130 DEFAULT_wxUSE_PERMISSIVE=no
3131 DEFAULT_wxUSE_DEBUG_FLAG=no
3132 DEFAULT_wxUSE_DEBUG_INFO=no
3133 DEFAULT_wxUSE_DEBUG_GDB=no
3134 DEFAULT_wxUSE_MEM_TRACING=no
3135 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3136 DEFAULT_wxUSE_DMALLOC=no
3137 DEFAULT_wxUSE_APPLE_IEEE=yes
3138
3139 DEFAULT_wxUSE_EXCEPTIONS=yes
3140 DEFAULT_wxUSE_LOG=yes
3141 DEFAULT_wxUSE_LOGWINDOW=yes
3142 DEFAULT_wxUSE_LOGGUI=yes
3143 DEFAULT_wxUSE_LOGDIALOG=yes
3144
3145 DEFAULT_wxUSE_GUI=yes
3146
3147 DEFAULT_wxUSE_REGEX=yes
3148 DEFAULT_wxUSE_XML=yes
3149 DEFAULT_wxUSE_EXPAT=yes
3150 DEFAULT_wxUSE_ZLIB=yes
3151 DEFAULT_wxUSE_LIBPNG=yes
3152 DEFAULT_wxUSE_LIBJPEG=yes
3153 DEFAULT_wxUSE_LIBTIFF=yes
3154 DEFAULT_wxUSE_LIBXPM=yes
3155 DEFAULT_wxUSE_LIBMSPACK=yes
3156 DEFAULT_wxUSE_LIBSDL=no
3157 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3158 DEFAULT_wxUSE_LIBGNOMEVFS=no
3159 DEFAULT_wxUSE_LIBHILDON=no
3160 DEFAULT_wxUSE_ODBC=no
3161 DEFAULT_wxUSE_OPENGL=no
3162
3163 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3164 DEFAULT_wxUSE_STACKWALKER=yes
3165 DEFAULT_wxUSE_DEBUGREPORT=yes
3166 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3167 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3168 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3169 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3170 DEFAULT_wxUSE_DATETIME=yes
3171 DEFAULT_wxUSE_TIMER=yes
3172 DEFAULT_wxUSE_STOPWATCH=yes
3173 DEFAULT_wxUSE_FILE=yes
3174 DEFAULT_wxUSE_FFILE=yes
3175 DEFAULT_wxUSE_STDPATHS=yes
3176 DEFAULT_wxUSE_TEXTBUFFER=yes
3177 DEFAULT_wxUSE_TEXTFILE=yes
3178 DEFAULT_wxUSE_SOUND=yes
3179 DEFAULT_wxUSE_MEDIACTRL=no
3180 DEFAULT_wxUSE_GSTREAMER8=no
3181 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3182 DEFAULT_wxUSE_INTL=yes
3183 DEFAULT_wxUSE_CONFIG=yes
3184 DEFAULT_wxUSE_FONTMAP=yes
3185 DEFAULT_wxUSE_STREAMS=yes
3186 DEFAULT_wxUSE_SOCKETS=yes
3187 DEFAULT_wxUSE_OLE=yes
3188 DEFAULT_wxUSE_DATAOBJ=yes
3189 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3190 DEFAULT_wxUSE_JOYSTICK=yes
3191 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3192 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3193 DEFAULT_wxUSE_LONGLONG=yes
3194 DEFAULT_wxUSE_GEOMETRY=yes
3195
3196 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3197 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3198 DEFAULT_wxUSE_POSTSCRIPT=yes
3199
3200 DEFAULT_wxUSE_CLIPBOARD=yes
3201 DEFAULT_wxUSE_TOOLTIPS=yes
3202 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3203 DEFAULT_wxUSE_DRAGIMAGE=yes
3204 DEFAULT_wxUSE_SPLINES=yes
3205 DEFAULT_wxUSE_MOUSEWHEEL=yes
3206
3207 DEFAULT_wxUSE_MDI=yes
3208 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3209 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3210 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3211
3212 DEFAULT_wxUSE_RESOURCES=no
3213 DEFAULT_wxUSE_CONSTRAINTS=yes
3214 DEFAULT_wxUSE_IPC=yes
3215 DEFAULT_wxUSE_HELP=yes
3216 DEFAULT_wxUSE_MS_HTML_HELP=yes
3217 DEFAULT_wxUSE_WXHTML_HELP=yes
3218 DEFAULT_wxUSE_TREELAYOUT=yes
3219 DEFAULT_wxUSE_METAFILE=yes
3220 DEFAULT_wxUSE_MIMETYPE=yes
3221 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3222 DEFAULT_wxUSE_PROTOCOL=yes
3223 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3224 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3225 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3226 DEFAULT_wxUSE_URL=yes
3227 DEFAULT_wxUSE_VARIANT=yes
3228
3229 DEFAULT_wxUSE_ABOUTDLG=yes
3230 DEFAULT_wxUSE_COMMONDLGS=yes
3231 DEFAULT_wxUSE_CHOICEDLG=yes
3232 DEFAULT_wxUSE_COLOURDLG=yes
3233 DEFAULT_wxUSE_DIRDLG=yes
3234 DEFAULT_wxUSE_FILEDLG=yes
3235 DEFAULT_wxUSE_FINDREPLDLG=yes
3236 DEFAULT_wxUSE_FONTDLG=yes
3237 DEFAULT_wxUSE_MSGDLG=yes
3238 DEFAULT_wxUSE_NUMBERDLG=yes
3239 DEFAULT_wxUSE_TEXTDLG=yes
3240 DEFAULT_wxUSE_SPLASH=yes
3241 DEFAULT_wxUSE_STARTUP_TIPS=yes
3242 DEFAULT_wxUSE_PROGRESSDLG=yes
3243 DEFAULT_wxUSE_WIZARDDLG=yes
3244
3245 DEFAULT_wxUSE_MENUS=yes
3246 DEFAULT_wxUSE_MINIFRAME=yes
3247 DEFAULT_wxUSE_HTML=yes
3248 DEFAULT_wxUSE_RICHTEXT=yes
3249 DEFAULT_wxUSE_XRC=yes
3250 DEFAULT_wxUSE_AUI=yes
3251 DEFAULT_wxUSE_WEBKIT=yes
3252 DEFAULT_wxUSE_FILESYSTEM=yes
3253 DEFAULT_wxUSE_FS_INET=yes
3254 DEFAULT_wxUSE_FS_ZIP=yes
3255 DEFAULT_wxUSE_FS_ARCHIVE=yes
3256 DEFAULT_wxUSE_BUSYINFO=yes
3257 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3258 DEFAULT_wxUSE_ZIPSTREAM=yes
3259 DEFAULT_wxUSE_TARSTREAM=yes
3260 DEFAULT_wxUSE_VALIDATORS=yes
3261
3262 DEFAULT_wxUSE_ACCEL=yes
3263 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3264 DEFAULT_wxUSE_BUTTON=yes
3265 DEFAULT_wxUSE_BMPBUTTON=yes
3266 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3267 DEFAULT_wxUSE_CALCTRL=yes
3268 DEFAULT_wxUSE_CARET=yes
3269 DEFAULT_wxUSE_CHECKBOX=yes
3270 DEFAULT_wxUSE_CHECKLST=yes
3271 DEFAULT_wxUSE_CHOICE=yes
3272 DEFAULT_wxUSE_CHOICEBOOK=yes
3273 DEFAULT_wxUSE_COLLPANE=yes
3274 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3275 DEFAULT_wxUSE_COMBOBOX=yes
3276 DEFAULT_wxUSE_COMBOCTRL=yes
3277 DEFAULT_wxUSE_DATEPICKCTRL=yes
3278 DEFAULT_wxUSE_DISPLAY=yes
3279 DEFAULT_wxUSE_DETECT_SM=yes
3280 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3281 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3282 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3283 DEFAULT_wxUSE_GAUGE=yes
3284 DEFAULT_wxUSE_GRID=yes
3285 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3286 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3287 DEFAULT_wxUSE_DATAVIEWCTRL=no
3288 DEFAULT_wxUSE_IMAGLIST=yes
3289 DEFAULT_wxUSE_LISTBOOK=yes
3290 DEFAULT_wxUSE_LISTBOX=yes
3291 DEFAULT_wxUSE_LISTCTRL=yes
3292 DEFAULT_wxUSE_NOTEBOOK=yes
3293 DEFAULT_wxUSE_ODCOMBOBOX=yes
3294 DEFAULT_wxUSE_RADIOBOX=yes
3295 DEFAULT_wxUSE_RADIOBTN=yes
3296 DEFAULT_wxUSE_SASH=yes
3297 DEFAULT_wxUSE_SCROLLBAR=yes
3298 DEFAULT_wxUSE_SEARCHCTRL=yes
3299 DEFAULT_wxUSE_SLIDER=yes
3300 DEFAULT_wxUSE_SPINBTN=yes
3301 DEFAULT_wxUSE_SPINCTRL=yes
3302 DEFAULT_wxUSE_SPLITTER=yes
3303 DEFAULT_wxUSE_STATBMP=yes
3304 DEFAULT_wxUSE_STATBOX=yes
3305 DEFAULT_wxUSE_STATLINE=yes
3306 DEFAULT_wxUSE_STATTEXT=yes
3307 DEFAULT_wxUSE_STATUSBAR=yes
3308 DEFAULT_wxUSE_TAB_DIALOG=no
3309 DEFAULT_wxUSE_TEXTCTRL=yes
3310 DEFAULT_wxUSE_TOGGLEBTN=yes
3311 DEFAULT_wxUSE_TOOLBAR=yes
3312 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3313 DEFAULT_wxUSE_TREEBOOK=yes
3314 DEFAULT_wxUSE_TOOLBOOK=yes
3315 DEFAULT_wxUSE_TREECTRL=yes
3316 DEFAULT_wxUSE_POPUPWIN=yes
3317 DEFAULT_wxUSE_TIPWINDOW=yes
3318
3319 DEFAULT_wxUSE_UNICODE=no
3320 DEFAULT_wxUSE_UNICODE_MSLU=yes
3321 DEFAULT_wxUSE_WCSRTOMBS=no
3322
3323 DEFAULT_wxUSE_PALETTE=yes
3324 DEFAULT_wxUSE_IMAGE=yes
3325 DEFAULT_wxUSE_GIF=yes
3326 DEFAULT_wxUSE_PCX=yes
3327 DEFAULT_wxUSE_TGA=yes
3328 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3329 DEFAULT_wxUSE_XPM=yes
3330 DEFAULT_wxUSE_ICO_CUR=yes
3331 DEFAULT_wxUSE_ACCESSIBILITY=no
3332
3333 DEFAULT_wxUSE_MONOLITHIC=no
3334 DEFAULT_wxUSE_PLUGINS=no
3335 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3336
3337 DEFAULT_wxUSE_GTK2=yes
3338 fi
3339
3340
3341
3342
3343 for toolkit in `echo $ALL_TOOLKITS`; do
3344 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3345 if test "x$LINE" != "x" ; then
3346 has_toolkit_in_cache=1
3347 eval "DEFAULT_$LINE"
3348 eval "CACHE_$toolkit=1"
3349
3350 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3351 if test "x$LINE" != "x" ; then
3352 eval "DEFAULT_$LINE"
3353 fi
3354 fi
3355 done
3356
3357
3358
3359 enablestring=
3360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3361 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3362 no_cache=0
3363 # Check whether --enable-gui was given.
3364 if test "${enable_gui+set}" = set; then
3365 enableval=$enable_gui;
3366 if test "$enableval" = yes; then
3367 ac_cv_use_gui='wxUSE_GUI=yes'
3368 else
3369 ac_cv_use_gui='wxUSE_GUI=no'
3370 fi
3371
3372 else
3373
3374 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3377 else
3378 no_cache=1
3379 fi
3380
3381 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3382
3383 fi
3384
3385
3386 eval "$ac_cv_use_gui"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3389 fi
3390
3391 if test "$wxUSE_GUI" = yes; then
3392 { echo "$as_me:$LINENO: result: yes" >&5
3393 echo "${ECHO_T}yes" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3397 fi
3398
3399
3400 enablestring=
3401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3402 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3403 no_cache=0
3404 # Check whether --enable-monolithic was given.
3405 if test "${enable_monolithic+set}" = set; then
3406 enableval=$enable_monolithic;
3407 if test "$enableval" = yes; then
3408 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3409 else
3410 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3411 fi
3412
3413 else
3414
3415 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3418 else
3419 no_cache=1
3420 fi
3421
3422 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3423
3424 fi
3425
3426
3427 eval "$ac_cv_use_monolithic"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3430 fi
3431
3432 if test "$wxUSE_MONOLITHIC" = yes; then
3433 { echo "$as_me:$LINENO: result: yes" >&5
3434 echo "${ECHO_T}yes" >&6; }
3435 else
3436 { echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6; }
3438 fi
3439
3440
3441 enablestring=
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3444 no_cache=0
3445 # Check whether --enable-plugins was given.
3446 if test "${enable_plugins+set}" = set; then
3447 enableval=$enable_plugins;
3448 if test "$enableval" = yes; then
3449 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3450 else
3451 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3452 fi
3453
3454 else
3455
3456 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3464
3465 fi
3466
3467
3468 eval "$ac_cv_use_plugins"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3471 fi
3472
3473 if test "$wxUSE_PLUGINS" = yes; then
3474 { echo "$as_me:$LINENO: result: yes" >&5
3475 echo "${ECHO_T}yes" >&6; }
3476 else
3477 { echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6; }
3479 fi
3480
3481
3482 withstring=without
3483 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3485 no_cache=0
3486
3487 # Check whether --with-subdirs was given.
3488 if test "${with_subdirs+set}" = set; then
3489 withval=$with_subdirs;
3490 if test "$withval" = yes; then
3491 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3492 else
3493 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3494 fi
3495
3496 else
3497
3498 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3499 if test "x$LINE" != x ; then
3500 eval "DEFAULT_$LINE"
3501 else
3502 no_cache=1
3503 fi
3504
3505 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3506
3507 fi
3508
3509
3510 eval "$ac_cv_use_subdirs"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3513 fi
3514
3515 if test "$wxWITH_SUBDIRS" = yes; then
3516 { echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6; }
3518 else
3519 { echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6; }
3521 fi
3522
3523
3524 if test "$wxUSE_GUI" = "yes"; then
3525
3526
3527 enablestring=
3528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3529 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3530 no_cache=0
3531 # Check whether --enable-universal was given.
3532 if test "${enable_universal+set}" = set; then
3533 enableval=$enable_universal;
3534 if test "$enableval" = yes; then
3535 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3536 else
3537 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3538 fi
3539
3540 else
3541
3542 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x ; then
3544 eval "DEFAULT_$LINE"
3545 else
3546 no_cache=1
3547 fi
3548
3549 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3550
3551 fi
3552
3553
3554 eval "$ac_cv_use_universal"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3557 fi
3558
3559 if test "$wxUSE_UNIVERSAL" = yes; then
3560 { echo "$as_me:$LINENO: result: yes" >&5
3561 echo "${ECHO_T}yes" >&6; }
3562 else
3563 { echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6; }
3565 fi
3566
3567
3568 # Check whether --with-gtk was given.
3569 if test "${with_gtk+set}" = set; then
3570 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3571 fi
3572
3573
3574 # Check whether --with-motif was given.
3575 if test "${with_motif+set}" = set; then
3576 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3577 fi
3578
3579
3580 # Check whether --with-mac was given.
3581 if test "${with_mac+set}" = set; then
3582 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3583 fi
3584
3585
3586 # Check whether --with-cocoa was given.
3587 if test "${with_cocoa+set}" = set; then
3588 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3589 fi
3590
3591
3592 # Check whether --with-wine was given.
3593 if test "${with_wine+set}" = set; then
3594 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3595 fi
3596
3597
3598 # Check whether --with-msw was given.
3599 if test "${with_msw+set}" = set; then
3600 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3601 fi
3602
3603
3604 # Check whether --with-pm was given.
3605 if test "${with_pm+set}" = set; then
3606 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3607 fi
3608
3609
3610 # Check whether --with-mgl was given.
3611 if test "${with_mgl+set}" = set; then
3612 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3613 fi
3614
3615
3616 # Check whether --with-directfb was given.
3617 if test "${with_directfb+set}" = set; then
3618 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3619 fi
3620
3621
3622 # Check whether --with-microwin was given.
3623 if test "${with_microwin+set}" = set; then
3624 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3625 fi
3626
3627
3628 # Check whether --with-x11 was given.
3629 if test "${with_x11+set}" = set; then
3630 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3631 fi
3632
3633
3634 enablestring=
3635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3636 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3637 no_cache=0
3638 # Check whether --enable-nanox was given.
3639 if test "${enable_nanox+set}" = set; then
3640 enableval=$enable_nanox;
3641 if test "$enableval" = yes; then
3642 ac_cv_use_nanox='wxUSE_NANOX=yes'
3643 else
3644 ac_cv_use_nanox='wxUSE_NANOX=no'
3645 fi
3646
3647 else
3648
3649 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x ; then
3651 eval "DEFAULT_$LINE"
3652 else
3653 no_cache=1
3654 fi
3655
3656 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3657
3658 fi
3659
3660
3661 eval "$ac_cv_use_nanox"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3664 fi
3665
3666 if test "$wxUSE_NANOX" = yes; then
3667 { echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6; }
3669 else
3670 { echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6; }
3672 fi
3673
3674
3675 # Check whether --enable-gtk2 was given.
3676 if test "${enable_gtk2+set}" = set; then
3677 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3678 fi
3679
3680
3681 enablestring=
3682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3683 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3684 no_cache=0
3685 # Check whether --enable-gpe was given.
3686 if test "${enable_gpe+set}" = set; then
3687 enableval=$enable_gpe;
3688 if test "$enableval" = yes; then
3689 ac_cv_use_gpe='wxUSE_GPE=yes'
3690 else
3691 ac_cv_use_gpe='wxUSE_GPE=no'
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3704
3705 fi
3706
3707
3708 eval "$ac_cv_use_gpe"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3711 fi
3712
3713 if test "$wxUSE_GPE" = yes; then
3714 { echo "$as_me:$LINENO: result: yes" >&5
3715 echo "${ECHO_T}yes" >&6; }
3716 else
3717 { echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6; }
3719 fi
3720
3721
3722
3723 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3724 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3725 no_cache=0
3726
3727 # Check whether --with-libpng was given.
3728 if test "${with_libpng+set}" = set; then
3729 withval=$with_libpng;
3730 if test "$withval" = yes; then
3731 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3732 elif test "$withval" = no; then
3733 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3734 elif test "$withval" = sys; then
3735 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3736 elif test "$withval" = builtin; then
3737 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3738 else
3739 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3740 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3741 { (exit 1); exit 1; }; }
3742 fi
3743
3744 else
3745
3746 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3747 if test "x$LINE" != x ; then
3748 eval "DEFAULT_$LINE"
3749 else
3750 no_cache=1
3751 fi
3752
3753 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3754
3755 fi
3756
3757
3758 eval "$ac_cv_use_libpng"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3761 fi
3762
3763 if test "$wxUSE_LIBPNG" = yes; then
3764 { echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6; }
3766 elif test "$wxUSE_LIBPNG" = no; then
3767 { echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6; }
3769 elif test "$wxUSE_LIBPNG" = sys; then
3770 { echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6; }
3772 elif test "$wxUSE_LIBPNG" = builtin; then
3773 { echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6; }
3775 else
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3779 fi
3780
3781
3782 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3783 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3784 no_cache=0
3785
3786 # Check whether --with-libjpeg was given.
3787 if test "${with_libjpeg+set}" = set; then
3788 withval=$with_libjpeg;
3789 if test "$withval" = yes; then
3790 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3791 elif test "$withval" = no; then
3792 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3793 elif test "$withval" = sys; then
3794 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3795 elif test "$withval" = builtin; then
3796 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3797 else
3798 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3799 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3800 { (exit 1); exit 1; }; }
3801 fi
3802
3803 else
3804
3805 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x ; then
3807 eval "DEFAULT_$LINE"
3808 else
3809 no_cache=1
3810 fi
3811
3812 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3813
3814 fi
3815
3816
3817 eval "$ac_cv_use_libjpeg"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3820 fi
3821
3822 if test "$wxUSE_LIBJPEG" = yes; then
3823 { echo "$as_me:$LINENO: result: yes" >&5
3824 echo "${ECHO_T}yes" >&6; }
3825 elif test "$wxUSE_LIBJPEG" = no; then
3826 { echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = sys; then
3829 { echo "$as_me:$LINENO: result: system version" >&5
3830 echo "${ECHO_T}system version" >&6; }
3831 elif test "$wxUSE_LIBJPEG" = builtin; then
3832 { echo "$as_me:$LINENO: result: builtin version" >&5
3833 echo "${ECHO_T}builtin version" >&6; }
3834 else
3835 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3836 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3837 { (exit 1); exit 1; }; }
3838 fi
3839
3840
3841 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3842 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3843 no_cache=0
3844
3845 # Check whether --with-libtiff was given.
3846 if test "${with_libtiff+set}" = set; then
3847 withval=$with_libtiff;
3848 if test "$withval" = yes; then
3849 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3850 elif test "$withval" = no; then
3851 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3852 elif test "$withval" = sys; then
3853 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3854 elif test "$withval" = builtin; then
3855 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3856 else
3857 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3858 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3859 { (exit 1); exit 1; }; }
3860 fi
3861
3862 else
3863
3864 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x ; then
3866 eval "DEFAULT_$LINE"
3867 else
3868 no_cache=1
3869 fi
3870
3871 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3872
3873 fi
3874
3875
3876 eval "$ac_cv_use_libtiff"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3879 fi
3880
3881 if test "$wxUSE_LIBTIFF" = yes; then
3882 { echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6; }
3884 elif test "$wxUSE_LIBTIFF" = no; then
3885 { echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = sys; then
3888 { echo "$as_me:$LINENO: result: system version" >&5
3889 echo "${ECHO_T}system version" >&6; }
3890 elif test "$wxUSE_LIBTIFF" = builtin; then
3891 { echo "$as_me:$LINENO: result: builtin version" >&5
3892 echo "${ECHO_T}builtin version" >&6; }
3893 else
3894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3895 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3896 { (exit 1); exit 1; }; }
3897 fi
3898
3899
3900 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3901 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3902 no_cache=0
3903
3904 # Check whether --with-libxpm was given.
3905 if test "${with_libxpm+set}" = set; then
3906 withval=$with_libxpm;
3907 if test "$withval" = yes; then
3908 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3909 elif test "$withval" = no; then
3910 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3911 elif test "$withval" = sys; then
3912 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3913 elif test "$withval" = builtin; then
3914 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3915 else
3916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3917 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3918 { (exit 1); exit 1; }; }
3919 fi
3920
3921 else
3922
3923 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3926 else
3927 no_cache=1
3928 fi
3929
3930 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3931
3932 fi
3933
3934
3935 eval "$ac_cv_use_libxpm"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3938 fi
3939
3940 if test "$wxUSE_LIBXPM" = yes; then
3941 { echo "$as_me:$LINENO: result: yes" >&5
3942 echo "${ECHO_T}yes" >&6; }
3943 elif test "$wxUSE_LIBXPM" = no; then
3944 { echo "$as_me:$LINENO: result: no" >&5
3945 echo "${ECHO_T}no" >&6; }
3946 elif test "$wxUSE_LIBXPM" = sys; then
3947 { echo "$as_me:$LINENO: result: system version" >&5
3948 echo "${ECHO_T}system version" >&6; }
3949 elif test "$wxUSE_LIBXPM" = builtin; then
3950 { echo "$as_me:$LINENO: result: builtin version" >&5
3951 echo "${ECHO_T}builtin version" >&6; }
3952 else
3953 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3954 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3955 { (exit 1); exit 1; }; }
3956 fi
3957
3958
3959 withstring=
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3962 no_cache=0
3963
3964 # Check whether --with-libmspack was given.
3965 if test "${with_libmspack+set}" = set; then
3966 withval=$with_libmspack;
3967 if test "$withval" = yes; then
3968 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3969 else
3970 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3971 fi
3972
3973 else
3974
3975 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x ; then
3977 eval "DEFAULT_$LINE"
3978 else
3979 no_cache=1
3980 fi
3981
3982 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3983
3984 fi
3985
3986
3987 eval "$ac_cv_use_libmspack"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3990 fi
3991
3992 if test "$wxUSE_LIBMSPACK" = yes; then
3993 { echo "$as_me:$LINENO: result: yes" >&5
3994 echo "${ECHO_T}yes" >&6; }
3995 else
3996 { echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6; }
3998 fi
3999
4000
4001 withstring=
4002 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4003 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4004 no_cache=0
4005
4006 # Check whether --with-sdl was given.
4007 if test "${with_sdl+set}" = set; then
4008 withval=$with_sdl;
4009 if test "$withval" = yes; then
4010 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4011 else
4012 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4013 fi
4014
4015 else
4016
4017 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4020 else
4021 no_cache=1
4022 fi
4023
4024 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4025
4026 fi
4027
4028
4029 eval "$ac_cv_use_sdl"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4032 fi
4033
4034 if test "$wxUSE_LIBSDL" = yes; then
4035 { echo "$as_me:$LINENO: result: yes" >&5
4036 echo "${ECHO_T}yes" >&6; }
4037 else
4038 { echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6; }
4040 fi
4041
4042
4043 withstring=
4044 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4045 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4046 no_cache=0
4047
4048 # Check whether --with-gnomeprint was given.
4049 if test "${with_gnomeprint+set}" = set; then
4050 withval=$with_gnomeprint;
4051 if test "$withval" = yes; then
4052 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4053 else
4054 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4055 fi
4056
4057 else
4058
4059 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x ; then
4061 eval "DEFAULT_$LINE"
4062 else
4063 no_cache=1
4064 fi
4065
4066 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4067
4068 fi
4069
4070
4071 eval "$ac_cv_use_gnomeprint"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4074 fi
4075
4076 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4077 { echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6; }
4079 else
4080 { echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6; }
4082 fi
4083
4084
4085 withstring=
4086 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4087 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4088 no_cache=0
4089
4090 # Check whether --with-gnomevfs was given.
4091 if test "${with_gnomevfs+set}" = set; then
4092 withval=$with_gnomevfs;
4093 if test "$withval" = yes; then
4094 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4095 else
4096 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4109
4110 fi
4111
4112
4113 eval "$ac_cv_use_gnomevfs"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4116 fi
4117
4118 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4119 { echo "$as_me:$LINENO: result: yes" >&5
4120 echo "${ECHO_T}yes" >&6; }
4121 else
4122 { echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6; }
4124 fi
4125
4126
4127 withstring=
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4130 no_cache=0
4131
4132 # Check whether --with-hildon was given.
4133 if test "${with_hildon+set}" = set; then
4134 withval=$with_hildon;
4135 if test "$withval" = yes; then
4136 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4137 else
4138 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4139 fi
4140
4141 else
4142
4143 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4144 if test "x$LINE" != x ; then
4145 eval "DEFAULT_$LINE"
4146 else
4147 no_cache=1
4148 fi
4149
4150 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4151
4152 fi
4153
4154
4155 eval "$ac_cv_use_hildon"
4156 if test "$no_cache" != 1; then
4157 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4158 fi
4159
4160 if test "$wxUSE_LIBHILDON" = yes; then
4161 { echo "$as_me:$LINENO: result: yes" >&5
4162 echo "${ECHO_T}yes" >&6; }
4163 else
4164 { echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6; }
4166 fi
4167
4168
4169 withstring=
4170 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4171 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4172 no_cache=0
4173
4174 # Check whether --with-opengl was given.
4175 if test "${with_opengl+set}" = set; then
4176 withval=$with_opengl;
4177 if test "$withval" = yes; then
4178 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4179 else
4180 ac_cv_use_opengl='wxUSE_OPENGL=no'
4181 fi
4182
4183 else
4184
4185 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x ; then
4187 eval "DEFAULT_$LINE"
4188 else
4189 no_cache=1
4190 fi
4191
4192 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4193
4194 fi
4195
4196
4197 eval "$ac_cv_use_opengl"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test "$wxUSE_OPENGL" = yes; then
4203 { echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6; }
4205 else
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4208 fi
4209
4210
4211 if test "$wxUSE_UNIVERSAL" = "yes"; then
4212
4213 # Check whether --with-themes was given.
4214 if test "${with_themes+set}" = set; then
4215 withval=$with_themes; wxUNIV_THEMES="$withval"
4216 fi
4217
4218 fi
4219
4220 fi
4221
4222
4223 withstring=
4224 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4225 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4226 no_cache=0
4227
4228 # Check whether --with-dmalloc was given.
4229 if test "${with_dmalloc+set}" = set; then
4230 withval=$with_dmalloc;
4231 if test "$withval" = yes; then
4232 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4233 else
4234 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4235 fi
4236
4237 else
4238
4239 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x ; then
4241 eval "DEFAULT_$LINE"
4242 else
4243 no_cache=1
4244 fi
4245
4246 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4247
4248 fi
4249
4250
4251 eval "$ac_cv_use_dmalloc"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4254 fi
4255
4256 if test "$wxUSE_DMALLOC" = yes; then
4257 { echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6; }
4259 else
4260 { echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6; }
4262 fi
4263
4264
4265 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4266 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4267 no_cache=0
4268
4269 # Check whether --with-regex was given.
4270 if test "${with_regex+set}" = set; then
4271 withval=$with_regex;
4272 if test "$withval" = yes; then
4273 ac_cv_use_regex='wxUSE_REGEX=yes'
4274 elif test "$withval" = no; then
4275 ac_cv_use_regex='wxUSE_REGEX=no'
4276 elif test "$withval" = sys; then
4277 ac_cv_use_regex='wxUSE_REGEX=sys'
4278 elif test "$withval" = builtin; then
4279 ac_cv_use_regex='wxUSE_REGEX=builtin'
4280 else
4281 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4282 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4283 { (exit 1); exit 1; }; }
4284 fi
4285
4286 else
4287
4288 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4289 if test "x$LINE" != x ; then
4290 eval "DEFAULT_$LINE"
4291 else
4292 no_cache=1
4293 fi
4294
4295 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4296
4297 fi
4298
4299
4300 eval "$ac_cv_use_regex"
4301 if test "$no_cache" != 1; then
4302 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4303 fi
4304
4305 if test "$wxUSE_REGEX" = yes; then
4306 { echo "$as_me:$LINENO: result: yes" >&5
4307 echo "${ECHO_T}yes" >&6; }
4308 elif test "$wxUSE_REGEX" = no; then
4309 { echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6; }
4311 elif test "$wxUSE_REGEX" = sys; then
4312 { echo "$as_me:$LINENO: result: system version" >&5
4313 echo "${ECHO_T}system version" >&6; }
4314 elif test "$wxUSE_REGEX" = builtin; then
4315 { echo "$as_me:$LINENO: result: builtin version" >&5
4316 echo "${ECHO_T}builtin version" >&6; }
4317 else
4318 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4319 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4320 { (exit 1); exit 1; }; }
4321 fi
4322
4323
4324 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4325 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4326 no_cache=0
4327
4328 # Check whether --with-zlib was given.
4329 if test "${with_zlib+set}" = set; then
4330 withval=$with_zlib;
4331 if test "$withval" = yes; then
4332 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4333 elif test "$withval" = no; then
4334 ac_cv_use_zlib='wxUSE_ZLIB=no'
4335 elif test "$withval" = sys; then
4336 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4337 elif test "$withval" = builtin; then
4338 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4339 else
4340 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4341 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4342 { (exit 1); exit 1; }; }
4343 fi
4344
4345 else
4346
4347 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4355
4356 fi
4357
4358
4359 eval "$ac_cv_use_zlib"
4360 if test "$no_cache" != 1; then
4361 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4362 fi
4363
4364 if test "$wxUSE_ZLIB" = yes; then
4365 { echo "$as_me:$LINENO: result: yes" >&5
4366 echo "${ECHO_T}yes" >&6; }
4367 elif test "$wxUSE_ZLIB" = no; then
4368 { echo "$as_me:$LINENO: result: no" >&5
4369 echo "${ECHO_T}no" >&6; }
4370 elif test "$wxUSE_ZLIB" = sys; then
4371 { echo "$as_me:$LINENO: result: system version" >&5
4372 echo "${ECHO_T}system version" >&6; }
4373 elif test "$wxUSE_ZLIB" = builtin; then
4374 { echo "$as_me:$LINENO: result: builtin version" >&5
4375 echo "${ECHO_T}builtin version" >&6; }
4376 else
4377 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4378 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4379 { (exit 1); exit 1; }; }
4380 fi
4381
4382
4383 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4384 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4385 no_cache=0
4386
4387 # Check whether --with-odbc was given.
4388 if test "${with_odbc+set}" = set; then
4389 withval=$with_odbc;
4390 if test "$withval" = yes; then
4391 ac_cv_use_odbc='wxUSE_ODBC=yes'
4392 elif test "$withval" = no; then
4393 ac_cv_use_odbc='wxUSE_ODBC=no'
4394 elif test "$withval" = sys; then
4395 ac_cv_use_odbc='wxUSE_ODBC=sys'
4396 elif test "$withval" = builtin; then
4397 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4398 else
4399 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4400 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4401 { (exit 1); exit 1; }; }
4402 fi
4403
4404 else
4405
4406 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4409 else
4410 no_cache=1
4411 fi
4412
4413 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4414
4415 fi
4416
4417
4418 eval "$ac_cv_use_odbc"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4421 fi
4422
4423 if test "$wxUSE_ODBC" = yes; then
4424 { echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6; }
4426 elif test "$wxUSE_ODBC" = no; then
4427 { echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6; }
4429 elif test "$wxUSE_ODBC" = sys; then
4430 { echo "$as_me:$LINENO: result: system version" >&5
4431 echo "${ECHO_T}system version" >&6; }
4432 elif test "$wxUSE_ODBC" = builtin; then
4433 { echo "$as_me:$LINENO: result: builtin version" >&5
4434 echo "${ECHO_T}builtin version" >&6; }
4435 else
4436 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4437 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4438 { (exit 1); exit 1; }; }
4439 fi
4440
4441
4442 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4443 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4444 no_cache=0
4445
4446 # Check whether --with-expat was given.
4447 if test "${with_expat+set}" = set; then
4448 withval=$with_expat;
4449 if test "$withval" = yes; then
4450 ac_cv_use_expat='wxUSE_EXPAT=yes'
4451 elif test "$withval" = no; then
4452 ac_cv_use_expat='wxUSE_EXPAT=no'
4453 elif test "$withval" = sys; then
4454 ac_cv_use_expat='wxUSE_EXPAT=sys'
4455 elif test "$withval" = builtin; then
4456 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4457 else
4458 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4459 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4460 { (exit 1); exit 1; }; }
4461 fi
4462
4463 else
4464
4465 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "DEFAULT_$LINE"
4468 else
4469 no_cache=1
4470 fi
4471
4472 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4473
4474 fi
4475
4476
4477 eval "$ac_cv_use_expat"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4480 fi
4481
4482 if test "$wxUSE_EXPAT" = yes; then
4483 { echo "$as_me:$LINENO: result: yes" >&5
4484 echo "${ECHO_T}yes" >&6; }
4485 elif test "$wxUSE_EXPAT" = no; then
4486 { echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6; }
4488 elif test "$wxUSE_EXPAT" = sys; then
4489 { echo "$as_me:$LINENO: result: system version" >&5
4490 echo "${ECHO_T}system version" >&6; }
4491 elif test "$wxUSE_EXPAT" = builtin; then
4492 { echo "$as_me:$LINENO: result: builtin version" >&5
4493 echo "${ECHO_T}builtin version" >&6; }
4494 else
4495 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4496 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4497 { (exit 1); exit 1; }; }
4498 fi
4499
4500
4501
4502
4503 enablestring=
4504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4505 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4506 no_cache=0
4507 # Check whether --enable-shared was given.
4508 if test "${enable_shared+set}" = set; then
4509 enableval=$enable_shared;
4510 if test "$enableval" = yes; then
4511 ac_cv_use_shared='wxUSE_SHARED=yes'
4512 else
4513 ac_cv_use_shared='wxUSE_SHARED=no'
4514 fi
4515
4516 else
4517
4518 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4519 if test "x$LINE" != x ; then
4520 eval "DEFAULT_$LINE"
4521 else
4522 no_cache=1
4523 fi
4524
4525 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4526
4527 fi
4528
4529
4530 eval "$ac_cv_use_shared"
4531 if test "$no_cache" != 1; then
4532 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4533 fi
4534
4535 if test "$wxUSE_SHARED" = yes; then
4536 { echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6; }
4538 else
4539 { echo "$as_me:$LINENO: result: no" >&5
4540 echo "${ECHO_T}no" >&6; }
4541 fi
4542
4543
4544 enablestring=
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4547 no_cache=0
4548 # Check whether --enable-optimise was given.
4549 if test "${enable_optimise+set}" = set; then
4550 enableval=$enable_optimise;
4551 if test "$enableval" = yes; then
4552 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4553 else
4554 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4555 fi
4556
4557 else
4558
4559 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x ; then
4561 eval "DEFAULT_$LINE"
4562 else
4563 no_cache=1
4564 fi
4565
4566 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4567
4568 fi
4569
4570
4571 eval "$ac_cv_use_optimise"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4574 fi
4575
4576 if test "$wxUSE_OPTIMISE" = yes; then
4577 { echo "$as_me:$LINENO: result: yes" >&5
4578 echo "${ECHO_T}yes" >&6; }
4579 else
4580 { echo "$as_me:$LINENO: result: no" >&5
4581 echo "${ECHO_T}no" >&6; }
4582 fi
4583
4584
4585 enablestring=
4586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4588 no_cache=0
4589 # Check whether --enable-debug was given.
4590 if test "${enable_debug+set}" = set; then
4591 enableval=$enable_debug;
4592 if test "$enableval" = yes; then
4593 ac_cv_use_debug='wxUSE_DEBUG=yes'
4594 else
4595 ac_cv_use_debug='wxUSE_DEBUG=no'
4596 fi
4597
4598 else
4599
4600 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4601 if test "x$LINE" != x ; then
4602 eval "DEFAULT_$LINE"
4603 else
4604 no_cache=1
4605 fi
4606
4607 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4608
4609 fi
4610
4611
4612 eval "$ac_cv_use_debug"
4613 if test "$no_cache" != 1; then
4614 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4615 fi
4616
4617 if test "$wxUSE_DEBUG" = yes; then
4618 { echo "$as_me:$LINENO: result: yes" >&5
4619 echo "${ECHO_T}yes" >&6; }
4620 else
4621 { echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6; }
4623 fi
4624
4625
4626 enablestring=
4627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4628 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4629 no_cache=0
4630 # Check whether --enable-stl was given.
4631 if test "${enable_stl+set}" = set; then
4632 enableval=$enable_stl;
4633 if test "$enableval" = yes; then
4634 ac_cv_use_stl='wxUSE_STL=yes'
4635 else
4636 ac_cv_use_stl='wxUSE_STL=no'
4637 fi
4638
4639 else
4640
4641 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4642 if test "x$LINE" != x ; then
4643 eval "DEFAULT_$LINE"
4644 else
4645 no_cache=1
4646 fi
4647
4648 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4649
4650 fi
4651
4652
4653 eval "$ac_cv_use_stl"
4654 if test "$no_cache" != 1; then
4655 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4656 fi
4657
4658 if test "$wxUSE_STL" = yes; then
4659 { echo "$as_me:$LINENO: result: yes" >&5
4660 echo "${ECHO_T}yes" >&6; }
4661 else
4662 { echo "$as_me:$LINENO: result: no" >&5
4663 echo "${ECHO_T}no" >&6; }
4664 fi
4665
4666 if test "$USE_OS2" = "1"; then
4667 DEFAULT_wxUSE_OMF=no
4668
4669 enablestring=
4670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4671 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4672 no_cache=0
4673 # Check whether --enable-omf was given.
4674 if test "${enable_omf+set}" = set; then
4675 enableval=$enable_omf;
4676 if test "$enableval" = yes; then
4677 ac_cv_use_omf='wxUSE_OMF=yes'
4678 else
4679 ac_cv_use_omf='wxUSE_OMF=no'
4680 fi
4681
4682 else
4683
4684 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4685 if test "x$LINE" != x ; then
4686 eval "DEFAULT_$LINE"
4687 else
4688 no_cache=1
4689 fi
4690
4691 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4692
4693 fi
4694
4695
4696 eval "$ac_cv_use_omf"
4697 if test "$no_cache" != 1; then
4698 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4699 fi
4700
4701 if test "$wxUSE_OMF" = yes; then
4702 { echo "$as_me:$LINENO: result: yes" >&5
4703 echo "${ECHO_T}yes" >&6; }
4704 else
4705 { echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6; }
4707 fi
4708
4709 fi
4710
4711 if test "$wxUSE_DEBUG" = "yes"; then
4712 DEFAULT_wxUSE_DEBUG_FLAG=yes
4713 DEFAULT_wxUSE_DEBUG_INFO=yes
4714 BUILD=debug
4715 elif test "$wxUSE_DEBUG" = "no"; then
4716 DEFAULT_wxUSE_DEBUG_FLAG=no
4717 DEFAULT_wxUSE_DEBUG_INFO=no
4718 BUILD=release
4719 fi
4720
4721
4722 enablestring=
4723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4725 no_cache=0
4726 # Check whether --enable-debug_flag was given.
4727 if test "${enable_debug_flag+set}" = set; then
4728 enableval=$enable_debug_flag;
4729 if test "$enableval" = yes; then
4730 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4731 else
4732 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4733 fi
4734
4735 else
4736
4737 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4738 if test "x$LINE" != x ; then
4739 eval "DEFAULT_$LINE"
4740 else
4741 no_cache=1
4742 fi
4743
4744 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4745
4746 fi
4747
4748
4749 eval "$ac_cv_use_debug_flag"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4752 fi
4753
4754 if test "$wxUSE_DEBUG_FLAG" = yes; then
4755 { echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6; }
4757 else
4758 { echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6; }
4760 fi
4761
4762
4763 enablestring=
4764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4766 no_cache=0
4767 # Check whether --enable-debug_info was given.
4768 if test "${enable_debug_info+set}" = set; then
4769 enableval=$enable_debug_info;
4770 if test "$enableval" = yes; then
4771 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4772 else
4773 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4774 fi
4775
4776 else
4777
4778 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4781 else
4782 no_cache=1
4783 fi
4784
4785 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4786
4787 fi
4788
4789
4790 eval "$ac_cv_use_debug_info"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4793 fi
4794
4795 if test "$wxUSE_DEBUG_INFO" = yes; then
4796 { echo "$as_me:$LINENO: result: yes" >&5
4797 echo "${ECHO_T}yes" >&6; }
4798 else
4799 { echo "$as_me:$LINENO: result: no" >&5
4800 echo "${ECHO_T}no" >&6; }
4801 fi
4802
4803
4804 enablestring=
4805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4807 no_cache=0
4808 # Check whether --enable-debug_gdb was given.
4809 if test "${enable_debug_gdb+set}" = set; then
4810 enableval=$enable_debug_gdb;
4811 if test "$enableval" = yes; then
4812 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4813 else
4814 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4815 fi
4816
4817 else
4818
4819 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4822 else
4823 no_cache=1
4824 fi
4825
4826 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4827
4828 fi
4829
4830
4831 eval "$ac_cv_use_debug_gdb"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4834 fi
4835
4836 if test "$wxUSE_DEBUG_GDB" = yes; then
4837 { echo "$as_me:$LINENO: result: yes" >&5
4838 echo "${ECHO_T}yes" >&6; }
4839 else
4840 { echo "$as_me:$LINENO: result: no" >&5
4841 echo "${ECHO_T}no" >&6; }
4842 fi
4843
4844
4845 enablestring=
4846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4848 no_cache=0
4849 # Check whether --enable-debug_cntxt was given.
4850 if test "${enable_debug_cntxt+set}" = set; then
4851 enableval=$enable_debug_cntxt;
4852 if test "$enableval" = yes; then
4853 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4854 else
4855 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4856 fi
4857
4858 else
4859
4860 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x ; then
4862 eval "DEFAULT_$LINE"
4863 else
4864 no_cache=1
4865 fi
4866
4867 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4868
4869 fi
4870
4871
4872 eval "$ac_cv_use_debug_cntxt"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4875 fi
4876
4877 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4878 { echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6; }
4880 else
4881 { echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6; }
4883 fi
4884
4885
4886 enablestring=
4887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4889 no_cache=0
4890 # Check whether --enable-mem_tracing was given.
4891 if test "${enable_mem_tracing+set}" = set; then
4892 enableval=$enable_mem_tracing;
4893 if test "$enableval" = yes; then
4894 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4895 else
4896 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4897 fi
4898
4899 else
4900
4901 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x ; then
4903 eval "DEFAULT_$LINE"
4904 else
4905 no_cache=1
4906 fi
4907
4908 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4909
4910 fi
4911
4912
4913 eval "$ac_cv_use_mem_tracing"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4916 fi
4917
4918 if test "$wxUSE_MEM_TRACING" = yes; then
4919 { echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6; }
4921 else
4922 { echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6; }
4924 fi
4925
4926
4927 enablestring=
4928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4930 no_cache=0
4931 # Check whether --enable-profile was given.
4932 if test "${enable_profile+set}" = set; then
4933 enableval=$enable_profile;
4934 if test "$enableval" = yes; then
4935 ac_cv_use_profile='wxUSE_PROFILE=yes'
4936 else
4937 ac_cv_use_profile='wxUSE_PROFILE=no'
4938 fi
4939
4940 else
4941
4942 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x ; then
4944 eval "DEFAULT_$LINE"
4945 else
4946 no_cache=1
4947 fi
4948
4949 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4950
4951 fi
4952
4953
4954 eval "$ac_cv_use_profile"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4957 fi
4958
4959 if test "$wxUSE_PROFILE" = yes; then
4960 { echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6; }
4962 else
4963 { echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6; }
4965 fi
4966
4967
4968 enablestring=
4969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4971 no_cache=0
4972 # Check whether --enable-no_rtti was given.
4973 if test "${enable_no_rtti+set}" = set; then
4974 enableval=$enable_no_rtti;
4975 if test "$enableval" = yes; then
4976 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4977 else
4978 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4979 fi
4980
4981 else
4982
4983 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4986 else
4987 no_cache=1
4988 fi
4989
4990 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4991
4992 fi
4993
4994
4995 eval "$ac_cv_use_no_rtti"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4998 fi
4999
5000 if test "$wxUSE_NO_RTTI" = yes; then
5001 { echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6; }
5003 else
5004 { echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6; }
5006 fi
5007
5008
5009 enablestring=
5010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5012 no_cache=0
5013 # Check whether --enable-no_exceptions was given.
5014 if test "${enable_no_exceptions+set}" = set; then
5015 enableval=$enable_no_exceptions;
5016 if test "$enableval" = yes; then
5017 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5018 else
5019 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5020 fi
5021
5022 else
5023
5024 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5027 else
5028 no_cache=1
5029 fi
5030
5031 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5032
5033 fi
5034
5035
5036 eval "$ac_cv_use_no_exceptions"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5039 fi
5040
5041 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5042 { echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6; }
5044 else
5045 { echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6; }
5047 fi
5048
5049
5050 enablestring=
5051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5053 no_cache=0
5054 # Check whether --enable-permissive was given.
5055 if test "${enable_permissive+set}" = set; then
5056 enableval=$enable_permissive;
5057 if test "$enableval" = yes; then
5058 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5059 else
5060 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5061 fi
5062
5063 else
5064
5065 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5068 else
5069 no_cache=1
5070 fi
5071
5072 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5073
5074 fi
5075
5076
5077 eval "$ac_cv_use_permissive"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5080 fi
5081
5082 if test "$wxUSE_PERMISSIVE" = yes; then
5083 { echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6; }
5085 else
5086 { echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6; }
5088 fi
5089
5090
5091 enablestring=
5092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5094 no_cache=0
5095 # Check whether --enable-no_deps was given.
5096 if test "${enable_no_deps+set}" = set; then
5097 enableval=$enable_no_deps;
5098 if test "$enableval" = yes; then
5099 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5100 else
5101 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5102 fi
5103
5104 else
5105
5106 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5109 else
5110 no_cache=1
5111 fi
5112
5113 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5114
5115 fi
5116
5117
5118 eval "$ac_cv_use_no_deps"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5121 fi
5122
5123 if test "$wxUSE_NO_DEPS" = yes; then
5124 { echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6; }
5126 else
5127 { echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6; }
5129 fi
5130
5131
5132 enablestring=
5133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5135 no_cache=0
5136 # Check whether --enable-vararg_macros was given.
5137 if test "${enable_vararg_macros+set}" = set; then
5138 enableval=$enable_vararg_macros;
5139 if test "$enableval" = yes; then
5140 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5141 else
5142 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5143 fi
5144
5145 else
5146
5147 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5150 else
5151 no_cache=1
5152 fi
5153
5154 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5155
5156 fi
5157
5158
5159 eval "$ac_cv_use_vararg_macros"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5162 fi
5163
5164 if test "$wxUSE_VARARG_MACROS" = yes; then
5165 { echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6; }
5167 else
5168 { echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6; }
5170 fi
5171
5172
5173 enablestring=
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5176 no_cache=0
5177 # Check whether --enable-universal_binary was given.
5178 if test "${enable_universal_binary+set}" = set; then
5179 enableval=$enable_universal_binary;
5180 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5181
5182 else
5183
5184 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5185 if test "x$LINE" != x ; then
5186 eval "DEFAULT_$LINE"
5187 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5188 else
5189 no_cache=1
5190 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5191 fi
5192
5193 fi
5194
5195
5196 eval "$wx_cv_use_universal_binary"
5197 if test "$no_cache" != 1; then
5198 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5202 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5203
5204
5205
5206 enablestring=enable
5207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5208 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5209 no_cache=0
5210 # Check whether --enable-compat26 was given.
5211 if test "${enable_compat26+set}" = set; then
5212 enableval=$enable_compat26;
5213 if test "$enableval" = yes; then
5214 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5215 else
5216 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5217 fi
5218
5219 else
5220
5221 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5222 if test "x$LINE" != x ; then
5223 eval "DEFAULT_$LINE"
5224 else
5225 no_cache=1
5226 fi
5227
5228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5229
5230 fi
5231
5232
5233 eval "$ac_cv_use_compat26"
5234 if test "$no_cache" != 1; then
5235 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5236 fi
5237
5238 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5239 { echo "$as_me:$LINENO: result: yes" >&5
5240 echo "${ECHO_T}yes" >&6; }
5241 else
5242 { echo "$as_me:$LINENO: result: no" >&5
5243 echo "${ECHO_T}no" >&6; }
5244 fi
5245
5246
5247 enablestring=disable
5248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5249 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5250 no_cache=0
5251 # Check whether --enable-compat28 was given.
5252 if test "${enable_compat28+set}" = set; then
5253 enableval=$enable_compat28;
5254 if test "$enableval" = yes; then
5255 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5256 else
5257 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5258 fi
5259
5260 else
5261
5262 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5263 if test "x$LINE" != x ; then
5264 eval "DEFAULT_$LINE"
5265 else
5266 no_cache=1
5267 fi
5268
5269 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5270
5271 fi
5272
5273
5274 eval "$ac_cv_use_compat28"
5275 if test "$no_cache" != 1; then
5276 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5277 fi
5278
5279 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5280 { echo "$as_me:$LINENO: result: yes" >&5
5281 echo "${ECHO_T}yes" >&6; }
5282 else
5283 { echo "$as_me:$LINENO: result: no" >&5
5284 echo "${ECHO_T}no" >&6; }
5285 fi
5286
5287
5288
5289 enablestring=
5290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5291 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5292 no_cache=0
5293 # Check whether --enable-rpath was given.
5294 if test "${enable_rpath+set}" = set; then
5295 enableval=$enable_rpath;
5296 if test "$enableval" = yes; then
5297 ac_cv_use_rpath='wxUSE_RPATH=yes'
5298 else
5299 ac_cv_use_rpath='wxUSE_RPATH=no'
5300 fi
5301
5302 else
5303
5304 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x ; then
5306 eval "DEFAULT_$LINE"
5307 else
5308 no_cache=1
5309 fi
5310
5311 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5312
5313 fi
5314
5315
5316 eval "$ac_cv_use_rpath"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5319 fi
5320
5321 if test "$wxUSE_RPATH" = yes; then
5322 { echo "$as_me:$LINENO: result: yes" >&5
5323 echo "${ECHO_T}yes" >&6; }
5324 else
5325 { echo "$as_me:$LINENO: result: no" >&5
5326 echo "${ECHO_T}no" >&6; }
5327 fi
5328
5329
5330
5331
5332
5333 enablestring=
5334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5336 no_cache=0
5337 # Check whether --enable-intl was given.
5338 if test "${enable_intl+set}" = set; then
5339 enableval=$enable_intl;
5340 if test "$enableval" = yes; then
5341 ac_cv_use_intl='wxUSE_INTL=yes'
5342 else
5343 ac_cv_use_intl='wxUSE_INTL=no'
5344 fi
5345
5346 else
5347
5348 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x ; then
5350 eval "DEFAULT_$LINE"
5351 else
5352 no_cache=1
5353 fi
5354
5355 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5356
5357 fi
5358
5359
5360 eval "$ac_cv_use_intl"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_INTL" = yes; then
5366 { echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6; }
5368 else
5369 { echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6; }
5371 fi
5372
5373
5374 enablestring=
5375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5377 no_cache=0
5378 # Check whether --enable-config was given.
5379 if test "${enable_config+set}" = set; then
5380 enableval=$enable_config;
5381 if test "$enableval" = yes; then
5382 ac_cv_use_config='wxUSE_CONFIG=yes'
5383 else
5384 ac_cv_use_config='wxUSE_CONFIG=no'
5385 fi
5386
5387 else
5388
5389 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5390 if test "x$LINE" != x ; then
5391 eval "DEFAULT_$LINE"
5392 else
5393 no_cache=1
5394 fi
5395
5396 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5397
5398 fi
5399
5400
5401 eval "$ac_cv_use_config"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_CONFIG" = yes; then
5407 { echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6; }
5409 else
5410 { echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6; }
5412 fi
5413
5414
5415
5416 enablestring=
5417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5418 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5419 no_cache=0
5420 # Check whether --enable-protocols was given.
5421 if test "${enable_protocols+set}" = set; then
5422 enableval=$enable_protocols;
5423 if test "$enableval" = yes; then
5424 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5425 else
5426 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5439
5440 fi
5441
5442
5443 eval "$ac_cv_use_protocols"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5446 fi
5447
5448 if test "$wxUSE_PROTOCOL" = yes; then
5449 { echo "$as_me:$LINENO: result: yes" >&5
5450 echo "${ECHO_T}yes" >&6; }
5451 else
5452 { echo "$as_me:$LINENO: result: no" >&5
5453 echo "${ECHO_T}no" >&6; }
5454 fi
5455
5456
5457 enablestring=
5458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5459 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5460 no_cache=0
5461 # Check whether --enable-ftp was given.
5462 if test "${enable_ftp+set}" = set; then
5463 enableval=$enable_ftp;
5464 if test "$enableval" = yes; then
5465 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5466 else
5467 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5480
5481 fi
5482
5483
5484 eval "$ac_cv_use_ftp"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5487 fi
5488
5489 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5490 { echo "$as_me:$LINENO: result: yes" >&5
5491 echo "${ECHO_T}yes" >&6; }
5492 else
5493 { echo "$as_me:$LINENO: result: no" >&5
5494 echo "${ECHO_T}no" >&6; }
5495 fi
5496
5497
5498 enablestring=
5499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5501 no_cache=0
5502 # Check whether --enable-http was given.
5503 if test "${enable_http+set}" = set; then
5504 enableval=$enable_http;
5505 if test "$enableval" = yes; then
5506 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5507 else
5508 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5521
5522 fi
5523
5524
5525 eval "$ac_cv_use_http"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5528 fi
5529
5530 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5531 { echo "$as_me:$LINENO: result: yes" >&5
5532 echo "${ECHO_T}yes" >&6; }
5533 else
5534 { echo "$as_me:$LINENO: result: no" >&5
5535 echo "${ECHO_T}no" >&6; }
5536 fi
5537
5538
5539 enablestring=
5540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5541 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5542 no_cache=0
5543 # Check whether --enable-fileproto was given.
5544 if test "${enable_fileproto+set}" = set; then
5545 enableval=$enable_fileproto;
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5548 else
5549 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5562
5563 fi
5564
5565
5566 eval "$ac_cv_use_fileproto"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5569 fi
5570
5571 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5572 { echo "$as_me:$LINENO: result: yes" >&5
5573 echo "${ECHO_T}yes" >&6; }
5574 else
5575 { echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6; }
5577 fi
5578
5579
5580 enablestring=
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5583 no_cache=0
5584 # Check whether --enable-sockets was given.
5585 if test "${enable_sockets+set}" = set; then
5586 enableval=$enable_sockets;
5587 if test "$enableval" = yes; then
5588 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5589 else
5590 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5603
5604 fi
5605
5606
5607 eval "$ac_cv_use_sockets"
5608 if test "$no_cache" != 1; then
5609 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5610 fi
5611
5612 if test "$wxUSE_SOCKETS" = yes; then
5613 { echo "$as_me:$LINENO: result: yes" >&5
5614 echo "${ECHO_T}yes" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5618 fi
5619
5620
5621 enablestring=
5622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5624 no_cache=0
5625 # Check whether --enable-ole was given.
5626 if test "${enable_ole+set}" = set; then
5627 enableval=$enable_ole;
5628 if test "$enableval" = yes; then
5629 ac_cv_use_ole='wxUSE_OLE=yes'
5630 else
5631 ac_cv_use_ole='wxUSE_OLE=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5644
5645 fi
5646
5647
5648 eval "$ac_cv_use_ole"
5649 if test "$no_cache" != 1; then
5650 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5651 fi
5652
5653 if test "$wxUSE_OLE" = yes; then
5654 { echo "$as_me:$LINENO: result: yes" >&5
5655 echo "${ECHO_T}yes" >&6; }
5656 else
5657 { echo "$as_me:$LINENO: result: no" >&5
5658 echo "${ECHO_T}no" >&6; }
5659 fi
5660
5661
5662 enablestring=
5663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5665 no_cache=0
5666 # Check whether --enable-dataobj was given.
5667 if test "${enable_dataobj+set}" = set; then
5668 enableval=$enable_dataobj;
5669 if test "$enableval" = yes; then
5670 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5671 else
5672 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5685
5686 fi
5687
5688
5689 eval "$ac_cv_use_dataobj"
5690 if test "$no_cache" != 1; then
5691 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5692 fi
5693
5694 if test "$wxUSE_DATAOBJ" = yes; then
5695 { echo "$as_me:$LINENO: result: yes" >&5
5696 echo "${ECHO_T}yes" >&6; }
5697 else
5698 { echo "$as_me:$LINENO: result: no" >&5
5699 echo "${ECHO_T}no" >&6; }
5700 fi
5701
5702
5703
5704 enablestring=
5705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5706 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5707 no_cache=0
5708 # Check whether --enable-ipc was given.
5709 if test "${enable_ipc+set}" = set; then
5710 enableval=$enable_ipc;
5711 if test "$enableval" = yes; then
5712 ac_cv_use_ipc='wxUSE_IPC=yes'
5713 else
5714 ac_cv_use_ipc='wxUSE_IPC=no'
5715 fi
5716
5717 else
5718
5719 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x ; then
5721 eval "DEFAULT_$LINE"
5722 else
5723 no_cache=1
5724 fi
5725
5726 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5727
5728 fi
5729
5730
5731 eval "$ac_cv_use_ipc"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5734 fi
5735
5736 if test "$wxUSE_IPC" = yes; then
5737 { echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6; }
5739 else
5740 { echo "$as_me:$LINENO: result: no" >&5
5741 echo "${ECHO_T}no" >&6; }
5742 fi
5743
5744
5745
5746 enablestring=
5747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5749 no_cache=0
5750 # Check whether --enable-apple_ieee was given.
5751 if test "${enable_apple_ieee+set}" = set; then
5752 enableval=$enable_apple_ieee;
5753 if test "$enableval" = yes; then
5754 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5755 else
5756 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5757 fi
5758
5759 else
5760
5761 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5764 else
5765 no_cache=1
5766 fi
5767
5768 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5769
5770 fi
5771
5772
5773 eval "$ac_cv_use_apple_ieee"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5776 fi
5777
5778 if test "$wxUSE_APPLE_IEEE" = yes; then
5779 { echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6; }
5781 else
5782 { echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6; }
5784 fi
5785
5786
5787 enablestring=
5788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5790 no_cache=0
5791 # Check whether --enable-arcstream was given.
5792 if test "${enable_arcstream+set}" = set; then
5793 enableval=$enable_arcstream;
5794 if test "$enableval" = yes; then
5795 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5796 else
5797 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5798 fi
5799
5800 else
5801
5802 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x ; then
5804 eval "DEFAULT_$LINE"
5805 else
5806 no_cache=1
5807 fi
5808
5809 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5810
5811 fi
5812
5813
5814 eval "$ac_cv_use_arcstream"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5817 fi
5818
5819 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5820 { echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6; }
5822 else
5823 { echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6; }
5825 fi
5826
5827
5828 enablestring=
5829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5831 no_cache=0
5832 # Check whether --enable-backtrace was given.
5833 if test "${enable_backtrace+set}" = set; then
5834 enableval=$enable_backtrace;
5835 if test "$enableval" = yes; then
5836 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5837 else
5838 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5839 fi
5840
5841 else
5842
5843 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x ; then
5845 eval "DEFAULT_$LINE"
5846 else
5847 no_cache=1
5848 fi
5849
5850 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5851
5852 fi
5853
5854
5855 eval "$ac_cv_use_backtrace"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5858 fi
5859
5860 if test "$wxUSE_STACKWALKER" = yes; then
5861 { echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6; }
5863 else
5864 { echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6; }
5866 fi
5867
5868
5869 enablestring=
5870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5872 no_cache=0
5873 # Check whether --enable-catch_segvs was given.
5874 if test "${enable_catch_segvs+set}" = set; then
5875 enableval=$enable_catch_segvs;
5876 if test "$enableval" = yes; then
5877 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5878 else
5879 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5880 fi
5881
5882 else
5883
5884 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5885 if test "x$LINE" != x ; then
5886 eval "DEFAULT_$LINE"
5887 else
5888 no_cache=1
5889 fi
5890
5891 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5892
5893 fi
5894
5895
5896 eval "$ac_cv_use_catch_segvs"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5899 fi
5900
5901 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5902 { echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6; }
5904 else
5905 { echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6; }
5907 fi
5908
5909
5910 enablestring=
5911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5913 no_cache=0
5914 # Check whether --enable-cmdline was given.
5915 if test "${enable_cmdline+set}" = set; then
5916 enableval=$enable_cmdline;
5917 if test "$enableval" = yes; then
5918 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5919 else
5920 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5921 fi
5922
5923 else
5924
5925 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5926 if test "x$LINE" != x ; then
5927 eval "DEFAULT_$LINE"
5928 else
5929 no_cache=1
5930 fi
5931
5932 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5933
5934 fi
5935
5936
5937 eval "$ac_cv_use_cmdline"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5940 fi
5941
5942 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5943 { echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6; }
5945 else
5946 { echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6; }
5948 fi
5949
5950
5951 enablestring=
5952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5954 no_cache=0
5955 # Check whether --enable-datetime was given.
5956 if test "${enable_datetime+set}" = set; then
5957 enableval=$enable_datetime;
5958 if test "$enableval" = yes; then
5959 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5960 else
5961 ac_cv_use_datetime='wxUSE_DATETIME=no'
5962 fi
5963
5964 else
5965
5966 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5967 if test "x$LINE" != x ; then
5968 eval "DEFAULT_$LINE"
5969 else
5970 no_cache=1
5971 fi
5972
5973 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5974
5975 fi
5976
5977
5978 eval "$ac_cv_use_datetime"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5981 fi
5982
5983 if test "$wxUSE_DATETIME" = yes; then
5984 { echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6; }
5986 else
5987 { echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6; }
5989 fi
5990
5991
5992 enablestring=
5993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5995 no_cache=0
5996 # Check whether --enable-debugreport was given.
5997 if test "${enable_debugreport+set}" = set; then
5998 enableval=$enable_debugreport;
5999 if test "$enableval" = yes; then
6000 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6001 else
6002 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6003 fi
6004
6005 else
6006
6007 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x ; then
6009 eval "DEFAULT_$LINE"
6010 else
6011 no_cache=1
6012 fi
6013
6014 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6015
6016 fi
6017
6018
6019 eval "$ac_cv_use_debugreport"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6022 fi
6023
6024 if test "$wxUSE_DEBUGREPORT" = yes; then
6025 { echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6030 fi
6031
6032
6033 enablestring=
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6036 no_cache=0
6037 # Check whether --enable-dialupman was given.
6038 if test "${enable_dialupman+set}" = set; then
6039 enableval=$enable_dialupman;
6040 if test "$enableval" = yes; then
6041 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6042 else
6043 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6044 fi
6045
6046 else
6047
6048 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6049 if test "x$LINE" != x ; then
6050 eval "DEFAULT_$LINE"
6051 else
6052 no_cache=1
6053 fi
6054
6055 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6056
6057 fi
6058
6059
6060 eval "$ac_cv_use_dialupman"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6063 fi
6064
6065 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6066 { echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6; }
6068 else
6069 { echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6; }
6071 fi
6072
6073
6074 enablestring=
6075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6077 no_cache=0
6078 # Check whether --enable-dynlib was given.
6079 if test "${enable_dynlib+set}" = set; then
6080 enableval=$enable_dynlib;
6081 if test "$enableval" = yes; then
6082 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6083 else
6084 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6085 fi
6086
6087 else
6088
6089 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6090 if test "x$LINE" != x ; then
6091 eval "DEFAULT_$LINE"
6092 else
6093 no_cache=1
6094 fi
6095
6096 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6097
6098 fi
6099
6100
6101 eval "$ac_cv_use_dynlib"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6104 fi
6105
6106 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6107 { echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6; }
6109 else
6110 { echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6; }
6112 fi
6113
6114
6115 enablestring=
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6118 no_cache=0
6119 # Check whether --enable-dynamicloader was given.
6120 if test "${enable_dynamicloader+set}" = set; then
6121 enableval=$enable_dynamicloader;
6122 if test "$enableval" = yes; then
6123 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6124 else
6125 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6126 fi
6127
6128 else
6129
6130 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6131 if test "x$LINE" != x ; then
6132 eval "DEFAULT_$LINE"
6133 else
6134 no_cache=1
6135 fi
6136
6137 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6138
6139 fi
6140
6141
6142 eval "$ac_cv_use_dynamicloader"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6145 fi
6146
6147 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6148 { echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6; }
6150 else
6151 { echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6; }
6153 fi
6154
6155
6156 enablestring=
6157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6159 no_cache=0
6160 # Check whether --enable-exceptions was given.
6161 if test "${enable_exceptions+set}" = set; then
6162 enableval=$enable_exceptions;
6163 if test "$enableval" = yes; then
6164 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6165 else
6166 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6167 fi
6168
6169 else
6170
6171 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x ; then
6173 eval "DEFAULT_$LINE"
6174 else
6175 no_cache=1
6176 fi
6177
6178 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6179
6180 fi
6181
6182
6183 eval "$ac_cv_use_exceptions"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6186 fi
6187
6188 if test "$wxUSE_EXCEPTIONS" = yes; then
6189 { echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6; }
6191 else
6192 { echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6; }
6194 fi
6195
6196
6197 enablestring=
6198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6200 no_cache=0
6201 # Check whether --enable-ffile was given.
6202 if test "${enable_ffile+set}" = set; then
6203 enableval=$enable_ffile;
6204 if test "$enableval" = yes; then
6205 ac_cv_use_ffile='wxUSE_FFILE=yes'
6206 else
6207 ac_cv_use_ffile='wxUSE_FFILE=no'
6208 fi
6209
6210 else
6211
6212 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6213 if test "x$LINE" != x ; then
6214 eval "DEFAULT_$LINE"
6215 else
6216 no_cache=1
6217 fi
6218
6219 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6220
6221 fi
6222
6223
6224 eval "$ac_cv_use_ffile"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6227 fi
6228
6229 if test "$wxUSE_FFILE" = yes; then
6230 { echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6; }
6232 else
6233 { echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6; }
6235 fi
6236
6237
6238 enablestring=
6239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6241 no_cache=0
6242 # Check whether --enable-file was given.
6243 if test "${enable_file+set}" = set; then
6244 enableval=$enable_file;
6245 if test "$enableval" = yes; then
6246 ac_cv_use_file='wxUSE_FILE=yes'
6247 else
6248 ac_cv_use_file='wxUSE_FILE=no'
6249 fi
6250
6251 else
6252
6253 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6254 if test "x$LINE" != x ; then
6255 eval "DEFAULT_$LINE"
6256 else
6257 no_cache=1
6258 fi
6259
6260 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6261
6262 fi
6263
6264
6265 eval "$ac_cv_use_file"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6268 fi
6269
6270 if test "$wxUSE_FILE" = yes; then
6271 { echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6; }
6273 else
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6276 fi
6277
6278
6279 enablestring=
6280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6282 no_cache=0
6283 # Check whether --enable-filesystem was given.
6284 if test "${enable_filesystem+set}" = set; then
6285 enableval=$enable_filesystem;
6286 if test "$enableval" = yes; then
6287 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6288 else
6289 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6290 fi
6291
6292 else
6293
6294 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x ; then
6296 eval "DEFAULT_$LINE"
6297 else
6298 no_cache=1
6299 fi
6300
6301 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6302
6303 fi
6304
6305
6306 eval "$ac_cv_use_filesystem"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6309 fi
6310
6311 if test "$wxUSE_FILESYSTEM" = yes; then
6312 { echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6; }
6314 else
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6317 fi
6318
6319
6320 enablestring=
6321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6323 no_cache=0
6324 # Check whether --enable-fontmap was given.
6325 if test "${enable_fontmap+set}" = set; then
6326 enableval=$enable_fontmap;
6327 if test "$enableval" = yes; then
6328 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6329 else
6330 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6331 fi
6332
6333 else
6334
6335 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x ; then
6337 eval "DEFAULT_$LINE"
6338 else
6339 no_cache=1
6340 fi
6341
6342 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6343
6344 fi
6345
6346
6347 eval "$ac_cv_use_fontmap"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6350 fi
6351
6352 if test "$wxUSE_FONTMAP" = yes; then
6353 { echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6; }
6355 else
6356 { echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6; }
6358 fi
6359
6360
6361 enablestring=
6362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6364 no_cache=0
6365 # Check whether --enable-fs_archive was given.
6366 if test "${enable_fs_archive+set}" = set; then
6367 enableval=$enable_fs_archive;
6368 if test "$enableval" = yes; then
6369 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6370 else
6371 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6372 fi
6373
6374 else
6375
6376 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x ; then
6378 eval "DEFAULT_$LINE"
6379 else
6380 no_cache=1
6381 fi
6382
6383 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6384
6385 fi
6386
6387
6388 eval "$ac_cv_use_fs_archive"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6391 fi
6392
6393 if test "$wxUSE_FS_ARCHIVE" = yes; then
6394 { echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6; }
6396 else
6397 { echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6; }
6399 fi
6400
6401
6402 enablestring=
6403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6405 no_cache=0
6406 # Check whether --enable-fs_inet was given.
6407 if test "${enable_fs_inet+set}" = set; then
6408 enableval=$enable_fs_inet;
6409 if test "$enableval" = yes; then
6410 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6411 else
6412 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6413 fi
6414
6415 else
6416
6417 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6418 if test "x$LINE" != x ; then
6419 eval "DEFAULT_$LINE"
6420 else
6421 no_cache=1
6422 fi
6423
6424 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6425
6426 fi
6427
6428
6429 eval "$ac_cv_use_fs_inet"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6432 fi
6433
6434 if test "$wxUSE_FS_INET" = yes; then
6435 { echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6; }
6437 else
6438 { echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6; }
6440 fi
6441
6442
6443 enablestring=
6444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6446 no_cache=0
6447 # Check whether --enable-fs_zip was given.
6448 if test "${enable_fs_zip+set}" = set; then
6449 enableval=$enable_fs_zip;
6450 if test "$enableval" = yes; then
6451 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6452 else
6453 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6454 fi
6455
6456 else
6457
6458 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6461 else
6462 no_cache=1
6463 fi
6464
6465 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6466
6467 fi
6468
6469
6470 eval "$ac_cv_use_fs_zip"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6473 fi
6474
6475 if test "$wxUSE_FS_ZIP" = yes; then
6476 { echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6; }
6478 else
6479 { echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6; }
6481 fi
6482
6483
6484 enablestring=
6485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6487 no_cache=0
6488 # Check whether --enable-geometry was given.
6489 if test "${enable_geometry+set}" = set; then
6490 enableval=$enable_geometry;
6491 if test "$enableval" = yes; then
6492 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6493 else
6494 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6495 fi
6496
6497 else
6498
6499 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x ; then
6501 eval "DEFAULT_$LINE"
6502 else
6503 no_cache=1
6504 fi
6505
6506 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6507
6508 fi
6509
6510
6511 eval "$ac_cv_use_geometry"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6514 fi
6515
6516 if test "$wxUSE_GEOMETRY" = yes; then
6517 { echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6; }
6519 else
6520 { echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6; }
6522 fi
6523
6524
6525 enablestring=
6526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6527 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6528 no_cache=0
6529 # Check whether --enable-log was given.
6530 if test "${enable_log+set}" = set; then
6531 enableval=$enable_log;
6532 if test "$enableval" = yes; then
6533 ac_cv_use_log='wxUSE_LOG=yes'
6534 else
6535 ac_cv_use_log='wxUSE_LOG=no'
6536 fi
6537
6538 else
6539
6540 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6541 if test "x$LINE" != x ; then
6542 eval "DEFAULT_$LINE"
6543 else
6544 no_cache=1
6545 fi
6546
6547 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6548
6549 fi
6550
6551
6552 eval "$ac_cv_use_log"
6553 if test "$no_cache" != 1; then
6554 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6555 fi
6556
6557 if test "$wxUSE_LOG" = yes; then
6558 { echo "$as_me:$LINENO: result: yes" >&5
6559 echo "${ECHO_T}yes" >&6; }
6560 else
6561 { echo "$as_me:$LINENO: result: no" >&5
6562 echo "${ECHO_T}no" >&6; }
6563 fi
6564
6565
6566 enablestring=
6567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6568 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6569 no_cache=0
6570 # Check whether --enable-longlong was given.
6571 if test "${enable_longlong+set}" = set; then
6572 enableval=$enable_longlong;
6573 if test "$enableval" = yes; then
6574 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6575 else
6576 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6577 fi
6578
6579 else
6580
6581 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x ; then
6583 eval "DEFAULT_$LINE"
6584 else
6585 no_cache=1
6586 fi
6587
6588 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6589
6590 fi
6591
6592
6593 eval "$ac_cv_use_longlong"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6596 fi
6597
6598 if test "$wxUSE_LONGLONG" = yes; then
6599 { echo "$as_me:$LINENO: result: yes" >&5
6600 echo "${ECHO_T}yes" >&6; }
6601 else
6602 { echo "$as_me:$LINENO: result: no" >&5
6603 echo "${ECHO_T}no" >&6; }
6604 fi
6605
6606
6607 enablestring=
6608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6609 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6610 no_cache=0
6611 # Check whether --enable-mimetype was given.
6612 if test "${enable_mimetype+set}" = set; then
6613 enableval=$enable_mimetype;
6614 if test "$enableval" = yes; then
6615 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6616 else
6617 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6618 fi
6619
6620 else
6621
6622 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x ; then
6624 eval "DEFAULT_$LINE"
6625 else
6626 no_cache=1
6627 fi
6628
6629 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6630
6631 fi
6632
6633
6634 eval "$ac_cv_use_mimetype"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6637 fi
6638
6639 if test "$wxUSE_MIMETYPE" = yes; then
6640 { echo "$as_me:$LINENO: result: yes" >&5
6641 echo "${ECHO_T}yes" >&6; }
6642 else
6643 { echo "$as_me:$LINENO: result: no" >&5
6644 echo "${ECHO_T}no" >&6; }
6645 fi
6646
6647
6648 enablestring=
6649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6650 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6651 no_cache=0
6652 # Check whether --enable-mslu was given.
6653 if test "${enable_mslu+set}" = set; then
6654 enableval=$enable_mslu;
6655 if test "$enableval" = yes; then
6656 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6657 else
6658 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6659 fi
6660
6661 else
6662
6663 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x ; then
6665 eval "DEFAULT_$LINE"
6666 else
6667 no_cache=1
6668 fi
6669
6670 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6671
6672 fi
6673
6674
6675 eval "$ac_cv_use_mslu"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6678 fi
6679
6680 if test "$wxUSE_UNICODE_MSLU" = yes; then
6681 { echo "$as_me:$LINENO: result: yes" >&5
6682 echo "${ECHO_T}yes" >&6; }
6683 else
6684 { echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6; }
6686 fi
6687
6688
6689 enablestring=
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6692 no_cache=0
6693 # Check whether --enable-snglinst was given.
6694 if test "${enable_snglinst+set}" = set; then
6695 enableval=$enable_snglinst;
6696 if test "$enableval" = yes; then
6697 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6698 else
6699 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6700 fi
6701
6702 else
6703
6704 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x ; then
6706 eval "DEFAULT_$LINE"
6707 else
6708 no_cache=1
6709 fi
6710
6711 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6712
6713 fi
6714
6715
6716 eval "$ac_cv_use_snglinst"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6719 fi
6720
6721 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6722 { echo "$as_me:$LINENO: result: yes" >&5
6723 echo "${ECHO_T}yes" >&6; }
6724 else
6725 { echo "$as_me:$LINENO: result: no" >&5
6726 echo "${ECHO_T}no" >&6; }
6727 fi
6728
6729
6730 enablestring=
6731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6732 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6733 no_cache=0
6734 # Check whether --enable-std_iostreams was given.
6735 if test "${enable_std_iostreams+set}" = set; then
6736 enableval=$enable_std_iostreams;
6737 if test "$enableval" = yes; then
6738 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6739 else
6740 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6741 fi
6742
6743 else
6744
6745 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6746 if test "x$LINE" != x ; then
6747 eval "DEFAULT_$LINE"
6748 else
6749 no_cache=1
6750 fi
6751
6752 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6753
6754 fi
6755
6756
6757 eval "$ac_cv_use_std_iostreams"
6758 if test "$no_cache" != 1; then
6759 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6760 fi
6761
6762 if test "$wxUSE_STD_IOSTREAM" = yes; then
6763 { echo "$as_me:$LINENO: result: yes" >&5
6764 echo "${ECHO_T}yes" >&6; }
6765 else
6766 { echo "$as_me:$LINENO: result: no" >&5
6767 echo "${ECHO_T}no" >&6; }
6768 fi
6769
6770
6771 enablestring=
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6774 no_cache=0
6775 # Check whether --enable-std_string was given.
6776 if test "${enable_std_string+set}" = set; then
6777 enableval=$enable_std_string;
6778 if test "$enableval" = yes; then
6779 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6780 else
6781 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6782 fi
6783
6784 else
6785
6786 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x ; then
6788 eval "DEFAULT_$LINE"
6789 else
6790 no_cache=1
6791 fi
6792
6793 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6794
6795 fi
6796
6797
6798 eval "$ac_cv_use_std_string"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6801 fi
6802
6803 if test "$wxUSE_STD_STRING" = yes; then
6804 { echo "$as_me:$LINENO: result: yes" >&5
6805 echo "${ECHO_T}yes" >&6; }
6806 else
6807 { echo "$as_me:$LINENO: result: no" >&5
6808 echo "${ECHO_T}no" >&6; }
6809 fi
6810
6811
6812 enablestring=
6813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6814 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6815 no_cache=0
6816 # Check whether --enable-stdpaths was given.
6817 if test "${enable_stdpaths+set}" = set; then
6818 enableval=$enable_stdpaths;
6819 if test "$enableval" = yes; then
6820 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6821 else
6822 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6823 fi
6824
6825 else
6826
6827 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x ; then
6829 eval "DEFAULT_$LINE"
6830 else
6831 no_cache=1
6832 fi
6833
6834 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6835
6836 fi
6837
6838
6839 eval "$ac_cv_use_stdpaths"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6842 fi
6843
6844 if test "$wxUSE_STDPATHS" = yes; then
6845 { echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6; }
6847 else
6848 { echo "$as_me:$LINENO: result: no" >&5
6849 echo "${ECHO_T}no" >&6; }
6850 fi
6851
6852
6853 enablestring=
6854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6855 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6856 no_cache=0
6857 # Check whether --enable-stopwatch was given.
6858 if test "${enable_stopwatch+set}" = set; then
6859 enableval=$enable_stopwatch;
6860 if test "$enableval" = yes; then
6861 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6862 else
6863 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6864 fi
6865
6866 else
6867
6868 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x ; then
6870 eval "DEFAULT_$LINE"
6871 else
6872 no_cache=1
6873 fi
6874
6875 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6876
6877 fi
6878
6879
6880 eval "$ac_cv_use_stopwatch"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6883 fi
6884
6885 if test "$wxUSE_STOPWATCH" = yes; then
6886 { echo "$as_me:$LINENO: result: yes" >&5
6887 echo "${ECHO_T}yes" >&6; }
6888 else
6889 { echo "$as_me:$LINENO: result: no" >&5
6890 echo "${ECHO_T}no" >&6; }
6891 fi
6892
6893
6894 enablestring=
6895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6896 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6897 no_cache=0
6898 # Check whether --enable-streams was given.
6899 if test "${enable_streams+set}" = set; then
6900 enableval=$enable_streams;
6901 if test "$enableval" = yes; then
6902 ac_cv_use_streams='wxUSE_STREAMS=yes'
6903 else
6904 ac_cv_use_streams='wxUSE_STREAMS=no'
6905 fi
6906
6907 else
6908
6909 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x ; then
6911 eval "DEFAULT_$LINE"
6912 else
6913 no_cache=1
6914 fi
6915
6916 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6917
6918 fi
6919
6920
6921 eval "$ac_cv_use_streams"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6924 fi
6925
6926 if test "$wxUSE_STREAMS" = yes; then
6927 { echo "$as_me:$LINENO: result: yes" >&5
6928 echo "${ECHO_T}yes" >&6; }
6929 else
6930 { echo "$as_me:$LINENO: result: no" >&5
6931 echo "${ECHO_T}no" >&6; }
6932 fi
6933
6934
6935 enablestring=
6936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6937 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6938 no_cache=0
6939 # Check whether --enable-system_options was given.
6940 if test "${enable_system_options+set}" = set; then
6941 enableval=$enable_system_options;
6942 if test "$enableval" = yes; then
6943 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6944 else
6945 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6946 fi
6947
6948 else
6949
6950 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x ; then
6952 eval "DEFAULT_$LINE"
6953 else
6954 no_cache=1
6955 fi
6956
6957 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6958
6959 fi
6960
6961
6962 eval "$ac_cv_use_system_options"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6965 fi
6966
6967 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6968 { echo "$as_me:$LINENO: result: yes" >&5
6969 echo "${ECHO_T}yes" >&6; }
6970 else
6971 { echo "$as_me:$LINENO: result: no" >&5
6972 echo "${ECHO_T}no" >&6; }
6973 fi
6974
6975
6976 enablestring=
6977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6978 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6979 no_cache=0
6980 # Check whether --enable-tarstream was given.
6981 if test "${enable_tarstream+set}" = set; then
6982 enableval=$enable_tarstream;
6983 if test "$enableval" = yes; then
6984 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6985 else
6986 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6987 fi
6988
6989 else
6990
6991 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6994 else
6995 no_cache=1
6996 fi
6997
6998 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6999
7000 fi
7001
7002
7003 eval "$ac_cv_use_tarstream"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7006 fi
7007
7008 if test "$wxUSE_TARSTREAM" = yes; then
7009 { echo "$as_me:$LINENO: result: yes" >&5
7010 echo "${ECHO_T}yes" >&6; }
7011 else
7012 { echo "$as_me:$LINENO: result: no" >&5
7013 echo "${ECHO_T}no" >&6; }
7014 fi
7015
7016
7017 enablestring=
7018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7019 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7020 no_cache=0
7021 # Check whether --enable-textbuf was given.
7022 if test "${enable_textbuf+set}" = set; then
7023 enableval=$enable_textbuf;
7024 if test "$enableval" = yes; then
7025 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7026 else
7027 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7028 fi
7029
7030 else
7031
7032 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7033 if test "x$LINE" != x ; then
7034 eval "DEFAULT_$LINE"
7035 else
7036 no_cache=1
7037 fi
7038
7039 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7040
7041 fi
7042
7043
7044 eval "$ac_cv_use_textbuf"
7045 if test "$no_cache" != 1; then
7046 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7047 fi
7048
7049 if test "$wxUSE_TEXTBUFFER" = yes; then
7050 { echo "$as_me:$LINENO: result: yes" >&5
7051 echo "${ECHO_T}yes" >&6; }
7052 else
7053 { echo "$as_me:$LINENO: result: no" >&5
7054 echo "${ECHO_T}no" >&6; }
7055 fi
7056
7057
7058 enablestring=
7059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7060 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7061 no_cache=0
7062 # Check whether --enable-textfile was given.
7063 if test "${enable_textfile+set}" = set; then
7064 enableval=$enable_textfile;
7065 if test "$enableval" = yes; then
7066 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7067 else
7068 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7069 fi
7070
7071 else
7072
7073 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x ; then
7075 eval "DEFAULT_$LINE"
7076 else
7077 no_cache=1
7078 fi
7079
7080 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7081
7082 fi
7083
7084
7085 eval "$ac_cv_use_textfile"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7088 fi
7089
7090 if test "$wxUSE_TEXTFILE" = yes; then
7091 { echo "$as_me:$LINENO: result: yes" >&5
7092 echo "${ECHO_T}yes" >&6; }
7093 else
7094 { echo "$as_me:$LINENO: result: no" >&5
7095 echo "${ECHO_T}no" >&6; }
7096 fi
7097
7098
7099 enablestring=
7100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7102 no_cache=0
7103 # Check whether --enable-timer was given.
7104 if test "${enable_timer+set}" = set; then
7105 enableval=$enable_timer;
7106 if test "$enableval" = yes; then
7107 ac_cv_use_timer='wxUSE_TIMER=yes'
7108 else
7109 ac_cv_use_timer='wxUSE_TIMER=no'
7110 fi
7111
7112 else
7113
7114 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7115 if test "x$LINE" != x ; then
7116 eval "DEFAULT_$LINE"
7117 else
7118 no_cache=1
7119 fi
7120
7121 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7122
7123 fi
7124
7125
7126 eval "$ac_cv_use_timer"
7127 if test "$no_cache" != 1; then
7128 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7129 fi
7130
7131 if test "$wxUSE_TIMER" = yes; then
7132 { echo "$as_me:$LINENO: result: yes" >&5
7133 echo "${ECHO_T}yes" >&6; }
7134 else
7135 { echo "$as_me:$LINENO: result: no" >&5
7136 echo "${ECHO_T}no" >&6; }
7137 fi
7138
7139
7140 enablestring=
7141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7142 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7143 no_cache=0
7144 # Check whether --enable-unicode was given.
7145 if test "${enable_unicode+set}" = set; then
7146 enableval=$enable_unicode;
7147 if test "$enableval" = yes; then
7148 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7149 else
7150 ac_cv_use_unicode='wxUSE_UNICODE=no'
7151 fi
7152
7153 else
7154
7155 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x ; then
7157 eval "DEFAULT_$LINE"
7158 else
7159 no_cache=1
7160 fi
7161
7162 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7163
7164 fi
7165
7166
7167 eval "$ac_cv_use_unicode"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7170 fi
7171
7172 if test "$wxUSE_UNICODE" = yes; then
7173 { echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6; }
7175 else
7176 { echo "$as_me:$LINENO: result: no" >&5
7177 echo "${ECHO_T}no" >&6; }
7178 fi
7179
7180
7181 enablestring=
7182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7183 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7184 no_cache=0
7185 # Check whether --enable-sound was given.
7186 if test "${enable_sound+set}" = set; then
7187 enableval=$enable_sound;
7188 if test "$enableval" = yes; then
7189 ac_cv_use_sound='wxUSE_SOUND=yes'
7190 else
7191 ac_cv_use_sound='wxUSE_SOUND=no'
7192 fi
7193
7194 else
7195
7196 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x ; then
7198 eval "DEFAULT_$LINE"
7199 else
7200 no_cache=1
7201 fi
7202
7203 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7204
7205 fi
7206
7207
7208 eval "$ac_cv_use_sound"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7211 fi
7212
7213 if test "$wxUSE_SOUND" = yes; then
7214 { echo "$as_me:$LINENO: result: yes" >&5
7215 echo "${ECHO_T}yes" >&6; }
7216 else
7217 { echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6; }
7219 fi
7220
7221
7222 enablestring=
7223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7224 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7225 no_cache=0
7226 # Check whether --enable-mediactrl was given.
7227 if test "${enable_mediactrl+set}" = set; then
7228 enableval=$enable_mediactrl;
7229 if test "$enableval" = yes; then
7230 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7231 else
7232 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7233 fi
7234
7235 else
7236
7237 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7238 if test "x$LINE" != x ; then
7239 eval "DEFAULT_$LINE"
7240 else
7241 no_cache=1
7242 fi
7243
7244 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7245
7246 fi
7247
7248
7249 eval "$ac_cv_use_mediactrl"
7250 if test "$no_cache" != 1; then
7251 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7252 fi
7253
7254 if test "$wxUSE_MEDIACTRL" = yes; then
7255 { echo "$as_me:$LINENO: result: yes" >&5
7256 echo "${ECHO_T}yes" >&6; }
7257 else
7258 { echo "$as_me:$LINENO: result: no" >&5
7259 echo "${ECHO_T}no" >&6; }
7260 fi
7261
7262
7263 enablestring=
7264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7265 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7266 no_cache=0
7267 # Check whether --enable-gstreamer8 was given.
7268 if test "${enable_gstreamer8+set}" = set; then
7269 enableval=$enable_gstreamer8;
7270 if test "$enableval" = yes; then
7271 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7272 else
7273 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7274 fi
7275
7276 else
7277
7278 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7279 if test "x$LINE" != x ; then
7280 eval "DEFAULT_$LINE"
7281 else
7282 no_cache=1
7283 fi
7284
7285 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7286
7287 fi
7288
7289
7290 eval "$ac_cv_use_gstreamer8"
7291 if test "$no_cache" != 1; then
7292 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7293 fi
7294
7295 if test "$wxUSE_GSTREAMER8" = yes; then
7296 { echo "$as_me:$LINENO: result: yes" >&5
7297 echo "${ECHO_T}yes" >&6; }
7298 else
7299 { echo "$as_me:$LINENO: result: no" >&5
7300 echo "${ECHO_T}no" >&6; }
7301 fi
7302
7303
7304 enablestring=
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7307 no_cache=0
7308 # Check whether --enable-printfposparam was given.
7309 if test "${enable_printfposparam+set}" = set; then
7310 enableval=$enable_printfposparam;
7311 if test "$enableval" = yes; then
7312 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7313 else
7314 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7315 fi
7316
7317 else
7318
7319 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7320 if test "x$LINE" != x ; then
7321 eval "DEFAULT_$LINE"
7322 else
7323 no_cache=1
7324 fi
7325
7326 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7327
7328 fi
7329
7330
7331 eval "$ac_cv_use_printfposparam"
7332 if test "$no_cache" != 1; then
7333 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7334 fi
7335
7336 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7337 { echo "$as_me:$LINENO: result: yes" >&5
7338 echo "${ECHO_T}yes" >&6; }
7339 else
7340 { echo "$as_me:$LINENO: result: no" >&5
7341 echo "${ECHO_T}no" >&6; }
7342 fi
7343
7344
7345 enablestring=
7346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7347 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7348 no_cache=0
7349 # Check whether --enable-zipstream was given.
7350 if test "${enable_zipstream+set}" = set; then
7351 enableval=$enable_zipstream;
7352 if test "$enableval" = yes; then
7353 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7354 else
7355 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7356 fi
7357
7358 else
7359
7360 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x ; then
7362 eval "DEFAULT_$LINE"
7363 else
7364 no_cache=1
7365 fi
7366
7367 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7368
7369 fi
7370
7371
7372 eval "$ac_cv_use_zipstream"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7375 fi
7376
7377 if test "$wxUSE_ZIPSTREAM" = yes; then
7378 { echo "$as_me:$LINENO: result: yes" >&5
7379 echo "${ECHO_T}yes" >&6; }
7380 else
7381 { echo "$as_me:$LINENO: result: no" >&5
7382 echo "${ECHO_T}no" >&6; }
7383 fi
7384
7385
7386
7387 enablestring=
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7390 no_cache=0
7391 # Check whether --enable-url was given.
7392 if test "${enable_url+set}" = set; then
7393 enableval=$enable_url;
7394 if test "$enableval" = yes; then
7395 ac_cv_use_url='wxUSE_URL=yes'
7396 else
7397 ac_cv_use_url='wxUSE_URL=no'
7398 fi
7399
7400 else
7401
7402 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x ; then
7404 eval "DEFAULT_$LINE"
7405 else
7406 no_cache=1
7407 fi
7408
7409 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7410
7411 fi
7412
7413
7414 eval "$ac_cv_use_url"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7417 fi
7418
7419 if test "$wxUSE_URL" = yes; then
7420 { echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6; }
7422 else
7423 { echo "$as_me:$LINENO: result: no" >&5
7424 echo "${ECHO_T}no" >&6; }
7425 fi
7426
7427
7428 enablestring=
7429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7430 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7431 no_cache=0
7432 # Check whether --enable-variant was given.
7433 if test "${enable_variant+set}" = set; then
7434 enableval=$enable_variant;
7435 if test "$enableval" = yes; then
7436 ac_cv_use_variant='wxUSE_VARIANT=yes'
7437 else
7438 ac_cv_use_variant='wxUSE_VARIANT=no'
7439 fi
7440
7441 else
7442
7443 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x ; then
7445 eval "DEFAULT_$LINE"
7446 else
7447 no_cache=1
7448 fi
7449
7450 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7451
7452 fi
7453
7454
7455 eval "$ac_cv_use_variant"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7458 fi
7459
7460 if test "$wxUSE_VARIANT" = yes; then
7461 { echo "$as_me:$LINENO: result: yes" >&5
7462 echo "${ECHO_T}yes" >&6; }
7463 else
7464 { echo "$as_me:$LINENO: result: no" >&5
7465 echo "${ECHO_T}no" >&6; }
7466 fi
7467
7468
7469 enablestring=
7470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7471 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7472 no_cache=0
7473 # Check whether --enable-protocol was given.
7474 if test "${enable_protocol+set}" = set; then
7475 enableval=$enable_protocol;
7476 if test "$enableval" = yes; then
7477 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7478 else
7479 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7480 fi
7481
7482 else
7483
7484 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7485 if test "x$LINE" != x ; then
7486 eval "DEFAULT_$LINE"
7487 else
7488 no_cache=1
7489 fi
7490
7491 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7492
7493 fi
7494
7495
7496 eval "$ac_cv_use_protocol"
7497 if test "$no_cache" != 1; then
7498 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7499 fi
7500
7501 if test "$wxUSE_PROTOCOL" = yes; then
7502 { echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6; }
7504 else
7505 { echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6; }
7507 fi
7508
7509
7510 enablestring=
7511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7512 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7513 no_cache=0
7514 # Check whether --enable-protocol_http was given.
7515 if test "${enable_protocol_http+set}" = set; then
7516 enableval=$enable_protocol_http;
7517 if test "$enableval" = yes; then
7518 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7519 else
7520 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7521 fi
7522
7523 else
7524
7525 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x ; then
7527 eval "DEFAULT_$LINE"
7528 else
7529 no_cache=1
7530 fi
7531
7532 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7533
7534 fi
7535
7536
7537 eval "$ac_cv_use_protocol_http"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7540 fi
7541
7542 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7543 { echo "$as_me:$LINENO: result: yes" >&5
7544 echo "${ECHO_T}yes" >&6; }
7545 else
7546 { echo "$as_me:$LINENO: result: no" >&5
7547 echo "${ECHO_T}no" >&6; }
7548 fi
7549
7550
7551 enablestring=
7552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7553 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7554 no_cache=0
7555 # Check whether --enable-protocol_ftp was given.
7556 if test "${enable_protocol_ftp+set}" = set; then
7557 enableval=$enable_protocol_ftp;
7558 if test "$enableval" = yes; then
7559 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7560 else
7561 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7562 fi
7563
7564 else
7565
7566 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x ; then
7568 eval "DEFAULT_$LINE"
7569 else
7570 no_cache=1
7571 fi
7572
7573 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7574
7575 fi
7576
7577
7578 eval "$ac_cv_use_protocol_ftp"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7581 fi
7582
7583 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7584 { echo "$as_me:$LINENO: result: yes" >&5
7585 echo "${ECHO_T}yes" >&6; }
7586 else
7587 { echo "$as_me:$LINENO: result: no" >&5
7588 echo "${ECHO_T}no" >&6; }
7589 fi
7590
7591
7592 enablestring=
7593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7594 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7595 no_cache=0
7596 # Check whether --enable-protocol_file was given.
7597 if test "${enable_protocol_file+set}" = set; then
7598 enableval=$enable_protocol_file;
7599 if test "$enableval" = yes; then
7600 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7601 else
7602 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7603 fi
7604
7605 else
7606
7607 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7610 else
7611 no_cache=1
7612 fi
7613
7614 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7615
7616 fi
7617
7618
7619 eval "$ac_cv_use_protocol_file"
7620 if test "$no_cache" != 1; then
7621 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7622 fi
7623
7624 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7625 { echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6; }
7627 else
7628 { echo "$as_me:$LINENO: result: no" >&5
7629 echo "${ECHO_T}no" >&6; }
7630 fi
7631
7632
7633
7634
7635
7636 enablestring=
7637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7638 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7639 no_cache=0
7640 # Check whether --enable-threads was given.
7641 if test "${enable_threads+set}" = set; then
7642 enableval=$enable_threads;
7643 if test "$enableval" = yes; then
7644 ac_cv_use_threads='wxUSE_THREADS=yes'
7645 else
7646 ac_cv_use_threads='wxUSE_THREADS=no'
7647 fi
7648
7649 else
7650
7651 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7652 if test "x$LINE" != x ; then
7653 eval "DEFAULT_$LINE"
7654 else
7655 no_cache=1
7656 fi
7657
7658 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7659
7660 fi
7661
7662
7663 eval "$ac_cv_use_threads"
7664 if test "$no_cache" != 1; then
7665 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7666 fi
7667
7668 if test "$wxUSE_THREADS" = yes; then
7669 { echo "$as_me:$LINENO: result: yes" >&5
7670 echo "${ECHO_T}yes" >&6; }
7671 else
7672 { echo "$as_me:$LINENO: result: no" >&5
7673 echo "${ECHO_T}no" >&6; }
7674 fi
7675
7676
7677 if test "$wxUSE_GUI" = "yes"; then
7678
7679
7680
7681 enablestring=
7682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7683 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7684 no_cache=0
7685 # Check whether --enable-docview was given.
7686 if test "${enable_docview+set}" = set; then
7687 enableval=$enable_docview;
7688 if test "$enableval" = yes; then
7689 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7690 else
7691 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7692 fi
7693
7694 else
7695
7696 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7697 if test "x$LINE" != x ; then
7698 eval "DEFAULT_$LINE"
7699 else
7700 no_cache=1
7701 fi
7702
7703 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7704
7705 fi
7706
7707
7708 eval "$ac_cv_use_docview"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7711 fi
7712
7713 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7714 { echo "$as_me:$LINENO: result: yes" >&5
7715 echo "${ECHO_T}yes" >&6; }
7716 else
7717 { echo "$as_me:$LINENO: result: no" >&5
7718 echo "${ECHO_T}no" >&6; }
7719 fi
7720
7721
7722 enablestring=
7723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7724 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7725 no_cache=0
7726 # Check whether --enable-help was given.
7727 if test "${enable_help+set}" = set; then
7728 enableval=$enable_help;
7729 if test "$enableval" = yes; then
7730 ac_cv_use_help='wxUSE_HELP=yes'
7731 else
7732 ac_cv_use_help='wxUSE_HELP=no'
7733 fi
7734
7735 else
7736
7737 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7738 if test "x$LINE" != x ; then
7739 eval "DEFAULT_$LINE"
7740 else
7741 no_cache=1
7742 fi
7743
7744 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7745
7746 fi
7747
7748
7749 eval "$ac_cv_use_help"
7750 if test "$no_cache" != 1; then
7751 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7752 fi
7753
7754 if test "$wxUSE_HELP" = yes; then
7755 { echo "$as_me:$LINENO: result: yes" >&5
7756 echo "${ECHO_T}yes" >&6; }
7757 else
7758 { echo "$as_me:$LINENO: result: no" >&5
7759 echo "${ECHO_T}no" >&6; }
7760 fi
7761
7762
7763 enablestring=
7764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7765 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7766 no_cache=0
7767 # Check whether --enable-mshtmlhelp was given.
7768 if test "${enable_mshtmlhelp+set}" = set; then
7769 enableval=$enable_mshtmlhelp;
7770 if test "$enableval" = yes; then
7771 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7772 else
7773 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7774 fi
7775
7776 else
7777
7778 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7779 if test "x$LINE" != x ; then
7780 eval "DEFAULT_$LINE"
7781 else
7782 no_cache=1
7783 fi
7784
7785 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7786
7787 fi
7788
7789
7790 eval "$ac_cv_use_mshtmlhelp"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7793 fi
7794
7795 if test "$wxUSE_MS_HTML_HELP" = yes; then
7796 { echo "$as_me:$LINENO: result: yes" >&5
7797 echo "${ECHO_T}yes" >&6; }
7798 else
7799 { echo "$as_me:$LINENO: result: no" >&5
7800 echo "${ECHO_T}no" >&6; }
7801 fi
7802
7803
7804 enablestring=
7805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7806 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7807 no_cache=0
7808 # Check whether --enable-html was given.
7809 if test "${enable_html+set}" = set; then
7810 enableval=$enable_html;
7811 if test "$enableval" = yes; then
7812 ac_cv_use_html='wxUSE_HTML=yes'
7813 else
7814 ac_cv_use_html='wxUSE_HTML=no'
7815 fi
7816
7817 else
7818
7819 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x ; then
7821 eval "DEFAULT_$LINE"
7822 else
7823 no_cache=1
7824 fi
7825
7826 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7827
7828 fi
7829
7830
7831 eval "$ac_cv_use_html"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7834 fi
7835
7836 if test "$wxUSE_HTML" = yes; then
7837 { echo "$as_me:$LINENO: result: yes" >&5
7838 echo "${ECHO_T}yes" >&6; }
7839 else
7840 { echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6; }
7842 fi
7843
7844
7845 enablestring=
7846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7847 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7848 no_cache=0
7849 # Check whether --enable-htmlhelp was given.
7850 if test "${enable_htmlhelp+set}" = set; then
7851 enableval=$enable_htmlhelp;
7852 if test "$enableval" = yes; then
7853 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7854 else
7855 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7856 fi
7857
7858 else
7859
7860 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x ; then
7862 eval "DEFAULT_$LINE"
7863 else
7864 no_cache=1
7865 fi
7866
7867 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7868
7869 fi
7870
7871
7872 eval "$ac_cv_use_htmlhelp"
7873 if test "$no_cache" != 1; then
7874 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7875 fi
7876
7877 if test "$wxUSE_WXHTML_HELP" = yes; then
7878 { echo "$as_me:$LINENO: result: yes" >&5
7879 echo "${ECHO_T}yes" >&6; }
7880 else
7881 { echo "$as_me:$LINENO: result: no" >&5
7882 echo "${ECHO_T}no" >&6; }
7883 fi
7884
7885
7886 enablestring=
7887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7888 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7889 no_cache=0
7890 # Check whether --enable-xrc was given.
7891 if test "${enable_xrc+set}" = set; then
7892 enableval=$enable_xrc;
7893 if test "$enableval" = yes; then
7894 ac_cv_use_xrc='wxUSE_XRC=yes'
7895 else
7896 ac_cv_use_xrc='wxUSE_XRC=no'
7897 fi
7898
7899 else
7900
7901 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7902 if test "x$LINE" != x ; then
7903 eval "DEFAULT_$LINE"
7904 else
7905 no_cache=1
7906 fi
7907
7908 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7909
7910 fi
7911
7912
7913 eval "$ac_cv_use_xrc"
7914 if test "$no_cache" != 1; then
7915 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7916 fi
7917
7918 if test "$wxUSE_XRC" = yes; then
7919 { echo "$as_me:$LINENO: result: yes" >&5
7920 echo "${ECHO_T}yes" >&6; }
7921 else
7922 { echo "$as_me:$LINENO: result: no" >&5
7923 echo "${ECHO_T}no" >&6; }
7924 fi
7925
7926
7927 enablestring=
7928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7930 no_cache=0
7931 # Check whether --enable-aui was given.
7932 if test "${enable_aui+set}" = set; then
7933 enableval=$enable_aui;
7934 if test "$enableval" = yes; then
7935 ac_cv_use_aui='wxUSE_AUI=yes'
7936 else
7937 ac_cv_use_aui='wxUSE_AUI=no'
7938 fi
7939
7940 else
7941
7942 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7943 if test "x$LINE" != x ; then
7944 eval "DEFAULT_$LINE"
7945 else
7946 no_cache=1
7947 fi
7948
7949 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7950
7951 fi
7952
7953
7954 eval "$ac_cv_use_aui"
7955 if test "$no_cache" != 1; then
7956 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7957 fi
7958
7959 if test "$wxUSE_AUI" = yes; then
7960 { echo "$as_me:$LINENO: result: yes" >&5
7961 echo "${ECHO_T}yes" >&6; }
7962 else
7963 { echo "$as_me:$LINENO: result: no" >&5
7964 echo "${ECHO_T}no" >&6; }
7965 fi
7966
7967
7968 enablestring=
7969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7971 no_cache=0
7972 # Check whether --enable-constraints was given.
7973 if test "${enable_constraints+set}" = set; then
7974 enableval=$enable_constraints;
7975 if test "$enableval" = yes; then
7976 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7977 else
7978 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7979 fi
7980
7981 else
7982
7983 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7984 if test "x$LINE" != x ; then
7985 eval "DEFAULT_$LINE"
7986 else
7987 no_cache=1
7988 fi
7989
7990 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7991
7992 fi
7993
7994
7995 eval "$ac_cv_use_constraints"
7996 if test "$no_cache" != 1; then
7997 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7998 fi
7999
8000 if test "$wxUSE_CONSTRAINTS" = yes; then
8001 { echo "$as_me:$LINENO: result: yes" >&5
8002 echo "${ECHO_T}yes" >&6; }
8003 else
8004 { echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6; }
8006 fi
8007
8008
8009 enablestring=
8010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8012 no_cache=0
8013 # Check whether --enable-printarch was given.
8014 if test "${enable_printarch+set}" = set; then
8015 enableval=$enable_printarch;
8016 if test "$enableval" = yes; then
8017 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8018 else
8019 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8020 fi
8021
8022 else
8023
8024 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8025 if test "x$LINE" != x ; then
8026 eval "DEFAULT_$LINE"
8027 else
8028 no_cache=1
8029 fi
8030
8031 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8032
8033 fi
8034
8035
8036 eval "$ac_cv_use_printarch"
8037 if test "$no_cache" != 1; then
8038 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8039 fi
8040
8041 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8042 { echo "$as_me:$LINENO: result: yes" >&5
8043 echo "${ECHO_T}yes" >&6; }
8044 else
8045 { echo "$as_me:$LINENO: result: no" >&5
8046 echo "${ECHO_T}no" >&6; }
8047 fi
8048
8049
8050 enablestring=
8051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8052 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8053 no_cache=0
8054 # Check whether --enable-mdi was given.
8055 if test "${enable_mdi+set}" = set; then
8056 enableval=$enable_mdi;
8057 if test "$enableval" = yes; then
8058 ac_cv_use_mdi='wxUSE_MDI=yes'
8059 else
8060 ac_cv_use_mdi='wxUSE_MDI=no'
8061 fi
8062
8063 else
8064
8065 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8066 if test "x$LINE" != x ; then
8067 eval "DEFAULT_$LINE"
8068 else
8069 no_cache=1
8070 fi
8071
8072 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8073
8074 fi
8075
8076
8077 eval "$ac_cv_use_mdi"
8078 if test "$no_cache" != 1; then
8079 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8080 fi
8081
8082 if test "$wxUSE_MDI" = yes; then
8083 { echo "$as_me:$LINENO: result: yes" >&5
8084 echo "${ECHO_T}yes" >&6; }
8085 else
8086 { echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6; }
8088 fi
8089
8090
8091 enablestring=
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8094 no_cache=0
8095 # Check whether --enable-mdidoc was given.
8096 if test "${enable_mdidoc+set}" = set; then
8097 enableval=$enable_mdidoc;
8098 if test "$enableval" = yes; then
8099 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8100 else
8101 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8102 fi
8103
8104 else
8105
8106 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8107 if test "x$LINE" != x ; then
8108 eval "DEFAULT_$LINE"
8109 else
8110 no_cache=1
8111 fi
8112
8113 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8114
8115 fi
8116
8117
8118 eval "$ac_cv_use_mdidoc"
8119 if test "$no_cache" != 1; then
8120 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8121 fi
8122
8123 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8124 { echo "$as_me:$LINENO: result: yes" >&5
8125 echo "${ECHO_T}yes" >&6; }
8126 else
8127 { echo "$as_me:$LINENO: result: no" >&5
8128 echo "${ECHO_T}no" >&6; }
8129 fi
8130
8131
8132 enablestring=
8133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8134 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8135 no_cache=0
8136 # Check whether --enable-loggui was given.
8137 if test "${enable_loggui+set}" = set; then
8138 enableval=$enable_loggui;
8139 if test "$enableval" = yes; then
8140 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8141 else
8142 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8143 fi
8144
8145 else
8146
8147 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8148 if test "x$LINE" != x ; then
8149 eval "DEFAULT_$LINE"
8150 else
8151 no_cache=1
8152 fi
8153
8154 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8155
8156 fi
8157
8158
8159 eval "$ac_cv_use_loggui"
8160 if test "$no_cache" != 1; then
8161 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8162 fi
8163
8164 if test "$wxUSE_LOGGUI" = yes; then
8165 { echo "$as_me:$LINENO: result: yes" >&5
8166 echo "${ECHO_T}yes" >&6; }
8167 else
8168 { echo "$as_me:$LINENO: result: no" >&5
8169 echo "${ECHO_T}no" >&6; }
8170 fi
8171
8172
8173 enablestring=
8174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8175 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8176 no_cache=0
8177 # Check whether --enable-logwin was given.
8178 if test "${enable_logwin+set}" = set; then
8179 enableval=$enable_logwin;
8180 if test "$enableval" = yes; then
8181 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8182 else
8183 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8184 fi
8185
8186 else
8187
8188 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x ; then
8190 eval "DEFAULT_$LINE"
8191 else
8192 no_cache=1
8193 fi
8194
8195 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8196
8197 fi
8198
8199
8200 eval "$ac_cv_use_logwin"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8203 fi
8204
8205 if test "$wxUSE_LOGWINDOW" = yes; then
8206 { echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6; }
8208 else
8209 { echo "$as_me:$LINENO: result: no" >&5
8210 echo "${ECHO_T}no" >&6; }
8211 fi
8212
8213
8214 enablestring=
8215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8216 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8217 no_cache=0
8218 # Check whether --enable-logdialog was given.
8219 if test "${enable_logdialog+set}" = set; then
8220 enableval=$enable_logdialog;
8221 if test "$enableval" = yes; then
8222 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8223 else
8224 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8225 fi
8226
8227 else
8228
8229 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8230 if test "x$LINE" != x ; then
8231 eval "DEFAULT_$LINE"
8232 else
8233 no_cache=1
8234 fi
8235
8236 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8237
8238 fi
8239
8240
8241 eval "$ac_cv_use_logdialog"
8242 if test "$no_cache" != 1; then
8243 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8244 fi
8245
8246 if test "$wxUSE_LOGDIALOG" = yes; then
8247 { echo "$as_me:$LINENO: result: yes" >&5
8248 echo "${ECHO_T}yes" >&6; }
8249 else
8250 { echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6; }
8252 fi
8253
8254
8255 enablestring=
8256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8257 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8258 no_cache=0
8259 # Check whether --enable-webkit was given.
8260 if test "${enable_webkit+set}" = set; then
8261 enableval=$enable_webkit;
8262 if test "$enableval" = yes; then
8263 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8264 else
8265 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8266 fi
8267
8268 else
8269
8270 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8273 else
8274 no_cache=1
8275 fi
8276
8277 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8278
8279 fi
8280
8281
8282 eval "$ac_cv_use_webkit"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8285 fi
8286
8287 if test "$wxUSE_WEBKIT" = yes; then
8288 { echo "$as_me:$LINENO: result: yes" >&5
8289 echo "${ECHO_T}yes" >&6; }
8290 else
8291 { echo "$as_me:$LINENO: result: no" >&5
8292 echo "${ECHO_T}no" >&6; }
8293 fi
8294
8295
8296 enablestring=
8297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8298 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8299 no_cache=0
8300 # Check whether --enable-richtext was given.
8301 if test "${enable_richtext+set}" = set; then
8302 enableval=$enable_richtext;
8303 if test "$enableval" = yes; then
8304 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8305 else
8306 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8307 fi
8308
8309 else
8310
8311 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8314 else
8315 no_cache=1
8316 fi
8317
8318 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8319
8320 fi
8321
8322
8323 eval "$ac_cv_use_richtext"
8324 if test "$no_cache" != 1; then
8325 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8326 fi
8327
8328 if test "$wxUSE_RICHTEXT" = yes; then
8329 { echo "$as_me:$LINENO: result: yes" >&5
8330 echo "${ECHO_T}yes" >&6; }
8331 else
8332 { echo "$as_me:$LINENO: result: no" >&5
8333 echo "${ECHO_T}no" >&6; }
8334 fi
8335
8336
8337 enablestring=
8338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8339 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8340 no_cache=0
8341 # Check whether --enable-graphics_ctx was given.
8342 if test "${enable_graphics_ctx+set}" = set; then
8343 enableval=$enable_graphics_ctx;
8344 if test "$enableval" = yes; then
8345 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8346 else
8347 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8348 fi
8349
8350 else
8351
8352 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8355 else
8356 no_cache=1
8357 fi
8358
8359 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8360
8361 fi
8362
8363
8364 eval "$ac_cv_use_graphics_ctx"
8365 if test "$no_cache" != 1; then
8366 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8367 fi
8368
8369 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8370 { echo "$as_me:$LINENO: result: yes" >&5
8371 echo "${ECHO_T}yes" >&6; }
8372 else
8373 { echo "$as_me:$LINENO: result: no" >&5
8374 echo "${ECHO_T}no" >&6; }
8375 fi
8376
8377
8378
8379 enablestring=
8380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8381 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8382 no_cache=0
8383 # Check whether --enable-postscript was given.
8384 if test "${enable_postscript+set}" = set; then
8385 enableval=$enable_postscript;
8386 if test "$enableval" = yes; then
8387 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8388 else
8389 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8390 fi
8391
8392 else
8393
8394 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8395 if test "x$LINE" != x ; then
8396 eval "DEFAULT_$LINE"
8397 else
8398 no_cache=1
8399 fi
8400
8401 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8402
8403 fi
8404
8405
8406 eval "$ac_cv_use_postscript"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8409 fi
8410
8411 if test "$wxUSE_POSTSCRIPT" = yes; then
8412 { echo "$as_me:$LINENO: result: yes" >&5
8413 echo "${ECHO_T}yes" >&6; }
8414 else
8415 { echo "$as_me:$LINENO: result: no" >&5
8416 echo "${ECHO_T}no" >&6; }
8417 fi
8418
8419
8420
8421
8422
8423 enablestring=
8424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8425 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8426 no_cache=0
8427 # Check whether --enable-prologio was given.
8428 if test "${enable_prologio+set}" = set; then
8429 enableval=$enable_prologio;
8430 if test "$enableval" = yes; then
8431 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8432 else
8433 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8434 fi
8435
8436 else
8437
8438 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8439 if test "x$LINE" != x ; then
8440 eval "DEFAULT_$LINE"
8441 else
8442 no_cache=1
8443 fi
8444
8445 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8446
8447 fi
8448
8449
8450 eval "$ac_cv_use_prologio"
8451 if test "$no_cache" != 1; then
8452 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8453 fi
8454
8455 if test "$wxUSE_PROLOGIO" = yes; then
8456 { echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6; }
8458 else
8459 { echo "$as_me:$LINENO: result: no" >&5
8460 echo "${ECHO_T}no" >&6; }
8461 fi
8462
8463
8464 enablestring=
8465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8466 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8467 no_cache=0
8468 # Check whether --enable-resources was given.
8469 if test "${enable_resources+set}" = set; then
8470 enableval=$enable_resources;
8471 if test "$enableval" = yes; then
8472 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8473 else
8474 ac_cv_use_resources='wxUSE_RESOURCES=no'
8475 fi
8476
8477 else
8478
8479 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8480 if test "x$LINE" != x ; then
8481 eval "DEFAULT_$LINE"
8482 else
8483 no_cache=1
8484 fi
8485
8486 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8487
8488 fi
8489
8490
8491 eval "$ac_cv_use_resources"
8492 if test "$no_cache" != 1; then
8493 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8494 fi
8495
8496 if test "$wxUSE_RESOURCES" = yes; then
8497 { echo "$as_me:$LINENO: result: yes" >&5
8498 echo "${ECHO_T}yes" >&6; }
8499 else
8500 { echo "$as_me:$LINENO: result: no" >&5
8501 echo "${ECHO_T}no" >&6; }
8502 fi
8503
8504
8505
8506
8507 enablestring=
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8510 no_cache=0
8511 # Check whether --enable-clipboard was given.
8512 if test "${enable_clipboard+set}" = set; then
8513 enableval=$enable_clipboard;
8514 if test "$enableval" = yes; then
8515 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8516 else
8517 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8518 fi
8519
8520 else
8521
8522 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8523 if test "x$LINE" != x ; then
8524 eval "DEFAULT_$LINE"
8525 else
8526 no_cache=1
8527 fi
8528
8529 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8530
8531 fi
8532
8533
8534 eval "$ac_cv_use_clipboard"
8535 if test "$no_cache" != 1; then
8536 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8537 fi
8538
8539 if test "$wxUSE_CLIPBOARD" = yes; then
8540 { echo "$as_me:$LINENO: result: yes" >&5
8541 echo "${ECHO_T}yes" >&6; }
8542 else
8543 { echo "$as_me:$LINENO: result: no" >&5
8544 echo "${ECHO_T}no" >&6; }
8545 fi
8546
8547
8548 enablestring=
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8551 no_cache=0
8552 # Check whether --enable-dnd was given.
8553 if test "${enable_dnd+set}" = set; then
8554 enableval=$enable_dnd;
8555 if test "$enableval" = yes; then
8556 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8557 else
8558 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8559 fi
8560
8561 else
8562
8563 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8564 if test "x$LINE" != x ; then
8565 eval "DEFAULT_$LINE"
8566 else
8567 no_cache=1
8568 fi
8569
8570 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8571
8572 fi
8573
8574
8575 eval "$ac_cv_use_dnd"
8576 if test "$no_cache" != 1; then
8577 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8578 fi
8579
8580 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8581 { echo "$as_me:$LINENO: result: yes" >&5
8582 echo "${ECHO_T}yes" >&6; }
8583 else
8584 { echo "$as_me:$LINENO: result: no" >&5
8585 echo "${ECHO_T}no" >&6; }
8586 fi
8587
8588
8589 enablestring=
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8592 no_cache=0
8593 # Check whether --enable-metafile was given.
8594 if test "${enable_metafile+set}" = set; then
8595 enableval=$enable_metafile;
8596 if test "$enableval" = yes; then
8597 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8598 else
8599 ac_cv_use_metafile='wxUSE_METAFILE=no'
8600 fi
8601
8602 else
8603
8604 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8605 if test "x$LINE" != x ; then
8606 eval "DEFAULT_$LINE"
8607 else
8608 no_cache=1
8609 fi
8610
8611 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8612
8613 fi
8614
8615
8616 eval "$ac_cv_use_metafile"
8617 if test "$no_cache" != 1; then
8618 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8619 fi
8620
8621 if test "$wxUSE_METAFILE" = yes; then
8622 { echo "$as_me:$LINENO: result: yes" >&5
8623 echo "${ECHO_T}yes" >&6; }
8624 else
8625 { echo "$as_me:$LINENO: result: no" >&5
8626 echo "${ECHO_T}no" >&6; }
8627 fi
8628
8629
8630
8631
8632
8633 enablestring=
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8636 no_cache=0
8637 # Check whether --enable-controls was given.
8638 if test "${enable_controls+set}" = set; then
8639 enableval=$enable_controls;
8640 if test "$enableval" = yes; then
8641 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8642 else
8643 ac_cv_use_controls='wxUSE_CONTROLS=no'
8644 fi
8645
8646 else
8647
8648 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8649 if test "x$LINE" != x ; then
8650 eval "DEFAULT_$LINE"
8651 else
8652 no_cache=1
8653 fi
8654
8655 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8656
8657 fi
8658
8659
8660 eval "$ac_cv_use_controls"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8663 fi
8664
8665 if test "$wxUSE_CONTROLS" = yes; then
8666 { echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6; }
8668 else
8669 { echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6; }
8671 fi
8672
8673
8674 if test "$wxUSE_CONTROLS" = "yes"; then
8675 DEFAULT_wxUSE_ACCEL=yes
8676 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8677 DEFAULT_wxUSE_BMPBUTTON=yes
8678 DEFAULT_wxUSE_BUTTON=yes
8679 DEFAULT_wxUSE_CALCTRL=yes
8680 DEFAULT_wxUSE_CARET=yes
8681 DEFAULT_wxUSE_COMBOBOX=yes
8682 DEFAULT_wxUSE_CHECKBOX=yes
8683 DEFAULT_wxUSE_CHECKLISTBOX=yes
8684 DEFAULT_wxUSE_CHOICE=yes
8685 DEFAULT_wxUSE_CHOICEBOOK=yes
8686 DEFAULT_wxUSE_COLLPANE=yes
8687 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8688 DEFAULT_wxUSE_COMBOBOX=yes
8689 DEFAULT_wxUSE_DATEPICKCTRL=yes
8690 DEFAULT_wxUSE_DISPLAY=yes
8691 DEFAULT_wxUSE_DETECT_SM=yes
8692 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8693 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8694 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8695 DEFAULT_wxUSE_GAUGE=yes
8696 DEFAULT_wxUSE_GRID=yes
8697 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8698 DEFAULT_wxUSE_DATAVIEWCTRL=no
8699 DEFAULT_wxUSE_IMAGLIST=yes
8700 DEFAULT_wxUSE_LISTBOOK=yes
8701 DEFAULT_wxUSE_LISTBOX=yes
8702 DEFAULT_wxUSE_LISTCTRL=yes
8703 DEFAULT_wxUSE_NOTEBOOK=yes
8704 DEFAULT_wxUSE_RADIOBOX=yes
8705 DEFAULT_wxUSE_RADIOBTN=yes
8706 DEFAULT_wxUSE_SASH=yes
8707 DEFAULT_wxUSE_SCROLLBAR=yes
8708 DEFAULT_wxUSE_SEARCHCTRL=yes
8709 DEFAULT_wxUSE_SLIDER=yes
8710 DEFAULT_wxUSE_SPINBTN=yes
8711 DEFAULT_wxUSE_SPINCTRL=yes
8712 DEFAULT_wxUSE_SPLITTER=yes
8713 DEFAULT_wxUSE_STATBMP=yes
8714 DEFAULT_wxUSE_STATBOX=yes
8715 DEFAULT_wxUSE_STATLINE=yes
8716 DEFAULT_wxUSE_STATUSBAR=yes
8717 DEFAULT_wxUSE_TAB_DIALOG=yes
8718 DEFAULT_wxUSE_TOGGLEBTN=yes
8719 DEFAULT_wxUSE_TOOLBAR=yes
8720 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8721 DEFAULT_wxUSE_TOOLTIPS=yes
8722 DEFAULT_wxUSE_TREEBOOK=yes
8723 DEFAULT_wxUSE_TOOLBOOK=yes
8724 DEFAULT_wxUSE_TREECTRL=yes
8725 DEFAULT_wxUSE_POPUPWIN=yes
8726 DEFAULT_wxUSE_TIPWINDOW=yes
8727 elif test "$wxUSE_CONTROLS" = "no"; then
8728 DEFAULT_wxUSE_ACCEL=no
8729 DEFAULT_wxUSE_ANIMATIONCTRL=no
8730 DEFAULT_wxUSE_BMPBUTTON=no
8731 DEFAULT_wxUSE_BUTTON=no
8732 DEFAULT_wxUSE_CALCTRL=no
8733 DEFAULT_wxUSE_CARET=no
8734 DEFAULT_wxUSE_COLLPANE=no
8735 DEFAULT_wxUSE_COMBOBOX=no
8736 DEFAULT_wxUSE_CHECKBOX=no
8737 DEFAULT_wxUSE_CHECKLISTBOX=no
8738 DEFAULT_wxUSE_CHOICE=no
8739 DEFAULT_wxUSE_CHOICEBOOK=no
8740 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8741 DEFAULT_wxUSE_COMBOBOX=no
8742 DEFAULT_wxUSE_DATEPICKCTRL=no
8743 DEFAULT_wxUSE_DISPLAY=no
8744 DEFAULT_wxUSE_DETECT_SM=no
8745 DEFAULT_wxUSE_DIRPICKERCTRL=no
8746 DEFAULT_wxUSE_FILEPICKERCTRL=no
8747 DEFAULT_wxUSE_FONTPICKERCTRL=no
8748 DEFAULT_wxUSE_GAUGE=no
8749 DEFAULT_wxUSE_GRID=no
8750 DEFAULT_wxUSE_HYPERLINKCTRL=no
8751 DEFAULT_wxUSE_DATAVIEWCTRL=no
8752 DEFAULT_wxUSE_IMAGLIST=no
8753 DEFAULT_wxUSE_LISTBOOK=no
8754 DEFAULT_wxUSE_LISTBOX=no
8755 DEFAULT_wxUSE_LISTCTRL=no
8756 DEFAULT_wxUSE_NOTEBOOK=no
8757 DEFAULT_wxUSE_RADIOBOX=no
8758 DEFAULT_wxUSE_RADIOBTN=no
8759 DEFAULT_wxUSE_SASH=no
8760 DEFAULT_wxUSE_SCROLLBAR=no
8761 DEFAULT_wxUSE_SEARCHCTRL=no
8762 DEFAULT_wxUSE_SLIDER=no
8763 DEFAULT_wxUSE_SPINBTN=no
8764 DEFAULT_wxUSE_SPINCTRL=no
8765 DEFAULT_wxUSE_SPLITTER=no
8766 DEFAULT_wxUSE_STATBMP=no
8767 DEFAULT_wxUSE_STATBOX=no
8768 DEFAULT_wxUSE_STATLINE=no
8769 DEFAULT_wxUSE_STATUSBAR=no
8770 DEFAULT_wxUSE_TAB_DIALOG=no
8771 DEFAULT_wxUSE_TOGGLEBTN=no
8772 DEFAULT_wxUSE_TOOLBAR=no
8773 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8774 DEFAULT_wxUSE_TOOLTIPS=no
8775 DEFAULT_wxUSE_TREEBOOK=no
8776 DEFAULT_wxUSE_TOOLBOOK=no
8777 DEFAULT_wxUSE_TREECTRL=no
8778 DEFAULT_wxUSE_POPUPWIN=no
8779 DEFAULT_wxUSE_TIPWINDOW=no
8780 fi
8781
8782
8783 enablestring=
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8786 no_cache=0
8787 # Check whether --enable-accel was given.
8788 if test "${enable_accel+set}" = set; then
8789 enableval=$enable_accel;
8790 if test "$enableval" = yes; then
8791 ac_cv_use_accel='wxUSE_ACCEL=yes'
8792 else
8793 ac_cv_use_accel='wxUSE_ACCEL=no'
8794 fi
8795
8796 else
8797
8798 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8799 if test "x$LINE" != x ; then
8800 eval "DEFAULT_$LINE"
8801 else
8802 no_cache=1
8803 fi
8804
8805 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8806
8807 fi
8808
8809
8810 eval "$ac_cv_use_accel"
8811 if test "$no_cache" != 1; then
8812 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8813 fi
8814
8815 if test "$wxUSE_ACCEL" = yes; then
8816 { echo "$as_me:$LINENO: result: yes" >&5
8817 echo "${ECHO_T}yes" >&6; }
8818 else
8819 { echo "$as_me:$LINENO: result: no" >&5
8820 echo "${ECHO_T}no" >&6; }
8821 fi
8822
8823
8824 enablestring=
8825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8826 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8827 no_cache=0
8828 # Check whether --enable-animatectrl was given.
8829 if test "${enable_animatectrl+set}" = set; then
8830 enableval=$enable_animatectrl;
8831 if test "$enableval" = yes; then
8832 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8833 else
8834 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8835 fi
8836
8837 else
8838
8839 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8840 if test "x$LINE" != x ; then
8841 eval "DEFAULT_$LINE"
8842 else
8843 no_cache=1
8844 fi
8845
8846 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8847
8848 fi
8849
8850
8851 eval "$ac_cv_use_animatectrl"
8852 if test "$no_cache" != 1; then
8853 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8854 fi
8855
8856 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8857 { echo "$as_me:$LINENO: result: yes" >&5
8858 echo "${ECHO_T}yes" >&6; }
8859 else
8860 { echo "$as_me:$LINENO: result: no" >&5
8861 echo "${ECHO_T}no" >&6; }
8862 fi
8863
8864
8865 enablestring=
8866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8867 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8868 no_cache=0
8869 # Check whether --enable-button was given.
8870 if test "${enable_button+set}" = set; then
8871 enableval=$enable_button;
8872 if test "$enableval" = yes; then
8873 ac_cv_use_button='wxUSE_BUTTON=yes'
8874 else
8875 ac_cv_use_button='wxUSE_BUTTON=no'
8876 fi
8877
8878 else
8879
8880 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8881 if test "x$LINE" != x ; then
8882 eval "DEFAULT_$LINE"
8883 else
8884 no_cache=1
8885 fi
8886
8887 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8888
8889 fi
8890
8891
8892 eval "$ac_cv_use_button"
8893 if test "$no_cache" != 1; then
8894 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8895 fi
8896
8897 if test "$wxUSE_BUTTON" = yes; then
8898 { echo "$as_me:$LINENO: result: yes" >&5
8899 echo "${ECHO_T}yes" >&6; }
8900 else
8901 { echo "$as_me:$LINENO: result: no" >&5
8902 echo "${ECHO_T}no" >&6; }
8903 fi
8904
8905
8906 enablestring=
8907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8908 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8909 no_cache=0
8910 # Check whether --enable-bmpbutton was given.
8911 if test "${enable_bmpbutton+set}" = set; then
8912 enableval=$enable_bmpbutton;
8913 if test "$enableval" = yes; then
8914 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8915 else
8916 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8917 fi
8918
8919 else
8920
8921 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8922 if test "x$LINE" != x ; then
8923 eval "DEFAULT_$LINE"
8924 else
8925 no_cache=1
8926 fi
8927
8928 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8929
8930 fi
8931
8932
8933 eval "$ac_cv_use_bmpbutton"
8934 if test "$no_cache" != 1; then
8935 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8936 fi
8937
8938 if test "$wxUSE_BMPBUTTON" = yes; then
8939 { echo "$as_me:$LINENO: result: yes" >&5
8940 echo "${ECHO_T}yes" >&6; }
8941 else
8942 { echo "$as_me:$LINENO: result: no" >&5
8943 echo "${ECHO_T}no" >&6; }
8944 fi
8945
8946
8947 enablestring=
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8950 no_cache=0
8951 # Check whether --enable-bmpcombobox was given.
8952 if test "${enable_bmpcombobox+set}" = set; then
8953 enableval=$enable_bmpcombobox;
8954 if test "$enableval" = yes; then
8955 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8956 else
8957 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8958 fi
8959
8960 else
8961
8962 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8963 if test "x$LINE" != x ; then
8964 eval "DEFAULT_$LINE"
8965 else
8966 no_cache=1
8967 fi
8968
8969 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8970
8971 fi
8972
8973
8974 eval "$ac_cv_use_bmpcombobox"
8975 if test "$no_cache" != 1; then
8976 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8977 fi
8978
8979 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8980 { echo "$as_me:$LINENO: result: yes" >&5
8981 echo "${ECHO_T}yes" >&6; }
8982 else
8983 { echo "$as_me:$LINENO: result: no" >&5
8984 echo "${ECHO_T}no" >&6; }
8985 fi
8986
8987
8988 enablestring=
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8991 no_cache=0
8992 # Check whether --enable-calendar was given.
8993 if test "${enable_calendar+set}" = set; then
8994 enableval=$enable_calendar;
8995 if test "$enableval" = yes; then
8996 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8997 else
8998 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8999 fi
9000
9001 else
9002
9003 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9004 if test "x$LINE" != x ; then
9005 eval "DEFAULT_$LINE"
9006 else
9007 no_cache=1
9008 fi
9009
9010 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9011
9012 fi
9013
9014
9015 eval "$ac_cv_use_calendar"
9016 if test "$no_cache" != 1; then
9017 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9018 fi
9019
9020 if test "$wxUSE_CALCTRL" = yes; then
9021 { echo "$as_me:$LINENO: result: yes" >&5
9022 echo "${ECHO_T}yes" >&6; }
9023 else
9024 { echo "$as_me:$LINENO: result: no" >&5
9025 echo "${ECHO_T}no" >&6; }
9026 fi
9027
9028
9029 enablestring=
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9032 no_cache=0
9033 # Check whether --enable-caret was given.
9034 if test "${enable_caret+set}" = set; then
9035 enableval=$enable_caret;
9036 if test "$enableval" = yes; then
9037 ac_cv_use_caret='wxUSE_CARET=yes'
9038 else
9039 ac_cv_use_caret='wxUSE_CARET=no'
9040 fi
9041
9042 else
9043
9044 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9045 if test "x$LINE" != x ; then
9046 eval "DEFAULT_$LINE"
9047 else
9048 no_cache=1
9049 fi
9050
9051 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9052
9053 fi
9054
9055
9056 eval "$ac_cv_use_caret"
9057 if test "$no_cache" != 1; then
9058 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9059 fi
9060
9061 if test "$wxUSE_CARET" = yes; then
9062 { echo "$as_me:$LINENO: result: yes" >&5
9063 echo "${ECHO_T}yes" >&6; }
9064 else
9065 { echo "$as_me:$LINENO: result: no" >&5
9066 echo "${ECHO_T}no" >&6; }
9067 fi
9068
9069
9070 enablestring=
9071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9072 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9073 no_cache=0
9074 # Check whether --enable-checkbox was given.
9075 if test "${enable_checkbox+set}" = set; then
9076 enableval=$enable_checkbox;
9077 if test "$enableval" = yes; then
9078 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9079 else
9080 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9081 fi
9082
9083 else
9084
9085 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9086 if test "x$LINE" != x ; then
9087 eval "DEFAULT_$LINE"
9088 else
9089 no_cache=1
9090 fi
9091
9092 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9093
9094 fi
9095
9096
9097 eval "$ac_cv_use_checkbox"
9098 if test "$no_cache" != 1; then
9099 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9100 fi
9101
9102 if test "$wxUSE_CHECKBOX" = yes; then
9103 { echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6; }
9105 else
9106 { echo "$as_me:$LINENO: result: no" >&5
9107 echo "${ECHO_T}no" >&6; }
9108 fi
9109
9110
9111 enablestring=
9112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9113 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9114 no_cache=0
9115 # Check whether --enable-checklst was given.
9116 if test "${enable_checklst+set}" = set; then
9117 enableval=$enable_checklst;
9118 if test "$enableval" = yes; then
9119 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9120 else
9121 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9122 fi
9123
9124 else
9125
9126 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9127 if test "x$LINE" != x ; then
9128 eval "DEFAULT_$LINE"
9129 else
9130 no_cache=1
9131 fi
9132
9133 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9134
9135 fi
9136
9137
9138 eval "$ac_cv_use_checklst"
9139 if test "$no_cache" != 1; then
9140 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9141 fi
9142
9143 if test "$wxUSE_CHECKLST" = yes; then
9144 { echo "$as_me:$LINENO: result: yes" >&5
9145 echo "${ECHO_T}yes" >&6; }
9146 else
9147 { echo "$as_me:$LINENO: result: no" >&5
9148 echo "${ECHO_T}no" >&6; }
9149 fi
9150
9151
9152 enablestring=
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9155 no_cache=0
9156 # Check whether --enable-choice was given.
9157 if test "${enable_choice+set}" = set; then
9158 enableval=$enable_choice;
9159 if test "$enableval" = yes; then
9160 ac_cv_use_choice='wxUSE_CHOICE=yes'
9161 else
9162 ac_cv_use_choice='wxUSE_CHOICE=no'
9163 fi
9164
9165 else
9166
9167 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9168 if test "x$LINE" != x ; then
9169 eval "DEFAULT_$LINE"
9170 else
9171 no_cache=1
9172 fi
9173
9174 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9175
9176 fi
9177
9178
9179 eval "$ac_cv_use_choice"
9180 if test "$no_cache" != 1; then
9181 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9182 fi
9183
9184 if test "$wxUSE_CHOICE" = yes; then
9185 { echo "$as_me:$LINENO: result: yes" >&5
9186 echo "${ECHO_T}yes" >&6; }
9187 else
9188 { echo "$as_me:$LINENO: result: no" >&5
9189 echo "${ECHO_T}no" >&6; }
9190 fi
9191
9192
9193 enablestring=
9194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9195 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9196 no_cache=0
9197 # Check whether --enable-choicebook was given.
9198 if test "${enable_choicebook+set}" = set; then
9199 enableval=$enable_choicebook;
9200 if test "$enableval" = yes; then
9201 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9202 else
9203 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9204 fi
9205
9206 else
9207
9208 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9209 if test "x$LINE" != x ; then
9210 eval "DEFAULT_$LINE"
9211 else
9212 no_cache=1
9213 fi
9214
9215 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9216
9217 fi
9218
9219
9220 eval "$ac_cv_use_choicebook"
9221 if test "$no_cache" != 1; then
9222 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9223 fi
9224
9225 if test "$wxUSE_CHOICEBOOK" = yes; then
9226 { echo "$as_me:$LINENO: result: yes" >&5
9227 echo "${ECHO_T}yes" >&6; }
9228 else
9229 { echo "$as_me:$LINENO: result: no" >&5
9230 echo "${ECHO_T}no" >&6; }
9231 fi
9232
9233
9234 enablestring=
9235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9236 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9237 no_cache=0
9238 # Check whether --enable-collpane was given.
9239 if test "${enable_collpane+set}" = set; then
9240 enableval=$enable_collpane;
9241 if test "$enableval" = yes; then
9242 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9243 else
9244 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9245 fi
9246
9247 else
9248
9249 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9250 if test "x$LINE" != x ; then
9251 eval "DEFAULT_$LINE"
9252 else
9253 no_cache=1
9254 fi
9255
9256 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9257
9258 fi
9259
9260
9261 eval "$ac_cv_use_collpane"
9262 if test "$no_cache" != 1; then
9263 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9264 fi
9265
9266 if test "$wxUSE_COLLPANE" = yes; then
9267 { echo "$as_me:$LINENO: result: yes" >&5
9268 echo "${ECHO_T}yes" >&6; }
9269 else
9270 { echo "$as_me:$LINENO: result: no" >&5
9271 echo "${ECHO_T}no" >&6; }
9272 fi
9273
9274
9275 enablestring=
9276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9277 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9278 no_cache=0
9279 # Check whether --enable-colourpicker was given.
9280 if test "${enable_colourpicker+set}" = set; then
9281 enableval=$enable_colourpicker;
9282 if test "$enableval" = yes; then
9283 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9284 else
9285 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9286 fi
9287
9288 else
9289
9290 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9291 if test "x$LINE" != x ; then
9292 eval "DEFAULT_$LINE"
9293 else
9294 no_cache=1
9295 fi
9296
9297 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9298
9299 fi
9300
9301
9302 eval "$ac_cv_use_colourpicker"
9303 if test "$no_cache" != 1; then
9304 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9305 fi
9306
9307 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9308 { echo "$as_me:$LINENO: result: yes" >&5
9309 echo "${ECHO_T}yes" >&6; }
9310 else
9311 { echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6; }
9313 fi
9314
9315
9316 enablestring=
9317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9318 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9319 no_cache=0
9320 # Check whether --enable-combobox was given.
9321 if test "${enable_combobox+set}" = set; then
9322 enableval=$enable_combobox;
9323 if test "$enableval" = yes; then
9324 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9325 else
9326 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9327 fi
9328
9329 else
9330
9331 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9332 if test "x$LINE" != x ; then
9333 eval "DEFAULT_$LINE"
9334 else
9335 no_cache=1
9336 fi
9337
9338 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9339
9340 fi
9341
9342
9343 eval "$ac_cv_use_combobox"
9344 if test "$no_cache" != 1; then
9345 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9346 fi
9347
9348 if test "$wxUSE_COMBOBOX" = yes; then
9349 { echo "$as_me:$LINENO: result: yes" >&5
9350 echo "${ECHO_T}yes" >&6; }
9351 else
9352 { echo "$as_me:$LINENO: result: no" >&5
9353 echo "${ECHO_T}no" >&6; }
9354 fi
9355
9356
9357 enablestring=
9358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9359 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9360 no_cache=0
9361 # Check whether --enable-comboctrl was given.
9362 if test "${enable_comboctrl+set}" = set; then
9363 enableval=$enable_comboctrl;
9364 if test "$enableval" = yes; then
9365 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9366 else
9367 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9368 fi
9369
9370 else
9371
9372 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9373 if test "x$LINE" != x ; then
9374 eval "DEFAULT_$LINE"
9375 else
9376 no_cache=1
9377 fi
9378
9379 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9380
9381 fi
9382
9383
9384 eval "$ac_cv_use_comboctrl"
9385 if test "$no_cache" != 1; then
9386 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9387 fi
9388
9389 if test "$wxUSE_COMBOCTRL" = yes; then
9390 { echo "$as_me:$LINENO: result: yes" >&5
9391 echo "${ECHO_T}yes" >&6; }
9392 else
9393 { echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6; }
9395 fi
9396
9397
9398 enablestring=
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9401 no_cache=0
9402 # Check whether --enable-datepick was given.
9403 if test "${enable_datepick+set}" = set; then
9404 enableval=$enable_datepick;
9405 if test "$enableval" = yes; then
9406 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9407 else
9408 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9409 fi
9410
9411 else
9412
9413 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9414 if test "x$LINE" != x ; then
9415 eval "DEFAULT_$LINE"
9416 else
9417 no_cache=1
9418 fi
9419
9420 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9421
9422 fi
9423
9424
9425 eval "$ac_cv_use_datepick"
9426 if test "$no_cache" != 1; then
9427 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9428 fi
9429
9430 if test "$wxUSE_DATEPICKCTRL" = yes; then
9431 { echo "$as_me:$LINENO: result: yes" >&5
9432 echo "${ECHO_T}yes" >&6; }
9433 else
9434 { echo "$as_me:$LINENO: result: no" >&5
9435 echo "${ECHO_T}no" >&6; }
9436 fi
9437
9438
9439 enablestring=
9440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9441 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9442 no_cache=0
9443 # Check whether --enable-dirpicker was given.
9444 if test "${enable_dirpicker+set}" = set; then
9445 enableval=$enable_dirpicker;
9446 if test "$enableval" = yes; then
9447 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9448 else
9449 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9450 fi
9451
9452 else
9453
9454 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9455 if test "x$LINE" != x ; then
9456 eval "DEFAULT_$LINE"
9457 else
9458 no_cache=1
9459 fi
9460
9461 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9462
9463 fi
9464
9465
9466 eval "$ac_cv_use_dirpicker"
9467 if test "$no_cache" != 1; then
9468 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9469 fi
9470
9471 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9472 { echo "$as_me:$LINENO: result: yes" >&5
9473 echo "${ECHO_T}yes" >&6; }
9474 else
9475 { echo "$as_me:$LINENO: result: no" >&5
9476 echo "${ECHO_T}no" >&6; }
9477 fi
9478
9479
9480 enablestring=
9481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9483 no_cache=0
9484 # Check whether --enable-display was given.
9485 if test "${enable_display+set}" = set; then
9486 enableval=$enable_display;
9487 if test "$enableval" = yes; then
9488 ac_cv_use_display='wxUSE_DISPLAY=yes'
9489 else
9490 ac_cv_use_display='wxUSE_DISPLAY=no'
9491 fi
9492
9493 else
9494
9495 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9496 if test "x$LINE" != x ; then
9497 eval "DEFAULT_$LINE"
9498 else
9499 no_cache=1
9500 fi
9501
9502 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9503
9504 fi
9505
9506
9507 eval "$ac_cv_use_display"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9510 fi
9511
9512 if test "$wxUSE_DISPLAY" = yes; then
9513 { echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6; }
9515 else
9516 { echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6; }
9518 fi
9519
9520
9521 enablestring=
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9524 no_cache=0
9525 # Check whether --enable-detect_sm was given.
9526 if test "${enable_detect_sm+set}" = set; then
9527 enableval=$enable_detect_sm;
9528 if test "$enableval" = yes; then
9529 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9530 else
9531 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9532 fi
9533
9534 else
9535
9536 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9537 if test "x$LINE" != x ; then
9538 eval "DEFAULT_$LINE"
9539 else
9540 no_cache=1
9541 fi
9542
9543 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9544
9545 fi
9546
9547
9548 eval "$ac_cv_use_detect_sm"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9551 fi
9552
9553 if test "$wxUSE_DETECT_SM" = yes; then
9554 { echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6; }
9556 else
9557 { echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6; }
9559 fi
9560
9561
9562 enablestring=
9563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9565 no_cache=0
9566 # Check whether --enable-filepicker was given.
9567 if test "${enable_filepicker+set}" = set; then
9568 enableval=$enable_filepicker;
9569 if test "$enableval" = yes; then
9570 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9571 else
9572 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9573 fi
9574
9575 else
9576
9577 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9578 if test "x$LINE" != x ; then
9579 eval "DEFAULT_$LINE"
9580 else
9581 no_cache=1
9582 fi
9583
9584 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9585
9586 fi
9587
9588
9589 eval "$ac_cv_use_filepicker"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9592 fi
9593
9594 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9595 { echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6; }
9597 else
9598 { echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6; }
9600 fi
9601
9602
9603 enablestring=
9604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9606 no_cache=0
9607 # Check whether --enable-fontpicker was given.
9608 if test "${enable_fontpicker+set}" = set; then
9609 enableval=$enable_fontpicker;
9610 if test "$enableval" = yes; then
9611 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9612 else
9613 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9614 fi
9615
9616 else
9617
9618 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9619 if test "x$LINE" != x ; then
9620 eval "DEFAULT_$LINE"
9621 else
9622 no_cache=1
9623 fi
9624
9625 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9626
9627 fi
9628
9629
9630 eval "$ac_cv_use_fontpicker"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9633 fi
9634
9635 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9636 { echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6; }
9638 else
9639 { echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6; }
9641 fi
9642
9643
9644 enablestring=
9645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9647 no_cache=0
9648 # Check whether --enable-gauge was given.
9649 if test "${enable_gauge+set}" = set; then
9650 enableval=$enable_gauge;
9651 if test "$enableval" = yes; then
9652 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9653 else
9654 ac_cv_use_gauge='wxUSE_GAUGE=no'
9655 fi
9656
9657 else
9658
9659 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9660 if test "x$LINE" != x ; then
9661 eval "DEFAULT_$LINE"
9662 else
9663 no_cache=1
9664 fi
9665
9666 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9667
9668 fi
9669
9670
9671 eval "$ac_cv_use_gauge"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9674 fi
9675
9676 if test "$wxUSE_GAUGE" = yes; then
9677 { echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6; }
9679 else
9680 { echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6; }
9682 fi
9683
9684
9685 enablestring=
9686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9688 no_cache=0
9689 # Check whether --enable-grid was given.
9690 if test "${enable_grid+set}" = set; then
9691 enableval=$enable_grid;
9692 if test "$enableval" = yes; then
9693 ac_cv_use_grid='wxUSE_GRID=yes'
9694 else
9695 ac_cv_use_grid='wxUSE_GRID=no'
9696 fi
9697
9698 else
9699
9700 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9701 if test "x$LINE" != x ; then
9702 eval "DEFAULT_$LINE"
9703 else
9704 no_cache=1
9705 fi
9706
9707 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9708
9709 fi
9710
9711
9712 eval "$ac_cv_use_grid"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9715 fi
9716
9717 if test "$wxUSE_GRID" = yes; then
9718 { echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6; }
9720 else
9721 { echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6; }
9723 fi
9724
9725
9726 enablestring=
9727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9729 no_cache=0
9730 # Check whether --enable-dataviewctrl was given.
9731 if test "${enable_dataviewctrl+set}" = set; then
9732 enableval=$enable_dataviewctrl;
9733 if test "$enableval" = yes; then
9734 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9735 else
9736 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9737 fi
9738
9739 else
9740
9741 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9742 if test "x$LINE" != x ; then
9743 eval "DEFAULT_$LINE"
9744 else
9745 no_cache=1
9746 fi
9747
9748 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9749
9750 fi
9751
9752
9753 eval "$ac_cv_use_dataviewctrl"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9756 fi
9757
9758 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9759 { echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6; }
9761 else
9762 { echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6; }
9764 fi
9765
9766
9767 enablestring=
9768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9770 no_cache=0
9771 # Check whether --enable-hyperlink was given.
9772 if test "${enable_hyperlink+set}" = set; then
9773 enableval=$enable_hyperlink;
9774 if test "$enableval" = yes; then
9775 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9776 else
9777 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9778 fi
9779
9780 else
9781
9782 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9783 if test "x$LINE" != x ; then
9784 eval "DEFAULT_$LINE"
9785 else
9786 no_cache=1
9787 fi
9788
9789 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9790
9791 fi
9792
9793
9794 eval "$ac_cv_use_hyperlink"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9797 fi
9798
9799 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9800 { echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6; }
9802 else
9803 { echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6; }
9805 fi
9806
9807
9808 enablestring=
9809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9810 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9811 no_cache=0
9812 # Check whether --enable-imaglist was given.
9813 if test "${enable_imaglist+set}" = set; then
9814 enableval=$enable_imaglist;
9815 if test "$enableval" = yes; then
9816 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9817 else
9818 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9819 fi
9820
9821 else
9822
9823 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9824 if test "x$LINE" != x ; then
9825 eval "DEFAULT_$LINE"
9826 else
9827 no_cache=1
9828 fi
9829
9830 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9831
9832 fi
9833
9834
9835 eval "$ac_cv_use_imaglist"
9836 if test "$no_cache" != 1; then
9837 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9838 fi
9839
9840 if test "$wxUSE_IMAGLIST" = yes; then
9841 { echo "$as_me:$LINENO: result: yes" >&5
9842 echo "${ECHO_T}yes" >&6; }
9843 else
9844 { echo "$as_me:$LINENO: result: no" >&5
9845 echo "${ECHO_T}no" >&6; }
9846 fi
9847
9848
9849 enablestring=
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9852 no_cache=0
9853 # Check whether --enable-listbook was given.
9854 if test "${enable_listbook+set}" = set; then
9855 enableval=$enable_listbook;
9856 if test "$enableval" = yes; then
9857 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9858 else
9859 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9860 fi
9861
9862 else
9863
9864 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9865 if test "x$LINE" != x ; then
9866 eval "DEFAULT_$LINE"
9867 else
9868 no_cache=1
9869 fi
9870
9871 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9872
9873 fi
9874
9875
9876 eval "$ac_cv_use_listbook"
9877 if test "$no_cache" != 1; then
9878 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9879 fi
9880
9881 if test "$wxUSE_LISTBOOK" = yes; then
9882 { echo "$as_me:$LINENO: result: yes" >&5
9883 echo "${ECHO_T}yes" >&6; }
9884 else
9885 { echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6; }
9887 fi
9888
9889
9890 enablestring=
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9893 no_cache=0
9894 # Check whether --enable-listbox was given.
9895 if test "${enable_listbox+set}" = set; then
9896 enableval=$enable_listbox;
9897 if test "$enableval" = yes; then
9898 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9899 else
9900 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9901 fi
9902
9903 else
9904
9905 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9906 if test "x$LINE" != x ; then
9907 eval "DEFAULT_$LINE"
9908 else
9909 no_cache=1
9910 fi
9911
9912 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9913
9914 fi
9915
9916
9917 eval "$ac_cv_use_listbox"
9918 if test "$no_cache" != 1; then
9919 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9920 fi
9921
9922 if test "$wxUSE_LISTBOX" = yes; then
9923 { echo "$as_me:$LINENO: result: yes" >&5
9924 echo "${ECHO_T}yes" >&6; }
9925 else
9926 { echo "$as_me:$LINENO: result: no" >&5
9927 echo "${ECHO_T}no" >&6; }
9928 fi
9929
9930
9931 enablestring=
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9934 no_cache=0
9935 # Check whether --enable-listctrl was given.
9936 if test "${enable_listctrl+set}" = set; then
9937 enableval=$enable_listctrl;
9938 if test "$enableval" = yes; then
9939 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9940 else
9941 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9942 fi
9943
9944 else
9945
9946 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9947 if test "x$LINE" != x ; then
9948 eval "DEFAULT_$LINE"
9949 else
9950 no_cache=1
9951 fi
9952
9953 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9954
9955 fi
9956
9957
9958 eval "$ac_cv_use_listctrl"
9959 if test "$no_cache" != 1; then
9960 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9961 fi
9962
9963 if test "$wxUSE_LISTCTRL" = yes; then
9964 { echo "$as_me:$LINENO: result: yes" >&5
9965 echo "${ECHO_T}yes" >&6; }
9966 else
9967 { echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6; }
9969 fi
9970
9971
9972 enablestring=
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9975 no_cache=0
9976 # Check whether --enable-notebook was given.
9977 if test "${enable_notebook+set}" = set; then
9978 enableval=$enable_notebook;
9979 if test "$enableval" = yes; then
9980 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9981 else
9982 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9983 fi
9984
9985 else
9986
9987 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x ; then
9989 eval "DEFAULT_$LINE"
9990 else
9991 no_cache=1
9992 fi
9993
9994 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9995
9996 fi
9997
9998
9999 eval "$ac_cv_use_notebook"
10000 if test "$no_cache" != 1; then
10001 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10002 fi
10003
10004 if test "$wxUSE_NOTEBOOK" = yes; then
10005 { echo "$as_me:$LINENO: result: yes" >&5
10006 echo "${ECHO_T}yes" >&6; }
10007 else
10008 { echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6; }
10010 fi
10011
10012
10013 enablestring=
10014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10015 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10016 no_cache=0
10017 # Check whether --enable-odcombobox was given.
10018 if test "${enable_odcombobox+set}" = set; then
10019 enableval=$enable_odcombobox;
10020 if test "$enableval" = yes; then
10021 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10022 else
10023 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10024 fi
10025
10026 else
10027
10028 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10029 if test "x$LINE" != x ; then
10030 eval "DEFAULT_$LINE"
10031 else
10032 no_cache=1
10033 fi
10034
10035 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10036
10037 fi
10038
10039
10040 eval "$ac_cv_use_odcombobox"
10041 if test "$no_cache" != 1; then
10042 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10043 fi
10044
10045 if test "$wxUSE_ODCOMBOBOX" = yes; then
10046 { echo "$as_me:$LINENO: result: yes" >&5
10047 echo "${ECHO_T}yes" >&6; }
10048 else
10049 { echo "$as_me:$LINENO: result: no" >&5
10050 echo "${ECHO_T}no" >&6; }
10051 fi
10052
10053
10054 enablestring=
10055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10056 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10057 no_cache=0
10058 # Check whether --enable-radiobox was given.
10059 if test "${enable_radiobox+set}" = set; then
10060 enableval=$enable_radiobox;
10061 if test "$enableval" = yes; then
10062 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10063 else
10064 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10065 fi
10066
10067 else
10068
10069 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10070 if test "x$LINE" != x ; then
10071 eval "DEFAULT_$LINE"
10072 else
10073 no_cache=1
10074 fi
10075
10076 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10077
10078 fi
10079
10080
10081 eval "$ac_cv_use_radiobox"
10082 if test "$no_cache" != 1; then
10083 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10084 fi
10085
10086 if test "$wxUSE_RADIOBOX" = yes; then
10087 { echo "$as_me:$LINENO: result: yes" >&5
10088 echo "${ECHO_T}yes" >&6; }
10089 else
10090 { echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6; }
10092 fi
10093
10094
10095 enablestring=
10096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10097 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10098 no_cache=0
10099 # Check whether --enable-radiobtn was given.
10100 if test "${enable_radiobtn+set}" = set; then
10101 enableval=$enable_radiobtn;
10102 if test "$enableval" = yes; then
10103 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10104 else
10105 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10106 fi
10107
10108 else
10109
10110 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10111 if test "x$LINE" != x ; then
10112 eval "DEFAULT_$LINE"
10113 else
10114 no_cache=1
10115 fi
10116
10117 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10118
10119 fi
10120
10121
10122 eval "$ac_cv_use_radiobtn"
10123 if test "$no_cache" != 1; then
10124 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10125 fi
10126
10127 if test "$wxUSE_RADIOBTN" = yes; then
10128 { echo "$as_me:$LINENO: result: yes" >&5
10129 echo "${ECHO_T}yes" >&6; }
10130 else
10131 { echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6; }
10133 fi
10134
10135
10136 enablestring=
10137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10138 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10139 no_cache=0
10140 # Check whether --enable-sash was given.
10141 if test "${enable_sash+set}" = set; then
10142 enableval=$enable_sash;
10143 if test "$enableval" = yes; then
10144 ac_cv_use_sash='wxUSE_SASH=yes'
10145 else
10146 ac_cv_use_sash='wxUSE_SASH=no'
10147 fi
10148
10149 else
10150
10151 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10152 if test "x$LINE" != x ; then
10153 eval "DEFAULT_$LINE"
10154 else
10155 no_cache=1
10156 fi
10157
10158 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10159
10160 fi
10161
10162
10163 eval "$ac_cv_use_sash"
10164 if test "$no_cache" != 1; then
10165 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10166 fi
10167
10168 if test "$wxUSE_SASH" = yes; then
10169 { echo "$as_me:$LINENO: result: yes" >&5
10170 echo "${ECHO_T}yes" >&6; }
10171 else
10172 { echo "$as_me:$LINENO: result: no" >&5
10173 echo "${ECHO_T}no" >&6; }
10174 fi
10175
10176
10177 enablestring=
10178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10179 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10180 no_cache=0
10181 # Check whether --enable-scrollbar was given.
10182 if test "${enable_scrollbar+set}" = set; then
10183 enableval=$enable_scrollbar;
10184 if test "$enableval" = yes; then
10185 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10186 else
10187 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10188 fi
10189
10190 else
10191
10192 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10193 if test "x$LINE" != x ; then
10194 eval "DEFAULT_$LINE"
10195 else
10196 no_cache=1
10197 fi
10198
10199 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10200
10201 fi
10202
10203
10204 eval "$ac_cv_use_scrollbar"
10205 if test "$no_cache" != 1; then
10206 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10207 fi
10208
10209 if test "$wxUSE_SCROLLBAR" = yes; then
10210 { echo "$as_me:$LINENO: result: yes" >&5
10211 echo "${ECHO_T}yes" >&6; }
10212 else
10213 { echo "$as_me:$LINENO: result: no" >&5
10214 echo "${ECHO_T}no" >&6; }
10215 fi
10216
10217
10218 enablestring=
10219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10220 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10221 no_cache=0
10222 # Check whether --enable-searchctrl was given.
10223 if test "${enable_searchctrl+set}" = set; then
10224 enableval=$enable_searchctrl;
10225 if test "$enableval" = yes; then
10226 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10227 else
10228 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10229 fi
10230
10231 else
10232
10233 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10234 if test "x$LINE" != x ; then
10235 eval "DEFAULT_$LINE"
10236 else
10237 no_cache=1
10238 fi
10239
10240 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10241
10242 fi
10243
10244
10245 eval "$ac_cv_use_searchctrl"
10246 if test "$no_cache" != 1; then
10247 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10248 fi
10249
10250 if test "$wxUSE_SEARCHCTRL" = yes; then
10251 { echo "$as_me:$LINENO: result: yes" >&5
10252 echo "${ECHO_T}yes" >&6; }
10253 else
10254 { echo "$as_me:$LINENO: result: no" >&5
10255 echo "${ECHO_T}no" >&6; }
10256 fi
10257
10258
10259 enablestring=
10260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10261 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10262 no_cache=0
10263 # Check whether --enable-slider was given.
10264 if test "${enable_slider+set}" = set; then
10265 enableval=$enable_slider;
10266 if test "$enableval" = yes; then
10267 ac_cv_use_slider='wxUSE_SLIDER=yes'
10268 else
10269 ac_cv_use_slider='wxUSE_SLIDER=no'
10270 fi
10271
10272 else
10273
10274 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10275 if test "x$LINE" != x ; then
10276 eval "DEFAULT_$LINE"
10277 else
10278 no_cache=1
10279 fi
10280
10281 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10282
10283 fi
10284
10285
10286 eval "$ac_cv_use_slider"
10287 if test "$no_cache" != 1; then
10288 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10289 fi
10290
10291 if test "$wxUSE_SLIDER" = yes; then
10292 { echo "$as_me:$LINENO: result: yes" >&5
10293 echo "${ECHO_T}yes" >&6; }
10294 else
10295 { echo "$as_me:$LINENO: result: no" >&5
10296 echo "${ECHO_T}no" >&6; }
10297 fi
10298
10299
10300 enablestring=
10301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10302 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10303 no_cache=0
10304 # Check whether --enable-spinbtn was given.
10305 if test "${enable_spinbtn+set}" = set; then
10306 enableval=$enable_spinbtn;
10307 if test "$enableval" = yes; then
10308 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10309 else
10310 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10311 fi
10312
10313 else
10314
10315 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10316 if test "x$LINE" != x ; then
10317 eval "DEFAULT_$LINE"
10318 else
10319 no_cache=1
10320 fi
10321
10322 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10323
10324 fi
10325
10326
10327 eval "$ac_cv_use_spinbtn"
10328 if test "$no_cache" != 1; then
10329 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10330 fi
10331
10332 if test "$wxUSE_SPINBTN" = yes; then
10333 { echo "$as_me:$LINENO: result: yes" >&5
10334 echo "${ECHO_T}yes" >&6; }
10335 else
10336 { echo "$as_me:$LINENO: result: no" >&5
10337 echo "${ECHO_T}no" >&6; }
10338 fi
10339
10340
10341 enablestring=
10342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10343 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10344 no_cache=0
10345 # Check whether --enable-spinctrl was given.
10346 if test "${enable_spinctrl+set}" = set; then
10347 enableval=$enable_spinctrl;
10348 if test "$enableval" = yes; then
10349 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10350 else
10351 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10352 fi
10353
10354 else
10355
10356 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10357 if test "x$LINE" != x ; then
10358 eval "DEFAULT_$LINE"
10359 else
10360 no_cache=1
10361 fi
10362
10363 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10364
10365 fi
10366
10367
10368 eval "$ac_cv_use_spinctrl"
10369 if test "$no_cache" != 1; then
10370 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10371 fi
10372
10373 if test "$wxUSE_SPINCTRL" = yes; then
10374 { echo "$as_me:$LINENO: result: yes" >&5
10375 echo "${ECHO_T}yes" >&6; }
10376 else
10377 { echo "$as_me:$LINENO: result: no" >&5
10378 echo "${ECHO_T}no" >&6; }
10379 fi
10380
10381
10382 enablestring=
10383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10384 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10385 no_cache=0
10386 # Check whether --enable-splitter was given.
10387 if test "${enable_splitter+set}" = set; then
10388 enableval=$enable_splitter;
10389 if test "$enableval" = yes; then
10390 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10391 else
10392 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10393 fi
10394
10395 else
10396
10397 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10400 else
10401 no_cache=1
10402 fi
10403
10404 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10405
10406 fi
10407
10408
10409 eval "$ac_cv_use_splitter"
10410 if test "$no_cache" != 1; then
10411 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10412 fi
10413
10414 if test "$wxUSE_SPLITTER" = yes; then
10415 { echo "$as_me:$LINENO: result: yes" >&5
10416 echo "${ECHO_T}yes" >&6; }
10417 else
10418 { echo "$as_me:$LINENO: result: no" >&5
10419 echo "${ECHO_T}no" >&6; }
10420 fi
10421
10422
10423 enablestring=
10424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10425 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10426 no_cache=0
10427 # Check whether --enable-statbmp was given.
10428 if test "${enable_statbmp+set}" = set; then
10429 enableval=$enable_statbmp;
10430 if test "$enableval" = yes; then
10431 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10432 else
10433 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10434 fi
10435
10436 else
10437
10438 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10441 else
10442 no_cache=1
10443 fi
10444
10445 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10446
10447 fi
10448
10449
10450 eval "$ac_cv_use_statbmp"
10451 if test "$no_cache" != 1; then
10452 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10453 fi
10454
10455 if test "$wxUSE_STATBMP" = yes; then
10456 { echo "$as_me:$LINENO: result: yes" >&5
10457 echo "${ECHO_T}yes" >&6; }
10458 else
10459 { echo "$as_me:$LINENO: result: no" >&5
10460 echo "${ECHO_T}no" >&6; }
10461 fi
10462
10463
10464 enablestring=
10465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10466 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10467 no_cache=0
10468 # Check whether --enable-statbox was given.
10469 if test "${enable_statbox+set}" = set; then
10470 enableval=$enable_statbox;
10471 if test "$enableval" = yes; then
10472 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10473 else
10474 ac_cv_use_statbox='wxUSE_STATBOX=no'
10475 fi
10476
10477 else
10478
10479 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10480 if test "x$LINE" != x ; then
10481 eval "DEFAULT_$LINE"
10482 else
10483 no_cache=1
10484 fi
10485
10486 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10487
10488 fi
10489
10490
10491 eval "$ac_cv_use_statbox"
10492 if test "$no_cache" != 1; then
10493 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10494 fi
10495
10496 if test "$wxUSE_STATBOX" = yes; then
10497 { echo "$as_me:$LINENO: result: yes" >&5
10498 echo "${ECHO_T}yes" >&6; }
10499 else
10500 { echo "$as_me:$LINENO: result: no" >&5
10501 echo "${ECHO_T}no" >&6; }
10502 fi
10503
10504
10505 enablestring=
10506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10507 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10508 no_cache=0
10509 # Check whether --enable-statline was given.
10510 if test "${enable_statline+set}" = set; then
10511 enableval=$enable_statline;
10512 if test "$enableval" = yes; then
10513 ac_cv_use_statline='wxUSE_STATLINE=yes'
10514 else
10515 ac_cv_use_statline='wxUSE_STATLINE=no'
10516 fi
10517
10518 else
10519
10520 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10521 if test "x$LINE" != x ; then
10522 eval "DEFAULT_$LINE"
10523 else
10524 no_cache=1
10525 fi
10526
10527 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10528
10529 fi
10530
10531
10532 eval "$ac_cv_use_statline"
10533 if test "$no_cache" != 1; then
10534 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10535 fi
10536
10537 if test "$wxUSE_STATLINE" = yes; then
10538 { echo "$as_me:$LINENO: result: yes" >&5
10539 echo "${ECHO_T}yes" >&6; }
10540 else
10541 { echo "$as_me:$LINENO: result: no" >&5
10542 echo "${ECHO_T}no" >&6; }
10543 fi
10544
10545
10546 enablestring=
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10549 no_cache=0
10550 # Check whether --enable-stattext was given.
10551 if test "${enable_stattext+set}" = set; then
10552 enableval=$enable_stattext;
10553 if test "$enableval" = yes; then
10554 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10555 else
10556 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10557 fi
10558
10559 else
10560
10561 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10562 if test "x$LINE" != x ; then
10563 eval "DEFAULT_$LINE"
10564 else
10565 no_cache=1
10566 fi
10567
10568 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10569
10570 fi
10571
10572
10573 eval "$ac_cv_use_stattext"
10574 if test "$no_cache" != 1; then
10575 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10576 fi
10577
10578 if test "$wxUSE_STATTEXT" = yes; then
10579 { echo "$as_me:$LINENO: result: yes" >&5
10580 echo "${ECHO_T}yes" >&6; }
10581 else
10582 { echo "$as_me:$LINENO: result: no" >&5
10583 echo "${ECHO_T}no" >&6; }
10584 fi
10585
10586
10587 enablestring=
10588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10589 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10590 no_cache=0
10591 # Check whether --enable-statusbar was given.
10592 if test "${enable_statusbar+set}" = set; then
10593 enableval=$enable_statusbar;
10594 if test "$enableval" = yes; then
10595 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10596 else
10597 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10598 fi
10599
10600 else
10601
10602 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10603 if test "x$LINE" != x ; then
10604 eval "DEFAULT_$LINE"
10605 else
10606 no_cache=1
10607 fi
10608
10609 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10610
10611 fi
10612
10613
10614 eval "$ac_cv_use_statusbar"
10615 if test "$no_cache" != 1; then
10616 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10617 fi
10618
10619 if test "$wxUSE_STATUSBAR" = yes; then
10620 { echo "$as_me:$LINENO: result: yes" >&5
10621 echo "${ECHO_T}yes" >&6; }
10622 else
10623 { echo "$as_me:$LINENO: result: no" >&5
10624 echo "${ECHO_T}no" >&6; }
10625 fi
10626
10627
10628 enablestring=
10629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10630 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10631 no_cache=0
10632 # Check whether --enable-tabdialog was given.
10633 if test "${enable_tabdialog+set}" = set; then
10634 enableval=$enable_tabdialog;
10635 if test "$enableval" = yes; then
10636 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10637 else
10638 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10639 fi
10640
10641 else
10642
10643 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10644 if test "x$LINE" != x ; then
10645 eval "DEFAULT_$LINE"
10646 else
10647 no_cache=1
10648 fi
10649
10650 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10651
10652 fi
10653
10654
10655 eval "$ac_cv_use_tabdialog"
10656 if test "$no_cache" != 1; then
10657 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10658 fi
10659
10660 if test "$wxUSE_TAB_DIALOG" = yes; then
10661 { echo "$as_me:$LINENO: result: yes" >&5
10662 echo "${ECHO_T}yes" >&6; }
10663 else
10664 { echo "$as_me:$LINENO: result: no" >&5
10665 echo "${ECHO_T}no" >&6; }
10666 fi
10667
10668
10669 enablestring=
10670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10671 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10672 no_cache=0
10673 # Check whether --enable-textctrl was given.
10674 if test "${enable_textctrl+set}" = set; then
10675 enableval=$enable_textctrl;
10676 if test "$enableval" = yes; then
10677 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10678 else
10679 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10680 fi
10681
10682 else
10683
10684 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10687 else
10688 no_cache=1
10689 fi
10690
10691 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10692
10693 fi
10694
10695
10696 eval "$ac_cv_use_textctrl"
10697 if test "$no_cache" != 1; then
10698 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10699 fi
10700
10701 if test "$wxUSE_TEXTCTRL" = yes; then
10702 { echo "$as_me:$LINENO: result: yes" >&5
10703 echo "${ECHO_T}yes" >&6; }
10704 else
10705 { echo "$as_me:$LINENO: result: no" >&5
10706 echo "${ECHO_T}no" >&6; }
10707 fi
10708
10709
10710 enablestring=
10711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10712 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10713 no_cache=0
10714 # Check whether --enable-togglebtn was given.
10715 if test "${enable_togglebtn+set}" = set; then
10716 enableval=$enable_togglebtn;
10717 if test "$enableval" = yes; then
10718 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10719 else
10720 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10721 fi
10722
10723 else
10724
10725 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10726 if test "x$LINE" != x ; then
10727 eval "DEFAULT_$LINE"
10728 else
10729 no_cache=1
10730 fi
10731
10732 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10733
10734 fi
10735
10736
10737 eval "$ac_cv_use_togglebtn"
10738 if test "$no_cache" != 1; then
10739 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10740 fi
10741
10742 if test "$wxUSE_TOGGLEBTN" = yes; then
10743 { echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6; }
10745 else
10746 { echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6; }
10748 fi
10749
10750
10751 enablestring=
10752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10753 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10754 no_cache=0
10755 # Check whether --enable-toolbar was given.
10756 if test "${enable_toolbar+set}" = set; then
10757 enableval=$enable_toolbar;
10758 if test "$enableval" = yes; then
10759 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10760 else
10761 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10762 fi
10763
10764 else
10765
10766 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10767 if test "x$LINE" != x ; then
10768 eval "DEFAULT_$LINE"
10769 else
10770 no_cache=1
10771 fi
10772
10773 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10774
10775 fi
10776
10777
10778 eval "$ac_cv_use_toolbar"
10779 if test "$no_cache" != 1; then
10780 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10781 fi
10782
10783 if test "$wxUSE_TOOLBAR" = yes; then
10784 { echo "$as_me:$LINENO: result: yes" >&5
10785 echo "${ECHO_T}yes" >&6; }
10786 else
10787 { echo "$as_me:$LINENO: result: no" >&5
10788 echo "${ECHO_T}no" >&6; }
10789 fi
10790
10791
10792 enablestring=
10793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10795 no_cache=0
10796 # Check whether --enable-tbarnative was given.
10797 if test "${enable_tbarnative+set}" = set; then
10798 enableval=$enable_tbarnative;
10799 if test "$enableval" = yes; then
10800 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10801 else
10802 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10803 fi
10804
10805 else
10806
10807 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10808 if test "x$LINE" != x ; then
10809 eval "DEFAULT_$LINE"
10810 else
10811 no_cache=1
10812 fi
10813
10814 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10815
10816 fi
10817
10818
10819 eval "$ac_cv_use_tbarnative"
10820 if test "$no_cache" != 1; then
10821 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10822 fi
10823
10824 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10825 { echo "$as_me:$LINENO: result: yes" >&5
10826 echo "${ECHO_T}yes" >&6; }
10827 else
10828 { echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6; }
10830 fi
10831
10832
10833 enablestring=
10834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10835 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10836 no_cache=0
10837 # Check whether --enable-treebook was given.
10838 if test "${enable_treebook+set}" = set; then
10839 enableval=$enable_treebook;
10840 if test "$enableval" = yes; then
10841 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10842 else
10843 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10844 fi
10845
10846 else
10847
10848 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10849 if test "x$LINE" != x ; then
10850 eval "DEFAULT_$LINE"
10851 else
10852 no_cache=1
10853 fi
10854
10855 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10856
10857 fi
10858
10859
10860 eval "$ac_cv_use_treebook"
10861 if test "$no_cache" != 1; then
10862 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10863 fi
10864
10865 if test "$wxUSE_TREEBOOK" = yes; then
10866 { echo "$as_me:$LINENO: result: yes" >&5
10867 echo "${ECHO_T}yes" >&6; }
10868 else
10869 { echo "$as_me:$LINENO: result: no" >&5
10870 echo "${ECHO_T}no" >&6; }
10871 fi
10872
10873
10874 enablestring=
10875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10876 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10877 no_cache=0
10878 # Check whether --enable-toolbook was given.
10879 if test "${enable_toolbook+set}" = set; then
10880 enableval=$enable_toolbook;
10881 if test "$enableval" = yes; then
10882 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10883 else
10884 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10885 fi
10886
10887 else
10888
10889 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10890 if test "x$LINE" != x ; then
10891 eval "DEFAULT_$LINE"
10892 else
10893 no_cache=1
10894 fi
10895
10896 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10897
10898 fi
10899
10900
10901 eval "$ac_cv_use_toolbook"
10902 if test "$no_cache" != 1; then
10903 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10904 fi
10905
10906 if test "$wxUSE_TOOLBOOK" = yes; then
10907 { echo "$as_me:$LINENO: result: yes" >&5
10908 echo "${ECHO_T}yes" >&6; }
10909 else
10910 { echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6; }
10912 fi
10913
10914
10915 enablestring=
10916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10917 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10918 no_cache=0
10919 # Check whether --enable-treectrl was given.
10920 if test "${enable_treectrl+set}" = set; then
10921 enableval=$enable_treectrl;
10922 if test "$enableval" = yes; then
10923 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10924 else
10925 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10926 fi
10927
10928 else
10929
10930 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10931 if test "x$LINE" != x ; then
10932 eval "DEFAULT_$LINE"
10933 else
10934 no_cache=1
10935 fi
10936
10937 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10938
10939 fi
10940
10941
10942 eval "$ac_cv_use_treectrl"
10943 if test "$no_cache" != 1; then
10944 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10945 fi
10946
10947 if test "$wxUSE_TREECTRL" = yes; then
10948 { echo "$as_me:$LINENO: result: yes" >&5
10949 echo "${ECHO_T}yes" >&6; }
10950 else
10951 { echo "$as_me:$LINENO: result: no" >&5
10952 echo "${ECHO_T}no" >&6; }
10953 fi
10954
10955
10956 enablestring=
10957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10958 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10959 no_cache=0
10960 # Check whether --enable-tipwindow was given.
10961 if test "${enable_tipwindow+set}" = set; then
10962 enableval=$enable_tipwindow;
10963 if test "$enableval" = yes; then
10964 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10965 else
10966 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10967 fi
10968
10969 else
10970
10971 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10972 if test "x$LINE" != x ; then
10973 eval "DEFAULT_$LINE"
10974 else
10975 no_cache=1
10976 fi
10977
10978 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10979
10980 fi
10981
10982
10983 eval "$ac_cv_use_tipwindow"
10984 if test "$no_cache" != 1; then
10985 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10986 fi
10987
10988 if test "$wxUSE_TIPWINDOW" = yes; then
10989 { echo "$as_me:$LINENO: result: yes" >&5
10990 echo "${ECHO_T}yes" >&6; }
10991 else
10992 { echo "$as_me:$LINENO: result: no" >&5
10993 echo "${ECHO_T}no" >&6; }
10994 fi
10995
10996
10997 enablestring=
10998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10999 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11000 no_cache=0
11001 # Check whether --enable-popupwin was given.
11002 if test "${enable_popupwin+set}" = set; then
11003 enableval=$enable_popupwin;
11004 if test "$enableval" = yes; then
11005 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11006 else
11007 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11008 fi
11009
11010 else
11011
11012 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11013 if test "x$LINE" != x ; then
11014 eval "DEFAULT_$LINE"
11015 else
11016 no_cache=1
11017 fi
11018
11019 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11020
11021 fi
11022
11023
11024 eval "$ac_cv_use_popupwin"
11025 if test "$no_cache" != 1; then
11026 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11027 fi
11028
11029 if test "$wxUSE_POPUPWIN" = yes; then
11030 { echo "$as_me:$LINENO: result: yes" >&5
11031 echo "${ECHO_T}yes" >&6; }
11032 else
11033 { echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6; }
11035 fi
11036
11037
11038
11039
11040 enablestring=
11041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11042 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11043 no_cache=0
11044 # Check whether --enable-commondlg was given.
11045 if test "${enable_commondlg+set}" = set; then
11046 enableval=$enable_commondlg;
11047 if test "$enableval" = yes; then
11048 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11049 else
11050 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11051 fi
11052
11053 else
11054
11055 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11056 if test "x$LINE" != x ; then
11057 eval "DEFAULT_$LINE"
11058 else
11059 no_cache=1
11060 fi
11061
11062 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11063
11064 fi
11065
11066
11067 eval "$ac_cv_use_commondlg"
11068 if test "$no_cache" != 1; then
11069 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11070 fi
11071
11072 if test "$wxUSE_COMMONDLGS" = yes; then
11073 { echo "$as_me:$LINENO: result: yes" >&5
11074 echo "${ECHO_T}yes" >&6; }
11075 else
11076 { echo "$as_me:$LINENO: result: no" >&5
11077 echo "${ECHO_T}no" >&6; }
11078 fi
11079
11080
11081 enablestring=
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11084 no_cache=0
11085 # Check whether --enable-aboutdlg was given.
11086 if test "${enable_aboutdlg+set}" = set; then
11087 enableval=$enable_aboutdlg;
11088 if test "$enableval" = yes; then
11089 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11090 else
11091 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11092 fi
11093
11094 else
11095
11096 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11097 if test "x$LINE" != x ; then
11098 eval "DEFAULT_$LINE"
11099 else
11100 no_cache=1
11101 fi
11102
11103 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11104
11105 fi
11106
11107
11108 eval "$ac_cv_use_aboutdlg"
11109 if test "$no_cache" != 1; then
11110 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11111 fi
11112
11113 if test "$wxUSE_ABOUTDLG" = yes; then
11114 { echo "$as_me:$LINENO: result: yes" >&5
11115 echo "${ECHO_T}yes" >&6; }
11116 else
11117 { echo "$as_me:$LINENO: result: no" >&5
11118 echo "${ECHO_T}no" >&6; }
11119 fi
11120
11121
11122 enablestring=
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11125 no_cache=0
11126 # Check whether --enable-choicedlg was given.
11127 if test "${enable_choicedlg+set}" = set; then
11128 enableval=$enable_choicedlg;
11129 if test "$enableval" = yes; then
11130 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11131 else
11132 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11133 fi
11134
11135 else
11136
11137 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11138 if test "x$LINE" != x ; then
11139 eval "DEFAULT_$LINE"
11140 else
11141 no_cache=1
11142 fi
11143
11144 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11145
11146 fi
11147
11148
11149 eval "$ac_cv_use_choicedlg"
11150 if test "$no_cache" != 1; then
11151 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11152 fi
11153
11154 if test "$wxUSE_CHOICEDLG" = yes; then
11155 { echo "$as_me:$LINENO: result: yes" >&5
11156 echo "${ECHO_T}yes" >&6; }
11157 else
11158 { echo "$as_me:$LINENO: result: no" >&5
11159 echo "${ECHO_T}no" >&6; }
11160 fi
11161
11162
11163 enablestring=
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11166 no_cache=0
11167 # Check whether --enable-coldlg was given.
11168 if test "${enable_coldlg+set}" = set; then
11169 enableval=$enable_coldlg;
11170 if test "$enableval" = yes; then
11171 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11172 else
11173 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11174 fi
11175
11176 else
11177
11178 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11179 if test "x$LINE" != x ; then
11180 eval "DEFAULT_$LINE"
11181 else
11182 no_cache=1
11183 fi
11184
11185 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11186
11187 fi
11188
11189
11190 eval "$ac_cv_use_coldlg"
11191 if test "$no_cache" != 1; then
11192 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11193 fi
11194
11195 if test "$wxUSE_COLOURDLG" = yes; then
11196 { echo "$as_me:$LINENO: result: yes" >&5
11197 echo "${ECHO_T}yes" >&6; }
11198 else
11199 { echo "$as_me:$LINENO: result: no" >&5
11200 echo "${ECHO_T}no" >&6; }
11201 fi
11202
11203
11204 enablestring=
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11207 no_cache=0
11208 # Check whether --enable-filedlg was given.
11209 if test "${enable_filedlg+set}" = set; then
11210 enableval=$enable_filedlg;
11211 if test "$enableval" = yes; then
11212 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11213 else
11214 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11215 fi
11216
11217 else
11218
11219 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11220 if test "x$LINE" != x ; then
11221 eval "DEFAULT_$LINE"
11222 else
11223 no_cache=1
11224 fi
11225
11226 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11227
11228 fi
11229
11230
11231 eval "$ac_cv_use_filedlg"
11232 if test "$no_cache" != 1; then
11233 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11234 fi
11235
11236 if test "$wxUSE_FILEDLG" = yes; then
11237 { echo "$as_me:$LINENO: result: yes" >&5
11238 echo "${ECHO_T}yes" >&6; }
11239 else
11240 { echo "$as_me:$LINENO: result: no" >&5
11241 echo "${ECHO_T}no" >&6; }
11242 fi
11243
11244
11245 enablestring=
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11248 no_cache=0
11249 # Check whether --enable-finddlg was given.
11250 if test "${enable_finddlg+set}" = set; then
11251 enableval=$enable_finddlg;
11252 if test "$enableval" = yes; then
11253 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11254 else
11255 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11256 fi
11257
11258 else
11259
11260 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11261 if test "x$LINE" != x ; then
11262 eval "DEFAULT_$LINE"
11263 else
11264 no_cache=1
11265 fi
11266
11267 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11268
11269 fi
11270
11271
11272 eval "$ac_cv_use_finddlg"
11273 if test "$no_cache" != 1; then
11274 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11275 fi
11276
11277 if test "$wxUSE_FINDREPLDLG" = yes; then
11278 { echo "$as_me:$LINENO: result: yes" >&5
11279 echo "${ECHO_T}yes" >&6; }
11280 else
11281 { echo "$as_me:$LINENO: result: no" >&5
11282 echo "${ECHO_T}no" >&6; }
11283 fi
11284
11285
11286 enablestring=
11287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11288 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11289 no_cache=0
11290 # Check whether --enable-fontdlg was given.
11291 if test "${enable_fontdlg+set}" = set; then
11292 enableval=$enable_fontdlg;
11293 if test "$enableval" = yes; then
11294 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11295 else
11296 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11297 fi
11298
11299 else
11300
11301 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11302 if test "x$LINE" != x ; then
11303 eval "DEFAULT_$LINE"
11304 else
11305 no_cache=1
11306 fi
11307
11308 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11309
11310 fi
11311
11312
11313 eval "$ac_cv_use_fontdlg"
11314 if test "$no_cache" != 1; then
11315 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11316 fi
11317
11318 if test "$wxUSE_FONTDLG" = yes; then
11319 { echo "$as_me:$LINENO: result: yes" >&5
11320 echo "${ECHO_T}yes" >&6; }
11321 else
11322 { echo "$as_me:$LINENO: result: no" >&5
11323 echo "${ECHO_T}no" >&6; }
11324 fi
11325
11326
11327 enablestring=
11328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11329 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11330 no_cache=0
11331 # Check whether --enable-dirdlg was given.
11332 if test "${enable_dirdlg+set}" = set; then
11333 enableval=$enable_dirdlg;
11334 if test "$enableval" = yes; then
11335 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11336 else
11337 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11338 fi
11339
11340 else
11341
11342 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11343 if test "x$LINE" != x ; then
11344 eval "DEFAULT_$LINE"
11345 else
11346 no_cache=1
11347 fi
11348
11349 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11350
11351 fi
11352
11353
11354 eval "$ac_cv_use_dirdlg"
11355 if test "$no_cache" != 1; then
11356 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11357 fi
11358
11359 if test "$wxUSE_DIRDLG" = yes; then
11360 { echo "$as_me:$LINENO: result: yes" >&5
11361 echo "${ECHO_T}yes" >&6; }
11362 else
11363 { echo "$as_me:$LINENO: result: no" >&5
11364 echo "${ECHO_T}no" >&6; }
11365 fi
11366
11367
11368 enablestring=
11369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11370 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11371 no_cache=0
11372 # Check whether --enable-msgdlg was given.
11373 if test "${enable_msgdlg+set}" = set; then
11374 enableval=$enable_msgdlg;
11375 if test "$enableval" = yes; then
11376 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11377 else
11378 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11379 fi
11380
11381 else
11382
11383 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11384 if test "x$LINE" != x ; then
11385 eval "DEFAULT_$LINE"
11386 else
11387 no_cache=1
11388 fi
11389
11390 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11391
11392 fi
11393
11394
11395 eval "$ac_cv_use_msgdlg"
11396 if test "$no_cache" != 1; then
11397 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11398 fi
11399
11400 if test "$wxUSE_MSGDLG" = yes; then
11401 { echo "$as_me:$LINENO: result: yes" >&5
11402 echo "${ECHO_T}yes" >&6; }
11403 else
11404 { echo "$as_me:$LINENO: result: no" >&5
11405 echo "${ECHO_T}no" >&6; }
11406 fi
11407
11408
11409 enablestring=
11410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11411 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11412 no_cache=0
11413 # Check whether --enable-numberdlg was given.
11414 if test "${enable_numberdlg+set}" = set; then
11415 enableval=$enable_numberdlg;
11416 if test "$enableval" = yes; then
11417 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11418 else
11419 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11420 fi
11421
11422 else
11423
11424 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11425 if test "x$LINE" != x ; then
11426 eval "DEFAULT_$LINE"
11427 else
11428 no_cache=1
11429 fi
11430
11431 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11432
11433 fi
11434
11435
11436 eval "$ac_cv_use_numberdlg"
11437 if test "$no_cache" != 1; then
11438 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11439 fi
11440
11441 if test "$wxUSE_NUMBERDLG" = yes; then
11442 { echo "$as_me:$LINENO: result: yes" >&5
11443 echo "${ECHO_T}yes" >&6; }
11444 else
11445 { echo "$as_me:$LINENO: result: no" >&5
11446 echo "${ECHO_T}no" >&6; }
11447 fi
11448
11449
11450 enablestring=
11451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11452 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11453 no_cache=0
11454 # Check whether --enable-splash was given.
11455 if test "${enable_splash+set}" = set; then
11456 enableval=$enable_splash;
11457 if test "$enableval" = yes; then
11458 ac_cv_use_splash='wxUSE_SPLASH=yes'
11459 else
11460 ac_cv_use_splash='wxUSE_SPLASH=no'
11461 fi
11462
11463 else
11464
11465 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11466 if test "x$LINE" != x ; then
11467 eval "DEFAULT_$LINE"
11468 else
11469 no_cache=1
11470 fi
11471
11472 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11473
11474 fi
11475
11476
11477 eval "$ac_cv_use_splash"
11478 if test "$no_cache" != 1; then
11479 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11480 fi
11481
11482 if test "$wxUSE_SPLASH" = yes; then
11483 { echo "$as_me:$LINENO: result: yes" >&5
11484 echo "${ECHO_T}yes" >&6; }
11485 else
11486 { echo "$as_me:$LINENO: result: no" >&5
11487 echo "${ECHO_T}no" >&6; }
11488 fi
11489
11490
11491 enablestring=
11492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11493 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11494 no_cache=0
11495 # Check whether --enable-textdlg was given.
11496 if test "${enable_textdlg+set}" = set; then
11497 enableval=$enable_textdlg;
11498 if test "$enableval" = yes; then
11499 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11500 else
11501 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11502 fi
11503
11504 else
11505
11506 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11507 if test "x$LINE" != x ; then
11508 eval "DEFAULT_$LINE"
11509 else
11510 no_cache=1
11511 fi
11512
11513 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11514
11515 fi
11516
11517
11518 eval "$ac_cv_use_textdlg"
11519 if test "$no_cache" != 1; then
11520 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11521 fi
11522
11523 if test "$wxUSE_TEXTDLG" = yes; then
11524 { echo "$as_me:$LINENO: result: yes" >&5
11525 echo "${ECHO_T}yes" >&6; }
11526 else
11527 { echo "$as_me:$LINENO: result: no" >&5
11528 echo "${ECHO_T}no" >&6; }
11529 fi
11530
11531
11532 enablestring=
11533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11534 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11535 no_cache=0
11536 # Check whether --enable-tipdlg was given.
11537 if test "${enable_tipdlg+set}" = set; then
11538 enableval=$enable_tipdlg;
11539 if test "$enableval" = yes; then
11540 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11541 else
11542 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11543 fi
11544
11545 else
11546
11547 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11548 if test "x$LINE" != x ; then
11549 eval "DEFAULT_$LINE"
11550 else
11551 no_cache=1
11552 fi
11553
11554 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11555
11556 fi
11557
11558
11559 eval "$ac_cv_use_tipdlg"
11560 if test "$no_cache" != 1; then
11561 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11562 fi
11563
11564 if test "$wxUSE_STARTUP_TIPS" = yes; then
11565 { echo "$as_me:$LINENO: result: yes" >&5
11566 echo "${ECHO_T}yes" >&6; }
11567 else
11568 { echo "$as_me:$LINENO: result: no" >&5
11569 echo "${ECHO_T}no" >&6; }
11570 fi
11571
11572
11573 enablestring=
11574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11575 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11576 no_cache=0
11577 # Check whether --enable-progressdlg was given.
11578 if test "${enable_progressdlg+set}" = set; then
11579 enableval=$enable_progressdlg;
11580 if test "$enableval" = yes; then
11581 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11582 else
11583 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11584 fi
11585
11586 else
11587
11588 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11589 if test "x$LINE" != x ; then
11590 eval "DEFAULT_$LINE"
11591 else
11592 no_cache=1
11593 fi
11594
11595 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11596
11597 fi
11598
11599
11600 eval "$ac_cv_use_progressdlg"
11601 if test "$no_cache" != 1; then
11602 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11603 fi
11604
11605 if test "$wxUSE_PROGRESSDLG" = yes; then
11606 { echo "$as_me:$LINENO: result: yes" >&5
11607 echo "${ECHO_T}yes" >&6; }
11608 else
11609 { echo "$as_me:$LINENO: result: no" >&5
11610 echo "${ECHO_T}no" >&6; }
11611 fi
11612
11613
11614 enablestring=
11615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11616 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11617 no_cache=0
11618 # Check whether --enable-wizarddlg was given.
11619 if test "${enable_wizarddlg+set}" = set; then
11620 enableval=$enable_wizarddlg;
11621 if test "$enableval" = yes; then
11622 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11623 else
11624 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11625 fi
11626
11627 else
11628
11629 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11630 if test "x$LINE" != x ; then
11631 eval "DEFAULT_$LINE"
11632 else
11633 no_cache=1
11634 fi
11635
11636 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11637
11638 fi
11639
11640
11641 eval "$ac_cv_use_wizarddlg"
11642 if test "$no_cache" != 1; then
11643 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11644 fi
11645
11646 if test "$wxUSE_WIZARDDLG" = yes; then
11647 { echo "$as_me:$LINENO: result: yes" >&5
11648 echo "${ECHO_T}yes" >&6; }
11649 else
11650 { echo "$as_me:$LINENO: result: no" >&5
11651 echo "${ECHO_T}no" >&6; }
11652 fi
11653
11654
11655
11656
11657 enablestring=
11658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11659 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11660 no_cache=0
11661 # Check whether --enable-menus was given.
11662 if test "${enable_menus+set}" = set; then
11663 enableval=$enable_menus;
11664 if test "$enableval" = yes; then
11665 ac_cv_use_menus='wxUSE_MENUS=yes'
11666 else
11667 ac_cv_use_menus='wxUSE_MENUS=no'
11668 fi
11669
11670 else
11671
11672 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11673 if test "x$LINE" != x ; then
11674 eval "DEFAULT_$LINE"
11675 else
11676 no_cache=1
11677 fi
11678
11679 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11680
11681 fi
11682
11683
11684 eval "$ac_cv_use_menus"
11685 if test "$no_cache" != 1; then
11686 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11687 fi
11688
11689 if test "$wxUSE_MENUS" = yes; then
11690 { echo "$as_me:$LINENO: result: yes" >&5
11691 echo "${ECHO_T}yes" >&6; }
11692 else
11693 { echo "$as_me:$LINENO: result: no" >&5
11694 echo "${ECHO_T}no" >&6; }
11695 fi
11696
11697
11698 enablestring=
11699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11701 no_cache=0
11702 # Check whether --enable-miniframe was given.
11703 if test "${enable_miniframe+set}" = set; then
11704 enableval=$enable_miniframe;
11705 if test "$enableval" = yes; then
11706 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11707 else
11708 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11709 fi
11710
11711 else
11712
11713 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11714 if test "x$LINE" != x ; then
11715 eval "DEFAULT_$LINE"
11716 else
11717 no_cache=1
11718 fi
11719
11720 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11721
11722 fi
11723
11724
11725 eval "$ac_cv_use_miniframe"
11726 if test "$no_cache" != 1; then
11727 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11728 fi
11729
11730 if test "$wxUSE_MINIFRAME" = yes; then
11731 { echo "$as_me:$LINENO: result: yes" >&5
11732 echo "${ECHO_T}yes" >&6; }
11733 else
11734 { echo "$as_me:$LINENO: result: no" >&5
11735 echo "${ECHO_T}no" >&6; }
11736 fi
11737
11738
11739 enablestring=
11740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11741 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11742 no_cache=0
11743 # Check whether --enable-tooltips was given.
11744 if test "${enable_tooltips+set}" = set; then
11745 enableval=$enable_tooltips;
11746 if test "$enableval" = yes; then
11747 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11748 else
11749 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11750 fi
11751
11752 else
11753
11754 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11755 if test "x$LINE" != x ; then
11756 eval "DEFAULT_$LINE"
11757 else
11758 no_cache=1
11759 fi
11760
11761 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11762
11763 fi
11764
11765
11766 eval "$ac_cv_use_tooltips"
11767 if test "$no_cache" != 1; then
11768 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11769 fi
11770
11771 if test "$wxUSE_TOOLTIPS" = yes; then
11772 { echo "$as_me:$LINENO: result: yes" >&5
11773 echo "${ECHO_T}yes" >&6; }
11774 else
11775 { echo "$as_me:$LINENO: result: no" >&5
11776 echo "${ECHO_T}no" >&6; }
11777 fi
11778
11779
11780 enablestring=
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11783 no_cache=0
11784 # Check whether --enable-splines was given.
11785 if test "${enable_splines+set}" = set; then
11786 enableval=$enable_splines;
11787 if test "$enableval" = yes; then
11788 ac_cv_use_splines='wxUSE_SPLINES=yes'
11789 else
11790 ac_cv_use_splines='wxUSE_SPLINES=no'
11791 fi
11792
11793 else
11794
11795 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11796 if test "x$LINE" != x ; then
11797 eval "DEFAULT_$LINE"
11798 else
11799 no_cache=1
11800 fi
11801
11802 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11803
11804 fi
11805
11806
11807 eval "$ac_cv_use_splines"
11808 if test "$no_cache" != 1; then
11809 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11810 fi
11811
11812 if test "$wxUSE_SPLINES" = yes; then
11813 { echo "$as_me:$LINENO: result: yes" >&5
11814 echo "${ECHO_T}yes" >&6; }
11815 else
11816 { echo "$as_me:$LINENO: result: no" >&5
11817 echo "${ECHO_T}no" >&6; }
11818 fi
11819
11820
11821 enablestring=
11822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11823 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11824 no_cache=0
11825 # Check whether --enable-mousewheel was given.
11826 if test "${enable_mousewheel+set}" = set; then
11827 enableval=$enable_mousewheel;
11828 if test "$enableval" = yes; then
11829 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11830 else
11831 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11832 fi
11833
11834 else
11835
11836 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11837 if test "x$LINE" != x ; then
11838 eval "DEFAULT_$LINE"
11839 else
11840 no_cache=1
11841 fi
11842
11843 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11844
11845 fi
11846
11847
11848 eval "$ac_cv_use_mousewheel"
11849 if test "$no_cache" != 1; then
11850 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11851 fi
11852
11853 if test "$wxUSE_MOUSEWHEEL" = yes; then
11854 { echo "$as_me:$LINENO: result: yes" >&5
11855 echo "${ECHO_T}yes" >&6; }
11856 else
11857 { echo "$as_me:$LINENO: result: no" >&5
11858 echo "${ECHO_T}no" >&6; }
11859 fi
11860
11861
11862 enablestring=
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11865 no_cache=0
11866 # Check whether --enable-validators was given.
11867 if test "${enable_validators+set}" = set; then
11868 enableval=$enable_validators;
11869 if test "$enableval" = yes; then
11870 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11871 else
11872 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11873 fi
11874
11875 else
11876
11877 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11878 if test "x$LINE" != x ; then
11879 eval "DEFAULT_$LINE"
11880 else
11881 no_cache=1
11882 fi
11883
11884 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11885
11886 fi
11887
11888
11889 eval "$ac_cv_use_validators"
11890 if test "$no_cache" != 1; then
11891 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11892 fi
11893
11894 if test "$wxUSE_VALIDATORS" = yes; then
11895 { echo "$as_me:$LINENO: result: yes" >&5
11896 echo "${ECHO_T}yes" >&6; }
11897 else
11898 { echo "$as_me:$LINENO: result: no" >&5
11899 echo "${ECHO_T}no" >&6; }
11900 fi
11901
11902
11903 enablestring=
11904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11905 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11906 no_cache=0
11907 # Check whether --enable-busyinfo was given.
11908 if test "${enable_busyinfo+set}" = set; then
11909 enableval=$enable_busyinfo;
11910 if test "$enableval" = yes; then
11911 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11912 else
11913 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11914 fi
11915
11916 else
11917
11918 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11919 if test "x$LINE" != x ; then
11920 eval "DEFAULT_$LINE"
11921 else
11922 no_cache=1
11923 fi
11924
11925 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11926
11927 fi
11928
11929
11930 eval "$ac_cv_use_busyinfo"
11931 if test "$no_cache" != 1; then
11932 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11933 fi
11934
11935 if test "$wxUSE_BUSYINFO" = yes; then
11936 { echo "$as_me:$LINENO: result: yes" >&5
11937 echo "${ECHO_T}yes" >&6; }
11938 else
11939 { echo "$as_me:$LINENO: result: no" >&5
11940 echo "${ECHO_T}no" >&6; }
11941 fi
11942
11943
11944 enablestring=
11945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11946 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11947 no_cache=0
11948 # Check whether --enable-joystick was given.
11949 if test "${enable_joystick+set}" = set; then
11950 enableval=$enable_joystick;
11951 if test "$enableval" = yes; then
11952 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11953 else
11954 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11955 fi
11956
11957 else
11958
11959 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11960 if test "x$LINE" != x ; then
11961 eval "DEFAULT_$LINE"
11962 else
11963 no_cache=1
11964 fi
11965
11966 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11967
11968 fi
11969
11970
11971 eval "$ac_cv_use_joystick"
11972 if test "$no_cache" != 1; then
11973 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11974 fi
11975
11976 if test "$wxUSE_JOYSTICK" = yes; then
11977 { echo "$as_me:$LINENO: result: yes" >&5
11978 echo "${ECHO_T}yes" >&6; }
11979 else
11980 { echo "$as_me:$LINENO: result: no" >&5
11981 echo "${ECHO_T}no" >&6; }
11982 fi
11983
11984
11985 enablestring=
11986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11987 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11988 no_cache=0
11989 # Check whether --enable-metafile was given.
11990 if test "${enable_metafile+set}" = set; then
11991 enableval=$enable_metafile;
11992 if test "$enableval" = yes; then
11993 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11994 else
11995 ac_cv_use_metafile='wxUSE_METAFILE=no'
11996 fi
11997
11998 else
11999
12000 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12001 if test "x$LINE" != x ; then
12002 eval "DEFAULT_$LINE"
12003 else
12004 no_cache=1
12005 fi
12006
12007 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12008
12009 fi
12010
12011
12012 eval "$ac_cv_use_metafile"
12013 if test "$no_cache" != 1; then
12014 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12015 fi
12016
12017 if test "$wxUSE_METAFILE" = yes; then
12018 { echo "$as_me:$LINENO: result: yes" >&5
12019 echo "${ECHO_T}yes" >&6; }
12020 else
12021 { echo "$as_me:$LINENO: result: no" >&5
12022 echo "${ECHO_T}no" >&6; }
12023 fi
12024
12025
12026 enablestring=
12027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12028 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12029 no_cache=0
12030 # Check whether --enable-dragimage was given.
12031 if test "${enable_dragimage+set}" = set; then
12032 enableval=$enable_dragimage;
12033 if test "$enableval" = yes; then
12034 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12035 else
12036 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12037 fi
12038
12039 else
12040
12041 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12042 if test "x$LINE" != x ; then
12043 eval "DEFAULT_$LINE"
12044 else
12045 no_cache=1
12046 fi
12047
12048 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12049
12050 fi
12051
12052
12053 eval "$ac_cv_use_dragimage"
12054 if test "$no_cache" != 1; then
12055 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12056 fi
12057
12058 if test "$wxUSE_DRAGIMAGE" = yes; then
12059 { echo "$as_me:$LINENO: result: yes" >&5
12060 echo "${ECHO_T}yes" >&6; }
12061 else
12062 { echo "$as_me:$LINENO: result: no" >&5
12063 echo "${ECHO_T}no" >&6; }
12064 fi
12065
12066
12067 enablestring=
12068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12069 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12070 no_cache=0
12071 # Check whether --enable-accessibility was given.
12072 if test "${enable_accessibility+set}" = set; then
12073 enableval=$enable_accessibility;
12074 if test "$enableval" = yes; then
12075 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12076 else
12077 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12078 fi
12079
12080 else
12081
12082 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12083 if test "x$LINE" != x ; then
12084 eval "DEFAULT_$LINE"
12085 else
12086 no_cache=1
12087 fi
12088
12089 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12090
12091 fi
12092
12093
12094 eval "$ac_cv_use_accessibility"
12095 if test "$no_cache" != 1; then
12096 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12097 fi
12098
12099 if test "$wxUSE_ACCESSIBILITY" = yes; then
12100 { echo "$as_me:$LINENO: result: yes" >&5
12101 echo "${ECHO_T}yes" >&6; }
12102 else
12103 { echo "$as_me:$LINENO: result: no" >&5
12104 echo "${ECHO_T}no" >&6; }
12105 fi
12106
12107
12108 if test "$wxUSE_MSW" = "1"; then
12109
12110 enablestring=
12111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12112 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12113 no_cache=0
12114 # Check whether --enable-dccache was given.
12115 if test "${enable_dccache+set}" = set; then
12116 enableval=$enable_dccache;
12117 if test "$enableval" = yes; then
12118 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12119 else
12120 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12121 fi
12122
12123 else
12124
12125 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12126 if test "x$LINE" != x ; then
12127 eval "DEFAULT_$LINE"
12128 else
12129 no_cache=1
12130 fi
12131
12132 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12133
12134 fi
12135
12136
12137 eval "$ac_cv_use_dccache"
12138 if test "$no_cache" != 1; then
12139 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12140 fi
12141
12142 if test "$wxUSE_DC_CACHEING" = yes; then
12143 { echo "$as_me:$LINENO: result: yes" >&5
12144 echo "${ECHO_T}yes" >&6; }
12145 else
12146 { echo "$as_me:$LINENO: result: no" >&5
12147 echo "${ECHO_T}no" >&6; }
12148 fi
12149
12150 fi
12151
12152
12153
12154 enablestring=
12155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12156 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12157 no_cache=0
12158 # Check whether --enable-palette was given.
12159 if test "${enable_palette+set}" = set; then
12160 enableval=$enable_palette;
12161 if test "$enableval" = yes; then
12162 ac_cv_use_palette='wxUSE_PALETTE=yes'
12163 else
12164 ac_cv_use_palette='wxUSE_PALETTE=no'
12165 fi
12166
12167 else
12168
12169 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12170 if test "x$LINE" != x ; then
12171 eval "DEFAULT_$LINE"
12172 else
12173 no_cache=1
12174 fi
12175
12176 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12177
12178 fi
12179
12180
12181 eval "$ac_cv_use_palette"
12182 if test "$no_cache" != 1; then
12183 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12184 fi
12185
12186 if test "$wxUSE_PALETTE" = yes; then
12187 { echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6; }
12189 else
12190 { echo "$as_me:$LINENO: result: no" >&5
12191 echo "${ECHO_T}no" >&6; }
12192 fi
12193
12194
12195 enablestring=
12196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12197 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12198 no_cache=0
12199 # Check whether --enable-image was given.
12200 if test "${enable_image+set}" = set; then
12201 enableval=$enable_image;
12202 if test "$enableval" = yes; then
12203 ac_cv_use_image='wxUSE_IMAGE=yes'
12204 else
12205 ac_cv_use_image='wxUSE_IMAGE=no'
12206 fi
12207
12208 else
12209
12210 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12211 if test "x$LINE" != x ; then
12212 eval "DEFAULT_$LINE"
12213 else
12214 no_cache=1
12215 fi
12216
12217 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12218
12219 fi
12220
12221
12222 eval "$ac_cv_use_image"
12223 if test "$no_cache" != 1; then
12224 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12225 fi
12226
12227 if test "$wxUSE_IMAGE" = yes; then
12228 { echo "$as_me:$LINENO: result: yes" >&5
12229 echo "${ECHO_T}yes" >&6; }
12230 else
12231 { echo "$as_me:$LINENO: result: no" >&5
12232 echo "${ECHO_T}no" >&6; }
12233 fi
12234
12235
12236 enablestring=
12237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12238 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12239 no_cache=0
12240 # Check whether --enable-gif was given.
12241 if test "${enable_gif+set}" = set; then
12242 enableval=$enable_gif;
12243 if test "$enableval" = yes; then
12244 ac_cv_use_gif='wxUSE_GIF=yes'
12245 else
12246 ac_cv_use_gif='wxUSE_GIF=no'
12247 fi
12248
12249 else
12250
12251 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12252 if test "x$LINE" != x ; then
12253 eval "DEFAULT_$LINE"
12254 else
12255 no_cache=1
12256 fi
12257
12258 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12259
12260 fi
12261
12262
12263 eval "$ac_cv_use_gif"
12264 if test "$no_cache" != 1; then
12265 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12266 fi
12267
12268 if test "$wxUSE_GIF" = yes; then
12269 { echo "$as_me:$LINENO: result: yes" >&5
12270 echo "${ECHO_T}yes" >&6; }
12271 else
12272 { echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6; }
12274 fi
12275
12276
12277 enablestring=
12278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12279 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12280 no_cache=0
12281 # Check whether --enable-pcx was given.
12282 if test "${enable_pcx+set}" = set; then
12283 enableval=$enable_pcx;
12284 if test "$enableval" = yes; then
12285 ac_cv_use_pcx='wxUSE_PCX=yes'
12286 else
12287 ac_cv_use_pcx='wxUSE_PCX=no'
12288 fi
12289
12290 else
12291
12292 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12293 if test "x$LINE" != x ; then
12294 eval "DEFAULT_$LINE"
12295 else
12296 no_cache=1
12297 fi
12298
12299 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12300
12301 fi
12302
12303
12304 eval "$ac_cv_use_pcx"
12305 if test "$no_cache" != 1; then
12306 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12307 fi
12308
12309 if test "$wxUSE_PCX" = yes; then
12310 { echo "$as_me:$LINENO: result: yes" >&5
12311 echo "${ECHO_T}yes" >&6; }
12312 else
12313 { echo "$as_me:$LINENO: result: no" >&5
12314 echo "${ECHO_T}no" >&6; }
12315 fi
12316
12317
12318 enablestring=
12319 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12320 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12321 no_cache=0
12322 # Check whether --enable-tga was given.
12323 if test "${enable_tga+set}" = set; then
12324 enableval=$enable_tga;
12325 if test "$enableval" = yes; then
12326 ac_cv_use_tga='wxUSE_TGA=yes'
12327 else
12328 ac_cv_use_tga='wxUSE_TGA=no'
12329 fi
12330
12331 else
12332
12333 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12334 if test "x$LINE" != x ; then
12335 eval "DEFAULT_$LINE"
12336 else
12337 no_cache=1
12338 fi
12339
12340 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12341
12342 fi
12343
12344
12345 eval "$ac_cv_use_tga"
12346 if test "$no_cache" != 1; then
12347 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12348 fi
12349
12350 if test "$wxUSE_TGA" = yes; then
12351 { echo "$as_me:$LINENO: result: yes" >&5
12352 echo "${ECHO_T}yes" >&6; }
12353 else
12354 { echo "$as_me:$LINENO: result: no" >&5
12355 echo "${ECHO_T}no" >&6; }
12356 fi
12357
12358
12359 enablestring=
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12362 no_cache=0
12363 # Check whether --enable-iff was given.
12364 if test "${enable_iff+set}" = set; then
12365 enableval=$enable_iff;
12366 if test "$enableval" = yes; then
12367 ac_cv_use_iff='wxUSE_IFF=yes'
12368 else
12369 ac_cv_use_iff='wxUSE_IFF=no'
12370 fi
12371
12372 else
12373
12374 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12375 if test "x$LINE" != x ; then
12376 eval "DEFAULT_$LINE"
12377 else
12378 no_cache=1
12379 fi
12380
12381 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12382
12383 fi
12384
12385
12386 eval "$ac_cv_use_iff"
12387 if test "$no_cache" != 1; then
12388 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12389 fi
12390
12391 if test "$wxUSE_IFF" = yes; then
12392 { echo "$as_me:$LINENO: result: yes" >&5
12393 echo "${ECHO_T}yes" >&6; }
12394 else
12395 { echo "$as_me:$LINENO: result: no" >&5
12396 echo "${ECHO_T}no" >&6; }
12397 fi
12398
12399
12400 enablestring=
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12403 no_cache=0
12404 # Check whether --enable-pnm was given.
12405 if test "${enable_pnm+set}" = set; then
12406 enableval=$enable_pnm;
12407 if test "$enableval" = yes; then
12408 ac_cv_use_pnm='wxUSE_PNM=yes'
12409 else
12410 ac_cv_use_pnm='wxUSE_PNM=no'
12411 fi
12412
12413 else
12414
12415 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12416 if test "x$LINE" != x ; then
12417 eval "DEFAULT_$LINE"
12418 else
12419 no_cache=1
12420 fi
12421
12422 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12423
12424 fi
12425
12426
12427 eval "$ac_cv_use_pnm"
12428 if test "$no_cache" != 1; then
12429 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12430 fi
12431
12432 if test "$wxUSE_PNM" = yes; then
12433 { echo "$as_me:$LINENO: result: yes" >&5
12434 echo "${ECHO_T}yes" >&6; }
12435 else
12436 { echo "$as_me:$LINENO: result: no" >&5
12437 echo "${ECHO_T}no" >&6; }
12438 fi
12439
12440
12441 enablestring=
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12444 no_cache=0
12445 # Check whether --enable-xpm was given.
12446 if test "${enable_xpm+set}" = set; then
12447 enableval=$enable_xpm;
12448 if test "$enableval" = yes; then
12449 ac_cv_use_xpm='wxUSE_XPM=yes'
12450 else
12451 ac_cv_use_xpm='wxUSE_XPM=no'
12452 fi
12453
12454 else
12455
12456 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12457 if test "x$LINE" != x ; then
12458 eval "DEFAULT_$LINE"
12459 else
12460 no_cache=1
12461 fi
12462
12463 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12464
12465 fi
12466
12467
12468 eval "$ac_cv_use_xpm"
12469 if test "$no_cache" != 1; then
12470 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12471 fi
12472
12473 if test "$wxUSE_XPM" = yes; then
12474 { echo "$as_me:$LINENO: result: yes" >&5
12475 echo "${ECHO_T}yes" >&6; }
12476 else
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12479 fi
12480
12481
12482 enablestring=
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12485 no_cache=0
12486 # Check whether --enable-ico_cur was given.
12487 if test "${enable_ico_cur+set}" = set; then
12488 enableval=$enable_ico_cur;
12489 if test "$enableval" = yes; then
12490 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12491 else
12492 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12493 fi
12494
12495 else
12496
12497 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12498 if test "x$LINE" != x ; then
12499 eval "DEFAULT_$LINE"
12500 else
12501 no_cache=1
12502 fi
12503
12504 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12505
12506 fi
12507
12508
12509 eval "$ac_cv_use_ico_cur"
12510 if test "$no_cache" != 1; then
12511 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12512 fi
12513
12514 if test "$wxUSE_ICO_CUR" = yes; then
12515 { echo "$as_me:$LINENO: result: yes" >&5
12516 echo "${ECHO_T}yes" >&6; }
12517 else
12518 { echo "$as_me:$LINENO: result: no" >&5
12519 echo "${ECHO_T}no" >&6; }
12520 fi
12521
12522
12523 fi
12524
12525
12526
12527 # Check whether --with-flavour was given.
12528 if test "${with_flavour+set}" = set; then
12529 withval=$with_flavour; WX_FLAVOUR="$withval"
12530 fi
12531
12532
12533
12534
12535 enablestring=
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12538 no_cache=0
12539 # Check whether --enable-official_build was given.
12540 if test "${enable_official_build+set}" = set; then
12541 enableval=$enable_official_build;
12542 if test "$enableval" = yes; then
12543 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12544 else
12545 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12546 fi
12547
12548 else
12549
12550 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12551 if test "x$LINE" != x ; then
12552 eval "DEFAULT_$LINE"
12553 else
12554 no_cache=1
12555 fi
12556
12557 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12558
12559 fi
12560
12561
12562 eval "$ac_cv_use_official_build"
12563 if test "$no_cache" != 1; then
12564 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12565 fi
12566
12567 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12568 { echo "$as_me:$LINENO: result: yes" >&5
12569 echo "${ECHO_T}yes" >&6; }
12570 else
12571 { echo "$as_me:$LINENO: result: no" >&5
12572 echo "${ECHO_T}no" >&6; }
12573 fi
12574
12575 # Check whether --enable-vendor was given.
12576 if test "${enable_vendor+set}" = set; then
12577 enableval=$enable_vendor; VENDOR="$enableval"
12578 fi
12579
12580 if test "x$VENDOR" = "x"; then
12581 VENDOR="custom"
12582 fi
12583
12584
12585
12586
12587 echo "saving argument cache $wx_arg_cache_file"
12588 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12589
12590
12591
12592 { echo "$as_me:$LINENO: checking for toolkit" >&5
12593 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12594
12595 # In Wine, we need to default to MSW, not GTK or MOTIF
12596 if test "$wxUSE_WINE" = "yes"; then
12597 DEFAULT_DEFAULT_wxUSE_GTK=0
12598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12599 DEFAULT_DEFAULT_wxUSE_MSW=1
12600 wxUSE_SHARED=no
12601 CC=${CC:-winegcc}
12602 CXX=${CXX:-wineg++}
12603 fi
12604
12605
12606 if test "$wxUSE_GUI" = "yes"; then
12607
12608 if test "$USE_BEOS" = 1; then
12609 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12610 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12611 { (exit 1); exit 1; }; }
12612 fi
12613
12614 if test "$TOOLKIT_GIVEN" = 1; then
12615 for toolkit in `echo $ALL_TOOLKITS`; do
12616 var=wxUSE_$toolkit
12617 eval "value=\$${var}"
12618 if test "x$value" = "xno"; then
12619 eval "$var=0"
12620 elif test "x$value" != "x"; then
12621 eval "$var=1"
12622 fi
12623
12624 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12625 eval "wx${toolkit}_VERSION=$value"
12626 fi
12627 done
12628 else
12629 for toolkit in `echo $ALL_TOOLKITS`; do
12630 if test "$has_toolkit_in_cache" != 1; then
12631 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12632 else
12633 var=DEFAULT_wxUSE_$toolkit
12634
12635 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12636 if test "x$version" != "x"; then
12637 eval "wx${toolkit}_VERSION=$version"
12638 fi
12639 fi
12640 eval "wxUSE_$toolkit=\$${var}"
12641 done
12642 fi
12643
12644 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12645 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12646 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12647
12648 case "${host}" in
12649 *-pc-os2_emx | *-pc-os2-emx )
12650 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12651 esac
12652
12653 case "$NUM_TOOLKITS" in
12654 1)
12655 ;;
12656 0)
12657 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12658 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12659 { (exit 1); exit 1; }; }
12660 ;;
12661 *)
12662 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12663 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12664 { (exit 1); exit 1; }; }
12665 esac
12666
12667 # to be removed when --disable-gtk2 isn't needed
12668 if test "x$wxUSE_GTK2" = "xyes"; then
12669 wxGTK_VERSION=2
12670 elif test "x$wxUSE_GTK2" = "xno"; then
12671 wxGTK_VERSION=1
12672 fi
12673
12674 for toolkit in `echo $ALL_TOOLKITS`; do
12675 var=wxUSE_$toolkit
12676 eval "value=\$${var}"
12677 if test "x$value" != x; then
12678 cache_var=CACHE_$toolkit
12679 eval "cache=\$${cache_var}"
12680 if test "$cache" = 1; then
12681 echo "$var=$value" >> ${wx_arg_cache_file}
12682 eval "version=\$wx${toolkit}_VERSION"
12683 if test "x$version" != "x"; then
12684 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12685 fi
12686 fi
12687 if test "$value" = 1; then
12688 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12689 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12690 echo "${ECHO_T}$toolkit_echo" >&6; }
12691 fi
12692 fi
12693 done
12694 else
12695 if test "x$host_alias" != "x"; then
12696 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12697 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12698 else
12699 { echo "$as_me:$LINENO: result: base only" >&5
12700 echo "${ECHO_T}base only" >&6; }
12701 fi
12702 fi
12703
12704
12705 cat >confcache <<\_ACEOF
12706 # This file is a shell script that caches the results of configure
12707 # tests run on this system so they can be shared between configure
12708 # scripts and configure runs, see configure's option --config-cache.
12709 # It is not useful on other systems. If it contains results you don't
12710 # want to keep, you may remove or edit it.
12711 #
12712 # config.status only pays attention to the cache file if you give it
12713 # the --recheck option to rerun configure.
12714 #
12715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12717 # following values.
12718
12719 _ACEOF
12720
12721 # The following way of writing the cache mishandles newlines in values,
12722 # but we know of no workaround that is simple, portable, and efficient.
12723 # So, we kill variables containing newlines.
12724 # Ultrix sh set writes to stderr and can't be redirected directly,
12725 # and sets the high bit in the cache file unless we assign to the vars.
12726 (
12727 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12728 eval ac_val=\$$ac_var
12729 case $ac_val in #(
12730 *${as_nl}*)
12731 case $ac_var in #(
12732 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12733 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12734 esac
12735 case $ac_var in #(
12736 _ | IFS | as_nl) ;; #(
12737 *) $as_unset $ac_var ;;
12738 esac ;;
12739 esac
12740 done
12741
12742 (set) 2>&1 |
12743 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12744 *${as_nl}ac_space=\ *)
12745 # `set' does not quote correctly, so add quotes (double-quote
12746 # substitution turns \\\\ into \\, and sed turns \\ into \).
12747 sed -n \
12748 "s/'/'\\\\''/g;
12749 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12750 ;; #(
12751 *)
12752 # `set' quotes correctly as required by POSIX, so do not add quotes.
12753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12754 ;;
12755 esac |
12756 sort
12757 ) |
12758 sed '
12759 /^ac_cv_env_/b end
12760 t clear
12761 :clear
12762 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12763 t end
12764 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12765 :end' >>confcache
12766 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12767 if test -w "$cache_file"; then
12768 test "x$cache_file" != "x/dev/null" &&
12769 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12770 echo "$as_me: updating cache $cache_file" >&6;}
12771 cat confcache >$cache_file
12772 else
12773 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12774 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12775 fi
12776 fi
12777 rm -f confcache
12778
12779 CFLAGS=${CFLAGS:=}
12780
12781
12782
12783 ac_ext=c
12784 ac_cpp='$CPP $CPPFLAGS'
12785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12788 if test -n "$ac_tool_prefix"; then
12789 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12790 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12793 if test "${ac_cv_prog_CC+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 else
12796 if test -n "$CC"; then
12797 ac_cv_prog_CC="$CC" # Let the user override the test.
12798 else
12799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12800 for as_dir in $PATH
12801 do
12802 IFS=$as_save_IFS
12803 test -z "$as_dir" && as_dir=.
12804 for ac_exec_ext in '' $ac_executable_extensions; do
12805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12806 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12808 break 2
12809 fi
12810 done
12811 done
12812 IFS=$as_save_IFS
12813
12814 fi
12815 fi
12816 CC=$ac_cv_prog_CC
12817 if test -n "$CC"; then
12818 { echo "$as_me:$LINENO: result: $CC" >&5
12819 echo "${ECHO_T}$CC" >&6; }
12820 else
12821 { echo "$as_me:$LINENO: result: no" >&5
12822 echo "${ECHO_T}no" >&6; }
12823 fi
12824
12825
12826 fi
12827 if test -z "$ac_cv_prog_CC"; then
12828 ac_ct_CC=$CC
12829 # Extract the first word of "gcc", so it can be a program name with args.
12830 set dummy gcc; ac_word=$2
12831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12833 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12834 echo $ECHO_N "(cached) $ECHO_C" >&6
12835 else
12836 if test -n "$ac_ct_CC"; then
12837 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12838 else
12839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12840 for as_dir in $PATH
12841 do
12842 IFS=$as_save_IFS
12843 test -z "$as_dir" && as_dir=.
12844 for ac_exec_ext in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_prog_ac_ct_CC="gcc"
12847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12848 break 2
12849 fi
12850 done
12851 done
12852 IFS=$as_save_IFS
12853
12854 fi
12855 fi
12856 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12857 if test -n "$ac_ct_CC"; then
12858 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12859 echo "${ECHO_T}$ac_ct_CC" >&6; }
12860 else
12861 { echo "$as_me:$LINENO: result: no" >&5
12862 echo "${ECHO_T}no" >&6; }
12863 fi
12864
12865 if test "x$ac_ct_CC" = x; then
12866 CC=""
12867 else
12868 case $cross_compiling:$ac_tool_warned in
12869 yes:)
12870 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12871 whose name does not start with the host triplet. If you think this
12872 configuration is useful to you, please write to autoconf@gnu.org." >&5
12873 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12874 whose name does not start with the host triplet. If you think this
12875 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12876 ac_tool_warned=yes ;;
12877 esac
12878 CC=$ac_ct_CC
12879 fi
12880 else
12881 CC="$ac_cv_prog_CC"
12882 fi
12883
12884 if test -z "$CC"; then
12885 if test -n "$ac_tool_prefix"; then
12886 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12887 set dummy ${ac_tool_prefix}cc; ac_word=$2
12888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12890 if test "${ac_cv_prog_CC+set}" = set; then
12891 echo $ECHO_N "(cached) $ECHO_C" >&6
12892 else
12893 if test -n "$CC"; then
12894 ac_cv_prog_CC="$CC" # Let the user override the test.
12895 else
12896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12897 for as_dir in $PATH
12898 do
12899 IFS=$as_save_IFS
12900 test -z "$as_dir" && as_dir=.
12901 for ac_exec_ext in '' $ac_executable_extensions; do
12902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12903 ac_cv_prog_CC="${ac_tool_prefix}cc"
12904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12905 break 2
12906 fi
12907 done
12908 done
12909 IFS=$as_save_IFS
12910
12911 fi
12912 fi
12913 CC=$ac_cv_prog_CC
12914 if test -n "$CC"; then
12915 { echo "$as_me:$LINENO: result: $CC" >&5
12916 echo "${ECHO_T}$CC" >&6; }
12917 else
12918 { echo "$as_me:$LINENO: result: no" >&5
12919 echo "${ECHO_T}no" >&6; }
12920 fi
12921
12922
12923 fi
12924 fi
12925 if test -z "$CC"; then
12926 # Extract the first word of "cc", so it can be a program name with args.
12927 set dummy cc; 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 ac_prog_rejected=no
12937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12938 for as_dir in $PATH
12939 do
12940 IFS=$as_save_IFS
12941 test -z "$as_dir" && as_dir=.
12942 for ac_exec_ext in '' $ac_executable_extensions; do
12943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12944 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12945 ac_prog_rejected=yes
12946 continue
12947 fi
12948 ac_cv_prog_CC="cc"
12949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12950 break 2
12951 fi
12952 done
12953 done
12954 IFS=$as_save_IFS
12955
12956 if test $ac_prog_rejected = yes; then
12957 # We found a bogon in the path, so make sure we never use it.
12958 set dummy $ac_cv_prog_CC
12959 shift
12960 if test $# != 0; then
12961 # We chose a different compiler from the bogus one.
12962 # However, it has the same basename, so the bogon will be chosen
12963 # first if we set CC to just the basename; use the full file name.
12964 shift
12965 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12966 fi
12967 fi
12968 fi
12969 fi
12970 CC=$ac_cv_prog_CC
12971 if test -n "$CC"; then
12972 { echo "$as_me:$LINENO: result: $CC" >&5
12973 echo "${ECHO_T}$CC" >&6; }
12974 else
12975 { echo "$as_me:$LINENO: result: no" >&5
12976 echo "${ECHO_T}no" >&6; }
12977 fi
12978
12979
12980 fi
12981 if test -z "$CC"; then
12982 if test -n "$ac_tool_prefix"; then
12983 for ac_prog in cl.exe
12984 do
12985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12989 if test "${ac_cv_prog_CC+set}" = set; then
12990 echo $ECHO_N "(cached) $ECHO_C" >&6
12991 else
12992 if test -n "$CC"; then
12993 ac_cv_prog_CC="$CC" # Let the user override the test.
12994 else
12995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12996 for as_dir in $PATH
12997 do
12998 IFS=$as_save_IFS
12999 test -z "$as_dir" && as_dir=.
13000 for ac_exec_ext in '' $ac_executable_extensions; do
13001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13002 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13004 break 2
13005 fi
13006 done
13007 done
13008 IFS=$as_save_IFS
13009
13010 fi
13011 fi
13012 CC=$ac_cv_prog_CC
13013 if test -n "$CC"; then
13014 { echo "$as_me:$LINENO: result: $CC" >&5
13015 echo "${ECHO_T}$CC" >&6; }
13016 else
13017 { echo "$as_me:$LINENO: result: no" >&5
13018 echo "${ECHO_T}no" >&6; }
13019 fi
13020
13021
13022 test -n "$CC" && break
13023 done
13024 fi
13025 if test -z "$CC"; then
13026 ac_ct_CC=$CC
13027 for ac_prog in cl.exe
13028 do
13029 # Extract the first word of "$ac_prog", so it can be a program name with args.
13030 set dummy $ac_prog; ac_word=$2
13031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13034 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 else
13036 if test -n "$ac_ct_CC"; then
13037 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13038 else
13039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13040 for as_dir in $PATH
13041 do
13042 IFS=$as_save_IFS
13043 test -z "$as_dir" && as_dir=.
13044 for ac_exec_ext in '' $ac_executable_extensions; do
13045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13046 ac_cv_prog_ac_ct_CC="$ac_prog"
13047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13048 break 2
13049 fi
13050 done
13051 done
13052 IFS=$as_save_IFS
13053
13054 fi
13055 fi
13056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13057 if test -n "$ac_ct_CC"; then
13058 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13059 echo "${ECHO_T}$ac_ct_CC" >&6; }
13060 else
13061 { echo "$as_me:$LINENO: result: no" >&5
13062 echo "${ECHO_T}no" >&6; }
13063 fi
13064
13065
13066 test -n "$ac_ct_CC" && break
13067 done
13068
13069 if test "x$ac_ct_CC" = x; then
13070 CC=""
13071 else
13072 case $cross_compiling:$ac_tool_warned in
13073 yes:)
13074 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13075 whose name does not start with the host triplet. If you think this
13076 configuration is useful to you, please write to autoconf@gnu.org." >&5
13077 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13078 whose name does not start with the host triplet. If you think this
13079 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13080 ac_tool_warned=yes ;;
13081 esac
13082 CC=$ac_ct_CC
13083 fi
13084 fi
13085
13086 fi
13087
13088
13089 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13090 See \`config.log' for more details." >&5
13091 echo "$as_me: error: no acceptable C compiler found in \$PATH
13092 See \`config.log' for more details." >&2;}
13093 { (exit 1); exit 1; }; }
13094
13095 # Provide some information about the compiler.
13096 echo "$as_me:$LINENO: checking for C compiler version" >&5
13097 ac_compiler=`set X $ac_compile; echo $2`
13098 { (ac_try="$ac_compiler --version >&5"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13102 esac
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_compiler --version >&5") 2>&5
13105 ac_status=$?
13106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13107 (exit $ac_status); }
13108 { (ac_try="$ac_compiler -v >&5"
13109 case "(($ac_try" in
13110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13111 *) ac_try_echo=$ac_try;;
13112 esac
13113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 (eval "$ac_compiler -v >&5") 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }
13118 { (ac_try="$ac_compiler -V >&5"
13119 case "(($ac_try" in
13120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13121 *) ac_try_echo=$ac_try;;
13122 esac
13123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13124 (eval "$ac_compiler -V >&5") 2>&5
13125 ac_status=$?
13126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 (exit $ac_status); }
13128
13129 cat >conftest.$ac_ext <<_ACEOF
13130 /* confdefs.h. */
13131 _ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135
13136 int
13137 main ()
13138 {
13139
13140 ;
13141 return 0;
13142 }
13143 _ACEOF
13144 ac_clean_files_save=$ac_clean_files
13145 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13146 # Try to create an executable without -o first, disregard a.out.
13147 # It will help us diagnose broken compilers, and finding out an intuition
13148 # of exeext.
13149 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13150 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13151 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13152 #
13153 # List of possible output files, starting from the most likely.
13154 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13155 # only as a last resort. b.out is created by i960 compilers.
13156 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13157 #
13158 # The IRIX 6 linker writes into existing files which may not be
13159 # executable, retaining their permissions. Remove them first so a
13160 # subsequent execution test works.
13161 ac_rmfiles=
13162 for ac_file in $ac_files
13163 do
13164 case $ac_file in
13165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13166 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13167 esac
13168 done
13169 rm -f $ac_rmfiles
13170
13171 if { (ac_try="$ac_link_default"
13172 case "(($ac_try" in
13173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13174 *) ac_try_echo=$ac_try;;
13175 esac
13176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13177 (eval "$ac_link_default") 2>&5
13178 ac_status=$?
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; then
13181 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13182 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13183 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13184 # so that the user can short-circuit this test for compilers unknown to
13185 # Autoconf.
13186 for ac_file in $ac_files ''
13187 do
13188 test -f "$ac_file" || continue
13189 case $ac_file in
13190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13191 ;;
13192 [ab].out )
13193 # We found the default executable, but exeext='' is most
13194 # certainly right.
13195 break;;
13196 *.* )
13197 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13198 then :; else
13199 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13200 fi
13201 # We set ac_cv_exeext here because the later test for it is not
13202 # safe: cross compilers may not add the suffix if given an `-o'
13203 # argument, so we may need to know it at that point already.
13204 # Even if this section looks crufty: it has the advantage of
13205 # actually working.
13206 break;;
13207 * )
13208 break;;
13209 esac
13210 done
13211 test "$ac_cv_exeext" = no && ac_cv_exeext=
13212
13213 else
13214 ac_file=''
13215 fi
13216
13217 { echo "$as_me:$LINENO: result: $ac_file" >&5
13218 echo "${ECHO_T}$ac_file" >&6; }
13219 if test -z "$ac_file"; then
13220 echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13222
13223 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13224 See \`config.log' for more details." >&5
13225 echo "$as_me: error: C compiler cannot create executables
13226 See \`config.log' for more details." >&2;}
13227 { (exit 77); exit 77; }; }
13228 fi
13229
13230 ac_exeext=$ac_cv_exeext
13231
13232 # Check that the compiler produces executables we can run. If not, either
13233 # the compiler is broken, or we cross compile.
13234 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13235 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13236 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13237 # If not cross compiling, check that we can run a simple program.
13238 if test "$cross_compiling" != yes; then
13239 if { ac_try='./$ac_file'
13240 { (case "(($ac_try" in
13241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13242 *) ac_try_echo=$ac_try;;
13243 esac
13244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13245 (eval "$ac_try") 2>&5
13246 ac_status=$?
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 cross_compiling=no
13250 else
13251 if test "$cross_compiling" = maybe; then
13252 cross_compiling=yes
13253 else
13254 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13255 If you meant to cross compile, use \`--host'.
13256 See \`config.log' for more details." >&5
13257 echo "$as_me: error: cannot run C compiled programs.
13258 If you meant to cross compile, use \`--host'.
13259 See \`config.log' for more details." >&2;}
13260 { (exit 1); exit 1; }; }
13261 fi
13262 fi
13263 fi
13264 { echo "$as_me:$LINENO: result: yes" >&5
13265 echo "${ECHO_T}yes" >&6; }
13266
13267 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13268 ac_clean_files=$ac_clean_files_save
13269 # Check that the compiler produces executables we can run. If not, either
13270 # the compiler is broken, or we cross compile.
13271 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13272 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13273 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13274 echo "${ECHO_T}$cross_compiling" >&6; }
13275
13276 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13277 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13278 if { (ac_try="$ac_link"
13279 case "(($ac_try" in
13280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13281 *) ac_try_echo=$ac_try;;
13282 esac
13283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13284 (eval "$ac_link") 2>&5
13285 ac_status=$?
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); }; then
13288 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13289 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13290 # work properly (i.e., refer to `conftest.exe'), while it won't with
13291 # `rm'.
13292 for ac_file in conftest.exe conftest conftest.*; do
13293 test -f "$ac_file" || continue
13294 case $ac_file in
13295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13296 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13297 break;;
13298 * ) break;;
13299 esac
13300 done
13301 else
13302 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13303 See \`config.log' for more details." >&5
13304 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13305 See \`config.log' for more details." >&2;}
13306 { (exit 1); exit 1; }; }
13307 fi
13308
13309 rm -f conftest$ac_cv_exeext
13310 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13311 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13312
13313 rm -f conftest.$ac_ext
13314 EXEEXT=$ac_cv_exeext
13315 ac_exeext=$EXEEXT
13316 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13317 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13318 if test "${ac_cv_objext+set}" = set; then
13319 echo $ECHO_N "(cached) $ECHO_C" >&6
13320 else
13321 cat >conftest.$ac_ext <<_ACEOF
13322 /* confdefs.h. */
13323 _ACEOF
13324 cat confdefs.h >>conftest.$ac_ext
13325 cat >>conftest.$ac_ext <<_ACEOF
13326 /* end confdefs.h. */
13327
13328 int
13329 main ()
13330 {
13331
13332 ;
13333 return 0;
13334 }
13335 _ACEOF
13336 rm -f conftest.o conftest.obj
13337 if { (ac_try="$ac_compile"
13338 case "(($ac_try" in
13339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13340 *) ac_try_echo=$ac_try;;
13341 esac
13342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13343 (eval "$ac_compile") 2>&5
13344 ac_status=$?
13345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13346 (exit $ac_status); }; then
13347 for ac_file in conftest.o conftest.obj conftest.*; do
13348 test -f "$ac_file" || continue;
13349 case $ac_file in
13350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13351 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13352 break;;
13353 esac
13354 done
13355 else
13356 echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13358
13359 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13360 See \`config.log' for more details." >&5
13361 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13362 See \`config.log' for more details." >&2;}
13363 { (exit 1); exit 1; }; }
13364 fi
13365
13366 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13367 fi
13368 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13369 echo "${ECHO_T}$ac_cv_objext" >&6; }
13370 OBJEXT=$ac_cv_objext
13371 ac_objext=$OBJEXT
13372 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13373 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13374 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13375 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 else
13377 cat >conftest.$ac_ext <<_ACEOF
13378 /* confdefs.h. */
13379 _ACEOF
13380 cat confdefs.h >>conftest.$ac_ext
13381 cat >>conftest.$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13383
13384 int
13385 main ()
13386 {
13387 #ifndef __GNUC__
13388 choke me
13389 #endif
13390
13391 ;
13392 return 0;
13393 }
13394 _ACEOF
13395 rm -f conftest.$ac_objext
13396 if { (ac_try="$ac_compile"
13397 case "(($ac_try" in
13398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13399 *) ac_try_echo=$ac_try;;
13400 esac
13401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13402 (eval "$ac_compile") 2>conftest.er1
13403 ac_status=$?
13404 grep -v '^ *+' conftest.er1 >conftest.err
13405 rm -f conftest.er1
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest.$ac_objext; then
13412 ac_compiler_gnu=yes
13413 else
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13416
13417 ac_compiler_gnu=no
13418 fi
13419
13420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13421 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13422
13423 fi
13424 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13425 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13426 GCC=`test $ac_compiler_gnu = yes && echo yes`
13427 ac_test_CFLAGS=${CFLAGS+set}
13428 ac_save_CFLAGS=$CFLAGS
13429 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13430 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13431 if test "${ac_cv_prog_cc_g+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13434 ac_save_c_werror_flag=$ac_c_werror_flag
13435 ac_c_werror_flag=yes
13436 ac_cv_prog_cc_g=no
13437 CFLAGS="-g"
13438 cat >conftest.$ac_ext <<_ACEOF
13439 /* confdefs.h. */
13440 _ACEOF
13441 cat confdefs.h >>conftest.$ac_ext
13442 cat >>conftest.$ac_ext <<_ACEOF
13443 /* end confdefs.h. */
13444
13445 int
13446 main ()
13447 {
13448
13449 ;
13450 return 0;
13451 }
13452 _ACEOF
13453 rm -f conftest.$ac_objext
13454 if { (ac_try="$ac_compile"
13455 case "(($ac_try" in
13456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13457 *) ac_try_echo=$ac_try;;
13458 esac
13459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13460 (eval "$ac_compile") 2>conftest.er1
13461 ac_status=$?
13462 grep -v '^ *+' conftest.er1 >conftest.err
13463 rm -f conftest.er1
13464 cat conftest.err >&5
13465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466 (exit $ac_status); } && {
13467 test -z "$ac_c_werror_flag" ||
13468 test ! -s conftest.err
13469 } && test -s conftest.$ac_objext; then
13470 ac_cv_prog_cc_g=yes
13471 else
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13474
13475 CFLAGS=""
13476 cat >conftest.$ac_ext <<_ACEOF
13477 /* confdefs.h. */
13478 _ACEOF
13479 cat confdefs.h >>conftest.$ac_ext
13480 cat >>conftest.$ac_ext <<_ACEOF
13481 /* end confdefs.h. */
13482
13483 int
13484 main ()
13485 {
13486
13487 ;
13488 return 0;
13489 }
13490 _ACEOF
13491 rm -f conftest.$ac_objext
13492 if { (ac_try="$ac_compile"
13493 case "(($ac_try" in
13494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13495 *) ac_try_echo=$ac_try;;
13496 esac
13497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13498 (eval "$ac_compile") 2>conftest.er1
13499 ac_status=$?
13500 grep -v '^ *+' conftest.er1 >conftest.err
13501 rm -f conftest.er1
13502 cat conftest.err >&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } && {
13505 test -z "$ac_c_werror_flag" ||
13506 test ! -s conftest.err
13507 } && test -s conftest.$ac_objext; then
13508 :
13509 else
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.$ac_ext >&5
13512
13513 ac_c_werror_flag=$ac_save_c_werror_flag
13514 CFLAGS="-g"
13515 cat >conftest.$ac_ext <<_ACEOF
13516 /* confdefs.h. */
13517 _ACEOF
13518 cat confdefs.h >>conftest.$ac_ext
13519 cat >>conftest.$ac_ext <<_ACEOF
13520 /* end confdefs.h. */
13521
13522 int
13523 main ()
13524 {
13525
13526 ;
13527 return 0;
13528 }
13529 _ACEOF
13530 rm -f conftest.$ac_objext
13531 if { (ac_try="$ac_compile"
13532 case "(($ac_try" in
13533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13534 *) ac_try_echo=$ac_try;;
13535 esac
13536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13537 (eval "$ac_compile") 2>conftest.er1
13538 ac_status=$?
13539 grep -v '^ *+' conftest.er1 >conftest.err
13540 rm -f conftest.er1
13541 cat conftest.err >&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); } && {
13544 test -z "$ac_c_werror_flag" ||
13545 test ! -s conftest.err
13546 } && test -s conftest.$ac_objext; then
13547 ac_cv_prog_cc_g=yes
13548 else
13549 echo "$as_me: failed program was:" >&5
13550 sed 's/^/| /' conftest.$ac_ext >&5
13551
13552
13553 fi
13554
13555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13556 fi
13557
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13559 fi
13560
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562 ac_c_werror_flag=$ac_save_c_werror_flag
13563 fi
13564 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13565 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13566 if test "$ac_test_CFLAGS" = set; then
13567 CFLAGS=$ac_save_CFLAGS
13568 elif test $ac_cv_prog_cc_g = yes; then
13569 if test "$GCC" = yes; then
13570 CFLAGS="-g -O2"
13571 else
13572 CFLAGS="-g"
13573 fi
13574 else
13575 if test "$GCC" = yes; then
13576 CFLAGS="-O2"
13577 else
13578 CFLAGS=
13579 fi
13580 fi
13581 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13582 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13583 if test "${ac_cv_prog_cc_c89+set}" = set; then
13584 echo $ECHO_N "(cached) $ECHO_C" >&6
13585 else
13586 ac_cv_prog_cc_c89=no
13587 ac_save_CC=$CC
13588 cat >conftest.$ac_ext <<_ACEOF
13589 /* confdefs.h. */
13590 _ACEOF
13591 cat confdefs.h >>conftest.$ac_ext
13592 cat >>conftest.$ac_ext <<_ACEOF
13593 /* end confdefs.h. */
13594 #include <stdarg.h>
13595 #include <stdio.h>
13596 #include <sys/types.h>
13597 #include <sys/stat.h>
13598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13599 struct buf { int x; };
13600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13601 static char *e (p, i)
13602 char **p;
13603 int i;
13604 {
13605 return p[i];
13606 }
13607 static char *f (char * (*g) (char **, int), char **p, ...)
13608 {
13609 char *s;
13610 va_list v;
13611 va_start (v,p);
13612 s = g (p, va_arg (v,int));
13613 va_end (v);
13614 return s;
13615 }
13616
13617 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13618 function prototypes and stuff, but not '\xHH' hex character constants.
13619 These don't provoke an error unfortunately, instead are silently treated
13620 as 'x'. The following induces an error, until -std is added to get
13621 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13622 array size at least. It's necessary to write '\x00'==0 to get something
13623 that's true only with -std. */
13624 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13625
13626 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13627 inside strings and character constants. */
13628 #define FOO(x) 'x'
13629 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13630
13631 int test (int i, double x);
13632 struct s1 {int (*f) (int a);};
13633 struct s2 {int (*f) (double a);};
13634 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13635 int argc;
13636 char **argv;
13637 int
13638 main ()
13639 {
13640 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13641 ;
13642 return 0;
13643 }
13644 _ACEOF
13645 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13646 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13647 do
13648 CC="$ac_save_CC $ac_arg"
13649 rm -f conftest.$ac_objext
13650 if { (ac_try="$ac_compile"
13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13654 esac
13655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_compile") 2>conftest.er1
13657 ac_status=$?
13658 grep -v '^ *+' conftest.er1 >conftest.err
13659 rm -f conftest.er1
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } && {
13663 test -z "$ac_c_werror_flag" ||
13664 test ! -s conftest.err
13665 } && test -s conftest.$ac_objext; then
13666 ac_cv_prog_cc_c89=$ac_arg
13667 else
13668 echo "$as_me: failed program was:" >&5
13669 sed 's/^/| /' conftest.$ac_ext >&5
13670
13671
13672 fi
13673
13674 rm -f core conftest.err conftest.$ac_objext
13675 test "x$ac_cv_prog_cc_c89" != "xno" && break
13676 done
13677 rm -f conftest.$ac_ext
13678 CC=$ac_save_CC
13679
13680 fi
13681 # AC_CACHE_VAL
13682 case "x$ac_cv_prog_cc_c89" in
13683 x)
13684 { echo "$as_me:$LINENO: result: none needed" >&5
13685 echo "${ECHO_T}none needed" >&6; } ;;
13686 xno)
13687 { echo "$as_me:$LINENO: result: unsupported" >&5
13688 echo "${ECHO_T}unsupported" >&6; } ;;
13689 *)
13690 CC="$CC $ac_cv_prog_cc_c89"
13691 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13692 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13693 esac
13694
13695
13696 ac_ext=c
13697 ac_cpp='$CPP $CPPFLAGS'
13698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13701
13702
13703
13704 ac_ext=c
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13709
13710 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13711 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13712 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13713 echo $ECHO_N "(cached) $ECHO_C" >&6
13714 else
13715 cat >conftest.$ac_ext <<_ACEOF
13716 /* confdefs.h. */
13717 _ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13721
13722 int
13723 main ()
13724 {
13725
13726 #ifndef __INTEL_COMPILER
13727 choke me
13728 #endif
13729
13730 ;
13731 return 0;
13732 }
13733 _ACEOF
13734 rm -f conftest.$ac_objext
13735 if { (ac_try="$ac_compile"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13739 esac
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_compile") 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest.$ac_objext; then
13751 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13752 else
13753 echo "$as_me: failed program was:" >&5
13754 sed 's/^/| /' conftest.$ac_ext >&5
13755
13756 bakefile_cv_c_compiler___INTEL_COMPILER=no
13757
13758 fi
13759
13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761
13762
13763 fi
13764 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13765 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13766 ac_ext=c
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13771
13772 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13773 :; INTELCC=yes
13774 else
13775 :;
13776 fi
13777
13778
13779 if test "x$GCC" != "xyes"; then
13780 if test "xCC" = "xC"; then
13781 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13782 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13783 if test "${bakefile_cv_c_exto+set}" = set; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 cat >conftest.$ac_ext <<_ACEOF
13787 /* confdefs.h. */
13788 _ACEOF
13789 cat confdefs.h >>conftest.$ac_ext
13790 cat >>conftest.$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792
13793 int
13794 main ()
13795 {
13796
13797 ;
13798 return 0;
13799 }
13800 _ACEOF
13801 rm -f conftest.$ac_objext conftest.$ac_ext.o
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 2>&5
13804 ac_status=$?
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); }; then
13807 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13808 case $ac_file in
13809 conftest.$ac_ext.o)
13810 bakefile_cv_c_exto="-ext o"
13811 ;;
13812 *)
13813 ;;
13814 esac
13815 done
13816 else
13817 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13818 See \`config.log' for more details." >&5
13819 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13820 See \`config.log' for more details." >&2;}
13821 { (exit 1); exit 1; }; }
13822
13823 fi
13824
13825 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13826
13827 fi
13828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13829 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13830 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13831 if test "c" = "c"; then
13832 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13833 fi
13834 if test "c" = "cxx"; then
13835 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13836 fi
13837 fi
13838
13839 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13840 unset ac_cv_prog_cc_g
13841 ac_test_CFLAGS=${CFLAGS+set}
13842 ac_save_CFLAGS=$CFLAGS
13843 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13844 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13845 if test "${ac_cv_prog_cc_g+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848 ac_save_c_werror_flag=$ac_c_werror_flag
13849 ac_c_werror_flag=yes
13850 ac_cv_prog_cc_g=no
13851 CFLAGS="-g"
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 ;
13864 return 0;
13865 }
13866 _ACEOF
13867 rm -f conftest.$ac_objext
13868 if { (ac_try="$ac_compile"
13869 case "(($ac_try" in
13870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13871 *) ac_try_echo=$ac_try;;
13872 esac
13873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13874 (eval "$ac_compile") 2>conftest.er1
13875 ac_status=$?
13876 grep -v '^ *+' conftest.er1 >conftest.err
13877 rm -f conftest.er1
13878 cat conftest.err >&5
13879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 (exit $ac_status); } && {
13881 test -z "$ac_c_werror_flag" ||
13882 test ! -s conftest.err
13883 } && test -s conftest.$ac_objext; then
13884 ac_cv_prog_cc_g=yes
13885 else
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13888
13889 CFLAGS=""
13890 cat >conftest.$ac_ext <<_ACEOF
13891 /* confdefs.h. */
13892 _ACEOF
13893 cat confdefs.h >>conftest.$ac_ext
13894 cat >>conftest.$ac_ext <<_ACEOF
13895 /* end confdefs.h. */
13896
13897 int
13898 main ()
13899 {
13900
13901 ;
13902 return 0;
13903 }
13904 _ACEOF
13905 rm -f conftest.$ac_objext
13906 if { (ac_try="$ac_compile"
13907 case "(($ac_try" in
13908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13909 *) ac_try_echo=$ac_try;;
13910 esac
13911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13912 (eval "$ac_compile") 2>conftest.er1
13913 ac_status=$?
13914 grep -v '^ *+' conftest.er1 >conftest.err
13915 rm -f conftest.er1
13916 cat conftest.err >&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); } && {
13919 test -z "$ac_c_werror_flag" ||
13920 test ! -s conftest.err
13921 } && test -s conftest.$ac_objext; then
13922 :
13923 else
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.$ac_ext >&5
13926
13927 ac_c_werror_flag=$ac_save_c_werror_flag
13928 CFLAGS="-g"
13929 cat >conftest.$ac_ext <<_ACEOF
13930 /* confdefs.h. */
13931 _ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935
13936 int
13937 main ()
13938 {
13939
13940 ;
13941 return 0;
13942 }
13943 _ACEOF
13944 rm -f conftest.$ac_objext
13945 if { (ac_try="$ac_compile"
13946 case "(($ac_try" in
13947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13948 *) ac_try_echo=$ac_try;;
13949 esac
13950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951 (eval "$ac_compile") 2>conftest.er1
13952 ac_status=$?
13953 grep -v '^ *+' conftest.er1 >conftest.err
13954 rm -f conftest.er1
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); } && {
13958 test -z "$ac_c_werror_flag" ||
13959 test ! -s conftest.err
13960 } && test -s conftest.$ac_objext; then
13961 ac_cv_prog_cc_g=yes
13962 else
13963 echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.$ac_ext >&5
13965
13966
13967 fi
13968
13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13970 fi
13971
13972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13973 fi
13974
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 ac_c_werror_flag=$ac_save_c_werror_flag
13977 fi
13978 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13979 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13980 if test "$ac_test_CFLAGS" = set; then
13981 CFLAGS=$ac_save_CFLAGS
13982 elif test $ac_cv_prog_cc_g = yes; then
13983 if test "$GCC" = yes; then
13984 CFLAGS="-g -O2"
13985 else
13986 CFLAGS="-g"
13987 fi
13988 else
13989 if test "$GCC" = yes; then
13990 CFLAGS="-O2"
13991 else
13992 CFLAGS=
13993 fi
13994 fi
13995 fi
13996 fi
13997
13998 case `uname -s` in
13999 AIX*)
14000 ac_ext=c
14001 ac_cpp='$CPP $CPPFLAGS'
14002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14005
14006 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14007 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14008 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 else
14011 cat >conftest.$ac_ext <<_ACEOF
14012 /* confdefs.h. */
14013 _ACEOF
14014 cat confdefs.h >>conftest.$ac_ext
14015 cat >>conftest.$ac_ext <<_ACEOF
14016 /* end confdefs.h. */
14017
14018 int
14019 main ()
14020 {
14021 #ifndef __xlC__
14022 choke me
14023 #endif
14024
14025 ;
14026 return 0;
14027 }
14028 _ACEOF
14029 rm -f conftest.$ac_objext
14030 if { (ac_try="$ac_compile"
14031 case "(($ac_try" in
14032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 *) ac_try_echo=$ac_try;;
14034 esac
14035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 (eval "$ac_compile") 2>conftest.er1
14037 ac_status=$?
14038 grep -v '^ *+' conftest.er1 >conftest.err
14039 rm -f conftest.er1
14040 cat conftest.err >&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); } && {
14043 test -z "$ac_c_werror_flag" ||
14044 test ! -s conftest.err
14045 } && test -s conftest.$ac_objext; then
14046 bakefile_compiler_xlc=yes
14047 else
14048 echo "$as_me: failed program was:" >&5
14049 sed 's/^/| /' conftest.$ac_ext >&5
14050
14051 bakefile_compiler_xlc=no
14052 fi
14053
14054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14055 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14056
14057 fi
14058 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14059 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14060
14061 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14062 ac_ext=c
14063 ac_cpp='$CPP $CPPFLAGS'
14064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14067
14068
14069 ;;
14070
14071 Darwin)
14072 ac_ext=c
14073 ac_cpp='$CPP $CPPFLAGS'
14074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14077
14078 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14079 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14080 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14081 echo $ECHO_N "(cached) $ECHO_C" >&6
14082 else
14083 cat >conftest.$ac_ext <<_ACEOF
14084 /* confdefs.h. */
14085 _ACEOF
14086 cat confdefs.h >>conftest.$ac_ext
14087 cat >>conftest.$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089
14090 int
14091 main ()
14092 {
14093 #ifndef __MWERKS__
14094 choke me
14095 #endif
14096
14097 ;
14098 return 0;
14099 }
14100 _ACEOF
14101 rm -f conftest.$ac_objext
14102 if { (ac_try="$ac_compile"
14103 case "(($ac_try" in
14104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14105 *) ac_try_echo=$ac_try;;
14106 esac
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_compile") 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } && {
14115 test -z "$ac_c_werror_flag" ||
14116 test ! -s conftest.err
14117 } && test -s conftest.$ac_objext; then
14118 bakefile_compiler_mwerks=yes
14119 else
14120 echo "$as_me: failed program was:" >&5
14121 sed 's/^/| /' conftest.$ac_ext >&5
14122
14123 bakefile_compiler_mwerks=no
14124 fi
14125
14126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14127 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14128
14129 fi
14130 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14131 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14132
14133 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14134 ac_ext=c
14135 ac_cpp='$CPP $CPPFLAGS'
14136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14139
14140
14141 ac_ext=c
14142 ac_cpp='$CPP $CPPFLAGS'
14143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14146
14147 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14148 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14149 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14150 echo $ECHO_N "(cached) $ECHO_C" >&6
14151 else
14152 cat >conftest.$ac_ext <<_ACEOF
14153 /* confdefs.h. */
14154 _ACEOF
14155 cat confdefs.h >>conftest.$ac_ext
14156 cat >>conftest.$ac_ext <<_ACEOF
14157 /* end confdefs.h. */
14158
14159 int
14160 main ()
14161 {
14162 #ifndef __xlC__
14163 choke me
14164 #endif
14165
14166 ;
14167 return 0;
14168 }
14169 _ACEOF
14170 rm -f conftest.$ac_objext
14171 if { (ac_try="$ac_compile"
14172 case "(($ac_try" in
14173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14174 *) ac_try_echo=$ac_try;;
14175 esac
14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14177 (eval "$ac_compile") 2>conftest.er1
14178 ac_status=$?
14179 grep -v '^ *+' conftest.er1 >conftest.err
14180 rm -f conftest.er1
14181 cat conftest.err >&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } && {
14184 test -z "$ac_c_werror_flag" ||
14185 test ! -s conftest.err
14186 } && test -s conftest.$ac_objext; then
14187 bakefile_compiler_xlc=yes
14188 else
14189 echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.$ac_ext >&5
14191
14192 bakefile_compiler_xlc=no
14193 fi
14194
14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14196 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14197
14198 fi
14199 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14200 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14201
14202 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14203 ac_ext=c
14204 ac_cpp='$CPP $CPPFLAGS'
14205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14208
14209
14210 ;;
14211
14212 IRIX*)
14213
14214
14215 ac_ext=c
14216 ac_cpp='$CPP $CPPFLAGS'
14217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14220
14221 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14222 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14223 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14224 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 else
14226 cat >conftest.$ac_ext <<_ACEOF
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232
14233 int
14234 main ()
14235 {
14236
14237 #ifndef _SGI_COMPILER_VERSION
14238 choke me
14239 #endif
14240
14241 ;
14242 return 0;
14243 }
14244 _ACEOF
14245 rm -f conftest.$ac_objext
14246 if { (ac_try="$ac_compile"
14247 case "(($ac_try" in
14248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14249 *) ac_try_echo=$ac_try;;
14250 esac
14251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14252 (eval "$ac_compile") 2>conftest.er1
14253 ac_status=$?
14254 grep -v '^ *+' conftest.er1 >conftest.err
14255 rm -f conftest.er1
14256 cat conftest.err >&5
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); } && {
14259 test -z "$ac_c_werror_flag" ||
14260 test ! -s conftest.err
14261 } && test -s conftest.$ac_objext; then
14262 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14263 else
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14266
14267 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14268
14269 fi
14270
14271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14272
14273
14274 fi
14275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14276 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14277 ac_ext=c
14278 ac_cpp='$CPP $CPPFLAGS'
14279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14282
14283 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14284 :; SGICC=yes
14285 else
14286 :;
14287 fi
14288
14289
14290 ;;
14291
14292 HP-UX*)
14293
14294
14295 ac_ext=c
14296 ac_cpp='$CPP $CPPFLAGS'
14297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14300
14301 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14302 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14303 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14305 else
14306 cat >conftest.$ac_ext <<_ACEOF
14307 /* confdefs.h. */
14308 _ACEOF
14309 cat confdefs.h >>conftest.$ac_ext
14310 cat >>conftest.$ac_ext <<_ACEOF
14311 /* end confdefs.h. */
14312
14313 int
14314 main ()
14315 {
14316
14317 #ifndef __HP_cc
14318 choke me
14319 #endif
14320
14321 ;
14322 return 0;
14323 }
14324 _ACEOF
14325 rm -f conftest.$ac_objext
14326 if { (ac_try="$ac_compile"
14327 case "(($ac_try" in
14328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329 *) ac_try_echo=$ac_try;;
14330 esac
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_compile") 2>conftest.er1
14333 ac_status=$?
14334 grep -v '^ *+' conftest.er1 >conftest.err
14335 rm -f conftest.er1
14336 cat conftest.err >&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } && {
14339 test -z "$ac_c_werror_flag" ||
14340 test ! -s conftest.err
14341 } && test -s conftest.$ac_objext; then
14342 bakefile_cv_c_compiler___HP_cc=yes
14343 else
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.$ac_ext >&5
14346
14347 bakefile_cv_c_compiler___HP_cc=no
14348
14349 fi
14350
14351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14352
14353
14354 fi
14355 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14356 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14357 ac_ext=c
14358 ac_cpp='$CPP $CPPFLAGS'
14359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14362
14363 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14364 :; HPCC=yes
14365 else
14366 :;
14367 fi
14368
14369
14370 ;;
14371
14372 OSF1)
14373
14374
14375 ac_ext=c
14376 ac_cpp='$CPP $CPPFLAGS'
14377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14380
14381 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14382 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14383 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14385 else
14386 cat >conftest.$ac_ext <<_ACEOF
14387 /* confdefs.h. */
14388 _ACEOF
14389 cat confdefs.h >>conftest.$ac_ext
14390 cat >>conftest.$ac_ext <<_ACEOF
14391 /* end confdefs.h. */
14392
14393 int
14394 main ()
14395 {
14396
14397 #ifndef __DECC
14398 choke me
14399 #endif
14400
14401 ;
14402 return 0;
14403 }
14404 _ACEOF
14405 rm -f conftest.$ac_objext
14406 if { (ac_try="$ac_compile"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14410 esac
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_compile") 2>conftest.er1
14413 ac_status=$?
14414 grep -v '^ *+' conftest.er1 >conftest.err
14415 rm -f conftest.er1
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } && {
14419 test -z "$ac_c_werror_flag" ||
14420 test ! -s conftest.err
14421 } && test -s conftest.$ac_objext; then
14422 bakefile_cv_c_compiler___DECC=yes
14423 else
14424 echo "$as_me: failed program was:" >&5
14425 sed 's/^/| /' conftest.$ac_ext >&5
14426
14427 bakefile_cv_c_compiler___DECC=no
14428
14429 fi
14430
14431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14432
14433
14434 fi
14435 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14436 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14437 ac_ext=c
14438 ac_cpp='$CPP $CPPFLAGS'
14439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14442
14443 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14444 :; COMPAQCC=yes
14445 else
14446 :;
14447 fi
14448
14449
14450 ;;
14451
14452 SunOS)
14453
14454
14455 ac_ext=c
14456 ac_cpp='$CPP $CPPFLAGS'
14457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14460
14461 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14462 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14463 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14464 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 else
14466 cat >conftest.$ac_ext <<_ACEOF
14467 /* confdefs.h. */
14468 _ACEOF
14469 cat confdefs.h >>conftest.$ac_ext
14470 cat >>conftest.$ac_ext <<_ACEOF
14471 /* end confdefs.h. */
14472
14473 int
14474 main ()
14475 {
14476
14477 #ifndef __SUNPRO_C
14478 choke me
14479 #endif
14480
14481 ;
14482 return 0;
14483 }
14484 _ACEOF
14485 rm -f conftest.$ac_objext
14486 if { (ac_try="$ac_compile"
14487 case "(($ac_try" in
14488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14489 *) ac_try_echo=$ac_try;;
14490 esac
14491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14492 (eval "$ac_compile") 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } && {
14499 test -z "$ac_c_werror_flag" ||
14500 test ! -s conftest.err
14501 } && test -s conftest.$ac_objext; then
14502 bakefile_cv_c_compiler___SUNPRO_C=yes
14503 else
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.$ac_ext >&5
14506
14507 bakefile_cv_c_compiler___SUNPRO_C=no
14508
14509 fi
14510
14511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14512
14513
14514 fi
14515 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14516 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14517 ac_ext=c
14518 ac_cpp='$CPP $CPPFLAGS'
14519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14522
14523 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14524 :; SUNCC=yes
14525 else
14526 :;
14527 fi
14528
14529
14530 ;;
14531 esac
14532 fi
14533
14534
14535
14536 ac_ext=c
14537 ac_cpp='$CPP $CPPFLAGS'
14538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14541 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14542 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14543 # On Suns, sometimes $CPP names a directory.
14544 if test -n "$CPP" && test -d "$CPP"; then
14545 CPP=
14546 fi
14547 if test -z "$CPP"; then
14548 if test "${ac_cv_prog_CPP+set}" = set; then
14549 echo $ECHO_N "(cached) $ECHO_C" >&6
14550 else
14551 # Double quotes because CPP needs to be expanded
14552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14553 do
14554 ac_preproc_ok=false
14555 for ac_c_preproc_warn_flag in '' yes
14556 do
14557 # Use a header file that comes with gcc, so configuring glibc
14558 # with a fresh cross-compiler works.
14559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14560 # <limits.h> exists even on freestanding compilers.
14561 # On the NeXT, cc -E runs the code through the compiler's parser,
14562 # not just through cpp. "Syntax error" is here to catch this case.
14563 cat >conftest.$ac_ext <<_ACEOF
14564 /* confdefs.h. */
14565 _ACEOF
14566 cat confdefs.h >>conftest.$ac_ext
14567 cat >>conftest.$ac_ext <<_ACEOF
14568 /* end confdefs.h. */
14569 #ifdef __STDC__
14570 # include <limits.h>
14571 #else
14572 # include <assert.h>
14573 #endif
14574 Syntax error
14575 _ACEOF
14576 if { (ac_try="$ac_cpp conftest.$ac_ext"
14577 case "(($ac_try" in
14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;;
14580 esac
14581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14583 ac_status=$?
14584 grep -v '^ *+' conftest.er1 >conftest.err
14585 rm -f conftest.er1
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } >/dev/null && {
14589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14590 test ! -s conftest.err
14591 }; then
14592 :
14593 else
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14596
14597 # Broken: fails on valid input.
14598 continue
14599 fi
14600
14601 rm -f conftest.err conftest.$ac_ext
14602
14603 # OK, works on sane cases. Now check whether nonexistent headers
14604 # can be detected and how.
14605 cat >conftest.$ac_ext <<_ACEOF
14606 /* confdefs.h. */
14607 _ACEOF
14608 cat confdefs.h >>conftest.$ac_ext
14609 cat >>conftest.$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14611 #include <ac_nonexistent.h>
14612 _ACEOF
14613 if { (ac_try="$ac_cpp conftest.$ac_ext"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14616 *) ac_try_echo=$ac_try;;
14617 esac
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14620 ac_status=$?
14621 grep -v '^ *+' conftest.er1 >conftest.err
14622 rm -f conftest.er1
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } >/dev/null && {
14626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14628 }; then
14629 # Broken: success on invalid input.
14630 continue
14631 else
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.$ac_ext >&5
14634
14635 # Passes both tests.
14636 ac_preproc_ok=:
14637 break
14638 fi
14639
14640 rm -f conftest.err conftest.$ac_ext
14641
14642 done
14643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14644 rm -f conftest.err conftest.$ac_ext
14645 if $ac_preproc_ok; then
14646 break
14647 fi
14648
14649 done
14650 ac_cv_prog_CPP=$CPP
14651
14652 fi
14653 CPP=$ac_cv_prog_CPP
14654 else
14655 ac_cv_prog_CPP=$CPP
14656 fi
14657 { echo "$as_me:$LINENO: result: $CPP" >&5
14658 echo "${ECHO_T}$CPP" >&6; }
14659 ac_preproc_ok=false
14660 for ac_c_preproc_warn_flag in '' yes
14661 do
14662 # Use a header file that comes with gcc, so configuring glibc
14663 # with a fresh cross-compiler works.
14664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14665 # <limits.h> exists even on freestanding compilers.
14666 # On the NeXT, cc -E runs the code through the compiler's parser,
14667 # not just through cpp. "Syntax error" is here to catch this case.
14668 cat >conftest.$ac_ext <<_ACEOF
14669 /* confdefs.h. */
14670 _ACEOF
14671 cat confdefs.h >>conftest.$ac_ext
14672 cat >>conftest.$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14674 #ifdef __STDC__
14675 # include <limits.h>
14676 #else
14677 # include <assert.h>
14678 #endif
14679 Syntax error
14680 _ACEOF
14681 if { (ac_try="$ac_cpp conftest.$ac_ext"
14682 case "(($ac_try" in
14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14685 esac
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14688 ac_status=$?
14689 grep -v '^ *+' conftest.er1 >conftest.err
14690 rm -f conftest.er1
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } >/dev/null && {
14694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14696 }; then
14697 :
14698 else
14699 echo "$as_me: failed program was:" >&5
14700 sed 's/^/| /' conftest.$ac_ext >&5
14701
14702 # Broken: fails on valid input.
14703 continue
14704 fi
14705
14706 rm -f conftest.err conftest.$ac_ext
14707
14708 # OK, works on sane cases. Now check whether nonexistent headers
14709 # can be detected and how.
14710 cat >conftest.$ac_ext <<_ACEOF
14711 /* confdefs.h. */
14712 _ACEOF
14713 cat confdefs.h >>conftest.$ac_ext
14714 cat >>conftest.$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 #include <ac_nonexistent.h>
14717 _ACEOF
14718 if { (ac_try="$ac_cpp conftest.$ac_ext"
14719 case "(($ac_try" in
14720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14721 *) ac_try_echo=$ac_try;;
14722 esac
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14725 ac_status=$?
14726 grep -v '^ *+' conftest.er1 >conftest.err
14727 rm -f conftest.er1
14728 cat conftest.err >&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } >/dev/null && {
14731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14732 test ! -s conftest.err
14733 }; then
14734 # Broken: success on invalid input.
14735 continue
14736 else
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14739
14740 # Passes both tests.
14741 ac_preproc_ok=:
14742 break
14743 fi
14744
14745 rm -f conftest.err conftest.$ac_ext
14746
14747 done
14748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14749 rm -f conftest.err conftest.$ac_ext
14750 if $ac_preproc_ok; then
14751 :
14752 else
14753 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14754 See \`config.log' for more details." >&5
14755 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14756 See \`config.log' for more details." >&2;}
14757 { (exit 1); exit 1; }; }
14758 fi
14759
14760 ac_ext=c
14761 ac_cpp='$CPP $CPPFLAGS'
14762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14765
14766
14767 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14768 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14769 if test "${ac_cv_path_GREP+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 else
14772 # Extract the first word of "grep ggrep" to use in msg output
14773 if test -z "$GREP"; then
14774 set dummy grep ggrep; ac_prog_name=$2
14775 if test "${ac_cv_path_GREP+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 else
14778 ac_path_GREP_found=false
14779 # Loop through the user's path and test for each of PROGNAME-LIST
14780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14781 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14782 do
14783 IFS=$as_save_IFS
14784 test -z "$as_dir" && as_dir=.
14785 for ac_prog in grep ggrep; do
14786 for ac_exec_ext in '' $ac_executable_extensions; do
14787 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14788 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14789 # Check for GNU ac_path_GREP and select it if it is found.
14790 # Check for GNU $ac_path_GREP
14791 case `"$ac_path_GREP" --version 2>&1` in
14792 *GNU*)
14793 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14794 *)
14795 ac_count=0
14796 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14797 while :
14798 do
14799 cat "conftest.in" "conftest.in" >"conftest.tmp"
14800 mv "conftest.tmp" "conftest.in"
14801 cp "conftest.in" "conftest.nl"
14802 echo 'GREP' >> "conftest.nl"
14803 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14804 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14805 ac_count=`expr $ac_count + 1`
14806 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14807 # Best one so far, save it but keep looking for a better one
14808 ac_cv_path_GREP="$ac_path_GREP"
14809 ac_path_GREP_max=$ac_count
14810 fi
14811 # 10*(2^10) chars as input seems more than enough
14812 test $ac_count -gt 10 && break
14813 done
14814 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14815 esac
14816
14817
14818 $ac_path_GREP_found && break 3
14819 done
14820 done
14821
14822 done
14823 IFS=$as_save_IFS
14824
14825
14826 fi
14827
14828 GREP="$ac_cv_path_GREP"
14829 if test -z "$GREP"; then
14830 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14831 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14832 { (exit 1); exit 1; }; }
14833 fi
14834
14835 else
14836 ac_cv_path_GREP=$GREP
14837 fi
14838
14839
14840 fi
14841 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14842 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14843 GREP="$ac_cv_path_GREP"
14844
14845
14846 { echo "$as_me:$LINENO: checking for egrep" >&5
14847 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14848 if test "${ac_cv_path_EGREP+set}" = set; then
14849 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 else
14851 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14852 then ac_cv_path_EGREP="$GREP -E"
14853 else
14854 # Extract the first word of "egrep" to use in msg output
14855 if test -z "$EGREP"; then
14856 set dummy egrep; ac_prog_name=$2
14857 if test "${ac_cv_path_EGREP+set}" = set; then
14858 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 else
14860 ac_path_EGREP_found=false
14861 # Loop through the user's path and test for each of PROGNAME-LIST
14862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14863 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14864 do
14865 IFS=$as_save_IFS
14866 test -z "$as_dir" && as_dir=.
14867 for ac_prog in egrep; do
14868 for ac_exec_ext in '' $ac_executable_extensions; do
14869 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14870 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14871 # Check for GNU ac_path_EGREP and select it if it is found.
14872 # Check for GNU $ac_path_EGREP
14873 case `"$ac_path_EGREP" --version 2>&1` in
14874 *GNU*)
14875 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14876 *)
14877 ac_count=0
14878 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14879 while :
14880 do
14881 cat "conftest.in" "conftest.in" >"conftest.tmp"
14882 mv "conftest.tmp" "conftest.in"
14883 cp "conftest.in" "conftest.nl"
14884 echo 'EGREP' >> "conftest.nl"
14885 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14886 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14887 ac_count=`expr $ac_count + 1`
14888 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14889 # Best one so far, save it but keep looking for a better one
14890 ac_cv_path_EGREP="$ac_path_EGREP"
14891 ac_path_EGREP_max=$ac_count
14892 fi
14893 # 10*(2^10) chars as input seems more than enough
14894 test $ac_count -gt 10 && break
14895 done
14896 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14897 esac
14898
14899
14900 $ac_path_EGREP_found && break 3
14901 done
14902 done
14903
14904 done
14905 IFS=$as_save_IFS
14906
14907
14908 fi
14909
14910 EGREP="$ac_cv_path_EGREP"
14911 if test -z "$EGREP"; then
14912 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14913 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14914 { (exit 1); exit 1; }; }
14915 fi
14916
14917 else
14918 ac_cv_path_EGREP=$EGREP
14919 fi
14920
14921
14922 fi
14923 fi
14924 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14925 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14926 EGREP="$ac_cv_path_EGREP"
14927
14928
14929 if test $ac_cv_c_compiler_gnu = yes; then
14930 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14931 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14932 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14934 else
14935 ac_pattern="Autoconf.*'x'"
14936 cat >conftest.$ac_ext <<_ACEOF
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942 #include <sgtty.h>
14943 Autoconf TIOCGETP
14944 _ACEOF
14945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14946 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14947 ac_cv_prog_gcc_traditional=yes
14948 else
14949 ac_cv_prog_gcc_traditional=no
14950 fi
14951 rm -f conftest*
14952
14953
14954 if test $ac_cv_prog_gcc_traditional = no; then
14955 cat >conftest.$ac_ext <<_ACEOF
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 #include <termio.h>
14962 Autoconf TCGETA
14963 _ACEOF
14964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14965 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14966 ac_cv_prog_gcc_traditional=yes
14967 fi
14968 rm -f conftest*
14969
14970 fi
14971 fi
14972 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14973 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14974 if test $ac_cv_prog_gcc_traditional = yes; then
14975 CC="$CC -traditional"
14976 fi
14977 fi
14978
14979
14980 CXXFLAGS=${CXXFLAGS:=}
14981
14982
14983
14984 ac_ext=cpp
14985 ac_cpp='$CXXCPP $CPPFLAGS'
14986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14989 if test -z "$CXX"; then
14990 if test -n "$CCC"; then
14991 CXX=$CCC
14992 else
14993 if test -n "$ac_tool_prefix"; then
14994 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14995 do
14996 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14997 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15000 if test "${ac_cv_prog_CXX+set}" = set; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15002 else
15003 if test -n "$CXX"; then
15004 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15005 else
15006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15007 for as_dir in $PATH
15008 do
15009 IFS=$as_save_IFS
15010 test -z "$as_dir" && as_dir=.
15011 for ac_exec_ext in '' $ac_executable_extensions; do
15012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15013 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15015 break 2
15016 fi
15017 done
15018 done
15019 IFS=$as_save_IFS
15020
15021 fi
15022 fi
15023 CXX=$ac_cv_prog_CXX
15024 if test -n "$CXX"; then
15025 { echo "$as_me:$LINENO: result: $CXX" >&5
15026 echo "${ECHO_T}$CXX" >&6; }
15027 else
15028 { echo "$as_me:$LINENO: result: no" >&5
15029 echo "${ECHO_T}no" >&6; }
15030 fi
15031
15032
15033 test -n "$CXX" && break
15034 done
15035 fi
15036 if test -z "$CXX"; then
15037 ac_ct_CXX=$CXX
15038 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15039 do
15040 # Extract the first word of "$ac_prog", so it can be a program name with args.
15041 set dummy $ac_prog; ac_word=$2
15042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15044 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 else
15047 if test -n "$ac_ct_CXX"; then
15048 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15049 else
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $PATH
15052 do
15053 IFS=$as_save_IFS
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 ac_cv_prog_ac_ct_CXX="$ac_prog"
15058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15059 break 2
15060 fi
15061 done
15062 done
15063 IFS=$as_save_IFS
15064
15065 fi
15066 fi
15067 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15068 if test -n "$ac_ct_CXX"; then
15069 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15070 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15071 else
15072 { echo "$as_me:$LINENO: result: no" >&5
15073 echo "${ECHO_T}no" >&6; }
15074 fi
15075
15076
15077 test -n "$ac_ct_CXX" && break
15078 done
15079
15080 if test "x$ac_ct_CXX" = x; then
15081 CXX="g++"
15082 else
15083 case $cross_compiling:$ac_tool_warned in
15084 yes:)
15085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15086 whose name does not start with the host triplet. If you think this
15087 configuration is useful to you, please write to autoconf@gnu.org." >&5
15088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15091 ac_tool_warned=yes ;;
15092 esac
15093 CXX=$ac_ct_CXX
15094 fi
15095 fi
15096
15097 fi
15098 fi
15099 # Provide some information about the compiler.
15100 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15101 ac_compiler=`set X $ac_compile; echo $2`
15102 { (ac_try="$ac_compiler --version >&5"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15106 esac
15107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compiler --version >&5") 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }
15112 { (ac_try="$ac_compiler -v >&5"
15113 case "(($ac_try" in
15114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15115 *) ac_try_echo=$ac_try;;
15116 esac
15117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15118 (eval "$ac_compiler -v >&5") 2>&5
15119 ac_status=$?
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }
15122 { (ac_try="$ac_compiler -V >&5"
15123 case "(($ac_try" in
15124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15125 *) ac_try_echo=$ac_try;;
15126 esac
15127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15128 (eval "$ac_compiler -V >&5") 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }
15132
15133 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15134 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15135 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15136 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 else
15138 cat >conftest.$ac_ext <<_ACEOF
15139 /* confdefs.h. */
15140 _ACEOF
15141 cat confdefs.h >>conftest.$ac_ext
15142 cat >>conftest.$ac_ext <<_ACEOF
15143 /* end confdefs.h. */
15144
15145 int
15146 main ()
15147 {
15148 #ifndef __GNUC__
15149 choke me
15150 #endif
15151
15152 ;
15153 return 0;
15154 }
15155 _ACEOF
15156 rm -f conftest.$ac_objext
15157 if { (ac_try="$ac_compile"
15158 case "(($ac_try" in
15159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15160 *) ac_try_echo=$ac_try;;
15161 esac
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163 (eval "$ac_compile") 2>conftest.er1
15164 ac_status=$?
15165 grep -v '^ *+' conftest.er1 >conftest.err
15166 rm -f conftest.er1
15167 cat conftest.err >&5
15168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169 (exit $ac_status); } && {
15170 test -z "$ac_cxx_werror_flag" ||
15171 test ! -s conftest.err
15172 } && test -s conftest.$ac_objext; then
15173 ac_compiler_gnu=yes
15174 else
15175 echo "$as_me: failed program was:" >&5
15176 sed 's/^/| /' conftest.$ac_ext >&5
15177
15178 ac_compiler_gnu=no
15179 fi
15180
15181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15182 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15183
15184 fi
15185 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15186 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15187 GXX=`test $ac_compiler_gnu = yes && echo yes`
15188 ac_test_CXXFLAGS=${CXXFLAGS+set}
15189 ac_save_CXXFLAGS=$CXXFLAGS
15190 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15191 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15192 if test "${ac_cv_prog_cxx_g+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 else
15195 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15196 ac_cxx_werror_flag=yes
15197 ac_cv_prog_cxx_g=no
15198 CXXFLAGS="-g"
15199 cat >conftest.$ac_ext <<_ACEOF
15200 /* confdefs.h. */
15201 _ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15205
15206 int
15207 main ()
15208 {
15209
15210 ;
15211 return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219 esac
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15222 ac_status=$?
15223 grep -v '^ *+' conftest.er1 >conftest.err
15224 rm -f conftest.er1
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_cxx_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 ac_cv_prog_cxx_g=yes
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15235
15236 CXXFLAGS=""
15237 cat >conftest.$ac_ext <<_ACEOF
15238 /* confdefs.h. */
15239 _ACEOF
15240 cat confdefs.h >>conftest.$ac_ext
15241 cat >>conftest.$ac_ext <<_ACEOF
15242 /* end confdefs.h. */
15243
15244 int
15245 main ()
15246 {
15247
15248 ;
15249 return 0;
15250 }
15251 _ACEOF
15252 rm -f conftest.$ac_objext
15253 if { (ac_try="$ac_compile"
15254 case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 *) ac_try_echo=$ac_try;;
15257 esac
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_compile") 2>conftest.er1
15260 ac_status=$?
15261 grep -v '^ *+' conftest.er1 >conftest.err
15262 rm -f conftest.er1
15263 cat conftest.err >&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } && {
15266 test -z "$ac_cxx_werror_flag" ||
15267 test ! -s conftest.err
15268 } && test -s conftest.$ac_objext; then
15269 :
15270 else
15271 echo "$as_me: failed program was:" >&5
15272 sed 's/^/| /' conftest.$ac_ext >&5
15273
15274 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15275 CXXFLAGS="-g"
15276 cat >conftest.$ac_ext <<_ACEOF
15277 /* confdefs.h. */
15278 _ACEOF
15279 cat confdefs.h >>conftest.$ac_ext
15280 cat >>conftest.$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15282
15283 int
15284 main ()
15285 {
15286
15287 ;
15288 return 0;
15289 }
15290 _ACEOF
15291 rm -f conftest.$ac_objext
15292 if { (ac_try="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15296 esac
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15299 ac_status=$?
15300 grep -v '^ *+' conftest.er1 >conftest.err
15301 rm -f conftest.er1
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_cxx_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 ac_cv_prog_cxx_g=yes
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15312
15313
15314 fi
15315
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15317 fi
15318
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 fi
15321
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15323 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15324 fi
15325 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15326 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15327 if test "$ac_test_CXXFLAGS" = set; then
15328 CXXFLAGS=$ac_save_CXXFLAGS
15329 elif test $ac_cv_prog_cxx_g = yes; then
15330 if test "$GXX" = yes; then
15331 CXXFLAGS="-g -O2"
15332 else
15333 CXXFLAGS="-g"
15334 fi
15335 else
15336 if test "$GXX" = yes; then
15337 CXXFLAGS="-O2"
15338 else
15339 CXXFLAGS=
15340 fi
15341 fi
15342 ac_ext=c
15343 ac_cpp='$CPP $CPPFLAGS'
15344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15347
15348
15349
15350 ac_ext=cpp
15351 ac_cpp='$CXXCPP $CPPFLAGS'
15352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15355
15356 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15357 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15358 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15360 else
15361 cat >conftest.$ac_ext <<_ACEOF
15362 /* confdefs.h. */
15363 _ACEOF
15364 cat confdefs.h >>conftest.$ac_ext
15365 cat >>conftest.$ac_ext <<_ACEOF
15366 /* end confdefs.h. */
15367
15368 int
15369 main ()
15370 {
15371
15372 #ifndef __INTEL_COMPILER
15373 choke me
15374 #endif
15375
15376 ;
15377 return 0;
15378 }
15379 _ACEOF
15380 rm -f conftest.$ac_objext
15381 if { (ac_try="$ac_compile"
15382 case "(($ac_try" in
15383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15384 *) ac_try_echo=$ac_try;;
15385 esac
15386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15387 (eval "$ac_compile") 2>conftest.er1
15388 ac_status=$?
15389 grep -v '^ *+' conftest.er1 >conftest.err
15390 rm -f conftest.er1
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } && {
15394 test -z "$ac_cxx_werror_flag" ||
15395 test ! -s conftest.err
15396 } && test -s conftest.$ac_objext; then
15397 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15398 else
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5
15401
15402 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15403
15404 fi
15405
15406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15407
15408
15409 fi
15410 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15412 ac_ext=c
15413 ac_cpp='$CPP $CPPFLAGS'
15414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15417
15418 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15419 :; INTELCXX=yes
15420 else
15421 :;
15422 fi
15423
15424
15425 if test "x$GCXX" != "xyes"; then
15426 if test "xCXX" = "xC"; then
15427 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15428 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_exto+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 else
15432 cat >conftest.$ac_ext <<_ACEOF
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438
15439 int
15440 main ()
15441 {
15442
15443 ;
15444 return 0;
15445 }
15446 _ACEOF
15447 rm -f conftest.$ac_objext conftest.$ac_ext.o
15448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15449 (eval $ac_compile) 2>&5
15450 ac_status=$?
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; then
15453 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15454 case $ac_file in
15455 conftest.$ac_ext.o)
15456 bakefile_cv_c_exto="-ext o"
15457 ;;
15458 *)
15459 ;;
15460 esac
15461 done
15462 else
15463 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15464 See \`config.log' for more details." >&5
15465 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15466 See \`config.log' for more details." >&2;}
15467 { (exit 1); exit 1; }; }
15468
15469 fi
15470
15471 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15472
15473 fi
15474 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15475 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15476 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15477 if test "c" = "c"; then
15478 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15479 fi
15480 if test "c" = "cxx"; then
15481 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15482 fi
15483 fi
15484
15485 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15486 unset ac_cv_prog_cc_g
15487 ac_test_CFLAGS=${CFLAGS+set}
15488 ac_save_CFLAGS=$CFLAGS
15489 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15491 if test "${ac_cv_prog_cc_g+set}" = set; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 else
15494 ac_save_c_werror_flag=$ac_c_werror_flag
15495 ac_c_werror_flag=yes
15496 ac_cv_prog_cc_g=no
15497 CFLAGS="-g"
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 ;
15510 return 0;
15511 }
15512 _ACEOF
15513 rm -f conftest.$ac_objext
15514 if { (ac_try="$ac_compile"
15515 case "(($ac_try" in
15516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15517 *) ac_try_echo=$ac_try;;
15518 esac
15519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15520 (eval "$ac_compile") 2>conftest.er1
15521 ac_status=$?
15522 grep -v '^ *+' conftest.er1 >conftest.err
15523 rm -f conftest.er1
15524 cat conftest.err >&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); } && {
15527 test -z "$ac_c_werror_flag" ||
15528 test ! -s conftest.err
15529 } && test -s conftest.$ac_objext; then
15530 ac_cv_prog_cc_g=yes
15531 else
15532 echo "$as_me: failed program was:" >&5
15533 sed 's/^/| /' conftest.$ac_ext >&5
15534
15535 CFLAGS=""
15536 cat >conftest.$ac_ext <<_ACEOF
15537 /* confdefs.h. */
15538 _ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542
15543 int
15544 main ()
15545 {
15546
15547 ;
15548 return 0;
15549 }
15550 _ACEOF
15551 rm -f conftest.$ac_objext
15552 if { (ac_try="$ac_compile"
15553 case "(($ac_try" in
15554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15555 *) ac_try_echo=$ac_try;;
15556 esac
15557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 (eval "$ac_compile") 2>conftest.er1
15559 ac_status=$?
15560 grep -v '^ *+' conftest.er1 >conftest.err
15561 rm -f conftest.er1
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } && {
15565 test -z "$ac_c_werror_flag" ||
15566 test ! -s conftest.err
15567 } && test -s conftest.$ac_objext; then
15568 :
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15572
15573 ac_c_werror_flag=$ac_save_c_werror_flag
15574 CFLAGS="-g"
15575 cat >conftest.$ac_ext <<_ACEOF
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581
15582 int
15583 main ()
15584 {
15585
15586 ;
15587 return 0;
15588 }
15589 _ACEOF
15590 rm -f conftest.$ac_objext
15591 if { (ac_try="$ac_compile"
15592 case "(($ac_try" in
15593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15594 *) ac_try_echo=$ac_try;;
15595 esac
15596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15597 (eval "$ac_compile") 2>conftest.er1
15598 ac_status=$?
15599 grep -v '^ *+' conftest.er1 >conftest.err
15600 rm -f conftest.er1
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); } && {
15604 test -z "$ac_c_werror_flag" ||
15605 test ! -s conftest.err
15606 } && test -s conftest.$ac_objext; then
15607 ac_cv_prog_cc_g=yes
15608 else
15609 echo "$as_me: failed program was:" >&5
15610 sed 's/^/| /' conftest.$ac_ext >&5
15611
15612
15613 fi
15614
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15616 fi
15617
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 fi
15620
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 ac_c_werror_flag=$ac_save_c_werror_flag
15623 fi
15624 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15625 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15626 if test "$ac_test_CFLAGS" = set; then
15627 CFLAGS=$ac_save_CFLAGS
15628 elif test $ac_cv_prog_cc_g = yes; then
15629 if test "$GCC" = yes; then
15630 CFLAGS="-g -O2"
15631 else
15632 CFLAGS="-g"
15633 fi
15634 else
15635 if test "$GCC" = yes; then
15636 CFLAGS="-O2"
15637 else
15638 CFLAGS=
15639 fi
15640 fi
15641 fi
15642 fi
15643
15644 case `uname -s` in
15645 AIX*)
15646 ac_ext=cpp
15647 ac_cpp='$CXXCPP $CPPFLAGS'
15648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15651
15652 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15653 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15654 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15655 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 else
15657 cat >conftest.$ac_ext <<_ACEOF
15658 /* confdefs.h. */
15659 _ACEOF
15660 cat confdefs.h >>conftest.$ac_ext
15661 cat >>conftest.$ac_ext <<_ACEOF
15662 /* end confdefs.h. */
15663
15664 int
15665 main ()
15666 {
15667 #ifndef __xlC__
15668 choke me
15669 #endif
15670
15671 ;
15672 return 0;
15673 }
15674 _ACEOF
15675 rm -f conftest.$ac_objext
15676 if { (ac_try="$ac_compile"
15677 case "(($ac_try" in
15678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15679 *) ac_try_echo=$ac_try;;
15680 esac
15681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15682 (eval "$ac_compile") 2>conftest.er1
15683 ac_status=$?
15684 grep -v '^ *+' conftest.er1 >conftest.err
15685 rm -f conftest.er1
15686 cat conftest.err >&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } && {
15689 test -z "$ac_cxx_werror_flag" ||
15690 test ! -s conftest.err
15691 } && test -s conftest.$ac_objext; then
15692 bakefile_compiler_xlc=yes
15693 else
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15696
15697 bakefile_compiler_xlc=no
15698 fi
15699
15700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15701 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15702
15703 fi
15704 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15705 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15706
15707 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15708 ac_ext=c
15709 ac_cpp='$CPP $CPPFLAGS'
15710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15713
15714
15715 ;;
15716
15717 Darwin)
15718 ac_ext=cpp
15719 ac_cpp='$CXXCPP $CPPFLAGS'
15720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15723
15724 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 else
15729 cat >conftest.$ac_ext <<_ACEOF
15730 /* confdefs.h. */
15731 _ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735
15736 int
15737 main ()
15738 {
15739 #ifndef __MWERKS__
15740 choke me
15741 #endif
15742
15743 ;
15744 return 0;
15745 }
15746 _ACEOF
15747 rm -f conftest.$ac_objext
15748 if { (ac_try="$ac_compile"
15749 case "(($ac_try" in
15750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15751 *) ac_try_echo=$ac_try;;
15752 esac
15753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15754 (eval "$ac_compile") 2>conftest.er1
15755 ac_status=$?
15756 grep -v '^ *+' conftest.er1 >conftest.err
15757 rm -f conftest.er1
15758 cat conftest.err >&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } && {
15761 test -z "$ac_cxx_werror_flag" ||
15762 test ! -s conftest.err
15763 } && test -s conftest.$ac_objext; then
15764 bakefile_compiler_mwerks=yes
15765 else
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15768
15769 bakefile_compiler_mwerks=no
15770 fi
15771
15772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15773 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15774
15775 fi
15776 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15777 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15778
15779 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15780 ac_ext=c
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15785
15786
15787 ac_ext=cpp
15788 ac_cpp='$CXXCPP $CPPFLAGS'
15789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15792
15793 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15794 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15795 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15796 echo $ECHO_N "(cached) $ECHO_C" >&6
15797 else
15798 cat >conftest.$ac_ext <<_ACEOF
15799 /* confdefs.h. */
15800 _ACEOF
15801 cat confdefs.h >>conftest.$ac_ext
15802 cat >>conftest.$ac_ext <<_ACEOF
15803 /* end confdefs.h. */
15804
15805 int
15806 main ()
15807 {
15808 #ifndef __xlC__
15809 choke me
15810 #endif
15811
15812 ;
15813 return 0;
15814 }
15815 _ACEOF
15816 rm -f conftest.$ac_objext
15817 if { (ac_try="$ac_compile"
15818 case "(($ac_try" in
15819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15820 *) ac_try_echo=$ac_try;;
15821 esac
15822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15823 (eval "$ac_compile") 2>conftest.er1
15824 ac_status=$?
15825 grep -v '^ *+' conftest.er1 >conftest.err
15826 rm -f conftest.er1
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } && {
15830 test -z "$ac_cxx_werror_flag" ||
15831 test ! -s conftest.err
15832 } && test -s conftest.$ac_objext; then
15833 bakefile_compiler_xlc=yes
15834 else
15835 echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15837
15838 bakefile_compiler_xlc=no
15839 fi
15840
15841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15842 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15843
15844 fi
15845 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15846 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15847
15848 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15849 ac_ext=c
15850 ac_cpp='$CPP $CPPFLAGS'
15851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15854
15855
15856 ;;
15857
15858 IRIX*)
15859
15860
15861 ac_ext=cpp
15862 ac_cpp='$CXXCPP $CPPFLAGS'
15863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15866
15867 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15868 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15869 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15871 else
15872 cat >conftest.$ac_ext <<_ACEOF
15873 /* confdefs.h. */
15874 _ACEOF
15875 cat confdefs.h >>conftest.$ac_ext
15876 cat >>conftest.$ac_ext <<_ACEOF
15877 /* end confdefs.h. */
15878
15879 int
15880 main ()
15881 {
15882
15883 #ifndef _SGI_COMPILER_VERSION
15884 choke me
15885 #endif
15886
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 rm -f conftest.$ac_objext
15892 if { (ac_try="$ac_compile"
15893 case "(($ac_try" in
15894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15896 esac
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_compile") 2>conftest.er1
15899 ac_status=$?
15900 grep -v '^ *+' conftest.er1 >conftest.err
15901 rm -f conftest.er1
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } && {
15905 test -z "$ac_cxx_werror_flag" ||
15906 test ! -s conftest.err
15907 } && test -s conftest.$ac_objext; then
15908 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15909 else
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15912
15913 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15914
15915 fi
15916
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919
15920 fi
15921 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15922 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15923 ac_ext=c
15924 ac_cpp='$CPP $CPPFLAGS'
15925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15928
15929 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15930 :; SGICXX=yes
15931 else
15932 :;
15933 fi
15934
15935
15936 ;;
15937
15938 HP-UX*)
15939
15940
15941 ac_ext=cpp
15942 ac_cpp='$CXXCPP $CPPFLAGS'
15943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15946
15947 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15948 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15949 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15950 echo $ECHO_N "(cached) $ECHO_C" >&6
15951 else
15952 cat >conftest.$ac_ext <<_ACEOF
15953 /* confdefs.h. */
15954 _ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958
15959 int
15960 main ()
15961 {
15962
15963 #ifndef __HP_aCC
15964 choke me
15965 #endif
15966
15967 ;
15968 return 0;
15969 }
15970 _ACEOF
15971 rm -f conftest.$ac_objext
15972 if { (ac_try="$ac_compile"
15973 case "(($ac_try" in
15974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15975 *) ac_try_echo=$ac_try;;
15976 esac
15977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15978 (eval "$ac_compile") 2>conftest.er1
15979 ac_status=$?
15980 grep -v '^ *+' conftest.er1 >conftest.err
15981 rm -f conftest.er1
15982 cat conftest.err >&5
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); } && {
15985 test -z "$ac_cxx_werror_flag" ||
15986 test ! -s conftest.err
15987 } && test -s conftest.$ac_objext; then
15988 bakefile_cv_cxx_compiler___HP_aCC=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15992
15993 bakefile_cv_cxx_compiler___HP_aCC=no
15994
15995 fi
15996
15997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15998
15999
16000 fi
16001 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16002 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16003 ac_ext=c
16004 ac_cpp='$CPP $CPPFLAGS'
16005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16008
16009 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16010 :; HPCXX=yes
16011 else
16012 :;
16013 fi
16014
16015
16016 ;;
16017
16018 OSF1)
16019
16020
16021 ac_ext=cpp
16022 ac_cpp='$CXXCPP $CPPFLAGS'
16023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16026
16027 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16028 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16029 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16030 echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032 cat >conftest.$ac_ext <<_ACEOF
16033 /* confdefs.h. */
16034 _ACEOF
16035 cat confdefs.h >>conftest.$ac_ext
16036 cat >>conftest.$ac_ext <<_ACEOF
16037 /* end confdefs.h. */
16038
16039 int
16040 main ()
16041 {
16042
16043 #ifndef __DECCXX
16044 choke me
16045 #endif
16046
16047 ;
16048 return 0;
16049 }
16050 _ACEOF
16051 rm -f conftest.$ac_objext
16052 if { (ac_try="$ac_compile"
16053 case "(($ac_try" in
16054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16056 esac
16057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16058 (eval "$ac_compile") 2>conftest.er1
16059 ac_status=$?
16060 grep -v '^ *+' conftest.er1 >conftest.err
16061 rm -f conftest.er1
16062 cat conftest.err >&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } && {
16065 test -z "$ac_cxx_werror_flag" ||
16066 test ! -s conftest.err
16067 } && test -s conftest.$ac_objext; then
16068 bakefile_cv_cxx_compiler___DECCXX=yes
16069 else
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16072
16073 bakefile_cv_cxx_compiler___DECCXX=no
16074
16075 fi
16076
16077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16078
16079
16080 fi
16081 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16082 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16083 ac_ext=c
16084 ac_cpp='$CPP $CPPFLAGS'
16085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16088
16089 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16090 :; COMPAQCXX=yes
16091 else
16092 :;
16093 fi
16094
16095
16096 ;;
16097
16098 SunOS)
16099
16100
16101 ac_ext=cpp
16102 ac_cpp='$CXXCPP $CPPFLAGS'
16103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16106
16107 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16108 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16109 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112 cat >conftest.$ac_ext <<_ACEOF
16113 /* confdefs.h. */
16114 _ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118
16119 int
16120 main ()
16121 {
16122
16123 #ifndef __SUNPRO_CC
16124 choke me
16125 #endif
16126
16127 ;
16128 return 0;
16129 }
16130 _ACEOF
16131 rm -f conftest.$ac_objext
16132 if { (ac_try="$ac_compile"
16133 case "(($ac_try" in
16134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16135 *) ac_try_echo=$ac_try;;
16136 esac
16137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16138 (eval "$ac_compile") 2>conftest.er1
16139 ac_status=$?
16140 grep -v '^ *+' conftest.er1 >conftest.err
16141 rm -f conftest.er1
16142 cat conftest.err >&5
16143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16144 (exit $ac_status); } && {
16145 test -z "$ac_cxx_werror_flag" ||
16146 test ! -s conftest.err
16147 } && test -s conftest.$ac_objext; then
16148 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16154
16155 fi
16156
16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16158
16159
16160 fi
16161 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16162 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16168
16169 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16170 :; SUNCXX=yes
16171 else
16172 :;
16173 fi
16174
16175
16176 ;;
16177 esac
16178 fi
16179
16180
16181
16182 if test -n "$ac_tool_prefix"; then
16183 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16184 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16187 if test "${ac_cv_prog_RANLIB+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16189 else
16190 if test -n "$RANLIB"; then
16191 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16192 else
16193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16194 for as_dir in $PATH
16195 do
16196 IFS=$as_save_IFS
16197 test -z "$as_dir" && as_dir=.
16198 for ac_exec_ext in '' $ac_executable_extensions; do
16199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16200 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16202 break 2
16203 fi
16204 done
16205 done
16206 IFS=$as_save_IFS
16207
16208 fi
16209 fi
16210 RANLIB=$ac_cv_prog_RANLIB
16211 if test -n "$RANLIB"; then
16212 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16213 echo "${ECHO_T}$RANLIB" >&6; }
16214 else
16215 { echo "$as_me:$LINENO: result: no" >&5
16216 echo "${ECHO_T}no" >&6; }
16217 fi
16218
16219
16220 fi
16221 if test -z "$ac_cv_prog_RANLIB"; then
16222 ac_ct_RANLIB=$RANLIB
16223 # Extract the first word of "ranlib", so it can be a program name with args.
16224 set dummy ranlib; ac_word=$2
16225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16227 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16228 echo $ECHO_N "(cached) $ECHO_C" >&6
16229 else
16230 if test -n "$ac_ct_RANLIB"; then
16231 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16232 else
16233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16234 for as_dir in $PATH
16235 do
16236 IFS=$as_save_IFS
16237 test -z "$as_dir" && as_dir=.
16238 for ac_exec_ext in '' $ac_executable_extensions; do
16239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16240 ac_cv_prog_ac_ct_RANLIB="ranlib"
16241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16242 break 2
16243 fi
16244 done
16245 done
16246 IFS=$as_save_IFS
16247
16248 fi
16249 fi
16250 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16251 if test -n "$ac_ct_RANLIB"; then
16252 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16253 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16254 else
16255 { echo "$as_me:$LINENO: result: no" >&5
16256 echo "${ECHO_T}no" >&6; }
16257 fi
16258
16259 if test "x$ac_ct_RANLIB" = x; then
16260 RANLIB=":"
16261 else
16262 case $cross_compiling:$ac_tool_warned in
16263 yes:)
16264 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16265 whose name does not start with the host triplet. If you think this
16266 configuration is useful to you, please write to autoconf@gnu.org." >&5
16267 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16268 whose name does not start with the host triplet. If you think this
16269 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16270 ac_tool_warned=yes ;;
16271 esac
16272 RANLIB=$ac_ct_RANLIB
16273 fi
16274 else
16275 RANLIB="$ac_cv_prog_RANLIB"
16276 fi
16277
16278
16279 if test "x$SUNCXX" != xyes; then
16280 if test -n "$ac_tool_prefix"; then
16281 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16282 set dummy ${ac_tool_prefix}ar; ac_word=$2
16283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16285 if test "${ac_cv_prog_AR+set}" = set; then
16286 echo $ECHO_N "(cached) $ECHO_C" >&6
16287 else
16288 if test -n "$AR"; then
16289 ac_cv_prog_AR="$AR" # Let the user override the test.
16290 else
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16293 do
16294 IFS=$as_save_IFS
16295 test -z "$as_dir" && as_dir=.
16296 for ac_exec_ext in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_AR="${ac_tool_prefix}ar"
16299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16300 break 2
16301 fi
16302 done
16303 done
16304 IFS=$as_save_IFS
16305
16306 fi
16307 fi
16308 AR=$ac_cv_prog_AR
16309 if test -n "$AR"; then
16310 { echo "$as_me:$LINENO: result: $AR" >&5
16311 echo "${ECHO_T}$AR" >&6; }
16312 else
16313 { echo "$as_me:$LINENO: result: no" >&5
16314 echo "${ECHO_T}no" >&6; }
16315 fi
16316
16317
16318 fi
16319 if test -z "$ac_cv_prog_AR"; then
16320 ac_ct_AR=$AR
16321 # Extract the first word of "ar", so it can be a program name with args.
16322 set dummy ar; ac_word=$2
16323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16325 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 else
16328 if test -n "$ac_ct_AR"; then
16329 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16330 else
16331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16332 for as_dir in $PATH
16333 do
16334 IFS=$as_save_IFS
16335 test -z "$as_dir" && as_dir=.
16336 for ac_exec_ext in '' $ac_executable_extensions; do
16337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16338 ac_cv_prog_ac_ct_AR="ar"
16339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16340 break 2
16341 fi
16342 done
16343 done
16344 IFS=$as_save_IFS
16345
16346 fi
16347 fi
16348 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16349 if test -n "$ac_ct_AR"; then
16350 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16351 echo "${ECHO_T}$ac_ct_AR" >&6; }
16352 else
16353 { echo "$as_me:$LINENO: result: no" >&5
16354 echo "${ECHO_T}no" >&6; }
16355 fi
16356
16357 if test "x$ac_ct_AR" = x; then
16358 AR=""
16359 else
16360 case $cross_compiling:$ac_tool_warned in
16361 yes:)
16362 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16363 whose name does not start with the host triplet. If you think this
16364 configuration is useful to you, please write to autoconf@gnu.org." >&5
16365 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16366 whose name does not start with the host triplet. If you think this
16367 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16368 ac_tool_warned=yes ;;
16369 esac
16370 AR=$ac_ct_AR
16371 fi
16372 else
16373 AR="$ac_cv_prog_AR"
16374 fi
16375
16376 if test "x$AR" = "x" ; then
16377 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16378 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16379 { (exit 1); exit 1; }; }
16380 fi
16381 fi
16382
16383 # Find a good install program. We prefer a C program (faster),
16384 # so one script is as good as another. But avoid the broken or
16385 # incompatible versions:
16386 # SysV /etc/install, /usr/sbin/install
16387 # SunOS /usr/etc/install
16388 # IRIX /sbin/install
16389 # AIX /bin/install
16390 # AmigaOS /C/install, which installs bootblocks on floppy discs
16391 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16392 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16393 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16394 # OS/2's system install, which has a completely different semantic
16395 # ./install, which can be erroneously created by make from ./install.sh.
16396 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16397 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16398 if test -z "$INSTALL"; then
16399 if test "${ac_cv_path_install+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 else
16402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16403 for as_dir in $PATH
16404 do
16405 IFS=$as_save_IFS
16406 test -z "$as_dir" && as_dir=.
16407 # Account for people who put trailing slashes in PATH elements.
16408 case $as_dir/ in
16409 ./ | .// | /cC/* | \
16410 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16411 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16412 /usr/ucb/* ) ;;
16413 *)
16414 # OSF1 and SCO ODT 3.0 have their own names for install.
16415 # Don't use installbsd from OSF since it installs stuff as root
16416 # by default.
16417 for ac_prog in ginstall scoinst install; do
16418 for ac_exec_ext in '' $ac_executable_extensions; do
16419 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16420 if test $ac_prog = install &&
16421 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16422 # AIX install. It has an incompatible calling convention.
16423 :
16424 elif test $ac_prog = install &&
16425 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16426 # program-specific install script used by HP pwplus--don't use.
16427 :
16428 else
16429 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16430 break 3
16431 fi
16432 fi
16433 done
16434 done
16435 ;;
16436 esac
16437 done
16438 IFS=$as_save_IFS
16439
16440
16441 fi
16442 if test "${ac_cv_path_install+set}" = set; then
16443 INSTALL=$ac_cv_path_install
16444 else
16445 # As a last resort, use the slow shell script. Don't cache a
16446 # value for INSTALL within a source directory, because that will
16447 # break other packages using the cache if that directory is
16448 # removed, or if the value is a relative name.
16449 INSTALL=$ac_install_sh
16450 fi
16451 fi
16452 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16453 echo "${ECHO_T}$INSTALL" >&6; }
16454
16455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16456 # It thinks the first close brace ends the variable substitution.
16457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16458
16459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16460
16461 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16462
16463
16464 case ${INSTALL} in
16465 /* ) # Absolute
16466 ;;
16467 ?:* ) # Drive letter, considered as absolute.
16468 ;;
16469 *)
16470 INSTALL=`pwd`/${INSTALL} ;;
16471 esac
16472
16473
16474 case "${host}" in
16475
16476 *-*-darwin* )
16477 INSTALL_PROGRAM="cp -fp"
16478 INSTALL_DATA="cp -fp"
16479 ;;
16480 *)
16481 ;;
16482 esac
16483
16484 if test -n "$ac_tool_prefix"; then
16485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16486 set dummy ${ac_tool_prefix}strip; ac_word=$2
16487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16489 if test "${ac_cv_prog_STRIP+set}" = set; then
16490 echo $ECHO_N "(cached) $ECHO_C" >&6
16491 else
16492 if test -n "$STRIP"; then
16493 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16494 else
16495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16496 for as_dir in $PATH
16497 do
16498 IFS=$as_save_IFS
16499 test -z "$as_dir" && as_dir=.
16500 for ac_exec_ext in '' $ac_executable_extensions; do
16501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16502 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16504 break 2
16505 fi
16506 done
16507 done
16508 IFS=$as_save_IFS
16509
16510 fi
16511 fi
16512 STRIP=$ac_cv_prog_STRIP
16513 if test -n "$STRIP"; then
16514 { echo "$as_me:$LINENO: result: $STRIP" >&5
16515 echo "${ECHO_T}$STRIP" >&6; }
16516 else
16517 { echo "$as_me:$LINENO: result: no" >&5
16518 echo "${ECHO_T}no" >&6; }
16519 fi
16520
16521
16522 fi
16523 if test -z "$ac_cv_prog_STRIP"; then
16524 ac_ct_STRIP=$STRIP
16525 # Extract the first word of "strip", so it can be a program name with args.
16526 set dummy strip; ac_word=$2
16527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 if test -n "$ac_ct_STRIP"; then
16533 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16534 else
16535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16536 for as_dir in $PATH
16537 do
16538 IFS=$as_save_IFS
16539 test -z "$as_dir" && as_dir=.
16540 for ac_exec_ext in '' $ac_executable_extensions; do
16541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16542 ac_cv_prog_ac_ct_STRIP="strip"
16543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16544 break 2
16545 fi
16546 done
16547 done
16548 IFS=$as_save_IFS
16549
16550 fi
16551 fi
16552 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16553 if test -n "$ac_ct_STRIP"; then
16554 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16555 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16556 else
16557 { echo "$as_me:$LINENO: result: no" >&5
16558 echo "${ECHO_T}no" >&6; }
16559 fi
16560
16561 if test "x$ac_ct_STRIP" = x; then
16562 STRIP="true"
16563 else
16564 case $cross_compiling:$ac_tool_warned in
16565 yes:)
16566 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16567 whose name does not start with the host triplet. If you think this
16568 configuration is useful to you, please write to autoconf@gnu.org." >&5
16569 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16570 whose name does not start with the host triplet. If you think this
16571 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16572 ac_tool_warned=yes ;;
16573 esac
16574 STRIP=$ac_ct_STRIP
16575 fi
16576 else
16577 STRIP="$ac_cv_prog_STRIP"
16578 fi
16579
16580
16581 if test "$wxUSE_WINE" = "yes"; then
16582 if test -n "$ac_tool_prefix"; then
16583 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16584 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16587 if test "${ac_cv_prog_WINDRES+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 else
16590 if test -n "$WINDRES"; then
16591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16592 else
16593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16594 for as_dir in $PATH
16595 do
16596 IFS=$as_save_IFS
16597 test -z "$as_dir" && as_dir=.
16598 for ac_exec_ext in '' $ac_executable_extensions; do
16599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16600 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16602 break 2
16603 fi
16604 done
16605 done
16606 IFS=$as_save_IFS
16607
16608 fi
16609 fi
16610 WINDRES=$ac_cv_prog_WINDRES
16611 if test -n "$WINDRES"; then
16612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16613 echo "${ECHO_T}$WINDRES" >&6; }
16614 else
16615 { echo "$as_me:$LINENO: result: no" >&5
16616 echo "${ECHO_T}no" >&6; }
16617 fi
16618
16619
16620 fi
16621 if test -z "$ac_cv_prog_WINDRES"; then
16622 ac_ct_WINDRES=$WINDRES
16623 # Extract the first word of "wrc", so it can be a program name with args.
16624 set dummy wrc; ac_word=$2
16625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16628 echo $ECHO_N "(cached) $ECHO_C" >&6
16629 else
16630 if test -n "$ac_ct_WINDRES"; then
16631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16632 else
16633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16634 for as_dir in $PATH
16635 do
16636 IFS=$as_save_IFS
16637 test -z "$as_dir" && as_dir=.
16638 for ac_exec_ext in '' $ac_executable_extensions; do
16639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16640 ac_cv_prog_ac_ct_WINDRES="wrc"
16641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16642 break 2
16643 fi
16644 done
16645 done
16646 IFS=$as_save_IFS
16647
16648 fi
16649 fi
16650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16651 if test -n "$ac_ct_WINDRES"; then
16652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16654 else
16655 { echo "$as_me:$LINENO: result: no" >&5
16656 echo "${ECHO_T}no" >&6; }
16657 fi
16658
16659 if test "x$ac_ct_WINDRES" = x; then
16660 WINDRES=""
16661 else
16662 case $cross_compiling:$ac_tool_warned in
16663 yes:)
16664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16665 whose name does not start with the host triplet. If you think this
16666 configuration is useful to you, please write to autoconf@gnu.org." >&5
16667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16670 ac_tool_warned=yes ;;
16671 esac
16672 WINDRES=$ac_ct_WINDRES
16673 fi
16674 else
16675 WINDRES="$ac_cv_prog_WINDRES"
16676 fi
16677
16678 RESCOMP="$WINDRES"
16679 else
16680 case "${host}" in
16681 *-*-cygwin* | *-*-mingw32* )
16682 if test -n "$ac_tool_prefix"; then
16683 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16684 set dummy ${ac_tool_prefix}windres; ac_word=$2
16685 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16687 if test "${ac_cv_prog_WINDRES+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 if test -n "$WINDRES"; then
16691 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16692 else
16693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16694 for as_dir in $PATH
16695 do
16696 IFS=$as_save_IFS
16697 test -z "$as_dir" && as_dir=.
16698 for ac_exec_ext in '' $ac_executable_extensions; do
16699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16700 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16702 break 2
16703 fi
16704 done
16705 done
16706 IFS=$as_save_IFS
16707
16708 fi
16709 fi
16710 WINDRES=$ac_cv_prog_WINDRES
16711 if test -n "$WINDRES"; then
16712 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16713 echo "${ECHO_T}$WINDRES" >&6; }
16714 else
16715 { echo "$as_me:$LINENO: result: no" >&5
16716 echo "${ECHO_T}no" >&6; }
16717 fi
16718
16719
16720 fi
16721 if test -z "$ac_cv_prog_WINDRES"; then
16722 ac_ct_WINDRES=$WINDRES
16723 # Extract the first word of "windres", so it can be a program name with args.
16724 set dummy windres; ac_word=$2
16725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16727 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16728 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 else
16730 if test -n "$ac_ct_WINDRES"; then
16731 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16732 else
16733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16734 for as_dir in $PATH
16735 do
16736 IFS=$as_save_IFS
16737 test -z "$as_dir" && as_dir=.
16738 for ac_exec_ext in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_ac_ct_WINDRES="windres"
16741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16742 break 2
16743 fi
16744 done
16745 done
16746 IFS=$as_save_IFS
16747
16748 fi
16749 fi
16750 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16751 if test -n "$ac_ct_WINDRES"; then
16752 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16753 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16754 else
16755 { echo "$as_me:$LINENO: result: no" >&5
16756 echo "${ECHO_T}no" >&6; }
16757 fi
16758
16759 if test "x$ac_ct_WINDRES" = x; then
16760 WINDRES=""
16761 else
16762 case $cross_compiling:$ac_tool_warned in
16763 yes:)
16764 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16765 whose name does not start with the host triplet. If you think this
16766 configuration is useful to you, please write to autoconf@gnu.org." >&5
16767 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16770 ac_tool_warned=yes ;;
16771 esac
16772 WINDRES=$ac_ct_WINDRES
16773 fi
16774 else
16775 WINDRES="$ac_cv_prog_WINDRES"
16776 fi
16777
16778 RESCOMP="$WINDRES"
16779 if test -n "$ac_tool_prefix"; then
16780 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16781 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16784 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16786 else
16787 if test -n "$DLLTOOL"; then
16788 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16789 else
16790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16791 for as_dir in $PATH
16792 do
16793 IFS=$as_save_IFS
16794 test -z "$as_dir" && as_dir=.
16795 for ac_exec_ext in '' $ac_executable_extensions; do
16796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16797 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16799 break 2
16800 fi
16801 done
16802 done
16803 IFS=$as_save_IFS
16804
16805 fi
16806 fi
16807 DLLTOOL=$ac_cv_prog_DLLTOOL
16808 if test -n "$DLLTOOL"; then
16809 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16810 echo "${ECHO_T}$DLLTOOL" >&6; }
16811 else
16812 { echo "$as_me:$LINENO: result: no" >&5
16813 echo "${ECHO_T}no" >&6; }
16814 fi
16815
16816
16817 fi
16818 if test -z "$ac_cv_prog_DLLTOOL"; then
16819 ac_ct_DLLTOOL=$DLLTOOL
16820 # Extract the first word of "dlltool", so it can be a program name with args.
16821 set dummy dlltool; 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_ac_ct_DLLTOOL+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16826 else
16827 if test -n "$ac_ct_DLLTOOL"; then
16828 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # 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_ac_ct_DLLTOOL="dlltool"
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 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16848 if test -n "$ac_ct_DLLTOOL"; then
16849 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16850 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16851 else
16852 { echo "$as_me:$LINENO: result: no" >&5
16853 echo "${ECHO_T}no" >&6; }
16854 fi
16855
16856 if test "x$ac_ct_DLLTOOL" = x; then
16857 DLLTOOL=""
16858 else
16859 case $cross_compiling:$ac_tool_warned in
16860 yes:)
16861 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16862 whose name does not start with the host triplet. If you think this
16863 configuration is useful to you, please write to autoconf@gnu.org." >&5
16864 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16865 whose name does not start with the host triplet. If you think this
16866 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16867 ac_tool_warned=yes ;;
16868 esac
16869 DLLTOOL=$ac_ct_DLLTOOL
16870 fi
16871 else
16872 DLLTOOL="$ac_cv_prog_DLLTOOL"
16873 fi
16874
16875 ;;
16876 esac
16877 fi
16878
16879 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16880 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16881 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 else
16884
16885 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16886 $EGREP -s GNU > /dev/null); then
16887 wx_cv_prog_makeisgnu="yes"
16888 else
16889 wx_cv_prog_makeisgnu="no"
16890 fi
16891
16892 fi
16893 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16894 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16895
16896 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16897 IF_GNU_MAKE=""
16898 else
16899 IF_GNU_MAKE="#"
16900 fi
16901
16902
16903
16904 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16905 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16906 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16907 if test "${wx_cv_prog_makevpath+set}" = set; then
16908 echo $ECHO_N "(cached) $ECHO_C" >&6
16909 else
16910
16911 cat - << EOF > confMake
16912 check : file
16913 cp \$? \$@
16914 cp \$? final_file
16915 EOF
16916
16917 if test ! -d sub ; then
16918 mkdir sub
16919 fi
16920 echo dummy > sub/file
16921 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16922 RESULT=$?
16923 rm -f sub/file check final_file confMake
16924 rmdir sub
16925 if test "$RESULT" = 0; then
16926 wx_cv_prog_makevpath="yes"
16927 else
16928 wx_cv_prog_makevpath="no"
16929 fi
16930
16931 fi
16932 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16933 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16934
16935 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16936 { { echo "$as_me:$LINENO: error:
16937 You need a make-utility that is able to use the variable
16938 VPATH correctly.
16939 If your version of make does not support VPATH correctly,
16940 please install GNU-make (possibly as gmake), and start
16941 configure with the following command:
16942 export MAKE=gmake; ./configure for sh-type shells
16943 setenv MAKE gmake; ./configure for csh-type shells
16944 Also please do remember to use gmake in this case every time
16945 you are trying to compile.
16946 " >&5
16947 echo "$as_me: error:
16948 You need a make-utility that is able to use the variable
16949 VPATH correctly.
16950 If your version of make does not support VPATH correctly,
16951 please install GNU-make (possibly as gmake), and start
16952 configure with the following command:
16953 export MAKE=gmake; ./configure for sh-type shells
16954 setenv MAKE gmake; ./configure for csh-type shells
16955 Also please do remember to use gmake in this case every time
16956 you are trying to compile.
16957 " >&2;}
16958 { (exit 1); exit 1; }; }
16959 fi fi
16960 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16961 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16962 LN_S=$as_ln_s
16963 if test "$LN_S" = "ln -s"; then
16964 { echo "$as_me:$LINENO: result: yes" >&5
16965 echo "${ECHO_T}yes" >&6; }
16966 else
16967 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16968 echo "${ECHO_T}no, using $LN_S" >&6; }
16969 fi
16970
16971
16972
16973
16974 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16975 CXXFLAGS="-qunique $CXXFLAGS"
16976 fi
16977
16978 case "${host}" in
16979 powerpc-*-darwin* )
16980 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16981 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16982 cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988
16989 int
16990 main ()
16991 {
16992 #ifndef __POWERPC__
16993 choke me for lack of PowerPC
16994 #endif
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 rm -f conftest.$ac_objext
17001 if { (ac_try="$ac_compile"
17002 case "(($ac_try" in
17003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17005 esac
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_compile") 2>conftest.er1
17008 ac_status=$?
17009 grep -v '^ *+' conftest.er1 >conftest.err
17010 rm -f conftest.er1
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } && {
17014 test -z "$ac_c_werror_flag" ||
17015 test ! -s conftest.err
17016 } && test -s conftest.$ac_objext; then
17017 { echo "$as_me:$LINENO: result: yes" >&5
17018 echo "${ECHO_T}yes" >&6; }
17019 else
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17022
17023 { echo "$as_me:$LINENO: result: no" >&5
17024 echo "${ECHO_T}no" >&6; }
17025 cat >>confdefs.h <<\_ACEOF
17026 #define __POWERPC__ 1
17027 _ACEOF
17028
17029
17030 fi
17031
17032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033 ;;
17034 esac
17035
17036 case "${host}" in
17037 *-*-darwin* )
17038 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17039 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 #include <CoreFoundation/CFBase.h>
17047
17048 int
17049 main ()
17050 {
17051
17052 ;
17053 return 0;
17054 }
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (ac_try="$ac_compile"
17058 case "(($ac_try" in
17059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17060 *) ac_try_echo=$ac_try;;
17061 esac
17062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17063 (eval "$ac_compile") 2>conftest.er1
17064 ac_status=$?
17065 grep -v '^ *+' conftest.er1 >conftest.err
17066 rm -f conftest.er1
17067 cat conftest.err >&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); } && {
17070 test -z "$ac_c_werror_flag" ||
17071 test ! -s conftest.err
17072 } && test -s conftest.$ac_objext; then
17073 { echo "$as_me:$LINENO: result: yes" >&5
17074 echo "${ECHO_T}yes" >&6; }
17075 else
17076 echo "$as_me: failed program was:" >&5
17077 sed 's/^/| /' conftest.$ac_ext >&5
17078
17079 { echo "$as_me:$LINENO: result: no" >&5
17080 echo "${ECHO_T}no" >&6; }
17081 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17082 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #define __CF_USE_FRAMEWORK_INCLUDES__
17090 #include <CoreFoundation/CFBase.h>
17091
17092 int
17093 main ()
17094 {
17095
17096 ;
17097 return 0;
17098 }
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (ac_try="$ac_compile"
17102 case "(($ac_try" in
17103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17105 esac
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_compile") 2>conftest.er1
17108 ac_status=$?
17109 grep -v '^ *+' conftest.er1 >conftest.err
17110 rm -f conftest.er1
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_c_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest.$ac_objext; then
17117 { echo "$as_me:$LINENO: result: yes" >&5
17118 echo "${ECHO_T}yes" >&6; }
17119 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17125 See \`config.log' for more details." >&5
17126 echo "$as_me: error: no. CoreFoundation not available.
17127 See \`config.log' for more details." >&2;}
17128 { (exit 1); exit 1; }; }
17129
17130 fi
17131
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133
17134
17135 fi
17136
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17138 ;;
17139 esac
17140
17141 wants_win32=0
17142 doesnt_want_win32=0
17143 case "${host}" in
17144 *-*-cygwin*)
17145 if test "$wxUSE_MSW" = 1 ; then
17146 wants_win32=1
17147 else
17148 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17149 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17150 if test "${wx_cv_nocygwin+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153
17154 cat >conftest.$ac_ext <<_ACEOF
17155 /* confdefs.h. */
17156 _ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160
17161 int
17162 main ()
17163 {
17164
17165 #ifdef __MINGW32__
17166 choke me
17167 #endif
17168
17169 ;
17170 return 0;
17171 }
17172 _ACEOF
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17178 esac
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17190 wx_cv_nocygwin=no
17191 else
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17194
17195 wx_cv_nocygwin=yes
17196
17197 fi
17198
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200
17201
17202 fi
17203 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17204 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17205
17206 if test "$wx_cv_nocygwin" = "yes"; then
17207 wants_win32=1
17208 else
17209 doesnt_want_win32=1
17210 fi
17211 fi
17212 if test "$wants_win32" = 1 ; then
17213 BAKEFILE_FORCE_PLATFORM=win32
17214 fi
17215 ;;
17216 *-*-mingw*)
17217 wants_win32=1
17218 ;;
17219 esac
17220
17221 if test "$wxUSE_WINE" = "yes"; then
17222 wants_win32=1
17223 LDFLAGS_GUI="-mwindows"
17224 fi
17225
17226 if test "$wants_win32" = 1 ; then
17227 USE_UNIX=0
17228 USE_WIN32=1
17229 cat >>confdefs.h <<\_ACEOF
17230 #define __WIN32__ 1
17231 _ACEOF
17232
17233 cat >>confdefs.h <<\_ACEOF
17234 #define __WIN95__ 1
17235 _ACEOF
17236
17237 cat >>confdefs.h <<\_ACEOF
17238 #define __WINDOWS__ 1
17239 _ACEOF
17240
17241 cat >>confdefs.h <<\_ACEOF
17242 #define __GNUWIN32__ 1
17243 _ACEOF
17244
17245 cat >>confdefs.h <<\_ACEOF
17246 #define STRICT 1
17247 _ACEOF
17248
17249 fi
17250 if test "$doesnt_want_win32" = 1 ; then
17251 USE_UNIX=1
17252 USE_WIN32=0
17253 fi
17254
17255 if test "$USE_UNIX" = 1 ; then
17256 wxUSE_UNIX=yes
17257 cat >>confdefs.h <<\_ACEOF
17258 #define __UNIX__ 1
17259 _ACEOF
17260
17261 fi
17262
17263 case "${host}" in
17264 *-pc-os2_emx | *-pc-os2-emx )
17265 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17266 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17267 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17268 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17269 echo $ECHO_N "(cached) $ECHO_C" >&6
17270 else
17271 ac_check_lib_save_LIBS=$LIBS
17272 LIBS="-lcExt $LIBS"
17273 cat >conftest.$ac_ext <<_ACEOF
17274 /* confdefs.h. */
17275 _ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17283 #ifdef __cplusplus
17284 extern "C"
17285 #endif
17286 char drand48 ();
17287 int
17288 main ()
17289 {
17290 return drand48 ();
17291 ;
17292 return 0;
17293 }
17294 _ACEOF
17295 rm -f conftest.$ac_objext conftest$ac_exeext
17296 if { (ac_try="$ac_link"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17300 esac
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_link") 2>conftest.er1
17303 ac_status=$?
17304 grep -v '^ *+' conftest.er1 >conftest.err
17305 rm -f conftest.er1
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } && {
17309 test -z "$ac_c_werror_flag" ||
17310 test ! -s conftest.err
17311 } && test -s conftest$ac_exeext &&
17312 $as_test_x conftest$ac_exeext; then
17313 ac_cv_lib_cExt_drand48=yes
17314 else
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17317
17318 ac_cv_lib_cExt_drand48=no
17319 fi
17320
17321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17322 conftest$ac_exeext conftest.$ac_ext
17323 LIBS=$ac_check_lib_save_LIBS
17324 fi
17325 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17326 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17327 if test $ac_cv_lib_cExt_drand48 = yes; then
17328 LIBS="$LIBS -lcExt"
17329 fi
17330
17331 else
17332 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17333 fi
17334 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17335 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17336 if test "${wx_cv_gccversion+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 else
17339
17340 if test "$cross_compiling" = yes; then
17341 wx_cv_gccversion="EMX2"
17342
17343 else
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350
17351 #include <stdio.h>
17352
17353 int main()
17354 {
17355 FILE *f=fopen("conftestval", "w");
17356 if (!f) exit(1);
17357 fprintf(f,
17358 #if (__GNUC__ < 3)
17359 "EMX2"
17360 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17361 "EMX3"
17362 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17363 "Innotek5"
17364 #else
17365 "Innotek6"
17366 #endif
17367 );
17368 exit(0);
17369 }
17370
17371 _ACEOF
17372 rm -f conftest$ac_exeext
17373 if { (ac_try="$ac_link"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17377 esac
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_link") 2>&5
17380 ac_status=$?
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17383 { (case "(($ac_try" in
17384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17385 *) ac_try_echo=$ac_try;;
17386 esac
17387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17388 (eval "$ac_try") 2>&5
17389 ac_status=$?
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; }; then
17392 wx_cv_gccversion=`cat conftestval`
17393 else
17394 echo "$as_me: program exited with status $ac_status" >&5
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.$ac_ext >&5
17397
17398 ( exit $ac_status )
17399 wx_cv_gccversion="EMX2"
17400 fi
17401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17402 fi
17403
17404
17405
17406 fi
17407 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17408 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17409 if test "$wx_cv_gccversion" = "EMX2"; then
17410 LIBS="$LIBS -lstdcpp"
17411 LDFLAGS="$LDFLAGS -Zsysv-signals"
17412 else
17413 if test "$wx_cv_gccversion" = "EMX3"; then
17414 LIBS="$LIBS -lstdcxx -lgcc"
17415 LDFLAGS="$LDFLAGS -Zsysv-signals"
17416 else
17417 LIBS="$LIBS -lstdc++"
17418 fi
17419 fi
17420 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17421 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17422 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17423 wxUSE_OMF=yes
17424 enable_omf=yes
17425 fi
17426 ;;
17427 *)
17428
17429 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17430 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17431 if test "${ac_cv_string_strcasecmp+set}" = set; then
17432 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 else
17434
17435 cat >conftest.$ac_ext <<_ACEOF
17436 /* confdefs.h. */
17437 _ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441
17442 #include <string.h>
17443
17444 int
17445 main ()
17446 {
17447
17448 strcasecmp("foo", "bar");
17449
17450 ;
17451 return 0;
17452 }
17453 _ACEOF
17454 rm -f conftest.$ac_objext conftest$ac_exeext
17455 if { (ac_try="$ac_link"
17456 case "(($ac_try" in
17457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17458 *) ac_try_echo=$ac_try;;
17459 esac
17460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17461 (eval "$ac_link") 2>conftest.er1
17462 ac_status=$?
17463 grep -v '^ *+' conftest.er1 >conftest.err
17464 rm -f conftest.er1
17465 cat conftest.err >&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } && {
17468 test -z "$ac_c_werror_flag" ||
17469 test ! -s conftest.err
17470 } && test -s conftest$ac_exeext &&
17471 $as_test_x conftest$ac_exeext; then
17472 ac_cv_string_strcasecmp=yes
17473 else
17474 echo "$as_me: failed program was:" >&5
17475 sed 's/^/| /' conftest.$ac_ext >&5
17476
17477 ac_cv_string_strcasecmp=no
17478
17479 fi
17480
17481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17482 conftest$ac_exeext conftest.$ac_ext
17483
17484 fi
17485 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17486 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17487
17488 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17489 cat >>confdefs.h <<\_ACEOF
17490 #define HAVE_STRCASECMP_IN_STRING_H 1
17491 _ACEOF
17492
17493 else
17494 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17495 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17496 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17497 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 else
17499
17500 cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h. */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h. */
17506
17507 #include <strings.h>
17508
17509 int
17510 main ()
17511 {
17512
17513 strcasecmp("foo", "bar");
17514
17515 ;
17516 return 0;
17517 }
17518 _ACEOF
17519 rm -f conftest.$ac_objext conftest$ac_exeext
17520 if { (ac_try="$ac_link"
17521 case "(($ac_try" in
17522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17523 *) ac_try_echo=$ac_try;;
17524 esac
17525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17526 (eval "$ac_link") 2>conftest.er1
17527 ac_status=$?
17528 grep -v '^ *+' conftest.er1 >conftest.err
17529 rm -f conftest.er1
17530 cat conftest.err >&5
17531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17532 (exit $ac_status); } && {
17533 test -z "$ac_c_werror_flag" ||
17534 test ! -s conftest.err
17535 } && test -s conftest$ac_exeext &&
17536 $as_test_x conftest$ac_exeext; then
17537 ac_cv_strings_strcasecmp=yes
17538 else
17539 echo "$as_me: failed program was:" >&5
17540 sed 's/^/| /' conftest.$ac_ext >&5
17541
17542 ac_cv_strings_strcasecmp=no
17543
17544 fi
17545
17546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17547 conftest$ac_exeext conftest.$ac_ext
17548
17549 fi
17550 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17551 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17552
17553 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17554 cat >>confdefs.h <<\_ACEOF
17555 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17556 _ACEOF
17557
17558 else
17559 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17560 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17561 { (exit 1); exit 1; }; }
17562 fi
17563 fi
17564
17565 ;;
17566 esac
17567
17568
17569 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17570 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17571 if test "${ac_cv_header_stdc+set}" = set; then
17572 echo $ECHO_N "(cached) $ECHO_C" >&6
17573 else
17574 cat >conftest.$ac_ext <<_ACEOF
17575 /* confdefs.h. */
17576 _ACEOF
17577 cat confdefs.h >>conftest.$ac_ext
17578 cat >>conftest.$ac_ext <<_ACEOF
17579 /* end confdefs.h. */
17580 #include <stdlib.h>
17581 #include <stdarg.h>
17582 #include <string.h>
17583 #include <float.h>
17584
17585 int
17586 main ()
17587 {
17588
17589 ;
17590 return 0;
17591 }
17592 _ACEOF
17593 rm -f conftest.$ac_objext
17594 if { (ac_try="$ac_compile"
17595 case "(($ac_try" in
17596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17597 *) ac_try_echo=$ac_try;;
17598 esac
17599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17600 (eval "$ac_compile") 2>conftest.er1
17601 ac_status=$?
17602 grep -v '^ *+' conftest.er1 >conftest.err
17603 rm -f conftest.er1
17604 cat conftest.err >&5
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); } && {
17607 test -z "$ac_c_werror_flag" ||
17608 test ! -s conftest.err
17609 } && test -s conftest.$ac_objext; then
17610 ac_cv_header_stdc=yes
17611 else
17612 echo "$as_me: failed program was:" >&5
17613 sed 's/^/| /' conftest.$ac_ext >&5
17614
17615 ac_cv_header_stdc=no
17616 fi
17617
17618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17619
17620 if test $ac_cv_header_stdc = yes; then
17621 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17622 cat >conftest.$ac_ext <<_ACEOF
17623 /* confdefs.h. */
17624 _ACEOF
17625 cat confdefs.h >>conftest.$ac_ext
17626 cat >>conftest.$ac_ext <<_ACEOF
17627 /* end confdefs.h. */
17628 #include <string.h>
17629
17630 _ACEOF
17631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17632 $EGREP "memchr" >/dev/null 2>&1; then
17633 :
17634 else
17635 ac_cv_header_stdc=no
17636 fi
17637 rm -f conftest*
17638
17639 fi
17640
17641 if test $ac_cv_header_stdc = yes; then
17642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649 #include <stdlib.h>
17650
17651 _ACEOF
17652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17653 $EGREP "free" >/dev/null 2>&1; then
17654 :
17655 else
17656 ac_cv_header_stdc=no
17657 fi
17658 rm -f conftest*
17659
17660 fi
17661
17662 if test $ac_cv_header_stdc = yes; then
17663 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17664 if test "$cross_compiling" = yes; then
17665 :
17666 else
17667 cat >conftest.$ac_ext <<_ACEOF
17668 /* confdefs.h. */
17669 _ACEOF
17670 cat confdefs.h >>conftest.$ac_ext
17671 cat >>conftest.$ac_ext <<_ACEOF
17672 /* end confdefs.h. */
17673 #include <ctype.h>
17674 #include <stdlib.h>
17675 #if ((' ' & 0x0FF) == 0x020)
17676 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17677 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17678 #else
17679 # define ISLOWER(c) \
17680 (('a' <= (c) && (c) <= 'i') \
17681 || ('j' <= (c) && (c) <= 'r') \
17682 || ('s' <= (c) && (c) <= 'z'))
17683 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17684 #endif
17685
17686 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17687 int
17688 main ()
17689 {
17690 int i;
17691 for (i = 0; i < 256; i++)
17692 if (XOR (islower (i), ISLOWER (i))
17693 || toupper (i) != TOUPPER (i))
17694 return 2;
17695 return 0;
17696 }
17697 _ACEOF
17698 rm -f conftest$ac_exeext
17699 if { (ac_try="$ac_link"
17700 case "(($ac_try" in
17701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17702 *) ac_try_echo=$ac_try;;
17703 esac
17704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17705 (eval "$ac_link") 2>&5
17706 ac_status=$?
17707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17708 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17709 { (case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17712 esac
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_try") 2>&5
17715 ac_status=$?
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); }; }; then
17718 :
17719 else
17720 echo "$as_me: program exited with status $ac_status" >&5
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17723
17724 ( exit $ac_status )
17725 ac_cv_header_stdc=no
17726 fi
17727 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17728 fi
17729
17730
17731 fi
17732 fi
17733 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17734 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17735 if test $ac_cv_header_stdc = yes; then
17736
17737 cat >>confdefs.h <<\_ACEOF
17738 #define STDC_HEADERS 1
17739 _ACEOF
17740
17741 fi
17742
17743 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17754 inttypes.h stdint.h unistd.h
17755 do
17756 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17757 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17759 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17762 cat >conftest.$ac_ext <<_ACEOF
17763 /* confdefs.h. */
17764 _ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17768 $ac_includes_default
17769
17770 #include <$ac_header>
17771 _ACEOF
17772 rm -f conftest.$ac_objext
17773 if { (ac_try="$ac_compile"
17774 case "(($ac_try" in
17775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17777 esac
17778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_compile") 2>conftest.er1
17780 ac_status=$?
17781 grep -v '^ *+' conftest.er1 >conftest.err
17782 rm -f conftest.er1
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_c_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest.$ac_objext; then
17789 eval "$as_ac_Header=yes"
17790 else
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17793
17794 eval "$as_ac_Header=no"
17795 fi
17796
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17798 fi
17799 ac_res=`eval echo '${'$as_ac_Header'}'`
17800 { echo "$as_me:$LINENO: result: $ac_res" >&5
17801 echo "${ECHO_T}$ac_res" >&6; }
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h <<_ACEOF
17804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17805 _ACEOF
17806
17807 fi
17808
17809 done
17810
17811
17812
17813
17814
17815
17816
17817
17818 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17819 do
17820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17833
17834 #include <$ac_header>
17835 _ACEOF
17836 rm -f conftest.$ac_objext
17837 if { (ac_try="$ac_compile"
17838 case "(($ac_try" in
17839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17840 *) ac_try_echo=$ac_try;;
17841 esac
17842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17843 (eval "$ac_compile") 2>conftest.er1
17844 ac_status=$?
17845 grep -v '^ *+' conftest.er1 >conftest.err
17846 rm -f conftest.er1
17847 cat conftest.err >&5
17848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17849 (exit $ac_status); } && {
17850 test -z "$ac_c_werror_flag" ||
17851 test ! -s conftest.err
17852 } && test -s conftest.$ac_objext; then
17853 eval "$as_ac_Header=yes"
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 eval "$as_ac_Header=no"
17859 fi
17860
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17862 fi
17863 ac_res=`eval echo '${'$as_ac_Header'}'`
17864 { echo "$as_me:$LINENO: result: $ac_res" >&5
17865 echo "${ECHO_T}$ac_res" >&6; }
17866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17867 cat >>confdefs.h <<_ACEOF
17868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17869 _ACEOF
17870
17871 fi
17872
17873 done
17874
17875
17876 if test "$ac_cv_header_wchar_h" != "yes"; then
17877 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17878 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17879 if test "${ac_cv_header_wcstr_h+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 else
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889
17890 #include <wcstr.h>
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (ac_try="$ac_compile"
17894 case "(($ac_try" in
17895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17896 *) ac_try_echo=$ac_try;;
17897 esac
17898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17899 (eval "$ac_compile") 2>conftest.er1
17900 ac_status=$?
17901 grep -v '^ *+' conftest.er1 >conftest.err
17902 rm -f conftest.er1
17903 cat conftest.err >&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } && {
17906 test -z "$ac_c_werror_flag" ||
17907 test ! -s conftest.err
17908 } && test -s conftest.$ac_objext; then
17909 ac_cv_header_wcstr_h=yes
17910 else
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.$ac_ext >&5
17913
17914 ac_cv_header_wcstr_h=no
17915 fi
17916
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918 fi
17919 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17920 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17921
17922
17923 fi
17924
17925 case "${host}" in
17926 *-pc-os2_emx | *-pc-os2-emx )
17927 if test $ac_cv_header_langinfo_h = "yes" \
17928 -a \( "$wx_cv_gccversion" = "EMX2" \
17929 -o "$wx_cv_gccversion" = "EMX3" \
17930 -o "$wx_cv_gccversion" = "Innotek5" \); then
17931 LIBS="$LIBS -lintl"
17932 fi
17933 ;;
17934 esac
17935
17936 if test "$USE_UNIX" = 1 ; then
17937 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17938 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17939 if test "${ac_cv_header_sys_select_h+set}" = set; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17941 else
17942 cat >conftest.$ac_ext <<_ACEOF
17943 /* confdefs.h. */
17944 _ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 $ac_includes_default
17949
17950 #include <sys/select.h>
17951 _ACEOF
17952 rm -f conftest.$ac_objext
17953 if { (ac_try="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17957 esac
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 ac_cv_header_sys_select_h=yes
17970 else
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17973
17974 ac_cv_header_sys_select_h=no
17975 fi
17976
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 fi
17979 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17980 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17981
17982
17983 fi
17984
17985
17986 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17987 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17988 if test "${ac_cv_c_const+set}" = set; then
17989 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 else
17991 cat >conftest.$ac_ext <<_ACEOF
17992 /* confdefs.h. */
17993 _ACEOF
17994 cat confdefs.h >>conftest.$ac_ext
17995 cat >>conftest.$ac_ext <<_ACEOF
17996 /* end confdefs.h. */
17997
17998 int
17999 main ()
18000 {
18001 /* FIXME: Include the comments suggested by Paul. */
18002 #ifndef __cplusplus
18003 /* Ultrix mips cc rejects this. */
18004 typedef int charset[2];
18005 const charset cs;
18006 /* SunOS 4.1.1 cc rejects this. */
18007 char const *const *pcpcc;
18008 char **ppc;
18009 /* NEC SVR4.0.2 mips cc rejects this. */
18010 struct point {int x, y;};
18011 static struct point const zero = {0,0};
18012 /* AIX XL C 1.02.0.0 rejects this.
18013 It does not let you subtract one const X* pointer from another in
18014 an arm of an if-expression whose if-part is not a constant
18015 expression */
18016 const char *g = "string";
18017 pcpcc = &g + (g ? g-g : 0);
18018 /* HPUX 7.0 cc rejects these. */
18019 ++pcpcc;
18020 ppc = (char**) pcpcc;
18021 pcpcc = (char const *const *) ppc;
18022 { /* SCO 3.2v4 cc rejects this. */
18023 char *t;
18024 char const *s = 0 ? (char *) 0 : (char const *) 0;
18025
18026 *t++ = 0;
18027 if (s) return 0;
18028 }
18029 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18030 int x[] = {25, 17};
18031 const int *foo = &x[0];
18032 ++foo;
18033 }
18034 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18035 typedef const int *iptr;
18036 iptr p = 0;
18037 ++p;
18038 }
18039 { /* AIX XL C 1.02.0.0 rejects this saying
18040 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18041 struct s { int j; const int *ap[3]; };
18042 struct s *b; b->j = 5;
18043 }
18044 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18045 const int foo = 10;
18046 if (!foo) return 0;
18047 }
18048 return !cs[0] && !zero.x;
18049 #endif
18050
18051 ;
18052 return 0;
18053 }
18054 _ACEOF
18055 rm -f conftest.$ac_objext
18056 if { (ac_try="$ac_compile"
18057 case "(($ac_try" in
18058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18059 *) ac_try_echo=$ac_try;;
18060 esac
18061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18062 (eval "$ac_compile") 2>conftest.er1
18063 ac_status=$?
18064 grep -v '^ *+' conftest.er1 >conftest.err
18065 rm -f conftest.er1
18066 cat conftest.err >&5
18067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18068 (exit $ac_status); } && {
18069 test -z "$ac_c_werror_flag" ||
18070 test ! -s conftest.err
18071 } && test -s conftest.$ac_objext; then
18072 ac_cv_c_const=yes
18073 else
18074 echo "$as_me: failed program was:" >&5
18075 sed 's/^/| /' conftest.$ac_ext >&5
18076
18077 ac_cv_c_const=no
18078 fi
18079
18080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18081 fi
18082 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18083 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18084 if test $ac_cv_c_const = no; then
18085
18086 cat >>confdefs.h <<\_ACEOF
18087 #define const
18088 _ACEOF
18089
18090 fi
18091
18092 { echo "$as_me:$LINENO: checking for inline" >&5
18093 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18094 if test "${ac_cv_c_inline+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 ac_cv_c_inline=no
18098 for ac_kw in inline __inline__ __inline; do
18099 cat >conftest.$ac_ext <<_ACEOF
18100 /* confdefs.h. */
18101 _ACEOF
18102 cat confdefs.h >>conftest.$ac_ext
18103 cat >>conftest.$ac_ext <<_ACEOF
18104 /* end confdefs.h. */
18105 #ifndef __cplusplus
18106 typedef int foo_t;
18107 static $ac_kw foo_t static_foo () {return 0; }
18108 $ac_kw foo_t foo () {return 0; }
18109 #endif
18110
18111 _ACEOF
18112 rm -f conftest.$ac_objext
18113 if { (ac_try="$ac_compile"
18114 case "(($ac_try" in
18115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18116 *) ac_try_echo=$ac_try;;
18117 esac
18118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18119 (eval "$ac_compile") 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } && {
18126 test -z "$ac_c_werror_flag" ||
18127 test ! -s conftest.err
18128 } && test -s conftest.$ac_objext; then
18129 ac_cv_c_inline=$ac_kw
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134
18135 fi
18136
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18138 test "$ac_cv_c_inline" != no && break
18139 done
18140
18141 fi
18142 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18143 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18144
18145
18146 case $ac_cv_c_inline in
18147 inline | yes) ;;
18148 *)
18149 case $ac_cv_c_inline in
18150 no) ac_val=;;
18151 *) ac_val=$ac_cv_c_inline;;
18152 esac
18153 cat >>confdefs.h <<_ACEOF
18154 #ifndef __cplusplus
18155 #define inline $ac_val
18156 #endif
18157 _ACEOF
18158 ;;
18159 esac
18160
18161
18162 { echo "$as_me:$LINENO: checking for char" >&5
18163 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
18164 if test "${ac_cv_type_char+set}" = set; then
18165 echo $ECHO_N "(cached) $ECHO_C" >&6
18166 else
18167 cat >conftest.$ac_ext <<_ACEOF
18168 /* confdefs.h. */
18169 _ACEOF
18170 cat confdefs.h >>conftest.$ac_ext
18171 cat >>conftest.$ac_ext <<_ACEOF
18172 /* end confdefs.h. */
18173 $ac_includes_default
18174 typedef char ac__type_new_;
18175 int
18176 main ()
18177 {
18178 if ((ac__type_new_ *) 0)
18179 return 0;
18180 if (sizeof (ac__type_new_))
18181 return 0;
18182 ;
18183 return 0;
18184 }
18185 _ACEOF
18186 rm -f conftest.$ac_objext
18187 if { (ac_try="$ac_compile"
18188 case "(($ac_try" in
18189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18190 *) ac_try_echo=$ac_try;;
18191 esac
18192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18193 (eval "$ac_compile") 2>conftest.er1
18194 ac_status=$?
18195 grep -v '^ *+' conftest.er1 >conftest.err
18196 rm -f conftest.er1
18197 cat conftest.err >&5
18198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18199 (exit $ac_status); } && {
18200 test -z "$ac_c_werror_flag" ||
18201 test ! -s conftest.err
18202 } && test -s conftest.$ac_objext; then
18203 ac_cv_type_char=yes
18204 else
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18207
18208 ac_cv_type_char=no
18209 fi
18210
18211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18212 fi
18213 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18214 echo "${ECHO_T}$ac_cv_type_char" >&6; }
18215
18216 # The cast to long int works around a bug in the HP C Compiler
18217 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18218 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18219 # This bug is HP SR number 8606223364.
18220 { echo "$as_me:$LINENO: checking size of char" >&5
18221 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
18222 if test "${ac_cv_sizeof_char+set}" = set; then
18223 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 else
18225 if test "$cross_compiling" = yes; then
18226 # Depending upon the size, compute the lo and hi bounds.
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18234 typedef char ac__type_sizeof_;
18235 int
18236 main ()
18237 {
18238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18239 test_array [0] = 0
18240
18241 ;
18242 return 0;
18243 }
18244 _ACEOF
18245 rm -f conftest.$ac_objext
18246 if { (ac_try="$ac_compile"
18247 case "(($ac_try" in
18248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18249 *) ac_try_echo=$ac_try;;
18250 esac
18251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18252 (eval "$ac_compile") 2>conftest.er1
18253 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } && {
18259 test -z "$ac_c_werror_flag" ||
18260 test ! -s conftest.err
18261 } && test -s conftest.$ac_objext; then
18262 ac_lo=0 ac_mid=0
18263 while :; do
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 $ac_includes_default
18271 typedef char ac__type_sizeof_;
18272 int
18273 main ()
18274 {
18275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18276 test_array [0] = 0
18277
18278 ;
18279 return 0;
18280 }
18281 _ACEOF
18282 rm -f conftest.$ac_objext
18283 if { (ac_try="$ac_compile"
18284 case "(($ac_try" in
18285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18287 esac
18288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18289 (eval "$ac_compile") 2>conftest.er1
18290 ac_status=$?
18291 grep -v '^ *+' conftest.er1 >conftest.err
18292 rm -f conftest.er1
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } && {
18296 test -z "$ac_c_werror_flag" ||
18297 test ! -s conftest.err
18298 } && test -s conftest.$ac_objext; then
18299 ac_hi=$ac_mid; break
18300 else
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304 ac_lo=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18306 ac_lo= ac_hi=
18307 break
18308 fi
18309 ac_mid=`expr 2 '*' $ac_mid + 1`
18310 fi
18311
18312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 done
18314 else
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.$ac_ext >&5
18317
18318 cat >conftest.$ac_ext <<_ACEOF
18319 /* confdefs.h. */
18320 _ACEOF
18321 cat confdefs.h >>conftest.$ac_ext
18322 cat >>conftest.$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18324 $ac_includes_default
18325 typedef char ac__type_sizeof_;
18326 int
18327 main ()
18328 {
18329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18330 test_array [0] = 0
18331
18332 ;
18333 return 0;
18334 }
18335 _ACEOF
18336 rm -f conftest.$ac_objext
18337 if { (ac_try="$ac_compile"
18338 case "(($ac_try" in
18339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18340 *) ac_try_echo=$ac_try;;
18341 esac
18342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18343 (eval "$ac_compile") 2>conftest.er1
18344 ac_status=$?
18345 grep -v '^ *+' conftest.er1 >conftest.err
18346 rm -f conftest.er1
18347 cat conftest.err >&5
18348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18349 (exit $ac_status); } && {
18350 test -z "$ac_c_werror_flag" ||
18351 test ! -s conftest.err
18352 } && test -s conftest.$ac_objext; then
18353 ac_hi=-1 ac_mid=-1
18354 while :; do
18355 cat >conftest.$ac_ext <<_ACEOF
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18362 typedef char ac__type_sizeof_;
18363 int
18364 main ()
18365 {
18366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18367 test_array [0] = 0
18368
18369 ;
18370 return 0;
18371 }
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_lo=$ac_mid; break
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18394
18395 ac_hi=`expr '(' $ac_mid ')' - 1`
18396 if test $ac_mid -le $ac_hi; then
18397 ac_lo= ac_hi=
18398 break
18399 fi
18400 ac_mid=`expr 2 '*' $ac_mid`
18401 fi
18402
18403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18404 done
18405 else
18406 echo "$as_me: failed program was:" >&5
18407 sed 's/^/| /' conftest.$ac_ext >&5
18408
18409 ac_lo= ac_hi=
18410 fi
18411
18412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18413 fi
18414
18415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18416 # Binary search between lo and hi bounds.
18417 while test "x$ac_lo" != "x$ac_hi"; do
18418 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18419 cat >conftest.$ac_ext <<_ACEOF
18420 /* confdefs.h. */
18421 _ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 $ac_includes_default
18426 typedef char ac__type_sizeof_;
18427 int
18428 main ()
18429 {
18430 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18431 test_array [0] = 0
18432
18433 ;
18434 return 0;
18435 }
18436 _ACEOF
18437 rm -f conftest.$ac_objext
18438 if { (ac_try="$ac_compile"
18439 case "(($ac_try" in
18440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18441 *) ac_try_echo=$ac_try;;
18442 esac
18443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18444 (eval "$ac_compile") 2>conftest.er1
18445 ac_status=$?
18446 grep -v '^ *+' conftest.er1 >conftest.err
18447 rm -f conftest.er1
18448 cat conftest.err >&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); } && {
18451 test -z "$ac_c_werror_flag" ||
18452 test ! -s conftest.err
18453 } && test -s conftest.$ac_objext; then
18454 ac_hi=$ac_mid
18455 else
18456 echo "$as_me: failed program was:" >&5
18457 sed 's/^/| /' conftest.$ac_ext >&5
18458
18459 ac_lo=`expr '(' $ac_mid ')' + 1`
18460 fi
18461
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463 done
18464 case $ac_lo in
18465 ?*) ac_cv_sizeof_char=$ac_lo;;
18466 '') if test "$ac_cv_type_char" = yes; then
18467 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18468 See \`config.log' for more details." >&5
18469 echo "$as_me: error: cannot compute sizeof (char)
18470 See \`config.log' for more details." >&2;}
18471 { (exit 77); exit 77; }; }
18472 else
18473 ac_cv_sizeof_char=0
18474 fi ;;
18475 esac
18476 else
18477 cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h. */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h. */
18483 $ac_includes_default
18484 typedef char ac__type_sizeof_;
18485 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18486 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18487 #include <stdio.h>
18488 #include <stdlib.h>
18489 int
18490 main ()
18491 {
18492
18493 FILE *f = fopen ("conftest.val", "w");
18494 if (! f)
18495 return 1;
18496 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18497 {
18498 long int i = longval ();
18499 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18500 return 1;
18501 fprintf (f, "%ld\n", i);
18502 }
18503 else
18504 {
18505 unsigned long int i = ulongval ();
18506 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18507 return 1;
18508 fprintf (f, "%lu\n", i);
18509 }
18510 return ferror (f) || fclose (f) != 0;
18511
18512 ;
18513 return 0;
18514 }
18515 _ACEOF
18516 rm -f conftest$ac_exeext
18517 if { (ac_try="$ac_link"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18521 esac
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_link") 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18527 { (case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18530 esac
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_try") 2>&5
18533 ac_status=$?
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; }; then
18536 ac_cv_sizeof_char=`cat conftest.val`
18537 else
18538 echo "$as_me: program exited with status $ac_status" >&5
18539 echo "$as_me: failed program was:" >&5
18540 sed 's/^/| /' conftest.$ac_ext >&5
18541
18542 ( exit $ac_status )
18543 if test "$ac_cv_type_char" = yes; then
18544 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18545 See \`config.log' for more details." >&5
18546 echo "$as_me: error: cannot compute sizeof (char)
18547 See \`config.log' for more details." >&2;}
18548 { (exit 77); exit 77; }; }
18549 else
18550 ac_cv_sizeof_char=0
18551 fi
18552 fi
18553 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18554 fi
18555 rm -f conftest.val
18556 fi
18557 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18558 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
18559
18560
18561
18562 cat >>confdefs.h <<_ACEOF
18563 #define SIZEOF_CHAR $ac_cv_sizeof_char
18564 _ACEOF
18565
18566
18567 { echo "$as_me:$LINENO: checking for short" >&5
18568 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18569 if test "${ac_cv_type_short+set}" = set; then
18570 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 else
18572 cat >conftest.$ac_ext <<_ACEOF
18573 /* confdefs.h. */
18574 _ACEOF
18575 cat confdefs.h >>conftest.$ac_ext
18576 cat >>conftest.$ac_ext <<_ACEOF
18577 /* end confdefs.h. */
18578 $ac_includes_default
18579 typedef short ac__type_new_;
18580 int
18581 main ()
18582 {
18583 if ((ac__type_new_ *) 0)
18584 return 0;
18585 if (sizeof (ac__type_new_))
18586 return 0;
18587 ;
18588 return 0;
18589 }
18590 _ACEOF
18591 rm -f conftest.$ac_objext
18592 if { (ac_try="$ac_compile"
18593 case "(($ac_try" in
18594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18595 *) ac_try_echo=$ac_try;;
18596 esac
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_compile") 2>conftest.er1
18599 ac_status=$?
18600 grep -v '^ *+' conftest.er1 >conftest.err
18601 rm -f conftest.er1
18602 cat conftest.err >&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } && {
18605 test -z "$ac_c_werror_flag" ||
18606 test ! -s conftest.err
18607 } && test -s conftest.$ac_objext; then
18608 ac_cv_type_short=yes
18609 else
18610 echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.$ac_ext >&5
18612
18613 ac_cv_type_short=no
18614 fi
18615
18616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18617 fi
18618 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18619 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18620
18621 # The cast to long int works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 { echo "$as_me:$LINENO: checking size of short" >&5
18626 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18627 if test "${ac_cv_sizeof_short+set}" = set; then
18628 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 else
18630 if test "$cross_compiling" = yes; then
18631 # Depending upon the size, compute the lo and hi bounds.
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638 $ac_includes_default
18639 typedef short ac__type_sizeof_;
18640 int
18641 main ()
18642 {
18643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18644 test_array [0] = 0
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 rm -f conftest.$ac_objext
18651 if { (ac_try="$ac_compile"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18655 esac
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_compile") 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest.$ac_objext; then
18667 ac_lo=0 ac_mid=0
18668 while :; do
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 $ac_includes_default
18676 typedef short ac__type_sizeof_;
18677 int
18678 main ()
18679 {
18680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18681 test_array [0] = 0
18682
18683 ;
18684 return 0;
18685 }
18686 _ACEOF
18687 rm -f conftest.$ac_objext
18688 if { (ac_try="$ac_compile"
18689 case "(($ac_try" in
18690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18691 *) ac_try_echo=$ac_try;;
18692 esac
18693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18694 (eval "$ac_compile") 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } && {
18701 test -z "$ac_c_werror_flag" ||
18702 test ! -s conftest.err
18703 } && test -s conftest.$ac_objext; then
18704 ac_hi=$ac_mid; break
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 ac_lo=`expr $ac_mid + 1`
18710 if test $ac_lo -le $ac_mid; then
18711 ac_lo= ac_hi=
18712 break
18713 fi
18714 ac_mid=`expr 2 '*' $ac_mid + 1`
18715 fi
18716
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 done
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18722
18723 cat >conftest.$ac_ext <<_ACEOF
18724 /* confdefs.h. */
18725 _ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18730 typedef short ac__type_sizeof_;
18731 int
18732 main ()
18733 {
18734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18735 test_array [0] = 0
18736
18737 ;
18738 return 0;
18739 }
18740 _ACEOF
18741 rm -f conftest.$ac_objext
18742 if { (ac_try="$ac_compile"
18743 case "(($ac_try" in
18744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18746 esac
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_compile") 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_c_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest.$ac_objext; then
18758 ac_hi=-1 ac_mid=-1
18759 while :; do
18760 cat >conftest.$ac_ext <<_ACEOF
18761 /* confdefs.h. */
18762 _ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18766 $ac_includes_default
18767 typedef short ac__type_sizeof_;
18768 int
18769 main ()
18770 {
18771 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18772 test_array [0] = 0
18773
18774 ;
18775 return 0;
18776 }
18777 _ACEOF
18778 rm -f conftest.$ac_objext
18779 if { (ac_try="$ac_compile"
18780 case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_compile") 2>conftest.er1
18786 ac_status=$?
18787 grep -v '^ *+' conftest.er1 >conftest.err
18788 rm -f conftest.er1
18789 cat conftest.err >&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); } && {
18792 test -z "$ac_c_werror_flag" ||
18793 test ! -s conftest.err
18794 } && test -s conftest.$ac_objext; then
18795 ac_lo=$ac_mid; break
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18799
18800 ac_hi=`expr '(' $ac_mid ')' - 1`
18801 if test $ac_mid -le $ac_hi; then
18802 ac_lo= ac_hi=
18803 break
18804 fi
18805 ac_mid=`expr 2 '*' $ac_mid`
18806 fi
18807
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18809 done
18810 else
18811 echo "$as_me: failed program was:" >&5
18812 sed 's/^/| /' conftest.$ac_ext >&5
18813
18814 ac_lo= ac_hi=
18815 fi
18816
18817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18818 fi
18819
18820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18821 # Binary search between lo and hi bounds.
18822 while test "x$ac_lo" != "x$ac_hi"; do
18823 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18824 cat >conftest.$ac_ext <<_ACEOF
18825 /* confdefs.h. */
18826 _ACEOF
18827 cat confdefs.h >>conftest.$ac_ext
18828 cat >>conftest.$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 $ac_includes_default
18831 typedef short ac__type_sizeof_;
18832 int
18833 main ()
18834 {
18835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18836 test_array [0] = 0
18837
18838 ;
18839 return 0;
18840 }
18841 _ACEOF
18842 rm -f conftest.$ac_objext
18843 if { (ac_try="$ac_compile"
18844 case "(($ac_try" in
18845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18846 *) ac_try_echo=$ac_try;;
18847 esac
18848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18849 (eval "$ac_compile") 2>conftest.er1
18850 ac_status=$?
18851 grep -v '^ *+' conftest.er1 >conftest.err
18852 rm -f conftest.er1
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } && {
18856 test -z "$ac_c_werror_flag" ||
18857 test ! -s conftest.err
18858 } && test -s conftest.$ac_objext; then
18859 ac_hi=$ac_mid
18860 else
18861 echo "$as_me: failed program was:" >&5
18862 sed 's/^/| /' conftest.$ac_ext >&5
18863
18864 ac_lo=`expr '(' $ac_mid ')' + 1`
18865 fi
18866
18867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18868 done
18869 case $ac_lo in
18870 ?*) ac_cv_sizeof_short=$ac_lo;;
18871 '') if test "$ac_cv_type_short" = yes; then
18872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18873 See \`config.log' for more details." >&5
18874 echo "$as_me: error: cannot compute sizeof (short)
18875 See \`config.log' for more details." >&2;}
18876 { (exit 77); exit 77; }; }
18877 else
18878 ac_cv_sizeof_short=0
18879 fi ;;
18880 esac
18881 else
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 typedef short ac__type_sizeof_;
18890 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18891 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18892 #include <stdio.h>
18893 #include <stdlib.h>
18894 int
18895 main ()
18896 {
18897
18898 FILE *f = fopen ("conftest.val", "w");
18899 if (! f)
18900 return 1;
18901 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18902 {
18903 long int i = longval ();
18904 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18905 return 1;
18906 fprintf (f, "%ld\n", i);
18907 }
18908 else
18909 {
18910 unsigned long int i = ulongval ();
18911 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18912 return 1;
18913 fprintf (f, "%lu\n", i);
18914 }
18915 return ferror (f) || fclose (f) != 0;
18916
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 rm -f conftest$ac_exeext
18922 if { (ac_try="$ac_link"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18926 esac
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_link") 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18932 { (case "(($ac_try" in
18933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18934 *) ac_try_echo=$ac_try;;
18935 esac
18936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18937 (eval "$ac_try") 2>&5
18938 ac_status=$?
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; }; then
18941 ac_cv_sizeof_short=`cat conftest.val`
18942 else
18943 echo "$as_me: program exited with status $ac_status" >&5
18944 echo "$as_me: failed program was:" >&5
18945 sed 's/^/| /' conftest.$ac_ext >&5
18946
18947 ( exit $ac_status )
18948 if test "$ac_cv_type_short" = yes; then
18949 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18950 See \`config.log' for more details." >&5
18951 echo "$as_me: error: cannot compute sizeof (short)
18952 See \`config.log' for more details." >&2;}
18953 { (exit 77); exit 77; }; }
18954 else
18955 ac_cv_sizeof_short=0
18956 fi
18957 fi
18958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18959 fi
18960 rm -f conftest.val
18961 fi
18962 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18963 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18964
18965
18966
18967 cat >>confdefs.h <<_ACEOF
18968 #define SIZEOF_SHORT $ac_cv_sizeof_short
18969 _ACEOF
18970
18971
18972 { echo "$as_me:$LINENO: checking for void *" >&5
18973 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18974 if test "${ac_cv_type_void_p+set}" = set; then
18975 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 else
18977 cat >conftest.$ac_ext <<_ACEOF
18978 /* confdefs.h. */
18979 _ACEOF
18980 cat confdefs.h >>conftest.$ac_ext
18981 cat >>conftest.$ac_ext <<_ACEOF
18982 /* end confdefs.h. */
18983 $ac_includes_default
18984 typedef void * ac__type_new_;
18985 int
18986 main ()
18987 {
18988 if ((ac__type_new_ *) 0)
18989 return 0;
18990 if (sizeof (ac__type_new_))
18991 return 0;
18992 ;
18993 return 0;
18994 }
18995 _ACEOF
18996 rm -f conftest.$ac_objext
18997 if { (ac_try="$ac_compile"
18998 case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19001 esac
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_compile") 2>conftest.er1
19004 ac_status=$?
19005 grep -v '^ *+' conftest.er1 >conftest.err
19006 rm -f conftest.er1
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } && {
19010 test -z "$ac_c_werror_flag" ||
19011 test ! -s conftest.err
19012 } && test -s conftest.$ac_objext; then
19013 ac_cv_type_void_p=yes
19014 else
19015 echo "$as_me: failed program was:" >&5
19016 sed 's/^/| /' conftest.$ac_ext >&5
19017
19018 ac_cv_type_void_p=no
19019 fi
19020
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022 fi
19023 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19024 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19025
19026 # The cast to long int works around a bug in the HP C Compiler
19027 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19028 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19029 # This bug is HP SR number 8606223364.
19030 { echo "$as_me:$LINENO: checking size of void *" >&5
19031 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19032 if test "${ac_cv_sizeof_void_p+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 if test "$cross_compiling" = yes; then
19036 # Depending upon the size, compute the lo and hi bounds.
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 $ac_includes_default
19044 typedef void * ac__type_sizeof_;
19045 int
19046 main ()
19047 {
19048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19049 test_array [0] = 0
19050
19051 ;
19052 return 0;
19053 }
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 ac_lo=0 ac_mid=0
19073 while :; do
19074 cat >conftest.$ac_ext <<_ACEOF
19075 /* confdefs.h. */
19076 _ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 typedef void * ac__type_sizeof_;
19082 int
19083 main ()
19084 {
19085 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19086 test_array [0] = 0
19087
19088 ;
19089 return 0;
19090 }
19091 _ACEOF
19092 rm -f conftest.$ac_objext
19093 if { (ac_try="$ac_compile"
19094 case "(($ac_try" in
19095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19096 *) ac_try_echo=$ac_try;;
19097 esac
19098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 (eval "$ac_compile") 2>conftest.er1
19100 ac_status=$?
19101 grep -v '^ *+' conftest.er1 >conftest.err
19102 rm -f conftest.er1
19103 cat conftest.err >&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && {
19106 test -z "$ac_c_werror_flag" ||
19107 test ! -s conftest.err
19108 } && test -s conftest.$ac_objext; then
19109 ac_hi=$ac_mid; break
19110 else
19111 echo "$as_me: failed program was:" >&5
19112 sed 's/^/| /' conftest.$ac_ext >&5
19113
19114 ac_lo=`expr $ac_mid + 1`
19115 if test $ac_lo -le $ac_mid; then
19116 ac_lo= ac_hi=
19117 break
19118 fi
19119 ac_mid=`expr 2 '*' $ac_mid + 1`
19120 fi
19121
19122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123 done
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19127
19128 cat >conftest.$ac_ext <<_ACEOF
19129 /* confdefs.h. */
19130 _ACEOF
19131 cat confdefs.h >>conftest.$ac_ext
19132 cat >>conftest.$ac_ext <<_ACEOF
19133 /* end confdefs.h. */
19134 $ac_includes_default
19135 typedef void * ac__type_sizeof_;
19136 int
19137 main ()
19138 {
19139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19140 test_array [0] = 0
19141
19142 ;
19143 return 0;
19144 }
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (ac_try="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19151 esac
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19154 ac_status=$?
19155 grep -v '^ *+' conftest.er1 >conftest.err
19156 rm -f conftest.er1
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.$ac_objext; then
19163 ac_hi=-1 ac_mid=-1
19164 while :; do
19165 cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h. */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171 $ac_includes_default
19172 typedef void * ac__type_sizeof_;
19173 int
19174 main ()
19175 {
19176 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19177 test_array [0] = 0
19178
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19188 esac
19189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19191 ac_status=$?
19192 grep -v '^ *+' conftest.er1 >conftest.err
19193 rm -f conftest.er1
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 ac_lo=$ac_mid; break
19201 else
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19204
19205 ac_hi=`expr '(' $ac_mid ')' - 1`
19206 if test $ac_mid -le $ac_hi; then
19207 ac_lo= ac_hi=
19208 break
19209 fi
19210 ac_mid=`expr 2 '*' $ac_mid`
19211 fi
19212
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19214 done
19215 else
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19218
19219 ac_lo= ac_hi=
19220 fi
19221
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 fi
19224
19225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19226 # Binary search between lo and hi bounds.
19227 while test "x$ac_lo" != "x$ac_hi"; do
19228 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19229 cat >conftest.$ac_ext <<_ACEOF
19230 /* confdefs.h. */
19231 _ACEOF
19232 cat confdefs.h >>conftest.$ac_ext
19233 cat >>conftest.$ac_ext <<_ACEOF
19234 /* end confdefs.h. */
19235 $ac_includes_default
19236 typedef void * ac__type_sizeof_;
19237 int
19238 main ()
19239 {
19240 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19241 test_array [0] = 0
19242
19243 ;
19244 return 0;
19245 }
19246 _ACEOF
19247 rm -f conftest.$ac_objext
19248 if { (ac_try="$ac_compile"
19249 case "(($ac_try" in
19250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19251 *) ac_try_echo=$ac_try;;
19252 esac
19253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19254 (eval "$ac_compile") 2>conftest.er1
19255 ac_status=$?
19256 grep -v '^ *+' conftest.er1 >conftest.err
19257 rm -f conftest.er1
19258 cat conftest.err >&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } && {
19261 test -z "$ac_c_werror_flag" ||
19262 test ! -s conftest.err
19263 } && test -s conftest.$ac_objext; then
19264 ac_hi=$ac_mid
19265 else
19266 echo "$as_me: failed program was:" >&5
19267 sed 's/^/| /' conftest.$ac_ext >&5
19268
19269 ac_lo=`expr '(' $ac_mid ')' + 1`
19270 fi
19271
19272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19273 done
19274 case $ac_lo in
19275 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19276 '') if test "$ac_cv_type_void_p" = yes; then
19277 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19278 See \`config.log' for more details." >&5
19279 echo "$as_me: error: cannot compute sizeof (void *)
19280 See \`config.log' for more details." >&2;}
19281 { (exit 77); exit 77; }; }
19282 else
19283 ac_cv_sizeof_void_p=0
19284 fi ;;
19285 esac
19286 else
19287 cat >conftest.$ac_ext <<_ACEOF
19288 /* confdefs.h. */
19289 _ACEOF
19290 cat confdefs.h >>conftest.$ac_ext
19291 cat >>conftest.$ac_ext <<_ACEOF
19292 /* end confdefs.h. */
19293 $ac_includes_default
19294 typedef void * ac__type_sizeof_;
19295 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19296 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19297 #include <stdio.h>
19298 #include <stdlib.h>
19299 int
19300 main ()
19301 {
19302
19303 FILE *f = fopen ("conftest.val", "w");
19304 if (! f)
19305 return 1;
19306 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19307 {
19308 long int i = longval ();
19309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19310 return 1;
19311 fprintf (f, "%ld\n", i);
19312 }
19313 else
19314 {
19315 unsigned long int i = ulongval ();
19316 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19317 return 1;
19318 fprintf (f, "%lu\n", i);
19319 }
19320 return ferror (f) || fclose (f) != 0;
19321
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest$ac_exeext
19327 if { (ac_try="$ac_link"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19331 esac
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_link") 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19337 { (case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19340 esac
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_try") 2>&5
19343 ac_status=$?
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; }; then
19346 ac_cv_sizeof_void_p=`cat conftest.val`
19347 else
19348 echo "$as_me: program exited with status $ac_status" >&5
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19351
19352 ( exit $ac_status )
19353 if test "$ac_cv_type_void_p" = yes; then
19354 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19355 See \`config.log' for more details." >&5
19356 echo "$as_me: error: cannot compute sizeof (void *)
19357 See \`config.log' for more details." >&2;}
19358 { (exit 77); exit 77; }; }
19359 else
19360 ac_cv_sizeof_void_p=0
19361 fi
19362 fi
19363 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19364 fi
19365 rm -f conftest.val
19366 fi
19367 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19368 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19369
19370
19371
19372 cat >>confdefs.h <<_ACEOF
19373 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19374 _ACEOF
19375
19376
19377 { echo "$as_me:$LINENO: checking for int" >&5
19378 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19379 if test "${ac_cv_type_int+set}" = set; then
19380 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 else
19382 cat >conftest.$ac_ext <<_ACEOF
19383 /* confdefs.h. */
19384 _ACEOF
19385 cat confdefs.h >>conftest.$ac_ext
19386 cat >>conftest.$ac_ext <<_ACEOF
19387 /* end confdefs.h. */
19388 $ac_includes_default
19389 typedef int ac__type_new_;
19390 int
19391 main ()
19392 {
19393 if ((ac__type_new_ *) 0)
19394 return 0;
19395 if (sizeof (ac__type_new_))
19396 return 0;
19397 ;
19398 return 0;
19399 }
19400 _ACEOF
19401 rm -f conftest.$ac_objext
19402 if { (ac_try="$ac_compile"
19403 case "(($ac_try" in
19404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19405 *) ac_try_echo=$ac_try;;
19406 esac
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_compile") 2>conftest.er1
19409 ac_status=$?
19410 grep -v '^ *+' conftest.er1 >conftest.err
19411 rm -f conftest.er1
19412 cat conftest.err >&5
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); } && {
19415 test -z "$ac_c_werror_flag" ||
19416 test ! -s conftest.err
19417 } && test -s conftest.$ac_objext; then
19418 ac_cv_type_int=yes
19419 else
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423 ac_cv_type_int=no
19424 fi
19425
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 fi
19428 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19429 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19430
19431 # The cast to long int works around a bug in the HP C Compiler
19432 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19433 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19434 # This bug is HP SR number 8606223364.
19435 { echo "$as_me:$LINENO: checking size of int" >&5
19436 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19437 if test "${ac_cv_sizeof_int+set}" = set; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19439 else
19440 if test "$cross_compiling" = yes; then
19441 # Depending upon the size, compute the lo and hi bounds.
19442 cat >conftest.$ac_ext <<_ACEOF
19443 /* confdefs.h. */
19444 _ACEOF
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 $ac_includes_default
19449 typedef int ac__type_sizeof_;
19450 int
19451 main ()
19452 {
19453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19454 test_array [0] = 0
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (ac_try="$ac_compile"
19462 case "(($ac_try" in
19463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19464 *) ac_try_echo=$ac_try;;
19465 esac
19466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19467 (eval "$ac_compile") 2>conftest.er1
19468 ac_status=$?
19469 grep -v '^ *+' conftest.er1 >conftest.err
19470 rm -f conftest.er1
19471 cat conftest.err >&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); } && {
19474 test -z "$ac_c_werror_flag" ||
19475 test ! -s conftest.err
19476 } && test -s conftest.$ac_objext; then
19477 ac_lo=0 ac_mid=0
19478 while :; do
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 typedef int ac__type_sizeof_;
19487 int
19488 main ()
19489 {
19490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19491 test_array [0] = 0
19492
19493 ;
19494 return 0;
19495 }
19496 _ACEOF
19497 rm -f conftest.$ac_objext
19498 if { (ac_try="$ac_compile"
19499 case "(($ac_try" in
19500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19501 *) ac_try_echo=$ac_try;;
19502 esac
19503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19504 (eval "$ac_compile") 2>conftest.er1
19505 ac_status=$?
19506 grep -v '^ *+' conftest.er1 >conftest.err
19507 rm -f conftest.er1
19508 cat conftest.err >&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } && {
19511 test -z "$ac_c_werror_flag" ||
19512 test ! -s conftest.err
19513 } && test -s conftest.$ac_objext; then
19514 ac_hi=$ac_mid; break
19515 else
19516 echo "$as_me: failed program was:" >&5
19517 sed 's/^/| /' conftest.$ac_ext >&5
19518
19519 ac_lo=`expr $ac_mid + 1`
19520 if test $ac_lo -le $ac_mid; then
19521 ac_lo= ac_hi=
19522 break
19523 fi
19524 ac_mid=`expr 2 '*' $ac_mid + 1`
19525 fi
19526
19527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19528 done
19529 else
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19532
19533 cat >conftest.$ac_ext <<_ACEOF
19534 /* confdefs.h. */
19535 _ACEOF
19536 cat confdefs.h >>conftest.$ac_ext
19537 cat >>conftest.$ac_ext <<_ACEOF
19538 /* end confdefs.h. */
19539 $ac_includes_default
19540 typedef int ac__type_sizeof_;
19541 int
19542 main ()
19543 {
19544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19545 test_array [0] = 0
19546
19547 ;
19548 return 0;
19549 }
19550 _ACEOF
19551 rm -f conftest.$ac_objext
19552 if { (ac_try="$ac_compile"
19553 case "(($ac_try" in
19554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19555 *) ac_try_echo=$ac_try;;
19556 esac
19557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19558 (eval "$ac_compile") 2>conftest.er1
19559 ac_status=$?
19560 grep -v '^ *+' conftest.er1 >conftest.err
19561 rm -f conftest.er1
19562 cat conftest.err >&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } && {
19565 test -z "$ac_c_werror_flag" ||
19566 test ! -s conftest.err
19567 } && test -s conftest.$ac_objext; then
19568 ac_hi=-1 ac_mid=-1
19569 while :; do
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 $ac_includes_default
19577 typedef int ac__type_sizeof_;
19578 int
19579 main ()
19580 {
19581 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19582 test_array [0] = 0
19583
19584 ;
19585 return 0;
19586 }
19587 _ACEOF
19588 rm -f conftest.$ac_objext
19589 if { (ac_try="$ac_compile"
19590 case "(($ac_try" in
19591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19592 *) ac_try_echo=$ac_try;;
19593 esac
19594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19595 (eval "$ac_compile") 2>conftest.er1
19596 ac_status=$?
19597 grep -v '^ *+' conftest.er1 >conftest.err
19598 rm -f conftest.er1
19599 cat conftest.err >&5
19600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19601 (exit $ac_status); } && {
19602 test -z "$ac_c_werror_flag" ||
19603 test ! -s conftest.err
19604 } && test -s conftest.$ac_objext; then
19605 ac_lo=$ac_mid; break
19606 else
19607 echo "$as_me: failed program was:" >&5
19608 sed 's/^/| /' conftest.$ac_ext >&5
19609
19610 ac_hi=`expr '(' $ac_mid ')' - 1`
19611 if test $ac_mid -le $ac_hi; then
19612 ac_lo= ac_hi=
19613 break
19614 fi
19615 ac_mid=`expr 2 '*' $ac_mid`
19616 fi
19617
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619 done
19620 else
19621 echo "$as_me: failed program was:" >&5
19622 sed 's/^/| /' conftest.$ac_ext >&5
19623
19624 ac_lo= ac_hi=
19625 fi
19626
19627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 fi
19629
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631 # Binary search between lo and hi bounds.
19632 while test "x$ac_lo" != "x$ac_hi"; do
19633 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19634 cat >conftest.$ac_ext <<_ACEOF
19635 /* confdefs.h. */
19636 _ACEOF
19637 cat confdefs.h >>conftest.$ac_ext
19638 cat >>conftest.$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640 $ac_includes_default
19641 typedef int ac__type_sizeof_;
19642 int
19643 main ()
19644 {
19645 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19646 test_array [0] = 0
19647
19648 ;
19649 return 0;
19650 }
19651 _ACEOF
19652 rm -f conftest.$ac_objext
19653 if { (ac_try="$ac_compile"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19657 esac
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_compile") 2>conftest.er1
19660 ac_status=$?
19661 grep -v '^ *+' conftest.er1 >conftest.err
19662 rm -f conftest.er1
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest.$ac_objext; then
19669 ac_hi=$ac_mid
19670 else
19671 echo "$as_me: failed program was:" >&5
19672 sed 's/^/| /' conftest.$ac_ext >&5
19673
19674 ac_lo=`expr '(' $ac_mid ')' + 1`
19675 fi
19676
19677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 done
19679 case $ac_lo in
19680 ?*) ac_cv_sizeof_int=$ac_lo;;
19681 '') if test "$ac_cv_type_int" = yes; then
19682 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19683 See \`config.log' for more details." >&5
19684 echo "$as_me: error: cannot compute sizeof (int)
19685 See \`config.log' for more details." >&2;}
19686 { (exit 77); exit 77; }; }
19687 else
19688 ac_cv_sizeof_int=0
19689 fi ;;
19690 esac
19691 else
19692 cat >conftest.$ac_ext <<_ACEOF
19693 /* confdefs.h. */
19694 _ACEOF
19695 cat confdefs.h >>conftest.$ac_ext
19696 cat >>conftest.$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19698 $ac_includes_default
19699 typedef int ac__type_sizeof_;
19700 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19701 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19702 #include <stdio.h>
19703 #include <stdlib.h>
19704 int
19705 main ()
19706 {
19707
19708 FILE *f = fopen ("conftest.val", "w");
19709 if (! f)
19710 return 1;
19711 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19712 {
19713 long int i = longval ();
19714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19715 return 1;
19716 fprintf (f, "%ld\n", i);
19717 }
19718 else
19719 {
19720 unsigned long int i = ulongval ();
19721 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19722 return 1;
19723 fprintf (f, "%lu\n", i);
19724 }
19725 return ferror (f) || fclose (f) != 0;
19726
19727 ;
19728 return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest$ac_exeext
19732 if { (ac_try="$ac_link"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19736 esac
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_link") 2>&5
19739 ac_status=$?
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19742 { (case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19745 esac
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_try") 2>&5
19748 ac_status=$?
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; }; then
19751 ac_cv_sizeof_int=`cat conftest.val`
19752 else
19753 echo "$as_me: program exited with status $ac_status" >&5
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19756
19757 ( exit $ac_status )
19758 if test "$ac_cv_type_int" = yes; then
19759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19760 See \`config.log' for more details." >&5
19761 echo "$as_me: error: cannot compute sizeof (int)
19762 See \`config.log' for more details." >&2;}
19763 { (exit 77); exit 77; }; }
19764 else
19765 ac_cv_sizeof_int=0
19766 fi
19767 fi
19768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19769 fi
19770 rm -f conftest.val
19771 fi
19772 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19773 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19774
19775
19776
19777 cat >>confdefs.h <<_ACEOF
19778 #define SIZEOF_INT $ac_cv_sizeof_int
19779 _ACEOF
19780
19781
19782 { echo "$as_me:$LINENO: checking for long" >&5
19783 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19784 if test "${ac_cv_type_long+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 else
19787 cat >conftest.$ac_ext <<_ACEOF
19788 /* confdefs.h. */
19789 _ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef long ac__type_new_;
19795 int
19796 main ()
19797 {
19798 if ((ac__type_new_ *) 0)
19799 return 0;
19800 if (sizeof (ac__type_new_))
19801 return 0;
19802 ;
19803 return 0;
19804 }
19805 _ACEOF
19806 rm -f conftest.$ac_objext
19807 if { (ac_try="$ac_compile"
19808 case "(($ac_try" in
19809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19810 *) ac_try_echo=$ac_try;;
19811 esac
19812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19813 (eval "$ac_compile") 2>conftest.er1
19814 ac_status=$?
19815 grep -v '^ *+' conftest.er1 >conftest.err
19816 rm -f conftest.er1
19817 cat conftest.err >&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } && {
19820 test -z "$ac_c_werror_flag" ||
19821 test ! -s conftest.err
19822 } && test -s conftest.$ac_objext; then
19823 ac_cv_type_long=yes
19824 else
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19827
19828 ac_cv_type_long=no
19829 fi
19830
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19832 fi
19833 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19834 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19835
19836 # The cast to long int works around a bug in the HP C Compiler
19837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19839 # This bug is HP SR number 8606223364.
19840 { echo "$as_me:$LINENO: checking size of long" >&5
19841 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19842 if test "${ac_cv_sizeof_long+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19844 else
19845 if test "$cross_compiling" = yes; then
19846 # Depending upon the size, compute the lo and hi bounds.
19847 cat >conftest.$ac_ext <<_ACEOF
19848 /* confdefs.h. */
19849 _ACEOF
19850 cat confdefs.h >>conftest.$ac_ext
19851 cat >>conftest.$ac_ext <<_ACEOF
19852 /* end confdefs.h. */
19853 $ac_includes_default
19854 typedef long ac__type_sizeof_;
19855 int
19856 main ()
19857 {
19858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19859 test_array [0] = 0
19860
19861 ;
19862 return 0;
19863 }
19864 _ACEOF
19865 rm -f conftest.$ac_objext
19866 if { (ac_try="$ac_compile"
19867 case "(($ac_try" in
19868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19869 *) ac_try_echo=$ac_try;;
19870 esac
19871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19872 (eval "$ac_compile") 2>conftest.er1
19873 ac_status=$?
19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } && {
19879 test -z "$ac_c_werror_flag" ||
19880 test ! -s conftest.err
19881 } && test -s conftest.$ac_objext; then
19882 ac_lo=0 ac_mid=0
19883 while :; do
19884 cat >conftest.$ac_ext <<_ACEOF
19885 /* confdefs.h. */
19886 _ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef long ac__type_sizeof_;
19892 int
19893 main ()
19894 {
19895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19896 test_array [0] = 0
19897
19898 ;
19899 return 0;
19900 }
19901 _ACEOF
19902 rm -f conftest.$ac_objext
19903 if { (ac_try="$ac_compile"
19904 case "(($ac_try" in
19905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19906 *) ac_try_echo=$ac_try;;
19907 esac
19908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19909 (eval "$ac_compile") 2>conftest.er1
19910 ac_status=$?
19911 grep -v '^ *+' conftest.er1 >conftest.err
19912 rm -f conftest.er1
19913 cat conftest.err >&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && {
19916 test -z "$ac_c_werror_flag" ||
19917 test ! -s conftest.err
19918 } && test -s conftest.$ac_objext; then
19919 ac_hi=$ac_mid; break
19920 else
19921 echo "$as_me: failed program was:" >&5
19922 sed 's/^/| /' conftest.$ac_ext >&5
19923
19924 ac_lo=`expr $ac_mid + 1`
19925 if test $ac_lo -le $ac_mid; then
19926 ac_lo= ac_hi=
19927 break
19928 fi
19929 ac_mid=`expr 2 '*' $ac_mid + 1`
19930 fi
19931
19932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19933 done
19934 else
19935 echo "$as_me: failed program was:" >&5
19936 sed 's/^/| /' conftest.$ac_ext >&5
19937
19938 cat >conftest.$ac_ext <<_ACEOF
19939 /* confdefs.h. */
19940 _ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19944 $ac_includes_default
19945 typedef long ac__type_sizeof_;
19946 int
19947 main ()
19948 {
19949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19950 test_array [0] = 0
19951
19952 ;
19953 return 0;
19954 }
19955 _ACEOF
19956 rm -f conftest.$ac_objext
19957 if { (ac_try="$ac_compile"
19958 case "(($ac_try" in
19959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19960 *) ac_try_echo=$ac_try;;
19961 esac
19962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19963 (eval "$ac_compile") 2>conftest.er1
19964 ac_status=$?
19965 grep -v '^ *+' conftest.er1 >conftest.err
19966 rm -f conftest.er1
19967 cat conftest.err >&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); } && {
19970 test -z "$ac_c_werror_flag" ||
19971 test ! -s conftest.err
19972 } && test -s conftest.$ac_objext; then
19973 ac_hi=-1 ac_mid=-1
19974 while :; do
19975 cat >conftest.$ac_ext <<_ACEOF
19976 /* confdefs.h. */
19977 _ACEOF
19978 cat confdefs.h >>conftest.$ac_ext
19979 cat >>conftest.$ac_ext <<_ACEOF
19980 /* end confdefs.h. */
19981 $ac_includes_default
19982 typedef long ac__type_sizeof_;
19983 int
19984 main ()
19985 {
19986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19987 test_array [0] = 0
19988
19989 ;
19990 return 0;
19991 }
19992 _ACEOF
19993 rm -f conftest.$ac_objext
19994 if { (ac_try="$ac_compile"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19998 esac
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_compile") 2>conftest.er1
20001 ac_status=$?
20002 grep -v '^ *+' conftest.er1 >conftest.err
20003 rm -f conftest.er1
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest.$ac_objext; then
20010 ac_lo=$ac_mid; break
20011 else
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20014
20015 ac_hi=`expr '(' $ac_mid ')' - 1`
20016 if test $ac_mid -le $ac_hi; then
20017 ac_lo= ac_hi=
20018 break
20019 fi
20020 ac_mid=`expr 2 '*' $ac_mid`
20021 fi
20022
20023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 done
20025 else
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.$ac_ext >&5
20028
20029 ac_lo= ac_hi=
20030 fi
20031
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 fi
20034
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 # Binary search between lo and hi bounds.
20037 while test "x$ac_lo" != "x$ac_hi"; do
20038 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20039 cat >conftest.$ac_ext <<_ACEOF
20040 /* confdefs.h. */
20041 _ACEOF
20042 cat confdefs.h >>conftest.$ac_ext
20043 cat >>conftest.$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20045 $ac_includes_default
20046 typedef long ac__type_sizeof_;
20047 int
20048 main ()
20049 {
20050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20051 test_array [0] = 0
20052
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 rm -f conftest.$ac_objext
20058 if { (ac_try="$ac_compile"
20059 case "(($ac_try" in
20060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20061 *) ac_try_echo=$ac_try;;
20062 esac
20063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20064 (eval "$ac_compile") 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } && {
20071 test -z "$ac_c_werror_flag" ||
20072 test ! -s conftest.err
20073 } && test -s conftest.$ac_objext; then
20074 ac_hi=$ac_mid
20075 else
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20078
20079 ac_lo=`expr '(' $ac_mid ')' + 1`
20080 fi
20081
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 done
20084 case $ac_lo in
20085 ?*) ac_cv_sizeof_long=$ac_lo;;
20086 '') if test "$ac_cv_type_long" = yes; then
20087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20088 See \`config.log' for more details." >&5
20089 echo "$as_me: error: cannot compute sizeof (long)
20090 See \`config.log' for more details." >&2;}
20091 { (exit 77); exit 77; }; }
20092 else
20093 ac_cv_sizeof_long=0
20094 fi ;;
20095 esac
20096 else
20097 cat >conftest.$ac_ext <<_ACEOF
20098 /* confdefs.h. */
20099 _ACEOF
20100 cat confdefs.h >>conftest.$ac_ext
20101 cat >>conftest.$ac_ext <<_ACEOF
20102 /* end confdefs.h. */
20103 $ac_includes_default
20104 typedef long ac__type_sizeof_;
20105 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20106 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20107 #include <stdio.h>
20108 #include <stdlib.h>
20109 int
20110 main ()
20111 {
20112
20113 FILE *f = fopen ("conftest.val", "w");
20114 if (! f)
20115 return 1;
20116 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20117 {
20118 long int i = longval ();
20119 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20120 return 1;
20121 fprintf (f, "%ld\n", i);
20122 }
20123 else
20124 {
20125 unsigned long int i = ulongval ();
20126 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20127 return 1;
20128 fprintf (f, "%lu\n", i);
20129 }
20130 return ferror (f) || fclose (f) != 0;
20131
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 rm -f conftest$ac_exeext
20137 if { (ac_try="$ac_link"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20141 esac
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_link") 2>&5
20144 ac_status=$?
20145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20147 { (case "(($ac_try" in
20148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20149 *) ac_try_echo=$ac_try;;
20150 esac
20151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20152 (eval "$ac_try") 2>&5
20153 ac_status=$?
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; }; then
20156 ac_cv_sizeof_long=`cat conftest.val`
20157 else
20158 echo "$as_me: program exited with status $ac_status" >&5
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20161
20162 ( exit $ac_status )
20163 if test "$ac_cv_type_long" = yes; then
20164 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20165 See \`config.log' for more details." >&5
20166 echo "$as_me: error: cannot compute sizeof (long)
20167 See \`config.log' for more details." >&2;}
20168 { (exit 77); exit 77; }; }
20169 else
20170 ac_cv_sizeof_long=0
20171 fi
20172 fi
20173 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20174 fi
20175 rm -f conftest.val
20176 fi
20177 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20178 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20179
20180
20181
20182 cat >>confdefs.h <<_ACEOF
20183 #define SIZEOF_LONG $ac_cv_sizeof_long
20184 _ACEOF
20185
20186
20187 { echo "$as_me:$LINENO: checking for size_t" >&5
20188 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20189 if test "${ac_cv_type_size_t+set}" = set; then
20190 echo $ECHO_N "(cached) $ECHO_C" >&6
20191 else
20192 cat >conftest.$ac_ext <<_ACEOF
20193 /* confdefs.h. */
20194 _ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef size_t ac__type_new_;
20200 int
20201 main ()
20202 {
20203 if ((ac__type_new_ *) 0)
20204 return 0;
20205 if (sizeof (ac__type_new_))
20206 return 0;
20207 ;
20208 return 0;
20209 }
20210 _ACEOF
20211 rm -f conftest.$ac_objext
20212 if { (ac_try="$ac_compile"
20213 case "(($ac_try" in
20214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20215 *) ac_try_echo=$ac_try;;
20216 esac
20217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20218 (eval "$ac_compile") 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } && {
20225 test -z "$ac_c_werror_flag" ||
20226 test ! -s conftest.err
20227 } && test -s conftest.$ac_objext; then
20228 ac_cv_type_size_t=yes
20229 else
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.$ac_ext >&5
20232
20233 ac_cv_type_size_t=no
20234 fi
20235
20236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20237 fi
20238 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20239 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20240
20241 # The cast to long int works around a bug in the HP C Compiler
20242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20244 # This bug is HP SR number 8606223364.
20245 { echo "$as_me:$LINENO: checking size of size_t" >&5
20246 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20247 if test "${ac_cv_sizeof_size_t+set}" = set; then
20248 echo $ECHO_N "(cached) $ECHO_C" >&6
20249 else
20250 if test "$cross_compiling" = yes; then
20251 # Depending upon the size, compute the lo and hi bounds.
20252 cat >conftest.$ac_ext <<_ACEOF
20253 /* confdefs.h. */
20254 _ACEOF
20255 cat confdefs.h >>conftest.$ac_ext
20256 cat >>conftest.$ac_ext <<_ACEOF
20257 /* end confdefs.h. */
20258 $ac_includes_default
20259 typedef size_t ac__type_sizeof_;
20260 int
20261 main ()
20262 {
20263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20264 test_array [0] = 0
20265
20266 ;
20267 return 0;
20268 }
20269 _ACEOF
20270 rm -f conftest.$ac_objext
20271 if { (ac_try="$ac_compile"
20272 case "(($ac_try" in
20273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20274 *) ac_try_echo=$ac_try;;
20275 esac
20276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20277 (eval "$ac_compile") 2>conftest.er1
20278 ac_status=$?
20279 grep -v '^ *+' conftest.er1 >conftest.err
20280 rm -f conftest.er1
20281 cat conftest.err >&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } && {
20284 test -z "$ac_c_werror_flag" ||
20285 test ! -s conftest.err
20286 } && test -s conftest.$ac_objext; then
20287 ac_lo=0 ac_mid=0
20288 while :; do
20289 cat >conftest.$ac_ext <<_ACEOF
20290 /* confdefs.h. */
20291 _ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 $ac_includes_default
20296 typedef size_t ac__type_sizeof_;
20297 int
20298 main ()
20299 {
20300 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20301 test_array [0] = 0
20302
20303 ;
20304 return 0;
20305 }
20306 _ACEOF
20307 rm -f conftest.$ac_objext
20308 if { (ac_try="$ac_compile"
20309 case "(($ac_try" in
20310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20311 *) ac_try_echo=$ac_try;;
20312 esac
20313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20314 (eval "$ac_compile") 2>conftest.er1
20315 ac_status=$?
20316 grep -v '^ *+' conftest.er1 >conftest.err
20317 rm -f conftest.er1
20318 cat conftest.err >&5
20319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320 (exit $ac_status); } && {
20321 test -z "$ac_c_werror_flag" ||
20322 test ! -s conftest.err
20323 } && test -s conftest.$ac_objext; then
20324 ac_hi=$ac_mid; break
20325 else
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20328
20329 ac_lo=`expr $ac_mid + 1`
20330 if test $ac_lo -le $ac_mid; then
20331 ac_lo= ac_hi=
20332 break
20333 fi
20334 ac_mid=`expr 2 '*' $ac_mid + 1`
20335 fi
20336
20337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20338 done
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 cat >conftest.$ac_ext <<_ACEOF
20344 /* confdefs.h. */
20345 _ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20350 typedef size_t ac__type_sizeof_;
20351 int
20352 main ()
20353 {
20354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20355 test_array [0] = 0
20356
20357 ;
20358 return 0;
20359 }
20360 _ACEOF
20361 rm -f conftest.$ac_objext
20362 if { (ac_try="$ac_compile"
20363 case "(($ac_try" in
20364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20365 *) ac_try_echo=$ac_try;;
20366 esac
20367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20368 (eval "$ac_compile") 2>conftest.er1
20369 ac_status=$?
20370 grep -v '^ *+' conftest.er1 >conftest.err
20371 rm -f conftest.er1
20372 cat conftest.err >&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); } && {
20375 test -z "$ac_c_werror_flag" ||
20376 test ! -s conftest.err
20377 } && test -s conftest.$ac_objext; then
20378 ac_hi=-1 ac_mid=-1
20379 while :; do
20380 cat >conftest.$ac_ext <<_ACEOF
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 $ac_includes_default
20387 typedef size_t ac__type_sizeof_;
20388 int
20389 main ()
20390 {
20391 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20392 test_array [0] = 0
20393
20394 ;
20395 return 0;
20396 }
20397 _ACEOF
20398 rm -f conftest.$ac_objext
20399 if { (ac_try="$ac_compile"
20400 case "(($ac_try" in
20401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20402 *) ac_try_echo=$ac_try;;
20403 esac
20404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20405 (eval "$ac_compile") 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } && {
20412 test -z "$ac_c_werror_flag" ||
20413 test ! -s conftest.err
20414 } && test -s conftest.$ac_objext; then
20415 ac_lo=$ac_mid; break
20416 else
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20419
20420 ac_hi=`expr '(' $ac_mid ')' - 1`
20421 if test $ac_mid -le $ac_hi; then
20422 ac_lo= ac_hi=
20423 break
20424 fi
20425 ac_mid=`expr 2 '*' $ac_mid`
20426 fi
20427
20428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20429 done
20430 else
20431 echo "$as_me: failed program was:" >&5
20432 sed 's/^/| /' conftest.$ac_ext >&5
20433
20434 ac_lo= ac_hi=
20435 fi
20436
20437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 fi
20439
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 # Binary search between lo and hi bounds.
20442 while test "x$ac_lo" != "x$ac_hi"; do
20443 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20444 cat >conftest.$ac_ext <<_ACEOF
20445 /* confdefs.h. */
20446 _ACEOF
20447 cat confdefs.h >>conftest.$ac_ext
20448 cat >>conftest.$ac_ext <<_ACEOF
20449 /* end confdefs.h. */
20450 $ac_includes_default
20451 typedef size_t ac__type_sizeof_;
20452 int
20453 main ()
20454 {
20455 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20456 test_array [0] = 0
20457
20458 ;
20459 return 0;
20460 }
20461 _ACEOF
20462 rm -f conftest.$ac_objext
20463 if { (ac_try="$ac_compile"
20464 case "(($ac_try" in
20465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20466 *) ac_try_echo=$ac_try;;
20467 esac
20468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20469 (eval "$ac_compile") 2>conftest.er1
20470 ac_status=$?
20471 grep -v '^ *+' conftest.er1 >conftest.err
20472 rm -f conftest.er1
20473 cat conftest.err >&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); } && {
20476 test -z "$ac_c_werror_flag" ||
20477 test ! -s conftest.err
20478 } && test -s conftest.$ac_objext; then
20479 ac_hi=$ac_mid
20480 else
20481 echo "$as_me: failed program was:" >&5
20482 sed 's/^/| /' conftest.$ac_ext >&5
20483
20484 ac_lo=`expr '(' $ac_mid ')' + 1`
20485 fi
20486
20487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20488 done
20489 case $ac_lo in
20490 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20491 '') if test "$ac_cv_type_size_t" = yes; then
20492 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20493 See \`config.log' for more details." >&5
20494 echo "$as_me: error: cannot compute sizeof (size_t)
20495 See \`config.log' for more details." >&2;}
20496 { (exit 77); exit 77; }; }
20497 else
20498 ac_cv_sizeof_size_t=0
20499 fi ;;
20500 esac
20501 else
20502 cat >conftest.$ac_ext <<_ACEOF
20503 /* confdefs.h. */
20504 _ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 $ac_includes_default
20509 typedef size_t ac__type_sizeof_;
20510 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20511 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20512 #include <stdio.h>
20513 #include <stdlib.h>
20514 int
20515 main ()
20516 {
20517
20518 FILE *f = fopen ("conftest.val", "w");
20519 if (! f)
20520 return 1;
20521 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20522 {
20523 long int i = longval ();
20524 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20525 return 1;
20526 fprintf (f, "%ld\n", i);
20527 }
20528 else
20529 {
20530 unsigned long int i = ulongval ();
20531 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20532 return 1;
20533 fprintf (f, "%lu\n", i);
20534 }
20535 return ferror (f) || fclose (f) != 0;
20536
20537 ;
20538 return 0;
20539 }
20540 _ACEOF
20541 rm -f conftest$ac_exeext
20542 if { (ac_try="$ac_link"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20545 *) ac_try_echo=$ac_try;;
20546 esac
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_link") 2>&5
20549 ac_status=$?
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20552 { (case "(($ac_try" in
20553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20554 *) ac_try_echo=$ac_try;;
20555 esac
20556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20557 (eval "$ac_try") 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_sizeof_size_t=`cat conftest.val`
20562 else
20563 echo "$as_me: program exited with status $ac_status" >&5
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20566
20567 ( exit $ac_status )
20568 if test "$ac_cv_type_size_t" = yes; then
20569 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20570 See \`config.log' for more details." >&5
20571 echo "$as_me: error: cannot compute sizeof (size_t)
20572 See \`config.log' for more details." >&2;}
20573 { (exit 77); exit 77; }; }
20574 else
20575 ac_cv_sizeof_size_t=0
20576 fi
20577 fi
20578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20579 fi
20580 rm -f conftest.val
20581 fi
20582 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20584
20585
20586
20587 cat >>confdefs.h <<_ACEOF
20588 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20589 _ACEOF
20590
20591
20592
20593 case "${host}" in
20594 arm-*-linux* )
20595 { echo "$as_me:$LINENO: checking for long long" >&5
20596 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20597 if test "${ac_cv_type_long_long+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20599 else
20600 cat >conftest.$ac_ext <<_ACEOF
20601 /* confdefs.h. */
20602 _ACEOF
20603 cat confdefs.h >>conftest.$ac_ext
20604 cat >>conftest.$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef long long ac__type_new_;
20608 int
20609 main ()
20610 {
20611 if ((ac__type_new_ *) 0)
20612 return 0;
20613 if (sizeof (ac__type_new_))
20614 return 0;
20615 ;
20616 return 0;
20617 }
20618 _ACEOF
20619 rm -f conftest.$ac_objext
20620 if { (ac_try="$ac_compile"
20621 case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20624 esac
20625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_compile") 2>conftest.er1
20627 ac_status=$?
20628 grep -v '^ *+' conftest.er1 >conftest.err
20629 rm -f conftest.er1
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && {
20633 test -z "$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20635 } && test -s conftest.$ac_objext; then
20636 ac_cv_type_long_long=yes
20637 else
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 ac_cv_type_long_long=no
20642 fi
20643
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645 fi
20646 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20647 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20648
20649 # The cast to long int works around a bug in the HP C Compiler
20650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20652 # This bug is HP SR number 8606223364.
20653 { echo "$as_me:$LINENO: checking size of long long" >&5
20654 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20655 if test "${ac_cv_sizeof_long_long+set}" = set; then
20656 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 else
20658 if test "$cross_compiling" = yes; then
20659 # Depending upon the size, compute the lo and hi bounds.
20660 cat >conftest.$ac_ext <<_ACEOF
20661 /* confdefs.h. */
20662 _ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20667 typedef long long ac__type_sizeof_;
20668 int
20669 main ()
20670 {
20671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20672 test_array [0] = 0
20673
20674 ;
20675 return 0;
20676 }
20677 _ACEOF
20678 rm -f conftest.$ac_objext
20679 if { (ac_try="$ac_compile"
20680 case "(($ac_try" in
20681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;;
20683 esac
20684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20685 (eval "$ac_compile") 2>conftest.er1
20686 ac_status=$?
20687 grep -v '^ *+' conftest.er1 >conftest.err
20688 rm -f conftest.er1
20689 cat conftest.err >&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && {
20692 test -z "$ac_c_werror_flag" ||
20693 test ! -s conftest.err
20694 } && test -s conftest.$ac_objext; then
20695 ac_lo=0 ac_mid=0
20696 while :; do
20697 cat >conftest.$ac_ext <<_ACEOF
20698 /* confdefs.h. */
20699 _ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20703 $ac_includes_default
20704 typedef long long ac__type_sizeof_;
20705 int
20706 main ()
20707 {
20708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20709 test_array [0] = 0
20710
20711 ;
20712 return 0;
20713 }
20714 _ACEOF
20715 rm -f conftest.$ac_objext
20716 if { (ac_try="$ac_compile"
20717 case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;;
20720 esac
20721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20722 (eval "$ac_compile") 2>conftest.er1
20723 ac_status=$?
20724 grep -v '^ *+' conftest.er1 >conftest.err
20725 rm -f conftest.er1
20726 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then
20732 ac_hi=$ac_mid; break
20733 else
20734 echo "$as_me: failed program was:" >&5
20735 sed 's/^/| /' conftest.$ac_ext >&5
20736
20737 ac_lo=`expr $ac_mid + 1`
20738 if test $ac_lo -le $ac_mid; then
20739 ac_lo= ac_hi=
20740 break
20741 fi
20742 ac_mid=`expr 2 '*' $ac_mid + 1`
20743 fi
20744
20745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20746 done
20747 else
20748 echo "$as_me: failed program was:" >&5
20749 sed 's/^/| /' conftest.$ac_ext >&5
20750
20751 cat >conftest.$ac_ext <<_ACEOF
20752 /* confdefs.h. */
20753 _ACEOF
20754 cat confdefs.h >>conftest.$ac_ext
20755 cat >>conftest.$ac_ext <<_ACEOF
20756 /* end confdefs.h. */
20757 $ac_includes_default
20758 typedef long long ac__type_sizeof_;
20759 int
20760 main ()
20761 {
20762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20763 test_array [0] = 0
20764
20765 ;
20766 return 0;
20767 }
20768 _ACEOF
20769 rm -f conftest.$ac_objext
20770 if { (ac_try="$ac_compile"
20771 case "(($ac_try" in
20772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20774 esac
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_compile") 2>conftest.er1
20777 ac_status=$?
20778 grep -v '^ *+' conftest.er1 >conftest.err
20779 rm -f conftest.er1
20780 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && {
20783 test -z "$ac_c_werror_flag" ||
20784 test ! -s conftest.err
20785 } && test -s conftest.$ac_objext; then
20786 ac_hi=-1 ac_mid=-1
20787 while :; do
20788 cat >conftest.$ac_ext <<_ACEOF
20789 /* confdefs.h. */
20790 _ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h. */
20794 $ac_includes_default
20795 typedef long long ac__type_sizeof_;
20796 int
20797 main ()
20798 {
20799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20800 test_array [0] = 0
20801
20802 ;
20803 return 0;
20804 }
20805 _ACEOF
20806 rm -f conftest.$ac_objext
20807 if { (ac_try="$ac_compile"
20808 case "(($ac_try" in
20809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20810 *) ac_try_echo=$ac_try;;
20811 esac
20812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20813 (eval "$ac_compile") 2>conftest.er1
20814 ac_status=$?
20815 grep -v '^ *+' conftest.er1 >conftest.err
20816 rm -f conftest.er1
20817 cat conftest.err >&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } && {
20820 test -z "$ac_c_werror_flag" ||
20821 test ! -s conftest.err
20822 } && test -s conftest.$ac_objext; then
20823 ac_lo=$ac_mid; break
20824 else
20825 echo "$as_me: failed program was:" >&5
20826 sed 's/^/| /' conftest.$ac_ext >&5
20827
20828 ac_hi=`expr '(' $ac_mid ')' - 1`
20829 if test $ac_mid -le $ac_hi; then
20830 ac_lo= ac_hi=
20831 break
20832 fi
20833 ac_mid=`expr 2 '*' $ac_mid`
20834 fi
20835
20836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837 done
20838 else
20839 echo "$as_me: failed program was:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20841
20842 ac_lo= ac_hi=
20843 fi
20844
20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20846 fi
20847
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 # Binary search between lo and hi bounds.
20850 while test "x$ac_lo" != "x$ac_hi"; do
20851 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20852 cat >conftest.$ac_ext <<_ACEOF
20853 /* confdefs.h. */
20854 _ACEOF
20855 cat confdefs.h >>conftest.$ac_ext
20856 cat >>conftest.$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20859 typedef long long ac__type_sizeof_;
20860 int
20861 main ()
20862 {
20863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20864 test_array [0] = 0
20865
20866 ;
20867 return 0;
20868 }
20869 _ACEOF
20870 rm -f conftest.$ac_objext
20871 if { (ac_try="$ac_compile"
20872 case "(($ac_try" in
20873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;;
20875 esac
20876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20877 (eval "$ac_compile") 2>conftest.er1
20878 ac_status=$?
20879 grep -v '^ *+' conftest.er1 >conftest.err
20880 rm -f conftest.er1
20881 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } && {
20884 test -z "$ac_c_werror_flag" ||
20885 test ! -s conftest.err
20886 } && test -s conftest.$ac_objext; then
20887 ac_hi=$ac_mid
20888 else
20889 echo "$as_me: failed program was:" >&5
20890 sed 's/^/| /' conftest.$ac_ext >&5
20891
20892 ac_lo=`expr '(' $ac_mid ')' + 1`
20893 fi
20894
20895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20896 done
20897 case $ac_lo in
20898 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20899 '') if test "$ac_cv_type_long_long" = yes; then
20900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20901 See \`config.log' for more details." >&5
20902 echo "$as_me: error: cannot compute sizeof (long long)
20903 See \`config.log' for more details." >&2;}
20904 { (exit 77); exit 77; }; }
20905 else
20906 ac_cv_sizeof_long_long=0
20907 fi ;;
20908 esac
20909 else
20910 cat >conftest.$ac_ext <<_ACEOF
20911 /* confdefs.h. */
20912 _ACEOF
20913 cat confdefs.h >>conftest.$ac_ext
20914 cat >>conftest.$ac_ext <<_ACEOF
20915 /* end confdefs.h. */
20916 $ac_includes_default
20917 typedef long long ac__type_sizeof_;
20918 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20919 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20920 #include <stdio.h>
20921 #include <stdlib.h>
20922 int
20923 main ()
20924 {
20925
20926 FILE *f = fopen ("conftest.val", "w");
20927 if (! f)
20928 return 1;
20929 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20930 {
20931 long int i = longval ();
20932 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20933 return 1;
20934 fprintf (f, "%ld\n", i);
20935 }
20936 else
20937 {
20938 unsigned long int i = ulongval ();
20939 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20940 return 1;
20941 fprintf (f, "%lu\n", i);
20942 }
20943 return ferror (f) || fclose (f) != 0;
20944
20945 ;
20946 return 0;
20947 }
20948 _ACEOF
20949 rm -f conftest$ac_exeext
20950 if { (ac_try="$ac_link"
20951 case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;;
20954 esac
20955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20956 (eval "$ac_link") 2>&5
20957 ac_status=$?
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20960 { (case "(($ac_try" in
20961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;;
20963 esac
20964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20965 (eval "$ac_try") 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 ac_cv_sizeof_long_long=`cat conftest.val`
20970 else
20971 echo "$as_me: program exited with status $ac_status" >&5
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20974
20975 ( exit $ac_status )
20976 if test "$ac_cv_type_long_long" = yes; then
20977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20978 See \`config.log' for more details." >&5
20979 echo "$as_me: error: cannot compute sizeof (long long)
20980 See \`config.log' for more details." >&2;}
20981 { (exit 77); exit 77; }; }
20982 else
20983 ac_cv_sizeof_long_long=0
20984 fi
20985 fi
20986 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20987 fi
20988 rm -f conftest.val
20989 fi
20990 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20991 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20992
20993
20994
20995 cat >>confdefs.h <<_ACEOF
20996 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20997 _ACEOF
20998
20999
21000 ;;
21001 *-hp-hpux* )
21002 { echo "$as_me:$LINENO: checking for long long" >&5
21003 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21004 if test "${ac_cv_type_long_long+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 else
21007 cat >conftest.$ac_ext <<_ACEOF
21008 /* confdefs.h. */
21009 _ACEOF
21010 cat confdefs.h >>conftest.$ac_ext
21011 cat >>conftest.$ac_ext <<_ACEOF
21012 /* end confdefs.h. */
21013 $ac_includes_default
21014 typedef long long ac__type_new_;
21015 int
21016 main ()
21017 {
21018 if ((ac__type_new_ *) 0)
21019 return 0;
21020 if (sizeof (ac__type_new_))
21021 return 0;
21022 ;
21023 return 0;
21024 }
21025 _ACEOF
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030 *) ac_try_echo=$ac_try;;
21031 esac
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033 (eval "$ac_compile") 2>conftest.er1
21034 ac_status=$?
21035 grep -v '^ *+' conftest.er1 >conftest.err
21036 rm -f conftest.er1
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } && {
21040 test -z "$ac_c_werror_flag" ||
21041 test ! -s conftest.err
21042 } && test -s conftest.$ac_objext; then
21043 ac_cv_type_long_long=yes
21044 else
21045 echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048 ac_cv_type_long_long=no
21049 fi
21050
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 fi
21053 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21055
21056 # The cast to long int works around a bug in the HP C Compiler
21057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21059 # This bug is HP SR number 8606223364.
21060 { echo "$as_me:$LINENO: checking size of long long" >&5
21061 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21062 if test "${ac_cv_sizeof_long_long+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21064 else
21065 if test "$cross_compiling" = yes; then
21066 # Depending upon the size, compute the lo and hi bounds.
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 typedef long long ac__type_sizeof_;
21075 int
21076 main ()
21077 {
21078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21079 test_array [0] = 0
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (ac_try="$ac_compile"
21087 case "(($ac_try" in
21088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21089 *) ac_try_echo=$ac_try;;
21090 esac
21091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21092 (eval "$ac_compile") 2>conftest.er1
21093 ac_status=$?
21094 grep -v '^ *+' conftest.er1 >conftest.err
21095 rm -f conftest.er1
21096 cat conftest.err >&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } && {
21099 test -z "$ac_c_werror_flag" ||
21100 test ! -s conftest.err
21101 } && test -s conftest.$ac_objext; then
21102 ac_lo=0 ac_mid=0
21103 while :; do
21104 cat >conftest.$ac_ext <<_ACEOF
21105 /* confdefs.h. */
21106 _ACEOF
21107 cat confdefs.h >>conftest.$ac_ext
21108 cat >>conftest.$ac_ext <<_ACEOF
21109 /* end confdefs.h. */
21110 $ac_includes_default
21111 typedef long long ac__type_sizeof_;
21112 int
21113 main ()
21114 {
21115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21116 test_array [0] = 0
21117
21118 ;
21119 return 0;
21120 }
21121 _ACEOF
21122 rm -f conftest.$ac_objext
21123 if { (ac_try="$ac_compile"
21124 case "(($ac_try" in
21125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21126 *) ac_try_echo=$ac_try;;
21127 esac
21128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21129 (eval "$ac_compile") 2>conftest.er1
21130 ac_status=$?
21131 grep -v '^ *+' conftest.er1 >conftest.err
21132 rm -f conftest.er1
21133 cat conftest.err >&5
21134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21135 (exit $ac_status); } && {
21136 test -z "$ac_c_werror_flag" ||
21137 test ! -s conftest.err
21138 } && test -s conftest.$ac_objext; then
21139 ac_hi=$ac_mid; break
21140 else
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21143
21144 ac_lo=`expr $ac_mid + 1`
21145 if test $ac_lo -le $ac_mid; then
21146 ac_lo= ac_hi=
21147 break
21148 fi
21149 ac_mid=`expr 2 '*' $ac_mid + 1`
21150 fi
21151
21152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21153 done
21154 else
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.$ac_ext >&5
21157
21158 cat >conftest.$ac_ext <<_ACEOF
21159 /* confdefs.h. */
21160 _ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef long long ac__type_sizeof_;
21166 int
21167 main ()
21168 {
21169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21170 test_array [0] = 0
21171
21172 ;
21173 return 0;
21174 }
21175 _ACEOF
21176 rm -f conftest.$ac_objext
21177 if { (ac_try="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21181 esac
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } && {
21190 test -z "$ac_c_werror_flag" ||
21191 test ! -s conftest.err
21192 } && test -s conftest.$ac_objext; then
21193 ac_hi=-1 ac_mid=-1
21194 while :; do
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 typedef long long ac__type_sizeof_;
21203 int
21204 main ()
21205 {
21206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21207 test_array [0] = 0
21208
21209 ;
21210 return 0;
21211 }
21212 _ACEOF
21213 rm -f conftest.$ac_objext
21214 if { (ac_try="$ac_compile"
21215 case "(($ac_try" in
21216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21217 *) ac_try_echo=$ac_try;;
21218 esac
21219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21220 (eval "$ac_compile") 2>conftest.er1
21221 ac_status=$?
21222 grep -v '^ *+' conftest.er1 >conftest.err
21223 rm -f conftest.er1
21224 cat conftest.err >&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } && {
21227 test -z "$ac_c_werror_flag" ||
21228 test ! -s conftest.err
21229 } && test -s conftest.$ac_objext; then
21230 ac_lo=$ac_mid; break
21231 else
21232 echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21234
21235 ac_hi=`expr '(' $ac_mid ')' - 1`
21236 if test $ac_mid -le $ac_hi; then
21237 ac_lo= ac_hi=
21238 break
21239 fi
21240 ac_mid=`expr 2 '*' $ac_mid`
21241 fi
21242
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 done
21245 else
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21248
21249 ac_lo= ac_hi=
21250 fi
21251
21252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21253 fi
21254
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 typedef long long ac__type_sizeof_;
21267 int
21268 main ()
21269 {
21270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21271 test_array [0] = 0
21272
21273 ;
21274 return 0;
21275 }
21276 _ACEOF
21277 rm -f conftest.$ac_objext
21278 if { (ac_try="$ac_compile"
21279 case "(($ac_try" in
21280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21281 *) ac_try_echo=$ac_try;;
21282 esac
21283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21284 (eval "$ac_compile") 2>conftest.er1
21285 ac_status=$?
21286 grep -v '^ *+' conftest.er1 >conftest.err
21287 rm -f conftest.er1
21288 cat conftest.err >&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); } && {
21291 test -z "$ac_c_werror_flag" ||
21292 test ! -s conftest.err
21293 } && test -s conftest.$ac_objext; then
21294 ac_hi=$ac_mid
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 ac_lo=`expr '(' $ac_mid ')' + 1`
21300 fi
21301
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 done
21304 case $ac_lo in
21305 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21306 '') if test "$ac_cv_type_long_long" = yes; then
21307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21308 See \`config.log' for more details." >&5
21309 echo "$as_me: error: cannot compute sizeof (long long)
21310 See \`config.log' for more details." >&2;}
21311 { (exit 77); exit 77; }; }
21312 else
21313 ac_cv_sizeof_long_long=0
21314 fi ;;
21315 esac
21316 else
21317 cat >conftest.$ac_ext <<_ACEOF
21318 /* confdefs.h. */
21319 _ACEOF
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 $ac_includes_default
21324 typedef long long ac__type_sizeof_;
21325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21327 #include <stdio.h>
21328 #include <stdlib.h>
21329 int
21330 main ()
21331 {
21332
21333 FILE *f = fopen ("conftest.val", "w");
21334 if (! f)
21335 return 1;
21336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21337 {
21338 long int i = longval ();
21339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21340 return 1;
21341 fprintf (f, "%ld\n", i);
21342 }
21343 else
21344 {
21345 unsigned long int i = ulongval ();
21346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21347 return 1;
21348 fprintf (f, "%lu\n", i);
21349 }
21350 return ferror (f) || fclose (f) != 0;
21351
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest$ac_exeext
21357 if { (ac_try="$ac_link"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21361 esac
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_link") 2>&5
21364 ac_status=$?
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21367 { (case "(($ac_try" in
21368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21370 esac
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_try") 2>&5
21373 ac_status=$?
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); }; }; then
21376 ac_cv_sizeof_long_long=`cat conftest.val`
21377 else
21378 echo "$as_me: program exited with status $ac_status" >&5
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21381
21382 ( exit $ac_status )
21383 if test "$ac_cv_type_long_long" = yes; then
21384 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21385 See \`config.log' for more details." >&5
21386 echo "$as_me: error: cannot compute sizeof (long long)
21387 See \`config.log' for more details." >&2;}
21388 { (exit 77); exit 77; }; }
21389 else
21390 ac_cv_sizeof_long_long=0
21391 fi
21392 fi
21393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21394 fi
21395 rm -f conftest.val
21396 fi
21397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21398 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21399
21400
21401
21402 cat >>confdefs.h <<_ACEOF
21403 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21404 _ACEOF
21405
21406
21407 if test "$ac_cv_sizeof_long_long" != "0"; then
21408 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21409 fi
21410 ;;
21411 * )
21412 { echo "$as_me:$LINENO: checking for long long" >&5
21413 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21414 if test "${ac_cv_type_long_long+set}" = set; then
21415 echo $ECHO_N "(cached) $ECHO_C" >&6
21416 else
21417 cat >conftest.$ac_ext <<_ACEOF
21418 /* confdefs.h. */
21419 _ACEOF
21420 cat confdefs.h >>conftest.$ac_ext
21421 cat >>conftest.$ac_ext <<_ACEOF
21422 /* end confdefs.h. */
21423 $ac_includes_default
21424 typedef long long ac__type_new_;
21425 int
21426 main ()
21427 {
21428 if ((ac__type_new_ *) 0)
21429 return 0;
21430 if (sizeof (ac__type_new_))
21431 return 0;
21432 ;
21433 return 0;
21434 }
21435 _ACEOF
21436 rm -f conftest.$ac_objext
21437 if { (ac_try="$ac_compile"
21438 case "(($ac_try" in
21439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21440 *) ac_try_echo=$ac_try;;
21441 esac
21442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21443 (eval "$ac_compile") 2>conftest.er1
21444 ac_status=$?
21445 grep -v '^ *+' conftest.er1 >conftest.err
21446 rm -f conftest.er1
21447 cat conftest.err >&5
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && {
21450 test -z "$ac_c_werror_flag" ||
21451 test ! -s conftest.err
21452 } && test -s conftest.$ac_objext; then
21453 ac_cv_type_long_long=yes
21454 else
21455 echo "$as_me: failed program was:" >&5
21456 sed 's/^/| /' conftest.$ac_ext >&5
21457
21458 ac_cv_type_long_long=no
21459 fi
21460
21461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21462 fi
21463 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21464 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21465
21466 # The cast to long int works around a bug in the HP C Compiler
21467 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21468 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21469 # This bug is HP SR number 8606223364.
21470 { echo "$as_me:$LINENO: checking size of long long" >&5
21471 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21472 if test "${ac_cv_sizeof_long_long+set}" = set; then
21473 echo $ECHO_N "(cached) $ECHO_C" >&6
21474 else
21475 if test "$cross_compiling" = yes; then
21476 # Depending upon the size, compute the lo and hi bounds.
21477 cat >conftest.$ac_ext <<_ACEOF
21478 /* confdefs.h. */
21479 _ACEOF
21480 cat confdefs.h >>conftest.$ac_ext
21481 cat >>conftest.$ac_ext <<_ACEOF
21482 /* end confdefs.h. */
21483 $ac_includes_default
21484 typedef long long ac__type_sizeof_;
21485 int
21486 main ()
21487 {
21488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21489 test_array [0] = 0
21490
21491 ;
21492 return 0;
21493 }
21494 _ACEOF
21495 rm -f conftest.$ac_objext
21496 if { (ac_try="$ac_compile"
21497 case "(($ac_try" in
21498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21499 *) ac_try_echo=$ac_try;;
21500 esac
21501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21502 (eval "$ac_compile") 2>conftest.er1
21503 ac_status=$?
21504 grep -v '^ *+' conftest.er1 >conftest.err
21505 rm -f conftest.er1
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } && {
21509 test -z "$ac_c_werror_flag" ||
21510 test ! -s conftest.err
21511 } && test -s conftest.$ac_objext; then
21512 ac_lo=0 ac_mid=0
21513 while :; do
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h. */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef long long ac__type_sizeof_;
21522 int
21523 main ()
21524 {
21525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21526 test_array [0] = 0
21527
21528 ;
21529 return 0;
21530 }
21531 _ACEOF
21532 rm -f conftest.$ac_objext
21533 if { (ac_try="$ac_compile"
21534 case "(($ac_try" in
21535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21536 *) ac_try_echo=$ac_try;;
21537 esac
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_compile") 2>conftest.er1
21540 ac_status=$?
21541 grep -v '^ *+' conftest.er1 >conftest.err
21542 rm -f conftest.er1
21543 cat conftest.err >&5
21544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21545 (exit $ac_status); } && {
21546 test -z "$ac_c_werror_flag" ||
21547 test ! -s conftest.err
21548 } && test -s conftest.$ac_objext; then
21549 ac_hi=$ac_mid; break
21550 else
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.$ac_ext >&5
21553
21554 ac_lo=`expr $ac_mid + 1`
21555 if test $ac_lo -le $ac_mid; then
21556 ac_lo= ac_hi=
21557 break
21558 fi
21559 ac_mid=`expr 2 '*' $ac_mid + 1`
21560 fi
21561
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563 done
21564 else
21565 echo "$as_me: failed program was:" >&5
21566 sed 's/^/| /' conftest.$ac_ext >&5
21567
21568 cat >conftest.$ac_ext <<_ACEOF
21569 /* confdefs.h. */
21570 _ACEOF
21571 cat confdefs.h >>conftest.$ac_ext
21572 cat >>conftest.$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 $ac_includes_default
21575 typedef long long ac__type_sizeof_;
21576 int
21577 main ()
21578 {
21579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21580 test_array [0] = 0
21581
21582 ;
21583 return 0;
21584 }
21585 _ACEOF
21586 rm -f conftest.$ac_objext
21587 if { (ac_try="$ac_compile"
21588 case "(($ac_try" in
21589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21590 *) ac_try_echo=$ac_try;;
21591 esac
21592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21593 (eval "$ac_compile") 2>conftest.er1
21594 ac_status=$?
21595 grep -v '^ *+' conftest.er1 >conftest.err
21596 rm -f conftest.er1
21597 cat conftest.err >&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest.$ac_objext; then
21603 ac_hi=-1 ac_mid=-1
21604 while :; do
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_sizeof_;
21613 int
21614 main ()
21615 {
21616 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21617 test_array [0] = 0
21618
21619 ;
21620 return 0;
21621 }
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (ac_try="$ac_compile"
21625 case "(($ac_try" in
21626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21627 *) ac_try_echo=$ac_try;;
21628 esac
21629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21630 (eval "$ac_compile") 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest.$ac_objext; then
21640 ac_lo=$ac_mid; break
21641 else
21642 echo "$as_me: failed program was:" >&5
21643 sed 's/^/| /' conftest.$ac_ext >&5
21644
21645 ac_hi=`expr '(' $ac_mid ')' - 1`
21646 if test $ac_mid -le $ac_hi; then
21647 ac_lo= ac_hi=
21648 break
21649 fi
21650 ac_mid=`expr 2 '*' $ac_mid`
21651 fi
21652
21653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21654 done
21655 else
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.$ac_ext >&5
21658
21659 ac_lo= ac_hi=
21660 fi
21661
21662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21663 fi
21664
21665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21666 # Binary search between lo and hi bounds.
21667 while test "x$ac_lo" != "x$ac_hi"; do
21668 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21669 cat >conftest.$ac_ext <<_ACEOF
21670 /* confdefs.h. */
21671 _ACEOF
21672 cat confdefs.h >>conftest.$ac_ext
21673 cat >>conftest.$ac_ext <<_ACEOF
21674 /* end confdefs.h. */
21675 $ac_includes_default
21676 typedef long long ac__type_sizeof_;
21677 int
21678 main ()
21679 {
21680 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21681 test_array [0] = 0
21682
21683 ;
21684 return 0;
21685 }
21686 _ACEOF
21687 rm -f conftest.$ac_objext
21688 if { (ac_try="$ac_compile"
21689 case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21692 esac
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_compile") 2>conftest.er1
21695 ac_status=$?
21696 grep -v '^ *+' conftest.er1 >conftest.err
21697 rm -f conftest.er1
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } && {
21701 test -z "$ac_c_werror_flag" ||
21702 test ! -s conftest.err
21703 } && test -s conftest.$ac_objext; then
21704 ac_hi=$ac_mid
21705 else
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21708
21709 ac_lo=`expr '(' $ac_mid ')' + 1`
21710 fi
21711
21712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 done
21714 case $ac_lo in
21715 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21716 '') if test "$ac_cv_type_long_long" = yes; then
21717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21718 See \`config.log' for more details." >&5
21719 echo "$as_me: error: cannot compute sizeof (long long)
21720 See \`config.log' for more details." >&2;}
21721 { (exit 77); exit 77; }; }
21722 else
21723 ac_cv_sizeof_long_long=0
21724 fi ;;
21725 esac
21726 else
21727 cat >conftest.$ac_ext <<_ACEOF
21728 /* confdefs.h. */
21729 _ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733 $ac_includes_default
21734 typedef long long ac__type_sizeof_;
21735 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21736 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21737 #include <stdio.h>
21738 #include <stdlib.h>
21739 int
21740 main ()
21741 {
21742
21743 FILE *f = fopen ("conftest.val", "w");
21744 if (! f)
21745 return 1;
21746 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21747 {
21748 long int i = longval ();
21749 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21750 return 1;
21751 fprintf (f, "%ld\n", i);
21752 }
21753 else
21754 {
21755 unsigned long int i = ulongval ();
21756 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21757 return 1;
21758 fprintf (f, "%lu\n", i);
21759 }
21760 return ferror (f) || fclose (f) != 0;
21761
21762 ;
21763 return 0;
21764 }
21765 _ACEOF
21766 rm -f conftest$ac_exeext
21767 if { (ac_try="$ac_link"
21768 case "(($ac_try" in
21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21771 esac
21772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_link") 2>&5
21774 ac_status=$?
21775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21776 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21777 { (case "(($ac_try" in
21778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21779 *) ac_try_echo=$ac_try;;
21780 esac
21781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21782 (eval "$ac_try") 2>&5
21783 ac_status=$?
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); }; }; then
21786 ac_cv_sizeof_long_long=`cat conftest.val`
21787 else
21788 echo "$as_me: program exited with status $ac_status" >&5
21789 echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.$ac_ext >&5
21791
21792 ( exit $ac_status )
21793 if test "$ac_cv_type_long_long" = yes; then
21794 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21795 See \`config.log' for more details." >&5
21796 echo "$as_me: error: cannot compute sizeof (long long)
21797 See \`config.log' for more details." >&2;}
21798 { (exit 77); exit 77; }; }
21799 else
21800 ac_cv_sizeof_long_long=0
21801 fi
21802 fi
21803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21804 fi
21805 rm -f conftest.val
21806 fi
21807 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21808 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21809
21810
21811
21812 cat >>confdefs.h <<_ACEOF
21813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21814 _ACEOF
21815
21816
21817 esac
21818
21819 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21821 if test "${ac_cv_type_wchar_t+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 else
21824 cat >conftest.$ac_ext <<_ACEOF
21825 /* confdefs.h. */
21826 _ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830
21831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21833 # error "fake wchar_t"
21834 #endif
21835 #ifdef HAVE_WCHAR_H
21836 # ifdef __CYGWIN__
21837 # include <stddef.h>
21838 # endif
21839 # include <wchar.h>
21840 #endif
21841 #ifdef HAVE_STDLIB_H
21842 # include <stdlib.h>
21843 #endif
21844 #include <stdio.h>
21845
21846
21847
21848 typedef wchar_t ac__type_new_;
21849 int
21850 main ()
21851 {
21852 if ((ac__type_new_ *) 0)
21853 return 0;
21854 if (sizeof (ac__type_new_))
21855 return 0;
21856 ;
21857 return 0;
21858 }
21859 _ACEOF
21860 rm -f conftest.$ac_objext
21861 if { (ac_try="$ac_compile"
21862 case "(($ac_try" in
21863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21864 *) ac_try_echo=$ac_try;;
21865 esac
21866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21867 (eval "$ac_compile") 2>conftest.er1
21868 ac_status=$?
21869 grep -v '^ *+' conftest.er1 >conftest.err
21870 rm -f conftest.er1
21871 cat conftest.err >&5
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); } && {
21874 test -z "$ac_c_werror_flag" ||
21875 test ! -s conftest.err
21876 } && test -s conftest.$ac_objext; then
21877 ac_cv_type_wchar_t=yes
21878 else
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 ac_cv_type_wchar_t=no
21883 fi
21884
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886 fi
21887 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21888 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21889
21890 # The cast to long int works around a bug in the HP C Compiler
21891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21893 # This bug is HP SR number 8606223364.
21894 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21895 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21896 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21897 echo $ECHO_N "(cached) $ECHO_C" >&6
21898 else
21899 if test "$cross_compiling" = yes; then
21900 # Depending upon the size, compute the lo and hi bounds.
21901 cat >conftest.$ac_ext <<_ACEOF
21902 /* confdefs.h. */
21903 _ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h. */
21907
21908 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21909 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21910 # error "fake wchar_t"
21911 #endif
21912 #ifdef HAVE_WCHAR_H
21913 # ifdef __CYGWIN__
21914 # include <stddef.h>
21915 # endif
21916 # include <wchar.h>
21917 #endif
21918 #ifdef HAVE_STDLIB_H
21919 # include <stdlib.h>
21920 #endif
21921 #include <stdio.h>
21922
21923
21924
21925 typedef wchar_t ac__type_sizeof_;
21926 int
21927 main ()
21928 {
21929 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21930 test_array [0] = 0
21931
21932 ;
21933 return 0;
21934 }
21935 _ACEOF
21936 rm -f conftest.$ac_objext
21937 if { (ac_try="$ac_compile"
21938 case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21941 esac
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_compile") 2>conftest.er1
21944 ac_status=$?
21945 grep -v '^ *+' conftest.er1 >conftest.err
21946 rm -f conftest.er1
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest.$ac_objext; then
21953 ac_lo=0 ac_mid=0
21954 while :; do
21955 cat >conftest.$ac_ext <<_ACEOF
21956 /* confdefs.h. */
21957 _ACEOF
21958 cat confdefs.h >>conftest.$ac_ext
21959 cat >>conftest.$ac_ext <<_ACEOF
21960 /* end confdefs.h. */
21961
21962 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21963 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21964 # error "fake wchar_t"
21965 #endif
21966 #ifdef HAVE_WCHAR_H
21967 # ifdef __CYGWIN__
21968 # include <stddef.h>
21969 # endif
21970 # include <wchar.h>
21971 #endif
21972 #ifdef HAVE_STDLIB_H
21973 # include <stdlib.h>
21974 #endif
21975 #include <stdio.h>
21976
21977
21978
21979 typedef wchar_t ac__type_sizeof_;
21980 int
21981 main ()
21982 {
21983 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21984 test_array [0] = 0
21985
21986 ;
21987 return 0;
21988 }
21989 _ACEOF
21990 rm -f conftest.$ac_objext
21991 if { (ac_try="$ac_compile"
21992 case "(($ac_try" in
21993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21994 *) ac_try_echo=$ac_try;;
21995 esac
21996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21997 (eval "$ac_compile") 2>conftest.er1
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } && {
22004 test -z "$ac_c_werror_flag" ||
22005 test ! -s conftest.err
22006 } && test -s conftest.$ac_objext; then
22007 ac_hi=$ac_mid; break
22008 else
22009 echo "$as_me: failed program was:" >&5
22010 sed 's/^/| /' conftest.$ac_ext >&5
22011
22012 ac_lo=`expr $ac_mid + 1`
22013 if test $ac_lo -le $ac_mid; then
22014 ac_lo= ac_hi=
22015 break
22016 fi
22017 ac_mid=`expr 2 '*' $ac_mid + 1`
22018 fi
22019
22020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22021 done
22022 else
22023 echo "$as_me: failed program was:" >&5
22024 sed 's/^/| /' conftest.$ac_ext >&5
22025
22026 cat >conftest.$ac_ext <<_ACEOF
22027 /* confdefs.h. */
22028 _ACEOF
22029 cat confdefs.h >>conftest.$ac_ext
22030 cat >>conftest.$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032
22033 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22034 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22035 # error "fake wchar_t"
22036 #endif
22037 #ifdef HAVE_WCHAR_H
22038 # ifdef __CYGWIN__
22039 # include <stddef.h>
22040 # endif
22041 # include <wchar.h>
22042 #endif
22043 #ifdef HAVE_STDLIB_H
22044 # include <stdlib.h>
22045 #endif
22046 #include <stdio.h>
22047
22048
22049
22050 typedef wchar_t ac__type_sizeof_;
22051 int
22052 main ()
22053 {
22054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22055 test_array [0] = 0
22056
22057 ;
22058 return 0;
22059 }
22060 _ACEOF
22061 rm -f conftest.$ac_objext
22062 if { (ac_try="$ac_compile"
22063 case "(($ac_try" in
22064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22065 *) ac_try_echo=$ac_try;;
22066 esac
22067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22068 (eval "$ac_compile") 2>conftest.er1
22069 ac_status=$?
22070 grep -v '^ *+' conftest.er1 >conftest.err
22071 rm -f conftest.er1
22072 cat conftest.err >&5
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); } && {
22075 test -z "$ac_c_werror_flag" ||
22076 test ! -s conftest.err
22077 } && test -s conftest.$ac_objext; then
22078 ac_hi=-1 ac_mid=-1
22079 while :; do
22080 cat >conftest.$ac_ext <<_ACEOF
22081 /* confdefs.h. */
22082 _ACEOF
22083 cat confdefs.h >>conftest.$ac_ext
22084 cat >>conftest.$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22086
22087 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22088 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22089 # error "fake wchar_t"
22090 #endif
22091 #ifdef HAVE_WCHAR_H
22092 # ifdef __CYGWIN__
22093 # include <stddef.h>
22094 # endif
22095 # include <wchar.h>
22096 #endif
22097 #ifdef HAVE_STDLIB_H
22098 # include <stdlib.h>
22099 #endif
22100 #include <stdio.h>
22101
22102
22103
22104 typedef wchar_t ac__type_sizeof_;
22105 int
22106 main ()
22107 {
22108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22109 test_array [0] = 0
22110
22111 ;
22112 return 0;
22113 }
22114 _ACEOF
22115 rm -f conftest.$ac_objext
22116 if { (ac_try="$ac_compile"
22117 case "(($ac_try" in
22118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22119 *) ac_try_echo=$ac_try;;
22120 esac
22121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22122 (eval "$ac_compile") 2>conftest.er1
22123 ac_status=$?
22124 grep -v '^ *+' conftest.er1 >conftest.err
22125 rm -f conftest.er1
22126 cat conftest.err >&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); } && {
22129 test -z "$ac_c_werror_flag" ||
22130 test ! -s conftest.err
22131 } && test -s conftest.$ac_objext; then
22132 ac_lo=$ac_mid; break
22133 else
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.$ac_ext >&5
22136
22137 ac_hi=`expr '(' $ac_mid ')' - 1`
22138 if test $ac_mid -le $ac_hi; then
22139 ac_lo= ac_hi=
22140 break
22141 fi
22142 ac_mid=`expr 2 '*' $ac_mid`
22143 fi
22144
22145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22146 done
22147 else
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22150
22151 ac_lo= ac_hi=
22152 fi
22153
22154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22155 fi
22156
22157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22158 # Binary search between lo and hi bounds.
22159 while test "x$ac_lo" != "x$ac_hi"; do
22160 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22161 cat >conftest.$ac_ext <<_ACEOF
22162 /* confdefs.h. */
22163 _ACEOF
22164 cat confdefs.h >>conftest.$ac_ext
22165 cat >>conftest.$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22167
22168 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22169 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22170 # error "fake wchar_t"
22171 #endif
22172 #ifdef HAVE_WCHAR_H
22173 # ifdef __CYGWIN__
22174 # include <stddef.h>
22175 # endif
22176 # include <wchar.h>
22177 #endif
22178 #ifdef HAVE_STDLIB_H
22179 # include <stdlib.h>
22180 #endif
22181 #include <stdio.h>
22182
22183
22184
22185 typedef wchar_t ac__type_sizeof_;
22186 int
22187 main ()
22188 {
22189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22190 test_array [0] = 0
22191
22192 ;
22193 return 0;
22194 }
22195 _ACEOF
22196 rm -f conftest.$ac_objext
22197 if { (ac_try="$ac_compile"
22198 case "(($ac_try" in
22199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22200 *) ac_try_echo=$ac_try;;
22201 esac
22202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 (eval "$ac_compile") 2>conftest.er1
22204 ac_status=$?
22205 grep -v '^ *+' conftest.er1 >conftest.err
22206 rm -f conftest.er1
22207 cat conftest.err >&5
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); } && {
22210 test -z "$ac_c_werror_flag" ||
22211 test ! -s conftest.err
22212 } && test -s conftest.$ac_objext; then
22213 ac_hi=$ac_mid
22214 else
22215 echo "$as_me: failed program was:" >&5
22216 sed 's/^/| /' conftest.$ac_ext >&5
22217
22218 ac_lo=`expr '(' $ac_mid ')' + 1`
22219 fi
22220
22221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22222 done
22223 case $ac_lo in
22224 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22225 '') if test "$ac_cv_type_wchar_t" = yes; then
22226 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22227 See \`config.log' for more details." >&5
22228 echo "$as_me: error: cannot compute sizeof (wchar_t)
22229 See \`config.log' for more details." >&2;}
22230 { (exit 77); exit 77; }; }
22231 else
22232 ac_cv_sizeof_wchar_t=0
22233 fi ;;
22234 esac
22235 else
22236 cat >conftest.$ac_ext <<_ACEOF
22237 /* confdefs.h. */
22238 _ACEOF
22239 cat confdefs.h >>conftest.$ac_ext
22240 cat >>conftest.$ac_ext <<_ACEOF
22241 /* end confdefs.h. */
22242
22243 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22244 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22245 # error "fake wchar_t"
22246 #endif
22247 #ifdef HAVE_WCHAR_H
22248 # ifdef __CYGWIN__
22249 # include <stddef.h>
22250 # endif
22251 # include <wchar.h>
22252 #endif
22253 #ifdef HAVE_STDLIB_H
22254 # include <stdlib.h>
22255 #endif
22256 #include <stdio.h>
22257
22258
22259
22260 typedef wchar_t ac__type_sizeof_;
22261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22263 #include <stdio.h>
22264 #include <stdlib.h>
22265 int
22266 main ()
22267 {
22268
22269 FILE *f = fopen ("conftest.val", "w");
22270 if (! f)
22271 return 1;
22272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22273 {
22274 long int i = longval ();
22275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22276 return 1;
22277 fprintf (f, "%ld\n", i);
22278 }
22279 else
22280 {
22281 unsigned long int i = ulongval ();
22282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22283 return 1;
22284 fprintf (f, "%lu\n", i);
22285 }
22286 return ferror (f) || fclose (f) != 0;
22287
22288 ;
22289 return 0;
22290 }
22291 _ACEOF
22292 rm -f conftest$ac_exeext
22293 if { (ac_try="$ac_link"
22294 case "(($ac_try" in
22295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22296 *) ac_try_echo=$ac_try;;
22297 esac
22298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22299 (eval "$ac_link") 2>&5
22300 ac_status=$?
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22303 { (case "(($ac_try" in
22304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22305 *) ac_try_echo=$ac_try;;
22306 esac
22307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22308 (eval "$ac_try") 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; }; then
22312 ac_cv_sizeof_wchar_t=`cat conftest.val`
22313 else
22314 echo "$as_me: program exited with status $ac_status" >&5
22315 echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.$ac_ext >&5
22317
22318 ( exit $ac_status )
22319 if test "$ac_cv_type_wchar_t" = yes; then
22320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22321 See \`config.log' for more details." >&5
22322 echo "$as_me: error: cannot compute sizeof (wchar_t)
22323 See \`config.log' for more details." >&2;}
22324 { (exit 77); exit 77; }; }
22325 else
22326 ac_cv_sizeof_wchar_t=0
22327 fi
22328 fi
22329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22330 fi
22331 rm -f conftest.val
22332 fi
22333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22334 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22335
22336
22337
22338 cat >>confdefs.h <<_ACEOF
22339 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22340 _ACEOF
22341
22342
22343 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22344 wxUSE_WCHAR_T=yes
22345 else
22346 wxUSE_WCHAR_T=no
22347 fi
22348
22349 { echo "$as_me:$LINENO: checking for va_copy" >&5
22350 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22351 if test "${wx_cv_func_va_copy+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 else
22354
22355 cat >conftest.$ac_ext <<_ACEOF
22356
22357 #include <stdarg.h>
22358 void foo(char *f, ...)
22359 {
22360 va_list ap1, ap2;
22361 va_start(ap1, f);
22362 va_copy(ap2, ap1);
22363 va_end(ap2);
22364 va_end(ap1);
22365 }
22366 int main()
22367 {
22368 foo("hi", 17);
22369 return 0;
22370 }
22371 _ACEOF
22372 rm -f conftest.$ac_objext conftest$ac_exeext
22373 if { (ac_try="$ac_link"
22374 case "(($ac_try" in
22375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22376 *) ac_try_echo=$ac_try;;
22377 esac
22378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22379 (eval "$ac_link") 2>conftest.er1
22380 ac_status=$?
22381 grep -v '^ *+' conftest.er1 >conftest.err
22382 rm -f conftest.er1
22383 cat conftest.err >&5
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); } && {
22386 test -z "$ac_c_werror_flag" ||
22387 test ! -s conftest.err
22388 } && test -s conftest$ac_exeext &&
22389 $as_test_x conftest$ac_exeext; then
22390 wx_cv_func_va_copy=yes
22391 else
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22394
22395 wx_cv_func_va_copy=no
22396
22397 fi
22398
22399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22400 conftest$ac_exeext conftest.$ac_ext
22401
22402
22403 fi
22404 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22405 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22406
22407 if test $wx_cv_func_va_copy = "yes"; then
22408 cat >>confdefs.h <<\_ACEOF
22409 #define HAVE_VA_COPY 1
22410 _ACEOF
22411
22412 else
22413 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22414 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22415 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22416 echo $ECHO_N "(cached) $ECHO_C" >&6
22417 else
22418
22419 if test "$cross_compiling" = yes; then
22420 wx_cv_type_va_list_lvalue=yes
22421
22422 else
22423 cat >conftest.$ac_ext <<_ACEOF
22424
22425 #include <stdarg.h>
22426 int foo(char *f, ...)
22427 {
22428 va_list ap1, ap2;
22429 va_start(ap1, f);
22430 ap2 = ap1;
22431 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22432 return 1;
22433 va_end(ap2);
22434 va_end(ap1);
22435 return 0;
22436 }
22437 int main()
22438 {
22439 return foo("hi", 17);
22440 }
22441 _ACEOF
22442 rm -f conftest$ac_exeext
22443 if { (ac_try="$ac_link"
22444 case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22447 esac
22448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_link") 2>&5
22450 ac_status=$?
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22453 { (case "(($ac_try" in
22454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22455 *) ac_try_echo=$ac_try;;
22456 esac
22457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22458 (eval "$ac_try") 2>&5
22459 ac_status=$?
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; }; then
22462 wx_cv_type_va_list_lvalue=yes
22463 else
22464 echo "$as_me: program exited with status $ac_status" >&5
22465 echo "$as_me: failed program was:" >&5
22466 sed 's/^/| /' conftest.$ac_ext >&5
22467
22468 ( exit $ac_status )
22469 wx_cv_type_va_list_lvalue=no
22470 fi
22471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22472 fi
22473
22474
22475
22476
22477 fi
22478 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22479 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22480
22481 if test $wx_cv_type_va_list_lvalue != "yes"; then
22482 cat >>confdefs.h <<\_ACEOF
22483 #define VA_LIST_IS_ARRAY 1
22484 _ACEOF
22485
22486 fi
22487 fi
22488
22489 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22490
22491 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22492 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22493 if test "${wx_cv_have_variadic_macros+set}" = set; then
22494 echo $ECHO_N "(cached) $ECHO_C" >&6
22495 else
22496
22497 ac_ext=cpp
22498 ac_cpp='$CXXCPP $CPPFLAGS'
22499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22502
22503 cat >conftest.$ac_ext <<_ACEOF
22504 /* confdefs.h. */
22505 _ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509
22510 #include <stdio.h>
22511 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22512
22513 int
22514 main ()
22515 {
22516
22517 test("%s %d %p", "test", 1, 0);
22518
22519
22520 ;
22521 return 0;
22522 }
22523 _ACEOF
22524 rm -f conftest.$ac_objext
22525 if { (ac_try="$ac_compile"
22526 case "(($ac_try" in
22527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22528 *) ac_try_echo=$ac_try;;
22529 esac
22530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22531 (eval "$ac_compile") 2>conftest.er1
22532 ac_status=$?
22533 grep -v '^ *+' conftest.er1 >conftest.err
22534 rm -f conftest.er1
22535 cat conftest.err >&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); } && {
22538 test -z "$ac_cxx_werror_flag" ||
22539 test ! -s conftest.err
22540 } && test -s conftest.$ac_objext; then
22541 wx_cv_have_variadic_macros=yes
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22545
22546 wx_cv_have_variadic_macros=no
22547
22548 fi
22549
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551 ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556
22557
22558
22559 fi
22560 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22561 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22562
22563 if test $wx_cv_have_variadic_macros = "yes"; then
22564 cat >>confdefs.h <<\_ACEOF
22565 #define HAVE_VARIADIC_MACROS 1
22566 _ACEOF
22567
22568 fi
22569
22570 fi
22571 # Check whether --enable-largefile was given.
22572 if test "${enable_largefile+set}" = set; then
22573 enableval=$enable_largefile;
22574 fi
22575
22576 if test "$enable_largefile" != no; then
22577 wx_largefile=no
22578
22579 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22580 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22581 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22583 else
22584
22585 cat >conftest.$ac_ext <<_ACEOF
22586 /* confdefs.h. */
22587 _ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 #define _FILE_OFFSET_BITS 64
22592 #include <sys/types.h>
22593 int
22594 main ()
22595 {
22596 typedef struct {
22597 unsigned int field: sizeof(off_t) == 8;
22598 } wxlf;
22599
22600 ;
22601 return 0;
22602 }
22603 _ACEOF
22604 rm -f conftest.$ac_objext
22605 if { (ac_try="$ac_compile"
22606 case "(($ac_try" in
22607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22609 esac
22610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_compile") 2>conftest.er1
22612 ac_status=$?
22613 grep -v '^ *+' conftest.er1 >conftest.err
22614 rm -f conftest.er1
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); } && {
22618 test -z "$ac_c_werror_flag" ||
22619 test ! -s conftest.err
22620 } && test -s conftest.$ac_objext; then
22621 ac_cv_sys_file_offset_bits=64
22622 else
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22625
22626 ac_cv_sys_file_offset_bits=no
22627 fi
22628
22629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630
22631
22632 fi
22633 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22634 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22635
22636 if test "$ac_cv_sys_file_offset_bits" != no; then
22637 wx_largefile=yes
22638 cat >>confdefs.h <<_ACEOF
22639 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22640 _ACEOF
22641
22642 fi
22643
22644 if test "x$wx_largefile" != "xyes"; then
22645
22646 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22647 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22648 if test "${ac_cv_sys_large_files+set}" = set; then
22649 echo $ECHO_N "(cached) $ECHO_C" >&6
22650 else
22651
22652 cat >conftest.$ac_ext <<_ACEOF
22653 /* confdefs.h. */
22654 _ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 #define _LARGE_FILES 1
22659 #include <sys/types.h>
22660 int
22661 main ()
22662 {
22663 typedef struct {
22664 unsigned int field: sizeof(off_t) == 8;
22665 } wxlf;
22666
22667 ;
22668 return 0;
22669 }
22670 _ACEOF
22671 rm -f conftest.$ac_objext
22672 if { (ac_try="$ac_compile"
22673 case "(($ac_try" in
22674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22675 *) ac_try_echo=$ac_try;;
22676 esac
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_compile") 2>conftest.er1
22679 ac_status=$?
22680 grep -v '^ *+' conftest.er1 >conftest.err
22681 rm -f conftest.er1
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && {
22685 test -z "$ac_c_werror_flag" ||
22686 test ! -s conftest.err
22687 } && test -s conftest.$ac_objext; then
22688 ac_cv_sys_large_files=1
22689 else
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22692
22693 ac_cv_sys_large_files=no
22694 fi
22695
22696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22697
22698
22699 fi
22700 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22701 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22702
22703 if test "$ac_cv_sys_large_files" != no; then
22704 wx_largefile=yes
22705 cat >>confdefs.h <<_ACEOF
22706 #define _LARGE_FILES $ac_cv_sys_large_files
22707 _ACEOF
22708
22709 fi
22710
22711 fi
22712
22713 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22714 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22715 if test "x$wx_largefile" = "xyes"; then
22716 cat >>confdefs.h <<\_ACEOF
22717 #define HAVE_LARGEFILE_SUPPORT 1
22718 _ACEOF
22719
22720 fi
22721 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22722 echo "${ECHO_T}$wx_largefile" >&6; }
22723 fi
22724
22725
22726 if test "x$wx_largefile" = "xyes"; then
22727 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22728 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22729
22730 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22731 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22732 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22733 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22734 echo $ECHO_N "(cached) $ECHO_C" >&6
22735 else
22736
22737 ac_ext=cpp
22738 ac_cpp='$CXXCPP $CPPFLAGS'
22739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22742
22743 cat >conftest.$ac_ext <<_ACEOF
22744 /* confdefs.h. */
22745 _ACEOF
22746 cat confdefs.h >>conftest.$ac_ext
22747 cat >>conftest.$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749
22750 int
22751 main ()
22752 {
22753
22754 #ifndef __STDC_EXT__
22755 choke me
22756 #endif
22757
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 rm -f conftest.$ac_objext
22763 if { (ac_try="$ac_compile"
22764 case "(($ac_try" in
22765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22767 esac
22768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22769 (eval "$ac_compile") 2>conftest.er1
22770 ac_status=$?
22771 grep -v '^ *+' conftest.er1 >conftest.err
22772 rm -f conftest.er1
22773 cat conftest.err >&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } && {
22776 test -z "$ac_cxx_werror_flag" ||
22777 test ! -s conftest.err
22778 } && test -s conftest.$ac_objext; then
22779 wx_cv_STDC_EXT_required=no
22780 else
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 wx_cv_STDC_EXT_required=yes
22785
22786 fi
22787
22788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22789 ac_ext=c
22790 ac_cpp='$CPP $CPPFLAGS'
22791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22794
22795
22796
22797 fi
22798 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22799 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22800 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22801 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22802 fi
22803 fi
22804 else
22805 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22806 fi
22807 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22808 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22809 if test "${ac_cv_sys_largefile_source+set}" = set; then
22810 echo $ECHO_N "(cached) $ECHO_C" >&6
22811 else
22812 while :; do
22813 cat >conftest.$ac_ext <<_ACEOF
22814 /* confdefs.h. */
22815 _ACEOF
22816 cat confdefs.h >>conftest.$ac_ext
22817 cat >>conftest.$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819 #include <stdio.h>
22820 int
22821 main ()
22822 {
22823 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22824 ;
22825 return 0;
22826 }
22827 _ACEOF
22828 rm -f conftest.$ac_objext conftest$ac_exeext
22829 if { (ac_try="$ac_link"
22830 case "(($ac_try" in
22831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22832 *) ac_try_echo=$ac_try;;
22833 esac
22834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22835 (eval "$ac_link") 2>conftest.er1
22836 ac_status=$?
22837 grep -v '^ *+' conftest.er1 >conftest.err
22838 rm -f conftest.er1
22839 cat conftest.err >&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); } && {
22842 test -z "$ac_c_werror_flag" ||
22843 test ! -s conftest.err
22844 } && test -s conftest$ac_exeext &&
22845 $as_test_x conftest$ac_exeext; then
22846 ac_cv_sys_largefile_source=no; break
22847 else
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.$ac_ext >&5
22850
22851
22852 fi
22853
22854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22855 conftest$ac_exeext conftest.$ac_ext
22856 cat >conftest.$ac_ext <<_ACEOF
22857 /* confdefs.h. */
22858 _ACEOF
22859 cat confdefs.h >>conftest.$ac_ext
22860 cat >>conftest.$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22862 #define _LARGEFILE_SOURCE 1
22863 #include <stdio.h>
22864 int
22865 main ()
22866 {
22867 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
22868 ;
22869 return 0;
22870 }
22871 _ACEOF
22872 rm -f conftest.$ac_objext conftest$ac_exeext
22873 if { (ac_try="$ac_link"
22874 case "(($ac_try" in
22875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22876 *) ac_try_echo=$ac_try;;
22877 esac
22878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22879 (eval "$ac_link") 2>conftest.er1
22880 ac_status=$?
22881 grep -v '^ *+' conftest.er1 >conftest.err
22882 rm -f conftest.er1
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } && {
22886 test -z "$ac_c_werror_flag" ||
22887 test ! -s conftest.err
22888 } && test -s conftest$ac_exeext &&
22889 $as_test_x conftest$ac_exeext; then
22890 ac_cv_sys_largefile_source=1; break
22891 else
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22894
22895
22896 fi
22897
22898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22899 conftest$ac_exeext conftest.$ac_ext
22900 ac_cv_sys_largefile_source=unknown
22901 break
22902 done
22903 fi
22904 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22905 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22906 case $ac_cv_sys_largefile_source in #(
22907 no | unknown) ;;
22908 *)
22909 cat >>confdefs.h <<_ACEOF
22910 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22911 _ACEOF
22912 ;;
22913 esac
22914 rm -f conftest*
22915
22916 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22917 # in glibc 2.1.3, but that breaks too many other things.
22918 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22919 if test $ac_cv_sys_largefile_source != unknown; then
22920
22921 cat >>confdefs.h <<\_ACEOF
22922 #define HAVE_FSEEKO 1
22923 _ACEOF
22924
22925 fi
22926
22927 if test "$ac_cv_sys_largefile_source" != no; then
22928 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22929 fi
22930 fi
22931
22932 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22933 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22934 if test "${ac_cv_c_bigendian+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 else
22937 ac_cv_c_bigendian=unknown
22938 # See if sys/param.h defines the BYTE_ORDER macro.
22939 cat >conftest.$ac_ext <<_ACEOF
22940 /* confdefs.h. */
22941 _ACEOF
22942 cat confdefs.h >>conftest.$ac_ext
22943 cat >>conftest.$ac_ext <<_ACEOF
22944 /* end confdefs.h. */
22945 #include <sys/types.h>
22946 #include <sys/param.h>
22947 int
22948 main ()
22949 {
22950
22951 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22952 bogus endian macros
22953 #endif
22954 ;
22955 return 0;
22956 }
22957 _ACEOF
22958 rm -f conftest.$ac_objext
22959 if { (ac_try="$ac_compile"
22960 case "(($ac_try" in
22961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22962 *) ac_try_echo=$ac_try;;
22963 esac
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_compile") 2>conftest.er1
22966 ac_status=$?
22967 grep -v '^ *+' conftest.er1 >conftest.err
22968 rm -f conftest.er1
22969 cat conftest.err >&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); } && {
22972 test -z "$ac_c_werror_flag" ||
22973 test ! -s conftest.err
22974 } && test -s conftest.$ac_objext; then
22975 # It does; now see whether it defined to BIG_ENDIAN or not.
22976 cat >conftest.$ac_ext <<_ACEOF
22977 /* confdefs.h. */
22978 _ACEOF
22979 cat confdefs.h >>conftest.$ac_ext
22980 cat >>conftest.$ac_ext <<_ACEOF
22981 /* end confdefs.h. */
22982 #include <sys/types.h>
22983 #include <sys/param.h>
22984 int
22985 main ()
22986 {
22987
22988 #if BYTE_ORDER != BIG_ENDIAN
22989 not big endian
22990 #endif
22991 ;
22992 return 0;
22993 }
22994 _ACEOF
22995 rm -f conftest.$ac_objext
22996 if { (ac_try="$ac_compile"
22997 case "(($ac_try" in
22998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22999 *) ac_try_echo=$ac_try;;
23000 esac
23001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23002 (eval "$ac_compile") 2>conftest.er1
23003 ac_status=$?
23004 grep -v '^ *+' conftest.er1 >conftest.err
23005 rm -f conftest.er1
23006 cat conftest.err >&5
23007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23008 (exit $ac_status); } && {
23009 test -z "$ac_c_werror_flag" ||
23010 test ! -s conftest.err
23011 } && test -s conftest.$ac_objext; then
23012 ac_cv_c_bigendian=yes
23013 else
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23016
23017 ac_cv_c_bigendian=no
23018 fi
23019
23020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23021 else
23022 echo "$as_me: failed program was:" >&5
23023 sed 's/^/| /' conftest.$ac_ext >&5
23024
23025
23026 fi
23027
23028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23029 if test $ac_cv_c_bigendian = unknown; then
23030 if test "$cross_compiling" = yes; then
23031 ac_cv_c_bigendian=unknown
23032 else
23033 cat >conftest.$ac_ext <<_ACEOF
23034 /* confdefs.h. */
23035 _ACEOF
23036 cat confdefs.h >>conftest.$ac_ext
23037 cat >>conftest.$ac_ext <<_ACEOF
23038 /* end confdefs.h. */
23039 main () {
23040 /* Are we little or big endian? From Harbison&Steele. */
23041 union
23042 {
23043 long l;
23044 char c[sizeof (long)];
23045 } u;
23046 u.l = 1;
23047 exit (u.c[sizeof (long) - 1] == 1);
23048 }
23049 _ACEOF
23050 rm -f conftest$ac_exeext
23051 if { (ac_try="$ac_link"
23052 case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23055 esac
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_link") 2>&5
23058 ac_status=$?
23059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23060 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23061 { (case "(($ac_try" in
23062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23063 *) ac_try_echo=$ac_try;;
23064 esac
23065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23066 (eval "$ac_try") 2>&5
23067 ac_status=$?
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); }; }; then
23070 ac_cv_c_bigendian=no
23071 else
23072 echo "$as_me: program exited with status $ac_status" >&5
23073 echo "$as_me: failed program was:" >&5
23074 sed 's/^/| /' conftest.$ac_ext >&5
23075
23076 ( exit $ac_status )
23077 ac_cv_c_bigendian=yes
23078 fi
23079 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23080 fi
23081
23082
23083 fi
23084 fi
23085 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23086 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23087 if test $ac_cv_c_bigendian = unknown; then
23088 { 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
23089 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;}
23090 fi
23091 if test $ac_cv_c_bigendian = yes; then
23092 cat >>confdefs.h <<\_ACEOF
23093 #define WORDS_BIGENDIAN 1
23094 _ACEOF
23095
23096 fi
23097
23098
23099
23100
23101 ac_ext=cpp
23102 ac_cpp='$CXXCPP $CPPFLAGS'
23103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23106
23107
23108 { echo "$as_me:$LINENO: checking for iostream" >&5
23109 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
23110 if test "${ac_cv_header_iostream+set}" = set; then
23111 echo $ECHO_N "(cached) $ECHO_C" >&6
23112 else
23113 cat >conftest.$ac_ext <<_ACEOF
23114 /* confdefs.h. */
23115 _ACEOF
23116 cat confdefs.h >>conftest.$ac_ext
23117 cat >>conftest.$ac_ext <<_ACEOF
23118 /* end confdefs.h. */
23119
23120
23121 #include <iostream>
23122 _ACEOF
23123 rm -f conftest.$ac_objext
23124 if { (ac_try="$ac_compile"
23125 case "(($ac_try" in
23126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23127 *) ac_try_echo=$ac_try;;
23128 esac
23129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23130 (eval "$ac_compile") 2>conftest.er1
23131 ac_status=$?
23132 grep -v '^ *+' conftest.er1 >conftest.err
23133 rm -f conftest.er1
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } && {
23137 test -z "$ac_cxx_werror_flag" ||
23138 test ! -s conftest.err
23139 } && test -s conftest.$ac_objext; then
23140 ac_cv_header_iostream=yes
23141 else
23142 echo "$as_me: failed program was:" >&5
23143 sed 's/^/| /' conftest.$ac_ext >&5
23144
23145 ac_cv_header_iostream=no
23146 fi
23147
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 fi
23150 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23151 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23152
23153
23154
23155 if test "$ac_cv_header_iostream" = "yes" ; then
23156 :
23157 else
23158 cat >>confdefs.h <<\_ACEOF
23159 #define wxUSE_IOSTREAMH 1
23160 _ACEOF
23161
23162 fi
23163
23164 ac_ext=c
23165 ac_cpp='$CPP $CPPFLAGS'
23166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23169
23170
23171
23172
23173 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23174 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23175 if test "${wx_cv_cpp_bool+set}" = set; then
23176 echo $ECHO_N "(cached) $ECHO_C" >&6
23177 else
23178
23179
23180 ac_ext=cpp
23181 ac_cpp='$CXXCPP $CPPFLAGS'
23182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23185
23186
23187 cat >conftest.$ac_ext <<_ACEOF
23188 /* confdefs.h. */
23189 _ACEOF
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23193
23194
23195 int
23196 main ()
23197 {
23198
23199 bool b = true;
23200
23201 return 0;
23202
23203 ;
23204 return 0;
23205 }
23206 _ACEOF
23207 rm -f conftest.$ac_objext
23208 if { (ac_try="$ac_compile"
23209 case "(($ac_try" in
23210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23211 *) ac_try_echo=$ac_try;;
23212 esac
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_compile") 2>conftest.er1
23215 ac_status=$?
23216 grep -v '^ *+' conftest.er1 >conftest.err
23217 rm -f conftest.er1
23218 cat conftest.err >&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } && {
23221 test -z "$ac_cxx_werror_flag" ||
23222 test ! -s conftest.err
23223 } && test -s conftest.$ac_objext; then
23224
23225 wx_cv_cpp_bool=yes
23226
23227 else
23228 echo "$as_me: failed program was:" >&5
23229 sed 's/^/| /' conftest.$ac_ext >&5
23230
23231
23232 wx_cv_cpp_bool=no
23233
23234
23235 fi
23236
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238
23239 ac_ext=c
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244
23245
23246 fi
23247 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23248 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23249
23250 if test "$wx_cv_cpp_bool" = "yes"; then
23251 cat >>confdefs.h <<\_ACEOF
23252 #define HAVE_BOOL 1
23253 _ACEOF
23254
23255 fi
23256
23257
23258
23259 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23260 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23261 if test "${wx_cv_explicit+set}" = set; then
23262 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 else
23264
23265
23266 ac_ext=cpp
23267 ac_cpp='$CXXCPP $CPPFLAGS'
23268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23271
23272
23273 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */
23275 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279
23280 class Foo { public: explicit Foo(int) {} };
23281
23282 int
23283 main ()
23284 {
23285
23286 return 0;
23287
23288 ;
23289 return 0;
23290 }
23291 _ACEOF
23292 rm -f conftest.$ac_objext
23293 if { (ac_try="$ac_compile"
23294 case "(($ac_try" in
23295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23296 *) ac_try_echo=$ac_try;;
23297 esac
23298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23299 (eval "$ac_compile") 2>conftest.er1
23300 ac_status=$?
23301 grep -v '^ *+' conftest.er1 >conftest.err
23302 rm -f conftest.er1
23303 cat conftest.err >&5
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); } && {
23306 test -z "$ac_cxx_werror_flag" ||
23307 test ! -s conftest.err
23308 } && test -s conftest.$ac_objext; then
23309
23310 cat >conftest.$ac_ext <<_ACEOF
23311 /* confdefs.h. */
23312 _ACEOF
23313 cat confdefs.h >>conftest.$ac_ext
23314 cat >>conftest.$ac_ext <<_ACEOF
23315 /* end confdefs.h. */
23316
23317 class Foo { public: explicit Foo(int) {} };
23318 static void TakeFoo(const Foo& foo) { }
23319
23320 int
23321 main ()
23322 {
23323
23324 TakeFoo(17);
23325 return 0;
23326
23327 ;
23328 return 0;
23329 }
23330 _ACEOF
23331 rm -f conftest.$ac_objext
23332 if { (ac_try="$ac_compile"
23333 case "(($ac_try" in
23334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23335 *) ac_try_echo=$ac_try;;
23336 esac
23337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23338 (eval "$ac_compile") 2>conftest.er1
23339 ac_status=$?
23340 grep -v '^ *+' conftest.er1 >conftest.err
23341 rm -f conftest.er1
23342 cat conftest.err >&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } && {
23345 test -z "$ac_cxx_werror_flag" ||
23346 test ! -s conftest.err
23347 } && test -s conftest.$ac_objext; then
23348 wx_cv_explicit=no
23349 else
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.$ac_ext >&5
23352
23353 wx_cv_explicit=yes
23354
23355 fi
23356
23357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23358
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23362
23363 wx_cv_explicit=no
23364
23365 fi
23366
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368
23369 ac_ext=c
23370 ac_cpp='$CPP $CPPFLAGS'
23371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23374
23375
23376 fi
23377 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23378 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23379
23380 if test "$wx_cv_explicit" = "yes"; then
23381 cat >>confdefs.h <<\_ACEOF
23382 #define HAVE_EXPLICIT 1
23383 _ACEOF
23384
23385 fi
23386
23387
23388 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23389 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23390 if test "${ac_cv_cxx_const_cast+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23393
23394 ac_ext=cpp
23395 ac_cpp='$CXXCPP $CPPFLAGS'
23396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23399
23400 cat >conftest.$ac_ext <<_ACEOF
23401 /* confdefs.h. */
23402 _ACEOF
23403 cat confdefs.h >>conftest.$ac_ext
23404 cat >>conftest.$ac_ext <<_ACEOF
23405 /* end confdefs.h. */
23406
23407 int
23408 main ()
23409 {
23410 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23411 ;
23412 return 0;
23413 }
23414 _ACEOF
23415 rm -f conftest.$ac_objext
23416 if { (ac_try="$ac_compile"
23417 case "(($ac_try" in
23418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23419 *) ac_try_echo=$ac_try;;
23420 esac
23421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23422 (eval "$ac_compile") 2>conftest.er1
23423 ac_status=$?
23424 grep -v '^ *+' conftest.er1 >conftest.err
23425 rm -f conftest.er1
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } && {
23429 test -z "$ac_cxx_werror_flag" ||
23430 test ! -s conftest.err
23431 } && test -s conftest.$ac_objext; then
23432 ac_cv_cxx_const_cast=yes
23433 else
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23436
23437 ac_cv_cxx_const_cast=no
23438 fi
23439
23440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23441 ac_ext=c
23442 ac_cpp='$CPP $CPPFLAGS'
23443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23446
23447
23448 fi
23449 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23450 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23451 if test "$ac_cv_cxx_const_cast" = yes; then
23452
23453 cat >>confdefs.h <<\_ACEOF
23454 #define HAVE_CONST_CAST
23455 _ACEOF
23456
23457 fi
23458
23459 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23460 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23461 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23462 echo $ECHO_N "(cached) $ECHO_C" >&6
23463 else
23464
23465 ac_ext=cpp
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23470
23471 cat >conftest.$ac_ext <<_ACEOF
23472 /* confdefs.h. */
23473 _ACEOF
23474 cat confdefs.h >>conftest.$ac_ext
23475 cat >>conftest.$ac_ext <<_ACEOF
23476 /* end confdefs.h. */
23477 #include <typeinfo>
23478 class Base { public : Base () {} virtual void f () = 0;};
23479 class Derived : public Base { public : Derived () {} virtual void f () {} };
23480 class Unrelated { public : Unrelated () {} };
23481 int g (Unrelated&) { return 0; }
23482 int
23483 main ()
23484 {
23485
23486 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23487 ;
23488 return 0;
23489 }
23490 _ACEOF
23491 rm -f conftest.$ac_objext
23492 if { (ac_try="$ac_compile"
23493 case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23496 esac
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_compile") 2>conftest.er1
23499 ac_status=$?
23500 grep -v '^ *+' conftest.er1 >conftest.err
23501 rm -f conftest.er1
23502 cat conftest.err >&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } && {
23505 test -z "$ac_cxx_werror_flag" ||
23506 test ! -s conftest.err
23507 } && test -s conftest.$ac_objext; then
23508 ac_cv_cxx_reinterpret_cast=yes
23509 else
23510 echo "$as_me: failed program was:" >&5
23511 sed 's/^/| /' conftest.$ac_ext >&5
23512
23513 ac_cv_cxx_reinterpret_cast=no
23514 fi
23515
23516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23517 ac_ext=c
23518 ac_cpp='$CPP $CPPFLAGS'
23519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23522
23523
23524 fi
23525 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23526 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23527 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23528
23529 cat >>confdefs.h <<\_ACEOF
23530 #define HAVE_REINTERPRET_CAST
23531 _ACEOF
23532
23533 fi
23534
23535 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23536 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23537 if test "${ac_cv_cxx_static_cast+set}" = set; then
23538 echo $ECHO_N "(cached) $ECHO_C" >&6
23539 else
23540
23541 ac_ext=cpp
23542 ac_cpp='$CXXCPP $CPPFLAGS'
23543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23546
23547 cat >conftest.$ac_ext <<_ACEOF
23548 /* confdefs.h. */
23549 _ACEOF
23550 cat confdefs.h >>conftest.$ac_ext
23551 cat >>conftest.$ac_ext <<_ACEOF
23552 /* end confdefs.h. */
23553 #include <typeinfo>
23554 class Base { public : Base () {} virtual void f () = 0; };
23555 class Derived : public Base { public : Derived () {} virtual void f () {} };
23556 int g (Derived&) { return 0; }
23557 int
23558 main ()
23559 {
23560
23561 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23562 ;
23563 return 0;
23564 }
23565 _ACEOF
23566 rm -f conftest.$ac_objext
23567 if { (ac_try="$ac_compile"
23568 case "(($ac_try" in
23569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23570 *) ac_try_echo=$ac_try;;
23571 esac
23572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23573 (eval "$ac_compile") 2>conftest.er1
23574 ac_status=$?
23575 grep -v '^ *+' conftest.er1 >conftest.err
23576 rm -f conftest.er1
23577 cat conftest.err >&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); } && {
23580 test -z "$ac_cxx_werror_flag" ||
23581 test ! -s conftest.err
23582 } && test -s conftest.$ac_objext; then
23583 ac_cv_cxx_static_cast=yes
23584 else
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.$ac_ext >&5
23587
23588 ac_cv_cxx_static_cast=no
23589 fi
23590
23591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23592 ac_ext=c
23593 ac_cpp='$CPP $CPPFLAGS'
23594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23597
23598
23599 fi
23600 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23601 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23602 if test "$ac_cv_cxx_static_cast" = yes; then
23603
23604 cat >>confdefs.h <<\_ACEOF
23605 #define HAVE_STATIC_CAST
23606 _ACEOF
23607
23608 fi
23609
23610
23611 if test "x$SUNCXX" = xyes; then
23612 CXXFLAGS="-features=tmplife $CXXFLAGS"
23613 fi
23614
23615 if test "x$SUNCC" = xyes; then
23616 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23617 fi
23618
23619 if test "x$SGICC" = "xyes"; then
23620 CFLAGS="-woff 3970 $CFLAGS"
23621 fi
23622 if test "x$SGICXX" = "xyes"; then
23623 CXXFLAGS="-woff 3970 $CXXFLAGS"
23624 fi
23625
23626 if test "x$HPCC" = "xyes"; then
23627 CFLAGS="+W 2011,2450 $CFLAGS"
23628 fi
23629 if test "x$HPCXX" = "xyes"; then
23630 CXXFLAGS="+W 2340 $CXXFLAGS"
23631 fi
23632
23633 if test "x$COMPAQCXX" = "xyes"; then
23634 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23635 fi
23636
23637 ac_ext=cpp
23638 ac_cpp='$CXXCPP $CPPFLAGS'
23639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23642
23643
23644 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23645 if test "$wxUSE_UNICODE" = "yes"; then
23646 std_string="std::wstring"
23647 char_type="wchar_t"
23648 else
23649 std_string="std::string"
23650 char_type="char"
23651 fi
23652
23653 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23654 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23655 if test "${wx_cv_class_stdstring+set}" = set; then
23656 echo $ECHO_N "(cached) $ECHO_C" >&6
23657 else
23658
23659 cat >conftest.$ac_ext <<_ACEOF
23660 /* confdefs.h. */
23661 _ACEOF
23662 cat confdefs.h >>conftest.$ac_ext
23663 cat >>conftest.$ac_ext <<_ACEOF
23664 /* end confdefs.h. */
23665 #include <string>
23666 int
23667 main ()
23668 {
23669 $std_string foo;
23670 ;
23671 return 0;
23672 }
23673 _ACEOF
23674 rm -f conftest.$ac_objext
23675 if { (ac_try="$ac_compile"
23676 case "(($ac_try" in
23677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23678 *) ac_try_echo=$ac_try;;
23679 esac
23680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23681 (eval "$ac_compile") 2>conftest.er1
23682 ac_status=$?
23683 grep -v '^ *+' conftest.er1 >conftest.err
23684 rm -f conftest.er1
23685 cat conftest.err >&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } && {
23688 test -z "$ac_cxx_werror_flag" ||
23689 test ! -s conftest.err
23690 } && test -s conftest.$ac_objext; then
23691 wx_cv_class_stdstring=yes
23692 else
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23695
23696 wx_cv_class_stdstring=no
23697
23698 fi
23699
23700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23701
23702
23703 fi
23704 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23705 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23706
23707 if test "$wx_cv_class_stdstring" = yes; then
23708 if test "$wxUSE_UNICODE" = "yes"; then
23709 cat >>confdefs.h <<\_ACEOF
23710 #define HAVE_STD_WSTRING 1
23711 _ACEOF
23712
23713 fi
23714 else
23715 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23716 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23717 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23719 else
23720
23721 cat >conftest.$ac_ext <<_ACEOF
23722 /* confdefs.h. */
23723 _ACEOF
23724 cat confdefs.h >>conftest.$ac_ext
23725 cat >>conftest.$ac_ext <<_ACEOF
23726 /* end confdefs.h. */
23727
23728 #ifdef HAVE_WCHAR_H
23729 # ifdef __CYGWIN__
23730 # include <stddef.h>
23731 # endif
23732 # include <wchar.h>
23733 #endif
23734 #ifdef HAVE_STDLIB_H
23735 # include <stdlib.h>
23736 #endif
23737 #include <stdio.h>
23738 #include <string>
23739
23740 int
23741 main ()
23742 {
23743 std::basic_string<$char_type> foo;
23744 const $char_type* dummy = foo.c_str();
23745 ;
23746 return 0;
23747 }
23748 _ACEOF
23749 rm -f conftest.$ac_objext
23750 if { (ac_try="$ac_compile"
23751 case "(($ac_try" in
23752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23753 *) ac_try_echo=$ac_try;;
23754 esac
23755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23756 (eval "$ac_compile") 2>conftest.er1
23757 ac_status=$?
23758 grep -v '^ *+' conftest.er1 >conftest.err
23759 rm -f conftest.er1
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } && {
23763 test -z "$ac_cxx_werror_flag" ||
23764 test ! -s conftest.err
23765 } && test -s conftest.$ac_objext; then
23766 wx_cv_class_stdbasicstring=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 wx_cv_class_stdbasicstring=no
23772
23773 fi
23774
23775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23776
23777
23778 fi
23779 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23780 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23781
23782 if test "$wx_cv_class_stdbasicstring" != yes; then
23783 if test "$wxUSE_STL" = "yes"; then
23784 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23785 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23786 { (exit 1); exit 1; }; }
23787 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23788 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23789 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23790 { (exit 1); exit 1; }; }
23791 else
23792 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23793 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23794 wxUSE_STD_STRING=no
23795 fi
23796 fi
23797 fi
23798 fi
23799
23800 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23801 { echo "$as_me:$LINENO: checking for std::istream" >&5
23802 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23803 if test "${ac_cv_type_std__istream+set}" = set; then
23804 echo $ECHO_N "(cached) $ECHO_C" >&6
23805 else
23806 cat >conftest.$ac_ext <<_ACEOF
23807 /* confdefs.h. */
23808 _ACEOF
23809 cat confdefs.h >>conftest.$ac_ext
23810 cat >>conftest.$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812 #include <iostream>
23813
23814 typedef std::istream ac__type_new_;
23815 int
23816 main ()
23817 {
23818 if ((ac__type_new_ *) 0)
23819 return 0;
23820 if (sizeof (ac__type_new_))
23821 return 0;
23822 ;
23823 return 0;
23824 }
23825 _ACEOF
23826 rm -f conftest.$ac_objext
23827 if { (ac_try="$ac_compile"
23828 case "(($ac_try" in
23829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23830 *) ac_try_echo=$ac_try;;
23831 esac
23832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23833 (eval "$ac_compile") 2>conftest.er1
23834 ac_status=$?
23835 grep -v '^ *+' conftest.er1 >conftest.err
23836 rm -f conftest.er1
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } && {
23840 test -z "$ac_cxx_werror_flag" ||
23841 test ! -s conftest.err
23842 } && test -s conftest.$ac_objext; then
23843 ac_cv_type_std__istream=yes
23844 else
23845 echo "$as_me: failed program was:" >&5
23846 sed 's/^/| /' conftest.$ac_ext >&5
23847
23848 ac_cv_type_std__istream=no
23849 fi
23850
23851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23852 fi
23853 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23854 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23855 if test $ac_cv_type_std__istream = yes; then
23856
23857 cat >>confdefs.h <<_ACEOF
23858 #define HAVE_STD__ISTREAM 1
23859 _ACEOF
23860
23861
23862 else
23863 wxUSE_STD_IOSTREAM=no
23864 fi
23865 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23866 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23867 if test "${ac_cv_type_std__ostream+set}" = set; then
23868 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 else
23870 cat >conftest.$ac_ext <<_ACEOF
23871 /* confdefs.h. */
23872 _ACEOF
23873 cat confdefs.h >>conftest.$ac_ext
23874 cat >>conftest.$ac_ext <<_ACEOF
23875 /* end confdefs.h. */
23876 #include <iostream>
23877
23878 typedef std::ostream ac__type_new_;
23879 int
23880 main ()
23881 {
23882 if ((ac__type_new_ *) 0)
23883 return 0;
23884 if (sizeof (ac__type_new_))
23885 return 0;
23886 ;
23887 return 0;
23888 }
23889 _ACEOF
23890 rm -f conftest.$ac_objext
23891 if { (ac_try="$ac_compile"
23892 case "(($ac_try" in
23893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23894 *) ac_try_echo=$ac_try;;
23895 esac
23896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23897 (eval "$ac_compile") 2>conftest.er1
23898 ac_status=$?
23899 grep -v '^ *+' conftest.er1 >conftest.err
23900 rm -f conftest.er1
23901 cat conftest.err >&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } && {
23904 test -z "$ac_cxx_werror_flag" ||
23905 test ! -s conftest.err
23906 } && test -s conftest.$ac_objext; then
23907 ac_cv_type_std__ostream=yes
23908 else
23909 echo "$as_me: failed program was:" >&5
23910 sed 's/^/| /' conftest.$ac_ext >&5
23911
23912 ac_cv_type_std__ostream=no
23913 fi
23914
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 fi
23917 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23918 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23919 if test $ac_cv_type_std__ostream = yes; then
23920
23921 cat >>confdefs.h <<_ACEOF
23922 #define HAVE_STD__OSTREAM 1
23923 _ACEOF
23924
23925
23926 else
23927 wxUSE_STD_IOSTREAM=no
23928 fi
23929
23930
23931 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23932 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23933 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23934 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23935 { (exit 1); exit 1; }; }
23936 else
23937 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23938 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23939 fi
23940 fi
23941 fi
23942
23943 if test "$wxUSE_STL" = "yes"; then
23944 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23945 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23946 if test "${wx_cv_lib_stl+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23948 else
23949 cat >conftest.$ac_ext <<_ACEOF
23950 /* confdefs.h. */
23951 _ACEOF
23952 cat confdefs.h >>conftest.$ac_ext
23953 cat >>conftest.$ac_ext <<_ACEOF
23954 /* end confdefs.h. */
23955 #include <string>
23956 #include <functional>
23957 #include <algorithm>
23958 #include <vector>
23959 #include <list>
23960 int
23961 main ()
23962 {
23963 std::vector<int> moo;
23964 std::list<int> foo;
23965 std::vector<int>::iterator it =
23966 std::find_if(moo.begin(), moo.end(),
23967 std::bind2nd(std::less<int>(), 3));
23968 ;
23969 return 0;
23970 }
23971 _ACEOF
23972 rm -f conftest.$ac_objext
23973 if { (ac_try="$ac_compile"
23974 case "(($ac_try" in
23975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23976 *) ac_try_echo=$ac_try;;
23977 esac
23978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23979 (eval "$ac_compile") 2>conftest.er1
23980 ac_status=$?
23981 grep -v '^ *+' conftest.er1 >conftest.err
23982 rm -f conftest.er1
23983 cat conftest.err >&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } && {
23986 test -z "$ac_cxx_werror_flag" ||
23987 test ! -s conftest.err
23988 } && test -s conftest.$ac_objext; then
23989 wx_cv_lib_stl=yes
23990 else
23991 echo "$as_me: failed program was:" >&5
23992 sed 's/^/| /' conftest.$ac_ext >&5
23993
23994 wx_cv_lib_stl=no
23995
23996 fi
23997
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23999
24000 fi
24001 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24002 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24003
24004 if test "$wx_cv_lib_stl" != yes; then
24005 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24006 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24007 { (exit 1); exit 1; }; }
24008 fi
24009
24010 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24011 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24012 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24013 echo $ECHO_N "(cached) $ECHO_C" >&6
24014 else
24015 cat >conftest.$ac_ext <<_ACEOF
24016 /* confdefs.h. */
24017 _ACEOF
24018 cat confdefs.h >>conftest.$ac_ext
24019 cat >>conftest.$ac_ext <<_ACEOF
24020 /* end confdefs.h. */
24021 #include <string>
24022 int
24023 main ()
24024 {
24025 std::string foo, bar;
24026 foo.compare(bar);
24027 foo.compare(1, 1, bar);
24028 foo.compare(1, 1, bar, 1, 1);
24029 foo.compare("");
24030 foo.compare(1, 1, "");
24031 foo.compare(1, 1, "", 2);
24032 ;
24033 return 0;
24034 }
24035 _ACEOF
24036 rm -f conftest.$ac_objext
24037 if { (ac_try="$ac_compile"
24038 case "(($ac_try" in
24039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24040 *) ac_try_echo=$ac_try;;
24041 esac
24042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24043 (eval "$ac_compile") 2>conftest.er1
24044 ac_status=$?
24045 grep -v '^ *+' conftest.er1 >conftest.err
24046 rm -f conftest.er1
24047 cat conftest.err >&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } && {
24050 test -z "$ac_cxx_werror_flag" ||
24051 test ! -s conftest.err
24052 } && test -s conftest.$ac_objext; then
24053 wx_cv_func_stdstring_compare=yes
24054 else
24055 echo "$as_me: failed program was:" >&5
24056 sed 's/^/| /' conftest.$ac_ext >&5
24057
24058 wx_cv_func_stdstring_compare=no
24059
24060 fi
24061
24062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24063
24064 fi
24065 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24066 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24067
24068 if test "$wx_cv_func_stdstring_compare" = yes; then
24069 cat >>confdefs.h <<\_ACEOF
24070 #define HAVE_STD_STRING_COMPARE 1
24071 _ACEOF
24072
24073 fi
24074
24075 { echo "$as_me:$LINENO: checking for hash_map" >&5
24076 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24077 if test "${ac_cv_header_hash_map+set}" = set; then
24078 echo $ECHO_N "(cached) $ECHO_C" >&6
24079 else
24080 cat >conftest.$ac_ext <<_ACEOF
24081 /* confdefs.h. */
24082 _ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086
24087
24088
24089 #include <hash_map>
24090 _ACEOF
24091 rm -f conftest.$ac_objext
24092 if { (ac_try="$ac_compile"
24093 case "(($ac_try" in
24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095 *) ac_try_echo=$ac_try;;
24096 esac
24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098 (eval "$ac_compile") 2>conftest.er1
24099 ac_status=$?
24100 grep -v '^ *+' conftest.er1 >conftest.err
24101 rm -f conftest.er1
24102 cat conftest.err >&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } && {
24105 test -z "$ac_cxx_werror_flag" ||
24106 test ! -s conftest.err
24107 } && test -s conftest.$ac_objext; then
24108 ac_cv_header_hash_map=yes
24109 else
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24112
24113 ac_cv_header_hash_map=no
24114 fi
24115
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117 fi
24118 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24119 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24120 if test $ac_cv_header_hash_map = yes; then
24121 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24122 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24123 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24124 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 else
24126 cat >conftest.$ac_ext <<_ACEOF
24127 /* confdefs.h. */
24128 _ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 #include <hash_map>
24133 #include <hash_set>
24134 int
24135 main ()
24136 {
24137 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24138 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24139 ;
24140 return 0;
24141 }
24142 _ACEOF
24143 rm -f conftest.$ac_objext
24144 if { (ac_try="$ac_compile"
24145 case "(($ac_try" in
24146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24147 *) ac_try_echo=$ac_try;;
24148 esac
24149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24150 (eval "$ac_compile") 2>conftest.er1
24151 ac_status=$?
24152 grep -v '^ *+' conftest.er1 >conftest.err
24153 rm -f conftest.er1
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } && {
24157 test -z "$ac_cxx_werror_flag" ||
24158 test ! -s conftest.err
24159 } && test -s conftest.$ac_objext; then
24160 wx_cv_class_stdhashmapset=yes
24161 else
24162 echo "$as_me: failed program was:" >&5
24163 sed 's/^/| /' conftest.$ac_ext >&5
24164
24165 wx_cv_class_stdhashmapset=no
24166 fi
24167
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169
24170
24171 fi
24172 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24173 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24174 fi
24175
24176
24177
24178 if test "$wx_cv_class_stdhashmapset" = yes; then
24179 cat >>confdefs.h <<\_ACEOF
24180 #define HAVE_HASH_MAP 1
24181 _ACEOF
24182
24183 cat >>confdefs.h <<\_ACEOF
24184 #define HAVE_STD_HASH_MAP 1
24185 _ACEOF
24186
24187 fi
24188
24189 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24190 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24191 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24192 echo $ECHO_N "(cached) $ECHO_C" >&6
24193 else
24194 cat >conftest.$ac_ext <<_ACEOF
24195 /* confdefs.h. */
24196 _ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200
24201
24202
24203 #include <ext/hash_map>
24204 _ACEOF
24205 rm -f conftest.$ac_objext
24206 if { (ac_try="$ac_compile"
24207 case "(($ac_try" in
24208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24209 *) ac_try_echo=$ac_try;;
24210 esac
24211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24212 (eval "$ac_compile") 2>conftest.er1
24213 ac_status=$?
24214 grep -v '^ *+' conftest.er1 >conftest.err
24215 rm -f conftest.er1
24216 cat conftest.err >&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); } && {
24219 test -z "$ac_cxx_werror_flag" ||
24220 test ! -s conftest.err
24221 } && test -s conftest.$ac_objext; then
24222 ac_cv_header_ext_hash_map=yes
24223 else
24224 echo "$as_me: failed program was:" >&5
24225 sed 's/^/| /' conftest.$ac_ext >&5
24226
24227 ac_cv_header_ext_hash_map=no
24228 fi
24229
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 fi
24232 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24233 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24234 if test $ac_cv_header_ext_hash_map = yes; then
24235 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24236 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24237 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24238 echo $ECHO_N "(cached) $ECHO_C" >&6
24239 else
24240 cat >conftest.$ac_ext <<_ACEOF
24241 /* confdefs.h. */
24242 _ACEOF
24243 cat confdefs.h >>conftest.$ac_ext
24244 cat >>conftest.$ac_ext <<_ACEOF
24245 /* end confdefs.h. */
24246 #include <ext/hash_map>
24247 #include <ext/hash_set>
24248 int
24249 main ()
24250 {
24251 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24252 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24253 ;
24254 return 0;
24255 }
24256 _ACEOF
24257 rm -f conftest.$ac_objext
24258 if { (ac_try="$ac_compile"
24259 case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24262 esac
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_compile") 2>conftest.er1
24265 ac_status=$?
24266 grep -v '^ *+' conftest.er1 >conftest.err
24267 rm -f conftest.er1
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && {
24271 test -z "$ac_cxx_werror_flag" ||
24272 test ! -s conftest.err
24273 } && test -s conftest.$ac_objext; then
24274 wx_cv_class_gnuhashmapset=yes
24275 else
24276 echo "$as_me: failed program was:" >&5
24277 sed 's/^/| /' conftest.$ac_ext >&5
24278
24279 wx_cv_class_gnuhashmapset=no
24280 fi
24281
24282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24283
24284
24285 fi
24286 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24287 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24288 fi
24289
24290
24291
24292 if test "$wx_cv_class_gnuhashmapset" = yes; then
24293 cat >>confdefs.h <<\_ACEOF
24294 #define HAVE_EXT_HASH_MAP 1
24295 _ACEOF
24296
24297 cat >>confdefs.h <<\_ACEOF
24298 #define HAVE_GNU_CXX_HASH_MAP 1
24299 _ACEOF
24300
24301 fi
24302 fi
24303
24304 ac_ext=c
24305 ac_cpp='$CPP $CPPFLAGS'
24306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309
24310
24311
24312 SEARCH_INCLUDE="\
24313 /usr/local/include \
24314 \
24315 /usr/Motif-2.1/include \
24316 /usr/Motif-1.2/include \
24317 /usr/include/Motif1.2 \
24318 \
24319 /usr/dt/include \
24320 /usr/openwin/include \
24321 \
24322 /usr/include/Xm \
24323 \
24324 /usr/X11R6/include \
24325 /usr/X11R6.4/include \
24326 /usr/X11R5/include \
24327 /usr/X11R4/include \
24328 \
24329 /usr/include/X11R6 \
24330 /usr/include/X11R5 \
24331 /usr/include/X11R4 \
24332 \
24333 /usr/local/X11R6/include \
24334 /usr/local/X11R5/include \
24335 /usr/local/X11R4/include \
24336 \
24337 /usr/local/include/X11R6 \
24338 /usr/local/include/X11R5 \
24339 /usr/local/include/X11R4 \
24340 \
24341 /usr/X11/include \
24342 /usr/include/X11 \
24343 /usr/local/X11/include \
24344 /usr/local/include/X11 \
24345 \
24346 /usr/XFree86/include/X11 \
24347 /usr/pkg/include \
24348 \
24349 /usr/openwin/share/include"
24350
24351 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24352 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24353
24354 case "${host}" in
24355 *-*-irix6* )
24356 if test "${wx_cv_std_libpath+set}" = set; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24358 else
24359
24360 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24361 for e in a so sl dylib dll.a; do
24362 libc="$d/libc.$e"
24363 if test -f $libc; then
24364 save_LIBS="$LIBS"
24365 LIBS="$libc"
24366 cat >conftest.$ac_ext <<_ACEOF
24367 int main() { return 0; }
24368 _ACEOF
24369 rm -f conftest.$ac_objext conftest$ac_exeext
24370 if { (ac_try="$ac_link"
24371 case "(($ac_try" in
24372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24373 *) ac_try_echo=$ac_try;;
24374 esac
24375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24376 (eval "$ac_link") 2>conftest.er1
24377 ac_status=$?
24378 grep -v '^ *+' conftest.er1 >conftest.err
24379 rm -f conftest.er1
24380 cat conftest.err >&5
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); } && {
24383 test -z "$ac_c_werror_flag" ||
24384 test ! -s conftest.err
24385 } && test -s conftest$ac_exeext &&
24386 $as_test_x conftest$ac_exeext; then
24387 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24388 else
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.$ac_ext >&5
24391
24392
24393 fi
24394
24395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24396 conftest$ac_exeext conftest.$ac_ext
24397 LIBS="$save_LIBS"
24398 if test "x$wx_cv_std_libpath" != "x"; then
24399 break 2
24400 fi
24401 fi
24402 done
24403 done
24404 if test "x$wx_cv_std_libpath" = "x"; then
24405 wx_cv_std_libpath="lib"
24406 fi
24407
24408
24409 fi
24410
24411 ;;
24412
24413 *-*-solaris2* )
24414 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24415 wx_cv_std_libpath="lib/64"
24416 else
24417 wx_cv_std_libpath="lib"
24418 fi
24419 ;;
24420
24421 *-*-linux* )
24422 if test "$ac_cv_sizeof_void_p" = 8 -a \
24423 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24424 wx_cv_std_libpath="lib64"
24425 else
24426 wx_cv_std_libpath="lib"
24427 fi
24428 ;;
24429
24430 *)
24431 wx_cv_std_libpath="lib";
24432 ;;
24433 esac
24434
24435 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24436 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24437
24438 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24439
24440 if test "$build" != "$host" -a "$GCC" = yes; then
24441 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24442 cross_root=`dirname $cross_root`
24443 cross_root=`dirname $cross_root`
24444
24445 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24446 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24447 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24448
24449 if test -z "$PKG_CONFIG_PATH"; then
24450 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24451 export PKG_CONFIG_PATH
24452 fi
24453
24454 if test -z "$x_includes" -o "$x_includes" = NONE; then
24455
24456 ac_find_includes=
24457 for ac_dir in $SEARCH_INCLUDE /usr/include;
24458 do
24459 if test -f "$ac_dir/X11/Intrinsic.h"; then
24460 ac_find_includes=$ac_dir
24461 break
24462 fi
24463 done
24464
24465 x_includes=$ac_find_includes
24466 fi
24467 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24468
24469 ac_find_libraries=
24470 for ac_dir in $SEARCH_LIB;
24471 do
24472 for ac_extension in a so sl dylib dll.a; do
24473 if test -f "$ac_dir/libXt.$ac_extension"; then
24474 ac_find_libraries=$ac_dir
24475 break 2
24476 fi
24477 done
24478 done
24479
24480 x_libraries=$ac_find_libraries
24481 fi
24482 fi
24483 fi
24484
24485
24486 cat >confcache <<\_ACEOF
24487 # This file is a shell script that caches the results of configure
24488 # tests run on this system so they can be shared between configure
24489 # scripts and configure runs, see configure's option --config-cache.
24490 # It is not useful on other systems. If it contains results you don't
24491 # want to keep, you may remove or edit it.
24492 #
24493 # config.status only pays attention to the cache file if you give it
24494 # the --recheck option to rerun configure.
24495 #
24496 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24497 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24498 # following values.
24499
24500 _ACEOF
24501
24502 # The following way of writing the cache mishandles newlines in values,
24503 # but we know of no workaround that is simple, portable, and efficient.
24504 # So, we kill variables containing newlines.
24505 # Ultrix sh set writes to stderr and can't be redirected directly,
24506 # and sets the high bit in the cache file unless we assign to the vars.
24507 (
24508 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24509 eval ac_val=\$$ac_var
24510 case $ac_val in #(
24511 *${as_nl}*)
24512 case $ac_var in #(
24513 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24514 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24515 esac
24516 case $ac_var in #(
24517 _ | IFS | as_nl) ;; #(
24518 *) $as_unset $ac_var ;;
24519 esac ;;
24520 esac
24521 done
24522
24523 (set) 2>&1 |
24524 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24525 *${as_nl}ac_space=\ *)
24526 # `set' does not quote correctly, so add quotes (double-quote
24527 # substitution turns \\\\ into \\, and sed turns \\ into \).
24528 sed -n \
24529 "s/'/'\\\\''/g;
24530 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24531 ;; #(
24532 *)
24533 # `set' quotes correctly as required by POSIX, so do not add quotes.
24534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24535 ;;
24536 esac |
24537 sort
24538 ) |
24539 sed '
24540 /^ac_cv_env_/b end
24541 t clear
24542 :clear
24543 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24544 t end
24545 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24546 :end' >>confcache
24547 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24548 if test -w "$cache_file"; then
24549 test "x$cache_file" != "x/dev/null" &&
24550 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24551 echo "$as_me: updating cache $cache_file" >&6;}
24552 cat confcache >$cache_file
24553 else
24554 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24555 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24556 fi
24557 fi
24558 rm -f confcache
24559
24560 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24561 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24562 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24563 if test "${wx_cv_lib_glibc21+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 else
24566
24567 cat >conftest.$ac_ext <<_ACEOF
24568 /* confdefs.h. */
24569 _ACEOF
24570 cat confdefs.h >>conftest.$ac_ext
24571 cat >>conftest.$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 #include <features.h>
24574 int
24575 main ()
24576 {
24577
24578 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24579 not glibc 2.1
24580 #endif
24581
24582 ;
24583 return 0;
24584 }
24585 _ACEOF
24586 rm -f conftest.$ac_objext
24587 if { (ac_try="$ac_compile"
24588 case "(($ac_try" in
24589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24590 *) ac_try_echo=$ac_try;;
24591 esac
24592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24593 (eval "$ac_compile") 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } && {
24600 test -z "$ac_c_werror_flag" ||
24601 test ! -s conftest.err
24602 } && test -s conftest.$ac_objext; then
24603
24604 wx_cv_lib_glibc21=yes
24605
24606 else
24607 echo "$as_me: failed program was:" >&5
24608 sed 's/^/| /' conftest.$ac_ext >&5
24609
24610
24611 wx_cv_lib_glibc21=no
24612
24613
24614 fi
24615
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617
24618 fi
24619 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24620 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24621 if test "$wx_cv_lib_glibc21" = "yes"; then
24622 cat >>confdefs.h <<\_ACEOF
24623 #define wxHAVE_GLIBC2 1
24624 _ACEOF
24625
24626 fi
24627 fi
24628
24629 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24630 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24631 cat >>confdefs.h <<\_ACEOF
24632 #define _GNU_SOURCE 1
24633 _ACEOF
24634
24635 fi
24636 fi
24637
24638 have_cos=0
24639 have_floor=0
24640
24641 for ac_func in cos
24642 do
24643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24644 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24646 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24647 echo $ECHO_N "(cached) $ECHO_C" >&6
24648 else
24649 cat >conftest.$ac_ext <<_ACEOF
24650 /* confdefs.h. */
24651 _ACEOF
24652 cat confdefs.h >>conftest.$ac_ext
24653 cat >>conftest.$ac_ext <<_ACEOF
24654 /* end confdefs.h. */
24655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24657 #define $ac_func innocuous_$ac_func
24658
24659 /* System header to define __stub macros and hopefully few prototypes,
24660 which can conflict with char $ac_func (); below.
24661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24662 <limits.h> exists even on freestanding compilers. */
24663
24664 #ifdef __STDC__
24665 # include <limits.h>
24666 #else
24667 # include <assert.h>
24668 #endif
24669
24670 #undef $ac_func
24671
24672 /* Override any GCC internal prototype to avoid an error.
24673 Use char because int might match the return type of a GCC
24674 builtin and then its argument prototype would still apply. */
24675 #ifdef __cplusplus
24676 extern "C"
24677 #endif
24678 char $ac_func ();
24679 /* The GNU C library defines this for functions which it implements
24680 to always fail with ENOSYS. Some functions are actually named
24681 something starting with __ and the normal name is an alias. */
24682 #if defined __stub_$ac_func || defined __stub___$ac_func
24683 choke me
24684 #endif
24685
24686 int
24687 main ()
24688 {
24689 return $ac_func ();
24690 ;
24691 return 0;
24692 }
24693 _ACEOF
24694 rm -f conftest.$ac_objext conftest$ac_exeext
24695 if { (ac_try="$ac_link"
24696 case "(($ac_try" in
24697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24698 *) ac_try_echo=$ac_try;;
24699 esac
24700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24701 (eval "$ac_link") 2>conftest.er1
24702 ac_status=$?
24703 grep -v '^ *+' conftest.er1 >conftest.err
24704 rm -f conftest.er1
24705 cat conftest.err >&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } && {
24708 test -z "$ac_c_werror_flag" ||
24709 test ! -s conftest.err
24710 } && test -s conftest$ac_exeext &&
24711 $as_test_x conftest$ac_exeext; then
24712 eval "$as_ac_var=yes"
24713 else
24714 echo "$as_me: failed program was:" >&5
24715 sed 's/^/| /' conftest.$ac_ext >&5
24716
24717 eval "$as_ac_var=no"
24718 fi
24719
24720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24721 conftest$ac_exeext conftest.$ac_ext
24722 fi
24723 ac_res=`eval echo '${'$as_ac_var'}'`
24724 { echo "$as_me:$LINENO: result: $ac_res" >&5
24725 echo "${ECHO_T}$ac_res" >&6; }
24726 if test `eval echo '${'$as_ac_var'}'` = yes; then
24727 cat >>confdefs.h <<_ACEOF
24728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24729 _ACEOF
24730 have_cos=1
24731 fi
24732 done
24733
24734
24735 for ac_func in floor
24736 do
24737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24741 echo $ECHO_N "(cached) $ECHO_C" >&6
24742 else
24743 cat >conftest.$ac_ext <<_ACEOF
24744 /* confdefs.h. */
24745 _ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24751 #define $ac_func innocuous_$ac_func
24752
24753 /* System header to define __stub macros and hopefully few prototypes,
24754 which can conflict with char $ac_func (); below.
24755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24756 <limits.h> exists even on freestanding compilers. */
24757
24758 #ifdef __STDC__
24759 # include <limits.h>
24760 #else
24761 # include <assert.h>
24762 #endif
24763
24764 #undef $ac_func
24765
24766 /* Override any GCC internal prototype to avoid an error.
24767 Use char because int might match the return type of a GCC
24768 builtin and then its argument prototype would still apply. */
24769 #ifdef __cplusplus
24770 extern "C"
24771 #endif
24772 char $ac_func ();
24773 /* The GNU C library defines this for functions which it implements
24774 to always fail with ENOSYS. Some functions are actually named
24775 something starting with __ and the normal name is an alias. */
24776 #if defined __stub_$ac_func || defined __stub___$ac_func
24777 choke me
24778 #endif
24779
24780 int
24781 main ()
24782 {
24783 return $ac_func ();
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 rm -f conftest.$ac_objext conftest$ac_exeext
24789 if { (ac_try="$ac_link"
24790 case "(($ac_try" in
24791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24792 *) ac_try_echo=$ac_try;;
24793 esac
24794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24795 (eval "$ac_link") 2>conftest.er1
24796 ac_status=$?
24797 grep -v '^ *+' conftest.er1 >conftest.err
24798 rm -f conftest.er1
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } && {
24802 test -z "$ac_c_werror_flag" ||
24803 test ! -s conftest.err
24804 } && test -s conftest$ac_exeext &&
24805 $as_test_x conftest$ac_exeext; then
24806 eval "$as_ac_var=yes"
24807 else
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.$ac_ext >&5
24810
24811 eval "$as_ac_var=no"
24812 fi
24813
24814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24815 conftest$ac_exeext conftest.$ac_ext
24816 fi
24817 ac_res=`eval echo '${'$as_ac_var'}'`
24818 { echo "$as_me:$LINENO: result: $ac_res" >&5
24819 echo "${ECHO_T}$ac_res" >&6; }
24820 if test `eval echo '${'$as_ac_var'}'` = yes; then
24821 cat >>confdefs.h <<_ACEOF
24822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24823 _ACEOF
24824 have_floor=1
24825 fi
24826 done
24827
24828 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24829 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24830 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24831 { echo "$as_me:$LINENO: result: yes" >&5
24832 echo "${ECHO_T}yes" >&6; }
24833 else
24834 { echo "$as_me:$LINENO: result: no" >&5
24835 echo "${ECHO_T}no" >&6; }
24836 LIBS="$LIBS -lm"
24837 # use different functions to avoid configure caching
24838 have_sin=0
24839 have_ceil=0
24840
24841 for ac_func in sin
24842 do
24843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24847 echo $ECHO_N "(cached) $ECHO_C" >&6
24848 else
24849 cat >conftest.$ac_ext <<_ACEOF
24850 /* confdefs.h. */
24851 _ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24857 #define $ac_func innocuous_$ac_func
24858
24859 /* System header to define __stub macros and hopefully few prototypes,
24860 which can conflict with char $ac_func (); below.
24861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24862 <limits.h> exists even on freestanding compilers. */
24863
24864 #ifdef __STDC__
24865 # include <limits.h>
24866 #else
24867 # include <assert.h>
24868 #endif
24869
24870 #undef $ac_func
24871
24872 /* Override any GCC internal prototype to avoid an error.
24873 Use char because int might match the return type of a GCC
24874 builtin and then its argument prototype would still apply. */
24875 #ifdef __cplusplus
24876 extern "C"
24877 #endif
24878 char $ac_func ();
24879 /* The GNU C library defines this for functions which it implements
24880 to always fail with ENOSYS. Some functions are actually named
24881 something starting with __ and the normal name is an alias. */
24882 #if defined __stub_$ac_func || defined __stub___$ac_func
24883 choke me
24884 #endif
24885
24886 int
24887 main ()
24888 {
24889 return $ac_func ();
24890 ;
24891 return 0;
24892 }
24893 _ACEOF
24894 rm -f conftest.$ac_objext conftest$ac_exeext
24895 if { (ac_try="$ac_link"
24896 case "(($ac_try" in
24897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24898 *) ac_try_echo=$ac_try;;
24899 esac
24900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24901 (eval "$ac_link") 2>conftest.er1
24902 ac_status=$?
24903 grep -v '^ *+' conftest.er1 >conftest.err
24904 rm -f conftest.er1
24905 cat conftest.err >&5
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); } && {
24908 test -z "$ac_c_werror_flag" ||
24909 test ! -s conftest.err
24910 } && test -s conftest$ac_exeext &&
24911 $as_test_x conftest$ac_exeext; then
24912 eval "$as_ac_var=yes"
24913 else
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.$ac_ext >&5
24916
24917 eval "$as_ac_var=no"
24918 fi
24919
24920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24921 conftest$ac_exeext conftest.$ac_ext
24922 fi
24923 ac_res=`eval echo '${'$as_ac_var'}'`
24924 { echo "$as_me:$LINENO: result: $ac_res" >&5
24925 echo "${ECHO_T}$ac_res" >&6; }
24926 if test `eval echo '${'$as_ac_var'}'` = yes; then
24927 cat >>confdefs.h <<_ACEOF
24928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24929 _ACEOF
24930 have_sin=1
24931 fi
24932 done
24933
24934
24935 for ac_func in ceil
24936 do
24937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24938 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24940 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24942 else
24943 cat >conftest.$ac_ext <<_ACEOF
24944 /* confdefs.h. */
24945 _ACEOF
24946 cat confdefs.h >>conftest.$ac_ext
24947 cat >>conftest.$ac_ext <<_ACEOF
24948 /* end confdefs.h. */
24949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24951 #define $ac_func innocuous_$ac_func
24952
24953 /* System header to define __stub macros and hopefully few prototypes,
24954 which can conflict with char $ac_func (); below.
24955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24956 <limits.h> exists even on freestanding compilers. */
24957
24958 #ifdef __STDC__
24959 # include <limits.h>
24960 #else
24961 # include <assert.h>
24962 #endif
24963
24964 #undef $ac_func
24965
24966 /* Override any GCC internal prototype to avoid an error.
24967 Use char because int might match the return type of a GCC
24968 builtin and then its argument prototype would still apply. */
24969 #ifdef __cplusplus
24970 extern "C"
24971 #endif
24972 char $ac_func ();
24973 /* The GNU C library defines this for functions which it implements
24974 to always fail with ENOSYS. Some functions are actually named
24975 something starting with __ and the normal name is an alias. */
24976 #if defined __stub_$ac_func || defined __stub___$ac_func
24977 choke me
24978 #endif
24979
24980 int
24981 main ()
24982 {
24983 return $ac_func ();
24984 ;
24985 return 0;
24986 }
24987 _ACEOF
24988 rm -f conftest.$ac_objext conftest$ac_exeext
24989 if { (ac_try="$ac_link"
24990 case "(($ac_try" in
24991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24992 *) ac_try_echo=$ac_try;;
24993 esac
24994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24995 (eval "$ac_link") 2>conftest.er1
24996 ac_status=$?
24997 grep -v '^ *+' conftest.er1 >conftest.err
24998 rm -f conftest.er1
24999 cat conftest.err >&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); } && {
25002 test -z "$ac_c_werror_flag" ||
25003 test ! -s conftest.err
25004 } && test -s conftest$ac_exeext &&
25005 $as_test_x conftest$ac_exeext; then
25006 eval "$as_ac_var=yes"
25007 else
25008 echo "$as_me: failed program was:" >&5
25009 sed 's/^/| /' conftest.$ac_ext >&5
25010
25011 eval "$as_ac_var=no"
25012 fi
25013
25014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25015 conftest$ac_exeext conftest.$ac_ext
25016 fi
25017 ac_res=`eval echo '${'$as_ac_var'}'`
25018 { echo "$as_me:$LINENO: result: $ac_res" >&5
25019 echo "${ECHO_T}$ac_res" >&6; }
25020 if test `eval echo '${'$as_ac_var'}'` = yes; then
25021 cat >>confdefs.h <<_ACEOF
25022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25023 _ACEOF
25024 have_ceil=1
25025 fi
25026 done
25027
25028 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25029 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25030 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25031 { echo "$as_me:$LINENO: result: yes" >&5
25032 echo "${ECHO_T}yes" >&6; }
25033 else
25034 { echo "$as_me:$LINENO: result: no" >&5
25035 echo "${ECHO_T}no" >&6; }
25036 # not sure we should warn the user, crash, etc.
25037 fi
25038 fi
25039
25040 ac_ext=cpp
25041 ac_cpp='$CXXCPP $CPPFLAGS'
25042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25045
25046 if test "wxUSE_UNICODE" = "yes"; then
25047
25048 for wx_func in wcstoull
25049 do
25050 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25051 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25052 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25053 echo $ECHO_N "(cached) $ECHO_C" >&6
25054 else
25055
25056 cat >conftest.$ac_ext <<_ACEOF
25057
25058 /* confdefs.h. */
25059 _ACEOF
25060 cat confdefs.h >>conftest.$ac_ext
25061 cat >>conftest.$ac_ext <<_ACEOF
25062 /* end confdefs.h. */
25063
25064
25065 $ac_includes_default
25066
25067 int
25068 main ()
25069 {
25070
25071 #ifndef $wx_func
25072 &$wx_func;
25073 #endif
25074
25075
25076 ;
25077 return 0;
25078 }
25079
25080 _ACEOF
25081 rm -f conftest.$ac_objext conftest$ac_exeext
25082 if { (ac_try="$ac_link"
25083 case "(($ac_try" in
25084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25085 *) ac_try_echo=$ac_try;;
25086 esac
25087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25088 (eval "$ac_link") 2>conftest.er1
25089 ac_status=$?
25090 grep -v '^ *+' conftest.er1 >conftest.err
25091 rm -f conftest.er1
25092 cat conftest.err >&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); } && {
25095 test -z "$ac_cxx_werror_flag" ||
25096 test ! -s conftest.err
25097 } && test -s conftest$ac_exeext &&
25098 $as_test_x conftest$ac_exeext; then
25099 eval wx_cv_func_$wx_func=yes
25100 else
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.$ac_ext >&5
25103
25104 eval wx_cv_func_$wx_func=no
25105 fi
25106
25107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25108 conftest$ac_exeext conftest.$ac_ext
25109
25110 fi
25111 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25112 { echo "$as_me:$LINENO: result: $ac_res" >&5
25113 echo "${ECHO_T}$ac_res" >&6; }
25114
25115 if eval test \$wx_cv_func_$wx_func = yes
25116 then
25117 cat >>confdefs.h <<_ACEOF
25118 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25119 _ACEOF
25120
25121
25122 else
25123 :
25124
25125 fi
25126 done
25127
25128 else
25129
25130 for wx_func in strtoull
25131 do
25132 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25133 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25134 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25135 echo $ECHO_N "(cached) $ECHO_C" >&6
25136 else
25137
25138 cat >conftest.$ac_ext <<_ACEOF
25139
25140 /* confdefs.h. */
25141 _ACEOF
25142 cat confdefs.h >>conftest.$ac_ext
25143 cat >>conftest.$ac_ext <<_ACEOF
25144 /* end confdefs.h. */
25145
25146
25147 $ac_includes_default
25148
25149 int
25150 main ()
25151 {
25152
25153 #ifndef $wx_func
25154 &$wx_func;
25155 #endif
25156
25157
25158 ;
25159 return 0;
25160 }
25161
25162 _ACEOF
25163 rm -f conftest.$ac_objext conftest$ac_exeext
25164 if { (ac_try="$ac_link"
25165 case "(($ac_try" in
25166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25167 *) ac_try_echo=$ac_try;;
25168 esac
25169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170 (eval "$ac_link") 2>conftest.er1
25171 ac_status=$?
25172 grep -v '^ *+' conftest.er1 >conftest.err
25173 rm -f conftest.er1
25174 cat conftest.err >&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); } && {
25177 test -z "$ac_cxx_werror_flag" ||
25178 test ! -s conftest.err
25179 } && test -s conftest$ac_exeext &&
25180 $as_test_x conftest$ac_exeext; then
25181 eval wx_cv_func_$wx_func=yes
25182 else
25183 echo "$as_me: failed program was:" >&5
25184 sed 's/^/| /' conftest.$ac_ext >&5
25185
25186 eval wx_cv_func_$wx_func=no
25187 fi
25188
25189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25190 conftest$ac_exeext conftest.$ac_ext
25191
25192 fi
25193 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25194 { echo "$as_me:$LINENO: result: $ac_res" >&5
25195 echo "${ECHO_T}$ac_res" >&6; }
25196
25197 if eval test \$wx_cv_func_$wx_func = yes
25198 then
25199 cat >>confdefs.h <<_ACEOF
25200 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25201 _ACEOF
25202
25203
25204 else
25205 :
25206
25207 fi
25208 done
25209
25210 fi
25211 ac_ext=c
25212 ac_cpp='$CPP $CPPFLAGS'
25213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25216
25217
25218
25219
25220 if test "$wxUSE_REGEX" != "no"; then
25221 cat >>confdefs.h <<\_ACEOF
25222 #define wxUSE_REGEX 1
25223 _ACEOF
25224
25225
25226 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25227 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25228 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25229 wxUSE_REGEX=builtin
25230 fi
25231
25232 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25233 { echo "$as_me:$LINENO: checking for regex.h" >&5
25234 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25235 if test "${ac_cv_header_regex_h+set}" = set; then
25236 echo $ECHO_N "(cached) $ECHO_C" >&6
25237 else
25238 cat >conftest.$ac_ext <<_ACEOF
25239 /* confdefs.h. */
25240 _ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25244
25245
25246 #include <regex.h>
25247 _ACEOF
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25253 esac
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_c_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25265 ac_cv_header_regex_h=yes
25266 else
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25269
25270 ac_cv_header_regex_h=no
25271 fi
25272
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 fi
25275 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25276 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25277 if test $ac_cv_header_regex_h = yes; then
25278
25279
25280 for ac_func in regcomp re_search
25281 do
25282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25286 echo $ECHO_N "(cached) $ECHO_C" >&6
25287 else
25288 cat >conftest.$ac_ext <<_ACEOF
25289 /* confdefs.h. */
25290 _ACEOF
25291 cat confdefs.h >>conftest.$ac_ext
25292 cat >>conftest.$ac_ext <<_ACEOF
25293 /* end confdefs.h. */
25294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25296 #define $ac_func innocuous_$ac_func
25297
25298 /* System header to define __stub macros and hopefully few prototypes,
25299 which can conflict with char $ac_func (); below.
25300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25301 <limits.h> exists even on freestanding compilers. */
25302
25303 #ifdef __STDC__
25304 # include <limits.h>
25305 #else
25306 # include <assert.h>
25307 #endif
25308
25309 #undef $ac_func
25310
25311 /* Override any GCC internal prototype to avoid an error.
25312 Use char because int might match the return type of a GCC
25313 builtin and then its argument prototype would still apply. */
25314 #ifdef __cplusplus
25315 extern "C"
25316 #endif
25317 char $ac_func ();
25318 /* The GNU C library defines this for functions which it implements
25319 to always fail with ENOSYS. Some functions are actually named
25320 something starting with __ and the normal name is an alias. */
25321 #if defined __stub_$ac_func || defined __stub___$ac_func
25322 choke me
25323 #endif
25324
25325 int
25326 main ()
25327 {
25328 return $ac_func ();
25329 ;
25330 return 0;
25331 }
25332 _ACEOF
25333 rm -f conftest.$ac_objext conftest$ac_exeext
25334 if { (ac_try="$ac_link"
25335 case "(($ac_try" in
25336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25337 *) ac_try_echo=$ac_try;;
25338 esac
25339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25340 (eval "$ac_link") 2>conftest.er1
25341 ac_status=$?
25342 grep -v '^ *+' conftest.er1 >conftest.err
25343 rm -f conftest.er1
25344 cat conftest.err >&5
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); } && {
25347 test -z "$ac_c_werror_flag" ||
25348 test ! -s conftest.err
25349 } && test -s conftest$ac_exeext &&
25350 $as_test_x conftest$ac_exeext; then
25351 eval "$as_ac_var=yes"
25352 else
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.$ac_ext >&5
25355
25356 eval "$as_ac_var=no"
25357 fi
25358
25359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25360 conftest$ac_exeext conftest.$ac_ext
25361 fi
25362 ac_res=`eval echo '${'$as_ac_var'}'`
25363 { echo "$as_me:$LINENO: result: $ac_res" >&5
25364 echo "${ECHO_T}$ac_res" >&6; }
25365 if test `eval echo '${'$as_ac_var'}'` = yes; then
25366 cat >>confdefs.h <<_ACEOF
25367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25368 _ACEOF
25369
25370 fi
25371 done
25372
25373 fi
25374
25375
25376
25377 if test "x$ac_cv_func_regcomp" != "xyes"; then
25378 if test "$wxUSE_REGEX" = "sys" ; then
25379 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25380 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25381 { (exit 1); exit 1; }; }
25382 else
25383 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25384 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25385 wxUSE_REGEX=builtin
25386 fi
25387 else
25388 wxUSE_REGEX=sys
25389 cat >>confdefs.h <<\_ACEOF
25390 #define WX_NO_REGEX_ADVANCED 1
25391 _ACEOF
25392
25393 fi
25394 fi
25395 fi
25396
25397
25398 ZLIB_LINK=
25399 if test "$wxUSE_ZLIB" != "no" ; then
25400 cat >>confdefs.h <<\_ACEOF
25401 #define wxUSE_ZLIB 1
25402 _ACEOF
25403
25404
25405 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25406 if test "$USE_DARWIN" = 1; then
25407 system_zlib_h_ok="yes"
25408 else
25409 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25410 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25411 if test "${ac_cv_header_zlib_h+set}" = set; then
25412 echo $ECHO_N "(cached) $ECHO_C" >&6
25413 else
25414 if test "$cross_compiling" = yes; then
25415 unset ac_cv_header_zlib_h
25416
25417 else
25418 cat >conftest.$ac_ext <<_ACEOF
25419 /* confdefs.h. */
25420 _ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25424
25425 #include <zlib.h>
25426 #include <stdio.h>
25427
25428 int main()
25429 {
25430 FILE *f=fopen("conftestval", "w");
25431 if (!f) exit(1);
25432 fprintf(f, "%s",
25433 ZLIB_VERSION[0] == '1' &&
25434 (ZLIB_VERSION[2] > '1' ||
25435 (ZLIB_VERSION[2] == '1' &&
25436 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25437 exit(0);
25438 }
25439
25440 _ACEOF
25441 rm -f conftest$ac_exeext
25442 if { (ac_try="$ac_link"
25443 case "(($ac_try" in
25444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25445 *) ac_try_echo=$ac_try;;
25446 esac
25447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25448 (eval "$ac_link") 2>&5
25449 ac_status=$?
25450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25451 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25452 { (case "(($ac_try" in
25453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25454 *) ac_try_echo=$ac_try;;
25455 esac
25456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25457 (eval "$ac_try") 2>&5
25458 ac_status=$?
25459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25460 (exit $ac_status); }; }; then
25461 ac_cv_header_zlib_h=`cat conftestval`
25462 else
25463 echo "$as_me: program exited with status $ac_status" >&5
25464 echo "$as_me: failed program was:" >&5
25465 sed 's/^/| /' conftest.$ac_ext >&5
25466
25467 ( exit $ac_status )
25468 ac_cv_header_zlib_h=no
25469 fi
25470 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25471 fi
25472
25473
25474
25475 fi
25476 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25477 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25478 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25479 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25480 if test "${ac_cv_header_zlib_h+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 else
25483 cat >conftest.$ac_ext <<_ACEOF
25484 /* confdefs.h. */
25485 _ACEOF
25486 cat confdefs.h >>conftest.$ac_ext
25487 cat >>conftest.$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25489
25490
25491 #include <zlib.h>
25492 _ACEOF
25493 rm -f conftest.$ac_objext
25494 if { (ac_try="$ac_compile"
25495 case "(($ac_try" in
25496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25497 *) ac_try_echo=$ac_try;;
25498 esac
25499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25500 (eval "$ac_compile") 2>conftest.er1
25501 ac_status=$?
25502 grep -v '^ *+' conftest.er1 >conftest.err
25503 rm -f conftest.er1
25504 cat conftest.err >&5
25505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506 (exit $ac_status); } && {
25507 test -z "$ac_c_werror_flag" ||
25508 test ! -s conftest.err
25509 } && test -s conftest.$ac_objext; then
25510 ac_cv_header_zlib_h=yes
25511 else
25512 echo "$as_me: failed program was:" >&5
25513 sed 's/^/| /' conftest.$ac_ext >&5
25514
25515 ac_cv_header_zlib_h=no
25516 fi
25517
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25519 fi
25520 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25521 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25522
25523
25524
25525 system_zlib_h_ok=$ac_cv_header_zlib_h
25526 fi
25527
25528 if test "$system_zlib_h_ok" = "yes"; then
25529 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25530 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25531 if test "${ac_cv_lib_z_deflate+set}" = set; then
25532 echo $ECHO_N "(cached) $ECHO_C" >&6
25533 else
25534 ac_check_lib_save_LIBS=$LIBS
25535 LIBS="-lz $LIBS"
25536 cat >conftest.$ac_ext <<_ACEOF
25537 /* confdefs.h. */
25538 _ACEOF
25539 cat confdefs.h >>conftest.$ac_ext
25540 cat >>conftest.$ac_ext <<_ACEOF
25541 /* end confdefs.h. */
25542
25543 /* Override any GCC internal prototype to avoid an error.
25544 Use char because int might match the return type of a GCC
25545 builtin and then its argument prototype would still apply. */
25546 #ifdef __cplusplus
25547 extern "C"
25548 #endif
25549 char deflate ();
25550 int
25551 main ()
25552 {
25553 return deflate ();
25554 ;
25555 return 0;
25556 }
25557 _ACEOF
25558 rm -f conftest.$ac_objext conftest$ac_exeext
25559 if { (ac_try="$ac_link"
25560 case "(($ac_try" in
25561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25562 *) ac_try_echo=$ac_try;;
25563 esac
25564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25565 (eval "$ac_link") 2>conftest.er1
25566 ac_status=$?
25567 grep -v '^ *+' conftest.er1 >conftest.err
25568 rm -f conftest.er1
25569 cat conftest.err >&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } && {
25572 test -z "$ac_c_werror_flag" ||
25573 test ! -s conftest.err
25574 } && test -s conftest$ac_exeext &&
25575 $as_test_x conftest$ac_exeext; then
25576 ac_cv_lib_z_deflate=yes
25577 else
25578 echo "$as_me: failed program was:" >&5
25579 sed 's/^/| /' conftest.$ac_ext >&5
25580
25581 ac_cv_lib_z_deflate=no
25582 fi
25583
25584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25585 conftest$ac_exeext conftest.$ac_ext
25586 LIBS=$ac_check_lib_save_LIBS
25587 fi
25588 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25589 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25590 if test $ac_cv_lib_z_deflate = yes; then
25591 ZLIB_LINK=" -lz"
25592 fi
25593
25594 fi
25595
25596 if test "x$ZLIB_LINK" = "x" ; then
25597 if test "$wxUSE_ZLIB" = "sys" ; then
25598 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25599 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25600 { (exit 1); exit 1; }; }
25601 else
25602 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25603 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25604 wxUSE_ZLIB=builtin
25605 fi
25606 else
25607 wxUSE_ZLIB=sys
25608 fi
25609 fi
25610 fi
25611
25612
25613 PNG_LINK=
25614 if test "$wxUSE_LIBPNG" != "no" ; then
25615 cat >>confdefs.h <<\_ACEOF
25616 #define wxUSE_LIBPNG 1
25617 _ACEOF
25618
25619
25620 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25621 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25622 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25623 wxUSE_LIBPNG=sys
25624 fi
25625
25626 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25627 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25628 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25629 wxUSE_LIBPNG=builtin
25630 fi
25631
25632 if test "$wxUSE_MGL" != 1 ; then
25633 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25634 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25635 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25636 if test "${ac_cv_header_png_h+set}" = set; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 else
25639 if test "$cross_compiling" = yes; then
25640 unset ac_cv_header_png_h
25641
25642 else
25643 cat >conftest.$ac_ext <<_ACEOF
25644 /* confdefs.h. */
25645 _ACEOF
25646 cat confdefs.h >>conftest.$ac_ext
25647 cat >>conftest.$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25649
25650 #include <png.h>
25651 #include <stdio.h>
25652
25653 int main()
25654 {
25655 FILE *f=fopen("conftestval", "w");
25656 if (!f) exit(1);
25657 fprintf(f, "%s",
25658 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25659 exit(0);
25660 }
25661
25662 _ACEOF
25663 rm -f conftest$ac_exeext
25664 if { (ac_try="$ac_link"
25665 case "(($ac_try" in
25666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25667 *) ac_try_echo=$ac_try;;
25668 esac
25669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25670 (eval "$ac_link") 2>&5
25671 ac_status=$?
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25674 { (case "(($ac_try" in
25675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25676 *) ac_try_echo=$ac_try;;
25677 esac
25678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25679 (eval "$ac_try") 2>&5
25680 ac_status=$?
25681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25682 (exit $ac_status); }; }; then
25683 ac_cv_header_png_h=`cat conftestval`
25684 else
25685 echo "$as_me: program exited with status $ac_status" >&5
25686 echo "$as_me: failed program was:" >&5
25687 sed 's/^/| /' conftest.$ac_ext >&5
25688
25689 ( exit $ac_status )
25690 ac_cv_header_png_h=no
25691 fi
25692 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25693 fi
25694
25695
25696
25697 fi
25698 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25699 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25700 { echo "$as_me:$LINENO: checking for png.h" >&5
25701 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25702 if test "${ac_cv_header_png_h+set}" = set; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25705 cat >conftest.$ac_ext <<_ACEOF
25706 /* confdefs.h. */
25707 _ACEOF
25708 cat confdefs.h >>conftest.$ac_ext
25709 cat >>conftest.$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25711
25712
25713 #include <png.h>
25714 _ACEOF
25715 rm -f conftest.$ac_objext
25716 if { (ac_try="$ac_compile"
25717 case "(($ac_try" in
25718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25719 *) ac_try_echo=$ac_try;;
25720 esac
25721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722 (eval "$ac_compile") 2>conftest.er1
25723 ac_status=$?
25724 grep -v '^ *+' conftest.er1 >conftest.err
25725 rm -f conftest.er1
25726 cat conftest.err >&5
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); } && {
25729 test -z "$ac_c_werror_flag" ||
25730 test ! -s conftest.err
25731 } && test -s conftest.$ac_objext; then
25732 ac_cv_header_png_h=yes
25733 else
25734 echo "$as_me: failed program was:" >&5
25735 sed 's/^/| /' conftest.$ac_ext >&5
25736
25737 ac_cv_header_png_h=no
25738 fi
25739
25740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25741 fi
25742 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25743 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25744
25745
25746
25747 if test "$ac_cv_header_png_h" = "yes"; then
25748 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25749 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25750 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25751 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 else
25753 ac_check_lib_save_LIBS=$LIBS
25754 LIBS="-lpng -lz -lm $LIBS"
25755 cat >conftest.$ac_ext <<_ACEOF
25756 /* confdefs.h. */
25757 _ACEOF
25758 cat confdefs.h >>conftest.$ac_ext
25759 cat >>conftest.$ac_ext <<_ACEOF
25760 /* end confdefs.h. */
25761
25762 /* Override any GCC internal prototype to avoid an error.
25763 Use char because int might match the return type of a GCC
25764 builtin and then its argument prototype would still apply. */
25765 #ifdef __cplusplus
25766 extern "C"
25767 #endif
25768 char png_check_sig ();
25769 int
25770 main ()
25771 {
25772 return png_check_sig ();
25773 ;
25774 return 0;
25775 }
25776 _ACEOF
25777 rm -f conftest.$ac_objext conftest$ac_exeext
25778 if { (ac_try="$ac_link"
25779 case "(($ac_try" in
25780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25781 *) ac_try_echo=$ac_try;;
25782 esac
25783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25784 (eval "$ac_link") 2>conftest.er1
25785 ac_status=$?
25786 grep -v '^ *+' conftest.er1 >conftest.err
25787 rm -f conftest.er1
25788 cat conftest.err >&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); } && {
25791 test -z "$ac_c_werror_flag" ||
25792 test ! -s conftest.err
25793 } && test -s conftest$ac_exeext &&
25794 $as_test_x conftest$ac_exeext; then
25795 ac_cv_lib_png_png_check_sig=yes
25796 else
25797 echo "$as_me: failed program was:" >&5
25798 sed 's/^/| /' conftest.$ac_ext >&5
25799
25800 ac_cv_lib_png_png_check_sig=no
25801 fi
25802
25803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25804 conftest$ac_exeext conftest.$ac_ext
25805 LIBS=$ac_check_lib_save_LIBS
25806 fi
25807 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25808 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25809 if test $ac_cv_lib_png_png_check_sig = yes; then
25810 PNG_LINK=" -lpng -lz"
25811 fi
25812
25813 fi
25814
25815 if test "x$PNG_LINK" = "x" ; then
25816 if test "$wxUSE_LIBPNG" = "sys" ; then
25817 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25818 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25819 { (exit 1); exit 1; }; }
25820 else
25821 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25822 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25823 wxUSE_LIBPNG=builtin
25824 fi
25825 else
25826 wxUSE_LIBPNG=sys
25827 fi
25828 fi
25829 fi
25830
25831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25832 fi
25833
25834
25835 JPEG_LINK=
25836 if test "$wxUSE_LIBJPEG" != "no" ; then
25837 cat >>confdefs.h <<\_ACEOF
25838 #define wxUSE_LIBJPEG 1
25839 _ACEOF
25840
25841
25842 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25843 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25844 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25845 wxUSE_LIBJPEG=sys
25846 fi
25847
25848 if test "$wxUSE_MGL" != 1 ; then
25849 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25850 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25851 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25852 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 else
25855 cat >conftest.$ac_ext <<_ACEOF
25856 /* confdefs.h. */
25857 _ACEOF
25858 cat confdefs.h >>conftest.$ac_ext
25859 cat >>conftest.$ac_ext <<_ACEOF
25860 /* end confdefs.h. */
25861
25862 #undef HAVE_STDLIB_H
25863 #include <stdio.h>
25864 #include <jpeglib.h>
25865
25866 int
25867 main ()
25868 {
25869
25870
25871 ;
25872 return 0;
25873 }
25874 _ACEOF
25875 rm -f conftest.$ac_objext
25876 if { (ac_try="$ac_compile"
25877 case "(($ac_try" in
25878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25879 *) ac_try_echo=$ac_try;;
25880 esac
25881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25882 (eval "$ac_compile") 2>conftest.er1
25883 ac_status=$?
25884 grep -v '^ *+' conftest.er1 >conftest.err
25885 rm -f conftest.er1
25886 cat conftest.err >&5
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); } && {
25889 test -z "$ac_c_werror_flag" ||
25890 test ! -s conftest.err
25891 } && test -s conftest.$ac_objext; then
25892 ac_cv_header_jpeglib_h=yes
25893 else
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25896
25897 ac_cv_header_jpeglib_h=no
25898
25899 fi
25900
25901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25902
25903 fi
25904
25905 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25906 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25907
25908 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25909 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25910 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25911 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25912 echo $ECHO_N "(cached) $ECHO_C" >&6
25913 else
25914 ac_check_lib_save_LIBS=$LIBS
25915 LIBS="-ljpeg $LIBS"
25916 cat >conftest.$ac_ext <<_ACEOF
25917 /* confdefs.h. */
25918 _ACEOF
25919 cat confdefs.h >>conftest.$ac_ext
25920 cat >>conftest.$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922
25923 /* Override any GCC internal prototype to avoid an error.
25924 Use char because int might match the return type of a GCC
25925 builtin and then its argument prototype would still apply. */
25926 #ifdef __cplusplus
25927 extern "C"
25928 #endif
25929 char jpeg_read_header ();
25930 int
25931 main ()
25932 {
25933 return jpeg_read_header ();
25934 ;
25935 return 0;
25936 }
25937 _ACEOF
25938 rm -f conftest.$ac_objext conftest$ac_exeext
25939 if { (ac_try="$ac_link"
25940 case "(($ac_try" in
25941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25942 *) ac_try_echo=$ac_try;;
25943 esac
25944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25945 (eval "$ac_link") 2>conftest.er1
25946 ac_status=$?
25947 grep -v '^ *+' conftest.er1 >conftest.err
25948 rm -f conftest.er1
25949 cat conftest.err >&5
25950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951 (exit $ac_status); } && {
25952 test -z "$ac_c_werror_flag" ||
25953 test ! -s conftest.err
25954 } && test -s conftest$ac_exeext &&
25955 $as_test_x conftest$ac_exeext; then
25956 ac_cv_lib_jpeg_jpeg_read_header=yes
25957 else
25958 echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25960
25961 ac_cv_lib_jpeg_jpeg_read_header=no
25962 fi
25963
25964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25965 conftest$ac_exeext conftest.$ac_ext
25966 LIBS=$ac_check_lib_save_LIBS
25967 fi
25968 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25969 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25970 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25971 JPEG_LINK=" -ljpeg"
25972 fi
25973
25974 fi
25975
25976 if test "x$JPEG_LINK" = "x" ; then
25977 if test "$wxUSE_LIBJPEG" = "sys" ; then
25978 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25979 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25980 { (exit 1); exit 1; }; }
25981 else
25982 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25983 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25984 wxUSE_LIBJPEG=builtin
25985 fi
25986 else
25987 wxUSE_LIBJPEG=sys
25988
25989 if test "$wxUSE_MSW" = 1; then
25990 { echo "$as_me:$LINENO: checking for boolean" >&5
25991 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25992 if test "${ac_cv_type_boolean+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 else
25995 cat >conftest.$ac_ext <<_ACEOF
25996 /* confdefs.h. */
25997 _ACEOF
25998 cat confdefs.h >>conftest.$ac_ext
25999 cat >>conftest.$ac_ext <<_ACEOF
26000 /* end confdefs.h. */
26001 #include <windows.h>
26002
26003 typedef boolean ac__type_new_;
26004 int
26005 main ()
26006 {
26007 if ((ac__type_new_ *) 0)
26008 return 0;
26009 if (sizeof (ac__type_new_))
26010 return 0;
26011 ;
26012 return 0;
26013 }
26014 _ACEOF
26015 rm -f conftest.$ac_objext
26016 if { (ac_try="$ac_compile"
26017 case "(($ac_try" in
26018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26019 *) ac_try_echo=$ac_try;;
26020 esac
26021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26022 (eval "$ac_compile") 2>conftest.er1
26023 ac_status=$?
26024 grep -v '^ *+' conftest.er1 >conftest.err
26025 rm -f conftest.er1
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } && {
26029 test -z "$ac_c_werror_flag" ||
26030 test ! -s conftest.err
26031 } && test -s conftest.$ac_objext; then
26032 ac_cv_type_boolean=yes
26033 else
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.$ac_ext >&5
26036
26037 ac_cv_type_boolean=no
26038 fi
26039
26040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26041 fi
26042 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26043 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26044 if test $ac_cv_type_boolean = yes; then
26045
26046 cat >>confdefs.h <<_ACEOF
26047 #define HAVE_BOOLEAN 1
26048 _ACEOF
26049
26050
26051 { echo "$as_me:$LINENO: checking for boolean" >&5
26052 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26053 if test "${ac_cv_type_boolean+set}" = set; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26055 else
26056 cat >conftest.$ac_ext <<_ACEOF
26057 /* confdefs.h. */
26058 _ACEOF
26059 cat confdefs.h >>conftest.$ac_ext
26060 cat >>conftest.$ac_ext <<_ACEOF
26061 /* end confdefs.h. */
26062
26063 #undef HAVE_BOOLEAN
26064 #include <stdio.h>
26065 #include <jpeglib.h>
26066
26067
26068 typedef boolean ac__type_new_;
26069 int
26070 main ()
26071 {
26072 if ((ac__type_new_ *) 0)
26073 return 0;
26074 if (sizeof (ac__type_new_))
26075 return 0;
26076 ;
26077 return 0;
26078 }
26079 _ACEOF
26080 rm -f conftest.$ac_objext
26081 if { (ac_try="$ac_compile"
26082 case "(($ac_try" in
26083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26084 *) ac_try_echo=$ac_try;;
26085 esac
26086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26087 (eval "$ac_compile") 2>conftest.er1
26088 ac_status=$?
26089 grep -v '^ *+' conftest.er1 >conftest.err
26090 rm -f conftest.er1
26091 cat conftest.err >&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); } && {
26094 test -z "$ac_c_werror_flag" ||
26095 test ! -s conftest.err
26096 } && test -s conftest.$ac_objext; then
26097 ac_cv_type_boolean=yes
26098 else
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26101
26102 ac_cv_type_boolean=no
26103 fi
26104
26105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26106 fi
26107 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26108 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26109
26110 # The cast to long int works around a bug in the HP C Compiler
26111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26113 # This bug is HP SR number 8606223364.
26114 { echo "$as_me:$LINENO: checking size of boolean" >&5
26115 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26116 if test "${ac_cv_sizeof_boolean+set}" = set; then
26117 echo $ECHO_N "(cached) $ECHO_C" >&6
26118 else
26119 if test "$cross_compiling" = yes; then
26120 # Depending upon the size, compute the lo and hi bounds.
26121 cat >conftest.$ac_ext <<_ACEOF
26122 /* confdefs.h. */
26123 _ACEOF
26124 cat confdefs.h >>conftest.$ac_ext
26125 cat >>conftest.$ac_ext <<_ACEOF
26126 /* end confdefs.h. */
26127
26128 #undef HAVE_BOOLEAN
26129 #include <stdio.h>
26130 #include <jpeglib.h>
26131
26132
26133 typedef boolean ac__type_sizeof_;
26134 int
26135 main ()
26136 {
26137 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26138 test_array [0] = 0
26139
26140 ;
26141 return 0;
26142 }
26143 _ACEOF
26144 rm -f conftest.$ac_objext
26145 if { (ac_try="$ac_compile"
26146 case "(($ac_try" in
26147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26148 *) ac_try_echo=$ac_try;;
26149 esac
26150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26151 (eval "$ac_compile") 2>conftest.er1
26152 ac_status=$?
26153 grep -v '^ *+' conftest.er1 >conftest.err
26154 rm -f conftest.er1
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } && {
26158 test -z "$ac_c_werror_flag" ||
26159 test ! -s conftest.err
26160 } && test -s conftest.$ac_objext; then
26161 ac_lo=0 ac_mid=0
26162 while :; do
26163 cat >conftest.$ac_ext <<_ACEOF
26164 /* confdefs.h. */
26165 _ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169
26170 #undef HAVE_BOOLEAN
26171 #include <stdio.h>
26172 #include <jpeglib.h>
26173
26174
26175 typedef boolean ac__type_sizeof_;
26176 int
26177 main ()
26178 {
26179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26180 test_array [0] = 0
26181
26182 ;
26183 return 0;
26184 }
26185 _ACEOF
26186 rm -f conftest.$ac_objext
26187 if { (ac_try="$ac_compile"
26188 case "(($ac_try" in
26189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26190 *) ac_try_echo=$ac_try;;
26191 esac
26192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26193 (eval "$ac_compile") 2>conftest.er1
26194 ac_status=$?
26195 grep -v '^ *+' conftest.er1 >conftest.err
26196 rm -f conftest.er1
26197 cat conftest.err >&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); } && {
26200 test -z "$ac_c_werror_flag" ||
26201 test ! -s conftest.err
26202 } && test -s conftest.$ac_objext; then
26203 ac_hi=$ac_mid; break
26204 else
26205 echo "$as_me: failed program was:" >&5
26206 sed 's/^/| /' conftest.$ac_ext >&5
26207
26208 ac_lo=`expr $ac_mid + 1`
26209 if test $ac_lo -le $ac_mid; then
26210 ac_lo= ac_hi=
26211 break
26212 fi
26213 ac_mid=`expr 2 '*' $ac_mid + 1`
26214 fi
26215
26216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26217 done
26218 else
26219 echo "$as_me: failed program was:" >&5
26220 sed 's/^/| /' conftest.$ac_ext >&5
26221
26222 cat >conftest.$ac_ext <<_ACEOF
26223 /* confdefs.h. */
26224 _ACEOF
26225 cat confdefs.h >>conftest.$ac_ext
26226 cat >>conftest.$ac_ext <<_ACEOF
26227 /* end confdefs.h. */
26228
26229 #undef HAVE_BOOLEAN
26230 #include <stdio.h>
26231 #include <jpeglib.h>
26232
26233
26234 typedef boolean ac__type_sizeof_;
26235 int
26236 main ()
26237 {
26238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26239 test_array [0] = 0
26240
26241 ;
26242 return 0;
26243 }
26244 _ACEOF
26245 rm -f conftest.$ac_objext
26246 if { (ac_try="$ac_compile"
26247 case "(($ac_try" in
26248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26249 *) ac_try_echo=$ac_try;;
26250 esac
26251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26252 (eval "$ac_compile") 2>conftest.er1
26253 ac_status=$?
26254 grep -v '^ *+' conftest.er1 >conftest.err
26255 rm -f conftest.er1
26256 cat conftest.err >&5
26257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26258 (exit $ac_status); } && {
26259 test -z "$ac_c_werror_flag" ||
26260 test ! -s conftest.err
26261 } && test -s conftest.$ac_objext; then
26262 ac_hi=-1 ac_mid=-1
26263 while :; do
26264 cat >conftest.$ac_ext <<_ACEOF
26265 /* confdefs.h. */
26266 _ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26270
26271 #undef HAVE_BOOLEAN
26272 #include <stdio.h>
26273 #include <jpeglib.h>
26274
26275
26276 typedef boolean ac__type_sizeof_;
26277 int
26278 main ()
26279 {
26280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26281 test_array [0] = 0
26282
26283 ;
26284 return 0;
26285 }
26286 _ACEOF
26287 rm -f conftest.$ac_objext
26288 if { (ac_try="$ac_compile"
26289 case "(($ac_try" in
26290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26291 *) ac_try_echo=$ac_try;;
26292 esac
26293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26294 (eval "$ac_compile") 2>conftest.er1
26295 ac_status=$?
26296 grep -v '^ *+' conftest.er1 >conftest.err
26297 rm -f conftest.er1
26298 cat conftest.err >&5
26299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26300 (exit $ac_status); } && {
26301 test -z "$ac_c_werror_flag" ||
26302 test ! -s conftest.err
26303 } && test -s conftest.$ac_objext; then
26304 ac_lo=$ac_mid; break
26305 else
26306 echo "$as_me: failed program was:" >&5
26307 sed 's/^/| /' conftest.$ac_ext >&5
26308
26309 ac_hi=`expr '(' $ac_mid ')' - 1`
26310 if test $ac_mid -le $ac_hi; then
26311 ac_lo= ac_hi=
26312 break
26313 fi
26314 ac_mid=`expr 2 '*' $ac_mid`
26315 fi
26316
26317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26318 done
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26322
26323 ac_lo= ac_hi=
26324 fi
26325
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327 fi
26328
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330 # Binary search between lo and hi bounds.
26331 while test "x$ac_lo" != "x$ac_hi"; do
26332 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26333 cat >conftest.$ac_ext <<_ACEOF
26334 /* confdefs.h. */
26335 _ACEOF
26336 cat confdefs.h >>conftest.$ac_ext
26337 cat >>conftest.$ac_ext <<_ACEOF
26338 /* end confdefs.h. */
26339
26340 #undef HAVE_BOOLEAN
26341 #include <stdio.h>
26342 #include <jpeglib.h>
26343
26344
26345 typedef boolean ac__type_sizeof_;
26346 int
26347 main ()
26348 {
26349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26350 test_array [0] = 0
26351
26352 ;
26353 return 0;
26354 }
26355 _ACEOF
26356 rm -f conftest.$ac_objext
26357 if { (ac_try="$ac_compile"
26358 case "(($ac_try" in
26359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26360 *) ac_try_echo=$ac_try;;
26361 esac
26362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26363 (eval "$ac_compile") 2>conftest.er1
26364 ac_status=$?
26365 grep -v '^ *+' conftest.er1 >conftest.err
26366 rm -f conftest.er1
26367 cat conftest.err >&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); } && {
26370 test -z "$ac_c_werror_flag" ||
26371 test ! -s conftest.err
26372 } && test -s conftest.$ac_objext; then
26373 ac_hi=$ac_mid
26374 else
26375 echo "$as_me: failed program was:" >&5
26376 sed 's/^/| /' conftest.$ac_ext >&5
26377
26378 ac_lo=`expr '(' $ac_mid ')' + 1`
26379 fi
26380
26381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26382 done
26383 case $ac_lo in
26384 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26385 '') if test "$ac_cv_type_boolean" = yes; then
26386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26387 See \`config.log' for more details." >&5
26388 echo "$as_me: error: cannot compute sizeof (boolean)
26389 See \`config.log' for more details." >&2;}
26390 { (exit 77); exit 77; }; }
26391 else
26392 ac_cv_sizeof_boolean=0
26393 fi ;;
26394 esac
26395 else
26396 cat >conftest.$ac_ext <<_ACEOF
26397 /* confdefs.h. */
26398 _ACEOF
26399 cat confdefs.h >>conftest.$ac_ext
26400 cat >>conftest.$ac_ext <<_ACEOF
26401 /* end confdefs.h. */
26402
26403 #undef HAVE_BOOLEAN
26404 #include <stdio.h>
26405 #include <jpeglib.h>
26406
26407
26408 typedef boolean ac__type_sizeof_;
26409 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26410 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26411 #include <stdio.h>
26412 #include <stdlib.h>
26413 int
26414 main ()
26415 {
26416
26417 FILE *f = fopen ("conftest.val", "w");
26418 if (! f)
26419 return 1;
26420 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26421 {
26422 long int i = longval ();
26423 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26424 return 1;
26425 fprintf (f, "%ld\n", i);
26426 }
26427 else
26428 {
26429 unsigned long int i = ulongval ();
26430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26431 return 1;
26432 fprintf (f, "%lu\n", i);
26433 }
26434 return ferror (f) || fclose (f) != 0;
26435
26436 ;
26437 return 0;
26438 }
26439 _ACEOF
26440 rm -f conftest$ac_exeext
26441 if { (ac_try="$ac_link"
26442 case "(($ac_try" in
26443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26444 *) ac_try_echo=$ac_try;;
26445 esac
26446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26447 (eval "$ac_link") 2>&5
26448 ac_status=$?
26449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26451 { (case "(($ac_try" in
26452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26453 *) ac_try_echo=$ac_try;;
26454 esac
26455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 (eval "$ac_try") 2>&5
26457 ac_status=$?
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; }; then
26460 ac_cv_sizeof_boolean=`cat conftest.val`
26461 else
26462 echo "$as_me: program exited with status $ac_status" >&5
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.$ac_ext >&5
26465
26466 ( exit $ac_status )
26467 if test "$ac_cv_type_boolean" = yes; then
26468 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26469 See \`config.log' for more details." >&5
26470 echo "$as_me: error: cannot compute sizeof (boolean)
26471 See \`config.log' for more details." >&2;}
26472 { (exit 77); exit 77; }; }
26473 else
26474 ac_cv_sizeof_boolean=0
26475 fi
26476 fi
26477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26478 fi
26479 rm -f conftest.val
26480 fi
26481 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26482 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26483
26484
26485
26486 cat >>confdefs.h <<_ACEOF
26487 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26488 _ACEOF
26489
26490
26491 cat >>confdefs.h <<_ACEOF
26492 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26493 _ACEOF
26494
26495
26496 fi
26497
26498 fi
26499 fi
26500 fi
26501 fi
26502 fi
26503
26504
26505 TIFF_LINK=
26506 TIFF_PREREQ_LINKS=-lm
26507 if test "$wxUSE_LIBTIFF" != "no" ; then
26508 cat >>confdefs.h <<\_ACEOF
26509 #define wxUSE_LIBTIFF 1
26510 _ACEOF
26511
26512
26513 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26514 if test "$wxUSE_LIBJPEG" = "sys"; then
26515 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26516 fi
26517 if test "$wxUSE_ZLIB" = "sys"; then
26518 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26519 fi
26520 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26521 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26522 if test "${ac_cv_header_tiffio_h+set}" = set; then
26523 echo $ECHO_N "(cached) $ECHO_C" >&6
26524 else
26525 cat >conftest.$ac_ext <<_ACEOF
26526 /* confdefs.h. */
26527 _ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26531
26532
26533
26534 #include <tiffio.h>
26535 _ACEOF
26536 rm -f conftest.$ac_objext
26537 if { (ac_try="$ac_compile"
26538 case "(($ac_try" in
26539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26540 *) ac_try_echo=$ac_try;;
26541 esac
26542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26543 (eval "$ac_compile") 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } && {
26550 test -z "$ac_c_werror_flag" ||
26551 test ! -s conftest.err
26552 } && test -s conftest.$ac_objext; then
26553 ac_cv_header_tiffio_h=yes
26554 else
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26557
26558 ac_cv_header_tiffio_h=no
26559 fi
26560
26561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26562 fi
26563 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26564 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26565 if test $ac_cv_header_tiffio_h = yes; then
26566
26567 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26568 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26569 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26570 echo $ECHO_N "(cached) $ECHO_C" >&6
26571 else
26572 ac_check_lib_save_LIBS=$LIBS
26573 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26574 cat >conftest.$ac_ext <<_ACEOF
26575 /* confdefs.h. */
26576 _ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26580
26581 /* Override any GCC internal prototype to avoid an error.
26582 Use char because int might match the return type of a GCC
26583 builtin and then its argument prototype would still apply. */
26584 #ifdef __cplusplus
26585 extern "C"
26586 #endif
26587 char TIFFError ();
26588 int
26589 main ()
26590 {
26591 return TIFFError ();
26592 ;
26593 return 0;
26594 }
26595 _ACEOF
26596 rm -f conftest.$ac_objext conftest$ac_exeext
26597 if { (ac_try="$ac_link"
26598 case "(($ac_try" in
26599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26600 *) ac_try_echo=$ac_try;;
26601 esac
26602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26603 (eval "$ac_link") 2>conftest.er1
26604 ac_status=$?
26605 grep -v '^ *+' conftest.er1 >conftest.err
26606 rm -f conftest.er1
26607 cat conftest.err >&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } && {
26610 test -z "$ac_c_werror_flag" ||
26611 test ! -s conftest.err
26612 } && test -s conftest$ac_exeext &&
26613 $as_test_x conftest$ac_exeext; then
26614 ac_cv_lib_tiff_TIFFError=yes
26615 else
26616 echo "$as_me: failed program was:" >&5
26617 sed 's/^/| /' conftest.$ac_ext >&5
26618
26619 ac_cv_lib_tiff_TIFFError=no
26620 fi
26621
26622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26623 conftest$ac_exeext conftest.$ac_ext
26624 LIBS=$ac_check_lib_save_LIBS
26625 fi
26626 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26627 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26628 if test $ac_cv_lib_tiff_TIFFError = yes; then
26629 TIFF_LINK=" -ltiff"
26630 fi
26631
26632
26633 fi
26634
26635
26636
26637 if test "x$TIFF_LINK" = "x" ; then
26638 if test "$wxUSE_LIBTIFF" = "sys" ; then
26639 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26640 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26641 { (exit 1); exit 1; }; }
26642 else
26643 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26644 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26645 wxUSE_LIBTIFF=builtin
26646 fi
26647 else
26648 wxUSE_LIBTIFF=sys
26649 fi
26650 fi
26651 fi
26652
26653
26654 if test "$wxUSE_WCHAR_T" != "yes"; then
26655 if test "$wxUSE_EXPAT" != "no"; then
26656 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26657 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26658 wxUSE_EXPAT=no
26659 fi
26660 if test "$wxUSE_XML" != "no"; then
26661 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26662 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26663 wxUSE_XML=no
26664 fi
26665 fi
26666
26667 if test "$wxUSE_EXPAT" != "no"; then
26668 wxUSE_XML=yes
26669 cat >>confdefs.h <<\_ACEOF
26670 #define wxUSE_EXPAT 1
26671 _ACEOF
26672
26673 cat >>confdefs.h <<\_ACEOF
26674 #define wxUSE_XML 1
26675 _ACEOF
26676
26677
26678 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26679 { echo "$as_me:$LINENO: checking for expat.h" >&5
26680 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26681 if test "${ac_cv_header_expat_h+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26683 else
26684 cat >conftest.$ac_ext <<_ACEOF
26685 /* confdefs.h. */
26686 _ACEOF
26687 cat confdefs.h >>conftest.$ac_ext
26688 cat >>conftest.$ac_ext <<_ACEOF
26689 /* end confdefs.h. */
26690
26691
26692 #include <expat.h>
26693 _ACEOF
26694 rm -f conftest.$ac_objext
26695 if { (ac_try="$ac_compile"
26696 case "(($ac_try" in
26697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26698 *) ac_try_echo=$ac_try;;
26699 esac
26700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26701 (eval "$ac_compile") 2>conftest.er1
26702 ac_status=$?
26703 grep -v '^ *+' conftest.er1 >conftest.err
26704 rm -f conftest.er1
26705 cat conftest.err >&5
26706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26707 (exit $ac_status); } && {
26708 test -z "$ac_c_werror_flag" ||
26709 test ! -s conftest.err
26710 } && test -s conftest.$ac_objext; then
26711 ac_cv_header_expat_h=yes
26712 else
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.$ac_ext >&5
26715
26716 ac_cv_header_expat_h=no
26717 fi
26718
26719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26720 fi
26721 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26722 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26723 if test $ac_cv_header_expat_h = yes; then
26724 found_expat_h=1
26725 fi
26726
26727
26728 if test "x$found_expat_h" = "x1"; then
26729 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26730 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26731 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26732 echo $ECHO_N "(cached) $ECHO_C" >&6
26733 else
26734
26735 ac_ext=cpp
26736 ac_cpp='$CXXCPP $CPPFLAGS'
26737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26740
26741 cat >conftest.$ac_ext <<_ACEOF
26742 /* confdefs.h. */
26743 _ACEOF
26744 cat confdefs.h >>conftest.$ac_ext
26745 cat >>conftest.$ac_ext <<_ACEOF
26746 /* end confdefs.h. */
26747 #include <expat.h>
26748 int
26749 main ()
26750 {
26751
26752 ;
26753 return 0;
26754 }
26755 _ACEOF
26756 rm -f conftest.$ac_objext
26757 if { (ac_try="$ac_compile"
26758 case "(($ac_try" in
26759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26760 *) ac_try_echo=$ac_try;;
26761 esac
26762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26763 (eval "$ac_compile") 2>conftest.er1
26764 ac_status=$?
26765 grep -v '^ *+' conftest.er1 >conftest.err
26766 rm -f conftest.er1
26767 cat conftest.err >&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } && {
26770 test -z "$ac_cxx_werror_flag" ||
26771 test ! -s conftest.err
26772 } && test -s conftest.$ac_objext; then
26773 wx_cv_expat_is_not_broken=yes
26774 else
26775 echo "$as_me: failed program was:" >&5
26776 sed 's/^/| /' conftest.$ac_ext >&5
26777
26778 wx_cv_expat_is_not_broken=no
26779
26780 fi
26781
26782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26783 ac_ext=c
26784 ac_cpp='$CPP $CPPFLAGS'
26785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26788
26789
26790
26791 fi
26792 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26793 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26794 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26795 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26796 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26797 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26798 echo $ECHO_N "(cached) $ECHO_C" >&6
26799 else
26800 ac_check_lib_save_LIBS=$LIBS
26801 LIBS="-lexpat $LIBS"
26802 cat >conftest.$ac_ext <<_ACEOF
26803 /* confdefs.h. */
26804 _ACEOF
26805 cat confdefs.h >>conftest.$ac_ext
26806 cat >>conftest.$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808
26809 /* Override any GCC internal prototype to avoid an error.
26810 Use char because int might match the return type of a GCC
26811 builtin and then its argument prototype would still apply. */
26812 #ifdef __cplusplus
26813 extern "C"
26814 #endif
26815 char XML_ParserCreate ();
26816 int
26817 main ()
26818 {
26819 return XML_ParserCreate ();
26820 ;
26821 return 0;
26822 }
26823 _ACEOF
26824 rm -f conftest.$ac_objext conftest$ac_exeext
26825 if { (ac_try="$ac_link"
26826 case "(($ac_try" in
26827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26828 *) ac_try_echo=$ac_try;;
26829 esac
26830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26831 (eval "$ac_link") 2>conftest.er1
26832 ac_status=$?
26833 grep -v '^ *+' conftest.er1 >conftest.err
26834 rm -f conftest.er1
26835 cat conftest.err >&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } && {
26838 test -z "$ac_c_werror_flag" ||
26839 test ! -s conftest.err
26840 } && test -s conftest$ac_exeext &&
26841 $as_test_x conftest$ac_exeext; then
26842 ac_cv_lib_expat_XML_ParserCreate=yes
26843 else
26844 echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.$ac_ext >&5
26846
26847 ac_cv_lib_expat_XML_ParserCreate=no
26848 fi
26849
26850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26851 conftest$ac_exeext conftest.$ac_ext
26852 LIBS=$ac_check_lib_save_LIBS
26853 fi
26854 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26855 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26856 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26857 EXPAT_LINK=" -lexpat"
26858 fi
26859
26860 fi
26861 fi
26862 if test "x$EXPAT_LINK" = "x" ; then
26863 if test "$wxUSE_EXPAT" = "sys" ; then
26864 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26865 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26866 { (exit 1); exit 1; }; }
26867 else
26868 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26869 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26870 wxUSE_EXPAT=builtin
26871 fi
26872 else
26873 wxUSE_EXPAT=sys
26874 fi
26875 fi
26876 if test "$wxUSE_EXPAT" = "builtin" ; then
26877 subdirs="$subdirs src/expat"
26878
26879 fi
26880 fi
26881
26882
26883
26884 if test "$wxUSE_LIBMSPACK" != "no"; then
26885 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26886 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26887 if test "${ac_cv_header_mspack_h+set}" = set; then
26888 echo $ECHO_N "(cached) $ECHO_C" >&6
26889 else
26890 cat >conftest.$ac_ext <<_ACEOF
26891 /* confdefs.h. */
26892 _ACEOF
26893 cat confdefs.h >>conftest.$ac_ext
26894 cat >>conftest.$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26896
26897
26898 #include <mspack.h>
26899 _ACEOF
26900 rm -f conftest.$ac_objext
26901 if { (ac_try="$ac_compile"
26902 case "(($ac_try" in
26903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26904 *) ac_try_echo=$ac_try;;
26905 esac
26906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26907 (eval "$ac_compile") 2>conftest.er1
26908 ac_status=$?
26909 grep -v '^ *+' conftest.er1 >conftest.err
26910 rm -f conftest.er1
26911 cat conftest.err >&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); } && {
26914 test -z "$ac_c_werror_flag" ||
26915 test ! -s conftest.err
26916 } && test -s conftest.$ac_objext; then
26917 ac_cv_header_mspack_h=yes
26918 else
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.$ac_ext >&5
26921
26922 ac_cv_header_mspack_h=no
26923 fi
26924
26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26926 fi
26927 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26928 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26929 if test $ac_cv_header_mspack_h = yes; then
26930 found_mspack_h=1
26931 fi
26932
26933
26934 if test "x$found_mspack_h" = "x1"; then
26935 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26936 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26937 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26938 echo $ECHO_N "(cached) $ECHO_C" >&6
26939 else
26940 ac_check_lib_save_LIBS=$LIBS
26941 LIBS="-lmspack $LIBS"
26942 cat >conftest.$ac_ext <<_ACEOF
26943 /* confdefs.h. */
26944 _ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26948
26949 /* Override any GCC internal prototype to avoid an error.
26950 Use char because int might match the return type of a GCC
26951 builtin and then its argument prototype would still apply. */
26952 #ifdef __cplusplus
26953 extern "C"
26954 #endif
26955 char mspack_create_chm_decompressor ();
26956 int
26957 main ()
26958 {
26959 return mspack_create_chm_decompressor ();
26960 ;
26961 return 0;
26962 }
26963 _ACEOF
26964 rm -f conftest.$ac_objext conftest$ac_exeext
26965 if { (ac_try="$ac_link"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26968 *) ac_try_echo=$ac_try;;
26969 esac
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_link") 2>conftest.er1
26972 ac_status=$?
26973 grep -v '^ *+' conftest.er1 >conftest.err
26974 rm -f conftest.er1
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } && {
26978 test -z "$ac_c_werror_flag" ||
26979 test ! -s conftest.err
26980 } && test -s conftest$ac_exeext &&
26981 $as_test_x conftest$ac_exeext; then
26982 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26983 else
26984 echo "$as_me: failed program was:" >&5
26985 sed 's/^/| /' conftest.$ac_ext >&5
26986
26987 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26988 fi
26989
26990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26991 conftest$ac_exeext conftest.$ac_ext
26992 LIBS=$ac_check_lib_save_LIBS
26993 fi
26994 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26995 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26996 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26997 MSPACK_LINK=" -lmspack"
26998 fi
26999
27000 fi
27001 if test "x$MSPACK_LINK" = "x" ; then
27002 wxUSE_LIBMSPACK=no
27003 fi
27004 fi
27005
27006 if test "$wxUSE_LIBMSPACK" != "no"; then
27007 cat >>confdefs.h <<\_ACEOF
27008 #define wxUSE_LIBMSPACK 1
27009 _ACEOF
27010
27011 fi
27012
27013
27014
27015 AFMINSTALL=
27016 WIN32INSTALL=
27017
27018 TOOLKIT=
27019 TOOLKIT_INCLUDE=
27020 WIDGET_SET=
27021
27022 if test "$USE_WIN32" = 1 ; then
27023 { echo "$as_me:$LINENO: checking for w32api.h" >&5
27024 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
27025 if test "${ac_cv_header_w32api_h+set}" = set; then
27026 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 else
27028 cat >conftest.$ac_ext <<_ACEOF
27029 /* confdefs.h. */
27030 _ACEOF
27031 cat confdefs.h >>conftest.$ac_ext
27032 cat >>conftest.$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27034
27035
27036 #include <w32api.h>
27037 _ACEOF
27038 rm -f conftest.$ac_objext
27039 if { (ac_try="$ac_compile"
27040 case "(($ac_try" in
27041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27042 *) ac_try_echo=$ac_try;;
27043 esac
27044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27045 (eval "$ac_compile") 2>conftest.er1
27046 ac_status=$?
27047 grep -v '^ *+' conftest.er1 >conftest.err
27048 rm -f conftest.er1
27049 cat conftest.err >&5
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } && {
27052 test -z "$ac_c_werror_flag" ||
27053 test ! -s conftest.err
27054 } && test -s conftest.$ac_objext; then
27055 ac_cv_header_w32api_h=yes
27056 else
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27059
27060 ac_cv_header_w32api_h=no
27061 fi
27062
27063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27064 fi
27065 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
27066 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
27067
27068
27069 { echo "$as_me:$LINENO: checking for windows.h" >&5
27070 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27071 if test "${ac_cv_header_windows_h+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 else
27074 cat >conftest.$ac_ext <<_ACEOF
27075 /* confdefs.h. */
27076 _ACEOF
27077 cat confdefs.h >>conftest.$ac_ext
27078 cat >>conftest.$ac_ext <<_ACEOF
27079 /* end confdefs.h. */
27080
27081
27082 #include <windows.h>
27083 _ACEOF
27084 rm -f conftest.$ac_objext
27085 if { (ac_try="$ac_compile"
27086 case "(($ac_try" in
27087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27088 *) ac_try_echo=$ac_try;;
27089 esac
27090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27091 (eval "$ac_compile") 2>conftest.er1
27092 ac_status=$?
27093 grep -v '^ *+' conftest.er1 >conftest.err
27094 rm -f conftest.er1
27095 cat conftest.err >&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && {
27098 test -z "$ac_c_werror_flag" ||
27099 test ! -s conftest.err
27100 } && test -s conftest.$ac_objext; then
27101 ac_cv_header_windows_h=yes
27102 else
27103 echo "$as_me: failed program was:" >&5
27104 sed 's/^/| /' conftest.$ac_ext >&5
27105
27106 ac_cv_header_windows_h=no
27107 fi
27108
27109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27110 fi
27111 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27112 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27113 if test $ac_cv_header_windows_h = yes; then
27114 :
27115 else
27116
27117 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27118 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27119 { (exit 1); exit 1; }; }
27120
27121 fi
27122
27123
27124
27125 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27126
27127 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27128 LIBS="$LIBS -loleacc"
27129 fi
27130
27131 case "${host}" in
27132 *-*-cygwin* )
27133 LIBS="$LIBS -lkernel32 -luser32"
27134 esac
27135
27136 if test "$wxUSE_ODBC" = "sys" ; then
27137 wxUSE_ODBC = "yes"
27138 fi
27139 if test "$wxUSE_ODBC" = "yes" ; then
27140 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27141 cat >>confdefs.h <<\_ACEOF
27142 #define wxUSE_ODBC 1
27143 _ACEOF
27144
27145 fi
27146
27147 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27148 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27149
27150 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27151
27152 WIN32INSTALL=win32install
27153
27154 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27155 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27156 if test "${ac_cv_header_pbt_h+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 else
27159 cat >conftest.$ac_ext <<_ACEOF
27160 /* confdefs.h. */
27161 _ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h. */
27165
27166
27167 #include <pbt.h>
27168 _ACEOF
27169 rm -f conftest.$ac_objext
27170 if { (ac_try="$ac_compile"
27171 case "(($ac_try" in
27172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27174 esac
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_compile") 2>conftest.er1
27177 ac_status=$?
27178 grep -v '^ *+' conftest.er1 >conftest.err
27179 rm -f conftest.er1
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest.$ac_objext; then
27186 ac_cv_header_pbt_h=yes
27187 else
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.$ac_ext >&5
27190
27191 ac_cv_header_pbt_h=no
27192 fi
27193
27194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27195 fi
27196 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27197 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27198 if test $ac_cv_header_pbt_h = yes; then
27199 :
27200 else
27201 cat >>confdefs.h <<\_ACEOF
27202 #define NEED_PBT_H 1
27203 _ACEOF
27204
27205 fi
27206
27207
27208 fi
27209
27210 if test "$wxUSE_GUI" = "yes"; then
27211 USE_GUI=1
27212
27213 GUI_TK_LIBRARY=
27214
27215 WXGTK12=
27216 WXGTK127=
27217 WXGTK20=
27218 WXGPE=
27219
27220 if test "$wxUSE_COCOA" = 1 ; then
27221 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27222 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27223 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27224 wxUSE_PRINTING_ARCHITECTURE=no
27225 fi
27226 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27227 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27228 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27229 wxUSE_DRAG_AND_DROP=no
27230 fi
27231 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27232 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27233 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27234 wxUSE_DRAGIMAGE=no
27235 fi
27236 fi
27237
27238 if test "$wxUSE_MSW" = 1 ; then
27239 TOOLKIT=MSW
27240 GUIDIST=MSW_DIST
27241
27242 case "${host}" in
27243 *-*-mingw32* )
27244 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27245 esac
27246 fi
27247
27248 if test "$wxUSE_GTK" = 1; then
27249 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27250 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27251
27252 gtk_version_cached=1
27253 if test "${wx_cv_lib_gtk+set}" = set; then
27254 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 else
27256
27257 gtk_version_cached=0
27258 { echo "$as_me:$LINENO: result: " >&5
27259 echo "${ECHO_T}" >&6; }
27260
27261 GTK_MODULES=
27262 if test "$wxUSE_THREADS" = "yes"; then
27263 GTK_MODULES=gthread
27264 fi
27265
27266 wx_cv_lib_gtk=
27267 if test "x$wxGTK_VERSION" != "x1"
27268 then
27269 case "${host}" in
27270 *-*-solaris2* )
27271 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27272 enable_gtktest=no
27273 fi
27274 esac
27275
27276 # Check whether --enable-gtktest was given.
27277 if test "${enable_gtktest+set}" = set; then
27278 enableval=$enable_gtktest;
27279 else
27280 enable_gtktest=yes
27281 fi
27282
27283
27284 pkg_config_args=gtk+-2.0
27285 for module in . $GTK_MODULES
27286 do
27287 case "$module" in
27288 gthread)
27289 pkg_config_args="$pkg_config_args gthread-2.0"
27290 ;;
27291 esac
27292 done
27293
27294 no_gtk=""
27295
27296 # Extract the first word of "pkg-config", so it can be a program name with args.
27297 set dummy pkg-config; ac_word=$2
27298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27300 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27301 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 else
27303 case $PKG_CONFIG in
27304 [\\/]* | ?:[\\/]*)
27305 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27306 ;;
27307 *)
27308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27309 for as_dir in $PATH
27310 do
27311 IFS=$as_save_IFS
27312 test -z "$as_dir" && as_dir=.
27313 for ac_exec_ext in '' $ac_executable_extensions; do
27314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27315 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27317 break 2
27318 fi
27319 done
27320 done
27321 IFS=$as_save_IFS
27322
27323 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27324 ;;
27325 esac
27326 fi
27327 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27328 if test -n "$PKG_CONFIG"; then
27329 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27330 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27331 else
27332 { echo "$as_me:$LINENO: result: no" >&5
27333 echo "${ECHO_T}no" >&6; }
27334 fi
27335
27336
27337
27338 if test x$PKG_CONFIG != xno ; then
27339 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27340 :
27341 else
27342 echo "*** pkg-config too old; version 0.7 or better required."
27343 no_gtk=yes
27344 PKG_CONFIG=no
27345 fi
27346 else
27347 no_gtk=yes
27348 fi
27349
27350 min_gtk_version=2.0.0
27351 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27352 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27353
27354 if test x$PKG_CONFIG != xno ; then
27355 ## don't try to run the test against uninstalled libtool libs
27356 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27357 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27358 enable_gtktest=no
27359 fi
27360
27361 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27362 :
27363 else
27364 no_gtk=yes
27365 fi
27366 fi
27367
27368 if test x"$no_gtk" = x ; then
27369 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27370 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27371 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27373 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27375 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27377 if test "x$enable_gtktest" = "xyes" ; then
27378 ac_save_CFLAGS="$CFLAGS"
27379 ac_save_LIBS="$LIBS"
27380 CFLAGS="$CFLAGS $GTK_CFLAGS"
27381 LIBS="$GTK_LIBS $LIBS"
27382 rm -f conf.gtktest
27383 if test "$cross_compiling" = yes; then
27384 echo $ac_n "cross compiling; assumed OK... $ac_c"
27385 else
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392
27393 #include <gtk/gtk.h>
27394 #include <stdio.h>
27395 #include <stdlib.h>
27396
27397 int
27398 main ()
27399 {
27400 int major, minor, micro;
27401 char *tmp_version;
27402
27403 system ("touch conf.gtktest");
27404
27405 /* HP/UX 9 (%@#!) writes to sscanf strings */
27406 tmp_version = g_strdup("$min_gtk_version");
27407 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27408 printf("%s, bad version string\n", "$min_gtk_version");
27409 exit(1);
27410 }
27411
27412 if ((gtk_major_version != $gtk_config_major_version) ||
27413 (gtk_minor_version != $gtk_config_minor_version) ||
27414 (gtk_micro_version != $gtk_config_micro_version))
27415 {
27416 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27418 gtk_major_version, gtk_minor_version, gtk_micro_version);
27419 printf ("*** was found! If pkg-config was correct, then it is best\n");
27420 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27422 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27423 printf("*** required on your system.\n");
27424 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27425 printf("*** to point to the correct configuration files\n");
27426 }
27427 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27428 (gtk_minor_version != GTK_MINOR_VERSION) ||
27429 (gtk_micro_version != GTK_MICRO_VERSION))
27430 {
27431 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27432 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27433 printf("*** library (version %d.%d.%d)\n",
27434 gtk_major_version, gtk_minor_version, gtk_micro_version);
27435 }
27436 else
27437 {
27438 if ((gtk_major_version > major) ||
27439 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27440 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27441 {
27442 return 0;
27443 }
27444 else
27445 {
27446 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27447 gtk_major_version, gtk_minor_version, gtk_micro_version);
27448 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27449 major, minor, micro);
27450 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27451 printf("***\n");
27452 printf("*** If you have already installed a sufficiently new version, this error\n");
27453 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27454 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27455 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27456 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27457 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27458 printf("*** so that the correct libraries are found at run-time))\n");
27459 }
27460 }
27461 return 1;
27462 }
27463
27464 _ACEOF
27465 rm -f conftest$ac_exeext
27466 if { (ac_try="$ac_link"
27467 case "(($ac_try" in
27468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27469 *) ac_try_echo=$ac_try;;
27470 esac
27471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27472 (eval "$ac_link") 2>&5
27473 ac_status=$?
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27476 { (case "(($ac_try" in
27477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27478 *) ac_try_echo=$ac_try;;
27479 esac
27480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27481 (eval "$ac_try") 2>&5
27482 ac_status=$?
27483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27484 (exit $ac_status); }; }; then
27485 :
27486 else
27487 echo "$as_me: program exited with status $ac_status" >&5
27488 echo "$as_me: failed program was:" >&5
27489 sed 's/^/| /' conftest.$ac_ext >&5
27490
27491 ( exit $ac_status )
27492 no_gtk=yes
27493 fi
27494 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27495 fi
27496
27497
27498 CFLAGS="$ac_save_CFLAGS"
27499 LIBS="$ac_save_LIBS"
27500 fi
27501 fi
27502 if test "x$no_gtk" = x ; then
27503 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27504 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27505 wx_cv_lib_gtk=2.0
27506 else
27507 { echo "$as_me:$LINENO: result: no" >&5
27508 echo "${ECHO_T}no" >&6; }
27509 if test "$PKG_CONFIG" = "no" ; then
27510 echo "*** A new enough version of pkg-config was not found."
27511 echo "*** See http://pkgconfig.sourceforge.net"
27512 else
27513 if test -f conf.gtktest ; then
27514 :
27515 else
27516 echo "*** Could not run GTK+ test program, checking why..."
27517 ac_save_CFLAGS="$CFLAGS"
27518 ac_save_LIBS="$LIBS"
27519 CFLAGS="$CFLAGS $GTK_CFLAGS"
27520 LIBS="$LIBS $GTK_LIBS"
27521 cat >conftest.$ac_ext <<_ACEOF
27522 /* confdefs.h. */
27523 _ACEOF
27524 cat confdefs.h >>conftest.$ac_ext
27525 cat >>conftest.$ac_ext <<_ACEOF
27526 /* end confdefs.h. */
27527
27528 #include <gtk/gtk.h>
27529 #include <stdio.h>
27530
27531 int
27532 main ()
27533 {
27534 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27535 ;
27536 return 0;
27537 }
27538 _ACEOF
27539 rm -f conftest.$ac_objext conftest$ac_exeext
27540 if { (ac_try="$ac_link"
27541 case "(($ac_try" in
27542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27543 *) ac_try_echo=$ac_try;;
27544 esac
27545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27546 (eval "$ac_link") 2>conftest.er1
27547 ac_status=$?
27548 grep -v '^ *+' conftest.er1 >conftest.err
27549 rm -f conftest.er1
27550 cat conftest.err >&5
27551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27552 (exit $ac_status); } && {
27553 test -z "$ac_c_werror_flag" ||
27554 test ! -s conftest.err
27555 } && test -s conftest$ac_exeext &&
27556 $as_test_x conftest$ac_exeext; then
27557 echo "*** The test program compiled, but did not run. This usually means"
27558 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27559 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27560 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27561 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27562 echo "*** is required on your system"
27563 echo "***"
27564 echo "*** If you have an old version installed, it is best to remove it, although"
27565 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27566 else
27567 echo "$as_me: failed program was:" >&5
27568 sed 's/^/| /' conftest.$ac_ext >&5
27569
27570 echo "*** The test program failed to compile or link. See the file config.log for the"
27571 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27572 fi
27573
27574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27575 conftest$ac_exeext conftest.$ac_ext
27576 CFLAGS="$ac_save_CFLAGS"
27577 LIBS="$ac_save_LIBS"
27578 fi
27579 fi
27580 GTK_CFLAGS=""
27581 GTK_LIBS=""
27582 :
27583 fi
27584
27585
27586 rm -f conf.gtktest
27587
27588
27589 case "${host}" in
27590 *-*-solaris2* )
27591 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27592 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27593 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27594 fi
27595 if test "$wxUSE_SHARED" != "yes"; then
27596 GTK_LIBS="$GTK_LIBS -lX11"
27597 fi
27598 esac
27599 fi
27600
27601 if test -z "$wx_cv_lib_gtk"; then
27602 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27603
27604 # Check whether --with-gtk-prefix was given.
27605 if test "${with_gtk_prefix+set}" = set; then
27606 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27607 else
27608 gtk_config_prefix=""
27609 fi
27610
27611
27612 # Check whether --with-gtk-exec-prefix was given.
27613 if test "${with_gtk_exec_prefix+set}" = set; then
27614 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27615 else
27616 gtk_config_exec_prefix=""
27617 fi
27618
27619 # Check whether --enable-gtktest was given.
27620 if test "${enable_gtktest+set}" = set; then
27621 enableval=$enable_gtktest;
27622 else
27623 enable_gtktest=yes
27624 fi
27625
27626
27627 for module in . $GTK_MODULES
27628 do
27629 case "$module" in
27630 gthread)
27631 gtk_config_args="$gtk_config_args gthread"
27632 ;;
27633 esac
27634 done
27635
27636 if test x$gtk_config_exec_prefix != x ; then
27637 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27638 if test x${GTK_CONFIG+set} != xset ; then
27639 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27640 fi
27641 fi
27642 if test x$gtk_config_prefix != x ; then
27643 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27644 if test x${GTK_CONFIG+set} != xset ; then
27645 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27646 fi
27647 fi
27648
27649 # Extract the first word of "gtk-config", so it can be a program name with args.
27650 set dummy gtk-config; ac_word=$2
27651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27653 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27654 echo $ECHO_N "(cached) $ECHO_C" >&6
27655 else
27656 case $GTK_CONFIG in
27657 [\\/]* | ?:[\\/]*)
27658 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27659 ;;
27660 *)
27661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27662 for as_dir in $PATH
27663 do
27664 IFS=$as_save_IFS
27665 test -z "$as_dir" && as_dir=.
27666 for ac_exec_ext in '' $ac_executable_extensions; do
27667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27668 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27670 break 2
27671 fi
27672 done
27673 done
27674 IFS=$as_save_IFS
27675
27676 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27677 ;;
27678 esac
27679 fi
27680 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27681 if test -n "$GTK_CONFIG"; then
27682 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27683 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27684 else
27685 { echo "$as_me:$LINENO: result: no" >&5
27686 echo "${ECHO_T}no" >&6; }
27687 fi
27688
27689
27690 min_gtk_version=1.2.7
27691 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27692 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27693 no_gtk=""
27694 if test "$GTK_CONFIG" = "no" ; then
27695 no_gtk=yes
27696 else
27697 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27698 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27699 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27701 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27703 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27705 if test "x$enable_gtktest" = "xyes" ; then
27706 ac_save_CFLAGS="$CFLAGS"
27707 ac_save_LIBS="$LIBS"
27708 CFLAGS="$CFLAGS $GTK_CFLAGS"
27709 LIBS="$GTK_LIBS $LIBS"
27710 rm -f conf.gtktest
27711 if test "$cross_compiling" = yes; then
27712 echo $ac_n "cross compiling; assumed OK... $ac_c"
27713 else
27714 cat >conftest.$ac_ext <<_ACEOF
27715 /* confdefs.h. */
27716 _ACEOF
27717 cat confdefs.h >>conftest.$ac_ext
27718 cat >>conftest.$ac_ext <<_ACEOF
27719 /* end confdefs.h. */
27720
27721 #include <gtk/gtk.h>
27722 #include <stdio.h>
27723 #include <stdlib.h>
27724
27725 int
27726 main ()
27727 {
27728 int major, minor, micro;
27729 char *tmp_version;
27730
27731 system ("touch conf.gtktest");
27732
27733 /* HP/UX 9 (%@#!) writes to sscanf strings */
27734 tmp_version = g_strdup("$min_gtk_version");
27735 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27736 printf("%s, bad version string\n", "$min_gtk_version");
27737 exit(1);
27738 }
27739
27740 if ((gtk_major_version != $gtk_config_major_version) ||
27741 (gtk_minor_version != $gtk_config_minor_version) ||
27742 (gtk_micro_version != $gtk_config_micro_version))
27743 {
27744 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27745 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27746 gtk_major_version, gtk_minor_version, gtk_micro_version);
27747 printf ("*** was found! If gtk-config was correct, then it is best\n");
27748 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27749 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27750 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27751 printf("*** required on your system.\n");
27752 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27753 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27754 printf("*** before re-running configure\n");
27755 }
27756 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27757 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27758 (gtk_minor_version != GTK_MINOR_VERSION) ||
27759 (gtk_micro_version != GTK_MICRO_VERSION))
27760 {
27761 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27762 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27763 printf("*** library (version %d.%d.%d)\n",
27764 gtk_major_version, gtk_minor_version, gtk_micro_version);
27765 }
27766 #endif /* defined (GTK_MAJOR_VERSION) ... */
27767 else
27768 {
27769 if ((gtk_major_version > major) ||
27770 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27771 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27772 {
27773 return 0;
27774 }
27775 else
27776 {
27777 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27778 gtk_major_version, gtk_minor_version, gtk_micro_version);
27779 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27780 major, minor, micro);
27781 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27782 printf("***\n");
27783 printf("*** If you have already installed a sufficiently new version, this error\n");
27784 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27785 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27786 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27787 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27788 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27789 printf("*** so that the correct libraries are found at run-time))\n");
27790 }
27791 }
27792 return 1;
27793 }
27794
27795 _ACEOF
27796 rm -f conftest$ac_exeext
27797 if { (ac_try="$ac_link"
27798 case "(($ac_try" in
27799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27800 *) ac_try_echo=$ac_try;;
27801 esac
27802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27803 (eval "$ac_link") 2>&5
27804 ac_status=$?
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27807 { (case "(($ac_try" in
27808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27809 *) ac_try_echo=$ac_try;;
27810 esac
27811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27812 (eval "$ac_try") 2>&5
27813 ac_status=$?
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); }; }; then
27816 :
27817 else
27818 echo "$as_me: program exited with status $ac_status" >&5
27819 echo "$as_me: failed program was:" >&5
27820 sed 's/^/| /' conftest.$ac_ext >&5
27821
27822 ( exit $ac_status )
27823 no_gtk=yes
27824 fi
27825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27826 fi
27827
27828
27829 CFLAGS="$ac_save_CFLAGS"
27830 LIBS="$ac_save_LIBS"
27831 fi
27832 fi
27833 if test "x$no_gtk" = x ; then
27834 { echo "$as_me:$LINENO: result: yes" >&5
27835 echo "${ECHO_T}yes" >&6; }
27836 wx_cv_lib_gtk=1.2.7
27837 else
27838 { echo "$as_me:$LINENO: result: no" >&5
27839 echo "${ECHO_T}no" >&6; }
27840 if test "$GTK_CONFIG" = "no" ; then
27841 echo "*** The gtk-config script installed by GTK could not be found"
27842 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27843 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27844 echo "*** full path to gtk-config."
27845 else
27846 if test -f conf.gtktest ; then
27847 :
27848 else
27849 echo "*** Could not run GTK test program, checking why..."
27850 CFLAGS="$CFLAGS $GTK_CFLAGS"
27851 LIBS="$LIBS $GTK_LIBS"
27852 cat >conftest.$ac_ext <<_ACEOF
27853 /* confdefs.h. */
27854 _ACEOF
27855 cat confdefs.h >>conftest.$ac_ext
27856 cat >>conftest.$ac_ext <<_ACEOF
27857 /* end confdefs.h. */
27858
27859 #include <gtk/gtk.h>
27860 #include <stdio.h>
27861
27862 int
27863 main ()
27864 {
27865 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27866 ;
27867 return 0;
27868 }
27869 _ACEOF
27870 rm -f conftest.$ac_objext conftest$ac_exeext
27871 if { (ac_try="$ac_link"
27872 case "(($ac_try" in
27873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27874 *) ac_try_echo=$ac_try;;
27875 esac
27876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27877 (eval "$ac_link") 2>conftest.er1
27878 ac_status=$?
27879 grep -v '^ *+' conftest.er1 >conftest.err
27880 rm -f conftest.er1
27881 cat conftest.err >&5
27882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27883 (exit $ac_status); } && {
27884 test -z "$ac_c_werror_flag" ||
27885 test ! -s conftest.err
27886 } && test -s conftest$ac_exeext &&
27887 $as_test_x conftest$ac_exeext; then
27888 echo "*** The test program compiled, but did not run. This usually means"
27889 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27890 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27891 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27892 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27893 echo "*** is required on your system"
27894 echo "***"
27895 echo "*** If you have an old version installed, it is best to remove it, although"
27896 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27897 echo "***"
27898 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27899 echo "*** came with the system with the command"
27900 echo "***"
27901 echo "*** rpm --erase --nodeps gtk gtk-devel"
27902 else
27903 echo "$as_me: failed program was:" >&5
27904 sed 's/^/| /' conftest.$ac_ext >&5
27905
27906 echo "*** The test program failed to compile or link. See the file config.log for the"
27907 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27908 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27909 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27910 fi
27911
27912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27913 conftest$ac_exeext conftest.$ac_ext
27914 CFLAGS="$ac_save_CFLAGS"
27915 LIBS="$ac_save_LIBS"
27916 fi
27917 fi
27918 GTK_CFLAGS=""
27919 GTK_LIBS=""
27920 :
27921 fi
27922
27923
27924 rm -f conf.gtktest
27925
27926
27927 if test -z "$wx_cv_lib_gtk"; then
27928
27929 # Check whether --with-gtk-prefix was given.
27930 if test "${with_gtk_prefix+set}" = set; then
27931 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27932 else
27933 gtk_config_prefix=""
27934 fi
27935
27936
27937 # Check whether --with-gtk-exec-prefix was given.
27938 if test "${with_gtk_exec_prefix+set}" = set; then
27939 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27940 else
27941 gtk_config_exec_prefix=""
27942 fi
27943
27944 # Check whether --enable-gtktest was given.
27945 if test "${enable_gtktest+set}" = set; then
27946 enableval=$enable_gtktest;
27947 else
27948 enable_gtktest=yes
27949 fi
27950
27951
27952 for module in . $GTK_MODULES
27953 do
27954 case "$module" in
27955 gthread)
27956 gtk_config_args="$gtk_config_args gthread"
27957 ;;
27958 esac
27959 done
27960
27961 if test x$gtk_config_exec_prefix != x ; then
27962 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27963 if test x${GTK_CONFIG+set} != xset ; then
27964 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27965 fi
27966 fi
27967 if test x$gtk_config_prefix != x ; then
27968 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27969 if test x${GTK_CONFIG+set} != xset ; then
27970 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27971 fi
27972 fi
27973
27974 # Extract the first word of "gtk-config", so it can be a program name with args.
27975 set dummy gtk-config; ac_word=$2
27976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27978 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27979 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 else
27981 case $GTK_CONFIG in
27982 [\\/]* | ?:[\\/]*)
27983 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27984 ;;
27985 *)
27986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27987 for as_dir in $PATH
27988 do
27989 IFS=$as_save_IFS
27990 test -z "$as_dir" && as_dir=.
27991 for ac_exec_ext in '' $ac_executable_extensions; do
27992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27993 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27995 break 2
27996 fi
27997 done
27998 done
27999 IFS=$as_save_IFS
28000
28001 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28002 ;;
28003 esac
28004 fi
28005 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28006 if test -n "$GTK_CONFIG"; then
28007 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28008 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28009 else
28010 { echo "$as_me:$LINENO: result: no" >&5
28011 echo "${ECHO_T}no" >&6; }
28012 fi
28013
28014
28015 min_gtk_version=1.2.3
28016 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28017 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28018 no_gtk=""
28019 if test "$GTK_CONFIG" = "no" ; then
28020 no_gtk=yes
28021 else
28022 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28023 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28024 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28025 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28026 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28028 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28030 if test "x$enable_gtktest" = "xyes" ; then
28031 ac_save_CFLAGS="$CFLAGS"
28032 ac_save_LIBS="$LIBS"
28033 CFLAGS="$CFLAGS $GTK_CFLAGS"
28034 LIBS="$GTK_LIBS $LIBS"
28035 rm -f conf.gtktest
28036 if test "$cross_compiling" = yes; then
28037 echo $ac_n "cross compiling; assumed OK... $ac_c"
28038 else
28039 cat >conftest.$ac_ext <<_ACEOF
28040 /* confdefs.h. */
28041 _ACEOF
28042 cat confdefs.h >>conftest.$ac_ext
28043 cat >>conftest.$ac_ext <<_ACEOF
28044 /* end confdefs.h. */
28045
28046 #include <gtk/gtk.h>
28047 #include <stdio.h>
28048 #include <stdlib.h>
28049
28050 int
28051 main ()
28052 {
28053 int major, minor, micro;
28054 char *tmp_version;
28055
28056 system ("touch conf.gtktest");
28057
28058 /* HP/UX 9 (%@#!) writes to sscanf strings */
28059 tmp_version = g_strdup("$min_gtk_version");
28060 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28061 printf("%s, bad version string\n", "$min_gtk_version");
28062 exit(1);
28063 }
28064
28065 if ((gtk_major_version != $gtk_config_major_version) ||
28066 (gtk_minor_version != $gtk_config_minor_version) ||
28067 (gtk_micro_version != $gtk_config_micro_version))
28068 {
28069 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28070 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28071 gtk_major_version, gtk_minor_version, gtk_micro_version);
28072 printf ("*** was found! If gtk-config was correct, then it is best\n");
28073 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28074 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28075 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28076 printf("*** required on your system.\n");
28077 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28078 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28079 printf("*** before re-running configure\n");
28080 }
28081 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28082 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28083 (gtk_minor_version != GTK_MINOR_VERSION) ||
28084 (gtk_micro_version != GTK_MICRO_VERSION))
28085 {
28086 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28087 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28088 printf("*** library (version %d.%d.%d)\n",
28089 gtk_major_version, gtk_minor_version, gtk_micro_version);
28090 }
28091 #endif /* defined (GTK_MAJOR_VERSION) ... */
28092 else
28093 {
28094 if ((gtk_major_version > major) ||
28095 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28096 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28097 {
28098 return 0;
28099 }
28100 else
28101 {
28102 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28103 gtk_major_version, gtk_minor_version, gtk_micro_version);
28104 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28105 major, minor, micro);
28106 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28107 printf("***\n");
28108 printf("*** If you have already installed a sufficiently new version, this error\n");
28109 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28110 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28111 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28112 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28113 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28114 printf("*** so that the correct libraries are found at run-time))\n");
28115 }
28116 }
28117 return 1;
28118 }
28119
28120 _ACEOF
28121 rm -f conftest$ac_exeext
28122 if { (ac_try="$ac_link"
28123 case "(($ac_try" in
28124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28125 *) ac_try_echo=$ac_try;;
28126 esac
28127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28128 (eval "$ac_link") 2>&5
28129 ac_status=$?
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28132 { (case "(($ac_try" in
28133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28134 *) ac_try_echo=$ac_try;;
28135 esac
28136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28137 (eval "$ac_try") 2>&5
28138 ac_status=$?
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); }; }; then
28141 :
28142 else
28143 echo "$as_me: program exited with status $ac_status" >&5
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28146
28147 ( exit $ac_status )
28148 no_gtk=yes
28149 fi
28150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28151 fi
28152
28153
28154 CFLAGS="$ac_save_CFLAGS"
28155 LIBS="$ac_save_LIBS"
28156 fi
28157 fi
28158 if test "x$no_gtk" = x ; then
28159 { echo "$as_me:$LINENO: result: yes" >&5
28160 echo "${ECHO_T}yes" >&6; }
28161 wx_cv_lib_gtk=1.2.3
28162 else
28163 { echo "$as_me:$LINENO: result: no" >&5
28164 echo "${ECHO_T}no" >&6; }
28165 if test "$GTK_CONFIG" = "no" ; then
28166 echo "*** The gtk-config script installed by GTK could not be found"
28167 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28168 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28169 echo "*** full path to gtk-config."
28170 else
28171 if test -f conf.gtktest ; then
28172 :
28173 else
28174 echo "*** Could not run GTK test program, checking why..."
28175 CFLAGS="$CFLAGS $GTK_CFLAGS"
28176 LIBS="$LIBS $GTK_LIBS"
28177 cat >conftest.$ac_ext <<_ACEOF
28178 /* confdefs.h. */
28179 _ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28183
28184 #include <gtk/gtk.h>
28185 #include <stdio.h>
28186
28187 int
28188 main ()
28189 {
28190 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28191 ;
28192 return 0;
28193 }
28194 _ACEOF
28195 rm -f conftest.$ac_objext conftest$ac_exeext
28196 if { (ac_try="$ac_link"
28197 case "(($ac_try" in
28198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28199 *) ac_try_echo=$ac_try;;
28200 esac
28201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28202 (eval "$ac_link") 2>conftest.er1
28203 ac_status=$?
28204 grep -v '^ *+' conftest.er1 >conftest.err
28205 rm -f conftest.er1
28206 cat conftest.err >&5
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); } && {
28209 test -z "$ac_c_werror_flag" ||
28210 test ! -s conftest.err
28211 } && test -s conftest$ac_exeext &&
28212 $as_test_x conftest$ac_exeext; then
28213 echo "*** The test program compiled, but did not run. This usually means"
28214 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28215 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28216 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28217 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28218 echo "*** is required on your system"
28219 echo "***"
28220 echo "*** If you have an old version installed, it is best to remove it, although"
28221 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28222 echo "***"
28223 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28224 echo "*** came with the system with the command"
28225 echo "***"
28226 echo "*** rpm --erase --nodeps gtk gtk-devel"
28227 else
28228 echo "$as_me: failed program was:" >&5
28229 sed 's/^/| /' conftest.$ac_ext >&5
28230
28231 echo "*** The test program failed to compile or link. See the file config.log for the"
28232 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28233 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28234 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28235 fi
28236
28237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28238 conftest$ac_exeext conftest.$ac_ext
28239 CFLAGS="$ac_save_CFLAGS"
28240 LIBS="$ac_save_LIBS"
28241 fi
28242 fi
28243 GTK_CFLAGS=""
28244 GTK_LIBS=""
28245 :
28246 fi
28247
28248
28249 rm -f conf.gtktest
28250
28251 fi
28252 fi
28253 fi
28254
28255 if test -z "$wx_cv_lib_gtk"; then
28256 wx_cv_lib_gtk=none
28257 else
28258 wx_cv_cflags_gtk=$GTK_CFLAGS
28259 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28260 fi
28261
28262
28263 fi
28264
28265
28266 if test "$gtk_version_cached" = 1; then
28267 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28268 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28269 fi
28270
28271 case "$wx_cv_lib_gtk" in
28272 2.0) WXGTK20=1
28273 TOOLKIT_VERSION=2
28274 ;;
28275 1.2.7) WXGTK127=1
28276 WXGTK12=1
28277 ;;
28278 1.2.3) WXGTK12=1
28279 ;;
28280 *) { { echo "$as_me:$LINENO: error:
28281 The development files for GTK+ were not found. For GTK+ 2, please
28282 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28283 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28284 and that the version is 1.2.3 or above. Also check that the
28285 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28286 --libs' are in the LD_LIBRARY_PATH or equivalent.
28287 " >&5
28288 echo "$as_me: error:
28289 The development files for GTK+ were not found. For GTK+ 2, please
28290 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28291 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28292 and that the version is 1.2.3 or above. Also check that the
28293 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28294 --libs' are in the LD_LIBRARY_PATH or equivalent.
28295 " >&2;}
28296 { (exit 1); exit 1; }; }
28297 ;;
28298 esac
28299
28300 if test "$WXGTK20" = 1; then
28301 save_CFLAGS="$CFLAGS"
28302 save_LIBS="$LIBS"
28303 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28304 LIBS="$LIBS $wx_cv_libs_gtk"
28305
28306 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28307 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28308 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28309 echo $ECHO_N "(cached) $ECHO_C" >&6
28310 else
28311 cat >conftest.$ac_ext <<_ACEOF
28312 /* confdefs.h. */
28313 _ACEOF
28314 cat confdefs.h >>conftest.$ac_ext
28315 cat >>conftest.$ac_ext <<_ACEOF
28316 /* end confdefs.h. */
28317 #include <gtk/gtk.h>
28318
28319 int
28320 main ()
28321 {
28322 #ifndef gtk_icon_size_lookup
28323 (void) gtk_icon_size_lookup;
28324 #endif
28325
28326 ;
28327 return 0;
28328 }
28329 _ACEOF
28330 rm -f conftest.$ac_objext
28331 if { (ac_try="$ac_compile"
28332 case "(($ac_try" in
28333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28334 *) ac_try_echo=$ac_try;;
28335 esac
28336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28337 (eval "$ac_compile") 2>conftest.er1
28338 ac_status=$?
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } && {
28344 test -z "$ac_c_werror_flag" ||
28345 test ! -s conftest.err
28346 } && test -s conftest.$ac_objext; then
28347 ac_cv_have_decl_gtk_icon_size_lookup=yes
28348 else
28349 echo "$as_me: failed program was:" >&5
28350 sed 's/^/| /' conftest.$ac_ext >&5
28351
28352 ac_cv_have_decl_gtk_icon_size_lookup=no
28353 fi
28354
28355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28356 fi
28357 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28358 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28359 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28360
28361 cat >>confdefs.h <<_ACEOF
28362 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28363 _ACEOF
28364
28365
28366 else
28367 cat >>confdefs.h <<_ACEOF
28368 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28369 _ACEOF
28370
28371 cat >>confdefs.h <<\_ACEOF
28372 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28373 _ACEOF
28374
28375 fi
28376
28377
28378
28379
28380 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28381 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28382 cat >conftest.$ac_ext <<_ACEOF
28383 /* confdefs.h. */
28384 _ACEOF
28385 cat confdefs.h >>conftest.$ac_ext
28386 cat >>conftest.$ac_ext <<_ACEOF
28387 /* end confdefs.h. */
28388
28389 #include <gtk/gtk.h>
28390
28391 int
28392 main ()
28393 {
28394
28395 #if !GTK_CHECK_VERSION(2,10,0)
28396 Not GTK+ 2.10
28397 #endif
28398
28399 ;
28400 return 0;
28401 }
28402 _ACEOF
28403 rm -f conftest.$ac_objext
28404 if { (ac_try="$ac_compile"
28405 case "(($ac_try" in
28406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28407 *) ac_try_echo=$ac_try;;
28408 esac
28409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28410 (eval "$ac_compile") 2>conftest.er1
28411 ac_status=$?
28412 grep -v '^ *+' conftest.er1 >conftest.err
28413 rm -f conftest.er1
28414 cat conftest.err >&5
28415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28416 (exit $ac_status); } && {
28417 test -z "$ac_c_werror_flag" ||
28418 test ! -s conftest.err
28419 } && test -s conftest.$ac_objext; then
28420
28421 cat >>confdefs.h <<\_ACEOF
28422 #define __WXGTK210__ 1
28423 _ACEOF
28424
28425 cat >>confdefs.h <<\_ACEOF
28426 #define __WXGTK26__ 1
28427 _ACEOF
28428
28429 cat >>confdefs.h <<\_ACEOF
28430 #define __WXGTK24__ 1
28431 _ACEOF
28432
28433 { echo "$as_me:$LINENO: result: yes" >&5
28434 echo "${ECHO_T}yes" >&6; }
28435 ac_wxgtk210=1
28436
28437 else
28438 echo "$as_me: failed program was:" >&5
28439 sed 's/^/| /' conftest.$ac_ext >&5
28440
28441
28442 { echo "$as_me:$LINENO: result: no" >&5
28443 echo "${ECHO_T}no" >&6; }
28444 ac_wxgtk210=0
28445
28446 fi
28447
28448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28449
28450 if test "$ac_wxgtk210" = 0; then
28451 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28452 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28453 cat >conftest.$ac_ext <<_ACEOF
28454 /* confdefs.h. */
28455 _ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459
28460 #include <gtk/gtk.h>
28461
28462 int
28463 main ()
28464 {
28465
28466 #if !GTK_CHECK_VERSION(2,6,0)
28467 Not GTK+ 2.6
28468 #endif
28469
28470 ;
28471 return 0;
28472 }
28473 _ACEOF
28474 rm -f conftest.$ac_objext
28475 if { (ac_try="$ac_compile"
28476 case "(($ac_try" in
28477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28478 *) ac_try_echo=$ac_try;;
28479 esac
28480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28481 (eval "$ac_compile") 2>conftest.er1
28482 ac_status=$?
28483 grep -v '^ *+' conftest.er1 >conftest.err
28484 rm -f conftest.er1
28485 cat conftest.err >&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); } && {
28488 test -z "$ac_c_werror_flag" ||
28489 test ! -s conftest.err
28490 } && test -s conftest.$ac_objext; then
28491
28492 cat >>confdefs.h <<\_ACEOF
28493 #define __WXGTK26__ 1
28494 _ACEOF
28495
28496 cat >>confdefs.h <<\_ACEOF
28497 #define __WXGTK24__ 1
28498 _ACEOF
28499
28500 { echo "$as_me:$LINENO: result: yes" >&5
28501 echo "${ECHO_T}yes" >&6; }
28502 ac_wxgtk26=1
28503
28504 else
28505 echo "$as_me: failed program was:" >&5
28506 sed 's/^/| /' conftest.$ac_ext >&5
28507
28508
28509 { echo "$as_me:$LINENO: result: no" >&5
28510 echo "${ECHO_T}no" >&6; }
28511 ac_wxgtk26=0
28512
28513 fi
28514
28515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28516 fi
28517
28518 if test "$ac_wxgtk26" = 0; then
28519 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28520 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28521 cat >conftest.$ac_ext <<_ACEOF
28522 /* confdefs.h. */
28523 _ACEOF
28524 cat confdefs.h >>conftest.$ac_ext
28525 cat >>conftest.$ac_ext <<_ACEOF
28526 /* end confdefs.h. */
28527
28528 #include <gtk/gtk.h>
28529
28530 int
28531 main ()
28532 {
28533
28534 #if !GTK_CHECK_VERSION(2,4,0)
28535 Not GTK+ 2.4
28536 #endif
28537
28538 ;
28539 return 0;
28540 }
28541 _ACEOF
28542 rm -f conftest.$ac_objext
28543 if { (ac_try="$ac_compile"
28544 case "(($ac_try" in
28545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28546 *) ac_try_echo=$ac_try;;
28547 esac
28548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28549 (eval "$ac_compile") 2>conftest.er1
28550 ac_status=$?
28551 grep -v '^ *+' conftest.er1 >conftest.err
28552 rm -f conftest.er1
28553 cat conftest.err >&5
28554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28555 (exit $ac_status); } && {
28556 test -z "$ac_c_werror_flag" ||
28557 test ! -s conftest.err
28558 } && test -s conftest.$ac_objext; then
28559
28560 cat >>confdefs.h <<\_ACEOF
28561 #define __WXGTK24__ 1
28562 _ACEOF
28563
28564 { echo "$as_me:$LINENO: result: yes" >&5
28565 echo "${ECHO_T}yes" >&6; }
28566
28567 else
28568 echo "$as_me: failed program was:" >&5
28569 sed 's/^/| /' conftest.$ac_ext >&5
28570
28571
28572 { echo "$as_me:$LINENO: result: no" >&5
28573 echo "${ECHO_T}no" >&6; }
28574
28575 fi
28576
28577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28578 fi
28579
28580 CFLAGS="$save_CFLAGS"
28581 LIBS="$save_LIBS"
28582 else
28583 if test "$wxUSE_UNICODE" = "yes"; then
28584 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28585 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28586 wxUSE_UNICODE=no
28587 fi
28588
28589 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28590 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28591 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28593 else
28594 ac_check_lib_save_LIBS=$LIBS
28595 LIBS="-lgdk $LIBS"
28596 cat >conftest.$ac_ext <<_ACEOF
28597 /* confdefs.h. */
28598 _ACEOF
28599 cat confdefs.h >>conftest.$ac_ext
28600 cat >>conftest.$ac_ext <<_ACEOF
28601 /* end confdefs.h. */
28602
28603 /* Override any GCC internal prototype to avoid an error.
28604 Use char because int might match the return type of a GCC
28605 builtin and then its argument prototype would still apply. */
28606 #ifdef __cplusplus
28607 extern "C"
28608 #endif
28609 char gdk_im_open ();
28610 int
28611 main ()
28612 {
28613 return gdk_im_open ();
28614 ;
28615 return 0;
28616 }
28617 _ACEOF
28618 rm -f conftest.$ac_objext conftest$ac_exeext
28619 if { (ac_try="$ac_link"
28620 case "(($ac_try" in
28621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28622 *) ac_try_echo=$ac_try;;
28623 esac
28624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28625 (eval "$ac_link") 2>conftest.er1
28626 ac_status=$?
28627 grep -v '^ *+' conftest.er1 >conftest.err
28628 rm -f conftest.er1
28629 cat conftest.err >&5
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); } && {
28632 test -z "$ac_c_werror_flag" ||
28633 test ! -s conftest.err
28634 } && test -s conftest$ac_exeext &&
28635 $as_test_x conftest$ac_exeext; then
28636 ac_cv_lib_gdk_gdk_im_open=yes
28637 else
28638 echo "$as_me: failed program was:" >&5
28639 sed 's/^/| /' conftest.$ac_ext >&5
28640
28641 ac_cv_lib_gdk_gdk_im_open=no
28642 fi
28643
28644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28645 conftest$ac_exeext conftest.$ac_ext
28646 LIBS=$ac_check_lib_save_LIBS
28647 fi
28648 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28649 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28650 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28651 cat >>confdefs.h <<\_ACEOF
28652 #define HAVE_XIM 1
28653 _ACEOF
28654
28655 fi
28656
28657
28658 if test "$USE_DARWIN" != 1; then
28659
28660 for ac_func in poll
28661 do
28662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28663 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28665 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28666 echo $ECHO_N "(cached) $ECHO_C" >&6
28667 else
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h. */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28676 #define $ac_func innocuous_$ac_func
28677
28678 /* System header to define __stub macros and hopefully few prototypes,
28679 which can conflict with char $ac_func (); below.
28680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28681 <limits.h> exists even on freestanding compilers. */
28682
28683 #ifdef __STDC__
28684 # include <limits.h>
28685 #else
28686 # include <assert.h>
28687 #endif
28688
28689 #undef $ac_func
28690
28691 /* Override any GCC internal prototype to avoid an error.
28692 Use char because int might match the return type of a GCC
28693 builtin and then its argument prototype would still apply. */
28694 #ifdef __cplusplus
28695 extern "C"
28696 #endif
28697 char $ac_func ();
28698 /* The GNU C library defines this for functions which it implements
28699 to always fail with ENOSYS. Some functions are actually named
28700 something starting with __ and the normal name is an alias. */
28701 #if defined __stub_$ac_func || defined __stub___$ac_func
28702 choke me
28703 #endif
28704
28705 int
28706 main ()
28707 {
28708 return $ac_func ();
28709 ;
28710 return 0;
28711 }
28712 _ACEOF
28713 rm -f conftest.$ac_objext conftest$ac_exeext
28714 if { (ac_try="$ac_link"
28715 case "(($ac_try" in
28716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28717 *) ac_try_echo=$ac_try;;
28718 esac
28719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28720 (eval "$ac_link") 2>conftest.er1
28721 ac_status=$?
28722 grep -v '^ *+' conftest.er1 >conftest.err
28723 rm -f conftest.er1
28724 cat conftest.err >&5
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); } && {
28727 test -z "$ac_c_werror_flag" ||
28728 test ! -s conftest.err
28729 } && test -s conftest$ac_exeext &&
28730 $as_test_x conftest$ac_exeext; then
28731 eval "$as_ac_var=yes"
28732 else
28733 echo "$as_me: failed program was:" >&5
28734 sed 's/^/| /' conftest.$ac_ext >&5
28735
28736 eval "$as_ac_var=no"
28737 fi
28738
28739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28740 conftest$ac_exeext conftest.$ac_ext
28741 fi
28742 ac_res=`eval echo '${'$as_ac_var'}'`
28743 { echo "$as_me:$LINENO: result: $ac_res" >&5
28744 echo "${ECHO_T}$ac_res" >&6; }
28745 if test `eval echo '${'$as_ac_var'}'` = yes; then
28746 cat >>confdefs.h <<_ACEOF
28747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28748 _ACEOF
28749
28750 fi
28751 done
28752
28753 fi
28754 fi
28755
28756 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28757 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28758
28759 AFMINSTALL=afminstall
28760 TOOLKIT=GTK
28761 GUIDIST=GTK_DIST
28762
28763 if test "$wxUSE_GPE" = "yes"; then
28764 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28765 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28766
28767 ac_find_libraries=
28768 for ac_dir in $SEARCH_LIB;
28769 do
28770 for ac_extension in a so sl dylib dll.a; do
28771 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28772 ac_find_libraries=$ac_dir
28773 break 2
28774 fi
28775 done
28776 done
28777
28778 if test "$ac_find_libraries" != "" ; then
28779
28780 if test "$ac_find_libraries" = "default location"; then
28781 ac_path_to_link=""
28782 else
28783 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28784 result=$?
28785 if test $result = 0; then
28786 ac_path_to_link=""
28787 else
28788 ac_path_to_link=" -L$ac_find_libraries"
28789 fi
28790 fi
28791
28792 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28793 WXGPE=1
28794 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28795 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28796 else
28797 { echo "$as_me:$LINENO: result: not found" >&5
28798 echo "${ECHO_T}not found" >&6; }
28799 fi
28800
28801 fi
28802 fi
28803
28804 if test "$wxUSE_MGL" = 1; then
28805 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28806 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28807 if test "x$MGL_ROOT" = x ; then
28808 { echo "$as_me:$LINENO: result: not found" >&5
28809 echo "${ECHO_T}not found" >&6; }
28810 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28811 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28812 { (exit 1); exit 1; }; }
28813 else
28814 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28815 echo "${ECHO_T}$MGL_ROOT" >&6; }
28816 fi
28817
28818 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28819 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28820 case "${host}" in
28821 *-*-linux* )
28822 if test "x$wxUSE_SHARED" = xyes ; then
28823 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28824 else
28825 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28826 fi
28827 ;;
28828 *-pc-msdosdjgpp )
28829 mgl_os_candidates="dos32/dj2"
28830 ;;
28831 *)
28832 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28833 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28834 { (exit 1); exit 1; }; }
28835 esac
28836
28837 mgl_lib_type=""
28838 mgl_os=""
28839
28840 for mgl_os_i in $mgl_os_candidates ; do
28841 if test "x$mgl_os" = x ; then
28842 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28843 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28844 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28845 mgl_lib_type=debug
28846 mgl_os=$mgl_os_i
28847 fi
28848 fi
28849 if test "x$mgl_lib_type" = x ; then
28850 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28851 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28852 mgl_lib_type=release
28853 mgl_os=$mgl_os_i
28854 fi
28855 fi
28856 fi
28857 done
28858
28859 if test "x$mgl_os" = x ; then
28860 { echo "$as_me:$LINENO: result: not found" >&5
28861 echo "${ECHO_T}not found" >&6; }
28862 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28863 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28864 { (exit 1); exit 1; }; }
28865 fi
28866 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28867 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28868
28869 wxUSE_UNIVERSAL="yes"
28870
28871 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28872 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28873
28874 AFMINSTALL=afminstall
28875 TOOLKIT=MGL
28876 GUIDIST=MGL_DIST
28877 fi
28878
28879 if test "$wxUSE_DFB" = 1; then
28880
28881
28882 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28883 if test -n "$ac_tool_prefix"; then
28884 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28885 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28888 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28889 echo $ECHO_N "(cached) $ECHO_C" >&6
28890 else
28891 case $PKG_CONFIG in
28892 [\\/]* | ?:[\\/]*)
28893 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28894 ;;
28895 *)
28896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28897 for as_dir in $PATH
28898 do
28899 IFS=$as_save_IFS
28900 test -z "$as_dir" && as_dir=.
28901 for ac_exec_ext in '' $ac_executable_extensions; do
28902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28903 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28905 break 2
28906 fi
28907 done
28908 done
28909 IFS=$as_save_IFS
28910
28911 ;;
28912 esac
28913 fi
28914 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28915 if test -n "$PKG_CONFIG"; then
28916 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28917 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28918 else
28919 { echo "$as_me:$LINENO: result: no" >&5
28920 echo "${ECHO_T}no" >&6; }
28921 fi
28922
28923
28924 fi
28925 if test -z "$ac_cv_path_PKG_CONFIG"; then
28926 ac_pt_PKG_CONFIG=$PKG_CONFIG
28927 # Extract the first word of "pkg-config", so it can be a program name with args.
28928 set dummy pkg-config; ac_word=$2
28929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28931 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 else
28934 case $ac_pt_PKG_CONFIG in
28935 [\\/]* | ?:[\\/]*)
28936 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28937 ;;
28938 *)
28939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28940 for as_dir in $PATH
28941 do
28942 IFS=$as_save_IFS
28943 test -z "$as_dir" && as_dir=.
28944 for ac_exec_ext in '' $ac_executable_extensions; do
28945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28946 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28948 break 2
28949 fi
28950 done
28951 done
28952 IFS=$as_save_IFS
28953
28954 ;;
28955 esac
28956 fi
28957 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28958 if test -n "$ac_pt_PKG_CONFIG"; then
28959 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28960 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28961 else
28962 { echo "$as_me:$LINENO: result: no" >&5
28963 echo "${ECHO_T}no" >&6; }
28964 fi
28965
28966 if test "x$ac_pt_PKG_CONFIG" = x; then
28967 PKG_CONFIG=""
28968 else
28969 case $cross_compiling:$ac_tool_warned in
28970 yes:)
28971 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28972 whose name does not start with the host triplet. If you think this
28973 configuration is useful to you, please write to autoconf@gnu.org." >&5
28974 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28975 whose name does not start with the host triplet. If you think this
28976 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28977 ac_tool_warned=yes ;;
28978 esac
28979 PKG_CONFIG=$ac_pt_PKG_CONFIG
28980 fi
28981 else
28982 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28983 fi
28984
28985 fi
28986 if test -n "$PKG_CONFIG"; then
28987 _pkg_min_version=0.9.0
28988 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28989 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28990 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28991 { echo "$as_me:$LINENO: result: yes" >&5
28992 echo "${ECHO_T}yes" >&6; }
28993 else
28994 { echo "$as_me:$LINENO: result: no" >&5
28995 echo "${ECHO_T}no" >&6; }
28996 PKG_CONFIG=""
28997 fi
28998
28999 fi
29000
29001
29002 pkg_failed=no
29003 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29004 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29005
29006 if test -n "$PKG_CONFIG"; then
29007 if test -n "$DIRECTFB_CFLAGS"; then
29008 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29009 else
29010 if test -n "$PKG_CONFIG" && \
29011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29012 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29013 ac_status=$?
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; then
29016 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29017 else
29018 pkg_failed=yes
29019 fi
29020 fi
29021 else
29022 pkg_failed=untried
29023 fi
29024 if test -n "$PKG_CONFIG"; then
29025 if test -n "$DIRECTFB_LIBS"; then
29026 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29027 else
29028 if test -n "$PKG_CONFIG" && \
29029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29030 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29031 ac_status=$?
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); }; then
29034 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29035 else
29036 pkg_failed=yes
29037 fi
29038 fi
29039 else
29040 pkg_failed=untried
29041 fi
29042
29043
29044
29045 if test $pkg_failed = yes; then
29046
29047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29048 _pkg_short_errors_supported=yes
29049 else
29050 _pkg_short_errors_supported=no
29051 fi
29052 if test $_pkg_short_errors_supported = yes; then
29053 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29054 else
29055 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29056 fi
29057 # Put the nasty error message in config.log where it belongs
29058 echo "$DIRECTFB_PKG_ERRORS" >&5
29059
29060
29061 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29062 echo "$as_me: error: DirectFB not found." >&2;}
29063 { (exit 1); exit 1; }; }
29064
29065
29066 elif test $pkg_failed = untried; then
29067
29068 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29069 echo "$as_me: error: DirectFB not found." >&2;}
29070 { (exit 1); exit 1; }; }
29071
29072
29073 else
29074 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29075 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29076 { echo "$as_me:$LINENO: result: yes" >&5
29077 echo "${ECHO_T}yes" >&6; }
29078
29079 wxUSE_UNIVERSAL="yes"
29080 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29081 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29082 TOOLKIT=DFB
29083 GUIDIST=DFB_DIST
29084
29085 fi
29086 fi
29087
29088 if test "$wxUSE_MICROWIN" = 1; then
29089 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29090 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29091 if test "x$MICROWINDOWS" = x ; then
29092 { echo "$as_me:$LINENO: result: not found" >&5
29093 echo "${ECHO_T}not found" >&6; }
29094 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29095 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29096 { (exit 1); exit 1; }; }
29097 else
29098 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29099 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29100 fi
29101
29102 if test -f $MICROWINDOWS/lib/libmwin.a; then
29103 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29104 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29105 else
29106 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29107 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29108 { (exit 1); exit 1; }; }
29109 fi
29110
29111 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29112 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29113
29114 wxUSE_UNIVERSAL="yes"
29115
29116 AFMINSTALL=afminstall
29117 TOOLKIT=MICROWIN
29118 GUIDIST=MICROWIN_DIST
29119
29120 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29121 fi
29122
29123 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29124 { echo "$as_me:$LINENO: checking for X" >&5
29125 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29126
29127
29128 # Check whether --with-x was given.
29129 if test "${with_x+set}" = set; then
29130 withval=$with_x;
29131 fi
29132
29133 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29134 if test "x$with_x" = xno; then
29135 # The user explicitly disabled X.
29136 have_x=disabled
29137 else
29138 case $x_includes,$x_libraries in #(
29139 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29140 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29141 { (exit 1); exit 1; }; };; #(
29142 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29143 echo $ECHO_N "(cached) $ECHO_C" >&6
29144 else
29145 # One or both of the vars are not set, and there is no cached value.
29146 ac_x_includes=no ac_x_libraries=no
29147 rm -f -r conftest.dir
29148 if mkdir conftest.dir; then
29149 cd conftest.dir
29150 cat >Imakefile <<'_ACEOF'
29151 incroot:
29152 @echo incroot='${INCROOT}'
29153 usrlibdir:
29154 @echo usrlibdir='${USRLIBDIR}'
29155 libdir:
29156 @echo libdir='${LIBDIR}'
29157 _ACEOF
29158 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29160 for ac_var in incroot usrlibdir libdir; do
29161 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29162 done
29163 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29164 for ac_extension in a so sl; do
29165 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29166 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29167 ac_im_usrlibdir=$ac_im_libdir; break
29168 fi
29169 done
29170 # Screen out bogus values from the imake configuration. They are
29171 # bogus both because they are the default anyway, and because
29172 # using them would break gcc on systems where it needs fixed includes.
29173 case $ac_im_incroot in
29174 /usr/include) ac_x_includes= ;;
29175 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29176 esac
29177 case $ac_im_usrlibdir in
29178 /usr/lib | /lib) ;;
29179 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29180 esac
29181 fi
29182 cd ..
29183 rm -f -r conftest.dir
29184 fi
29185
29186 # Standard set of common directories for X headers.
29187 # Check X11 before X11Rn because it is often a symlink to the current release.
29188 ac_x_header_dirs='
29189 /usr/X11/include
29190 /usr/X11R6/include
29191 /usr/X11R5/include
29192 /usr/X11R4/include
29193
29194 /usr/include/X11
29195 /usr/include/X11R6
29196 /usr/include/X11R5
29197 /usr/include/X11R4
29198
29199 /usr/local/X11/include
29200 /usr/local/X11R6/include
29201 /usr/local/X11R5/include
29202 /usr/local/X11R4/include
29203
29204 /usr/local/include/X11
29205 /usr/local/include/X11R6
29206 /usr/local/include/X11R5
29207 /usr/local/include/X11R4
29208
29209 /usr/X386/include
29210 /usr/x386/include
29211 /usr/XFree86/include/X11
29212
29213 /usr/include
29214 /usr/local/include
29215 /usr/unsupported/include
29216 /usr/athena/include
29217 /usr/local/x11r5/include
29218 /usr/lpp/Xamples/include
29219
29220 /usr/openwin/include
29221 /usr/openwin/share/include'
29222
29223 if test "$ac_x_includes" = no; then
29224 # Guess where to find include files, by looking for Xlib.h.
29225 # First, try using that file with no special directory specified.
29226 cat >conftest.$ac_ext <<_ACEOF
29227 /* confdefs.h. */
29228 _ACEOF
29229 cat confdefs.h >>conftest.$ac_ext
29230 cat >>conftest.$ac_ext <<_ACEOF
29231 /* end confdefs.h. */
29232 #include <X11/Xlib.h>
29233 _ACEOF
29234 if { (ac_try="$ac_cpp conftest.$ac_ext"
29235 case "(($ac_try" in
29236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29237 *) ac_try_echo=$ac_try;;
29238 esac
29239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29241 ac_status=$?
29242 grep -v '^ *+' conftest.er1 >conftest.err
29243 rm -f conftest.er1
29244 cat conftest.err >&5
29245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29246 (exit $ac_status); } >/dev/null && {
29247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29248 test ! -s conftest.err
29249 }; then
29250 # We can compile using X headers with no special include directory.
29251 ac_x_includes=
29252 else
29253 echo "$as_me: failed program was:" >&5
29254 sed 's/^/| /' conftest.$ac_ext >&5
29255
29256 for ac_dir in $ac_x_header_dirs; do
29257 if test -r "$ac_dir/X11/Xlib.h"; then
29258 ac_x_includes=$ac_dir
29259 break
29260 fi
29261 done
29262 fi
29263
29264 rm -f conftest.err conftest.$ac_ext
29265 fi # $ac_x_includes = no
29266
29267 if test "$ac_x_libraries" = no; then
29268 # Check for the libraries.
29269 # See if we find them without any special options.
29270 # Don't add to $LIBS permanently.
29271 ac_save_LIBS=$LIBS
29272 LIBS="-lX11 $LIBS"
29273 cat >conftest.$ac_ext <<_ACEOF
29274 /* confdefs.h. */
29275 _ACEOF
29276 cat confdefs.h >>conftest.$ac_ext
29277 cat >>conftest.$ac_ext <<_ACEOF
29278 /* end confdefs.h. */
29279 #include <X11/Xlib.h>
29280 int
29281 main ()
29282 {
29283 XrmInitialize ()
29284 ;
29285 return 0;
29286 }
29287 _ACEOF
29288 rm -f conftest.$ac_objext conftest$ac_exeext
29289 if { (ac_try="$ac_link"
29290 case "(($ac_try" in
29291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29292 *) ac_try_echo=$ac_try;;
29293 esac
29294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29295 (eval "$ac_link") 2>conftest.er1
29296 ac_status=$?
29297 grep -v '^ *+' conftest.er1 >conftest.err
29298 rm -f conftest.er1
29299 cat conftest.err >&5
29300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29301 (exit $ac_status); } && {
29302 test -z "$ac_c_werror_flag" ||
29303 test ! -s conftest.err
29304 } && test -s conftest$ac_exeext &&
29305 $as_test_x conftest$ac_exeext; then
29306 LIBS=$ac_save_LIBS
29307 # We can link X programs with no special library path.
29308 ac_x_libraries=
29309 else
29310 echo "$as_me: failed program was:" >&5
29311 sed 's/^/| /' conftest.$ac_ext >&5
29312
29313 LIBS=$ac_save_LIBS
29314 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29315 do
29316 # Don't even attempt the hair of trying to link an X program!
29317 for ac_extension in a so sl; do
29318 if test -r "$ac_dir/libX11.$ac_extension"; then
29319 ac_x_libraries=$ac_dir
29320 break 2
29321 fi
29322 done
29323 done
29324 fi
29325
29326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29327 conftest$ac_exeext conftest.$ac_ext
29328 fi # $ac_x_libraries = no
29329
29330 case $ac_x_includes,$ac_x_libraries in #(
29331 no,* | *,no | *\'*)
29332 # Didn't find X, or a directory has "'" in its name.
29333 ac_cv_have_x="have_x=no";; #(
29334 *)
29335 # Record where we found X for the cache.
29336 ac_cv_have_x="have_x=yes\
29337 ac_x_includes='$ac_x_includes'\
29338 ac_x_libraries='$ac_x_libraries'"
29339 esac
29340 fi
29341 ;; #(
29342 *) have_x=yes;;
29343 esac
29344 eval "$ac_cv_have_x"
29345 fi # $with_x != no
29346
29347 if test "$have_x" != yes; then
29348 { echo "$as_me:$LINENO: result: $have_x" >&5
29349 echo "${ECHO_T}$have_x" >&6; }
29350 no_x=yes
29351 else
29352 # If each of the values was on the command line, it overrides each guess.
29353 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29354 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29355 # Update the cache value to reflect the command line values.
29356 ac_cv_have_x="have_x=yes\
29357 ac_x_includes='$x_includes'\
29358 ac_x_libraries='$x_libraries'"
29359 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29360 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29361 fi
29362
29363 if test "$no_x" = yes; then
29364 # Not all programs may use this symbol, but it does not hurt to define it.
29365
29366 cat >>confdefs.h <<\_ACEOF
29367 #define X_DISPLAY_MISSING 1
29368 _ACEOF
29369
29370 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29371 else
29372 if test -n "$x_includes"; then
29373 X_CFLAGS="$X_CFLAGS -I$x_includes"
29374 fi
29375
29376 # It would also be nice to do this for all -L options, not just this one.
29377 if test -n "$x_libraries"; then
29378 X_LIBS="$X_LIBS -L$x_libraries"
29379 # For Solaris; some versions of Sun CC require a space after -R and
29380 # others require no space. Words are not sufficient . . . .
29381 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29382 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29383 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29384 ac_xsave_c_werror_flag=$ac_c_werror_flag
29385 ac_c_werror_flag=yes
29386 cat >conftest.$ac_ext <<_ACEOF
29387 /* confdefs.h. */
29388 _ACEOF
29389 cat confdefs.h >>conftest.$ac_ext
29390 cat >>conftest.$ac_ext <<_ACEOF
29391 /* end confdefs.h. */
29392
29393 int
29394 main ()
29395 {
29396
29397 ;
29398 return 0;
29399 }
29400 _ACEOF
29401 rm -f conftest.$ac_objext conftest$ac_exeext
29402 if { (ac_try="$ac_link"
29403 case "(($ac_try" in
29404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29405 *) ac_try_echo=$ac_try;;
29406 esac
29407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_link") 2>conftest.er1
29409 ac_status=$?
29410 grep -v '^ *+' conftest.er1 >conftest.err
29411 rm -f conftest.er1
29412 cat conftest.err >&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } && {
29415 test -z "$ac_c_werror_flag" ||
29416 test ! -s conftest.err
29417 } && test -s conftest$ac_exeext &&
29418 $as_test_x conftest$ac_exeext; then
29419 { echo "$as_me:$LINENO: result: no" >&5
29420 echo "${ECHO_T}no" >&6; }
29421 X_LIBS="$X_LIBS -R$x_libraries"
29422 else
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.$ac_ext >&5
29425
29426 LIBS="$ac_xsave_LIBS -R $x_libraries"
29427 cat >conftest.$ac_ext <<_ACEOF
29428 /* confdefs.h. */
29429 _ACEOF
29430 cat confdefs.h >>conftest.$ac_ext
29431 cat >>conftest.$ac_ext <<_ACEOF
29432 /* end confdefs.h. */
29433
29434 int
29435 main ()
29436 {
29437
29438 ;
29439 return 0;
29440 }
29441 _ACEOF
29442 rm -f conftest.$ac_objext conftest$ac_exeext
29443 if { (ac_try="$ac_link"
29444 case "(($ac_try" in
29445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29446 *) ac_try_echo=$ac_try;;
29447 esac
29448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29449 (eval "$ac_link") 2>conftest.er1
29450 ac_status=$?
29451 grep -v '^ *+' conftest.er1 >conftest.err
29452 rm -f conftest.er1
29453 cat conftest.err >&5
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); } && {
29456 test -z "$ac_c_werror_flag" ||
29457 test ! -s conftest.err
29458 } && test -s conftest$ac_exeext &&
29459 $as_test_x conftest$ac_exeext; then
29460 { echo "$as_me:$LINENO: result: yes" >&5
29461 echo "${ECHO_T}yes" >&6; }
29462 X_LIBS="$X_LIBS -R $x_libraries"
29463 else
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.$ac_ext >&5
29466
29467 { echo "$as_me:$LINENO: result: neither works" >&5
29468 echo "${ECHO_T}neither works" >&6; }
29469 fi
29470
29471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29472 conftest$ac_exeext conftest.$ac_ext
29473 fi
29474
29475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29476 conftest$ac_exeext conftest.$ac_ext
29477 ac_c_werror_flag=$ac_xsave_c_werror_flag
29478 LIBS=$ac_xsave_LIBS
29479 fi
29480
29481 # Check for system-dependent libraries X programs must link with.
29482 # Do this before checking for the system-independent R6 libraries
29483 # (-lICE), since we may need -lsocket or whatever for X linking.
29484
29485 if test "$ISC" = yes; then
29486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29487 else
29488 # Martyn Johnson says this is needed for Ultrix, if the X
29489 # libraries were built with DECnet support. And Karl Berry says
29490 # the Alpha needs dnet_stub (dnet does not exist).
29491 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29492 cat >conftest.$ac_ext <<_ACEOF
29493 /* confdefs.h. */
29494 _ACEOF
29495 cat confdefs.h >>conftest.$ac_ext
29496 cat >>conftest.$ac_ext <<_ACEOF
29497 /* end confdefs.h. */
29498
29499 /* Override any GCC internal prototype to avoid an error.
29500 Use char because int might match the return type of a GCC
29501 builtin and then its argument prototype would still apply. */
29502 #ifdef __cplusplus
29503 extern "C"
29504 #endif
29505 char XOpenDisplay ();
29506 int
29507 main ()
29508 {
29509 return XOpenDisplay ();
29510 ;
29511 return 0;
29512 }
29513 _ACEOF
29514 rm -f conftest.$ac_objext conftest$ac_exeext
29515 if { (ac_try="$ac_link"
29516 case "(($ac_try" in
29517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29518 *) ac_try_echo=$ac_try;;
29519 esac
29520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29521 (eval "$ac_link") 2>conftest.er1
29522 ac_status=$?
29523 grep -v '^ *+' conftest.er1 >conftest.err
29524 rm -f conftest.er1
29525 cat conftest.err >&5
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); } && {
29528 test -z "$ac_c_werror_flag" ||
29529 test ! -s conftest.err
29530 } && test -s conftest$ac_exeext &&
29531 $as_test_x conftest$ac_exeext; then
29532 :
29533 else
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29536
29537 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29538 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29539 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29540 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 else
29542 ac_check_lib_save_LIBS=$LIBS
29543 LIBS="-ldnet $LIBS"
29544 cat >conftest.$ac_ext <<_ACEOF
29545 /* confdefs.h. */
29546 _ACEOF
29547 cat confdefs.h >>conftest.$ac_ext
29548 cat >>conftest.$ac_ext <<_ACEOF
29549 /* end confdefs.h. */
29550
29551 /* Override any GCC internal prototype to avoid an error.
29552 Use char because int might match the return type of a GCC
29553 builtin and then its argument prototype would still apply. */
29554 #ifdef __cplusplus
29555 extern "C"
29556 #endif
29557 char dnet_ntoa ();
29558 int
29559 main ()
29560 {
29561 return dnet_ntoa ();
29562 ;
29563 return 0;
29564 }
29565 _ACEOF
29566 rm -f conftest.$ac_objext conftest$ac_exeext
29567 if { (ac_try="$ac_link"
29568 case "(($ac_try" in
29569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29570 *) ac_try_echo=$ac_try;;
29571 esac
29572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29573 (eval "$ac_link") 2>conftest.er1
29574 ac_status=$?
29575 grep -v '^ *+' conftest.er1 >conftest.err
29576 rm -f conftest.er1
29577 cat conftest.err >&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); } && {
29580 test -z "$ac_c_werror_flag" ||
29581 test ! -s conftest.err
29582 } && test -s conftest$ac_exeext &&
29583 $as_test_x conftest$ac_exeext; then
29584 ac_cv_lib_dnet_dnet_ntoa=yes
29585 else
29586 echo "$as_me: failed program was:" >&5
29587 sed 's/^/| /' conftest.$ac_ext >&5
29588
29589 ac_cv_lib_dnet_dnet_ntoa=no
29590 fi
29591
29592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29593 conftest$ac_exeext conftest.$ac_ext
29594 LIBS=$ac_check_lib_save_LIBS
29595 fi
29596 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29597 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29598 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29599 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29600 fi
29601
29602 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29603 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29604 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29605 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 else
29608 ac_check_lib_save_LIBS=$LIBS
29609 LIBS="-ldnet_stub $LIBS"
29610 cat >conftest.$ac_ext <<_ACEOF
29611 /* confdefs.h. */
29612 _ACEOF
29613 cat confdefs.h >>conftest.$ac_ext
29614 cat >>conftest.$ac_ext <<_ACEOF
29615 /* end confdefs.h. */
29616
29617 /* Override any GCC internal prototype to avoid an error.
29618 Use char because int might match the return type of a GCC
29619 builtin and then its argument prototype would still apply. */
29620 #ifdef __cplusplus
29621 extern "C"
29622 #endif
29623 char dnet_ntoa ();
29624 int
29625 main ()
29626 {
29627 return dnet_ntoa ();
29628 ;
29629 return 0;
29630 }
29631 _ACEOF
29632 rm -f conftest.$ac_objext conftest$ac_exeext
29633 if { (ac_try="$ac_link"
29634 case "(($ac_try" in
29635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29636 *) ac_try_echo=$ac_try;;
29637 esac
29638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29639 (eval "$ac_link") 2>conftest.er1
29640 ac_status=$?
29641 grep -v '^ *+' conftest.er1 >conftest.err
29642 rm -f conftest.er1
29643 cat conftest.err >&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); } && {
29646 test -z "$ac_c_werror_flag" ||
29647 test ! -s conftest.err
29648 } && test -s conftest$ac_exeext &&
29649 $as_test_x conftest$ac_exeext; then
29650 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29651 else
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655 ac_cv_lib_dnet_stub_dnet_ntoa=no
29656 fi
29657
29658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29659 conftest$ac_exeext conftest.$ac_ext
29660 LIBS=$ac_check_lib_save_LIBS
29661 fi
29662 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29663 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29664 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29665 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29666 fi
29667
29668 fi
29669 fi
29670
29671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29672 conftest$ac_exeext conftest.$ac_ext
29673 LIBS="$ac_xsave_LIBS"
29674
29675 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29676 # to get the SysV transport functions.
29677 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29678 # needs -lnsl.
29679 # The nsl library prevents programs from opening the X display
29680 # on Irix 5.2, according to T.E. Dickey.
29681 # The functions gethostbyname, getservbyname, and inet_addr are
29682 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29683 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29684 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29685 if test "${ac_cv_func_gethostbyname+set}" = set; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 else
29688 cat >conftest.$ac_ext <<_ACEOF
29689 /* confdefs.h. */
29690 _ACEOF
29691 cat confdefs.h >>conftest.$ac_ext
29692 cat >>conftest.$ac_ext <<_ACEOF
29693 /* end confdefs.h. */
29694 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29696 #define gethostbyname innocuous_gethostbyname
29697
29698 /* System header to define __stub macros and hopefully few prototypes,
29699 which can conflict with char gethostbyname (); below.
29700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29701 <limits.h> exists even on freestanding compilers. */
29702
29703 #ifdef __STDC__
29704 # include <limits.h>
29705 #else
29706 # include <assert.h>
29707 #endif
29708
29709 #undef gethostbyname
29710
29711 /* Override any GCC internal prototype to avoid an error.
29712 Use char because int might match the return type of a GCC
29713 builtin and then its argument prototype would still apply. */
29714 #ifdef __cplusplus
29715 extern "C"
29716 #endif
29717 char gethostbyname ();
29718 /* The GNU C library defines this for functions which it implements
29719 to always fail with ENOSYS. Some functions are actually named
29720 something starting with __ and the normal name is an alias. */
29721 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29722 choke me
29723 #endif
29724
29725 int
29726 main ()
29727 {
29728 return gethostbyname ();
29729 ;
29730 return 0;
29731 }
29732 _ACEOF
29733 rm -f conftest.$ac_objext conftest$ac_exeext
29734 if { (ac_try="$ac_link"
29735 case "(($ac_try" in
29736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29737 *) ac_try_echo=$ac_try;;
29738 esac
29739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29740 (eval "$ac_link") 2>conftest.er1
29741 ac_status=$?
29742 grep -v '^ *+' conftest.er1 >conftest.err
29743 rm -f conftest.er1
29744 cat conftest.err >&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } && {
29747 test -z "$ac_c_werror_flag" ||
29748 test ! -s conftest.err
29749 } && test -s conftest$ac_exeext &&
29750 $as_test_x conftest$ac_exeext; then
29751 ac_cv_func_gethostbyname=yes
29752 else
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.$ac_ext >&5
29755
29756 ac_cv_func_gethostbyname=no
29757 fi
29758
29759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29760 conftest$ac_exeext conftest.$ac_ext
29761 fi
29762 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29763 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29764
29765 if test $ac_cv_func_gethostbyname = no; then
29766 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29767 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29768 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29769 echo $ECHO_N "(cached) $ECHO_C" >&6
29770 else
29771 ac_check_lib_save_LIBS=$LIBS
29772 LIBS="-lnsl $LIBS"
29773 cat >conftest.$ac_ext <<_ACEOF
29774 /* confdefs.h. */
29775 _ACEOF
29776 cat confdefs.h >>conftest.$ac_ext
29777 cat >>conftest.$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29779
29780 /* Override any GCC internal prototype to avoid an error.
29781 Use char because int might match the return type of a GCC
29782 builtin and then its argument prototype would still apply. */
29783 #ifdef __cplusplus
29784 extern "C"
29785 #endif
29786 char gethostbyname ();
29787 int
29788 main ()
29789 {
29790 return gethostbyname ();
29791 ;
29792 return 0;
29793 }
29794 _ACEOF
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (ac_try="$ac_link"
29797 case "(($ac_try" in
29798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29799 *) ac_try_echo=$ac_try;;
29800 esac
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_link") 2>conftest.er1
29803 ac_status=$?
29804 grep -v '^ *+' conftest.er1 >conftest.err
29805 rm -f conftest.er1
29806 cat conftest.err >&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } && {
29809 test -z "$ac_c_werror_flag" ||
29810 test ! -s conftest.err
29811 } && test -s conftest$ac_exeext &&
29812 $as_test_x conftest$ac_exeext; then
29813 ac_cv_lib_nsl_gethostbyname=yes
29814 else
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29817
29818 ac_cv_lib_nsl_gethostbyname=no
29819 fi
29820
29821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29822 conftest$ac_exeext conftest.$ac_ext
29823 LIBS=$ac_check_lib_save_LIBS
29824 fi
29825 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29826 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29827 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29828 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29829 fi
29830
29831 if test $ac_cv_lib_nsl_gethostbyname = no; then
29832 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29833 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29834 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29835 echo $ECHO_N "(cached) $ECHO_C" >&6
29836 else
29837 ac_check_lib_save_LIBS=$LIBS
29838 LIBS="-lbsd $LIBS"
29839 cat >conftest.$ac_ext <<_ACEOF
29840 /* confdefs.h. */
29841 _ACEOF
29842 cat confdefs.h >>conftest.$ac_ext
29843 cat >>conftest.$ac_ext <<_ACEOF
29844 /* end confdefs.h. */
29845
29846 /* Override any GCC internal prototype to avoid an error.
29847 Use char because int might match the return type of a GCC
29848 builtin and then its argument prototype would still apply. */
29849 #ifdef __cplusplus
29850 extern "C"
29851 #endif
29852 char gethostbyname ();
29853 int
29854 main ()
29855 {
29856 return gethostbyname ();
29857 ;
29858 return 0;
29859 }
29860 _ACEOF
29861 rm -f conftest.$ac_objext conftest$ac_exeext
29862 if { (ac_try="$ac_link"
29863 case "(($ac_try" in
29864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29865 *) ac_try_echo=$ac_try;;
29866 esac
29867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29868 (eval "$ac_link") 2>conftest.er1
29869 ac_status=$?
29870 grep -v '^ *+' conftest.er1 >conftest.err
29871 rm -f conftest.er1
29872 cat conftest.err >&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); } && {
29875 test -z "$ac_c_werror_flag" ||
29876 test ! -s conftest.err
29877 } && test -s conftest$ac_exeext &&
29878 $as_test_x conftest$ac_exeext; then
29879 ac_cv_lib_bsd_gethostbyname=yes
29880 else
29881 echo "$as_me: failed program was:" >&5
29882 sed 's/^/| /' conftest.$ac_ext >&5
29883
29884 ac_cv_lib_bsd_gethostbyname=no
29885 fi
29886
29887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29888 conftest$ac_exeext conftest.$ac_ext
29889 LIBS=$ac_check_lib_save_LIBS
29890 fi
29891 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29892 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29893 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29894 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29895 fi
29896
29897 fi
29898 fi
29899
29900 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29901 # socket/setsockopt and other routines are undefined under SCO ODT
29902 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29903 # on later versions), says Simon Leinen: it contains gethostby*
29904 # variants that don't use the name server (or something). -lsocket
29905 # must be given before -lnsl if both are needed. We assume that
29906 # if connect needs -lnsl, so does gethostbyname.
29907 { echo "$as_me:$LINENO: checking for connect" >&5
29908 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29909 if test "${ac_cv_func_connect+set}" = set; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29911 else
29912 cat >conftest.$ac_ext <<_ACEOF
29913 /* confdefs.h. */
29914 _ACEOF
29915 cat confdefs.h >>conftest.$ac_ext
29916 cat >>conftest.$ac_ext <<_ACEOF
29917 /* end confdefs.h. */
29918 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29920 #define connect innocuous_connect
29921
29922 /* System header to define __stub macros and hopefully few prototypes,
29923 which can conflict with char connect (); below.
29924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29925 <limits.h> exists even on freestanding compilers. */
29926
29927 #ifdef __STDC__
29928 # include <limits.h>
29929 #else
29930 # include <assert.h>
29931 #endif
29932
29933 #undef connect
29934
29935 /* Override any GCC internal prototype to avoid an error.
29936 Use char because int might match the return type of a GCC
29937 builtin and then its argument prototype would still apply. */
29938 #ifdef __cplusplus
29939 extern "C"
29940 #endif
29941 char connect ();
29942 /* The GNU C library defines this for functions which it implements
29943 to always fail with ENOSYS. Some functions are actually named
29944 something starting with __ and the normal name is an alias. */
29945 #if defined __stub_connect || defined __stub___connect
29946 choke me
29947 #endif
29948
29949 int
29950 main ()
29951 {
29952 return connect ();
29953 ;
29954 return 0;
29955 }
29956 _ACEOF
29957 rm -f conftest.$ac_objext conftest$ac_exeext
29958 if { (ac_try="$ac_link"
29959 case "(($ac_try" in
29960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29961 *) ac_try_echo=$ac_try;;
29962 esac
29963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29964 (eval "$ac_link") 2>conftest.er1
29965 ac_status=$?
29966 grep -v '^ *+' conftest.er1 >conftest.err
29967 rm -f conftest.er1
29968 cat conftest.err >&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); } && {
29971 test -z "$ac_c_werror_flag" ||
29972 test ! -s conftest.err
29973 } && test -s conftest$ac_exeext &&
29974 $as_test_x conftest$ac_exeext; then
29975 ac_cv_func_connect=yes
29976 else
29977 echo "$as_me: failed program was:" >&5
29978 sed 's/^/| /' conftest.$ac_ext >&5
29979
29980 ac_cv_func_connect=no
29981 fi
29982
29983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29984 conftest$ac_exeext conftest.$ac_ext
29985 fi
29986 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29987 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29988
29989 if test $ac_cv_func_connect = no; then
29990 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29991 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29992 if test "${ac_cv_lib_socket_connect+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29994 else
29995 ac_check_lib_save_LIBS=$LIBS
29996 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29997 cat >conftest.$ac_ext <<_ACEOF
29998 /* confdefs.h. */
29999 _ACEOF
30000 cat confdefs.h >>conftest.$ac_ext
30001 cat >>conftest.$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30003
30004 /* Override any GCC internal prototype to avoid an error.
30005 Use char because int might match the return type of a GCC
30006 builtin and then its argument prototype would still apply. */
30007 #ifdef __cplusplus
30008 extern "C"
30009 #endif
30010 char connect ();
30011 int
30012 main ()
30013 {
30014 return connect ();
30015 ;
30016 return 0;
30017 }
30018 _ACEOF
30019 rm -f conftest.$ac_objext conftest$ac_exeext
30020 if { (ac_try="$ac_link"
30021 case "(($ac_try" in
30022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30023 *) ac_try_echo=$ac_try;;
30024 esac
30025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30026 (eval "$ac_link") 2>conftest.er1
30027 ac_status=$?
30028 grep -v '^ *+' conftest.er1 >conftest.err
30029 rm -f conftest.er1
30030 cat conftest.err >&5
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); } && {
30033 test -z "$ac_c_werror_flag" ||
30034 test ! -s conftest.err
30035 } && test -s conftest$ac_exeext &&
30036 $as_test_x conftest$ac_exeext; then
30037 ac_cv_lib_socket_connect=yes
30038 else
30039 echo "$as_me: failed program was:" >&5
30040 sed 's/^/| /' conftest.$ac_ext >&5
30041
30042 ac_cv_lib_socket_connect=no
30043 fi
30044
30045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30046 conftest$ac_exeext conftest.$ac_ext
30047 LIBS=$ac_check_lib_save_LIBS
30048 fi
30049 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30050 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30051 if test $ac_cv_lib_socket_connect = yes; then
30052 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30053 fi
30054
30055 fi
30056
30057 # Guillermo Gomez says -lposix is necessary on A/UX.
30058 { echo "$as_me:$LINENO: checking for remove" >&5
30059 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30060 if test "${ac_cv_func_remove+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 else
30063 cat >conftest.$ac_ext <<_ACEOF
30064 /* confdefs.h. */
30065 _ACEOF
30066 cat confdefs.h >>conftest.$ac_ext
30067 cat >>conftest.$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30069 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30071 #define remove innocuous_remove
30072
30073 /* System header to define __stub macros and hopefully few prototypes,
30074 which can conflict with char remove (); below.
30075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30076 <limits.h> exists even on freestanding compilers. */
30077
30078 #ifdef __STDC__
30079 # include <limits.h>
30080 #else
30081 # include <assert.h>
30082 #endif
30083
30084 #undef remove
30085
30086 /* Override any GCC internal prototype to avoid an error.
30087 Use char because int might match the return type of a GCC
30088 builtin and then its argument prototype would still apply. */
30089 #ifdef __cplusplus
30090 extern "C"
30091 #endif
30092 char remove ();
30093 /* The GNU C library defines this for functions which it implements
30094 to always fail with ENOSYS. Some functions are actually named
30095 something starting with __ and the normal name is an alias. */
30096 #if defined __stub_remove || defined __stub___remove
30097 choke me
30098 #endif
30099
30100 int
30101 main ()
30102 {
30103 return remove ();
30104 ;
30105 return 0;
30106 }
30107 _ACEOF
30108 rm -f conftest.$ac_objext conftest$ac_exeext
30109 if { (ac_try="$ac_link"
30110 case "(($ac_try" in
30111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30112 *) ac_try_echo=$ac_try;;
30113 esac
30114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30115 (eval "$ac_link") 2>conftest.er1
30116 ac_status=$?
30117 grep -v '^ *+' conftest.er1 >conftest.err
30118 rm -f conftest.er1
30119 cat conftest.err >&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } && {
30122 test -z "$ac_c_werror_flag" ||
30123 test ! -s conftest.err
30124 } && test -s conftest$ac_exeext &&
30125 $as_test_x conftest$ac_exeext; then
30126 ac_cv_func_remove=yes
30127 else
30128 echo "$as_me: failed program was:" >&5
30129 sed 's/^/| /' conftest.$ac_ext >&5
30130
30131 ac_cv_func_remove=no
30132 fi
30133
30134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30135 conftest$ac_exeext conftest.$ac_ext
30136 fi
30137 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30138 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30139
30140 if test $ac_cv_func_remove = no; then
30141 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30142 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30143 if test "${ac_cv_lib_posix_remove+set}" = set; then
30144 echo $ECHO_N "(cached) $ECHO_C" >&6
30145 else
30146 ac_check_lib_save_LIBS=$LIBS
30147 LIBS="-lposix $LIBS"
30148 cat >conftest.$ac_ext <<_ACEOF
30149 /* confdefs.h. */
30150 _ACEOF
30151 cat confdefs.h >>conftest.$ac_ext
30152 cat >>conftest.$ac_ext <<_ACEOF
30153 /* end confdefs.h. */
30154
30155 /* Override any GCC internal prototype to avoid an error.
30156 Use char because int might match the return type of a GCC
30157 builtin and then its argument prototype would still apply. */
30158 #ifdef __cplusplus
30159 extern "C"
30160 #endif
30161 char remove ();
30162 int
30163 main ()
30164 {
30165 return remove ();
30166 ;
30167 return 0;
30168 }
30169 _ACEOF
30170 rm -f conftest.$ac_objext conftest$ac_exeext
30171 if { (ac_try="$ac_link"
30172 case "(($ac_try" in
30173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30174 *) ac_try_echo=$ac_try;;
30175 esac
30176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_link") 2>conftest.er1
30178 ac_status=$?
30179 grep -v '^ *+' conftest.er1 >conftest.err
30180 rm -f conftest.er1
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } && {
30184 test -z "$ac_c_werror_flag" ||
30185 test ! -s conftest.err
30186 } && test -s conftest$ac_exeext &&
30187 $as_test_x conftest$ac_exeext; then
30188 ac_cv_lib_posix_remove=yes
30189 else
30190 echo "$as_me: failed program was:" >&5
30191 sed 's/^/| /' conftest.$ac_ext >&5
30192
30193 ac_cv_lib_posix_remove=no
30194 fi
30195
30196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30197 conftest$ac_exeext conftest.$ac_ext
30198 LIBS=$ac_check_lib_save_LIBS
30199 fi
30200 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30201 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30202 if test $ac_cv_lib_posix_remove = yes; then
30203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30204 fi
30205
30206 fi
30207
30208 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30209 { echo "$as_me:$LINENO: checking for shmat" >&5
30210 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30211 if test "${ac_cv_func_shmat+set}" = set; then
30212 echo $ECHO_N "(cached) $ECHO_C" >&6
30213 else
30214 cat >conftest.$ac_ext <<_ACEOF
30215 /* confdefs.h. */
30216 _ACEOF
30217 cat confdefs.h >>conftest.$ac_ext
30218 cat >>conftest.$ac_ext <<_ACEOF
30219 /* end confdefs.h. */
30220 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30222 #define shmat innocuous_shmat
30223
30224 /* System header to define __stub macros and hopefully few prototypes,
30225 which can conflict with char shmat (); below.
30226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30227 <limits.h> exists even on freestanding compilers. */
30228
30229 #ifdef __STDC__
30230 # include <limits.h>
30231 #else
30232 # include <assert.h>
30233 #endif
30234
30235 #undef shmat
30236
30237 /* Override any GCC internal prototype to avoid an error.
30238 Use char because int might match the return type of a GCC
30239 builtin and then its argument prototype would still apply. */
30240 #ifdef __cplusplus
30241 extern "C"
30242 #endif
30243 char shmat ();
30244 /* The GNU C library defines this for functions which it implements
30245 to always fail with ENOSYS. Some functions are actually named
30246 something starting with __ and the normal name is an alias. */
30247 #if defined __stub_shmat || defined __stub___shmat
30248 choke me
30249 #endif
30250
30251 int
30252 main ()
30253 {
30254 return shmat ();
30255 ;
30256 return 0;
30257 }
30258 _ACEOF
30259 rm -f conftest.$ac_objext conftest$ac_exeext
30260 if { (ac_try="$ac_link"
30261 case "(($ac_try" in
30262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30263 *) ac_try_echo=$ac_try;;
30264 esac
30265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30266 (eval "$ac_link") 2>conftest.er1
30267 ac_status=$?
30268 grep -v '^ *+' conftest.er1 >conftest.err
30269 rm -f conftest.er1
30270 cat conftest.err >&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); } && {
30273 test -z "$ac_c_werror_flag" ||
30274 test ! -s conftest.err
30275 } && test -s conftest$ac_exeext &&
30276 $as_test_x conftest$ac_exeext; then
30277 ac_cv_func_shmat=yes
30278 else
30279 echo "$as_me: failed program was:" >&5
30280 sed 's/^/| /' conftest.$ac_ext >&5
30281
30282 ac_cv_func_shmat=no
30283 fi
30284
30285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30286 conftest$ac_exeext conftest.$ac_ext
30287 fi
30288 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30289 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30290
30291 if test $ac_cv_func_shmat = no; then
30292 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30293 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30294 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30296 else
30297 ac_check_lib_save_LIBS=$LIBS
30298 LIBS="-lipc $LIBS"
30299 cat >conftest.$ac_ext <<_ACEOF
30300 /* confdefs.h. */
30301 _ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305
30306 /* Override any GCC internal prototype to avoid an error.
30307 Use char because int might match the return type of a GCC
30308 builtin and then its argument prototype would still apply. */
30309 #ifdef __cplusplus
30310 extern "C"
30311 #endif
30312 char shmat ();
30313 int
30314 main ()
30315 {
30316 return shmat ();
30317 ;
30318 return 0;
30319 }
30320 _ACEOF
30321 rm -f conftest.$ac_objext conftest$ac_exeext
30322 if { (ac_try="$ac_link"
30323 case "(($ac_try" in
30324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30325 *) ac_try_echo=$ac_try;;
30326 esac
30327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30328 (eval "$ac_link") 2>conftest.er1
30329 ac_status=$?
30330 grep -v '^ *+' conftest.er1 >conftest.err
30331 rm -f conftest.er1
30332 cat conftest.err >&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); } && {
30335 test -z "$ac_c_werror_flag" ||
30336 test ! -s conftest.err
30337 } && test -s conftest$ac_exeext &&
30338 $as_test_x conftest$ac_exeext; then
30339 ac_cv_lib_ipc_shmat=yes
30340 else
30341 echo "$as_me: failed program was:" >&5
30342 sed 's/^/| /' conftest.$ac_ext >&5
30343
30344 ac_cv_lib_ipc_shmat=no
30345 fi
30346
30347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30348 conftest$ac_exeext conftest.$ac_ext
30349 LIBS=$ac_check_lib_save_LIBS
30350 fi
30351 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30352 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30353 if test $ac_cv_lib_ipc_shmat = yes; then
30354 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30355 fi
30356
30357 fi
30358 fi
30359
30360 # Check for libraries that X11R6 Xt/Xaw programs need.
30361 ac_save_LDFLAGS=$LDFLAGS
30362 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30363 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30364 # check for ICE first), but we must link in the order -lSM -lICE or
30365 # we get undefined symbols. So assume we have SM if we have ICE.
30366 # These have to be linked with before -lX11, unlike the other
30367 # libraries we check for below, so use a different variable.
30368 # John Interrante, Karl Berry
30369 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30370 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30371 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 else
30374 ac_check_lib_save_LIBS=$LIBS
30375 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30376 cat >conftest.$ac_ext <<_ACEOF
30377 /* confdefs.h. */
30378 _ACEOF
30379 cat confdefs.h >>conftest.$ac_ext
30380 cat >>conftest.$ac_ext <<_ACEOF
30381 /* end confdefs.h. */
30382
30383 /* Override any GCC internal prototype to avoid an error.
30384 Use char because int might match the return type of a GCC
30385 builtin and then its argument prototype would still apply. */
30386 #ifdef __cplusplus
30387 extern "C"
30388 #endif
30389 char IceConnectionNumber ();
30390 int
30391 main ()
30392 {
30393 return IceConnectionNumber ();
30394 ;
30395 return 0;
30396 }
30397 _ACEOF
30398 rm -f conftest.$ac_objext conftest$ac_exeext
30399 if { (ac_try="$ac_link"
30400 case "(($ac_try" in
30401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30402 *) ac_try_echo=$ac_try;;
30403 esac
30404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30405 (eval "$ac_link") 2>conftest.er1
30406 ac_status=$?
30407 grep -v '^ *+' conftest.er1 >conftest.err
30408 rm -f conftest.er1
30409 cat conftest.err >&5
30410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30411 (exit $ac_status); } && {
30412 test -z "$ac_c_werror_flag" ||
30413 test ! -s conftest.err
30414 } && test -s conftest$ac_exeext &&
30415 $as_test_x conftest$ac_exeext; then
30416 ac_cv_lib_ICE_IceConnectionNumber=yes
30417 else
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.$ac_ext >&5
30420
30421 ac_cv_lib_ICE_IceConnectionNumber=no
30422 fi
30423
30424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30425 conftest$ac_exeext conftest.$ac_ext
30426 LIBS=$ac_check_lib_save_LIBS
30427 fi
30428 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30429 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30430 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30431 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30432 fi
30433
30434 LDFLAGS=$ac_save_LDFLAGS
30435
30436 fi
30437
30438
30439 if test "$no_x" = "yes"; then
30440 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30441 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30442 { (exit 1); exit 1; }; }
30443 fi
30444
30445 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30446 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30447 AFMINSTALL=afminstall
30448 COMPILED_X_PROGRAM=0
30449
30450 fi
30451
30452 if test "$wxUSE_X11" = 1; then
30453 if test "$wxUSE_NANOX" = "yes"; then
30454 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30455 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30456 if test "x$MICROWIN" = x ; then
30457 { echo "$as_me:$LINENO: result: not found" >&5
30458 echo "${ECHO_T}not found" >&6; }
30459 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30460 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30461 { (exit 1); exit 1; }; }
30462 else
30463 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30464 echo "${ECHO_T}$MICROWIN" >&6; }
30465 cat >>confdefs.h <<\_ACEOF
30466 #define wxUSE_NANOX 1
30467 _ACEOF
30468
30469 fi
30470 fi
30471
30472 if test "$wxUSE_UNICODE" = "yes"; then
30473
30474
30475 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30476 if test -n "$ac_tool_prefix"; then
30477 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30478 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30481 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30482 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 else
30484 case $PKG_CONFIG in
30485 [\\/]* | ?:[\\/]*)
30486 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30487 ;;
30488 *)
30489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30490 for as_dir in $PATH
30491 do
30492 IFS=$as_save_IFS
30493 test -z "$as_dir" && as_dir=.
30494 for ac_exec_ext in '' $ac_executable_extensions; do
30495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30496 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30498 break 2
30499 fi
30500 done
30501 done
30502 IFS=$as_save_IFS
30503
30504 ;;
30505 esac
30506 fi
30507 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30508 if test -n "$PKG_CONFIG"; then
30509 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30510 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30511 else
30512 { echo "$as_me:$LINENO: result: no" >&5
30513 echo "${ECHO_T}no" >&6; }
30514 fi
30515
30516
30517 fi
30518 if test -z "$ac_cv_path_PKG_CONFIG"; then
30519 ac_pt_PKG_CONFIG=$PKG_CONFIG
30520 # Extract the first word of "pkg-config", so it can be a program name with args.
30521 set dummy pkg-config; ac_word=$2
30522 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30524 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 else
30527 case $ac_pt_PKG_CONFIG in
30528 [\\/]* | ?:[\\/]*)
30529 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30530 ;;
30531 *)
30532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30533 for as_dir in $PATH
30534 do
30535 IFS=$as_save_IFS
30536 test -z "$as_dir" && as_dir=.
30537 for ac_exec_ext in '' $ac_executable_extensions; do
30538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30539 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30541 break 2
30542 fi
30543 done
30544 done
30545 IFS=$as_save_IFS
30546
30547 ;;
30548 esac
30549 fi
30550 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30551 if test -n "$ac_pt_PKG_CONFIG"; then
30552 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30553 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30554 else
30555 { echo "$as_me:$LINENO: result: no" >&5
30556 echo "${ECHO_T}no" >&6; }
30557 fi
30558
30559 if test "x$ac_pt_PKG_CONFIG" = x; then
30560 PKG_CONFIG=""
30561 else
30562 case $cross_compiling:$ac_tool_warned in
30563 yes:)
30564 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30565 whose name does not start with the host triplet. If you think this
30566 configuration is useful to you, please write to autoconf@gnu.org." >&5
30567 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30568 whose name does not start with the host triplet. If you think this
30569 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30570 ac_tool_warned=yes ;;
30571 esac
30572 PKG_CONFIG=$ac_pt_PKG_CONFIG
30573 fi
30574 else
30575 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30576 fi
30577
30578 fi
30579 if test -n "$PKG_CONFIG"; then
30580 _pkg_min_version=0.9.0
30581 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30582 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30583 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30584 { echo "$as_me:$LINENO: result: yes" >&5
30585 echo "${ECHO_T}yes" >&6; }
30586 else
30587 { echo "$as_me:$LINENO: result: no" >&5
30588 echo "${ECHO_T}no" >&6; }
30589 PKG_CONFIG=""
30590 fi
30591
30592 fi
30593
30594
30595 pkg_failed=no
30596 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30597 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30598
30599 if test -n "$PKG_CONFIG"; then
30600 if test -n "$PANGOX_CFLAGS"; then
30601 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30602 else
30603 if test -n "$PKG_CONFIG" && \
30604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30605 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30606 ac_status=$?
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; then
30609 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30610 else
30611 pkg_failed=yes
30612 fi
30613 fi
30614 else
30615 pkg_failed=untried
30616 fi
30617 if test -n "$PKG_CONFIG"; then
30618 if test -n "$PANGOX_LIBS"; then
30619 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30620 else
30621 if test -n "$PKG_CONFIG" && \
30622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30623 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30624 ac_status=$?
30625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30626 (exit $ac_status); }; then
30627 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30628 else
30629 pkg_failed=yes
30630 fi
30631 fi
30632 else
30633 pkg_failed=untried
30634 fi
30635
30636
30637
30638 if test $pkg_failed = yes; then
30639
30640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30641 _pkg_short_errors_supported=yes
30642 else
30643 _pkg_short_errors_supported=no
30644 fi
30645 if test $_pkg_short_errors_supported = yes; then
30646 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30647 else
30648 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30649 fi
30650 # Put the nasty error message in config.log where it belongs
30651 echo "$PANGOX_PKG_ERRORS" >&5
30652
30653
30654 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30655 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30656 { (exit 1); exit 1; }; }
30657
30658
30659 elif test $pkg_failed = untried; then
30660
30661 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30662 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30663 { (exit 1); exit 1; }; }
30664
30665
30666 else
30667 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30668 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30669 { echo "$as_me:$LINENO: result: yes" >&5
30670 echo "${ECHO_T}yes" >&6; }
30671
30672 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30673 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30674 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30675
30676 fi
30677
30678 pkg_failed=no
30679 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30680 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30681
30682 if test -n "$PKG_CONFIG"; then
30683 if test -n "$PANGOFT2_CFLAGS"; then
30684 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30685 else
30686 if test -n "$PKG_CONFIG" && \
30687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30688 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30689 ac_status=$?
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; then
30692 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30693 else
30694 pkg_failed=yes
30695 fi
30696 fi
30697 else
30698 pkg_failed=untried
30699 fi
30700 if test -n "$PKG_CONFIG"; then
30701 if test -n "$PANGOFT2_LIBS"; then
30702 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30703 else
30704 if test -n "$PKG_CONFIG" && \
30705 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30706 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30707 ac_status=$?
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; then
30710 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30711 else
30712 pkg_failed=yes
30713 fi
30714 fi
30715 else
30716 pkg_failed=untried
30717 fi
30718
30719
30720
30721 if test $pkg_failed = yes; then
30722
30723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30724 _pkg_short_errors_supported=yes
30725 else
30726 _pkg_short_errors_supported=no
30727 fi
30728 if test $_pkg_short_errors_supported = yes; then
30729 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30730 else
30731 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30732 fi
30733 # Put the nasty error message in config.log where it belongs
30734 echo "$PANGOFT2_PKG_ERRORS" >&5
30735
30736
30737 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30738 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30739 wxUSE_PRINTING_ARCHITECTURE="no"
30740
30741
30742 elif test $pkg_failed = untried; then
30743
30744 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30745 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30746 wxUSE_PRINTING_ARCHITECTURE="no"
30747
30748
30749 else
30750 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30751 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30752 { echo "$as_me:$LINENO: result: yes" >&5
30753 echo "${ECHO_T}yes" >&6; }
30754
30755 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30756 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30757 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30758
30759 fi
30760
30761 pkg_failed=no
30762 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30763 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30764
30765 if test -n "$PKG_CONFIG"; then
30766 if test -n "$PANGOXFT_CFLAGS"; then
30767 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30768 else
30769 if test -n "$PKG_CONFIG" && \
30770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30771 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30772 ac_status=$?
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; then
30775 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30776 else
30777 pkg_failed=yes
30778 fi
30779 fi
30780 else
30781 pkg_failed=untried
30782 fi
30783 if test -n "$PKG_CONFIG"; then
30784 if test -n "$PANGOXFT_LIBS"; then
30785 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30786 else
30787 if test -n "$PKG_CONFIG" && \
30788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30789 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30790 ac_status=$?
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); }; then
30793 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30794 else
30795 pkg_failed=yes
30796 fi
30797 fi
30798 else
30799 pkg_failed=untried
30800 fi
30801
30802
30803
30804 if test $pkg_failed = yes; then
30805
30806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30807 _pkg_short_errors_supported=yes
30808 else
30809 _pkg_short_errors_supported=no
30810 fi
30811 if test $_pkg_short_errors_supported = yes; then
30812 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30813 else
30814 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30815 fi
30816 # Put the nasty error message in config.log where it belongs
30817 echo "$PANGOXFT_PKG_ERRORS" >&5
30818
30819
30820 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30821 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30822
30823
30824 elif test $pkg_failed = untried; then
30825
30826 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30827 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30828
30829
30830 else
30831 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30832 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30833 { echo "$as_me:$LINENO: result: yes" >&5
30834 echo "${ECHO_T}yes" >&6; }
30835
30836 cat >>confdefs.h <<\_ACEOF
30837 #define HAVE_PANGO_XFT 1
30838 _ACEOF
30839
30840 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30841 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30842 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30843
30844 fi
30845 save_LIBS="$LIBS"
30846 LIBS="$LIBS $PANGOX_LIBS"
30847
30848 for ac_func in pango_font_family_is_monospace
30849 do
30850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30854 echo $ECHO_N "(cached) $ECHO_C" >&6
30855 else
30856 cat >conftest.$ac_ext <<_ACEOF
30857 /* confdefs.h. */
30858 _ACEOF
30859 cat confdefs.h >>conftest.$ac_ext
30860 cat >>conftest.$ac_ext <<_ACEOF
30861 /* end confdefs.h. */
30862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30864 #define $ac_func innocuous_$ac_func
30865
30866 /* System header to define __stub macros and hopefully few prototypes,
30867 which can conflict with char $ac_func (); below.
30868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30869 <limits.h> exists even on freestanding compilers. */
30870
30871 #ifdef __STDC__
30872 # include <limits.h>
30873 #else
30874 # include <assert.h>
30875 #endif
30876
30877 #undef $ac_func
30878
30879 /* Override any GCC internal prototype to avoid an error.
30880 Use char because int might match the return type of a GCC
30881 builtin and then its argument prototype would still apply. */
30882 #ifdef __cplusplus
30883 extern "C"
30884 #endif
30885 char $ac_func ();
30886 /* The GNU C library defines this for functions which it implements
30887 to always fail with ENOSYS. Some functions are actually named
30888 something starting with __ and the normal name is an alias. */
30889 #if defined __stub_$ac_func || defined __stub___$ac_func
30890 choke me
30891 #endif
30892
30893 int
30894 main ()
30895 {
30896 return $ac_func ();
30897 ;
30898 return 0;
30899 }
30900 _ACEOF
30901 rm -f conftest.$ac_objext conftest$ac_exeext
30902 if { (ac_try="$ac_link"
30903 case "(($ac_try" in
30904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30905 *) ac_try_echo=$ac_try;;
30906 esac
30907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30908 (eval "$ac_link") 2>conftest.er1
30909 ac_status=$?
30910 grep -v '^ *+' conftest.er1 >conftest.err
30911 rm -f conftest.er1
30912 cat conftest.err >&5
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); } && {
30915 test -z "$ac_c_werror_flag" ||
30916 test ! -s conftest.err
30917 } && test -s conftest$ac_exeext &&
30918 $as_test_x conftest$ac_exeext; then
30919 eval "$as_ac_var=yes"
30920 else
30921 echo "$as_me: failed program was:" >&5
30922 sed 's/^/| /' conftest.$ac_ext >&5
30923
30924 eval "$as_ac_var=no"
30925 fi
30926
30927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30928 conftest$ac_exeext conftest.$ac_ext
30929 fi
30930 ac_res=`eval echo '${'$as_ac_var'}'`
30931 { echo "$as_me:$LINENO: result: $ac_res" >&5
30932 echo "${ECHO_T}$ac_res" >&6; }
30933 if test `eval echo '${'$as_ac_var'}'` = yes; then
30934 cat >>confdefs.h <<_ACEOF
30935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30936 _ACEOF
30937
30938 fi
30939 done
30940
30941 LIBS="$save_LIBS"
30942 fi
30943
30944 wxUSE_UNIVERSAL="yes"
30945
30946 if test "$wxUSE_NANOX" = "yes"; then
30947 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30948 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"
30949 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30950 else
30951 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30952 fi
30953
30954 TOOLKIT=X11
30955 GUIDIST=X11_DIST
30956 fi
30957
30958 if test "$wxUSE_MOTIF" = 1; then
30959 if test "$wxUSE_UNICODE" = "yes"; then
30960 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30961 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30962 { (exit 1); exit 1; }; }
30963 fi
30964
30965 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30966 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30967
30968 ac_find_includes=
30969 for ac_dir in $SEARCH_INCLUDE /usr/include;
30970 do
30971 if test -f "$ac_dir/Xm/Xm.h"; then
30972 ac_find_includes=$ac_dir
30973 break
30974 fi
30975 done
30976
30977 if test "$ac_find_includes" != "" ; then
30978 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30979 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30980
30981 if test "x$ac_find_includes" = "x/usr/include"; then
30982 ac_path_to_include=""
30983 else
30984 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30985 result=$?
30986 if test $result = 0; then
30987 ac_path_to_include=""
30988 else
30989 ac_path_to_include=" -I$ac_find_includes"
30990 fi
30991 fi
30992
30993 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30994 else
30995 save_CFLAGS=$CFLAGS
30996 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30997
30998 cat >conftest.$ac_ext <<_ACEOF
30999 /* confdefs.h. */
31000 _ACEOF
31001 cat confdefs.h >>conftest.$ac_ext
31002 cat >>conftest.$ac_ext <<_ACEOF
31003 /* end confdefs.h. */
31004
31005 #include <Xm/Xm.h>
31006
31007 int
31008 main ()
31009 {
31010
31011 int version;
31012 version = xmUseVersion;
31013
31014 ;
31015 return 0;
31016 }
31017 _ACEOF
31018 rm -f conftest.$ac_objext
31019 if { (ac_try="$ac_compile"
31020 case "(($ac_try" in
31021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31022 *) ac_try_echo=$ac_try;;
31023 esac
31024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31025 (eval "$ac_compile") 2>conftest.er1
31026 ac_status=$?
31027 grep -v '^ *+' conftest.er1 >conftest.err
31028 rm -f conftest.er1
31029 cat conftest.err >&5
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); } && {
31032 test -z "$ac_c_werror_flag" ||
31033 test ! -s conftest.err
31034 } && test -s conftest.$ac_objext; then
31035
31036 { echo "$as_me:$LINENO: result: found in default search path" >&5
31037 echo "${ECHO_T}found in default search path" >&6; }
31038 COMPILED_X_PROGRAM=1
31039
31040 else
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31043
31044
31045 { echo "$as_me:$LINENO: result: no" >&5
31046 echo "${ECHO_T}no" >&6; }
31047 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31048 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31049 { (exit 1); exit 1; }; }
31050
31051
31052 fi
31053
31054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31055
31056 CFLAGS=$save_CFLAGS
31057 fi
31058
31059
31060 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31061 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31062
31063 ac_find_libraries=
31064 for ac_dir in $SEARCH_LIB;
31065 do
31066 for ac_extension in a so sl dylib dll.a; do
31067 if test -f "$ac_dir/libXm.$ac_extension"; then
31068 ac_find_libraries=$ac_dir
31069 break 2
31070 fi
31071 done
31072 done
31073
31074
31075 if test "x$ac_find_libraries" != "x" ; then
31076 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31077 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31078
31079
31080 if test "$ac_find_libraries" = "default location"; then
31081 ac_path_to_link=""
31082 else
31083 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31084 result=$?
31085 if test $result = 0; then
31086 ac_path_to_link=""
31087 else
31088 ac_path_to_link=" -L$ac_find_libraries"
31089 fi
31090 fi
31091
31092 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31093 else
31094 save_CFLAGS=$CFLAGS
31095 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31096 save_LIBS="$LIBS"
31097 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31098
31099 cat >conftest.$ac_ext <<_ACEOF
31100 /* confdefs.h. */
31101 _ACEOF
31102 cat confdefs.h >>conftest.$ac_ext
31103 cat >>conftest.$ac_ext <<_ACEOF
31104 /* end confdefs.h. */
31105
31106 #include <Xm/Xm.h>
31107
31108 int
31109 main ()
31110 {
31111
31112 int version;
31113 version = xmUseVersion;
31114
31115 ;
31116 return 0;
31117 }
31118 _ACEOF
31119 rm -f conftest.$ac_objext conftest$ac_exeext
31120 if { (ac_try="$ac_link"
31121 case "(($ac_try" in
31122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31123 *) ac_try_echo=$ac_try;;
31124 esac
31125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31126 (eval "$ac_link") 2>conftest.er1
31127 ac_status=$?
31128 grep -v '^ *+' conftest.er1 >conftest.err
31129 rm -f conftest.er1
31130 cat conftest.err >&5
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); } && {
31133 test -z "$ac_c_werror_flag" ||
31134 test ! -s conftest.err
31135 } && test -s conftest$ac_exeext &&
31136 $as_test_x conftest$ac_exeext; then
31137
31138 { echo "$as_me:$LINENO: result: found in default search path" >&5
31139 echo "${ECHO_T}found in default search path" >&6; }
31140 COMPILED_X_PROGRAM=1
31141
31142 else
31143 echo "$as_me: failed program was:" >&5
31144 sed 's/^/| /' conftest.$ac_ext >&5
31145
31146
31147 { echo "$as_me:$LINENO: result: no" >&5
31148 echo "${ECHO_T}no" >&6; }
31149 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31150 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31151 { (exit 1); exit 1; }; }
31152
31153
31154 fi
31155
31156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31157 conftest$ac_exeext conftest.$ac_ext
31158
31159 CFLAGS=$save_CFLAGS
31160 LIBS="$save_LIBS"
31161 fi
31162
31163 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31164 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31165 libp_link=""
31166 libsm_ice_link=""
31167 libs_found=0
31168 for libp in "" " -lXp"; do
31169 if test "$libs_found" = "0"; then
31170 for libsm_ice in "" " -lSM -lICE"; do
31171 if test "$libs_found" = "0"; then
31172 save_LIBS="$LIBS"
31173 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31174 save_CFLAGS=$CFLAGS
31175 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31176
31177 cat >conftest.$ac_ext <<_ACEOF
31178 /* confdefs.h. */
31179 _ACEOF
31180 cat confdefs.h >>conftest.$ac_ext
31181 cat >>conftest.$ac_ext <<_ACEOF
31182 /* end confdefs.h. */
31183
31184 #include <Xm/Xm.h>
31185 #include <Xm/List.h>
31186
31187 int
31188 main ()
31189 {
31190
31191 XmString string = NULL;
31192 Widget w = NULL;
31193 int position = 0;
31194 XmListAddItem(w, string, position);
31195
31196 ;
31197 return 0;
31198 }
31199 _ACEOF
31200 rm -f conftest.$ac_objext conftest$ac_exeext
31201 if { (ac_try="$ac_link"
31202 case "(($ac_try" in
31203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31204 *) ac_try_echo=$ac_try;;
31205 esac
31206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31207 (eval "$ac_link") 2>conftest.er1
31208 ac_status=$?
31209 grep -v '^ *+' conftest.er1 >conftest.err
31210 rm -f conftest.er1
31211 cat conftest.err >&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); } && {
31214 test -z "$ac_c_werror_flag" ||
31215 test ! -s conftest.err
31216 } && test -s conftest$ac_exeext &&
31217 $as_test_x conftest$ac_exeext; then
31218
31219 libp_link="$libp"
31220 libsm_ice_link="$libsm_ice"
31221 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31222 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31223 libs_found=1
31224
31225 else
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31228
31229
31230
31231 fi
31232
31233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31234 conftest$ac_exeext conftest.$ac_ext
31235
31236 LIBS="$save_LIBS"
31237 CFLAGS=$save_CFLAGS
31238 fi
31239 done
31240 fi
31241 done
31242
31243 if test "$libs_found" = "0"; then
31244 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31245 echo "${ECHO_T}can't find the right libraries" >&6; }
31246 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31247 echo "$as_me: error: can't link a simple motif program" >&2;}
31248 { (exit 1); exit 1; }; }
31249 fi
31250
31251 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31252 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31253 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31254 echo $ECHO_N "(cached) $ECHO_C" >&6
31255 else
31256 ac_check_lib_save_LIBS=$LIBS
31257 LIBS="-lSgm $LIBS"
31258 cat >conftest.$ac_ext <<_ACEOF
31259 /* confdefs.h. */
31260 _ACEOF
31261 cat confdefs.h >>conftest.$ac_ext
31262 cat >>conftest.$ac_ext <<_ACEOF
31263 /* end confdefs.h. */
31264
31265 /* Override any GCC internal prototype to avoid an error.
31266 Use char because int might match the return type of a GCC
31267 builtin and then its argument prototype would still apply. */
31268 #ifdef __cplusplus
31269 extern "C"
31270 #endif
31271 char SgCreateList ();
31272 int
31273 main ()
31274 {
31275 return SgCreateList ();
31276 ;
31277 return 0;
31278 }
31279 _ACEOF
31280 rm -f conftest.$ac_objext conftest$ac_exeext
31281 if { (ac_try="$ac_link"
31282 case "(($ac_try" in
31283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31284 *) ac_try_echo=$ac_try;;
31285 esac
31286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31287 (eval "$ac_link") 2>conftest.er1
31288 ac_status=$?
31289 grep -v '^ *+' conftest.er1 >conftest.err
31290 rm -f conftest.er1
31291 cat conftest.err >&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); } && {
31294 test -z "$ac_c_werror_flag" ||
31295 test ! -s conftest.err
31296 } && test -s conftest$ac_exeext &&
31297 $as_test_x conftest$ac_exeext; then
31298 ac_cv_lib_Sgm_SgCreateList=yes
31299 else
31300 echo "$as_me: failed program was:" >&5
31301 sed 's/^/| /' conftest.$ac_ext >&5
31302
31303 ac_cv_lib_Sgm_SgCreateList=no
31304 fi
31305
31306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31307 conftest$ac_exeext conftest.$ac_ext
31308 LIBS=$ac_check_lib_save_LIBS
31309 fi
31310 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31311 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31312 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31313 libsgm_link=" -lSgm"
31314 fi
31315
31316
31317 save_CFLAGS=$CFLAGS
31318 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31319
31320 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31321 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31322 if test "${wx_cv_lib_motif2+set}" = set; then
31323 echo $ECHO_N "(cached) $ECHO_C" >&6
31324 else
31325 cat >conftest.$ac_ext <<_ACEOF
31326 /* confdefs.h. */
31327 _ACEOF
31328 cat confdefs.h >>conftest.$ac_ext
31329 cat >>conftest.$ac_ext <<_ACEOF
31330 /* end confdefs.h. */
31331
31332 #include <Xm/Xm.h>
31333
31334 int
31335 main ()
31336 {
31337
31338 #if XmVersion < 2000
31339 Not Motif 2
31340 #endif
31341
31342 ;
31343 return 0;
31344 }
31345 _ACEOF
31346 rm -f conftest.$ac_objext
31347 if { (ac_try="$ac_compile"
31348 case "(($ac_try" in
31349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31350 *) ac_try_echo=$ac_try;;
31351 esac
31352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31353 (eval "$ac_compile") 2>conftest.er1
31354 ac_status=$?
31355 grep -v '^ *+' conftest.er1 >conftest.err
31356 rm -f conftest.er1
31357 cat conftest.err >&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } && {
31360 test -z "$ac_c_werror_flag" ||
31361 test ! -s conftest.err
31362 } && test -s conftest.$ac_objext; then
31363 wx_cv_lib_motif2="yes"
31364 else
31365 echo "$as_me: failed program was:" >&5
31366 sed 's/^/| /' conftest.$ac_ext >&5
31367
31368 wx_cv_lib_motif2="no"
31369 fi
31370
31371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31372 fi
31373 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31374 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31375 if test "$wx_cv_lib_motif2" = "yes"; then
31376 cat >>confdefs.h <<\_ACEOF
31377 #define __WXMOTIF20__ 1
31378 _ACEOF
31379
31380 else
31381 cat >>confdefs.h <<\_ACEOF
31382 #define __WXMOTIF20__ 0
31383 _ACEOF
31384
31385 fi
31386
31387 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31388 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31389 if test "${wx_cv_lib_lesstif+set}" = set; then
31390 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 else
31392 cat >conftest.$ac_ext <<_ACEOF
31393 /* confdefs.h. */
31394 _ACEOF
31395 cat confdefs.h >>conftest.$ac_ext
31396 cat >>conftest.$ac_ext <<_ACEOF
31397 /* end confdefs.h. */
31398
31399 #include <Xm/Xm.h>
31400
31401 int
31402 main ()
31403 {
31404
31405 #if !defined(LesstifVersion) || LesstifVersion <= 0
31406 Not Lesstif
31407 #endif
31408
31409 ;
31410 return 0;
31411 }
31412 _ACEOF
31413 rm -f conftest.$ac_objext
31414 if { (ac_try="$ac_compile"
31415 case "(($ac_try" in
31416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31417 *) ac_try_echo=$ac_try;;
31418 esac
31419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31420 (eval "$ac_compile") 2>conftest.er1
31421 ac_status=$?
31422 grep -v '^ *+' conftest.er1 >conftest.err
31423 rm -f conftest.er1
31424 cat conftest.err >&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } && {
31427 test -z "$ac_c_werror_flag" ||
31428 test ! -s conftest.err
31429 } && test -s conftest.$ac_objext; then
31430 wx_cv_lib_lesstif="yes"
31431 else
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31434
31435 wx_cv_lib_lesstif="no"
31436 fi
31437
31438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31439
31440 fi
31441 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31442 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31443 if test "$wx_cv_lib_lesstif" = "yes"; then
31444 cat >>confdefs.h <<\_ACEOF
31445 #define __WXLESSTIF__ 1
31446 _ACEOF
31447
31448 else
31449 cat >>confdefs.h <<\_ACEOF
31450 #define __WXLESSTIF__ 0
31451 _ACEOF
31452
31453 fi
31454
31455 CFLAGS=$save_CFLAGS
31456
31457 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31458 TOOLKIT=MOTIF
31459 GUIDIST=MOTIF_DIST
31460 fi
31461
31462 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31463 if test "$wxUSE_LIBXPM" = "sys"; then
31464 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31465 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31466
31467 ac_find_libraries=
31468 for ac_dir in $SEARCH_LIB;
31469 do
31470 for ac_extension in a so sl dylib dll.a; do
31471 if test -f "$ac_dir/libXpm.$ac_extension"; then
31472 ac_find_libraries=$ac_dir
31473 break 2
31474 fi
31475 done
31476 done
31477
31478 if test "$ac_find_libraries" != "" ; then
31479
31480 if test "$ac_find_libraries" = "default location"; then
31481 ac_path_to_link=""
31482 else
31483 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31484 result=$?
31485 if test $result = 0; then
31486 ac_path_to_link=""
31487 else
31488 ac_path_to_link=" -L$ac_find_libraries"
31489 fi
31490 fi
31491
31492 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31493 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31494 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31495
31496 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31497 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31498 if test "${wx_cv_x11_xpm_h+set}" = set; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31500 else
31501
31502 save_CFLAGS=$CFLAGS
31503 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31504
31505 cat >conftest.$ac_ext <<_ACEOF
31506 /* confdefs.h. */
31507 _ACEOF
31508 cat confdefs.h >>conftest.$ac_ext
31509 cat >>conftest.$ac_ext <<_ACEOF
31510 /* end confdefs.h. */
31511
31512 #include <X11/xpm.h>
31513
31514 int
31515 main ()
31516 {
31517
31518 int version;
31519 version = XpmLibraryVersion();
31520
31521 ;
31522 return 0;
31523 }
31524 _ACEOF
31525 rm -f conftest.$ac_objext
31526 if { (ac_try="$ac_compile"
31527 case "(($ac_try" in
31528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31529 *) ac_try_echo=$ac_try;;
31530 esac
31531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31532 (eval "$ac_compile") 2>conftest.er1
31533 ac_status=$?
31534 grep -v '^ *+' conftest.er1 >conftest.err
31535 rm -f conftest.er1
31536 cat conftest.err >&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } && {
31539 test -z "$ac_c_werror_flag" ||
31540 test ! -s conftest.err
31541 } && test -s conftest.$ac_objext; then
31542 wx_cv_x11_xpm_h=yes
31543 else
31544 echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.$ac_ext >&5
31546
31547 wx_cv_x11_xpm_h=no
31548
31549 fi
31550
31551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31552
31553 CFLAGS=$save_CFLAGS
31554
31555
31556 fi
31557 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31558 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31559
31560 if test $wx_cv_x11_xpm_h = "yes"; then
31561 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31562 cat >>confdefs.h <<\_ACEOF
31563 #define wxHAVE_LIB_XPM 1
31564 _ACEOF
31565
31566 else
31567 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31568 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31569 fi
31570 fi
31571
31572 fi
31573
31574 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31575 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31576 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31577 echo $ECHO_N "(cached) $ECHO_C" >&6
31578 else
31579 ac_check_lib_save_LIBS=$LIBS
31580 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31581 cat >conftest.$ac_ext <<_ACEOF
31582 /* confdefs.h. */
31583 _ACEOF
31584 cat confdefs.h >>conftest.$ac_ext
31585 cat >>conftest.$ac_ext <<_ACEOF
31586 /* end confdefs.h. */
31587
31588 /* Override any GCC internal prototype to avoid an error.
31589 Use char because int might match the return type of a GCC
31590 builtin and then its argument prototype would still apply. */
31591 #ifdef __cplusplus
31592 extern "C"
31593 #endif
31594 char XShapeQueryExtension ();
31595 int
31596 main ()
31597 {
31598 return XShapeQueryExtension ();
31599 ;
31600 return 0;
31601 }
31602 _ACEOF
31603 rm -f conftest.$ac_objext conftest$ac_exeext
31604 if { (ac_try="$ac_link"
31605 case "(($ac_try" in
31606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31607 *) ac_try_echo=$ac_try;;
31608 esac
31609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31610 (eval "$ac_link") 2>conftest.er1
31611 ac_status=$?
31612 grep -v '^ *+' conftest.er1 >conftest.err
31613 rm -f conftest.er1
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } && {
31617 test -z "$ac_c_werror_flag" ||
31618 test ! -s conftest.err
31619 } && test -s conftest$ac_exeext &&
31620 $as_test_x conftest$ac_exeext; then
31621 ac_cv_lib_Xext_XShapeQueryExtension=yes
31622 else
31623 echo "$as_me: failed program was:" >&5
31624 sed 's/^/| /' conftest.$ac_ext >&5
31625
31626 ac_cv_lib_Xext_XShapeQueryExtension=no
31627 fi
31628
31629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31630 conftest$ac_exeext conftest.$ac_ext
31631 LIBS=$ac_check_lib_save_LIBS
31632 fi
31633 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31634 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31635 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31636
31637 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31638 wxHAVE_XEXT_LIB=1
31639
31640 fi
31641
31642
31643 if test "$wxHAVE_XEXT_LIB" = 1; then
31644 save_CFLAGS="$CFLAGS"
31645 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31646
31647 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31648 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31649 cat >conftest.$ac_ext <<_ACEOF
31650 /* confdefs.h. */
31651 _ACEOF
31652 cat confdefs.h >>conftest.$ac_ext
31653 cat >>conftest.$ac_ext <<_ACEOF
31654 /* end confdefs.h. */
31655
31656 #include <X11/Xlib.h>
31657 #include <X11/extensions/shape.h>
31658
31659 int
31660 main ()
31661 {
31662
31663 int dummy1, dummy2;
31664 XShapeQueryExtension((Display*)NULL,
31665 (int*)NULL, (int*)NULL);
31666
31667 ;
31668 return 0;
31669 }
31670 _ACEOF
31671 rm -f conftest.$ac_objext
31672 if { (ac_try="$ac_compile"
31673 case "(($ac_try" in
31674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31675 *) ac_try_echo=$ac_try;;
31676 esac
31677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31678 (eval "$ac_compile") 2>conftest.er1
31679 ac_status=$?
31680 grep -v '^ *+' conftest.er1 >conftest.err
31681 rm -f conftest.er1
31682 cat conftest.err >&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); } && {
31685 test -z "$ac_c_werror_flag" ||
31686 test ! -s conftest.err
31687 } && test -s conftest.$ac_objext; then
31688
31689 cat >>confdefs.h <<\_ACEOF
31690 #define HAVE_XSHAPE 1
31691 _ACEOF
31692
31693 { echo "$as_me:$LINENO: result: found" >&5
31694 echo "${ECHO_T}found" >&6; }
31695
31696 else
31697 echo "$as_me: failed program was:" >&5
31698 sed 's/^/| /' conftest.$ac_ext >&5
31699
31700
31701 { echo "$as_me:$LINENO: result: not found" >&5
31702 echo "${ECHO_T}not found" >&6; }
31703
31704 fi
31705
31706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31707 CFLAGS="$save_CFLAGS"
31708
31709 fi
31710 fi
31711
31712 if test "$wxUSE_MAC" = 1; then
31713 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31714 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31715 if test "$GCC" = yes; then
31716 { echo "$as_me:$LINENO: result: gcc" >&5
31717 echo "${ECHO_T}gcc" >&6; }
31718 CPPFLAGS_PASCAL="-fpascal-strings"
31719 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31720 { echo "$as_me:$LINENO: result: xlc" >&5
31721 echo "${ECHO_T}xlc" >&6; }
31722 CPPFLAGS_PASCAL="-qmacpstr"
31723 else
31724 { echo "$as_me:$LINENO: result: none" >&5
31725 echo "${ECHO_T}none" >&6; }
31726 fi
31727
31728 if test "x$wxUSE_UNIX" = "xyes"; then
31729 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31730 else
31731 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31732 fi
31733
31734 TOOLKIT=MAC
31735 GUIDIST=MACX_DIST
31736 WXBASEPORT="_carbon"
31737 fi
31738
31739 if test "$wxUSE_COCOA" = 1; then
31740 TOOLKIT=COCOA
31741 GUIDIST=COCOA_DIST
31742 fi
31743
31744 if test "$wxUSE_PM" = 1; then
31745 TOOLKIT=PM
31746 GUIDIST=PM_DIST
31747 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31748 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31749 if test "${wx_cv_spbcdata+set}" = set; then
31750 echo $ECHO_N "(cached) $ECHO_C" >&6
31751 else
31752
31753 cat >conftest.$ac_ext <<_ACEOF
31754 /* confdefs.h. */
31755 _ACEOF
31756 cat confdefs.h >>conftest.$ac_ext
31757 cat >>conftest.$ac_ext <<_ACEOF
31758 /* end confdefs.h. */
31759
31760 #define INCL_PM
31761 #include <os2.h>
31762
31763 int
31764 main ()
31765 {
31766
31767 SPBCDATA test;
31768
31769 ;
31770 return 0;
31771 }
31772 _ACEOF
31773 rm -f conftest.$ac_objext
31774 if { (ac_try="$ac_compile"
31775 case "(($ac_try" in
31776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31777 *) ac_try_echo=$ac_try;;
31778 esac
31779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31780 (eval "$ac_compile") 2>conftest.er1
31781 ac_status=$?
31782 grep -v '^ *+' conftest.er1 >conftest.err
31783 rm -f conftest.er1
31784 cat conftest.err >&5
31785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31786 (exit $ac_status); } && {
31787 test -z "$ac_c_werror_flag" ||
31788 test ! -s conftest.err
31789 } && test -s conftest.$ac_objext; then
31790 wx_cv_spbcdata=yes
31791 else
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31794
31795 wx_cv_spbcdata=no
31796
31797 fi
31798
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31800
31801
31802 fi
31803 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31804 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31805
31806 if test $wx_cv_spbcdata = "yes"; then
31807 cat >>confdefs.h <<\_ACEOF
31808 #define HAVE_SPBCDATA 1
31809 _ACEOF
31810
31811 fi
31812 fi
31813
31814 if test "$TOOLKIT" = "PM" ; then
31815 TOOLKIT_DIR="os2"
31816 else
31817 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31818 fi
31819
31820 if test "$wxUSE_UNIVERSAL" = "yes"; then
31821 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31822 WIDGET_SET=univ
31823 fi
31824
31825 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31826 DISTDIR="wx\$(TOOLKIT)"
31827 else
31828 USE_GUI=0
31829
31830 TOOLKIT_DIR="base"
31831
31832 if test "$USE_WIN32" = 1 ; then
31833 TOOLKIT="MSW"
31834 fi
31835
31836 GUIDIST="BASE_DIST"
31837 DISTDIR="wxBase"
31838 fi
31839
31840
31841 if test "$wxUSE_GUI" = "yes"; then
31842 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31843 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31844 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31845 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31846 echo $ECHO_N "(cached) $ECHO_C" >&6
31847 else
31848 cat >conftest.$ac_ext <<_ACEOF
31849 /* confdefs.h. */
31850 _ACEOF
31851 cat confdefs.h >>conftest.$ac_ext
31852 cat >>conftest.$ac_ext <<_ACEOF
31853 /* end confdefs.h. */
31854
31855
31856 #include <X11/Xlib.h>
31857 _ACEOF
31858 rm -f conftest.$ac_objext
31859 if { (ac_try="$ac_compile"
31860 case "(($ac_try" in
31861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31862 *) ac_try_echo=$ac_try;;
31863 esac
31864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31865 (eval "$ac_compile") 2>conftest.er1
31866 ac_status=$?
31867 grep -v '^ *+' conftest.er1 >conftest.err
31868 rm -f conftest.er1
31869 cat conftest.err >&5
31870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31871 (exit $ac_status); } && {
31872 test -z "$ac_c_werror_flag" ||
31873 test ! -s conftest.err
31874 } && test -s conftest.$ac_objext; then
31875 ac_cv_header_X11_Xlib_h=yes
31876 else
31877 echo "$as_me: failed program was:" >&5
31878 sed 's/^/| /' conftest.$ac_ext >&5
31879
31880 ac_cv_header_X11_Xlib_h=no
31881 fi
31882
31883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31884 fi
31885 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31886 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31887
31888
31889 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31890 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31891 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 else
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h. */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900
31901 #if HAVE_X11_XLIB_H
31902 #include <X11/Xlib.h>
31903 #endif
31904
31905
31906 #include <X11/XKBlib.h>
31907 _ACEOF
31908 rm -f conftest.$ac_objext
31909 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
31925 ac_cv_header_X11_XKBlib_h=yes
31926 else
31927 echo "$as_me: failed program was:" >&5
31928 sed 's/^/| /' conftest.$ac_ext >&5
31929
31930 ac_cv_header_X11_XKBlib_h=no
31931 fi
31932
31933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31934 fi
31935 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31936 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31937
31938
31939 fi
31940 fi
31941
31942
31943
31944 IODBC_C_SRC=""
31945
31946
31947 if test "$TOOLKIT" != "MSW" ; then
31948
31949 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31950
31951 { echo "$as_me:$LINENO: checking for sql.h" >&5
31952 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31953 if test "${ac_cv_header_sql_h+set}" = set; then
31954 echo $ECHO_N "(cached) $ECHO_C" >&6
31955 else
31956 cat >conftest.$ac_ext <<_ACEOF
31957 /* confdefs.h. */
31958 _ACEOF
31959 cat confdefs.h >>conftest.$ac_ext
31960 cat >>conftest.$ac_ext <<_ACEOF
31961 /* end confdefs.h. */
31962
31963
31964 #include <sql.h>
31965 _ACEOF
31966 rm -f conftest.$ac_objext
31967 if { (ac_try="$ac_compile"
31968 case "(($ac_try" in
31969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31970 *) ac_try_echo=$ac_try;;
31971 esac
31972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31973 (eval "$ac_compile") 2>conftest.er1
31974 ac_status=$?
31975 grep -v '^ *+' conftest.er1 >conftest.err
31976 rm -f conftest.er1
31977 cat conftest.err >&5
31978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31979 (exit $ac_status); } && {
31980 test -z "$ac_c_werror_flag" ||
31981 test ! -s conftest.err
31982 } && test -s conftest.$ac_objext; then
31983 ac_cv_header_sql_h=yes
31984 else
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31987
31988 ac_cv_header_sql_h=no
31989 fi
31990
31991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31992 fi
31993 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31994 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31995 if test $ac_cv_header_sql_h = yes; then
31996 found_sql_h=1
31997 fi
31998
31999
32000 if test "x$found_sql_h" = "x1" ; then
32001 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32002 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
32003 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32004 echo $ECHO_N "(cached) $ECHO_C" >&6
32005 else
32006 ac_check_lib_save_LIBS=$LIBS
32007 LIBS="-liodbc $LIBS"
32008 cat >conftest.$ac_ext <<_ACEOF
32009 /* confdefs.h. */
32010 _ACEOF
32011 cat confdefs.h >>conftest.$ac_ext
32012 cat >>conftest.$ac_ext <<_ACEOF
32013 /* end confdefs.h. */
32014
32015 /* Override any GCC internal prototype to avoid an error.
32016 Use char because int might match the return type of a GCC
32017 builtin and then its argument prototype would still apply. */
32018 #ifdef __cplusplus
32019 extern "C"
32020 #endif
32021 char SQLAllocEnv ();
32022 int
32023 main ()
32024 {
32025 return SQLAllocEnv ();
32026 ;
32027 return 0;
32028 }
32029 _ACEOF
32030 rm -f conftest.$ac_objext conftest$ac_exeext
32031 if { (ac_try="$ac_link"
32032 case "(($ac_try" in
32033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32034 *) ac_try_echo=$ac_try;;
32035 esac
32036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 (eval "$ac_link") 2>conftest.er1
32038 ac_status=$?
32039 grep -v '^ *+' conftest.er1 >conftest.err
32040 rm -f conftest.er1
32041 cat conftest.err >&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); } && {
32044 test -z "$ac_c_werror_flag" ||
32045 test ! -s conftest.err
32046 } && test -s conftest$ac_exeext &&
32047 $as_test_x conftest$ac_exeext; then
32048 ac_cv_lib_iodbc_SQLAllocEnv=yes
32049 else
32050 echo "$as_me: failed program was:" >&5
32051 sed 's/^/| /' conftest.$ac_ext >&5
32052
32053 ac_cv_lib_iodbc_SQLAllocEnv=no
32054 fi
32055
32056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32057 conftest$ac_exeext conftest.$ac_ext
32058 LIBS=$ac_check_lib_save_LIBS
32059 fi
32060 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32061 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
32062 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32063 ODBC_LINK=" -liodbc"
32064 else
32065
32066 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32067 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
32068 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32070 else
32071 ac_check_lib_save_LIBS=$LIBS
32072 LIBS="-lunixodbc $LIBS"
32073 cat >conftest.$ac_ext <<_ACEOF
32074 /* confdefs.h. */
32075 _ACEOF
32076 cat confdefs.h >>conftest.$ac_ext
32077 cat >>conftest.$ac_ext <<_ACEOF
32078 /* end confdefs.h. */
32079
32080 /* Override any GCC internal prototype to avoid an error.
32081 Use char because int might match the return type of a GCC
32082 builtin and then its argument prototype would still apply. */
32083 #ifdef __cplusplus
32084 extern "C"
32085 #endif
32086 char SQLAllocEnv ();
32087 int
32088 main ()
32089 {
32090 return SQLAllocEnv ();
32091 ;
32092 return 0;
32093 }
32094 _ACEOF
32095 rm -f conftest.$ac_objext conftest$ac_exeext
32096 if { (ac_try="$ac_link"
32097 case "(($ac_try" in
32098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32099 *) ac_try_echo=$ac_try;;
32100 esac
32101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32102 (eval "$ac_link") 2>conftest.er1
32103 ac_status=$?
32104 grep -v '^ *+' conftest.er1 >conftest.err
32105 rm -f conftest.er1
32106 cat conftest.err >&5
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); } && {
32109 test -z "$ac_c_werror_flag" ||
32110 test ! -s conftest.err
32111 } && test -s conftest$ac_exeext &&
32112 $as_test_x conftest$ac_exeext; then
32113 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32114 else
32115 echo "$as_me: failed program was:" >&5
32116 sed 's/^/| /' conftest.$ac_ext >&5
32117
32118 ac_cv_lib_unixodbc_SQLAllocEnv=no
32119 fi
32120
32121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32122 conftest$ac_exeext conftest.$ac_ext
32123 LIBS=$ac_check_lib_save_LIBS
32124 fi
32125 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32126 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32127 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32128 ODBC_LINK=" -lunixodbc"
32129 else
32130
32131 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32132 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32133 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32134 echo $ECHO_N "(cached) $ECHO_C" >&6
32135 else
32136 ac_check_lib_save_LIBS=$LIBS
32137 LIBS="-lodbc $LIBS"
32138 cat >conftest.$ac_ext <<_ACEOF
32139 /* confdefs.h. */
32140 _ACEOF
32141 cat confdefs.h >>conftest.$ac_ext
32142 cat >>conftest.$ac_ext <<_ACEOF
32143 /* end confdefs.h. */
32144
32145 /* Override any GCC internal prototype to avoid an error.
32146 Use char because int might match the return type of a GCC
32147 builtin and then its argument prototype would still apply. */
32148 #ifdef __cplusplus
32149 extern "C"
32150 #endif
32151 char SQLAllocEnv ();
32152 int
32153 main ()
32154 {
32155 return SQLAllocEnv ();
32156 ;
32157 return 0;
32158 }
32159 _ACEOF
32160 rm -f conftest.$ac_objext conftest$ac_exeext
32161 if { (ac_try="$ac_link"
32162 case "(($ac_try" in
32163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32164 *) ac_try_echo=$ac_try;;
32165 esac
32166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32167 (eval "$ac_link") 2>conftest.er1
32168 ac_status=$?
32169 grep -v '^ *+' conftest.er1 >conftest.err
32170 rm -f conftest.er1
32171 cat conftest.err >&5
32172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32173 (exit $ac_status); } && {
32174 test -z "$ac_c_werror_flag" ||
32175 test ! -s conftest.err
32176 } && test -s conftest$ac_exeext &&
32177 $as_test_x conftest$ac_exeext; then
32178 ac_cv_lib_odbc_SQLAllocEnv=yes
32179 else
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.$ac_ext >&5
32182
32183 ac_cv_lib_odbc_SQLAllocEnv=no
32184 fi
32185
32186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32187 conftest$ac_exeext conftest.$ac_ext
32188 LIBS=$ac_check_lib_save_LIBS
32189 fi
32190 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32191 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32192 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32193 ODBC_LINK=" -lodbc"
32194 fi
32195
32196
32197 fi
32198
32199
32200 fi
32201
32202 fi
32203 if test "x$ODBC_LINK" = "x" ; then
32204 if test "$wxUSE_ODBC" = "sys" ; then
32205 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32206 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32207 { (exit 1); exit 1; }; }
32208 else
32209 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32210 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32211 wxUSE_ODBC=builtin
32212 fi
32213 else
32214 wxUSE_ODBC=sys
32215 fi
32216 fi
32217
32218 if test "$wxUSE_ODBC" = "builtin" ; then
32219 cat >>confdefs.h <<\_ACEOF
32220 #define wxUSE_BUILTIN_IODBC 1
32221 _ACEOF
32222
32223 fi
32224 fi
32225
32226 if test "$wxUSE_ODBC" != "no" ; then
32227 cat >>confdefs.h <<\_ACEOF
32228 #define wxUSE_ODBC 1
32229 _ACEOF
32230
32231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32232
32233 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32234 fi
32235
32236
32237 if test "$wxUSE_DISPLAY" = "yes"; then
32238 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32239 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32240 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32241
32242 ac_find_libraries=
32243 for ac_dir in $SEARCH_LIB;
32244 do
32245 for ac_extension in a so sl dylib dll.a; do
32246 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32247 ac_find_libraries=$ac_dir
32248 break 2
32249 fi
32250 done
32251 done
32252
32253 if test "$ac_find_libraries" != "" ; then
32254
32255 if test "$ac_find_libraries" = "default location"; then
32256 ac_path_to_link=""
32257 else
32258 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32259 result=$?
32260 if test $result = 0; then
32261 ac_path_to_link=""
32262 else
32263 ac_path_to_link=" -L$ac_find_libraries"
32264 fi
32265 fi
32266
32267 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32268 LDFLAGS="$LDFLAGS $ac_path_to_link"
32269 fi
32270 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32271 { echo "$as_me:$LINENO: result: yes" >&5
32272 echo "${ECHO_T}yes" >&6; }
32273
32274 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32275 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32276
32277 ac_find_libraries=
32278 for ac_dir in $SEARCH_LIB;
32279 do
32280 for ac_extension in a so sl dylib dll.a; do
32281 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32282 ac_find_libraries=$ac_dir
32283 break 2
32284 fi
32285 done
32286 done
32287
32288 if test "$ac_find_libraries" != "" ; then
32289 { echo "$as_me:$LINENO: result: yes" >&5
32290 echo "${ECHO_T}yes" >&6; }
32291 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32292 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32293 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32294 echo $ECHO_N "(cached) $ECHO_C" >&6
32295 else
32296 cat >conftest.$ac_ext <<_ACEOF
32297 /* confdefs.h. */
32298 _ACEOF
32299 cat confdefs.h >>conftest.$ac_ext
32300 cat >>conftest.$ac_ext <<_ACEOF
32301 /* end confdefs.h. */
32302
32303 #if HAVE_X11_XLIB_H
32304 #include <X11/Xlib.h>
32305 #endif
32306
32307
32308 #include <X11/extensions/xf86vmode.h>
32309 _ACEOF
32310 rm -f conftest.$ac_objext
32311 if { (ac_try="$ac_compile"
32312 case "(($ac_try" in
32313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32314 *) ac_try_echo=$ac_try;;
32315 esac
32316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32317 (eval "$ac_compile") 2>conftest.er1
32318 ac_status=$?
32319 grep -v '^ *+' conftest.er1 >conftest.err
32320 rm -f conftest.er1
32321 cat conftest.err >&5
32322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32323 (exit $ac_status); } && {
32324 test -z "$ac_c_werror_flag" ||
32325 test ! -s conftest.err
32326 } && test -s conftest.$ac_objext; then
32327 ac_cv_header_X11_extensions_xf86vmode_h=yes
32328 else
32329 echo "$as_me: failed program was:" >&5
32330 sed 's/^/| /' conftest.$ac_ext >&5
32331
32332 ac_cv_header_X11_extensions_xf86vmode_h=no
32333 fi
32334
32335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32336 fi
32337 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32338 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32339 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32340
32341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32342
32343 fi
32344
32345
32346 else
32347 { echo "$as_me:$LINENO: result: no" >&5
32348 echo "${ECHO_T}no" >&6; }
32349 fi
32350
32351 else
32352 { echo "$as_me:$LINENO: result: no" >&5
32353 echo "${ECHO_T}no" >&6; }
32354 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32355 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32356 wxUSE_DISPLAY="no"
32357 fi
32358 elif test "$wxUSE_MSW" = 1; then
32359 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32360 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32361 if test "${ac_cv_header_ddraw_h+set}" = set; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32363 else
32364 cat >conftest.$ac_ext <<_ACEOF
32365 /* confdefs.h. */
32366 _ACEOF
32367 cat confdefs.h >>conftest.$ac_ext
32368 cat >>conftest.$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32370 #include <windows.h>
32371
32372 #include <ddraw.h>
32373 _ACEOF
32374 rm -f conftest.$ac_objext
32375 if { (ac_try="$ac_compile"
32376 case "(($ac_try" in
32377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32378 *) ac_try_echo=$ac_try;;
32379 esac
32380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32381 (eval "$ac_compile") 2>conftest.er1
32382 ac_status=$?
32383 grep -v '^ *+' conftest.er1 >conftest.err
32384 rm -f conftest.er1
32385 cat conftest.err >&5
32386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32387 (exit $ac_status); } && {
32388 test -z "$ac_c_werror_flag" ||
32389 test ! -s conftest.err
32390 } && test -s conftest.$ac_objext; then
32391 ac_cv_header_ddraw_h=yes
32392 else
32393 echo "$as_me: failed program was:" >&5
32394 sed 's/^/| /' conftest.$ac_ext >&5
32395
32396 ac_cv_header_ddraw_h=no
32397 fi
32398
32399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32400 fi
32401 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32402 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32403
32404
32405 fi
32406 fi
32407
32408 if test "$wxUSE_DETECT_SM" = "yes"; then
32409 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32410 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32411 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32412
32413 ac_find_libraries=
32414 for ac_dir in $SEARCH_LIB;
32415 do
32416 for ac_extension in a so sl dylib dll.a; do
32417 if test -f "$ac_dir/libSM.$ac_extension"; then
32418 ac_find_libraries=$ac_dir
32419 break 2
32420 fi
32421 done
32422 done
32423
32424 if test "$ac_find_libraries" != "" ; then
32425
32426 if test "$ac_find_libraries" = "default location"; then
32427 ac_path_to_link=""
32428 else
32429 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32430 result=$?
32431 if test $result = 0; then
32432 ac_path_to_link=""
32433 else
32434 ac_path_to_link=" -L$ac_find_libraries"
32435 fi
32436 fi
32437
32438 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32439 LDFLAGS="$LDFLAGS $ac_path_to_link"
32440 fi
32441 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32442 { echo "$as_me:$LINENO: result: yes" >&5
32443 echo "${ECHO_T}yes" >&6; }
32444 else
32445 { echo "$as_me:$LINENO: result: no" >&5
32446 echo "${ECHO_T}no" >&6; }
32447 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32448 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32449 wxUSE_DETECT_SM="no"
32450 fi
32451 else
32452 wxUSE_DETECT_SM="no"
32453 fi
32454 fi
32455
32456
32457
32458 USE_OPENGL=0
32459 if test "$wxUSE_OPENGL" = "yes"; then
32460 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32461 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32462 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32463 wxUSE_OPENGL="no"
32464 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32465 OPENGL_LIBS="-framework OpenGL -framework AGL"
32466 elif test "$wxUSE_MSW" = 1; then
32467 OPENGL_LIBS="-lopengl32 -lglu32"
32468 else
32469 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32470 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32471
32472 ac_find_includes=
32473 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32474 do
32475 if test -f "$ac_dir/GL/gl.h"; then
32476 ac_find_includes=$ac_dir
32477 break
32478 fi
32479 done
32480
32481 if test "$ac_find_includes" != "" ; then
32482 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32483 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32484
32485 if test "x$ac_find_includes" = "x/usr/include"; then
32486 ac_path_to_include=""
32487 else
32488 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32489 result=$?
32490 if test $result = 0; then
32491 ac_path_to_include=""
32492 else
32493 ac_path_to_include=" -I$ac_find_includes"
32494 fi
32495 fi
32496
32497 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32498 else
32499 { echo "$as_me:$LINENO: result: not found" >&5
32500 echo "${ECHO_T}not found" >&6; }
32501 fi
32502
32503 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32504 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32505 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32507 else
32508 cat >conftest.$ac_ext <<_ACEOF
32509 /* confdefs.h. */
32510 _ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514
32515
32516 #include <GL/gl.h>
32517 _ACEOF
32518 rm -f conftest.$ac_objext
32519 if { (ac_try="$ac_compile"
32520 case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32522 *) ac_try_echo=$ac_try;;
32523 esac
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_compile") 2>conftest.er1
32526 ac_status=$?
32527 grep -v '^ *+' conftest.er1 >conftest.err
32528 rm -f conftest.er1
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest.$ac_objext; then
32535 ac_cv_header_GL_gl_h=yes
32536 else
32537 echo "$as_me: failed program was:" >&5
32538 sed 's/^/| /' conftest.$ac_ext >&5
32539
32540 ac_cv_header_GL_gl_h=no
32541 fi
32542
32543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32544 fi
32545 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32546 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32547 if test $ac_cv_header_GL_gl_h = yes; then
32548
32549 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32550 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32551 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32552 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32553 echo $ECHO_N "(cached) $ECHO_C" >&6
32554 fi
32555 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32556 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32557 else
32558 # Is the header compilable?
32559 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32560 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32561 cat >conftest.$ac_ext <<_ACEOF
32562 /* confdefs.h. */
32563 _ACEOF
32564 cat confdefs.h >>conftest.$ac_ext
32565 cat >>conftest.$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567 $ac_includes_default
32568 #include <GL/glu.h>
32569 _ACEOF
32570 rm -f conftest.$ac_objext
32571 if { (ac_try="$ac_compile"
32572 case "(($ac_try" in
32573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32574 *) ac_try_echo=$ac_try;;
32575 esac
32576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32577 (eval "$ac_compile") 2>conftest.er1
32578 ac_status=$?
32579 grep -v '^ *+' conftest.er1 >conftest.err
32580 rm -f conftest.er1
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } && {
32584 test -z "$ac_c_werror_flag" ||
32585 test ! -s conftest.err
32586 } && test -s conftest.$ac_objext; then
32587 ac_header_compiler=yes
32588 else
32589 echo "$as_me: failed program was:" >&5
32590 sed 's/^/| /' conftest.$ac_ext >&5
32591
32592 ac_header_compiler=no
32593 fi
32594
32595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32596 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32597 echo "${ECHO_T}$ac_header_compiler" >&6; }
32598
32599 # Is the header present?
32600 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32601 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32602 cat >conftest.$ac_ext <<_ACEOF
32603 /* confdefs.h. */
32604 _ACEOF
32605 cat confdefs.h >>conftest.$ac_ext
32606 cat >>conftest.$ac_ext <<_ACEOF
32607 /* end confdefs.h. */
32608 #include <GL/glu.h>
32609 _ACEOF
32610 if { (ac_try="$ac_cpp conftest.$ac_ext"
32611 case "(($ac_try" in
32612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32613 *) ac_try_echo=$ac_try;;
32614 esac
32615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32617 ac_status=$?
32618 grep -v '^ *+' conftest.er1 >conftest.err
32619 rm -f conftest.er1
32620 cat conftest.err >&5
32621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32622 (exit $ac_status); } >/dev/null && {
32623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32624 test ! -s conftest.err
32625 }; then
32626 ac_header_preproc=yes
32627 else
32628 echo "$as_me: failed program was:" >&5
32629 sed 's/^/| /' conftest.$ac_ext >&5
32630
32631 ac_header_preproc=no
32632 fi
32633
32634 rm -f conftest.err conftest.$ac_ext
32635 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32636 echo "${ECHO_T}$ac_header_preproc" >&6; }
32637
32638 # So? What about this header?
32639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32640 yes:no: )
32641 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32642 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32643 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32644 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32645 ac_header_preproc=yes
32646 ;;
32647 no:yes:* )
32648 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32649 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32650 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32651 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32652 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32653 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32654 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32655 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32656 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32657 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32658 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32659 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32660 ( cat <<\_ASBOX
32661 ## ----------------------------------------- ##
32662 ## Report this to wx-dev@lists.wxwidgets.org ##
32663 ## ----------------------------------------- ##
32664 _ASBOX
32665 ) | sed "s/^/$as_me: WARNING: /" >&2
32666 ;;
32667 esac
32668 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32669 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32670 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32671 echo $ECHO_N "(cached) $ECHO_C" >&6
32672 else
32673 ac_cv_header_GL_glu_h=$ac_header_preproc
32674 fi
32675 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32676 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32677
32678 fi
32679 if test $ac_cv_header_GL_glu_h = yes; then
32680
32681 found_gl=0
32682
32683 { echo "$as_me:$LINENO: checking for -lGL" >&5
32684 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32685
32686 ac_find_libraries=
32687 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32688 do
32689 for ac_extension in a so sl dylib dll.a; do
32690 if test -f "$ac_dir/libGL.$ac_extension"; then
32691 ac_find_libraries=$ac_dir
32692 break 2
32693 fi
32694 done
32695 done
32696
32697 if test "$ac_find_libraries" != "" ; then
32698 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32699 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32700
32701
32702 if test "$ac_find_libraries" = "default location"; then
32703 ac_path_to_link=""
32704 else
32705 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32706 result=$?
32707 if test $result = 0; then
32708 ac_path_to_link=""
32709 else
32710 ac_path_to_link=" -L$ac_find_libraries"
32711 fi
32712 fi
32713
32714 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32715 LDFLAGS_GL="$ac_path_to_link"
32716 fi
32717
32718 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32719 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32720
32721 ac_find_libraries=
32722 for ac_dir in $SEARCH_LIB;
32723 do
32724 for ac_extension in a so sl dylib dll.a; do
32725 if test -f "$ac_dir/libGLU.$ac_extension"; then
32726 ac_find_libraries=$ac_dir
32727 break 2
32728 fi
32729 done
32730 done
32731
32732 if test "$ac_find_libraries" != "" ; then
32733
32734 if test "$ac_find_libraries" = "default location"; then
32735 ac_path_to_link=""
32736 else
32737 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32738 result=$?
32739 if test $result = 0; then
32740 ac_path_to_link=""
32741 else
32742 ac_path_to_link=" -L$ac_find_libraries"
32743 fi
32744 fi
32745
32746 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32747 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32748 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32749 fi
32750
32751 found_gl=1
32752 OPENGL_LIBS="-lGL -lGLU"
32753 { echo "$as_me:$LINENO: result: yes" >&5
32754 echo "${ECHO_T}yes" >&6; }
32755 else
32756 { echo "$as_me:$LINENO: result: no" >&5
32757 echo "${ECHO_T}no" >&6; }
32758 fi
32759 else
32760 { echo "$as_me:$LINENO: result: no" >&5
32761 echo "${ECHO_T}no" >&6; }
32762 fi
32763
32764 if test "$found_gl" != 1; then
32765 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32766 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32767
32768 ac_find_libraries=
32769 for ac_dir in $SEARCH_LIB;
32770 do
32771 for ac_extension in a so sl dylib dll.a; do
32772 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32773 ac_find_libraries=$ac_dir
32774 break 2
32775 fi
32776 done
32777 done
32778
32779 if test "$ac_find_libraries" != "" ; then
32780
32781 if test "$ac_find_libraries" = "default location"; then
32782 ac_path_to_link=""
32783 else
32784 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32785 result=$?
32786 if test $result = 0; then
32787 ac_path_to_link=""
32788 else
32789 ac_path_to_link=" -L$ac_find_libraries"
32790 fi
32791 fi
32792
32793 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32794 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32795 { echo "$as_me:$LINENO: result: yes" >&5
32796 echo "${ECHO_T}yes" >&6; }
32797 else
32798 { echo "$as_me:$LINENO: result: no" >&5
32799 echo "${ECHO_T}no" >&6; }
32800 fi
32801 fi
32802
32803 fi
32804
32805
32806
32807 fi
32808
32809
32810
32811 if test "x$OPENGL_LIBS" = "x"; then
32812 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32813 echo "$as_me: error: OpenGL libraries not available" >&2;}
32814 { (exit 1); exit 1; }; }
32815 fi
32816 fi
32817
32818 if test "$wxUSE_OPENGL" = "yes"; then
32819 USE_OPENGL=1
32820 cat >>confdefs.h <<\_ACEOF
32821 #define wxUSE_OPENGL 1
32822 _ACEOF
32823
32824 cat >>confdefs.h <<\_ACEOF
32825 #define wxUSE_GLCANVAS 1
32826 _ACEOF
32827
32828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32829 fi
32830 fi
32831
32832
32833 if test -n "$TOOLKIT" ; then
32834 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32835 fi
32836
32837
32838
32839 if test "$wxUSE_SHARED" = "yes"; then
32840 case "${host}" in
32841 *-pc-msdosdjgpp )
32842 wxUSE_SHARED=no
32843 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32844 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32845 ;;
32846 esac
32847 fi
32848
32849 if test "$wxUSE_SHARED" = "yes"; then
32850
32851
32852 case "${host}" in
32853 *-*-cygwin* | *-*-mingw* )
32854 wx_cv_version_script=no
32855 ;;
32856
32857 *)
32858 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32859 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32860 if test "${wx_cv_version_script+set}" = set; then
32861 echo $ECHO_N "(cached) $ECHO_C" >&6
32862 else
32863
32864 echo "VER_1 { *; };" >conftest.sym
32865 echo "int main() { return 0; }" >conftest.cpp
32866
32867 if { ac_try='
32868 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32869 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32871 (eval $ac_try) 2>&5
32872 ac_status=$?
32873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32874 (exit $ac_status); }; } ; then
32875 if test -s conftest.stderr ; then
32876 wx_cv_version_script=no
32877 else
32878 wx_cv_version_script=yes
32879 fi
32880 else
32881 wx_cv_version_script=no
32882 fi
32883
32884 if test $wx_cv_version_script = yes
32885 then
32886 echo "struct B { virtual ~B() { } }; \
32887 struct D : public B { }; \
32888 void F() { D d; }" > conftest.cpp
32889
32890 if { ac_try='
32891 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32892 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32894 (eval $ac_try) 2>&5
32895 ac_status=$?
32896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 (exit $ac_status); }; } &&
32898 { ac_try='
32899 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32900 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32902 (eval $ac_try) 2>&5
32903 ac_status=$?
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); }; }
32906 then
32907 if { ac_try='
32908 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32909 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32911 (eval $ac_try) 2>&5
32912 ac_status=$?
32913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32914 (exit $ac_status); }; }
32915 then
32916 wx_cv_version_script=yes
32917 else
32918 wx_cv_version_script=no
32919 fi
32920 fi
32921 fi
32922
32923 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32924 rm -f conftest1.output conftest2.output conftest3.output
32925
32926 fi
32927 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32928 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32929
32930 if test $wx_cv_version_script = yes ; then
32931 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32932 fi
32933 ;;
32934 esac
32935
32936
32937 case "${host}" in
32938 *-*-linux* | *-*-gnu* )
32939 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32940 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32941 ;;
32942
32943 *-*-solaris2* )
32944 if test "$GCC" = yes ; then
32945 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32946
32947 saveLdflags="$LDFLAGS"
32948 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32949 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32950 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32951 cat >conftest.$ac_ext <<_ACEOF
32952 /* confdefs.h. */
32953 _ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32957
32958 int
32959 main ()
32960 {
32961
32962 ;
32963 return 0;
32964 }
32965 _ACEOF
32966 rm -f conftest.$ac_objext conftest$ac_exeext
32967 if { (ac_try="$ac_link"
32968 case "(($ac_try" in
32969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32970 *) ac_try_echo=$ac_try;;
32971 esac
32972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32973 (eval "$ac_link") 2>conftest.er1
32974 ac_status=$?
32975 grep -v '^ *+' conftest.er1 >conftest.err
32976 rm -f conftest.er1
32977 cat conftest.err >&5
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); } && {
32980 test -z "$ac_c_werror_flag" ||
32981 test ! -s conftest.err
32982 } && test -s conftest$ac_exeext &&
32983 $as_test_x conftest$ac_exeext; then
32984
32985 { echo "$as_me:$LINENO: result: yes" >&5
32986 echo "${ECHO_T}yes" >&6; }
32987 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32988 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32989
32990 else
32991 echo "$as_me: failed program was:" >&5
32992 sed 's/^/| /' conftest.$ac_ext >&5
32993
32994
32995 { echo "$as_me:$LINENO: result: no" >&5
32996 echo "${ECHO_T}no" >&6; }
32997 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32998 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32999 LDFLAGS="$saveLdflags -Wl,-R,/"
33000 cat >conftest.$ac_ext <<_ACEOF
33001 /* confdefs.h. */
33002 _ACEOF
33003 cat confdefs.h >>conftest.$ac_ext
33004 cat >>conftest.$ac_ext <<_ACEOF
33005 /* end confdefs.h. */
33006
33007 int
33008 main ()
33009 {
33010
33011 ;
33012 return 0;
33013 }
33014 _ACEOF
33015 rm -f conftest.$ac_objext conftest$ac_exeext
33016 if { (ac_try="$ac_link"
33017 case "(($ac_try" in
33018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33019 *) ac_try_echo=$ac_try;;
33020 esac
33021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33022 (eval "$ac_link") 2>conftest.er1
33023 ac_status=$?
33024 grep -v '^ *+' conftest.er1 >conftest.err
33025 rm -f conftest.er1
33026 cat conftest.err >&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } && {
33029 test -z "$ac_c_werror_flag" ||
33030 test ! -s conftest.err
33031 } && test -s conftest$ac_exeext &&
33032 $as_test_x conftest$ac_exeext; then
33033
33034 { echo "$as_me:$LINENO: result: yes" >&5
33035 echo "${ECHO_T}yes" >&6; }
33036 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33037 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33038
33039 else
33040 echo "$as_me: failed program was:" >&5
33041 sed 's/^/| /' conftest.$ac_ext >&5
33042
33043
33044 { echo "$as_me:$LINENO: result: no" >&5
33045 echo "${ECHO_T}no" >&6; }
33046
33047 fi
33048
33049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33050 conftest$ac_exeext conftest.$ac_ext
33051
33052 fi
33053
33054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33055 conftest$ac_exeext conftest.$ac_ext
33056 LDFLAGS="$saveLdflags"
33057 else
33058 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33059 WXCONFIG_RPATH="-R\$libdir"
33060 fi
33061 ;;
33062
33063 *-*-darwin* )
33064 install_name_tool=`which install_name_tool`
33065 if test "$install_name_tool" -a -x "$install_name_tool"; then
33066 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33067 cat <<EOF >change-install-names
33068 #!/bin/sh
33069 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33070 inst_cmd="install_name_tool "
33071 for i in \${libnames} ; do
33072 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33073 done
33074 \${inst_cmd} \${3}
33075 EOF
33076 chmod +x change-install-names
33077 fi
33078 ;;
33079
33080 *-*-cygwin* | *-*-mingw32* )
33081 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33082 ;;
33083
33084 *-*-hpux* )
33085 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33086 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33087 ;;
33088
33089 esac
33090
33091 if test $wxUSE_RPATH = "no"; then
33092 SAMPLES_RPATH_FLAG=''
33093 SAMPLES_RPATH_POSTLINK=''
33094 WXCONFIG_RPATH=''
33095 fi
33096
33097 SHARED=1
33098
33099 else
33100
33101 config_linkage_component="-static"
33102 SHARED=0
33103
33104 fi
33105
33106
33107 UNICODE=0
33108 lib_unicode_suffix=
33109 WX_CHARTYPE="ansi"
33110 if test "$wxUSE_UNICODE" = "yes"; then
33111 lib_unicode_suffix=u
33112 WX_CHARTYPE="unicode"
33113 UNICODE=1
33114 fi
33115
33116 lib_debug_suffix=
33117 WX_DEBUGTYPE="release"
33118 DEBUG_FLAG=0
33119 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33120 lib_debug_suffix=d
33121 WX_DEBUGTYPE="debug"
33122 DEBUG_FLAG=1
33123 fi
33124
33125 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33126 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33127
33128 DEBUG_INFO=0
33129 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33130 DEBUG_INFO=1
33131 fi
33132
33133 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33134
33135 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33136
33137 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33138
33139 if test "$cross_compiling" = "yes"; then
33140 HOST_SUFFIX="-$host_alias"
33141 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33142 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33143 fi
33144
33145 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33146 if test "${TOOLKIT_DIR}" = "os2"; then
33147 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33148 else
33149 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33150 fi
33151
33152
33153
33154 if test "$wxUSE_COCOA" = 1; then
33155
33156 ac_ext=c
33157 ac_cpp='$CPP $CPPFLAGS'
33158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33161
33162 ac_ext=m
33163
33164 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33165 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33166 cat >conftest.$ac_ext <<_ACEOF
33167 /* confdefs.h. */
33168 _ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33172 #include <AppKit/NSEvent.h>
33173 #include <CoreFoundation/CoreFoundation.h>
33174
33175 int
33176 main ()
33177 {
33178
33179 ;
33180 return 0;
33181 }
33182 _ACEOF
33183 rm -f conftest.$ac_objext
33184 if { (ac_try="$ac_compile"
33185 case "(($ac_try" in
33186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33187 *) ac_try_echo=$ac_try;;
33188 esac
33189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33190 (eval "$ac_compile") 2>conftest.er1
33191 ac_status=$?
33192 grep -v '^ *+' conftest.er1 >conftest.err
33193 rm -f conftest.er1
33194 cat conftest.err >&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); } && {
33197 test -z "$ac_c_werror_flag" ||
33198 test ! -s conftest.err
33199 } && test -s conftest.$ac_objext; then
33200 { echo "$as_me:$LINENO: result: no" >&5
33201 echo "${ECHO_T}no" >&6; }
33202 else
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33205
33206 { echo "$as_me:$LINENO: result: yes" >&5
33207 echo "${ECHO_T}yes" >&6; }
33208 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33209 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33210 cat >conftest.$ac_ext <<_ACEOF
33211 /* confdefs.h. */
33212 _ACEOF
33213 cat confdefs.h >>conftest.$ac_ext
33214 cat >>conftest.$ac_ext <<_ACEOF
33215 /* end confdefs.h. */
33216 #define __Point__ 1
33217 #include <AppKit/NSEvent.h>
33218 #include <CoreFoundation/CoreFoundation.h>
33219
33220 int
33221 main ()
33222 {
33223
33224 ;
33225 return 0;
33226 }
33227 _ACEOF
33228 rm -f conftest.$ac_objext
33229 if { (ac_try="$ac_compile"
33230 case "(($ac_try" in
33231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33232 *) ac_try_echo=$ac_try;;
33233 esac
33234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33235 (eval "$ac_compile") 2>conftest.er1
33236 ac_status=$?
33237 grep -v '^ *+' conftest.er1 >conftest.err
33238 rm -f conftest.er1
33239 cat conftest.err >&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } && {
33242 test -z "$ac_c_werror_flag" ||
33243 test ! -s conftest.err
33244 } && test -s conftest.$ac_objext; then
33245 { echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6; }
33247 cat >>confdefs.h <<\_ACEOF
33248 #define __Point__ 1
33249 _ACEOF
33250
33251
33252 else
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33255
33256 { { echo "$as_me:$LINENO: error: no
33257 See \`config.log' for more details." >&5
33258 echo "$as_me: error: no
33259 See \`config.log' for more details." >&2;}
33260 { (exit 1); exit 1; }; }
33261
33262 fi
33263
33264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33265
33266 fi
33267
33268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33269 ac_ext=c
33270 ac_cpp='$CPP $CPPFLAGS'
33271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33274
33275 fi
33276
33277 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33278 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33279 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33280
33281 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33282
33283 # Extract the first word of "Rez", so it can be a program name with args.
33284 set dummy Rez; ac_word=$2
33285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33287 if test "${ac_cv_prog_REZ+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33289 else
33290 if test -n "$REZ"; then
33291 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33292 else
33293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33294 for as_dir in $PATH
33295 do
33296 IFS=$as_save_IFS
33297 test -z "$as_dir" && as_dir=.
33298 for ac_exec_ext in '' $ac_executable_extensions; do
33299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33300 ac_cv_prog_REZ="Rez"
33301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33302 break 2
33303 fi
33304 done
33305 done
33306 IFS=$as_save_IFS
33307
33308 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33309 fi
33310 fi
33311 REZ=$ac_cv_prog_REZ
33312 if test -n "$REZ"; then
33313 { echo "$as_me:$LINENO: result: $REZ" >&5
33314 echo "${ECHO_T}$REZ" >&6; }
33315 else
33316 { echo "$as_me:$LINENO: result: no" >&5
33317 echo "${ECHO_T}no" >&6; }
33318 fi
33319
33320
33321 # Extract the first word of "DeRez", so it can be a program name with args.
33322 set dummy DeRez; ac_word=$2
33323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33325 if test "${ac_cv_prog_DEREZ+set}" = set; then
33326 echo $ECHO_N "(cached) $ECHO_C" >&6
33327 else
33328 if test -n "$DEREZ"; then
33329 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33330 else
33331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33332 for as_dir in $PATH
33333 do
33334 IFS=$as_save_IFS
33335 test -z "$as_dir" && as_dir=.
33336 for ac_exec_ext in '' $ac_executable_extensions; do
33337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33338 ac_cv_prog_DEREZ="DeRez"
33339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33340 break 2
33341 fi
33342 done
33343 done
33344 IFS=$as_save_IFS
33345
33346 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33347 fi
33348 fi
33349 DEREZ=$ac_cv_prog_DEREZ
33350 if test -n "$DEREZ"; then
33351 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33352 echo "${ECHO_T}$DEREZ" >&6; }
33353 else
33354 { echo "$as_me:$LINENO: result: no" >&5
33355 echo "${ECHO_T}no" >&6; }
33356 fi
33357
33358
33359 # Extract the first word of "SetFile", so it can be a program name with args.
33360 set dummy SetFile; ac_word=$2
33361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33363 if test "${ac_cv_prog_SETFILE+set}" = set; then
33364 echo $ECHO_N "(cached) $ECHO_C" >&6
33365 else
33366 if test -n "$SETFILE"; then
33367 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33368 else
33369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33370 for as_dir in $PATH
33371 do
33372 IFS=$as_save_IFS
33373 test -z "$as_dir" && as_dir=.
33374 for ac_exec_ext in '' $ac_executable_extensions; do
33375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33376 ac_cv_prog_SETFILE="SetFile"
33377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33378 break 2
33379 fi
33380 done
33381 done
33382 IFS=$as_save_IFS
33383
33384 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33385 fi
33386 fi
33387 SETFILE=$ac_cv_prog_SETFILE
33388 if test -n "$SETFILE"; then
33389 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33390 echo "${ECHO_T}$SETFILE" >&6; }
33391 else
33392 { echo "$as_me:$LINENO: result: no" >&5
33393 echo "${ECHO_T}no" >&6; }
33394 fi
33395
33396
33397
33398 MACSETFILE="\$(SETFILE)"
33399
33400 if test "$wxUSE_MAC" = 1; then
33401 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33402 RESCOMP="$REZ"
33403 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33404 else
33405 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33406 RESCOMP="echo -n \| $REZ"
33407 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33408 fi
33409
33410 else
33411 MACSETFILE="@true"
33412
33413 if test "$wxUSE_PM" = 1; then
33414 RESCOMP="emxbind"
33415 WXCONFIG_RESFLAGS="-ep"
33416
33417 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33418 else
33419 POSTLINK_COMMAND="@true"
33420 fi
33421
33422 fi
33423
33424
33425
33426 { echo "$as_me:$LINENO: checking for mode_t" >&5
33427 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33428 if test "${ac_cv_type_mode_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 $ac_includes_default
33438 typedef mode_t ac__type_new_;
33439 int
33440 main ()
33441 {
33442 if ((ac__type_new_ *) 0)
33443 return 0;
33444 if (sizeof (ac__type_new_))
33445 return 0;
33446 ;
33447 return 0;
33448 }
33449 _ACEOF
33450 rm -f conftest.$ac_objext
33451 if { (ac_try="$ac_compile"
33452 case "(($ac_try" in
33453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33454 *) ac_try_echo=$ac_try;;
33455 esac
33456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33457 (eval "$ac_compile") 2>conftest.er1
33458 ac_status=$?
33459 grep -v '^ *+' conftest.er1 >conftest.err
33460 rm -f conftest.er1
33461 cat conftest.err >&5
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); } && {
33464 test -z "$ac_c_werror_flag" ||
33465 test ! -s conftest.err
33466 } && test -s conftest.$ac_objext; then
33467 ac_cv_type_mode_t=yes
33468 else
33469 echo "$as_me: failed program was:" >&5
33470 sed 's/^/| /' conftest.$ac_ext >&5
33471
33472 ac_cv_type_mode_t=no
33473 fi
33474
33475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33476 fi
33477 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33478 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33479 if test $ac_cv_type_mode_t = yes; then
33480 :
33481 else
33482
33483 cat >>confdefs.h <<_ACEOF
33484 #define mode_t int
33485 _ACEOF
33486
33487 fi
33488
33489 { echo "$as_me:$LINENO: checking for off_t" >&5
33490 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33491 if test "${ac_cv_type_off_t+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 else
33494 cat >conftest.$ac_ext <<_ACEOF
33495 /* confdefs.h. */
33496 _ACEOF
33497 cat confdefs.h >>conftest.$ac_ext
33498 cat >>conftest.$ac_ext <<_ACEOF
33499 /* end confdefs.h. */
33500 $ac_includes_default
33501 typedef off_t ac__type_new_;
33502 int
33503 main ()
33504 {
33505 if ((ac__type_new_ *) 0)
33506 return 0;
33507 if (sizeof (ac__type_new_))
33508 return 0;
33509 ;
33510 return 0;
33511 }
33512 _ACEOF
33513 rm -f conftest.$ac_objext
33514 if { (ac_try="$ac_compile"
33515 case "(($ac_try" in
33516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33517 *) ac_try_echo=$ac_try;;
33518 esac
33519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33520 (eval "$ac_compile") 2>conftest.er1
33521 ac_status=$?
33522 grep -v '^ *+' conftest.er1 >conftest.err
33523 rm -f conftest.er1
33524 cat conftest.err >&5
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); } && {
33527 test -z "$ac_c_werror_flag" ||
33528 test ! -s conftest.err
33529 } && test -s conftest.$ac_objext; then
33530 ac_cv_type_off_t=yes
33531 else
33532 echo "$as_me: failed program was:" >&5
33533 sed 's/^/| /' conftest.$ac_ext >&5
33534
33535 ac_cv_type_off_t=no
33536 fi
33537
33538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33539 fi
33540 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33541 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33542 if test $ac_cv_type_off_t = yes; then
33543 :
33544 else
33545
33546 cat >>confdefs.h <<_ACEOF
33547 #define off_t long int
33548 _ACEOF
33549
33550 fi
33551
33552 { echo "$as_me:$LINENO: checking for pid_t" >&5
33553 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33554 if test "${ac_cv_type_pid_t+set}" = set; then
33555 echo $ECHO_N "(cached) $ECHO_C" >&6
33556 else
33557 cat >conftest.$ac_ext <<_ACEOF
33558 /* confdefs.h. */
33559 _ACEOF
33560 cat confdefs.h >>conftest.$ac_ext
33561 cat >>conftest.$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33563 $ac_includes_default
33564 typedef pid_t ac__type_new_;
33565 int
33566 main ()
33567 {
33568 if ((ac__type_new_ *) 0)
33569 return 0;
33570 if (sizeof (ac__type_new_))
33571 return 0;
33572 ;
33573 return 0;
33574 }
33575 _ACEOF
33576 rm -f conftest.$ac_objext
33577 if { (ac_try="$ac_compile"
33578 case "(($ac_try" in
33579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33580 *) ac_try_echo=$ac_try;;
33581 esac
33582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33583 (eval "$ac_compile") 2>conftest.er1
33584 ac_status=$?
33585 grep -v '^ *+' conftest.er1 >conftest.err
33586 rm -f conftest.er1
33587 cat conftest.err >&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } && {
33590 test -z "$ac_c_werror_flag" ||
33591 test ! -s conftest.err
33592 } && test -s conftest.$ac_objext; then
33593 ac_cv_type_pid_t=yes
33594 else
33595 echo "$as_me: failed program was:" >&5
33596 sed 's/^/| /' conftest.$ac_ext >&5
33597
33598 ac_cv_type_pid_t=no
33599 fi
33600
33601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33602 fi
33603 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33604 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33605 if test $ac_cv_type_pid_t = yes; then
33606 :
33607 else
33608
33609 cat >>confdefs.h <<_ACEOF
33610 #define pid_t int
33611 _ACEOF
33612
33613 fi
33614
33615 { echo "$as_me:$LINENO: checking for size_t" >&5
33616 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33617 if test "${ac_cv_type_size_t+set}" = set; then
33618 echo $ECHO_N "(cached) $ECHO_C" >&6
33619 else
33620 cat >conftest.$ac_ext <<_ACEOF
33621 /* confdefs.h. */
33622 _ACEOF
33623 cat confdefs.h >>conftest.$ac_ext
33624 cat >>conftest.$ac_ext <<_ACEOF
33625 /* end confdefs.h. */
33626 $ac_includes_default
33627 typedef size_t ac__type_new_;
33628 int
33629 main ()
33630 {
33631 if ((ac__type_new_ *) 0)
33632 return 0;
33633 if (sizeof (ac__type_new_))
33634 return 0;
33635 ;
33636 return 0;
33637 }
33638 _ACEOF
33639 rm -f conftest.$ac_objext
33640 if { (ac_try="$ac_compile"
33641 case "(($ac_try" in
33642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33643 *) ac_try_echo=$ac_try;;
33644 esac
33645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33646 (eval "$ac_compile") 2>conftest.er1
33647 ac_status=$?
33648 grep -v '^ *+' conftest.er1 >conftest.err
33649 rm -f conftest.er1
33650 cat conftest.err >&5
33651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33652 (exit $ac_status); } && {
33653 test -z "$ac_c_werror_flag" ||
33654 test ! -s conftest.err
33655 } && test -s conftest.$ac_objext; then
33656 ac_cv_type_size_t=yes
33657 else
33658 echo "$as_me: failed program was:" >&5
33659 sed 's/^/| /' conftest.$ac_ext >&5
33660
33661 ac_cv_type_size_t=no
33662 fi
33663
33664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33665 fi
33666 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33667 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33668 if test $ac_cv_type_size_t = yes; then
33669 :
33670 else
33671
33672 cat >>confdefs.h <<_ACEOF
33673 #define size_t unsigned int
33674 _ACEOF
33675
33676 fi
33677
33678 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33679 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33680 if test "${ac_cv_type_uid_t+set}" = set; then
33681 echo $ECHO_N "(cached) $ECHO_C" >&6
33682 else
33683 cat >conftest.$ac_ext <<_ACEOF
33684 /* confdefs.h. */
33685 _ACEOF
33686 cat confdefs.h >>conftest.$ac_ext
33687 cat >>conftest.$ac_ext <<_ACEOF
33688 /* end confdefs.h. */
33689 #include <sys/types.h>
33690
33691 _ACEOF
33692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33693 $EGREP "uid_t" >/dev/null 2>&1; then
33694 ac_cv_type_uid_t=yes
33695 else
33696 ac_cv_type_uid_t=no
33697 fi
33698 rm -f conftest*
33699
33700 fi
33701 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33702 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33703 if test $ac_cv_type_uid_t = no; then
33704
33705 cat >>confdefs.h <<\_ACEOF
33706 #define uid_t int
33707 _ACEOF
33708
33709
33710 cat >>confdefs.h <<\_ACEOF
33711 #define gid_t int
33712 _ACEOF
33713
33714 fi
33715
33716
33717 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33718 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33719 if test "${ac_cv_type_ssize_t+set}" = set; then
33720 echo $ECHO_N "(cached) $ECHO_C" >&6
33721 else
33722 cat >conftest.$ac_ext <<_ACEOF
33723 /* confdefs.h. */
33724 _ACEOF
33725 cat confdefs.h >>conftest.$ac_ext
33726 cat >>conftest.$ac_ext <<_ACEOF
33727 /* end confdefs.h. */
33728 $ac_includes_default
33729 typedef ssize_t ac__type_new_;
33730 int
33731 main ()
33732 {
33733 if ((ac__type_new_ *) 0)
33734 return 0;
33735 if (sizeof (ac__type_new_))
33736 return 0;
33737 ;
33738 return 0;
33739 }
33740 _ACEOF
33741 rm -f conftest.$ac_objext
33742 if { (ac_try="$ac_compile"
33743 case "(($ac_try" in
33744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33745 *) ac_try_echo=$ac_try;;
33746 esac
33747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33748 (eval "$ac_compile") 2>conftest.er1
33749 ac_status=$?
33750 grep -v '^ *+' conftest.er1 >conftest.err
33751 rm -f conftest.er1
33752 cat conftest.err >&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } && {
33755 test -z "$ac_c_werror_flag" ||
33756 test ! -s conftest.err
33757 } && test -s conftest.$ac_objext; then
33758 ac_cv_type_ssize_t=yes
33759 else
33760 echo "$as_me: failed program was:" >&5
33761 sed 's/^/| /' conftest.$ac_ext >&5
33762
33763 ac_cv_type_ssize_t=no
33764 fi
33765
33766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33767 fi
33768 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33769 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33770 if test $ac_cv_type_ssize_t = yes; then
33771
33772 cat >>confdefs.h <<_ACEOF
33773 #define HAVE_SSIZE_T 1
33774 _ACEOF
33775
33776
33777 fi
33778
33779
33780 ac_ext=cpp
33781 ac_cpp='$CXXCPP $CPPFLAGS'
33782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33785 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33786 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33787 if test "${wx_cv_size_t_is_uint+set}" = set; then
33788 echo $ECHO_N "(cached) $ECHO_C" >&6
33789 else
33790
33791 cat >conftest.$ac_ext <<_ACEOF
33792 /* confdefs.h. */
33793 _ACEOF
33794 cat confdefs.h >>conftest.$ac_ext
33795 cat >>conftest.$ac_ext <<_ACEOF
33796 /* end confdefs.h. */
33797 #include <stddef.h>
33798 int
33799 main ()
33800 {
33801
33802 return 0; }
33803
33804 struct Foo { void foo(size_t); void foo(unsigned int); };
33805
33806 int bar() {
33807
33808 ;
33809 return 0;
33810 }
33811 _ACEOF
33812 rm -f conftest.$ac_objext
33813 if { (ac_try="$ac_compile"
33814 case "(($ac_try" in
33815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33816 *) ac_try_echo=$ac_try;;
33817 esac
33818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33819 (eval "$ac_compile") 2>conftest.er1
33820 ac_status=$?
33821 grep -v '^ *+' conftest.er1 >conftest.err
33822 rm -f conftest.er1
33823 cat conftest.err >&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } && {
33826 test -z "$ac_cxx_werror_flag" ||
33827 test ! -s conftest.err
33828 } && test -s conftest.$ac_objext; then
33829 wx_cv_size_t_is_uint=no
33830 else
33831 echo "$as_me: failed program was:" >&5
33832 sed 's/^/| /' conftest.$ac_ext >&5
33833
33834 wx_cv_size_t_is_uint=yes
33835
33836 fi
33837
33838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839
33840
33841 fi
33842 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33843 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33844
33845 if test "$wx_cv_size_t_is_uint" = "yes"; then
33846 cat >>confdefs.h <<\_ACEOF
33847 #define wxSIZE_T_IS_UINT 1
33848 _ACEOF
33849
33850 else
33851 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33852 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33853 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33854 echo $ECHO_N "(cached) $ECHO_C" >&6
33855 else
33856 cat >conftest.$ac_ext <<_ACEOF
33857 /* confdefs.h. */
33858 _ACEOF
33859 cat confdefs.h >>conftest.$ac_ext
33860 cat >>conftest.$ac_ext <<_ACEOF
33861 /* end confdefs.h. */
33862 #include <stddef.h>
33863 int
33864 main ()
33865 {
33866
33867 return 0; }
33868
33869 struct Foo { void foo(size_t); void foo(unsigned long); };
33870
33871 int bar() {
33872
33873 ;
33874 return 0;
33875 }
33876 _ACEOF
33877 rm -f conftest.$ac_objext
33878 if { (ac_try="$ac_compile"
33879 case "(($ac_try" in
33880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33881 *) ac_try_echo=$ac_try;;
33882 esac
33883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33884 (eval "$ac_compile") 2>conftest.er1
33885 ac_status=$?
33886 grep -v '^ *+' conftest.er1 >conftest.err
33887 rm -f conftest.er1
33888 cat conftest.err >&5
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); } && {
33891 test -z "$ac_cxx_werror_flag" ||
33892 test ! -s conftest.err
33893 } && test -s conftest.$ac_objext; then
33894 wx_cv_size_t_is_ulong=no
33895 else
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33898
33899 wx_cv_size_t_is_ulong=yes
33900
33901 fi
33902
33903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33904
33905 fi
33906 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33907 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33908
33909 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33910 cat >>confdefs.h <<\_ACEOF
33911 #define wxSIZE_T_IS_ULONG 1
33912 _ACEOF
33913
33914 fi
33915 fi
33916
33917 ac_ext=c
33918 ac_cpp='$CPP $CPPFLAGS'
33919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33922
33923
33924 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33925 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33926 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 else
33929
33930 cat >conftest.$ac_ext <<_ACEOF
33931 /* confdefs.h. */
33932 _ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33936 #include <pwd.h>
33937 int
33938 main ()
33939 {
33940
33941 char *p;
33942 struct passwd *pw;
33943 p = pw->pw_gecos;
33944
33945 ;
33946 return 0;
33947 }
33948 _ACEOF
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33954 esac
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33957 ac_status=$?
33958 grep -v '^ *+' conftest.er1 >conftest.err
33959 rm -f conftest.er1
33960 cat conftest.err >&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.$ac_objext; then
33966
33967 wx_cv_struct_pw_gecos=yes
33968
33969 else
33970 echo "$as_me: failed program was:" >&5
33971 sed 's/^/| /' conftest.$ac_ext >&5
33972
33973
33974 wx_cv_struct_pw_gecos=no
33975
33976
33977 fi
33978
33979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33980
33981
33982 fi
33983 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33984 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33985
33986 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33987 cat >>confdefs.h <<\_ACEOF
33988 #define HAVE_PW_GECOS 1
33989 _ACEOF
33990
33991 fi
33992
33993
33994 if test "$wxUSE_WCHAR_T" = "yes"; then
33995 cat >>confdefs.h <<\_ACEOF
33996 #define wxUSE_WCHAR_T 1
33997 _ACEOF
33998
33999
34000 WCSLEN_FOUND=0
34001 WCHAR_LINK=
34002
34003 for ac_func in wcslen
34004 do
34005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34010 else
34011 cat >conftest.$ac_ext <<_ACEOF
34012 /* confdefs.h. */
34013 _ACEOF
34014 cat confdefs.h >>conftest.$ac_ext
34015 cat >>conftest.$ac_ext <<_ACEOF
34016 /* end confdefs.h. */
34017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34019 #define $ac_func innocuous_$ac_func
34020
34021 /* System header to define __stub macros and hopefully few prototypes,
34022 which can conflict with char $ac_func (); below.
34023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34024 <limits.h> exists even on freestanding compilers. */
34025
34026 #ifdef __STDC__
34027 # include <limits.h>
34028 #else
34029 # include <assert.h>
34030 #endif
34031
34032 #undef $ac_func
34033
34034 /* Override any GCC internal prototype to avoid an error.
34035 Use char because int might match the return type of a GCC
34036 builtin and then its argument prototype would still apply. */
34037 #ifdef __cplusplus
34038 extern "C"
34039 #endif
34040 char $ac_func ();
34041 /* The GNU C library defines this for functions which it implements
34042 to always fail with ENOSYS. Some functions are actually named
34043 something starting with __ and the normal name is an alias. */
34044 #if defined __stub_$ac_func || defined __stub___$ac_func
34045 choke me
34046 #endif
34047
34048 int
34049 main ()
34050 {
34051 return $ac_func ();
34052 ;
34053 return 0;
34054 }
34055 _ACEOF
34056 rm -f conftest.$ac_objext conftest$ac_exeext
34057 if { (ac_try="$ac_link"
34058 case "(($ac_try" in
34059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34060 *) ac_try_echo=$ac_try;;
34061 esac
34062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34063 (eval "$ac_link") 2>conftest.er1
34064 ac_status=$?
34065 grep -v '^ *+' conftest.er1 >conftest.err
34066 rm -f conftest.er1
34067 cat conftest.err >&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } && {
34070 test -z "$ac_c_werror_flag" ||
34071 test ! -s conftest.err
34072 } && test -s conftest$ac_exeext &&
34073 $as_test_x conftest$ac_exeext; then
34074 eval "$as_ac_var=yes"
34075 else
34076 echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.$ac_ext >&5
34078
34079 eval "$as_ac_var=no"
34080 fi
34081
34082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34083 conftest$ac_exeext conftest.$ac_ext
34084 fi
34085 ac_res=`eval echo '${'$as_ac_var'}'`
34086 { echo "$as_me:$LINENO: result: $ac_res" >&5
34087 echo "${ECHO_T}$ac_res" >&6; }
34088 if test `eval echo '${'$as_ac_var'}'` = yes; then
34089 cat >>confdefs.h <<_ACEOF
34090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34091 _ACEOF
34092 WCSLEN_FOUND=1
34093 fi
34094 done
34095
34096
34097 if test "$WCSLEN_FOUND" = 0; then
34098 if test "$TOOLKIT" = "MSW"; then
34099 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34100 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34101 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34102 echo $ECHO_N "(cached) $ECHO_C" >&6
34103 else
34104 ac_check_lib_save_LIBS=$LIBS
34105 LIBS="-lmsvcrt $LIBS"
34106 cat >conftest.$ac_ext <<_ACEOF
34107 /* confdefs.h. */
34108 _ACEOF
34109 cat confdefs.h >>conftest.$ac_ext
34110 cat >>conftest.$ac_ext <<_ACEOF
34111 /* end confdefs.h. */
34112
34113 /* Override any GCC internal prototype to avoid an error.
34114 Use char because int might match the return type of a GCC
34115 builtin and then its argument prototype would still apply. */
34116 #ifdef __cplusplus
34117 extern "C"
34118 #endif
34119 char wcslen ();
34120 int
34121 main ()
34122 {
34123 return wcslen ();
34124 ;
34125 return 0;
34126 }
34127 _ACEOF
34128 rm -f conftest.$ac_objext conftest$ac_exeext
34129 if { (ac_try="$ac_link"
34130 case "(($ac_try" in
34131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34132 *) ac_try_echo=$ac_try;;
34133 esac
34134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34135 (eval "$ac_link") 2>conftest.er1
34136 ac_status=$?
34137 grep -v '^ *+' conftest.er1 >conftest.err
34138 rm -f conftest.er1
34139 cat conftest.err >&5
34140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34141 (exit $ac_status); } && {
34142 test -z "$ac_c_werror_flag" ||
34143 test ! -s conftest.err
34144 } && test -s conftest$ac_exeext &&
34145 $as_test_x conftest$ac_exeext; then
34146 ac_cv_lib_msvcrt_wcslen=yes
34147 else
34148 echo "$as_me: failed program was:" >&5
34149 sed 's/^/| /' conftest.$ac_ext >&5
34150
34151 ac_cv_lib_msvcrt_wcslen=no
34152 fi
34153
34154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34155 conftest$ac_exeext conftest.$ac_ext
34156 LIBS=$ac_check_lib_save_LIBS
34157 fi
34158 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34159 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34160 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34161 WCHAR_OK=1
34162 fi
34163
34164 else
34165 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34166 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34167 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34168 echo $ECHO_N "(cached) $ECHO_C" >&6
34169 else
34170 ac_check_lib_save_LIBS=$LIBS
34171 LIBS="-lw $LIBS"
34172 cat >conftest.$ac_ext <<_ACEOF
34173 /* confdefs.h. */
34174 _ACEOF
34175 cat confdefs.h >>conftest.$ac_ext
34176 cat >>conftest.$ac_ext <<_ACEOF
34177 /* end confdefs.h. */
34178
34179 /* Override any GCC internal prototype to avoid an error.
34180 Use char because int might match the return type of a GCC
34181 builtin and then its argument prototype would still apply. */
34182 #ifdef __cplusplus
34183 extern "C"
34184 #endif
34185 char wcslen ();
34186 int
34187 main ()
34188 {
34189 return wcslen ();
34190 ;
34191 return 0;
34192 }
34193 _ACEOF
34194 rm -f conftest.$ac_objext conftest$ac_exeext
34195 if { (ac_try="$ac_link"
34196 case "(($ac_try" in
34197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34198 *) ac_try_echo=$ac_try;;
34199 esac
34200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34201 (eval "$ac_link") 2>conftest.er1
34202 ac_status=$?
34203 grep -v '^ *+' conftest.er1 >conftest.err
34204 rm -f conftest.er1
34205 cat conftest.err >&5
34206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34207 (exit $ac_status); } && {
34208 test -z "$ac_c_werror_flag" ||
34209 test ! -s conftest.err
34210 } && test -s conftest$ac_exeext &&
34211 $as_test_x conftest$ac_exeext; then
34212 ac_cv_lib_w_wcslen=yes
34213 else
34214 echo "$as_me: failed program was:" >&5
34215 sed 's/^/| /' conftest.$ac_ext >&5
34216
34217 ac_cv_lib_w_wcslen=no
34218 fi
34219
34220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34221 conftest$ac_exeext conftest.$ac_ext
34222 LIBS=$ac_check_lib_save_LIBS
34223 fi
34224 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34225 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34226 if test $ac_cv_lib_w_wcslen = yes; then
34227
34228 WCHAR_LINK=" -lw"
34229 WCSLEN_FOUND=1
34230
34231 fi
34232
34233 fi
34234 fi
34235
34236 if test "$WCSLEN_FOUND" = 1; then
34237 cat >>confdefs.h <<\_ACEOF
34238 #define HAVE_WCSLEN 1
34239 _ACEOF
34240
34241 fi
34242
34243 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34244 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34245 fi
34246
34247 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34248 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34249 if test "${ac_cv_type_mbstate_t+set}" = set; then
34250 echo $ECHO_N "(cached) $ECHO_C" >&6
34251 else
34252 cat >conftest.$ac_ext <<_ACEOF
34253 /* confdefs.h. */
34254 _ACEOF
34255 cat confdefs.h >>conftest.$ac_ext
34256 cat >>conftest.$ac_ext <<_ACEOF
34257 /* end confdefs.h. */
34258 #include <wchar.h>
34259
34260 typedef mbstate_t ac__type_new_;
34261 int
34262 main ()
34263 {
34264 if ((ac__type_new_ *) 0)
34265 return 0;
34266 if (sizeof (ac__type_new_))
34267 return 0;
34268 ;
34269 return 0;
34270 }
34271 _ACEOF
34272 rm -f conftest.$ac_objext
34273 if { (ac_try="$ac_compile"
34274 case "(($ac_try" in
34275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34276 *) ac_try_echo=$ac_try;;
34277 esac
34278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34279 (eval "$ac_compile") 2>conftest.er1
34280 ac_status=$?
34281 grep -v '^ *+' conftest.er1 >conftest.err
34282 rm -f conftest.er1
34283 cat conftest.err >&5
34284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34285 (exit $ac_status); } && {
34286 test -z "$ac_c_werror_flag" ||
34287 test ! -s conftest.err
34288 } && test -s conftest.$ac_objext; then
34289 ac_cv_type_mbstate_t=yes
34290 else
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.$ac_ext >&5
34293
34294 ac_cv_type_mbstate_t=no
34295 fi
34296
34297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34298 fi
34299 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34300 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34301 if test $ac_cv_type_mbstate_t = yes; then
34302
34303 cat >>confdefs.h <<_ACEOF
34304 #define HAVE_MBSTATE_T 1
34305 _ACEOF
34306
34307
34308 for ac_func in wcsrtombs
34309 do
34310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34313 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34314 echo $ECHO_N "(cached) $ECHO_C" >&6
34315 else
34316 cat >conftest.$ac_ext <<_ACEOF
34317 /* confdefs.h. */
34318 _ACEOF
34319 cat confdefs.h >>conftest.$ac_ext
34320 cat >>conftest.$ac_ext <<_ACEOF
34321 /* end confdefs.h. */
34322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34324 #define $ac_func innocuous_$ac_func
34325
34326 /* System header to define __stub macros and hopefully few prototypes,
34327 which can conflict with char $ac_func (); below.
34328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34329 <limits.h> exists even on freestanding compilers. */
34330
34331 #ifdef __STDC__
34332 # include <limits.h>
34333 #else
34334 # include <assert.h>
34335 #endif
34336
34337 #undef $ac_func
34338
34339 /* Override any GCC internal prototype to avoid an error.
34340 Use char because int might match the return type of a GCC
34341 builtin and then its argument prototype would still apply. */
34342 #ifdef __cplusplus
34343 extern "C"
34344 #endif
34345 char $ac_func ();
34346 /* The GNU C library defines this for functions which it implements
34347 to always fail with ENOSYS. Some functions are actually named
34348 something starting with __ and the normal name is an alias. */
34349 #if defined __stub_$ac_func || defined __stub___$ac_func
34350 choke me
34351 #endif
34352
34353 int
34354 main ()
34355 {
34356 return $ac_func ();
34357 ;
34358 return 0;
34359 }
34360 _ACEOF
34361 rm -f conftest.$ac_objext conftest$ac_exeext
34362 if { (ac_try="$ac_link"
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_link") 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_exeext &&
34378 $as_test_x conftest$ac_exeext; then
34379 eval "$as_ac_var=yes"
34380 else
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.$ac_ext >&5
34383
34384 eval "$as_ac_var=no"
34385 fi
34386
34387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34388 conftest$ac_exeext conftest.$ac_ext
34389 fi
34390 ac_res=`eval echo '${'$as_ac_var'}'`
34391 { echo "$as_me:$LINENO: result: $ac_res" >&5
34392 echo "${ECHO_T}$ac_res" >&6; }
34393 if test `eval echo '${'$as_ac_var'}'` = yes; then
34394 cat >>confdefs.h <<_ACEOF
34395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34396 _ACEOF
34397
34398 fi
34399 done
34400
34401 fi
34402
34403 else
34404 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34405 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34406 fi
34407
34408
34409
34410 for ac_func in snprintf vsnprintf
34411 do
34412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34415 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34416 echo $ECHO_N "(cached) $ECHO_C" >&6
34417 else
34418 cat >conftest.$ac_ext <<_ACEOF
34419 /* confdefs.h. */
34420 _ACEOF
34421 cat confdefs.h >>conftest.$ac_ext
34422 cat >>conftest.$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34426 #define $ac_func innocuous_$ac_func
34427
34428 /* System header to define __stub macros and hopefully few prototypes,
34429 which can conflict with char $ac_func (); below.
34430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34431 <limits.h> exists even on freestanding compilers. */
34432
34433 #ifdef __STDC__
34434 # include <limits.h>
34435 #else
34436 # include <assert.h>
34437 #endif
34438
34439 #undef $ac_func
34440
34441 /* Override any GCC internal prototype to avoid an error.
34442 Use char because int might match the return type of a GCC
34443 builtin and then its argument prototype would still apply. */
34444 #ifdef __cplusplus
34445 extern "C"
34446 #endif
34447 char $ac_func ();
34448 /* The GNU C library defines this for functions which it implements
34449 to always fail with ENOSYS. Some functions are actually named
34450 something starting with __ and the normal name is an alias. */
34451 #if defined __stub_$ac_func || defined __stub___$ac_func
34452 choke me
34453 #endif
34454
34455 int
34456 main ()
34457 {
34458 return $ac_func ();
34459 ;
34460 return 0;
34461 }
34462 _ACEOF
34463 rm -f conftest.$ac_objext conftest$ac_exeext
34464 if { (ac_try="$ac_link"
34465 case "(($ac_try" in
34466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34467 *) ac_try_echo=$ac_try;;
34468 esac
34469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34470 (eval "$ac_link") 2>conftest.er1
34471 ac_status=$?
34472 grep -v '^ *+' conftest.er1 >conftest.err
34473 rm -f conftest.er1
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } && {
34477 test -z "$ac_c_werror_flag" ||
34478 test ! -s conftest.err
34479 } && test -s conftest$ac_exeext &&
34480 $as_test_x conftest$ac_exeext; then
34481 eval "$as_ac_var=yes"
34482 else
34483 echo "$as_me: failed program was:" >&5
34484 sed 's/^/| /' conftest.$ac_ext >&5
34485
34486 eval "$as_ac_var=no"
34487 fi
34488
34489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34490 conftest$ac_exeext conftest.$ac_ext
34491 fi
34492 ac_res=`eval echo '${'$as_ac_var'}'`
34493 { echo "$as_me:$LINENO: result: $ac_res" >&5
34494 echo "${ECHO_T}$ac_res" >&6; }
34495 if test `eval echo '${'$as_ac_var'}'` = yes; then
34496 cat >>confdefs.h <<_ACEOF
34497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34498 _ACEOF
34499
34500 fi
34501 done
34502
34503
34504 if test "$ac_cv_func_vsnprintf" = "yes"; then
34505 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34506 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34507 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34508 echo $ECHO_N "(cached) $ECHO_C" >&6
34509 else
34510
34511 cat >conftest.$ac_ext <<_ACEOF
34512 /* confdefs.h. */
34513 _ACEOF
34514 cat confdefs.h >>conftest.$ac_ext
34515 cat >>conftest.$ac_ext <<_ACEOF
34516 /* end confdefs.h. */
34517
34518 #include <stdio.h>
34519 #include <stdarg.h>
34520 #ifdef __MSL__
34521 #if __MSL__ >= 0x6000
34522 namespace std {}
34523 using namespace std;
34524 #endif
34525 #endif
34526
34527 int
34528 main ()
34529 {
34530
34531 char *buf;
34532 va_list ap;
34533 vsnprintf(buf, 10u, "%s", ap);
34534
34535 ;
34536 return 0;
34537 }
34538 _ACEOF
34539 rm -f conftest.$ac_objext
34540 if { (ac_try="$ac_compile"
34541 case "(($ac_try" in
34542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34543 *) ac_try_echo=$ac_try;;
34544 esac
34545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34546 (eval "$ac_compile") 2>conftest.er1
34547 ac_status=$?
34548 grep -v '^ *+' conftest.er1 >conftest.err
34549 rm -f conftest.er1
34550 cat conftest.err >&5
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); } && {
34553 test -z "$ac_c_werror_flag" ||
34554 test ! -s conftest.err
34555 } && test -s conftest.$ac_objext; then
34556 wx_cv_func_vsnprintf_decl=yes
34557 else
34558 echo "$as_me: failed program was:" >&5
34559 sed 's/^/| /' conftest.$ac_ext >&5
34560
34561 wx_cv_func_vsnprintf_decl=no
34562
34563 fi
34564
34565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34566
34567
34568 fi
34569 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34570 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34571
34572 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34573 cat >>confdefs.h <<\_ACEOF
34574 #define HAVE_VSNPRINTF_DECL 1
34575 _ACEOF
34576
34577
34578 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34579 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34580 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34582 else
34583
34584 cat >conftest.$ac_ext <<_ACEOF
34585 /* confdefs.h. */
34586 _ACEOF
34587 cat confdefs.h >>conftest.$ac_ext
34588 cat >>conftest.$ac_ext <<_ACEOF
34589 /* end confdefs.h. */
34590
34591 #include <stdio.h>
34592 #include <stdarg.h>
34593 #ifdef __MSL__
34594 #if __MSL__ >= 0x6000
34595 namespace std {}
34596 using namespace std;
34597 #endif
34598 #endif
34599
34600 int
34601 main ()
34602 {
34603
34604 char *buf;
34605 va_list ap;
34606 const char *fmt = "%s";
34607 vsnprintf(buf, 10u, fmt, ap);
34608
34609 ;
34610 return 0;
34611 }
34612 _ACEOF
34613 rm -f conftest.$ac_objext
34614 if { (ac_try="$ac_compile"
34615 case "(($ac_try" in
34616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34617 *) ac_try_echo=$ac_try;;
34618 esac
34619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34620 (eval "$ac_compile") 2>conftest.er1
34621 ac_status=$?
34622 grep -v '^ *+' conftest.er1 >conftest.err
34623 rm -f conftest.er1
34624 cat conftest.err >&5
34625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34626 (exit $ac_status); } && {
34627 test -z "$ac_c_werror_flag" ||
34628 test ! -s conftest.err
34629 } && test -s conftest.$ac_objext; then
34630 wx_cv_func_broken_vsnprintf_decl=no
34631 else
34632 echo "$as_me: failed program was:" >&5
34633 sed 's/^/| /' conftest.$ac_ext >&5
34634
34635 wx_cv_func_broken_vsnprintf_decl=yes
34636
34637 fi
34638
34639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34640
34641
34642 fi
34643 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34644 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34645
34646 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34647 cat >>confdefs.h <<\_ACEOF
34648 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34649 _ACEOF
34650
34651 fi
34652 fi
34653 fi
34654
34655 if test "$ac_cv_func_snprintf" = "yes"; then
34656 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34657 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34658 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34659 echo $ECHO_N "(cached) $ECHO_C" >&6
34660 else
34661
34662 cat >conftest.$ac_ext <<_ACEOF
34663 /* confdefs.h. */
34664 _ACEOF
34665 cat confdefs.h >>conftest.$ac_ext
34666 cat >>conftest.$ac_ext <<_ACEOF
34667 /* end confdefs.h. */
34668
34669 #include <stdio.h>
34670 #include <stdarg.h>
34671 #ifdef __MSL__
34672 #if __MSL__ >= 0x6000
34673 namespace std {}
34674 using namespace std;
34675 #endif
34676 #endif
34677
34678 int
34679 main ()
34680 {
34681
34682 char *buf;
34683 snprintf(buf, 10u, "%s", "wx");
34684
34685 ;
34686 return 0;
34687 }
34688 _ACEOF
34689 rm -f conftest.$ac_objext
34690 if { (ac_try="$ac_compile"
34691 case "(($ac_try" in
34692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34693 *) ac_try_echo=$ac_try;;
34694 esac
34695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34696 (eval "$ac_compile") 2>conftest.er1
34697 ac_status=$?
34698 grep -v '^ *+' conftest.er1 >conftest.err
34699 rm -f conftest.er1
34700 cat conftest.err >&5
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); } && {
34703 test -z "$ac_c_werror_flag" ||
34704 test ! -s conftest.err
34705 } && test -s conftest.$ac_objext; then
34706 wx_cv_func_snprintf_decl=yes
34707 else
34708 echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.$ac_ext >&5
34710
34711 wx_cv_func_snprintf_decl=no
34712
34713 fi
34714
34715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34716
34717
34718 fi
34719 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34720 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34721
34722 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34723 cat >>confdefs.h <<\_ACEOF
34724 #define HAVE_SNPRINTF_DECL 1
34725 _ACEOF
34726
34727
34728 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34729 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34730 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34731 echo $ECHO_N "(cached) $ECHO_C" >&6
34732 else
34733
34734 cat >conftest.$ac_ext <<_ACEOF
34735 /* confdefs.h. */
34736 _ACEOF
34737 cat confdefs.h >>conftest.$ac_ext
34738 cat >>conftest.$ac_ext <<_ACEOF
34739 /* end confdefs.h. */
34740
34741 #include <stdio.h>
34742 #include <stdarg.h>
34743 #ifdef __MSL__
34744 #if __MSL__ >= 0x6000
34745 namespace std {}
34746 using namespace std;
34747 #endif
34748 #endif
34749
34750 int
34751 main ()
34752 {
34753
34754 char *buf;
34755 const char *fmt = "%s";
34756 snprintf(buf, 10u, fmt, "wx");
34757
34758 ;
34759 return 0;
34760 }
34761 _ACEOF
34762 rm -f conftest.$ac_objext
34763 if { (ac_try="$ac_compile"
34764 case "(($ac_try" in
34765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34766 *) ac_try_echo=$ac_try;;
34767 esac
34768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34769 (eval "$ac_compile") 2>conftest.er1
34770 ac_status=$?
34771 grep -v '^ *+' conftest.er1 >conftest.err
34772 rm -f conftest.er1
34773 cat conftest.err >&5
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); } && {
34776 test -z "$ac_c_werror_flag" ||
34777 test ! -s conftest.err
34778 } && test -s conftest.$ac_objext; then
34779 wx_cv_func_broken_snprintf_decl=no
34780 else
34781 echo "$as_me: failed program was:" >&5
34782 sed 's/^/| /' conftest.$ac_ext >&5
34783
34784 wx_cv_func_broken_snprintf_decl=yes
34785
34786 fi
34787
34788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34789
34790
34791 fi
34792 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34793 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34794
34795 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34796 cat >>confdefs.h <<\_ACEOF
34797 #define HAVE_BROKEN_SNPRINTF_DECL 1
34798 _ACEOF
34799
34800 fi
34801 fi
34802
34803 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34804
34805 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34806 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34807 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 else
34810
34811 if test "$cross_compiling" = yes; then
34812
34813 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34814 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34815 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34816 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34817 wx_cv_func_snprintf_pos_params=no
34818
34819
34820 else
34821 cat >conftest.$ac_ext <<_ACEOF
34822 /* confdefs.h. */
34823 _ACEOF
34824 cat confdefs.h >>conftest.$ac_ext
34825 cat >>conftest.$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34827
34828 #include <stdio.h>
34829
34830 int main (void)
34831 {
34832 char buffer[128];
34833 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34834 if (strcmp ("2 3 1", buffer) == 0)
34835 exit (0);
34836 exit (1);
34837 }
34838
34839 _ACEOF
34840 rm -f conftest$ac_exeext
34841 if { (ac_try="$ac_link"
34842 case "(($ac_try" in
34843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34844 *) ac_try_echo=$ac_try;;
34845 esac
34846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34847 (eval "$ac_link") 2>&5
34848 ac_status=$?
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34851 { (case "(($ac_try" in
34852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34853 *) ac_try_echo=$ac_try;;
34854 esac
34855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34856 (eval "$ac_try") 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; }; then
34860 wx_cv_func_snprintf_pos_params=no
34861 else
34862 echo "$as_me: program exited with status $ac_status" >&5
34863 echo "$as_me: failed program was:" >&5
34864 sed 's/^/| /' conftest.$ac_ext >&5
34865
34866 ( exit $ac_status )
34867 wx_cv_func_snprintf_pos_params=yes
34868 fi
34869 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34870 fi
34871
34872
34873
34874
34875 fi
34876 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34877 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34878
34879 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34880 cat >>confdefs.h <<\_ACEOF
34881 #define HAVE_UNIX98_PRINTF 1
34882 _ACEOF
34883
34884 fi
34885 fi
34886 fi
34887
34888 if test "$wxUSE_UNICODE" = yes; then
34889
34890
34891 for ac_func in swprintf
34892 do
34893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34897 echo $ECHO_N "(cached) $ECHO_C" >&6
34898 else
34899 cat >conftest.$ac_ext <<_ACEOF
34900 /* confdefs.h. */
34901 _ACEOF
34902 cat confdefs.h >>conftest.$ac_ext
34903 cat >>conftest.$ac_ext <<_ACEOF
34904 /* end confdefs.h. */
34905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34907 #define $ac_func innocuous_$ac_func
34908
34909 /* System header to define __stub macros and hopefully few prototypes,
34910 which can conflict with char $ac_func (); below.
34911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34912 <limits.h> exists even on freestanding compilers. */
34913
34914 #ifdef __STDC__
34915 # include <limits.h>
34916 #else
34917 # include <assert.h>
34918 #endif
34919
34920 #undef $ac_func
34921
34922 /* Override any GCC internal prototype to avoid an error.
34923 Use char because int might match the return type of a GCC
34924 builtin and then its argument prototype would still apply. */
34925 #ifdef __cplusplus
34926 extern "C"
34927 #endif
34928 char $ac_func ();
34929 /* The GNU C library defines this for functions which it implements
34930 to always fail with ENOSYS. Some functions are actually named
34931 something starting with __ and the normal name is an alias. */
34932 #if defined __stub_$ac_func || defined __stub___$ac_func
34933 choke me
34934 #endif
34935
34936 int
34937 main ()
34938 {
34939 return $ac_func ();
34940 ;
34941 return 0;
34942 }
34943 _ACEOF
34944 rm -f conftest.$ac_objext conftest$ac_exeext
34945 if { (ac_try="$ac_link"
34946 case "(($ac_try" in
34947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34948 *) ac_try_echo=$ac_try;;
34949 esac
34950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34951 (eval "$ac_link") 2>conftest.er1
34952 ac_status=$?
34953 grep -v '^ *+' conftest.er1 >conftest.err
34954 rm -f conftest.er1
34955 cat conftest.err >&5
34956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34957 (exit $ac_status); } && {
34958 test -z "$ac_c_werror_flag" ||
34959 test ! -s conftest.err
34960 } && test -s conftest$ac_exeext &&
34961 $as_test_x conftest$ac_exeext; then
34962 eval "$as_ac_var=yes"
34963 else
34964 echo "$as_me: failed program was:" >&5
34965 sed 's/^/| /' conftest.$ac_ext >&5
34966
34967 eval "$as_ac_var=no"
34968 fi
34969
34970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34971 conftest$ac_exeext conftest.$ac_ext
34972 fi
34973 ac_res=`eval echo '${'$as_ac_var'}'`
34974 { echo "$as_me:$LINENO: result: $ac_res" >&5
34975 echo "${ECHO_T}$ac_res" >&6; }
34976 if test `eval echo '${'$as_ac_var'}'` = yes; then
34977 cat >>confdefs.h <<_ACEOF
34978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34979 _ACEOF
34980
34981 fi
34982 done
34983
34984
34985 if test "$ac_cv_func_swprintf" = "yes"; then
34986 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34987 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34988 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 else
34991
34992 cat >conftest.$ac_ext <<_ACEOF
34993 /* confdefs.h. */
34994 _ACEOF
34995 cat confdefs.h >>conftest.$ac_ext
34996 cat >>conftest.$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
34998
34999 #include <stdio.h>
35000 #include <stdarg.h>
35001 #include <wchar.h>
35002
35003 int
35004 main ()
35005 {
35006
35007 wchar_t *buf;
35008 const wchar_t *fmt = L"test";
35009 swprintf(buf, 10u, fmt);
35010
35011 ;
35012 return 0;
35013 }
35014 _ACEOF
35015 rm -f conftest.$ac_objext
35016 if { (ac_try="$ac_compile"
35017 case "(($ac_try" in
35018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35019 *) ac_try_echo=$ac_try;;
35020 esac
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_compile") 2>conftest.er1
35023 ac_status=$?
35024 grep -v '^ *+' conftest.er1 >conftest.err
35025 rm -f conftest.er1
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } && {
35029 test -z "$ac_c_werror_flag" ||
35030 test ! -s conftest.err
35031 } && test -s conftest.$ac_objext; then
35032 wx_cv_func_broken_swprintf_decl=no
35033 else
35034 echo "$as_me: failed program was:" >&5
35035 sed 's/^/| /' conftest.$ac_ext >&5
35036
35037 wx_cv_func_broken_swprintf_decl=yes
35038
35039 fi
35040
35041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35042
35043
35044 fi
35045 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35046 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
35047
35048 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35049 cat >>confdefs.h <<\_ACEOF
35050 #define HAVE_BROKEN_SWPRINTF_DECL 1
35051 _ACEOF
35052
35053 fi
35054 fi
35055
35056 wchar_headers="#include <stdio.h>
35057 #include <wchar.h>"
35058 case "${host}" in
35059 *-*-solaris2* )
35060 { echo "$as_me:$LINENO: checking for widec.h" >&5
35061 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
35062 if test "${ac_cv_header_widec_h+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35064 else
35065 cat >conftest.$ac_ext <<_ACEOF
35066 /* confdefs.h. */
35067 _ACEOF
35068 cat confdefs.h >>conftest.$ac_ext
35069 cat >>conftest.$ac_ext <<_ACEOF
35070 /* end confdefs.h. */
35071 $ac_includes_default
35072
35073 #include <widec.h>
35074 _ACEOF
35075 rm -f conftest.$ac_objext
35076 if { (ac_try="$ac_compile"
35077 case "(($ac_try" in
35078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35079 *) ac_try_echo=$ac_try;;
35080 esac
35081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35082 (eval "$ac_compile") 2>conftest.er1
35083 ac_status=$?
35084 grep -v '^ *+' conftest.er1 >conftest.err
35085 rm -f conftest.er1
35086 cat conftest.err >&5
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); } && {
35089 test -z "$ac_c_werror_flag" ||
35090 test ! -s conftest.err
35091 } && test -s conftest.$ac_objext; then
35092 ac_cv_header_widec_h=yes
35093 else
35094 echo "$as_me: failed program was:" >&5
35095 sed 's/^/| /' conftest.$ac_ext >&5
35096
35097 ac_cv_header_widec_h=no
35098 fi
35099
35100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35101 fi
35102 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35103 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35104
35105
35106 if test "$ac_cv_header_widec_h" = "yes"; then
35107 wchar_headers="$wchar_headers
35108 #include <widec.h>"
35109 fi
35110 esac
35111
35112
35113 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35114 do
35115 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35116 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35117 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35119 else
35120
35121 cat >conftest.$ac_ext <<_ACEOF
35122
35123 /* confdefs.h. */
35124 _ACEOF
35125 cat confdefs.h >>conftest.$ac_ext
35126 cat >>conftest.$ac_ext <<_ACEOF
35127 /* end confdefs.h. */
35128
35129 $wchar_headers
35130 $ac_includes_default
35131
35132 int
35133 main ()
35134 {
35135
35136 #ifndef $wx_func
35137 &$wx_func;
35138 #endif
35139
35140
35141 ;
35142 return 0;
35143 }
35144
35145 _ACEOF
35146 rm -f conftest.$ac_objext conftest$ac_exeext
35147 if { (ac_try="$ac_link"
35148 case "(($ac_try" in
35149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35150 *) ac_try_echo=$ac_try;;
35151 esac
35152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35153 (eval "$ac_link") 2>conftest.er1
35154 ac_status=$?
35155 grep -v '^ *+' conftest.er1 >conftest.err
35156 rm -f conftest.er1
35157 cat conftest.err >&5
35158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35159 (exit $ac_status); } && {
35160 test -z "$ac_c_werror_flag" ||
35161 test ! -s conftest.err
35162 } && test -s conftest$ac_exeext &&
35163 $as_test_x conftest$ac_exeext; then
35164 eval wx_cv_func_$wx_func=yes
35165 else
35166 echo "$as_me: failed program was:" >&5
35167 sed 's/^/| /' conftest.$ac_ext >&5
35168
35169 eval wx_cv_func_$wx_func=no
35170 fi
35171
35172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35173 conftest$ac_exeext conftest.$ac_ext
35174
35175 fi
35176 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35177 { echo "$as_me:$LINENO: result: $ac_res" >&5
35178 echo "${ECHO_T}$ac_res" >&6; }
35179
35180 if eval test \$wx_cv_func_$wx_func = yes
35181 then
35182 cat >>confdefs.h <<_ACEOF
35183 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35184 _ACEOF
35185
35186
35187 else
35188 :
35189
35190 fi
35191 done
35192
35193
35194 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35195 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35196 cat >conftest.$ac_ext <<_ACEOF
35197 /* confdefs.h. */
35198 _ACEOF
35199 cat confdefs.h >>conftest.$ac_ext
35200 cat >>conftest.$ac_ext <<_ACEOF
35201 /* end confdefs.h. */
35202 #include <wchar.h>
35203 int
35204 main ()
35205 {
35206 &_vsnwprintf;
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 rm -f conftest.$ac_objext
35212 if { (ac_try="$ac_compile"
35213 case "(($ac_try" in
35214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35215 *) ac_try_echo=$ac_try;;
35216 esac
35217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35218 (eval "$ac_compile") 2>conftest.er1
35219 ac_status=$?
35220 grep -v '^ *+' conftest.er1 >conftest.err
35221 rm -f conftest.er1
35222 cat conftest.err >&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); } && {
35225 test -z "$ac_c_werror_flag" ||
35226 test ! -s conftest.err
35227 } && test -s conftest.$ac_objext; then
35228 { echo "$as_me:$LINENO: result: yes" >&5
35229 echo "${ECHO_T}yes" >&6; }
35230 cat >>confdefs.h <<\_ACEOF
35231 #define HAVE__VSNWPRINTF 1
35232 _ACEOF
35233
35234 else
35235 echo "$as_me: failed program was:" >&5
35236 sed 's/^/| /' conftest.$ac_ext >&5
35237
35238 { echo "$as_me:$LINENO: result: no" >&5
35239 echo "${ECHO_T}no" >&6; }
35240 fi
35241
35242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35243 fi
35244
35245 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35246
35247 for wx_func in fnmatch
35248 do
35249 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35250 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35251 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35253 else
35254
35255 cat >conftest.$ac_ext <<_ACEOF
35256
35257 /* confdefs.h. */
35258 _ACEOF
35259 cat confdefs.h >>conftest.$ac_ext
35260 cat >>conftest.$ac_ext <<_ACEOF
35261 /* end confdefs.h. */
35262
35263 #include <fnmatch.h>
35264 $ac_includes_default
35265
35266 int
35267 main ()
35268 {
35269
35270 #ifndef $wx_func
35271 &$wx_func;
35272 #endif
35273
35274
35275 ;
35276 return 0;
35277 }
35278
35279 _ACEOF
35280 rm -f conftest.$ac_objext conftest$ac_exeext
35281 if { (ac_try="$ac_link"
35282 case "(($ac_try" in
35283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35284 *) ac_try_echo=$ac_try;;
35285 esac
35286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35287 (eval "$ac_link") 2>conftest.er1
35288 ac_status=$?
35289 grep -v '^ *+' conftest.er1 >conftest.err
35290 rm -f conftest.er1
35291 cat conftest.err >&5
35292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293 (exit $ac_status); } && {
35294 test -z "$ac_c_werror_flag" ||
35295 test ! -s conftest.err
35296 } && test -s conftest$ac_exeext &&
35297 $as_test_x conftest$ac_exeext; then
35298 eval wx_cv_func_$wx_func=yes
35299 else
35300 echo "$as_me: failed program was:" >&5
35301 sed 's/^/| /' conftest.$ac_ext >&5
35302
35303 eval wx_cv_func_$wx_func=no
35304 fi
35305
35306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35307 conftest$ac_exeext conftest.$ac_ext
35308
35309 fi
35310 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35311 { echo "$as_me:$LINENO: result: $ac_res" >&5
35312 echo "${ECHO_T}$ac_res" >&6; }
35313
35314 if eval test \$wx_cv_func_$wx_func = yes
35315 then
35316 cat >>confdefs.h <<_ACEOF
35317 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35318 _ACEOF
35319
35320
35321 else
35322 :
35323
35324 fi
35325 done
35326
35327 fi
35328
35329 if test "$wxUSE_FILE" = "yes"; then
35330
35331 for wx_func in fsync
35332 do
35333 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35334 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35335 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35336 echo $ECHO_N "(cached) $ECHO_C" >&6
35337 else
35338
35339 cat >conftest.$ac_ext <<_ACEOF
35340
35341 /* confdefs.h. */
35342 _ACEOF
35343 cat confdefs.h >>conftest.$ac_ext
35344 cat >>conftest.$ac_ext <<_ACEOF
35345 /* end confdefs.h. */
35346
35347
35348 $ac_includes_default
35349
35350 int
35351 main ()
35352 {
35353
35354 #ifndef $wx_func
35355 &$wx_func;
35356 #endif
35357
35358
35359 ;
35360 return 0;
35361 }
35362
35363 _ACEOF
35364 rm -f conftest.$ac_objext conftest$ac_exeext
35365 if { (ac_try="$ac_link"
35366 case "(($ac_try" in
35367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35368 *) ac_try_echo=$ac_try;;
35369 esac
35370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35371 (eval "$ac_link") 2>conftest.er1
35372 ac_status=$?
35373 grep -v '^ *+' conftest.er1 >conftest.err
35374 rm -f conftest.er1
35375 cat conftest.err >&5
35376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377 (exit $ac_status); } && {
35378 test -z "$ac_c_werror_flag" ||
35379 test ! -s conftest.err
35380 } && test -s conftest$ac_exeext &&
35381 $as_test_x conftest$ac_exeext; then
35382 eval wx_cv_func_$wx_func=yes
35383 else
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35386
35387 eval wx_cv_func_$wx_func=no
35388 fi
35389
35390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35391 conftest$ac_exeext conftest.$ac_ext
35392
35393 fi
35394 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35395 { echo "$as_me:$LINENO: result: $ac_res" >&5
35396 echo "${ECHO_T}$ac_res" >&6; }
35397
35398 if eval test \$wx_cv_func_$wx_func = yes
35399 then
35400 cat >>confdefs.h <<_ACEOF
35401 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35402 _ACEOF
35403
35404
35405 else
35406 :
35407
35408 fi
35409 done
35410
35411 fi
35412
35413
35414 for wx_func in round
35415 do
35416 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35417 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35418 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 else
35421
35422 cat >conftest.$ac_ext <<_ACEOF
35423
35424 /* confdefs.h. */
35425 _ACEOF
35426 cat confdefs.h >>conftest.$ac_ext
35427 cat >>conftest.$ac_ext <<_ACEOF
35428 /* end confdefs.h. */
35429
35430 #include <math.h>
35431 $ac_includes_default
35432
35433 int
35434 main ()
35435 {
35436
35437 #ifndef $wx_func
35438 &$wx_func;
35439 #endif
35440
35441
35442 ;
35443 return 0;
35444 }
35445
35446 _ACEOF
35447 rm -f conftest.$ac_objext conftest$ac_exeext
35448 if { (ac_try="$ac_link"
35449 case "(($ac_try" in
35450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35451 *) ac_try_echo=$ac_try;;
35452 esac
35453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35454 (eval "$ac_link") 2>conftest.er1
35455 ac_status=$?
35456 grep -v '^ *+' conftest.er1 >conftest.err
35457 rm -f conftest.er1
35458 cat conftest.err >&5
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); } && {
35461 test -z "$ac_c_werror_flag" ||
35462 test ! -s conftest.err
35463 } && test -s conftest$ac_exeext &&
35464 $as_test_x conftest$ac_exeext; then
35465 eval wx_cv_func_$wx_func=yes
35466 else
35467 echo "$as_me: failed program was:" >&5
35468 sed 's/^/| /' conftest.$ac_ext >&5
35469
35470 eval wx_cv_func_$wx_func=no
35471 fi
35472
35473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35474 conftest$ac_exeext conftest.$ac_ext
35475
35476 fi
35477 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35478 { echo "$as_me:$LINENO: result: $ac_res" >&5
35479 echo "${ECHO_T}$ac_res" >&6; }
35480
35481 if eval test \$wx_cv_func_$wx_func = yes
35482 then
35483 cat >>confdefs.h <<_ACEOF
35484 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35485 _ACEOF
35486
35487
35488 else
35489 :
35490
35491 fi
35492 done
35493
35494
35495 if test "$TOOLKIT" != "MSW"; then
35496
35497
35498
35499
35500
35501 # Check whether --with-libiconv-prefix was given.
35502 if test "${with_libiconv_prefix+set}" = set; then
35503 withval=$with_libiconv_prefix;
35504 for dir in `echo "$withval" | tr : ' '`; do
35505 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35506 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35507 done
35508
35509 fi
35510
35511
35512 { echo "$as_me:$LINENO: checking for iconv" >&5
35513 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35514 if test "${am_cv_func_iconv+set}" = set; then
35515 echo $ECHO_N "(cached) $ECHO_C" >&6
35516 else
35517
35518 am_cv_func_iconv="no, consider installing GNU libiconv"
35519 am_cv_lib_iconv=no
35520 cat >conftest.$ac_ext <<_ACEOF
35521 /* confdefs.h. */
35522 _ACEOF
35523 cat confdefs.h >>conftest.$ac_ext
35524 cat >>conftest.$ac_ext <<_ACEOF
35525 /* end confdefs.h. */
35526 #include <stdlib.h>
35527 #include <iconv.h>
35528 int
35529 main ()
35530 {
35531 iconv_t cd = iconv_open("","");
35532 iconv(cd,NULL,NULL,NULL,NULL);
35533 iconv_close(cd);
35534 ;
35535 return 0;
35536 }
35537 _ACEOF
35538 rm -f conftest.$ac_objext conftest$ac_exeext
35539 if { (ac_try="$ac_link"
35540 case "(($ac_try" in
35541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35542 *) ac_try_echo=$ac_try;;
35543 esac
35544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35545 (eval "$ac_link") 2>conftest.er1
35546 ac_status=$?
35547 grep -v '^ *+' conftest.er1 >conftest.err
35548 rm -f conftest.er1
35549 cat conftest.err >&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); } && {
35552 test -z "$ac_c_werror_flag" ||
35553 test ! -s conftest.err
35554 } && test -s conftest$ac_exeext &&
35555 $as_test_x conftest$ac_exeext; then
35556 am_cv_func_iconv=yes
35557 else
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.$ac_ext >&5
35560
35561
35562 fi
35563
35564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35565 conftest$ac_exeext conftest.$ac_ext
35566 if test "$am_cv_func_iconv" != yes; then
35567 am_save_LIBS="$LIBS"
35568 LIBS="$LIBS -liconv"
35569 cat >conftest.$ac_ext <<_ACEOF
35570 /* confdefs.h. */
35571 _ACEOF
35572 cat confdefs.h >>conftest.$ac_ext
35573 cat >>conftest.$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575 #include <stdlib.h>
35576 #include <iconv.h>
35577 int
35578 main ()
35579 {
35580 iconv_t cd = iconv_open("","");
35581 iconv(cd,NULL,NULL,NULL,NULL);
35582 iconv_close(cd);
35583 ;
35584 return 0;
35585 }
35586 _ACEOF
35587 rm -f conftest.$ac_objext conftest$ac_exeext
35588 if { (ac_try="$ac_link"
35589 case "(($ac_try" in
35590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35591 *) ac_try_echo=$ac_try;;
35592 esac
35593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35594 (eval "$ac_link") 2>conftest.er1
35595 ac_status=$?
35596 grep -v '^ *+' conftest.er1 >conftest.err
35597 rm -f conftest.er1
35598 cat conftest.err >&5
35599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35600 (exit $ac_status); } && {
35601 test -z "$ac_c_werror_flag" ||
35602 test ! -s conftest.err
35603 } && test -s conftest$ac_exeext &&
35604 $as_test_x conftest$ac_exeext; then
35605 am_cv_lib_iconv=yes
35606 am_cv_func_iconv=yes
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35610
35611
35612 fi
35613
35614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35615 conftest$ac_exeext conftest.$ac_ext
35616 LIBS="$am_save_LIBS"
35617 fi
35618
35619 fi
35620 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35621 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35622 if test "$am_cv_func_iconv" = yes; then
35623
35624 cat >>confdefs.h <<\_ACEOF
35625 #define HAVE_ICONV 1
35626 _ACEOF
35627
35628 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35629 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35630 if test "${wx_cv_func_iconv_const+set}" = set; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 else
35633 cat >conftest.$ac_ext <<_ACEOF
35634 /* confdefs.h. */
35635 _ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639
35640 #include <stdlib.h>
35641 #include <iconv.h>
35642 extern
35643 #ifdef __cplusplus
35644 "C"
35645 #endif
35646 #if defined(__STDC__) || defined(__cplusplus)
35647 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35648 #else
35649 size_t iconv();
35650 #endif
35651
35652 int
35653 main ()
35654 {
35655
35656 ;
35657 return 0;
35658 }
35659 _ACEOF
35660 rm -f conftest.$ac_objext
35661 if { (ac_try="$ac_compile"
35662 case "(($ac_try" in
35663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35664 *) ac_try_echo=$ac_try;;
35665 esac
35666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35667 (eval "$ac_compile") 2>conftest.er1
35668 ac_status=$?
35669 grep -v '^ *+' conftest.er1 >conftest.err
35670 rm -f conftest.er1
35671 cat conftest.err >&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); } && {
35674 test -z "$ac_c_werror_flag" ||
35675 test ! -s conftest.err
35676 } && test -s conftest.$ac_objext; then
35677 wx_cv_func_iconv_const="no"
35678 else
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.$ac_ext >&5
35681
35682 wx_cv_func_iconv_const="yes"
35683
35684 fi
35685
35686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35687
35688 fi
35689 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35690 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35691
35692 iconv_const=
35693 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35694 iconv_const="const"
35695 fi
35696
35697
35698 cat >>confdefs.h <<_ACEOF
35699 #define ICONV_CONST $iconv_const
35700 _ACEOF
35701
35702 fi
35703 LIBICONV=
35704 if test "$am_cv_lib_iconv" = yes; then
35705 LIBICONV="-liconv"
35706 fi
35707
35708
35709 LIBS="$LIBICONV $LIBS"
35710
35711 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35712
35713 for ac_func in sigaction
35714 do
35715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35719 echo $ECHO_N "(cached) $ECHO_C" >&6
35720 else
35721 cat >conftest.$ac_ext <<_ACEOF
35722 /* confdefs.h. */
35723 _ACEOF
35724 cat confdefs.h >>conftest.$ac_ext
35725 cat >>conftest.$ac_ext <<_ACEOF
35726 /* end confdefs.h. */
35727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35729 #define $ac_func innocuous_$ac_func
35730
35731 /* System header to define __stub macros and hopefully few prototypes,
35732 which can conflict with char $ac_func (); below.
35733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35734 <limits.h> exists even on freestanding compilers. */
35735
35736 #ifdef __STDC__
35737 # include <limits.h>
35738 #else
35739 # include <assert.h>
35740 #endif
35741
35742 #undef $ac_func
35743
35744 /* Override any GCC internal prototype to avoid an error.
35745 Use char because int might match the return type of a GCC
35746 builtin and then its argument prototype would still apply. */
35747 #ifdef __cplusplus
35748 extern "C"
35749 #endif
35750 char $ac_func ();
35751 /* The GNU C library defines this for functions which it implements
35752 to always fail with ENOSYS. Some functions are actually named
35753 something starting with __ and the normal name is an alias. */
35754 #if defined __stub_$ac_func || defined __stub___$ac_func
35755 choke me
35756 #endif
35757
35758 int
35759 main ()
35760 {
35761 return $ac_func ();
35762 ;
35763 return 0;
35764 }
35765 _ACEOF
35766 rm -f conftest.$ac_objext conftest$ac_exeext
35767 if { (ac_try="$ac_link"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35770 *) ac_try_echo=$ac_try;;
35771 esac
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_link") 2>conftest.er1
35774 ac_status=$?
35775 grep -v '^ *+' conftest.er1 >conftest.err
35776 rm -f conftest.er1
35777 cat conftest.err >&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_c_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest$ac_exeext &&
35783 $as_test_x conftest$ac_exeext; then
35784 eval "$as_ac_var=yes"
35785 else
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.$ac_ext >&5
35788
35789 eval "$as_ac_var=no"
35790 fi
35791
35792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35793 conftest$ac_exeext conftest.$ac_ext
35794 fi
35795 ac_res=`eval echo '${'$as_ac_var'}'`
35796 { echo "$as_me:$LINENO: result: $ac_res" >&5
35797 echo "${ECHO_T}$ac_res" >&6; }
35798 if test `eval echo '${'$as_ac_var'}'` = yes; then
35799 cat >>confdefs.h <<_ACEOF
35800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35801 _ACEOF
35802
35803 fi
35804 done
35805
35806
35807 if test "$ac_cv_func_sigaction" = "no"; then
35808 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35809 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35810 wxUSE_ON_FATAL_EXCEPTION=no
35811 fi
35812
35813 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35814 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35815 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35816 if test "${wx_cv_type_sa_handler+set}" = set; then
35817 echo $ECHO_N "(cached) $ECHO_C" >&6
35818 else
35819
35820 ac_ext=cpp
35821 ac_cpp='$CXXCPP $CPPFLAGS'
35822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35825
35826 cat >conftest.$ac_ext <<_ACEOF
35827 /* confdefs.h. */
35828 _ACEOF
35829 cat confdefs.h >>conftest.$ac_ext
35830 cat >>conftest.$ac_ext <<_ACEOF
35831 /* end confdefs.h. */
35832 #include <signal.h>
35833 int
35834 main ()
35835 {
35836
35837 extern void testSigHandler(int);
35838
35839 struct sigaction sa;
35840 sa.sa_handler = testSigHandler;
35841
35842 ;
35843 return 0;
35844 }
35845 _ACEOF
35846 rm -f conftest.$ac_objext
35847 if { (ac_try="$ac_compile"
35848 case "(($ac_try" in
35849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35850 *) ac_try_echo=$ac_try;;
35851 esac
35852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35853 (eval "$ac_compile") 2>conftest.er1
35854 ac_status=$?
35855 grep -v '^ *+' conftest.er1 >conftest.err
35856 rm -f conftest.er1
35857 cat conftest.err >&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); } && {
35860 test -z "$ac_cxx_werror_flag" ||
35861 test ! -s conftest.err
35862 } && test -s conftest.$ac_objext; then
35863
35864 wx_cv_type_sa_handler=int
35865
35866 else
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.$ac_ext >&5
35869
35870
35871 wx_cv_type_sa_handler=void
35872
35873 fi
35874
35875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35876 ac_ext=c
35877 ac_cpp='$CPP $CPPFLAGS'
35878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35881
35882
35883 fi
35884 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35885 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35886
35887 cat >>confdefs.h <<_ACEOF
35888 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35889 _ACEOF
35890
35891 fi
35892 fi
35893
35894 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35895 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35896 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35897 if test "${wx_cv_func_backtrace+set}" = set; then
35898 echo $ECHO_N "(cached) $ECHO_C" >&6
35899 else
35900
35901 ac_ext=cpp
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35906
35907 cat >conftest.$ac_ext <<_ACEOF
35908 /* confdefs.h. */
35909 _ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
35912 /* end confdefs.h. */
35913 #include <execinfo.h>
35914 int
35915 main ()
35916 {
35917
35918 void *trace[1];
35919 char **messages;
35920
35921 backtrace(trace, 1);
35922 messages = backtrace_symbols(trace, 1);
35923
35924 ;
35925 return 0;
35926 }
35927 _ACEOF
35928 rm -f conftest.$ac_objext
35929 if { (ac_try="$ac_compile"
35930 case "(($ac_try" in
35931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35932 *) ac_try_echo=$ac_try;;
35933 esac
35934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35935 (eval "$ac_compile") 2>conftest.er1
35936 ac_status=$?
35937 grep -v '^ *+' conftest.er1 >conftest.err
35938 rm -f conftest.er1
35939 cat conftest.err >&5
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); } && {
35942 test -z "$ac_cxx_werror_flag" ||
35943 test ! -s conftest.err
35944 } && test -s conftest.$ac_objext; then
35945 wx_cv_func_backtrace=yes
35946 else
35947 echo "$as_me: failed program was:" >&5
35948 sed 's/^/| /' conftest.$ac_ext >&5
35949
35950 wx_cv_func_backtrace=no
35951
35952 fi
35953
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960
35961
35962
35963 fi
35964 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35965 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35966
35967
35968 if test "$wx_cv_func_backtrace" = "no"; then
35969 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35970 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35971 wxUSE_STACKWALKER=no
35972 else
35973 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35974 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35975 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35976 echo $ECHO_N "(cached) $ECHO_C" >&6
35977 else
35978
35979 ac_ext=cpp
35980 ac_cpp='$CXXCPP $CPPFLAGS'
35981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35984
35985 cat >conftest.$ac_ext <<_ACEOF
35986 /* confdefs.h. */
35987 _ACEOF
35988 cat confdefs.h >>conftest.$ac_ext
35989 cat >>conftest.$ac_ext <<_ACEOF
35990 /* end confdefs.h. */
35991 #include <cxxabi.h>
35992 int
35993 main ()
35994 {
35995
35996 int rc;
35997 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35998
35999 ;
36000 return 0;
36001 }
36002 _ACEOF
36003 rm -f conftest.$ac_objext conftest$ac_exeext
36004 if { (ac_try="$ac_link"
36005 case "(($ac_try" in
36006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36007 *) ac_try_echo=$ac_try;;
36008 esac
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_link") 2>conftest.er1
36011 ac_status=$?
36012 grep -v '^ *+' conftest.er1 >conftest.err
36013 rm -f conftest.er1
36014 cat conftest.err >&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_cxx_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest$ac_exeext &&
36020 $as_test_x conftest$ac_exeext; then
36021 wx_cv_func_cxa_demangle=yes
36022 else
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36025
36026 wx_cv_func_cxa_demangle=no
36027
36028 fi
36029
36030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36031 conftest$ac_exeext conftest.$ac_ext
36032 ac_ext=c
36033 ac_cpp='$CPP $CPPFLAGS'
36034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36037
36038
36039
36040 fi
36041 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36042 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36043
36044 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36045 cat >>confdefs.h <<\_ACEOF
36046 #define HAVE_CXA_DEMANGLE 1
36047 _ACEOF
36048
36049 fi
36050 fi
36051 fi
36052
36053 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36054 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36055 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36056 wxUSE_STACKWALKER=no
36057 fi
36058
36059
36060
36061
36062 for ac_func in mkstemp mktemp
36063 do
36064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36068 echo $ECHO_N "(cached) $ECHO_C" >&6
36069 else
36070 cat >conftest.$ac_ext <<_ACEOF
36071 /* confdefs.h. */
36072 _ACEOF
36073 cat confdefs.h >>conftest.$ac_ext
36074 cat >>conftest.$ac_ext <<_ACEOF
36075 /* end confdefs.h. */
36076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36078 #define $ac_func innocuous_$ac_func
36079
36080 /* System header to define __stub macros and hopefully few prototypes,
36081 which can conflict with char $ac_func (); below.
36082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36083 <limits.h> exists even on freestanding compilers. */
36084
36085 #ifdef __STDC__
36086 # include <limits.h>
36087 #else
36088 # include <assert.h>
36089 #endif
36090
36091 #undef $ac_func
36092
36093 /* Override any GCC internal prototype to avoid an error.
36094 Use char because int might match the return type of a GCC
36095 builtin and then its argument prototype would still apply. */
36096 #ifdef __cplusplus
36097 extern "C"
36098 #endif
36099 char $ac_func ();
36100 /* The GNU C library defines this for functions which it implements
36101 to always fail with ENOSYS. Some functions are actually named
36102 something starting with __ and the normal name is an alias. */
36103 #if defined __stub_$ac_func || defined __stub___$ac_func
36104 choke me
36105 #endif
36106
36107 int
36108 main ()
36109 {
36110 return $ac_func ();
36111 ;
36112 return 0;
36113 }
36114 _ACEOF
36115 rm -f conftest.$ac_objext conftest$ac_exeext
36116 if { (ac_try="$ac_link"
36117 case "(($ac_try" in
36118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36119 *) ac_try_echo=$ac_try;;
36120 esac
36121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36122 (eval "$ac_link") 2>conftest.er1
36123 ac_status=$?
36124 grep -v '^ *+' conftest.er1 >conftest.err
36125 rm -f conftest.er1
36126 cat conftest.err >&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); } && {
36129 test -z "$ac_c_werror_flag" ||
36130 test ! -s conftest.err
36131 } && test -s conftest$ac_exeext &&
36132 $as_test_x conftest$ac_exeext; then
36133 eval "$as_ac_var=yes"
36134 else
36135 echo "$as_me: failed program was:" >&5
36136 sed 's/^/| /' conftest.$ac_ext >&5
36137
36138 eval "$as_ac_var=no"
36139 fi
36140
36141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36142 conftest$ac_exeext conftest.$ac_ext
36143 fi
36144 ac_res=`eval echo '${'$as_ac_var'}'`
36145 { echo "$as_me:$LINENO: result: $ac_res" >&5
36146 echo "${ECHO_T}$ac_res" >&6; }
36147 if test `eval echo '${'$as_ac_var'}'` = yes; then
36148 cat >>confdefs.h <<_ACEOF
36149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36150 _ACEOF
36151 break
36152 fi
36153 done
36154
36155
36156 { echo "$as_me:$LINENO: checking for statfs" >&5
36157 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36158 if test "${wx_cv_func_statfs+set}" = set; then
36159 echo $ECHO_N "(cached) $ECHO_C" >&6
36160 else
36161 cat >conftest.$ac_ext <<_ACEOF
36162 /* confdefs.h. */
36163 _ACEOF
36164 cat confdefs.h >>conftest.$ac_ext
36165 cat >>conftest.$ac_ext <<_ACEOF
36166 /* end confdefs.h. */
36167
36168 #if defined(__BSD__)
36169 #include <sys/param.h>
36170 #include <sys/mount.h>
36171 #else
36172 #include <sys/vfs.h>
36173 #endif
36174
36175 int
36176 main ()
36177 {
36178
36179 long l;
36180 struct statfs fs;
36181 statfs("/", &fs);
36182 l = fs.f_bsize;
36183 l += fs.f_blocks;
36184 l += fs.f_bavail;
36185
36186 ;
36187 return 0;
36188 }
36189 _ACEOF
36190 rm -f conftest.$ac_objext
36191 if { (ac_try="$ac_compile"
36192 case "(($ac_try" in
36193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36194 *) ac_try_echo=$ac_try;;
36195 esac
36196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36197 (eval "$ac_compile") 2>conftest.er1
36198 ac_status=$?
36199 grep -v '^ *+' conftest.er1 >conftest.err
36200 rm -f conftest.er1
36201 cat conftest.err >&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); } && {
36204 test -z "$ac_c_werror_flag" ||
36205 test ! -s conftest.err
36206 } && test -s conftest.$ac_objext; then
36207 wx_cv_func_statfs=yes
36208 else
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.$ac_ext >&5
36211
36212 wx_cv_func_statfs=no
36213
36214 fi
36215
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217
36218 fi
36219 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36220 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36221
36222 if test "$wx_cv_func_statfs" = "yes"; then
36223 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36224 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36225 if test "${wx_cv_func_statfs_decl+set}" = set; then
36226 echo $ECHO_N "(cached) $ECHO_C" >&6
36227 else
36228 ac_ext=cpp
36229 ac_cpp='$CXXCPP $CPPFLAGS'
36230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36233
36234 cat >conftest.$ac_ext <<_ACEOF
36235 /* confdefs.h. */
36236 _ACEOF
36237 cat confdefs.h >>conftest.$ac_ext
36238 cat >>conftest.$ac_ext <<_ACEOF
36239 /* end confdefs.h. */
36240
36241 #if defined(__BSD__)
36242 #include <sys/param.h>
36243 #include <sys/mount.h>
36244 #else
36245 #include <sys/vfs.h>
36246 #endif
36247
36248 int
36249 main ()
36250 {
36251
36252 struct statfs fs;
36253 statfs("", &fs);
36254
36255 ;
36256 return 0;
36257 }
36258 _ACEOF
36259 rm -f conftest.$ac_objext
36260 if { (ac_try="$ac_compile"
36261 case "(($ac_try" in
36262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36263 *) ac_try_echo=$ac_try;;
36264 esac
36265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36266 (eval "$ac_compile") 2>conftest.er1
36267 ac_status=$?
36268 grep -v '^ *+' conftest.er1 >conftest.err
36269 rm -f conftest.er1
36270 cat conftest.err >&5
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); } && {
36273 test -z "$ac_cxx_werror_flag" ||
36274 test ! -s conftest.err
36275 } && test -s conftest.$ac_objext; then
36276 wx_cv_func_statfs_decl=yes
36277 else
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.$ac_ext >&5
36280
36281 wx_cv_func_statfs_decl=no
36282
36283 fi
36284
36285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36286 ac_ext=c
36287 ac_cpp='$CPP $CPPFLAGS'
36288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36291
36292
36293 fi
36294 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36295 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36296
36297 if test "$wx_cv_func_statfs_decl" = "yes"; then
36298 cat >>confdefs.h <<\_ACEOF
36299 #define HAVE_STATFS_DECL 1
36300 _ACEOF
36301
36302 fi
36303
36304 wx_cv_type_statvfs_t="struct statfs"
36305 cat >>confdefs.h <<\_ACEOF
36306 #define HAVE_STATFS 1
36307 _ACEOF
36308
36309 else
36310 { echo "$as_me:$LINENO: checking for statvfs" >&5
36311 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36312 if test "${wx_cv_func_statvfs+set}" = set; then
36313 echo $ECHO_N "(cached) $ECHO_C" >&6
36314 else
36315 cat >conftest.$ac_ext <<_ACEOF
36316 /* confdefs.h. */
36317 _ACEOF
36318 cat confdefs.h >>conftest.$ac_ext
36319 cat >>conftest.$ac_ext <<_ACEOF
36320 /* end confdefs.h. */
36321
36322 #include <stddef.h>
36323 #include <sys/statvfs.h>
36324
36325 int
36326 main ()
36327 {
36328
36329 statvfs("/", NULL);
36330
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 rm -f conftest.$ac_objext
36336 if { (ac_try="$ac_compile"
36337 case "(($ac_try" in
36338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36339 *) ac_try_echo=$ac_try;;
36340 esac
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_compile") 2>conftest.er1
36343 ac_status=$?
36344 grep -v '^ *+' conftest.er1 >conftest.err
36345 rm -f conftest.er1
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_c_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest.$ac_objext; then
36352 wx_cv_func_statvfs=yes
36353 else
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36356
36357 wx_cv_func_statvfs=no
36358
36359 fi
36360
36361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36362
36363 fi
36364 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36365 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36366
36367 if test "$wx_cv_func_statvfs" = "yes"; then
36368 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36369 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36370 if test "${wx_cv_type_statvfs_t+set}" = set; then
36371 echo $ECHO_N "(cached) $ECHO_C" >&6
36372 else
36373 ac_ext=cpp
36374 ac_cpp='$CXXCPP $CPPFLAGS'
36375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36378
36379 cat >conftest.$ac_ext <<_ACEOF
36380 /* confdefs.h. */
36381 _ACEOF
36382 cat confdefs.h >>conftest.$ac_ext
36383 cat >>conftest.$ac_ext <<_ACEOF
36384 /* end confdefs.h. */
36385
36386 #include <sys/statvfs.h>
36387
36388 int
36389 main ()
36390 {
36391
36392 long l;
36393 statvfs_t fs;
36394 statvfs("/", &fs);
36395 l = fs.f_bsize;
36396 l += fs.f_blocks;
36397 l += fs.f_bavail;
36398
36399 ;
36400 return 0;
36401 }
36402 _ACEOF
36403 rm -f conftest.$ac_objext
36404 if { (ac_try="$ac_compile"
36405 case "(($ac_try" in
36406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36407 *) ac_try_echo=$ac_try;;
36408 esac
36409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36410 (eval "$ac_compile") 2>conftest.er1
36411 ac_status=$?
36412 grep -v '^ *+' conftest.er1 >conftest.err
36413 rm -f conftest.er1
36414 cat conftest.err >&5
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); } && {
36417 test -z "$ac_cxx_werror_flag" ||
36418 test ! -s conftest.err
36419 } && test -s conftest.$ac_objext; then
36420 wx_cv_type_statvfs_t=statvfs_t
36421 else
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36424
36425
36426 cat >conftest.$ac_ext <<_ACEOF
36427 /* confdefs.h. */
36428 _ACEOF
36429 cat confdefs.h >>conftest.$ac_ext
36430 cat >>conftest.$ac_ext <<_ACEOF
36431 /* end confdefs.h. */
36432
36433 #include <sys/statvfs.h>
36434
36435 int
36436 main ()
36437 {
36438
36439 long l;
36440 struct statvfs fs;
36441 statvfs("/", &fs);
36442 l = fs.f_bsize;
36443 l += fs.f_blocks;
36444 l += fs.f_bavail;
36445
36446 ;
36447 return 0;
36448 }
36449 _ACEOF
36450 rm -f conftest.$ac_objext
36451 if { (ac_try="$ac_compile"
36452 case "(($ac_try" in
36453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36454 *) ac_try_echo=$ac_try;;
36455 esac
36456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36457 (eval "$ac_compile") 2>conftest.er1
36458 ac_status=$?
36459 grep -v '^ *+' conftest.er1 >conftest.err
36460 rm -f conftest.er1
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } && {
36464 test -z "$ac_cxx_werror_flag" ||
36465 test ! -s conftest.err
36466 } && test -s conftest.$ac_objext; then
36467 wx_cv_type_statvfs_t="struct statvfs"
36468 else
36469 echo "$as_me: failed program was:" >&5
36470 sed 's/^/| /' conftest.$ac_ext >&5
36471
36472 wx_cv_type_statvfs_t="unknown"
36473
36474 fi
36475
36476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36477
36478
36479 fi
36480
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36487
36488
36489 fi
36490 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36491 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36492
36493 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36494 cat >>confdefs.h <<\_ACEOF
36495 #define HAVE_STATVFS 1
36496 _ACEOF
36497
36498 fi
36499 else
36500 wx_cv_type_statvfs_t="unknown"
36501 fi
36502 fi
36503
36504 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36505 cat >>confdefs.h <<_ACEOF
36506 #define WX_STATFS_T $wx_cv_type_statvfs_t
36507 _ACEOF
36508
36509 else
36510 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36511 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36512 fi
36513
36514 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36515
36516
36517 for ac_func in fcntl flock
36518 do
36519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36520 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36523 echo $ECHO_N "(cached) $ECHO_C" >&6
36524 else
36525 cat >conftest.$ac_ext <<_ACEOF
36526 /* confdefs.h. */
36527 _ACEOF
36528 cat confdefs.h >>conftest.$ac_ext
36529 cat >>conftest.$ac_ext <<_ACEOF
36530 /* end confdefs.h. */
36531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36533 #define $ac_func innocuous_$ac_func
36534
36535 /* System header to define __stub macros and hopefully few prototypes,
36536 which can conflict with char $ac_func (); below.
36537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36538 <limits.h> exists even on freestanding compilers. */
36539
36540 #ifdef __STDC__
36541 # include <limits.h>
36542 #else
36543 # include <assert.h>
36544 #endif
36545
36546 #undef $ac_func
36547
36548 /* Override any GCC internal prototype to avoid an error.
36549 Use char because int might match the return type of a GCC
36550 builtin and then its argument prototype would still apply. */
36551 #ifdef __cplusplus
36552 extern "C"
36553 #endif
36554 char $ac_func ();
36555 /* The GNU C library defines this for functions which it implements
36556 to always fail with ENOSYS. Some functions are actually named
36557 something starting with __ and the normal name is an alias. */
36558 #if defined __stub_$ac_func || defined __stub___$ac_func
36559 choke me
36560 #endif
36561
36562 int
36563 main ()
36564 {
36565 return $ac_func ();
36566 ;
36567 return 0;
36568 }
36569 _ACEOF
36570 rm -f conftest.$ac_objext conftest$ac_exeext
36571 if { (ac_try="$ac_link"
36572 case "(($ac_try" in
36573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36574 *) ac_try_echo=$ac_try;;
36575 esac
36576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36577 (eval "$ac_link") 2>conftest.er1
36578 ac_status=$?
36579 grep -v '^ *+' conftest.er1 >conftest.err
36580 rm -f conftest.er1
36581 cat conftest.err >&5
36582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583 (exit $ac_status); } && {
36584 test -z "$ac_c_werror_flag" ||
36585 test ! -s conftest.err
36586 } && test -s conftest$ac_exeext &&
36587 $as_test_x conftest$ac_exeext; then
36588 eval "$as_ac_var=yes"
36589 else
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36592
36593 eval "$as_ac_var=no"
36594 fi
36595
36596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36597 conftest$ac_exeext conftest.$ac_ext
36598 fi
36599 ac_res=`eval echo '${'$as_ac_var'}'`
36600 { echo "$as_me:$LINENO: result: $ac_res" >&5
36601 echo "${ECHO_T}$ac_res" >&6; }
36602 if test `eval echo '${'$as_ac_var'}'` = yes; then
36603 cat >>confdefs.h <<_ACEOF
36604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36605 _ACEOF
36606 break
36607 fi
36608 done
36609
36610
36611 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36612 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36613 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36614 wxUSE_SNGLINST_CHECKER=no
36615 fi
36616 fi
36617
36618
36619 for ac_func in timegm
36620 do
36621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36624 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36625 echo $ECHO_N "(cached) $ECHO_C" >&6
36626 else
36627 cat >conftest.$ac_ext <<_ACEOF
36628 /* confdefs.h. */
36629 _ACEOF
36630 cat confdefs.h >>conftest.$ac_ext
36631 cat >>conftest.$ac_ext <<_ACEOF
36632 /* end confdefs.h. */
36633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36635 #define $ac_func innocuous_$ac_func
36636
36637 /* System header to define __stub macros and hopefully few prototypes,
36638 which can conflict with char $ac_func (); below.
36639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36640 <limits.h> exists even on freestanding compilers. */
36641
36642 #ifdef __STDC__
36643 # include <limits.h>
36644 #else
36645 # include <assert.h>
36646 #endif
36647
36648 #undef $ac_func
36649
36650 /* Override any GCC internal prototype to avoid an error.
36651 Use char because int might match the return type of a GCC
36652 builtin and then its argument prototype would still apply. */
36653 #ifdef __cplusplus
36654 extern "C"
36655 #endif
36656 char $ac_func ();
36657 /* The GNU C library defines this for functions which it implements
36658 to always fail with ENOSYS. Some functions are actually named
36659 something starting with __ and the normal name is an alias. */
36660 #if defined __stub_$ac_func || defined __stub___$ac_func
36661 choke me
36662 #endif
36663
36664 int
36665 main ()
36666 {
36667 return $ac_func ();
36668 ;
36669 return 0;
36670 }
36671 _ACEOF
36672 rm -f conftest.$ac_objext conftest$ac_exeext
36673 if { (ac_try="$ac_link"
36674 case "(($ac_try" in
36675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36676 *) ac_try_echo=$ac_try;;
36677 esac
36678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36679 (eval "$ac_link") 2>conftest.er1
36680 ac_status=$?
36681 grep -v '^ *+' conftest.er1 >conftest.err
36682 rm -f conftest.er1
36683 cat conftest.err >&5
36684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36685 (exit $ac_status); } && {
36686 test -z "$ac_c_werror_flag" ||
36687 test ! -s conftest.err
36688 } && test -s conftest$ac_exeext &&
36689 $as_test_x conftest$ac_exeext; then
36690 eval "$as_ac_var=yes"
36691 else
36692 echo "$as_me: failed program was:" >&5
36693 sed 's/^/| /' conftest.$ac_ext >&5
36694
36695 eval "$as_ac_var=no"
36696 fi
36697
36698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36699 conftest$ac_exeext conftest.$ac_ext
36700 fi
36701 ac_res=`eval echo '${'$as_ac_var'}'`
36702 { echo "$as_me:$LINENO: result: $ac_res" >&5
36703 echo "${ECHO_T}$ac_res" >&6; }
36704 if test `eval echo '${'$as_ac_var'}'` = yes; then
36705 cat >>confdefs.h <<_ACEOF
36706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36707 _ACEOF
36708
36709 fi
36710 done
36711
36712
36713
36714
36715 for ac_func in putenv setenv
36716 do
36717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36722 else
36723 cat >conftest.$ac_ext <<_ACEOF
36724 /* confdefs.h. */
36725 _ACEOF
36726 cat confdefs.h >>conftest.$ac_ext
36727 cat >>conftest.$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36731 #define $ac_func innocuous_$ac_func
36732
36733 /* System header to define __stub macros and hopefully few prototypes,
36734 which can conflict with char $ac_func (); below.
36735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36736 <limits.h> exists even on freestanding compilers. */
36737
36738 #ifdef __STDC__
36739 # include <limits.h>
36740 #else
36741 # include <assert.h>
36742 #endif
36743
36744 #undef $ac_func
36745
36746 /* Override any GCC internal prototype to avoid an error.
36747 Use char because int might match the return type of a GCC
36748 builtin and then its argument prototype would still apply. */
36749 #ifdef __cplusplus
36750 extern "C"
36751 #endif
36752 char $ac_func ();
36753 /* The GNU C library defines this for functions which it implements
36754 to always fail with ENOSYS. Some functions are actually named
36755 something starting with __ and the normal name is an alias. */
36756 #if defined __stub_$ac_func || defined __stub___$ac_func
36757 choke me
36758 #endif
36759
36760 int
36761 main ()
36762 {
36763 return $ac_func ();
36764 ;
36765 return 0;
36766 }
36767 _ACEOF
36768 rm -f conftest.$ac_objext conftest$ac_exeext
36769 if { (ac_try="$ac_link"
36770 case "(($ac_try" in
36771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36772 *) ac_try_echo=$ac_try;;
36773 esac
36774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36775 (eval "$ac_link") 2>conftest.er1
36776 ac_status=$?
36777 grep -v '^ *+' conftest.er1 >conftest.err
36778 rm -f conftest.er1
36779 cat conftest.err >&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); } && {
36782 test -z "$ac_c_werror_flag" ||
36783 test ! -s conftest.err
36784 } && test -s conftest$ac_exeext &&
36785 $as_test_x conftest$ac_exeext; then
36786 eval "$as_ac_var=yes"
36787 else
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.$ac_ext >&5
36790
36791 eval "$as_ac_var=no"
36792 fi
36793
36794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36795 conftest$ac_exeext conftest.$ac_ext
36796 fi
36797 ac_res=`eval echo '${'$as_ac_var'}'`
36798 { echo "$as_me:$LINENO: result: $ac_res" >&5
36799 echo "${ECHO_T}$ac_res" >&6; }
36800 if test `eval echo '${'$as_ac_var'}'` = yes; then
36801 cat >>confdefs.h <<_ACEOF
36802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36803 _ACEOF
36804 break
36805 fi
36806 done
36807
36808
36809 HAVE_SOME_SLEEP_FUNC=0
36810 if test "$USE_BEOS" = 1; then
36811 cat >>confdefs.h <<\_ACEOF
36812 #define HAVE_SLEEP 1
36813 _ACEOF
36814
36815 HAVE_SOME_SLEEP_FUNC=1
36816 fi
36817
36818 if test "$USE_DARWIN" = 1; then
36819 cat >>confdefs.h <<\_ACEOF
36820 #define HAVE_USLEEP 1
36821 _ACEOF
36822
36823 HAVE_SOME_SLEEP_FUNC=1
36824 fi
36825
36826 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36827 POSIX4_LINK=
36828
36829 for ac_func in nanosleep
36830 do
36831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36832 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36834 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36835 echo $ECHO_N "(cached) $ECHO_C" >&6
36836 else
36837 cat >conftest.$ac_ext <<_ACEOF
36838 /* confdefs.h. */
36839 _ACEOF
36840 cat confdefs.h >>conftest.$ac_ext
36841 cat >>conftest.$ac_ext <<_ACEOF
36842 /* end confdefs.h. */
36843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36845 #define $ac_func innocuous_$ac_func
36846
36847 /* System header to define __stub macros and hopefully few prototypes,
36848 which can conflict with char $ac_func (); below.
36849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36850 <limits.h> exists even on freestanding compilers. */
36851
36852 #ifdef __STDC__
36853 # include <limits.h>
36854 #else
36855 # include <assert.h>
36856 #endif
36857
36858 #undef $ac_func
36859
36860 /* Override any GCC internal prototype to avoid an error.
36861 Use char because int might match the return type of a GCC
36862 builtin and then its argument prototype would still apply. */
36863 #ifdef __cplusplus
36864 extern "C"
36865 #endif
36866 char $ac_func ();
36867 /* The GNU C library defines this for functions which it implements
36868 to always fail with ENOSYS. Some functions are actually named
36869 something starting with __ and the normal name is an alias. */
36870 #if defined __stub_$ac_func || defined __stub___$ac_func
36871 choke me
36872 #endif
36873
36874 int
36875 main ()
36876 {
36877 return $ac_func ();
36878 ;
36879 return 0;
36880 }
36881 _ACEOF
36882 rm -f conftest.$ac_objext conftest$ac_exeext
36883 if { (ac_try="$ac_link"
36884 case "(($ac_try" in
36885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36886 *) ac_try_echo=$ac_try;;
36887 esac
36888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36889 (eval "$ac_link") 2>conftest.er1
36890 ac_status=$?
36891 grep -v '^ *+' conftest.er1 >conftest.err
36892 rm -f conftest.er1
36893 cat conftest.err >&5
36894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36895 (exit $ac_status); } && {
36896 test -z "$ac_c_werror_flag" ||
36897 test ! -s conftest.err
36898 } && test -s conftest$ac_exeext &&
36899 $as_test_x conftest$ac_exeext; then
36900 eval "$as_ac_var=yes"
36901 else
36902 echo "$as_me: failed program was:" >&5
36903 sed 's/^/| /' conftest.$ac_ext >&5
36904
36905 eval "$as_ac_var=no"
36906 fi
36907
36908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36909 conftest$ac_exeext conftest.$ac_ext
36910 fi
36911 ac_res=`eval echo '${'$as_ac_var'}'`
36912 { echo "$as_me:$LINENO: result: $ac_res" >&5
36913 echo "${ECHO_T}$ac_res" >&6; }
36914 if test `eval echo '${'$as_ac_var'}'` = yes; then
36915 cat >>confdefs.h <<_ACEOF
36916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36917 _ACEOF
36918 cat >>confdefs.h <<\_ACEOF
36919 #define HAVE_NANOSLEEP 1
36920 _ACEOF
36921
36922 else
36923
36924 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36925 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36926 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36927 echo $ECHO_N "(cached) $ECHO_C" >&6
36928 else
36929 ac_check_lib_save_LIBS=$LIBS
36930 LIBS="-lposix4 $LIBS"
36931 cat >conftest.$ac_ext <<_ACEOF
36932 /* confdefs.h. */
36933 _ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937
36938 /* Override any GCC internal prototype to avoid an error.
36939 Use char because int might match the return type of a GCC
36940 builtin and then its argument prototype would still apply. */
36941 #ifdef __cplusplus
36942 extern "C"
36943 #endif
36944 char nanosleep ();
36945 int
36946 main ()
36947 {
36948 return nanosleep ();
36949 ;
36950 return 0;
36951 }
36952 _ACEOF
36953 rm -f conftest.$ac_objext conftest$ac_exeext
36954 if { (ac_try="$ac_link"
36955 case "(($ac_try" in
36956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36957 *) ac_try_echo=$ac_try;;
36958 esac
36959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36960 (eval "$ac_link") 2>conftest.er1
36961 ac_status=$?
36962 grep -v '^ *+' conftest.er1 >conftest.err
36963 rm -f conftest.er1
36964 cat conftest.err >&5
36965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36966 (exit $ac_status); } && {
36967 test -z "$ac_c_werror_flag" ||
36968 test ! -s conftest.err
36969 } && test -s conftest$ac_exeext &&
36970 $as_test_x conftest$ac_exeext; then
36971 ac_cv_lib_posix4_nanosleep=yes
36972 else
36973 echo "$as_me: failed program was:" >&5
36974 sed 's/^/| /' conftest.$ac_ext >&5
36975
36976 ac_cv_lib_posix4_nanosleep=no
36977 fi
36978
36979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36980 conftest$ac_exeext conftest.$ac_ext
36981 LIBS=$ac_check_lib_save_LIBS
36982 fi
36983 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36984 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36985 if test $ac_cv_lib_posix4_nanosleep = yes; then
36986
36987 cat >>confdefs.h <<\_ACEOF
36988 #define HAVE_NANOSLEEP 1
36989 _ACEOF
36990
36991 POSIX4_LINK=" -lposix4"
36992
36993 else
36994
36995
36996 for wx_func in usleep
36997 do
36998 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36999 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37000 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37001 echo $ECHO_N "(cached) $ECHO_C" >&6
37002 else
37003
37004 cat >conftest.$ac_ext <<_ACEOF
37005
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011
37012
37013 $ac_includes_default
37014
37015 int
37016 main ()
37017 {
37018
37019 #ifndef $wx_func
37020 &$wx_func;
37021 #endif
37022
37023
37024 ;
37025 return 0;
37026 }
37027
37028 _ACEOF
37029 rm -f conftest.$ac_objext conftest$ac_exeext
37030 if { (ac_try="$ac_link"
37031 case "(($ac_try" in
37032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37033 *) ac_try_echo=$ac_try;;
37034 esac
37035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37036 (eval "$ac_link") 2>conftest.er1
37037 ac_status=$?
37038 grep -v '^ *+' conftest.er1 >conftest.err
37039 rm -f conftest.er1
37040 cat conftest.err >&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); } && {
37043 test -z "$ac_c_werror_flag" ||
37044 test ! -s conftest.err
37045 } && test -s conftest$ac_exeext &&
37046 $as_test_x conftest$ac_exeext; then
37047 eval wx_cv_func_$wx_func=yes
37048 else
37049 echo "$as_me: failed program was:" >&5
37050 sed 's/^/| /' conftest.$ac_ext >&5
37051
37052 eval wx_cv_func_$wx_func=no
37053 fi
37054
37055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37056 conftest$ac_exeext conftest.$ac_ext
37057
37058 fi
37059 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37060 { echo "$as_me:$LINENO: result: $ac_res" >&5
37061 echo "${ECHO_T}$ac_res" >&6; }
37062
37063 if eval test \$wx_cv_func_$wx_func = yes
37064 then
37065 cat >>confdefs.h <<_ACEOF
37066 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37067 _ACEOF
37068
37069
37070 else
37071 :
37072 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37073 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37074
37075 fi
37076 done
37077
37078
37079
37080 fi
37081
37082
37083
37084 fi
37085 done
37086
37087 fi
37088
37089
37090 for wx_func in uname
37091 do
37092 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37093 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37094 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37096 else
37097
37098 cat >conftest.$ac_ext <<_ACEOF
37099
37100 /* confdefs.h. */
37101 _ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105
37106 #include <sys/utsname.h>
37107 $ac_includes_default
37108
37109 int
37110 main ()
37111 {
37112
37113 #ifndef $wx_func
37114 &$wx_func;
37115 #endif
37116
37117
37118 ;
37119 return 0;
37120 }
37121
37122 _ACEOF
37123 rm -f conftest.$ac_objext conftest$ac_exeext
37124 if { (ac_try="$ac_link"
37125 case "(($ac_try" in
37126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37127 *) ac_try_echo=$ac_try;;
37128 esac
37129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37130 (eval "$ac_link") 2>conftest.er1
37131 ac_status=$?
37132 grep -v '^ *+' conftest.er1 >conftest.err
37133 rm -f conftest.er1
37134 cat conftest.err >&5
37135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136 (exit $ac_status); } && {
37137 test -z "$ac_c_werror_flag" ||
37138 test ! -s conftest.err
37139 } && test -s conftest$ac_exeext &&
37140 $as_test_x conftest$ac_exeext; then
37141 eval wx_cv_func_$wx_func=yes
37142 else
37143 echo "$as_me: failed program was:" >&5
37144 sed 's/^/| /' conftest.$ac_ext >&5
37145
37146 eval wx_cv_func_$wx_func=no
37147 fi
37148
37149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37150 conftest$ac_exeext conftest.$ac_ext
37151
37152 fi
37153 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37154 { echo "$as_me:$LINENO: result: $ac_res" >&5
37155 echo "${ECHO_T}$ac_res" >&6; }
37156
37157 if eval test \$wx_cv_func_$wx_func = yes
37158 then
37159 cat >>confdefs.h <<_ACEOF
37160 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37161 _ACEOF
37162
37163
37164 else
37165 :
37166
37167 fi
37168 done
37169
37170 if test "$wx_cv_func_uname" != yes; then
37171
37172 for wx_func in gethostname
37173 do
37174 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37176 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37177 echo $ECHO_N "(cached) $ECHO_C" >&6
37178 else
37179
37180 cat >conftest.$ac_ext <<_ACEOF
37181
37182 /* confdefs.h. */
37183 _ACEOF
37184 cat confdefs.h >>conftest.$ac_ext
37185 cat >>conftest.$ac_ext <<_ACEOF
37186 /* end confdefs.h. */
37187
37188
37189 $ac_includes_default
37190
37191 int
37192 main ()
37193 {
37194
37195 #ifndef $wx_func
37196 &$wx_func;
37197 #endif
37198
37199
37200 ;
37201 return 0;
37202 }
37203
37204 _ACEOF
37205 rm -f conftest.$ac_objext conftest$ac_exeext
37206 if { (ac_try="$ac_link"
37207 case "(($ac_try" in
37208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37209 *) ac_try_echo=$ac_try;;
37210 esac
37211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37212 (eval "$ac_link") 2>conftest.er1
37213 ac_status=$?
37214 grep -v '^ *+' conftest.er1 >conftest.err
37215 rm -f conftest.er1
37216 cat conftest.err >&5
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); } && {
37219 test -z "$ac_c_werror_flag" ||
37220 test ! -s conftest.err
37221 } && test -s conftest$ac_exeext &&
37222 $as_test_x conftest$ac_exeext; then
37223 eval wx_cv_func_$wx_func=yes
37224 else
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37227
37228 eval wx_cv_func_$wx_func=no
37229 fi
37230
37231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37232 conftest$ac_exeext conftest.$ac_ext
37233
37234 fi
37235 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37236 { echo "$as_me:$LINENO: result: $ac_res" >&5
37237 echo "${ECHO_T}$ac_res" >&6; }
37238
37239 if eval test \$wx_cv_func_$wx_func = yes
37240 then
37241 cat >>confdefs.h <<_ACEOF
37242 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37243 _ACEOF
37244
37245
37246 else
37247 :
37248
37249 fi
37250 done
37251
37252 fi
37253
37254
37255 for wx_func in strtok_r
37256 do
37257 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37258 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37259 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37260 echo $ECHO_N "(cached) $ECHO_C" >&6
37261 else
37262
37263 cat >conftest.$ac_ext <<_ACEOF
37264
37265 /* confdefs.h. */
37266 _ACEOF
37267 cat confdefs.h >>conftest.$ac_ext
37268 cat >>conftest.$ac_ext <<_ACEOF
37269 /* end confdefs.h. */
37270
37271 #define _REENTRANT
37272 $ac_includes_default
37273
37274 int
37275 main ()
37276 {
37277
37278 #ifndef $wx_func
37279 &$wx_func;
37280 #endif
37281
37282
37283 ;
37284 return 0;
37285 }
37286
37287 _ACEOF
37288 rm -f conftest.$ac_objext conftest$ac_exeext
37289 if { (ac_try="$ac_link"
37290 case "(($ac_try" in
37291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37292 *) ac_try_echo=$ac_try;;
37293 esac
37294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37295 (eval "$ac_link") 2>conftest.er1
37296 ac_status=$?
37297 grep -v '^ *+' conftest.er1 >conftest.err
37298 rm -f conftest.er1
37299 cat conftest.err >&5
37300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37301 (exit $ac_status); } && {
37302 test -z "$ac_c_werror_flag" ||
37303 test ! -s conftest.err
37304 } && test -s conftest$ac_exeext &&
37305 $as_test_x conftest$ac_exeext; then
37306 eval wx_cv_func_$wx_func=yes
37307 else
37308 echo "$as_me: failed program was:" >&5
37309 sed 's/^/| /' conftest.$ac_ext >&5
37310
37311 eval wx_cv_func_$wx_func=no
37312 fi
37313
37314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37315 conftest$ac_exeext conftest.$ac_ext
37316
37317 fi
37318 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37319 { echo "$as_me:$LINENO: result: $ac_res" >&5
37320 echo "${ECHO_T}$ac_res" >&6; }
37321
37322 if eval test \$wx_cv_func_$wx_func = yes
37323 then
37324 cat >>confdefs.h <<_ACEOF
37325 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37326 _ACEOF
37327
37328
37329 else
37330 :
37331
37332 fi
37333 done
37334
37335
37336 INET_LINK=
37337
37338 for ac_func in inet_addr
37339 do
37340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37345 else
37346 cat >conftest.$ac_ext <<_ACEOF
37347 /* confdefs.h. */
37348 _ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37354 #define $ac_func innocuous_$ac_func
37355
37356 /* System header to define __stub macros and hopefully few prototypes,
37357 which can conflict with char $ac_func (); below.
37358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37359 <limits.h> exists even on freestanding compilers. */
37360
37361 #ifdef __STDC__
37362 # include <limits.h>
37363 #else
37364 # include <assert.h>
37365 #endif
37366
37367 #undef $ac_func
37368
37369 /* Override any GCC internal prototype to avoid an error.
37370 Use char because int might match the return type of a GCC
37371 builtin and then its argument prototype would still apply. */
37372 #ifdef __cplusplus
37373 extern "C"
37374 #endif
37375 char $ac_func ();
37376 /* The GNU C library defines this for functions which it implements
37377 to always fail with ENOSYS. Some functions are actually named
37378 something starting with __ and the normal name is an alias. */
37379 #if defined __stub_$ac_func || defined __stub___$ac_func
37380 choke me
37381 #endif
37382
37383 int
37384 main ()
37385 {
37386 return $ac_func ();
37387 ;
37388 return 0;
37389 }
37390 _ACEOF
37391 rm -f conftest.$ac_objext conftest$ac_exeext
37392 if { (ac_try="$ac_link"
37393 case "(($ac_try" in
37394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37395 *) ac_try_echo=$ac_try;;
37396 esac
37397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37398 (eval "$ac_link") 2>conftest.er1
37399 ac_status=$?
37400 grep -v '^ *+' conftest.er1 >conftest.err
37401 rm -f conftest.er1
37402 cat conftest.err >&5
37403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37404 (exit $ac_status); } && {
37405 test -z "$ac_c_werror_flag" ||
37406 test ! -s conftest.err
37407 } && test -s conftest$ac_exeext &&
37408 $as_test_x conftest$ac_exeext; then
37409 eval "$as_ac_var=yes"
37410 else
37411 echo "$as_me: failed program was:" >&5
37412 sed 's/^/| /' conftest.$ac_ext >&5
37413
37414 eval "$as_ac_var=no"
37415 fi
37416
37417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37418 conftest$ac_exeext conftest.$ac_ext
37419 fi
37420 ac_res=`eval echo '${'$as_ac_var'}'`
37421 { echo "$as_me:$LINENO: result: $ac_res" >&5
37422 echo "${ECHO_T}$ac_res" >&6; }
37423 if test `eval echo '${'$as_ac_var'}'` = yes; then
37424 cat >>confdefs.h <<_ACEOF
37425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37426 _ACEOF
37427 cat >>confdefs.h <<\_ACEOF
37428 #define HAVE_INET_ADDR 1
37429 _ACEOF
37430
37431 else
37432
37433 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37434 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37435 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37436 echo $ECHO_N "(cached) $ECHO_C" >&6
37437 else
37438 ac_check_lib_save_LIBS=$LIBS
37439 LIBS="-lnsl $LIBS"
37440 cat >conftest.$ac_ext <<_ACEOF
37441 /* confdefs.h. */
37442 _ACEOF
37443 cat confdefs.h >>conftest.$ac_ext
37444 cat >>conftest.$ac_ext <<_ACEOF
37445 /* end confdefs.h. */
37446
37447 /* Override any GCC internal prototype to avoid an error.
37448 Use char because int might match the return type of a GCC
37449 builtin and then its argument prototype would still apply. */
37450 #ifdef __cplusplus
37451 extern "C"
37452 #endif
37453 char inet_addr ();
37454 int
37455 main ()
37456 {
37457 return inet_addr ();
37458 ;
37459 return 0;
37460 }
37461 _ACEOF
37462 rm -f conftest.$ac_objext conftest$ac_exeext
37463 if { (ac_try="$ac_link"
37464 case "(($ac_try" in
37465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37466 *) ac_try_echo=$ac_try;;
37467 esac
37468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37469 (eval "$ac_link") 2>conftest.er1
37470 ac_status=$?
37471 grep -v '^ *+' conftest.er1 >conftest.err
37472 rm -f conftest.er1
37473 cat conftest.err >&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } && {
37476 test -z "$ac_c_werror_flag" ||
37477 test ! -s conftest.err
37478 } && test -s conftest$ac_exeext &&
37479 $as_test_x conftest$ac_exeext; then
37480 ac_cv_lib_nsl_inet_addr=yes
37481 else
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.$ac_ext >&5
37484
37485 ac_cv_lib_nsl_inet_addr=no
37486 fi
37487
37488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37489 conftest$ac_exeext conftest.$ac_ext
37490 LIBS=$ac_check_lib_save_LIBS
37491 fi
37492 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37493 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37494 if test $ac_cv_lib_nsl_inet_addr = yes; then
37495 INET_LINK="nsl"
37496 else
37497
37498 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37499 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37500 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37502 else
37503 ac_check_lib_save_LIBS=$LIBS
37504 LIBS="-lresolv $LIBS"
37505 cat >conftest.$ac_ext <<_ACEOF
37506 /* confdefs.h. */
37507 _ACEOF
37508 cat confdefs.h >>conftest.$ac_ext
37509 cat >>conftest.$ac_ext <<_ACEOF
37510 /* end confdefs.h. */
37511
37512 /* Override any GCC internal prototype to avoid an error.
37513 Use char because int might match the return type of a GCC
37514 builtin and then its argument prototype would still apply. */
37515 #ifdef __cplusplus
37516 extern "C"
37517 #endif
37518 char inet_addr ();
37519 int
37520 main ()
37521 {
37522 return inet_addr ();
37523 ;
37524 return 0;
37525 }
37526 _ACEOF
37527 rm -f conftest.$ac_objext conftest$ac_exeext
37528 if { (ac_try="$ac_link"
37529 case "(($ac_try" in
37530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37531 *) ac_try_echo=$ac_try;;
37532 esac
37533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37534 (eval "$ac_link") 2>conftest.er1
37535 ac_status=$?
37536 grep -v '^ *+' conftest.er1 >conftest.err
37537 rm -f conftest.er1
37538 cat conftest.err >&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); } && {
37541 test -z "$ac_c_werror_flag" ||
37542 test ! -s conftest.err
37543 } && test -s conftest$ac_exeext &&
37544 $as_test_x conftest$ac_exeext; then
37545 ac_cv_lib_resolv_inet_addr=yes
37546 else
37547 echo "$as_me: failed program was:" >&5
37548 sed 's/^/| /' conftest.$ac_ext >&5
37549
37550 ac_cv_lib_resolv_inet_addr=no
37551 fi
37552
37553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37554 conftest$ac_exeext conftest.$ac_ext
37555 LIBS=$ac_check_lib_save_LIBS
37556 fi
37557 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37558 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37559 if test $ac_cv_lib_resolv_inet_addr = yes; then
37560 INET_LINK="resolv"
37561 else
37562
37563 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37564 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37565 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37566 echo $ECHO_N "(cached) $ECHO_C" >&6
37567 else
37568 ac_check_lib_save_LIBS=$LIBS
37569 LIBS="-lsocket $LIBS"
37570 cat >conftest.$ac_ext <<_ACEOF
37571 /* confdefs.h. */
37572 _ACEOF
37573 cat confdefs.h >>conftest.$ac_ext
37574 cat >>conftest.$ac_ext <<_ACEOF
37575 /* end confdefs.h. */
37576
37577 /* Override any GCC internal prototype to avoid an error.
37578 Use char because int might match the return type of a GCC
37579 builtin and then its argument prototype would still apply. */
37580 #ifdef __cplusplus
37581 extern "C"
37582 #endif
37583 char inet_addr ();
37584 int
37585 main ()
37586 {
37587 return inet_addr ();
37588 ;
37589 return 0;
37590 }
37591 _ACEOF
37592 rm -f conftest.$ac_objext conftest$ac_exeext
37593 if { (ac_try="$ac_link"
37594 case "(($ac_try" in
37595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37596 *) ac_try_echo=$ac_try;;
37597 esac
37598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37599 (eval "$ac_link") 2>conftest.er1
37600 ac_status=$?
37601 grep -v '^ *+' conftest.er1 >conftest.err
37602 rm -f conftest.er1
37603 cat conftest.err >&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); } && {
37606 test -z "$ac_c_werror_flag" ||
37607 test ! -s conftest.err
37608 } && test -s conftest$ac_exeext &&
37609 $as_test_x conftest$ac_exeext; then
37610 ac_cv_lib_socket_inet_addr=yes
37611 else
37612 echo "$as_me: failed program was:" >&5
37613 sed 's/^/| /' conftest.$ac_ext >&5
37614
37615 ac_cv_lib_socket_inet_addr=no
37616 fi
37617
37618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37619 conftest$ac_exeext conftest.$ac_ext
37620 LIBS=$ac_check_lib_save_LIBS
37621 fi
37622 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37623 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37624 if test $ac_cv_lib_socket_inet_addr = yes; then
37625 INET_LINK="socket"
37626
37627 fi
37628
37629
37630
37631 fi
37632
37633
37634
37635 fi
37636
37637
37638
37639 fi
37640 done
37641
37642
37643
37644 for ac_func in inet_aton
37645 do
37646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37649 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37650 echo $ECHO_N "(cached) $ECHO_C" >&6
37651 else
37652 cat >conftest.$ac_ext <<_ACEOF
37653 /* confdefs.h. */
37654 _ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37660 #define $ac_func innocuous_$ac_func
37661
37662 /* System header to define __stub macros and hopefully few prototypes,
37663 which can conflict with char $ac_func (); below.
37664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37665 <limits.h> exists even on freestanding compilers. */
37666
37667 #ifdef __STDC__
37668 # include <limits.h>
37669 #else
37670 # include <assert.h>
37671 #endif
37672
37673 #undef $ac_func
37674
37675 /* Override any GCC internal prototype to avoid an error.
37676 Use char because int might match the return type of a GCC
37677 builtin and then its argument prototype would still apply. */
37678 #ifdef __cplusplus
37679 extern "C"
37680 #endif
37681 char $ac_func ();
37682 /* The GNU C library defines this for functions which it implements
37683 to always fail with ENOSYS. Some functions are actually named
37684 something starting with __ and the normal name is an alias. */
37685 #if defined __stub_$ac_func || defined __stub___$ac_func
37686 choke me
37687 #endif
37688
37689 int
37690 main ()
37691 {
37692 return $ac_func ();
37693 ;
37694 return 0;
37695 }
37696 _ACEOF
37697 rm -f conftest.$ac_objext conftest$ac_exeext
37698 if { (ac_try="$ac_link"
37699 case "(($ac_try" in
37700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37701 *) ac_try_echo=$ac_try;;
37702 esac
37703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37704 (eval "$ac_link") 2>conftest.er1
37705 ac_status=$?
37706 grep -v '^ *+' conftest.er1 >conftest.err
37707 rm -f conftest.er1
37708 cat conftest.err >&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } && {
37711 test -z "$ac_c_werror_flag" ||
37712 test ! -s conftest.err
37713 } && test -s conftest$ac_exeext &&
37714 $as_test_x conftest$ac_exeext; then
37715 eval "$as_ac_var=yes"
37716 else
37717 echo "$as_me: failed program was:" >&5
37718 sed 's/^/| /' conftest.$ac_ext >&5
37719
37720 eval "$as_ac_var=no"
37721 fi
37722
37723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37724 conftest$ac_exeext conftest.$ac_ext
37725 fi
37726 ac_res=`eval echo '${'$as_ac_var'}'`
37727 { echo "$as_me:$LINENO: result: $ac_res" >&5
37728 echo "${ECHO_T}$ac_res" >&6; }
37729 if test `eval echo '${'$as_ac_var'}'` = yes; then
37730 cat >>confdefs.h <<_ACEOF
37731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37732 _ACEOF
37733 cat >>confdefs.h <<\_ACEOF
37734 #define HAVE_INET_ATON 1
37735 _ACEOF
37736
37737 else
37738
37739 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37740 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37741 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37742 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37743 echo $ECHO_N "(cached) $ECHO_C" >&6
37744 else
37745 ac_check_lib_save_LIBS=$LIBS
37746 LIBS="-l$INET_LINK $LIBS"
37747 cat >conftest.$ac_ext <<_ACEOF
37748 /* confdefs.h. */
37749 _ACEOF
37750 cat confdefs.h >>conftest.$ac_ext
37751 cat >>conftest.$ac_ext <<_ACEOF
37752 /* end confdefs.h. */
37753
37754 /* Override any GCC internal prototype to avoid an error.
37755 Use char because int might match the return type of a GCC
37756 builtin and then its argument prototype would still apply. */
37757 #ifdef __cplusplus
37758 extern "C"
37759 #endif
37760 char inet_aton ();
37761 int
37762 main ()
37763 {
37764 return inet_aton ();
37765 ;
37766 return 0;
37767 }
37768 _ACEOF
37769 rm -f conftest.$ac_objext conftest$ac_exeext
37770 if { (ac_try="$ac_link"
37771 case "(($ac_try" in
37772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37773 *) ac_try_echo=$ac_try;;
37774 esac
37775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37776 (eval "$ac_link") 2>conftest.er1
37777 ac_status=$?
37778 grep -v '^ *+' conftest.er1 >conftest.err
37779 rm -f conftest.er1
37780 cat conftest.err >&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } && {
37783 test -z "$ac_c_werror_flag" ||
37784 test ! -s conftest.err
37785 } && test -s conftest$ac_exeext &&
37786 $as_test_x conftest$ac_exeext; then
37787 eval "$as_ac_Lib=yes"
37788 else
37789 echo "$as_me: failed program was:" >&5
37790 sed 's/^/| /' conftest.$ac_ext >&5
37791
37792 eval "$as_ac_Lib=no"
37793 fi
37794
37795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37796 conftest$ac_exeext conftest.$ac_ext
37797 LIBS=$ac_check_lib_save_LIBS
37798 fi
37799 ac_res=`eval echo '${'$as_ac_Lib'}'`
37800 { echo "$as_me:$LINENO: result: $ac_res" >&5
37801 echo "${ECHO_T}$ac_res" >&6; }
37802 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37803 cat >>confdefs.h <<\_ACEOF
37804 #define HAVE_INET_ATON 1
37805 _ACEOF
37806
37807 fi
37808
37809
37810 fi
37811 done
37812
37813
37814 if test "x$INET_LINK" != "x"; then
37815 cat >>confdefs.h <<\_ACEOF
37816 #define HAVE_INET_ADDR 1
37817 _ACEOF
37818
37819 INET_LINK=" -l$INET_LINK"
37820 fi
37821
37822
37823 for wx_func in fdopen
37824 do
37825 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37826 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37827 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37829 else
37830
37831 cat >conftest.$ac_ext <<_ACEOF
37832
37833 /* confdefs.h. */
37834 _ACEOF
37835 cat confdefs.h >>conftest.$ac_ext
37836 cat >>conftest.$ac_ext <<_ACEOF
37837 /* end confdefs.h. */
37838
37839
37840 $ac_includes_default
37841
37842 int
37843 main ()
37844 {
37845
37846 #ifndef $wx_func
37847 &$wx_func;
37848 #endif
37849
37850
37851 ;
37852 return 0;
37853 }
37854
37855 _ACEOF
37856 rm -f conftest.$ac_objext conftest$ac_exeext
37857 if { (ac_try="$ac_link"
37858 case "(($ac_try" in
37859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37860 *) ac_try_echo=$ac_try;;
37861 esac
37862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37863 (eval "$ac_link") 2>conftest.er1
37864 ac_status=$?
37865 grep -v '^ *+' conftest.er1 >conftest.err
37866 rm -f conftest.er1
37867 cat conftest.err >&5
37868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37869 (exit $ac_status); } && {
37870 test -z "$ac_c_werror_flag" ||
37871 test ! -s conftest.err
37872 } && test -s conftest$ac_exeext &&
37873 $as_test_x conftest$ac_exeext; then
37874 eval wx_cv_func_$wx_func=yes
37875 else
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37878
37879 eval wx_cv_func_$wx_func=no
37880 fi
37881
37882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37883 conftest$ac_exeext conftest.$ac_ext
37884
37885 fi
37886 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37887 { echo "$as_me:$LINENO: result: $ac_res" >&5
37888 echo "${ECHO_T}$ac_res" >&6; }
37889
37890 if eval test \$wx_cv_func_$wx_func = yes
37891 then
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37894 _ACEOF
37895
37896
37897 else
37898 :
37899
37900 fi
37901 done
37902
37903
37904 fi
37905
37906
37907
37908
37909 EXTRALIBS_ESD=
37910 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37911 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
37912 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37913 echo $ECHO_N "(cached) $ECHO_C" >&6
37914 else
37915 ac_check_lib_save_LIBS=$LIBS
37916 LIBS="-lesd $LIBS"
37917 cat >conftest.$ac_ext <<_ACEOF
37918 /* confdefs.h. */
37919 _ACEOF
37920 cat confdefs.h >>conftest.$ac_ext
37921 cat >>conftest.$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37923
37924 /* Override any GCC internal prototype to avoid an error.
37925 Use char because int might match the return type of a GCC
37926 builtin and then its argument prototype would still apply. */
37927 #ifdef __cplusplus
37928 extern "C"
37929 #endif
37930 char esd_close ();
37931 int
37932 main ()
37933 {
37934 return esd_close ();
37935 ;
37936 return 0;
37937 }
37938 _ACEOF
37939 rm -f conftest.$ac_objext conftest$ac_exeext
37940 if { (ac_try="$ac_link"
37941 case "(($ac_try" in
37942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37943 *) ac_try_echo=$ac_try;;
37944 esac
37945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37946 (eval "$ac_link") 2>conftest.er1
37947 ac_status=$?
37948 grep -v '^ *+' conftest.er1 >conftest.err
37949 rm -f conftest.er1
37950 cat conftest.err >&5
37951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37952 (exit $ac_status); } && {
37953 test -z "$ac_c_werror_flag" ||
37954 test ! -s conftest.err
37955 } && test -s conftest$ac_exeext &&
37956 $as_test_x conftest$ac_exeext; then
37957 ac_cv_lib_esd_esd_close=yes
37958 else
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.$ac_ext >&5
37961
37962 ac_cv_lib_esd_esd_close=no
37963 fi
37964
37965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37966 conftest$ac_exeext conftest.$ac_ext
37967 LIBS=$ac_check_lib_save_LIBS
37968 fi
37969 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37970 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
37971 if test $ac_cv_lib_esd_esd_close = yes; then
37972
37973 { echo "$as_me:$LINENO: checking for esd.h" >&5
37974 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6; }
37975 if test "${ac_cv_header_esd_h+set}" = set; then
37976 echo $ECHO_N "(cached) $ECHO_C" >&6
37977 else
37978 cat >conftest.$ac_ext <<_ACEOF
37979 /* confdefs.h. */
37980 _ACEOF
37981 cat confdefs.h >>conftest.$ac_ext
37982 cat >>conftest.$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37984
37985
37986 #include <esd.h>
37987 _ACEOF
37988 rm -f conftest.$ac_objext
37989 if { (ac_try="$ac_compile"
37990 case "(($ac_try" in
37991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37992 *) ac_try_echo=$ac_try;;
37993 esac
37994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37995 (eval "$ac_compile") 2>conftest.er1
37996 ac_status=$?
37997 grep -v '^ *+' conftest.er1 >conftest.err
37998 rm -f conftest.er1
37999 cat conftest.err >&5
38000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38001 (exit $ac_status); } && {
38002 test -z "$ac_c_werror_flag" ||
38003 test ! -s conftest.err
38004 } && test -s conftest.$ac_objext; then
38005 ac_cv_header_esd_h=yes
38006 else
38007 echo "$as_me: failed program was:" >&5
38008 sed 's/^/| /' conftest.$ac_ext >&5
38009
38010 ac_cv_header_esd_h=no
38011 fi
38012
38013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38014 fi
38015 { echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
38016 echo "${ECHO_T}$ac_cv_header_esd_h" >&6; }
38017 if test $ac_cv_header_esd_h = yes; then
38018
38019 EXTRALIBS_ESD="-lesd"
38020
38021 fi
38022
38023
38024
38025 fi
38026
38027
38028
38029 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38030 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
38031 cat >conftest.$ac_ext <<_ACEOF
38032 /* confdefs.h. */
38033 _ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h. */
38037 #ifdef __linux__
38038 #include <linux/cdrom.h>
38039 #else
38040 /* For Solaris */
38041 #include <sys/cdio.h>
38042 #endif
38043
38044 int
38045 main ()
38046 {
38047 struct cdrom_tocentry entry, old_entry;
38048 ;
38049 return 0;
38050 }
38051 _ACEOF
38052 rm -f conftest.$ac_objext
38053 if { (ac_try="$ac_compile"
38054 case "(($ac_try" in
38055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38056 *) ac_try_echo=$ac_try;;
38057 esac
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_compile") 2>conftest.er1
38060 ac_status=$?
38061 grep -v '^ *+' conftest.er1 >conftest.err
38062 rm -f conftest.er1
38063 cat conftest.err >&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_c_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest.$ac_objext; then
38069 { echo "$as_me:$LINENO: result: yes" >&5
38070 echo "${ECHO_T}yes" >&6; }
38071 cat >>confdefs.h <<\_ACEOF
38072 #define HAVE_KNOWN_CDROM_INTERFACE 1
38073 _ACEOF
38074
38075 else
38076 echo "$as_me: failed program was:" >&5
38077 sed 's/^/| /' conftest.$ac_ext >&5
38078
38079 { echo "$as_me:$LINENO: result: no" >&5
38080 echo "${ECHO_T}no" >&6; }
38081 fi
38082
38083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38084
38085
38086 cat >confcache <<\_ACEOF
38087 # This file is a shell script that caches the results of configure
38088 # tests run on this system so they can be shared between configure
38089 # scripts and configure runs, see configure's option --config-cache.
38090 # It is not useful on other systems. If it contains results you don't
38091 # want to keep, you may remove or edit it.
38092 #
38093 # config.status only pays attention to the cache file if you give it
38094 # the --recheck option to rerun configure.
38095 #
38096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38098 # following values.
38099
38100 _ACEOF
38101
38102 # The following way of writing the cache mishandles newlines in values,
38103 # but we know of no workaround that is simple, portable, and efficient.
38104 # So, we kill variables containing newlines.
38105 # Ultrix sh set writes to stderr and can't be redirected directly,
38106 # and sets the high bit in the cache file unless we assign to the vars.
38107 (
38108 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38109 eval ac_val=\$$ac_var
38110 case $ac_val in #(
38111 *${as_nl}*)
38112 case $ac_var in #(
38113 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38114 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38115 esac
38116 case $ac_var in #(
38117 _ | IFS | as_nl) ;; #(
38118 *) $as_unset $ac_var ;;
38119 esac ;;
38120 esac
38121 done
38122
38123 (set) 2>&1 |
38124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38125 *${as_nl}ac_space=\ *)
38126 # `set' does not quote correctly, so add quotes (double-quote
38127 # substitution turns \\\\ into \\, and sed turns \\ into \).
38128 sed -n \
38129 "s/'/'\\\\''/g;
38130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38131 ;; #(
38132 *)
38133 # `set' quotes correctly as required by POSIX, so do not add quotes.
38134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38135 ;;
38136 esac |
38137 sort
38138 ) |
38139 sed '
38140 /^ac_cv_env_/b end
38141 t clear
38142 :clear
38143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38144 t end
38145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38146 :end' >>confcache
38147 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38148 if test -w "$cache_file"; then
38149 test "x$cache_file" != "x/dev/null" &&
38150 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38151 echo "$as_me: updating cache $cache_file" >&6;}
38152 cat confcache >$cache_file
38153 else
38154 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38155 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38156 fi
38157 fi
38158 rm -f confcache
38159
38160
38161 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38162
38163
38164 THREADS_LINK=
38165 THREADS_CFLAGS=
38166
38167 if test "$wxUSE_THREADS" = "yes" ; then
38168 if test "$USE_BEOS" = 1; then
38169 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38170 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38171 wxUSE_THREADS="no"
38172 fi
38173 fi
38174
38175 if test "$wxUSE_THREADS" = "yes" ; then
38176
38177
38178 THREAD_OPTS="-pthread"
38179 case "${host}" in
38180 *-*-solaris2* | *-*-sunos4* )
38181 if test "x$GCC" = "xyes"; then
38182 THREAD_OPTS="-pthreads $THREAD_OPTS"
38183 else
38184 THREAD_OPTS="-mt $THREAD_OPTS"
38185 fi
38186 ;;
38187 *-*-freebsd*)
38188 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38189 ;;
38190 *-*-darwin* | *-*-cygwin* )
38191 THREAD_OPTS=""
38192 ;;
38193 *-*-aix*)
38194 THREAD_OPTS="pthreads"
38195 ;;
38196 *-hp-hpux* )
38197 if test "x$GCC" = "xyes"; then
38198 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38199 THREAD_OPTS=""
38200 else
38201 THREAD_OPTS="-mt"
38202 fi
38203 ;;
38204
38205 *-*-irix* )
38206 if test "x$GCC" = "xyes"; then
38207 THREAD_OPTS=""
38208 fi
38209 ;;
38210
38211 *-*-*UnixWare*)
38212 if test "x$GCC" != "xyes"; then
38213 THREAD_OPTS="-Ethread"
38214 fi
38215 ;;
38216 esac
38217
38218 THREAD_OPTS="$THREAD_OPTS pthread none"
38219
38220 THREADS_OK=no
38221 for flag in $THREAD_OPTS; do
38222 case $flag in
38223 none)
38224 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38225 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38226 ;;
38227
38228 -*)
38229 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38230 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38231 THREADS_CFLAGS="$flag"
38232 ;;
38233
38234 *)
38235 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38236 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38237 THREADS_LINK="-l$flag"
38238 ;;
38239 esac
38240
38241 save_LIBS="$LIBS"
38242 save_CFLAGS="$CFLAGS"
38243 LIBS="$THREADS_LINK $LIBS"
38244 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38245
38246 cat >conftest.$ac_ext <<_ACEOF
38247 /* confdefs.h. */
38248 _ACEOF
38249 cat confdefs.h >>conftest.$ac_ext
38250 cat >>conftest.$ac_ext <<_ACEOF
38251 /* end confdefs.h. */
38252 #include <pthread.h>
38253 int
38254 main ()
38255 {
38256 pthread_create(0,0,0,0);
38257 ;
38258 return 0;
38259 }
38260 _ACEOF
38261 rm -f conftest.$ac_objext conftest$ac_exeext
38262 if { (ac_try="$ac_link"
38263 case "(($ac_try" in
38264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38265 *) ac_try_echo=$ac_try;;
38266 esac
38267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38268 (eval "$ac_link") 2>conftest.er1
38269 ac_status=$?
38270 grep -v '^ *+' conftest.er1 >conftest.err
38271 rm -f conftest.er1
38272 cat conftest.err >&5
38273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38274 (exit $ac_status); } && {
38275 test -z "$ac_c_werror_flag" ||
38276 test ! -s conftest.err
38277 } && test -s conftest$ac_exeext &&
38278 $as_test_x conftest$ac_exeext; then
38279 THREADS_OK=yes
38280 else
38281 echo "$as_me: failed program was:" >&5
38282 sed 's/^/| /' conftest.$ac_ext >&5
38283
38284
38285 fi
38286
38287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38288 conftest$ac_exeext conftest.$ac_ext
38289
38290 LIBS="$save_LIBS"
38291 CFLAGS="$save_CFLAGS"
38292
38293 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38294 echo "${ECHO_T}$THREADS_OK" >&6; }
38295 if test "x$THREADS_OK" = "xyes"; then
38296 break;
38297 fi
38298
38299 THREADS_LINK=""
38300 THREADS_CFLAGS=""
38301 done
38302
38303 if test "x$THREADS_OK" != "xyes"; then
38304 wxUSE_THREADS=no
38305 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38306 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38307 else
38308 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38309 LIBS="$THREADS_LINK $LIBS"
38310
38311 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38312 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38313 flag=no
38314 case "${host}" in
38315 *-aix*)
38316 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38317 flag="-D_THREAD_SAFE"
38318 ;;
38319 *-freebsd*)
38320 flag="-D_THREAD_SAFE"
38321 ;;
38322 *-hp-hpux* )
38323 flag="-D_REENTRANT"
38324 if test "x$GCC" != "xyes"; then
38325 flag="$flag -D_RWSTD_MULTI_THREAD"
38326 fi
38327 ;;
38328 *solaris* | alpha*-osf*)
38329 flag="-D_REENTRANT"
38330 ;;
38331 esac
38332 { echo "$as_me:$LINENO: result: ${flag}" >&5
38333 echo "${ECHO_T}${flag}" >&6; }
38334 if test "x$flag" != xno; then
38335 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38336 fi
38337
38338 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38339 fi
38340 fi
38341
38342 if test "$wxUSE_THREADS" = "yes" ; then
38343
38344 for ac_func in thr_setconcurrency
38345 do
38346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38350 echo $ECHO_N "(cached) $ECHO_C" >&6
38351 else
38352 cat >conftest.$ac_ext <<_ACEOF
38353 /* confdefs.h. */
38354 _ACEOF
38355 cat confdefs.h >>conftest.$ac_ext
38356 cat >>conftest.$ac_ext <<_ACEOF
38357 /* end confdefs.h. */
38358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38360 #define $ac_func innocuous_$ac_func
38361
38362 /* System header to define __stub macros and hopefully few prototypes,
38363 which can conflict with char $ac_func (); below.
38364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38365 <limits.h> exists even on freestanding compilers. */
38366
38367 #ifdef __STDC__
38368 # include <limits.h>
38369 #else
38370 # include <assert.h>
38371 #endif
38372
38373 #undef $ac_func
38374
38375 /* Override any GCC internal prototype to avoid an error.
38376 Use char because int might match the return type of a GCC
38377 builtin and then its argument prototype would still apply. */
38378 #ifdef __cplusplus
38379 extern "C"
38380 #endif
38381 char $ac_func ();
38382 /* The GNU C library defines this for functions which it implements
38383 to always fail with ENOSYS. Some functions are actually named
38384 something starting with __ and the normal name is an alias. */
38385 #if defined __stub_$ac_func || defined __stub___$ac_func
38386 choke me
38387 #endif
38388
38389 int
38390 main ()
38391 {
38392 return $ac_func ();
38393 ;
38394 return 0;
38395 }
38396 _ACEOF
38397 rm -f conftest.$ac_objext conftest$ac_exeext
38398 if { (ac_try="$ac_link"
38399 case "(($ac_try" in
38400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38401 *) ac_try_echo=$ac_try;;
38402 esac
38403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38404 (eval "$ac_link") 2>conftest.er1
38405 ac_status=$?
38406 grep -v '^ *+' conftest.er1 >conftest.err
38407 rm -f conftest.er1
38408 cat conftest.err >&5
38409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38410 (exit $ac_status); } && {
38411 test -z "$ac_c_werror_flag" ||
38412 test ! -s conftest.err
38413 } && test -s conftest$ac_exeext &&
38414 $as_test_x conftest$ac_exeext; then
38415 eval "$as_ac_var=yes"
38416 else
38417 echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.$ac_ext >&5
38419
38420 eval "$as_ac_var=no"
38421 fi
38422
38423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38424 conftest$ac_exeext conftest.$ac_ext
38425 fi
38426 ac_res=`eval echo '${'$as_ac_var'}'`
38427 { echo "$as_me:$LINENO: result: $ac_res" >&5
38428 echo "${ECHO_T}$ac_res" >&6; }
38429 if test `eval echo '${'$as_ac_var'}'` = yes; then
38430 cat >>confdefs.h <<_ACEOF
38431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38432 _ACEOF
38433
38434 fi
38435 done
38436
38437
38438 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38439 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38440 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38441 echo $ECHO_N "(cached) $ECHO_C" >&6
38442 else
38443
38444 cat >conftest.$ac_ext <<_ACEOF
38445 /* confdefs.h. */
38446 _ACEOF
38447 cat confdefs.h >>conftest.$ac_ext
38448 cat >>conftest.$ac_ext <<_ACEOF
38449 /* end confdefs.h. */
38450 #include <pthread.h>
38451 void ThreadCleanupFunc(void *p);
38452
38453 int
38454 main ()
38455 {
38456
38457 void *p;
38458 pthread_cleanup_push(ThreadCleanupFunc, p);
38459 pthread_cleanup_pop(0);
38460
38461 ;
38462 return 0;
38463 }
38464 _ACEOF
38465 rm -f conftest.$ac_objext
38466 if { (ac_try="$ac_compile"
38467 case "(($ac_try" in
38468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38469 *) ac_try_echo=$ac_try;;
38470 esac
38471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38472 (eval "$ac_compile") 2>conftest.er1
38473 ac_status=$?
38474 grep -v '^ *+' conftest.er1 >conftest.err
38475 rm -f conftest.er1
38476 cat conftest.err >&5
38477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38478 (exit $ac_status); } && {
38479 test -z "$ac_c_werror_flag" ||
38480 test ! -s conftest.err
38481 } && test -s conftest.$ac_objext; then
38482
38483 wx_cv_func_pthread_cleanup=yes
38484
38485 else
38486 echo "$as_me: failed program was:" >&5
38487 sed 's/^/| /' conftest.$ac_ext >&5
38488
38489
38490 wx_cv_func_pthread_cleanup=no
38491
38492
38493 fi
38494
38495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38496
38497 fi
38498 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38499 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38500 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38501 cat >>confdefs.h <<\_ACEOF
38502 #define wxHAVE_PTHREAD_CLEANUP 1
38503 _ACEOF
38504
38505 fi
38506
38507 { echo "$as_me:$LINENO: checking for sched.h" >&5
38508 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38509 if test "${ac_cv_header_sched_h+set}" = set; then
38510 echo $ECHO_N "(cached) $ECHO_C" >&6
38511 else
38512 cat >conftest.$ac_ext <<_ACEOF
38513 /* confdefs.h. */
38514 _ACEOF
38515 cat confdefs.h >>conftest.$ac_ext
38516 cat >>conftest.$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 $ac_includes_default
38519
38520 #include <sched.h>
38521 _ACEOF
38522 rm -f conftest.$ac_objext
38523 if { (ac_try="$ac_compile"
38524 case "(($ac_try" in
38525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38526 *) ac_try_echo=$ac_try;;
38527 esac
38528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38529 (eval "$ac_compile") 2>conftest.er1
38530 ac_status=$?
38531 grep -v '^ *+' conftest.er1 >conftest.err
38532 rm -f conftest.er1
38533 cat conftest.err >&5
38534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38535 (exit $ac_status); } && {
38536 test -z "$ac_c_werror_flag" ||
38537 test ! -s conftest.err
38538 } && test -s conftest.$ac_objext; then
38539 ac_cv_header_sched_h=yes
38540 else
38541 echo "$as_me: failed program was:" >&5
38542 sed 's/^/| /' conftest.$ac_ext >&5
38543
38544 ac_cv_header_sched_h=no
38545 fi
38546
38547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38548 fi
38549 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38550 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38551
38552
38553 if test "$ac_cv_header_sched_h" = "yes"; then
38554 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38555 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38556 if test "${ac_cv_func_sched_yield+set}" = set; then
38557 echo $ECHO_N "(cached) $ECHO_C" >&6
38558 else
38559 cat >conftest.$ac_ext <<_ACEOF
38560 /* confdefs.h. */
38561 _ACEOF
38562 cat confdefs.h >>conftest.$ac_ext
38563 cat >>conftest.$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38565 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38567 #define sched_yield innocuous_sched_yield
38568
38569 /* System header to define __stub macros and hopefully few prototypes,
38570 which can conflict with char sched_yield (); below.
38571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38572 <limits.h> exists even on freestanding compilers. */
38573
38574 #ifdef __STDC__
38575 # include <limits.h>
38576 #else
38577 # include <assert.h>
38578 #endif
38579
38580 #undef sched_yield
38581
38582 /* Override any GCC internal prototype to avoid an error.
38583 Use char because int might match the return type of a GCC
38584 builtin and then its argument prototype would still apply. */
38585 #ifdef __cplusplus
38586 extern "C"
38587 #endif
38588 char sched_yield ();
38589 /* The GNU C library defines this for functions which it implements
38590 to always fail with ENOSYS. Some functions are actually named
38591 something starting with __ and the normal name is an alias. */
38592 #if defined __stub_sched_yield || defined __stub___sched_yield
38593 choke me
38594 #endif
38595
38596 int
38597 main ()
38598 {
38599 return sched_yield ();
38600 ;
38601 return 0;
38602 }
38603 _ACEOF
38604 rm -f conftest.$ac_objext conftest$ac_exeext
38605 if { (ac_try="$ac_link"
38606 case "(($ac_try" in
38607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38608 *) ac_try_echo=$ac_try;;
38609 esac
38610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38611 (eval "$ac_link") 2>conftest.er1
38612 ac_status=$?
38613 grep -v '^ *+' conftest.er1 >conftest.err
38614 rm -f conftest.er1
38615 cat conftest.err >&5
38616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38617 (exit $ac_status); } && {
38618 test -z "$ac_c_werror_flag" ||
38619 test ! -s conftest.err
38620 } && test -s conftest$ac_exeext &&
38621 $as_test_x conftest$ac_exeext; then
38622 ac_cv_func_sched_yield=yes
38623 else
38624 echo "$as_me: failed program was:" >&5
38625 sed 's/^/| /' conftest.$ac_ext >&5
38626
38627 ac_cv_func_sched_yield=no
38628 fi
38629
38630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38631 conftest$ac_exeext conftest.$ac_ext
38632 fi
38633 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38634 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38635 if test $ac_cv_func_sched_yield = yes; then
38636 cat >>confdefs.h <<\_ACEOF
38637 #define HAVE_SCHED_YIELD 1
38638 _ACEOF
38639
38640 else
38641
38642 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38643 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38644 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38646 else
38647 ac_check_lib_save_LIBS=$LIBS
38648 LIBS="-lposix4 $LIBS"
38649 cat >conftest.$ac_ext <<_ACEOF
38650 /* confdefs.h. */
38651 _ACEOF
38652 cat confdefs.h >>conftest.$ac_ext
38653 cat >>conftest.$ac_ext <<_ACEOF
38654 /* end confdefs.h. */
38655
38656 /* Override any GCC internal prototype to avoid an error.
38657 Use char because int might match the return type of a GCC
38658 builtin and then its argument prototype would still apply. */
38659 #ifdef __cplusplus
38660 extern "C"
38661 #endif
38662 char sched_yield ();
38663 int
38664 main ()
38665 {
38666 return sched_yield ();
38667 ;
38668 return 0;
38669 }
38670 _ACEOF
38671 rm -f conftest.$ac_objext conftest$ac_exeext
38672 if { (ac_try="$ac_link"
38673 case "(($ac_try" in
38674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38675 *) ac_try_echo=$ac_try;;
38676 esac
38677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38678 (eval "$ac_link") 2>conftest.er1
38679 ac_status=$?
38680 grep -v '^ *+' conftest.er1 >conftest.err
38681 rm -f conftest.er1
38682 cat conftest.err >&5
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); } && {
38685 test -z "$ac_c_werror_flag" ||
38686 test ! -s conftest.err
38687 } && test -s conftest$ac_exeext &&
38688 $as_test_x conftest$ac_exeext; then
38689 ac_cv_lib_posix4_sched_yield=yes
38690 else
38691 echo "$as_me: failed program was:" >&5
38692 sed 's/^/| /' conftest.$ac_ext >&5
38693
38694 ac_cv_lib_posix4_sched_yield=no
38695 fi
38696
38697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38698 conftest$ac_exeext conftest.$ac_ext
38699 LIBS=$ac_check_lib_save_LIBS
38700 fi
38701 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38702 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38703 if test $ac_cv_lib_posix4_sched_yield = yes; then
38704 cat >>confdefs.h <<\_ACEOF
38705 #define HAVE_SCHED_YIELD 1
38706 _ACEOF
38707 POSIX4_LINK=" -lposix4"
38708 else
38709 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38710 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38711
38712 fi
38713
38714
38715
38716 fi
38717
38718 fi
38719
38720 HAVE_PRIOR_FUNCS=0
38721 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38722 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38723 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38724 echo $ECHO_N "(cached) $ECHO_C" >&6
38725 else
38726 cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h. */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38734 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38735
38736 /* System header to define __stub macros and hopefully few prototypes,
38737 which can conflict with char pthread_attr_getschedpolicy (); below.
38738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38739 <limits.h> exists even on freestanding compilers. */
38740
38741 #ifdef __STDC__
38742 # include <limits.h>
38743 #else
38744 # include <assert.h>
38745 #endif
38746
38747 #undef pthread_attr_getschedpolicy
38748
38749 /* Override any GCC internal prototype to avoid an error.
38750 Use char because int might match the return type of a GCC
38751 builtin and then its argument prototype would still apply. */
38752 #ifdef __cplusplus
38753 extern "C"
38754 #endif
38755 char pthread_attr_getschedpolicy ();
38756 /* The GNU C library defines this for functions which it implements
38757 to always fail with ENOSYS. Some functions are actually named
38758 something starting with __ and the normal name is an alias. */
38759 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38760 choke me
38761 #endif
38762
38763 int
38764 main ()
38765 {
38766 return pthread_attr_getschedpolicy ();
38767 ;
38768 return 0;
38769 }
38770 _ACEOF
38771 rm -f conftest.$ac_objext conftest$ac_exeext
38772 if { (ac_try="$ac_link"
38773 case "(($ac_try" in
38774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38775 *) ac_try_echo=$ac_try;;
38776 esac
38777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38778 (eval "$ac_link") 2>conftest.er1
38779 ac_status=$?
38780 grep -v '^ *+' conftest.er1 >conftest.err
38781 rm -f conftest.er1
38782 cat conftest.err >&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); } && {
38785 test -z "$ac_c_werror_flag" ||
38786 test ! -s conftest.err
38787 } && test -s conftest$ac_exeext &&
38788 $as_test_x conftest$ac_exeext; then
38789 ac_cv_func_pthread_attr_getschedpolicy=yes
38790 else
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38793
38794 ac_cv_func_pthread_attr_getschedpolicy=no
38795 fi
38796
38797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38798 conftest$ac_exeext conftest.$ac_ext
38799 fi
38800 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38801 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38802 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38803 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38804 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38805 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38806 echo $ECHO_N "(cached) $ECHO_C" >&6
38807 else
38808 cat >conftest.$ac_ext <<_ACEOF
38809 /* confdefs.h. */
38810 _ACEOF
38811 cat confdefs.h >>conftest.$ac_ext
38812 cat >>conftest.$ac_ext <<_ACEOF
38813 /* end confdefs.h. */
38814 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38816 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38817
38818 /* System header to define __stub macros and hopefully few prototypes,
38819 which can conflict with char pthread_attr_setschedparam (); below.
38820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38821 <limits.h> exists even on freestanding compilers. */
38822
38823 #ifdef __STDC__
38824 # include <limits.h>
38825 #else
38826 # include <assert.h>
38827 #endif
38828
38829 #undef pthread_attr_setschedparam
38830
38831 /* Override any GCC internal prototype to avoid an error.
38832 Use char because int might match the return type of a GCC
38833 builtin and then its argument prototype would still apply. */
38834 #ifdef __cplusplus
38835 extern "C"
38836 #endif
38837 char pthread_attr_setschedparam ();
38838 /* The GNU C library defines this for functions which it implements
38839 to always fail with ENOSYS. Some functions are actually named
38840 something starting with __ and the normal name is an alias. */
38841 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38842 choke me
38843 #endif
38844
38845 int
38846 main ()
38847 {
38848 return pthread_attr_setschedparam ();
38849 ;
38850 return 0;
38851 }
38852 _ACEOF
38853 rm -f conftest.$ac_objext conftest$ac_exeext
38854 if { (ac_try="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38858 esac
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38871 ac_cv_func_pthread_attr_setschedparam=yes
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38875
38876 ac_cv_func_pthread_attr_setschedparam=no
38877 fi
38878
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38881 fi
38882 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38883 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38884 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38885 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38886 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38887 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38888 echo $ECHO_N "(cached) $ECHO_C" >&6
38889 else
38890 cat >conftest.$ac_ext <<_ACEOF
38891 /* confdefs.h. */
38892 _ACEOF
38893 cat confdefs.h >>conftest.$ac_ext
38894 cat >>conftest.$ac_ext <<_ACEOF
38895 /* end confdefs.h. */
38896 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38898 #define sched_get_priority_max innocuous_sched_get_priority_max
38899
38900 /* System header to define __stub macros and hopefully few prototypes,
38901 which can conflict with char sched_get_priority_max (); below.
38902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38903 <limits.h> exists even on freestanding compilers. */
38904
38905 #ifdef __STDC__
38906 # include <limits.h>
38907 #else
38908 # include <assert.h>
38909 #endif
38910
38911 #undef sched_get_priority_max
38912
38913 /* Override any GCC internal prototype to avoid an error.
38914 Use char because int might match the return type of a GCC
38915 builtin and then its argument prototype would still apply. */
38916 #ifdef __cplusplus
38917 extern "C"
38918 #endif
38919 char sched_get_priority_max ();
38920 /* The GNU C library defines this for functions which it implements
38921 to always fail with ENOSYS. Some functions are actually named
38922 something starting with __ and the normal name is an alias. */
38923 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38924 choke me
38925 #endif
38926
38927 int
38928 main ()
38929 {
38930 return sched_get_priority_max ();
38931 ;
38932 return 0;
38933 }
38934 _ACEOF
38935 rm -f conftest.$ac_objext conftest$ac_exeext
38936 if { (ac_try="$ac_link"
38937 case "(($ac_try" in
38938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38939 *) ac_try_echo=$ac_try;;
38940 esac
38941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38942 (eval "$ac_link") 2>conftest.er1
38943 ac_status=$?
38944 grep -v '^ *+' conftest.er1 >conftest.err
38945 rm -f conftest.er1
38946 cat conftest.err >&5
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); } && {
38949 test -z "$ac_c_werror_flag" ||
38950 test ! -s conftest.err
38951 } && test -s conftest$ac_exeext &&
38952 $as_test_x conftest$ac_exeext; then
38953 ac_cv_func_sched_get_priority_max=yes
38954 else
38955 echo "$as_me: failed program was:" >&5
38956 sed 's/^/| /' conftest.$ac_ext >&5
38957
38958 ac_cv_func_sched_get_priority_max=no
38959 fi
38960
38961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38962 conftest$ac_exeext conftest.$ac_ext
38963 fi
38964 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38965 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38966 if test $ac_cv_func_sched_get_priority_max = yes; then
38967 HAVE_PRIOR_FUNCS=1
38968 else
38969 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38970 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38971 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38972 echo $ECHO_N "(cached) $ECHO_C" >&6
38973 else
38974 ac_check_lib_save_LIBS=$LIBS
38975 LIBS="-lposix4 $LIBS"
38976 cat >conftest.$ac_ext <<_ACEOF
38977 /* confdefs.h. */
38978 _ACEOF
38979 cat confdefs.h >>conftest.$ac_ext
38980 cat >>conftest.$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38982
38983 /* Override any GCC internal prototype to avoid an error.
38984 Use char because int might match the return type of a GCC
38985 builtin and then its argument prototype would still apply. */
38986 #ifdef __cplusplus
38987 extern "C"
38988 #endif
38989 char sched_get_priority_max ();
38990 int
38991 main ()
38992 {
38993 return sched_get_priority_max ();
38994 ;
38995 return 0;
38996 }
38997 _ACEOF
38998 rm -f conftest.$ac_objext conftest$ac_exeext
38999 if { (ac_try="$ac_link"
39000 case "(($ac_try" in
39001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39002 *) ac_try_echo=$ac_try;;
39003 esac
39004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39005 (eval "$ac_link") 2>conftest.er1
39006 ac_status=$?
39007 grep -v '^ *+' conftest.er1 >conftest.err
39008 rm -f conftest.er1
39009 cat conftest.err >&5
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); } && {
39012 test -z "$ac_c_werror_flag" ||
39013 test ! -s conftest.err
39014 } && test -s conftest$ac_exeext &&
39015 $as_test_x conftest$ac_exeext; then
39016 ac_cv_lib_posix4_sched_get_priority_max=yes
39017 else
39018 echo "$as_me: failed program was:" >&5
39019 sed 's/^/| /' conftest.$ac_ext >&5
39020
39021 ac_cv_lib_posix4_sched_get_priority_max=no
39022 fi
39023
39024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39025 conftest$ac_exeext conftest.$ac_ext
39026 LIBS=$ac_check_lib_save_LIBS
39027 fi
39028 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39029 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39030 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39031
39032 HAVE_PRIOR_FUNCS=1
39033 POSIX4_LINK=" -lposix4"
39034
39035 fi
39036
39037
39038 fi
39039
39040
39041 fi
39042
39043
39044 fi
39045
39046
39047 if test "$HAVE_PRIOR_FUNCS" = 1; then
39048 cat >>confdefs.h <<\_ACEOF
39049 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39050 _ACEOF
39051
39052 else
39053 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39054 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39055 fi
39056
39057 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39058 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39059 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39060 echo $ECHO_N "(cached) $ECHO_C" >&6
39061 else
39062 cat >conftest.$ac_ext <<_ACEOF
39063 /* confdefs.h. */
39064 _ACEOF
39065 cat confdefs.h >>conftest.$ac_ext
39066 cat >>conftest.$ac_ext <<_ACEOF
39067 /* end confdefs.h. */
39068 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39070 #define pthread_cancel innocuous_pthread_cancel
39071
39072 /* System header to define __stub macros and hopefully few prototypes,
39073 which can conflict with char pthread_cancel (); below.
39074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39075 <limits.h> exists even on freestanding compilers. */
39076
39077 #ifdef __STDC__
39078 # include <limits.h>
39079 #else
39080 # include <assert.h>
39081 #endif
39082
39083 #undef pthread_cancel
39084
39085 /* Override any GCC internal prototype to avoid an error.
39086 Use char because int might match the return type of a GCC
39087 builtin and then its argument prototype would still apply. */
39088 #ifdef __cplusplus
39089 extern "C"
39090 #endif
39091 char pthread_cancel ();
39092 /* The GNU C library defines this for functions which it implements
39093 to always fail with ENOSYS. Some functions are actually named
39094 something starting with __ and the normal name is an alias. */
39095 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39096 choke me
39097 #endif
39098
39099 int
39100 main ()
39101 {
39102 return pthread_cancel ();
39103 ;
39104 return 0;
39105 }
39106 _ACEOF
39107 rm -f conftest.$ac_objext conftest$ac_exeext
39108 if { (ac_try="$ac_link"
39109 case "(($ac_try" in
39110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39111 *) ac_try_echo=$ac_try;;
39112 esac
39113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39114 (eval "$ac_link") 2>conftest.er1
39115 ac_status=$?
39116 grep -v '^ *+' conftest.er1 >conftest.err
39117 rm -f conftest.er1
39118 cat conftest.err >&5
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); } && {
39121 test -z "$ac_c_werror_flag" ||
39122 test ! -s conftest.err
39123 } && test -s conftest$ac_exeext &&
39124 $as_test_x conftest$ac_exeext; then
39125 ac_cv_func_pthread_cancel=yes
39126 else
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.$ac_ext >&5
39129
39130 ac_cv_func_pthread_cancel=no
39131 fi
39132
39133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39134 conftest$ac_exeext conftest.$ac_ext
39135 fi
39136 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39137 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39138 if test $ac_cv_func_pthread_cancel = yes; then
39139 cat >>confdefs.h <<\_ACEOF
39140 #define HAVE_PTHREAD_CANCEL 1
39141 _ACEOF
39142
39143 else
39144 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39145 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39146 fi
39147
39148
39149 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39150 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39151 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39152 echo $ECHO_N "(cached) $ECHO_C" >&6
39153 else
39154 cat >conftest.$ac_ext <<_ACEOF
39155 /* confdefs.h. */
39156 _ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h. */
39160 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39162 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39163
39164 /* System header to define __stub macros and hopefully few prototypes,
39165 which can conflict with char pthread_attr_setstacksize (); below.
39166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39167 <limits.h> exists even on freestanding compilers. */
39168
39169 #ifdef __STDC__
39170 # include <limits.h>
39171 #else
39172 # include <assert.h>
39173 #endif
39174
39175 #undef pthread_attr_setstacksize
39176
39177 /* Override any GCC internal prototype to avoid an error.
39178 Use char because int might match the return type of a GCC
39179 builtin and then its argument prototype would still apply. */
39180 #ifdef __cplusplus
39181 extern "C"
39182 #endif
39183 char pthread_attr_setstacksize ();
39184 /* The GNU C library defines this for functions which it implements
39185 to always fail with ENOSYS. Some functions are actually named
39186 something starting with __ and the normal name is an alias. */
39187 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39188 choke me
39189 #endif
39190
39191 int
39192 main ()
39193 {
39194 return pthread_attr_setstacksize ();
39195 ;
39196 return 0;
39197 }
39198 _ACEOF
39199 rm -f conftest.$ac_objext conftest$ac_exeext
39200 if { (ac_try="$ac_link"
39201 case "(($ac_try" in
39202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39203 *) ac_try_echo=$ac_try;;
39204 esac
39205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39206 (eval "$ac_link") 2>conftest.er1
39207 ac_status=$?
39208 grep -v '^ *+' conftest.er1 >conftest.err
39209 rm -f conftest.er1
39210 cat conftest.err >&5
39211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39212 (exit $ac_status); } && {
39213 test -z "$ac_c_werror_flag" ||
39214 test ! -s conftest.err
39215 } && test -s conftest$ac_exeext &&
39216 $as_test_x conftest$ac_exeext; then
39217 ac_cv_func_pthread_attr_setstacksize=yes
39218 else
39219 echo "$as_me: failed program was:" >&5
39220 sed 's/^/| /' conftest.$ac_ext >&5
39221
39222 ac_cv_func_pthread_attr_setstacksize=no
39223 fi
39224
39225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39226 conftest$ac_exeext conftest.$ac_ext
39227 fi
39228 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39229 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39230 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39231 cat >>confdefs.h <<\_ACEOF
39232 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39233 _ACEOF
39234
39235 fi
39236
39237
39238
39239 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39240 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39241 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39244
39245 cat >conftest.$ac_ext <<_ACEOF
39246 /* confdefs.h. */
39247 _ACEOF
39248 cat confdefs.h >>conftest.$ac_ext
39249 cat >>conftest.$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39251 #include <pthread.h>
39252 int
39253 main ()
39254 {
39255
39256 pthread_mutexattr_t attr;
39257 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39258
39259 ;
39260 return 0;
39261 }
39262 _ACEOF
39263 rm -f conftest.$ac_objext
39264 if { (ac_try="$ac_compile"
39265 case "(($ac_try" in
39266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39267 *) ac_try_echo=$ac_try;;
39268 esac
39269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39270 (eval "$ac_compile") 2>conftest.er1
39271 ac_status=$?
39272 grep -v '^ *+' conftest.er1 >conftest.err
39273 rm -f conftest.er1
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } && {
39277 test -z "$ac_c_werror_flag" ||
39278 test ! -s conftest.err
39279 } && test -s conftest.$ac_objext; then
39280 wx_cv_type_pthread_mutexattr_t=yes
39281 else
39282 echo "$as_me: failed program was:" >&5
39283 sed 's/^/| /' conftest.$ac_ext >&5
39284
39285 wx_cv_type_pthread_mutexattr_t=no
39286
39287 fi
39288
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290
39291 fi
39292 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39293 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39294
39295 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39296 cat >>confdefs.h <<\_ACEOF
39297 #define HAVE_PTHREAD_MUTEXATTR_T 1
39298 _ACEOF
39299
39300
39301 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39302 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39303 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39304 echo $ECHO_N "(cached) $ECHO_C" >&6
39305 else
39306
39307 cat >conftest.$ac_ext <<_ACEOF
39308 /* confdefs.h. */
39309 _ACEOF
39310 cat confdefs.h >>conftest.$ac_ext
39311 cat >>conftest.$ac_ext <<_ACEOF
39312 /* end confdefs.h. */
39313 #include <pthread.h>
39314 int
39315 main ()
39316 {
39317
39318 pthread_mutexattr_t attr;
39319 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39320
39321 ;
39322 return 0;
39323 }
39324 _ACEOF
39325 rm -f conftest.$ac_objext
39326 if { (ac_try="$ac_compile"
39327 case "(($ac_try" in
39328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39329 *) ac_try_echo=$ac_try;;
39330 esac
39331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39332 (eval "$ac_compile") 2>conftest.er1
39333 ac_status=$?
39334 grep -v '^ *+' conftest.er1 >conftest.err
39335 rm -f conftest.er1
39336 cat conftest.err >&5
39337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39338 (exit $ac_status); } && {
39339 test -z "$ac_c_werror_flag" ||
39340 test ! -s conftest.err
39341 } && test -s conftest.$ac_objext; then
39342 wx_cv_func_pthread_mutexattr_settype_decl=yes
39343 else
39344 echo "$as_me: failed program was:" >&5
39345 sed 's/^/| /' conftest.$ac_ext >&5
39346
39347 wx_cv_func_pthread_mutexattr_settype_decl=no
39348
39349 fi
39350
39351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39352
39353 fi
39354 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39355 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39356 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39357 cat >>confdefs.h <<\_ACEOF
39358 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39359 _ACEOF
39360
39361 fi
39362 else
39363 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39364 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39365 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39366 echo $ECHO_N "(cached) $ECHO_C" >&6
39367 else
39368
39369 cat >conftest.$ac_ext <<_ACEOF
39370 /* confdefs.h. */
39371 _ACEOF
39372 cat confdefs.h >>conftest.$ac_ext
39373 cat >>conftest.$ac_ext <<_ACEOF
39374 /* end confdefs.h. */
39375 #include <pthread.h>
39376 int
39377 main ()
39378 {
39379
39380 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39381
39382 ;
39383 return 0;
39384 }
39385 _ACEOF
39386 rm -f conftest.$ac_objext
39387 if { (ac_try="$ac_compile"
39388 case "(($ac_try" in
39389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39391 esac
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_compile") 2>conftest.er1
39394 ac_status=$?
39395 grep -v '^ *+' conftest.er1 >conftest.err
39396 rm -f conftest.er1
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest.$ac_objext; then
39403
39404 wx_cv_type_pthread_rec_mutex_init=yes
39405
39406 else
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.$ac_ext >&5
39409
39410
39411 wx_cv_type_pthread_rec_mutex_init=no
39412
39413
39414 fi
39415
39416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39417
39418 fi
39419 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39420 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39421 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39422 cat >>confdefs.h <<\_ACEOF
39423 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39424 _ACEOF
39425
39426 else
39427 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39428 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39429 fi
39430 fi
39431 fi
39432
39433 else
39434 if test "$wxUSE_THREADS" = "yes" ; then
39435 case "${host}" in
39436 *-*-mingw32* )
39437 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39438 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39439 if test "${wx_cv_cflags_mthread+set}" = set; then
39440 echo $ECHO_N "(cached) $ECHO_C" >&6
39441 else
39442
39443 CFLAGS_OLD="$CFLAGS"
39444 CFLAGS="-mthreads $CFLAGS"
39445 cat >conftest.$ac_ext <<_ACEOF
39446 /* confdefs.h. */
39447 _ACEOF
39448 cat confdefs.h >>conftest.$ac_ext
39449 cat >>conftest.$ac_ext <<_ACEOF
39450 /* end confdefs.h. */
39451
39452 int
39453 main ()
39454 {
39455
39456 ;
39457 return 0;
39458 }
39459 _ACEOF
39460 rm -f conftest.$ac_objext
39461 if { (ac_try="$ac_compile"
39462 case "(($ac_try" in
39463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39464 *) ac_try_echo=$ac_try;;
39465 esac
39466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39467 (eval "$ac_compile") 2>conftest.er1
39468 ac_status=$?
39469 grep -v '^ *+' conftest.er1 >conftest.err
39470 rm -f conftest.er1
39471 cat conftest.err >&5
39472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39473 (exit $ac_status); } && {
39474 test -z "$ac_c_werror_flag" ||
39475 test ! -s conftest.err
39476 } && test -s conftest.$ac_objext; then
39477 wx_cv_cflags_mthread=yes
39478 else
39479 echo "$as_me: failed program was:" >&5
39480 sed 's/^/| /' conftest.$ac_ext >&5
39481
39482 wx_cv_cflags_mthread=no
39483
39484 fi
39485
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487
39488
39489 fi
39490 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39491 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39492
39493 if test "$wx_cv_cflags_mthread" = "yes"; then
39494 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39495 LDFLAGS="$LDFLAGS -mthreads"
39496 else
39497 CFLAGS="$CFLAGS_OLD"
39498 fi
39499 ;;
39500 *-pc-os2*emx )
39501 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39502 LDFLAGS="$LDFLAGS -Zmt"
39503 ;;
39504 esac
39505 fi
39506 fi
39507
39508 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39509 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39510 if test "${ac_cv_func_localtime_r+set}" = set; then
39511 echo $ECHO_N "(cached) $ECHO_C" >&6
39512 else
39513 cat >conftest.$ac_ext <<_ACEOF
39514 /* confdefs.h. */
39515 _ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39519 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39521 #define localtime_r innocuous_localtime_r
39522
39523 /* System header to define __stub macros and hopefully few prototypes,
39524 which can conflict with char localtime_r (); below.
39525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39526 <limits.h> exists even on freestanding compilers. */
39527
39528 #ifdef __STDC__
39529 # include <limits.h>
39530 #else
39531 # include <assert.h>
39532 #endif
39533
39534 #undef localtime_r
39535
39536 /* Override any GCC internal prototype to avoid an error.
39537 Use char because int might match the return type of a GCC
39538 builtin and then its argument prototype would still apply. */
39539 #ifdef __cplusplus
39540 extern "C"
39541 #endif
39542 char localtime_r ();
39543 /* The GNU C library defines this for functions which it implements
39544 to always fail with ENOSYS. Some functions are actually named
39545 something starting with __ and the normal name is an alias. */
39546 #if defined __stub_localtime_r || defined __stub___localtime_r
39547 choke me
39548 #endif
39549
39550 int
39551 main ()
39552 {
39553 return localtime_r ();
39554 ;
39555 return 0;
39556 }
39557 _ACEOF
39558 rm -f conftest.$ac_objext conftest$ac_exeext
39559 if { (ac_try="$ac_link"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39563 esac
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_link") 2>conftest.er1
39566 ac_status=$?
39567 grep -v '^ *+' conftest.er1 >conftest.err
39568 rm -f conftest.er1
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest$ac_exeext &&
39575 $as_test_x conftest$ac_exeext; then
39576 ac_cv_func_localtime_r=yes
39577 else
39578 echo "$as_me: failed program was:" >&5
39579 sed 's/^/| /' conftest.$ac_ext >&5
39580
39581 ac_cv_func_localtime_r=no
39582 fi
39583
39584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39585 conftest$ac_exeext conftest.$ac_ext
39586 fi
39587 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39588 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39589 if test $ac_cv_func_localtime_r = yes; then
39590 cat >>confdefs.h <<\_ACEOF
39591 #define HAVE_LOCALTIME_R 1
39592 _ACEOF
39593
39594 fi
39595
39596 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39597 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39598 if test "${ac_cv_func_gmtime_r+set}" = set; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39601 cat >conftest.$ac_ext <<_ACEOF
39602 /* confdefs.h. */
39603 _ACEOF
39604 cat confdefs.h >>conftest.$ac_ext
39605 cat >>conftest.$ac_ext <<_ACEOF
39606 /* end confdefs.h. */
39607 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39609 #define gmtime_r innocuous_gmtime_r
39610
39611 /* System header to define __stub macros and hopefully few prototypes,
39612 which can conflict with char gmtime_r (); below.
39613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39614 <limits.h> exists even on freestanding compilers. */
39615
39616 #ifdef __STDC__
39617 # include <limits.h>
39618 #else
39619 # include <assert.h>
39620 #endif
39621
39622 #undef gmtime_r
39623
39624 /* Override any GCC internal prototype to avoid an error.
39625 Use char because int might match the return type of a GCC
39626 builtin and then its argument prototype would still apply. */
39627 #ifdef __cplusplus
39628 extern "C"
39629 #endif
39630 char gmtime_r ();
39631 /* The GNU C library defines this for functions which it implements
39632 to always fail with ENOSYS. Some functions are actually named
39633 something starting with __ and the normal name is an alias. */
39634 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39635 choke me
39636 #endif
39637
39638 int
39639 main ()
39640 {
39641 return gmtime_r ();
39642 ;
39643 return 0;
39644 }
39645 _ACEOF
39646 rm -f conftest.$ac_objext conftest$ac_exeext
39647 if { (ac_try="$ac_link"
39648 case "(($ac_try" in
39649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39650 *) ac_try_echo=$ac_try;;
39651 esac
39652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39653 (eval "$ac_link") 2>conftest.er1
39654 ac_status=$?
39655 grep -v '^ *+' conftest.er1 >conftest.err
39656 rm -f conftest.er1
39657 cat conftest.err >&5
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); } && {
39660 test -z "$ac_c_werror_flag" ||
39661 test ! -s conftest.err
39662 } && test -s conftest$ac_exeext &&
39663 $as_test_x conftest$ac_exeext; then
39664 ac_cv_func_gmtime_r=yes
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39668
39669 ac_cv_func_gmtime_r=no
39670 fi
39671
39672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39673 conftest$ac_exeext conftest.$ac_ext
39674 fi
39675 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39676 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39677 if test $ac_cv_func_gmtime_r = yes; then
39678 cat >>confdefs.h <<\_ACEOF
39679 #define HAVE_GMTIME_R 1
39680 _ACEOF
39681
39682 fi
39683
39684 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39685 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39686 if test "${ac_cv_func_readdir_r+set}" = set; then
39687 echo $ECHO_N "(cached) $ECHO_C" >&6
39688 else
39689 cat >conftest.$ac_ext <<_ACEOF
39690 /* confdefs.h. */
39691 _ACEOF
39692 cat confdefs.h >>conftest.$ac_ext
39693 cat >>conftest.$ac_ext <<_ACEOF
39694 /* end confdefs.h. */
39695 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39697 #define readdir_r innocuous_readdir_r
39698
39699 /* System header to define __stub macros and hopefully few prototypes,
39700 which can conflict with char readdir_r (); below.
39701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39702 <limits.h> exists even on freestanding compilers. */
39703
39704 #ifdef __STDC__
39705 # include <limits.h>
39706 #else
39707 # include <assert.h>
39708 #endif
39709
39710 #undef readdir_r
39711
39712 /* Override any GCC internal prototype to avoid an error.
39713 Use char because int might match the return type of a GCC
39714 builtin and then its argument prototype would still apply. */
39715 #ifdef __cplusplus
39716 extern "C"
39717 #endif
39718 char readdir_r ();
39719 /* The GNU C library defines this for functions which it implements
39720 to always fail with ENOSYS. Some functions are actually named
39721 something starting with __ and the normal name is an alias. */
39722 #if defined __stub_readdir_r || defined __stub___readdir_r
39723 choke me
39724 #endif
39725
39726 int
39727 main ()
39728 {
39729 return readdir_r ();
39730 ;
39731 return 0;
39732 }
39733 _ACEOF
39734 rm -f conftest.$ac_objext conftest$ac_exeext
39735 if { (ac_try="$ac_link"
39736 case "(($ac_try" in
39737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39738 *) ac_try_echo=$ac_try;;
39739 esac
39740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39741 (eval "$ac_link") 2>conftest.er1
39742 ac_status=$?
39743 grep -v '^ *+' conftest.er1 >conftest.err
39744 rm -f conftest.er1
39745 cat conftest.err >&5
39746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39747 (exit $ac_status); } && {
39748 test -z "$ac_c_werror_flag" ||
39749 test ! -s conftest.err
39750 } && test -s conftest$ac_exeext &&
39751 $as_test_x conftest$ac_exeext; then
39752 ac_cv_func_readdir_r=yes
39753 else
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.$ac_ext >&5
39756
39757 ac_cv_func_readdir_r=no
39758 fi
39759
39760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39761 conftest$ac_exeext conftest.$ac_ext
39762 fi
39763 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39764 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39765 if test $ac_cv_func_readdir_r = yes; then
39766 cat >>confdefs.h <<\_ACEOF
39767 #define HAVE_READDIR_R 1
39768 _ACEOF
39769
39770 fi
39771
39772
39773
39774
39775 ac_ext=c
39776 ac_cpp='$CPP $CPPFLAGS'
39777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39780
39781 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39782 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39783
39784 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39785 echo $ECHO_N "(cached) $ECHO_C" >&6
39786 else
39787
39788
39789 ################################################################
39790
39791 ac_cv_func_which_gethostbyname_r=unknown
39792
39793 #
39794 # ONE ARGUMENT (sanity check)
39795 #
39796
39797 # This should fail, as there is no variant of gethostbyname_r() that takes
39798 # a single argument. If it actually compiles, then we can assume that
39799 # netdb.h is not declaring the function, and the compiler is thereby
39800 # assuming an implicit prototype. In which case, we're out of luck.
39801 #
39802 cat >conftest.$ac_ext <<_ACEOF
39803 /* confdefs.h. */
39804 _ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808 #include <netdb.h>
39809 int
39810 main ()
39811 {
39812
39813 char *name = "www.gnu.org";
39814 (void)gethostbyname_r(name) /* ; */
39815
39816 ;
39817 return 0;
39818 }
39819 _ACEOF
39820 rm -f conftest.$ac_objext
39821 if { (ac_try="$ac_compile"
39822 case "(($ac_try" in
39823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39825 esac
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_compile") 2>conftest.er1
39828 ac_status=$?
39829 grep -v '^ *+' conftest.er1 >conftest.err
39830 rm -f conftest.er1
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest.$ac_objext; then
39837 ac_cv_func_which_gethostbyname_r=no
39838 else
39839 echo "$as_me: failed program was:" >&5
39840 sed 's/^/| /' conftest.$ac_ext >&5
39841
39842
39843 fi
39844
39845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39846
39847 #
39848 # SIX ARGUMENTS
39849 # (e.g. Linux)
39850 #
39851
39852 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39853
39854 cat >conftest.$ac_ext <<_ACEOF
39855 /* confdefs.h. */
39856 _ACEOF
39857 cat confdefs.h >>conftest.$ac_ext
39858 cat >>conftest.$ac_ext <<_ACEOF
39859 /* end confdefs.h. */
39860 #include <netdb.h>
39861 int
39862 main ()
39863 {
39864
39865 char *name = "www.gnu.org";
39866 struct hostent ret, *retp;
39867 char buf[1024];
39868 int buflen = 1024;
39869 int my_h_errno;
39870 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39871
39872 ;
39873 return 0;
39874 }
39875 _ACEOF
39876 rm -f conftest.$ac_objext
39877 if { (ac_try="$ac_compile"
39878 case "(($ac_try" in
39879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39880 *) ac_try_echo=$ac_try;;
39881 esac
39882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39883 (eval "$ac_compile") 2>conftest.er1
39884 ac_status=$?
39885 grep -v '^ *+' conftest.er1 >conftest.err
39886 rm -f conftest.er1
39887 cat conftest.err >&5
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); } && {
39890 test -z "$ac_c_werror_flag" ||
39891 test ! -s conftest.err
39892 } && test -s conftest.$ac_objext; then
39893 ac_cv_func_which_gethostbyname_r=six
39894 else
39895 echo "$as_me: failed program was:" >&5
39896 sed 's/^/| /' conftest.$ac_ext >&5
39897
39898
39899 fi
39900
39901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39902
39903 fi
39904
39905 #
39906 # FIVE ARGUMENTS
39907 # (e.g. Solaris)
39908 #
39909
39910 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39911
39912 cat >conftest.$ac_ext <<_ACEOF
39913 /* confdefs.h. */
39914 _ACEOF
39915 cat confdefs.h >>conftest.$ac_ext
39916 cat >>conftest.$ac_ext <<_ACEOF
39917 /* end confdefs.h. */
39918 #include <netdb.h>
39919 int
39920 main ()
39921 {
39922
39923 char *name = "www.gnu.org";
39924 struct hostent ret;
39925 char buf[1024];
39926 int buflen = 1024;
39927 int my_h_errno;
39928 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39929
39930 ;
39931 return 0;
39932 }
39933 _ACEOF
39934 rm -f conftest.$ac_objext
39935 if { (ac_try="$ac_compile"
39936 case "(($ac_try" in
39937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39938 *) ac_try_echo=$ac_try;;
39939 esac
39940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39941 (eval "$ac_compile") 2>conftest.er1
39942 ac_status=$?
39943 grep -v '^ *+' conftest.er1 >conftest.err
39944 rm -f conftest.er1
39945 cat conftest.err >&5
39946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39947 (exit $ac_status); } && {
39948 test -z "$ac_c_werror_flag" ||
39949 test ! -s conftest.err
39950 } && test -s conftest.$ac_objext; then
39951 ac_cv_func_which_gethostbyname_r=five
39952 else
39953 echo "$as_me: failed program was:" >&5
39954 sed 's/^/| /' conftest.$ac_ext >&5
39955
39956
39957 fi
39958
39959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39960
39961 fi
39962
39963 #
39964 # THREE ARGUMENTS
39965 # (e.g. AIX, HP-UX, Tru64)
39966 #
39967
39968 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39969
39970 cat >conftest.$ac_ext <<_ACEOF
39971 /* confdefs.h. */
39972 _ACEOF
39973 cat confdefs.h >>conftest.$ac_ext
39974 cat >>conftest.$ac_ext <<_ACEOF
39975 /* end confdefs.h. */
39976 #include <netdb.h>
39977 int
39978 main ()
39979 {
39980
39981 char *name = "www.gnu.org";
39982 struct hostent ret;
39983 struct hostent_data data;
39984 (void)gethostbyname_r(name, &ret, &data) /* ; */
39985
39986 ;
39987 return 0;
39988 }
39989 _ACEOF
39990 rm -f conftest.$ac_objext
39991 if { (ac_try="$ac_compile"
39992 case "(($ac_try" in
39993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39994 *) ac_try_echo=$ac_try;;
39995 esac
39996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39997 (eval "$ac_compile") 2>conftest.er1
39998 ac_status=$?
39999 grep -v '^ *+' conftest.er1 >conftest.err
40000 rm -f conftest.er1
40001 cat conftest.err >&5
40002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40003 (exit $ac_status); } && {
40004 test -z "$ac_c_werror_flag" ||
40005 test ! -s conftest.err
40006 } && test -s conftest.$ac_objext; then
40007 ac_cv_func_which_gethostbyname_r=three
40008 else
40009 echo "$as_me: failed program was:" >&5
40010 sed 's/^/| /' conftest.$ac_ext >&5
40011
40012
40013 fi
40014
40015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40016
40017 fi
40018
40019 ################################################################
40020
40021
40022 fi
40023
40024 case "$ac_cv_func_which_gethostbyname_r" in
40025 three)
40026 { echo "$as_me:$LINENO: result: three" >&5
40027 echo "${ECHO_T}three" >&6; }
40028 cat >>confdefs.h <<\_ACEOF
40029 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40030 _ACEOF
40031
40032 ;;
40033
40034 five)
40035 { echo "$as_me:$LINENO: result: five" >&5
40036 echo "${ECHO_T}five" >&6; }
40037 cat >>confdefs.h <<\_ACEOF
40038 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40039 _ACEOF
40040
40041 ;;
40042
40043 six)
40044 { echo "$as_me:$LINENO: result: six" >&5
40045 echo "${ECHO_T}six" >&6; }
40046 cat >>confdefs.h <<\_ACEOF
40047 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40048 _ACEOF
40049
40050 ;;
40051
40052 no)
40053 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40054 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40055 ;;
40056
40057 unknown)
40058 { echo "$as_me:$LINENO: result: can't tell" >&5
40059 echo "${ECHO_T}can't tell" >&6; }
40060 ;;
40061
40062 *)
40063 { { echo "$as_me:$LINENO: error: internal error" >&5
40064 echo "$as_me: error: internal error" >&2;}
40065 { (exit 1); exit 1; }; }
40066 ;;
40067 esac
40068
40069 ac_ext=c
40070 ac_cpp='$CPP $CPPFLAGS'
40071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40074
40075
40076
40077 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40078 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40079 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40080 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40081 if test "${ac_cv_func_gethostbyname+set}" = set; then
40082 echo $ECHO_N "(cached) $ECHO_C" >&6
40083 else
40084 cat >conftest.$ac_ext <<_ACEOF
40085 /* confdefs.h. */
40086 _ACEOF
40087 cat confdefs.h >>conftest.$ac_ext
40088 cat >>conftest.$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40090 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40092 #define gethostbyname innocuous_gethostbyname
40093
40094 /* System header to define __stub macros and hopefully few prototypes,
40095 which can conflict with char gethostbyname (); below.
40096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40097 <limits.h> exists even on freestanding compilers. */
40098
40099 #ifdef __STDC__
40100 # include <limits.h>
40101 #else
40102 # include <assert.h>
40103 #endif
40104
40105 #undef gethostbyname
40106
40107 /* Override any GCC internal prototype to avoid an error.
40108 Use char because int might match the return type of a GCC
40109 builtin and then its argument prototype would still apply. */
40110 #ifdef __cplusplus
40111 extern "C"
40112 #endif
40113 char gethostbyname ();
40114 /* The GNU C library defines this for functions which it implements
40115 to always fail with ENOSYS. Some functions are actually named
40116 something starting with __ and the normal name is an alias. */
40117 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40118 choke me
40119 #endif
40120
40121 int
40122 main ()
40123 {
40124 return gethostbyname ();
40125 ;
40126 return 0;
40127 }
40128 _ACEOF
40129 rm -f conftest.$ac_objext conftest$ac_exeext
40130 if { (ac_try="$ac_link"
40131 case "(($ac_try" in
40132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40133 *) ac_try_echo=$ac_try;;
40134 esac
40135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40136 (eval "$ac_link") 2>conftest.er1
40137 ac_status=$?
40138 grep -v '^ *+' conftest.er1 >conftest.err
40139 rm -f conftest.er1
40140 cat conftest.err >&5
40141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40142 (exit $ac_status); } && {
40143 test -z "$ac_c_werror_flag" ||
40144 test ! -s conftest.err
40145 } && test -s conftest$ac_exeext &&
40146 $as_test_x conftest$ac_exeext; then
40147 ac_cv_func_gethostbyname=yes
40148 else
40149 echo "$as_me: failed program was:" >&5
40150 sed 's/^/| /' conftest.$ac_ext >&5
40151
40152 ac_cv_func_gethostbyname=no
40153 fi
40154
40155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40156 conftest$ac_exeext conftest.$ac_ext
40157 fi
40158 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40159 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40160 if test $ac_cv_func_gethostbyname = yes; then
40161 cat >>confdefs.h <<\_ACEOF
40162 #define HAVE_GETHOSTBYNAME 1
40163 _ACEOF
40164
40165 fi
40166
40167 fi
40168
40169 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40170 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40171 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 else
40174
40175 ac_ext=cpp
40176 ac_cpp='$CXXCPP $CPPFLAGS'
40177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40180
40181
40182 cat >conftest.$ac_ext <<_ACEOF
40183 /* confdefs.h. */
40184 _ACEOF
40185 cat confdefs.h >>conftest.$ac_ext
40186 cat >>conftest.$ac_ext <<_ACEOF
40187 /* end confdefs.h. */
40188 #include <netdb.h>
40189 int
40190 main ()
40191 {
40192
40193 char *name;
40194 char *proto;
40195 struct servent *se, *res;
40196 char buffer[2048];
40197 int buflen = 2048;
40198 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40199
40200 ;
40201 return 0;
40202 }
40203 _ACEOF
40204 rm -f conftest.$ac_objext
40205 if { (ac_try="$ac_compile"
40206 case "(($ac_try" in
40207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40208 *) ac_try_echo=$ac_try;;
40209 esac
40210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40211 (eval "$ac_compile") 2>conftest.er1
40212 ac_status=$?
40213 grep -v '^ *+' conftest.er1 >conftest.err
40214 rm -f conftest.er1
40215 cat conftest.err >&5
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); } && {
40218 test -z "$ac_cxx_werror_flag" ||
40219 test ! -s conftest.err
40220 } && test -s conftest.$ac_objext; then
40221 ac_cv_func_which_getservbyname_r=six
40222 else
40223 echo "$as_me: failed program was:" >&5
40224 sed 's/^/| /' conftest.$ac_ext >&5
40225
40226
40227 cat >conftest.$ac_ext <<_ACEOF
40228 /* confdefs.h. */
40229 _ACEOF
40230 cat confdefs.h >>conftest.$ac_ext
40231 cat >>conftest.$ac_ext <<_ACEOF
40232 /* end confdefs.h. */
40233 #include <netdb.h>
40234 int
40235 main ()
40236 {
40237
40238 char *name;
40239 char *proto;
40240 struct servent *se;
40241 char buffer[2048];
40242 int buflen = 2048;
40243 (void) getservbyname_r(name, proto, se, buffer, buflen)
40244
40245 ;
40246 return 0;
40247 }
40248 _ACEOF
40249 rm -f conftest.$ac_objext
40250 if { (ac_try="$ac_compile"
40251 case "(($ac_try" in
40252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40253 *) ac_try_echo=$ac_try;;
40254 esac
40255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40256 (eval "$ac_compile") 2>conftest.er1
40257 ac_status=$?
40258 grep -v '^ *+' conftest.er1 >conftest.err
40259 rm -f conftest.er1
40260 cat conftest.err >&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); } && {
40263 test -z "$ac_cxx_werror_flag" ||
40264 test ! -s conftest.err
40265 } && test -s conftest.$ac_objext; then
40266 ac_cv_func_which_getservbyname_r=five
40267 else
40268 echo "$as_me: failed program was:" >&5
40269 sed 's/^/| /' conftest.$ac_ext >&5
40270
40271
40272 cat >conftest.$ac_ext <<_ACEOF
40273 /* confdefs.h. */
40274 _ACEOF
40275 cat confdefs.h >>conftest.$ac_ext
40276 cat >>conftest.$ac_ext <<_ACEOF
40277 /* end confdefs.h. */
40278 #include <netdb.h>
40279 int
40280 main ()
40281 {
40282
40283 char *name;
40284 char *proto;
40285 struct servent *se;
40286 struct servent_data data;
40287 (void) getservbyname_r(name, proto, se, &data);
40288
40289 ;
40290 return 0;
40291 }
40292 _ACEOF
40293 rm -f conftest.$ac_objext
40294 if { (ac_try="$ac_compile"
40295 case "(($ac_try" in
40296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40297 *) ac_try_echo=$ac_try;;
40298 esac
40299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40300 (eval "$ac_compile") 2>conftest.er1
40301 ac_status=$?
40302 grep -v '^ *+' conftest.er1 >conftest.err
40303 rm -f conftest.er1
40304 cat conftest.err >&5
40305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 (exit $ac_status); } && {
40307 test -z "$ac_cxx_werror_flag" ||
40308 test ! -s conftest.err
40309 } && test -s conftest.$ac_objext; then
40310 ac_cv_func_which_getservbyname_r=four
40311 else
40312 echo "$as_me: failed program was:" >&5
40313 sed 's/^/| /' conftest.$ac_ext >&5
40314
40315 ac_cv_func_which_getservbyname_r=no
40316
40317 fi
40318
40319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40320
40321
40322 fi
40323
40324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40325
40326
40327 fi
40328
40329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40330 ac_ext=c
40331 ac_cpp='$CPP $CPPFLAGS'
40332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40335
40336
40337
40338 fi
40339 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40340 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40341
40342 if test $ac_cv_func_which_getservbyname_r = six; then
40343 cat >>confdefs.h <<\_ACEOF
40344 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40345 _ACEOF
40346
40347 elif test $ac_cv_func_which_getservbyname_r = five; then
40348 cat >>confdefs.h <<\_ACEOF
40349 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40350 _ACEOF
40351
40352 elif test $ac_cv_func_which_getservbyname_r = four; then
40353 cat >>confdefs.h <<\_ACEOF
40354 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40355 _ACEOF
40356
40357 fi
40358
40359
40360 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40361 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40362
40363 for ac_func in getservbyname
40364 do
40365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40366 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40368 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40369 echo $ECHO_N "(cached) $ECHO_C" >&6
40370 else
40371 cat >conftest.$ac_ext <<_ACEOF
40372 /* confdefs.h. */
40373 _ACEOF
40374 cat confdefs.h >>conftest.$ac_ext
40375 cat >>conftest.$ac_ext <<_ACEOF
40376 /* end confdefs.h. */
40377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40379 #define $ac_func innocuous_$ac_func
40380
40381 /* System header to define __stub macros and hopefully few prototypes,
40382 which can conflict with char $ac_func (); below.
40383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40384 <limits.h> exists even on freestanding compilers. */
40385
40386 #ifdef __STDC__
40387 # include <limits.h>
40388 #else
40389 # include <assert.h>
40390 #endif
40391
40392 #undef $ac_func
40393
40394 /* Override any GCC internal prototype to avoid an error.
40395 Use char because int might match the return type of a GCC
40396 builtin and then its argument prototype would still apply. */
40397 #ifdef __cplusplus
40398 extern "C"
40399 #endif
40400 char $ac_func ();
40401 /* The GNU C library defines this for functions which it implements
40402 to always fail with ENOSYS. Some functions are actually named
40403 something starting with __ and the normal name is an alias. */
40404 #if defined __stub_$ac_func || defined __stub___$ac_func
40405 choke me
40406 #endif
40407
40408 int
40409 main ()
40410 {
40411 return $ac_func ();
40412 ;
40413 return 0;
40414 }
40415 _ACEOF
40416 rm -f conftest.$ac_objext conftest$ac_exeext
40417 if { (ac_try="$ac_link"
40418 case "(($ac_try" in
40419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40420 *) ac_try_echo=$ac_try;;
40421 esac
40422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40423 (eval "$ac_link") 2>conftest.er1
40424 ac_status=$?
40425 grep -v '^ *+' conftest.er1 >conftest.err
40426 rm -f conftest.er1
40427 cat conftest.err >&5
40428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40429 (exit $ac_status); } && {
40430 test -z "$ac_c_werror_flag" ||
40431 test ! -s conftest.err
40432 } && test -s conftest$ac_exeext &&
40433 $as_test_x conftest$ac_exeext; then
40434 eval "$as_ac_var=yes"
40435 else
40436 echo "$as_me: failed program was:" >&5
40437 sed 's/^/| /' conftest.$ac_ext >&5
40438
40439 eval "$as_ac_var=no"
40440 fi
40441
40442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40443 conftest$ac_exeext conftest.$ac_ext
40444 fi
40445 ac_res=`eval echo '${'$as_ac_var'}'`
40446 { echo "$as_me:$LINENO: result: $ac_res" >&5
40447 echo "${ECHO_T}$ac_res" >&6; }
40448 if test `eval echo '${'$as_ac_var'}'` = yes; then
40449 cat >>confdefs.h <<_ACEOF
40450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40451 _ACEOF
40452 cat >>confdefs.h <<\_ACEOF
40453 #define HAVE_GETSERVBYNAME 1
40454 _ACEOF
40455
40456 fi
40457 done
40458
40459 fi
40460
40461 if test "$wxUSE_THREADS" = "yes"; then
40462 cat >>confdefs.h <<\_ACEOF
40463 #define wxUSE_THREADS 1
40464 _ACEOF
40465
40466
40467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40468 else
40469 if test "$wx_cv_func_strtok_r" = "yes"; then
40470 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40471 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40472 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40473 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40474 { echo "$as_me:$LINENO: result: yes" >&5
40475 echo "${ECHO_T}yes" >&6; }
40476 else
40477 { echo "$as_me:$LINENO: result: no" >&5
40478 echo "${ECHO_T}no" >&6; }
40479 fi
40480 fi
40481 fi
40482
40483 if test "$WXGTK20" = 1 ; then
40484 cat >>confdefs.h <<_ACEOF
40485 #define __WXGTK20__ $WXGTK20
40486 _ACEOF
40487
40488 WXGTK12=1
40489 fi
40490
40491 if test "$WXGTK12" = 1 ; then
40492 cat >>confdefs.h <<_ACEOF
40493 #define __WXGTK12__ $WXGTK12
40494 _ACEOF
40495
40496 fi
40497
40498 if test "$WXGTK127" = 1 ; then
40499 cat >>confdefs.h <<_ACEOF
40500 #define __WXGTK127__ $WXGTK127
40501 _ACEOF
40502
40503 fi
40504
40505 if test "$WXGPE" = 1 ; then
40506 cat >>confdefs.h <<_ACEOF
40507 #define __WXGPE__ $WXGPE
40508 _ACEOF
40509
40510 fi
40511
40512 DEBUG_CFLAGS=
40513 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40514 DEBUG_CFLAGS="-g"
40515 wxUSE_OPTIMISE=no
40516 fi
40517
40518 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40519 wxUSE_DEBUG_INFO=yes
40520 if test "$GCC" = yes; then
40521 DEBUG_CFLAGS="-ggdb"
40522 fi
40523 fi
40524
40525 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40526 cat >>confdefs.h <<\_ACEOF
40527 #define WXDEBUG 1
40528 _ACEOF
40529
40530 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40531 else
40532 if test "$wxUSE_GTK" = 1 ; then
40533 if test "x$wxGTK_VERSION" = "x1" ; then
40534 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40535 fi
40536 fi
40537 fi
40538
40539 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40540 cat >>confdefs.h <<\_ACEOF
40541 #define wxUSE_MEMORY_TRACING 1
40542 _ACEOF
40543
40544 cat >>confdefs.h <<\_ACEOF
40545 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40546 _ACEOF
40547
40548 cat >>confdefs.h <<\_ACEOF
40549 #define wxUSE_DEBUG_NEW_ALWAYS 1
40550 _ACEOF
40551
40552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40553 fi
40554
40555 if test "$wxUSE_DMALLOC" = "yes" ; then
40556 DMALLOC_LIBS="-ldmallocthcxx"
40557 fi
40558
40559 PROFILE_FLAGS=
40560 if test "$wxUSE_PROFILE" = "yes" ; then
40561 PROFILE_FLAGS=" -pg"
40562 fi
40563
40564 if test "$GCC" = "yes" ; then
40565 if test "$wxUSE_NO_RTTI" = "yes" ; then
40566 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40567 fi
40568 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40569 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40570 fi
40571 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40572 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40573 fi
40574
40575 case "${host}" in
40576 powerpc*-*-aix* )
40577 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40578 ;;
40579 *-hppa* )
40580 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40581 ;;
40582 esac
40583 fi
40584
40585 OPTIMISE_CFLAGS=
40586 if test "$wxUSE_OPTIMISE" = "no" ; then
40587 if test "$GCC" = yes ; then
40588 OPTIMISE_CFLAGS="-O0"
40589 fi
40590 else
40591 if test "$GCC" = yes ; then
40592 case "${host}" in
40593 *-pc-os2_emx | *-pc-os2-emx )
40594 OPTIMISE_CFLAGS="-O2"
40595 ;;
40596 *)
40597 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40598 ;;
40599 esac
40600 else
40601 OPTIMISE_CFLAGS="-O"
40602 fi
40603 fi
40604
40605
40606 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40607 cat >>confdefs.h <<\_ACEOF
40608 #define WXWIN_COMPATIBILITY_2_6 1
40609 _ACEOF
40610
40611
40612 WXWIN_COMPATIBILITY_2_8="yes"
40613 fi
40614
40615 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40616 cat >>confdefs.h <<\_ACEOF
40617 #define WXWIN_COMPATIBILITY_2_8 1
40618 _ACEOF
40619
40620 fi
40621
40622
40623 if test "$wxUSE_GUI" = "yes"; then
40624 cat >>confdefs.h <<\_ACEOF
40625 #define wxUSE_GUI 1
40626 _ACEOF
40627
40628
40629 fi
40630
40631
40632 if test "$wxUSE_UNIX" = "yes"; then
40633 cat >>confdefs.h <<\_ACEOF
40634 #define wxUSE_UNIX 1
40635 _ACEOF
40636
40637 fi
40638
40639
40640 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40641
40642 HAVE_DL_FUNCS=0
40643 HAVE_SHL_FUNCS=0
40644 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40645 if test "$USE_DARWIN" = 1; then
40646 HAVE_DL_FUNCS=1
40647 elif test "$USE_DOS" = 1; then
40648 HAVE_DL_FUNCS=0
40649 else
40650
40651 for ac_func in dlopen
40652 do
40653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40658 else
40659 cat >conftest.$ac_ext <<_ACEOF
40660 /* confdefs.h. */
40661 _ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define $ac_func innocuous_$ac_func
40668
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char $ac_func (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40673
40674 #ifdef __STDC__
40675 # include <limits.h>
40676 #else
40677 # include <assert.h>
40678 #endif
40679
40680 #undef $ac_func
40681
40682 /* Override any GCC internal prototype to avoid an error.
40683 Use char because int might match the return type of a GCC
40684 builtin and then its argument prototype would still apply. */
40685 #ifdef __cplusplus
40686 extern "C"
40687 #endif
40688 char $ac_func ();
40689 /* The GNU C library defines this for functions which it implements
40690 to always fail with ENOSYS. Some functions are actually named
40691 something starting with __ and the normal name is an alias. */
40692 #if defined __stub_$ac_func || defined __stub___$ac_func
40693 choke me
40694 #endif
40695
40696 int
40697 main ()
40698 {
40699 return $ac_func ();
40700 ;
40701 return 0;
40702 }
40703 _ACEOF
40704 rm -f conftest.$ac_objext conftest$ac_exeext
40705 if { (ac_try="$ac_link"
40706 case "(($ac_try" in
40707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40708 *) ac_try_echo=$ac_try;;
40709 esac
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_link") 2>conftest.er1
40712 ac_status=$?
40713 grep -v '^ *+' conftest.er1 >conftest.err
40714 rm -f conftest.er1
40715 cat conftest.err >&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest$ac_exeext &&
40721 $as_test_x conftest$ac_exeext; then
40722 eval "$as_ac_var=yes"
40723 else
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.$ac_ext >&5
40726
40727 eval "$as_ac_var=no"
40728 fi
40729
40730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40731 conftest$ac_exeext conftest.$ac_ext
40732 fi
40733 ac_res=`eval echo '${'$as_ac_var'}'`
40734 { echo "$as_me:$LINENO: result: $ac_res" >&5
40735 echo "${ECHO_T}$ac_res" >&6; }
40736 if test `eval echo '${'$as_ac_var'}'` = yes; then
40737 cat >>confdefs.h <<_ACEOF
40738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40739 _ACEOF
40740
40741 cat >>confdefs.h <<\_ACEOF
40742 #define HAVE_DLOPEN 1
40743 _ACEOF
40744
40745 HAVE_DL_FUNCS=1
40746
40747 else
40748
40749 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40750 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40751 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40752 echo $ECHO_N "(cached) $ECHO_C" >&6
40753 else
40754 ac_check_lib_save_LIBS=$LIBS
40755 LIBS="-ldl $LIBS"
40756 cat >conftest.$ac_ext <<_ACEOF
40757 /* confdefs.h. */
40758 _ACEOF
40759 cat confdefs.h >>conftest.$ac_ext
40760 cat >>conftest.$ac_ext <<_ACEOF
40761 /* end confdefs.h. */
40762
40763 /* Override any GCC internal prototype to avoid an error.
40764 Use char because int might match the return type of a GCC
40765 builtin and then its argument prototype would still apply. */
40766 #ifdef __cplusplus
40767 extern "C"
40768 #endif
40769 char dlopen ();
40770 int
40771 main ()
40772 {
40773 return dlopen ();
40774 ;
40775 return 0;
40776 }
40777 _ACEOF
40778 rm -f conftest.$ac_objext conftest$ac_exeext
40779 if { (ac_try="$ac_link"
40780 case "(($ac_try" in
40781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40782 *) ac_try_echo=$ac_try;;
40783 esac
40784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40785 (eval "$ac_link") 2>conftest.er1
40786 ac_status=$?
40787 grep -v '^ *+' conftest.er1 >conftest.err
40788 rm -f conftest.er1
40789 cat conftest.err >&5
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); } && {
40792 test -z "$ac_c_werror_flag" ||
40793 test ! -s conftest.err
40794 } && test -s conftest$ac_exeext &&
40795 $as_test_x conftest$ac_exeext; then
40796 ac_cv_lib_dl_dlopen=yes
40797 else
40798 echo "$as_me: failed program was:" >&5
40799 sed 's/^/| /' conftest.$ac_ext >&5
40800
40801 ac_cv_lib_dl_dlopen=no
40802 fi
40803
40804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40805 conftest$ac_exeext conftest.$ac_ext
40806 LIBS=$ac_check_lib_save_LIBS
40807 fi
40808 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40809 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40810 if test $ac_cv_lib_dl_dlopen = yes; then
40811
40812 cat >>confdefs.h <<\_ACEOF
40813 #define HAVE_DLOPEN 1
40814 _ACEOF
40815
40816 HAVE_DL_FUNCS=1
40817 DL_LINK=" -ldl$DL_LINK"
40818
40819 else
40820
40821
40822 for ac_func in shl_load
40823 do
40824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40828 echo $ECHO_N "(cached) $ECHO_C" >&6
40829 else
40830 cat >conftest.$ac_ext <<_ACEOF
40831 /* confdefs.h. */
40832 _ACEOF
40833 cat confdefs.h >>conftest.$ac_ext
40834 cat >>conftest.$ac_ext <<_ACEOF
40835 /* end confdefs.h. */
40836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40838 #define $ac_func innocuous_$ac_func
40839
40840 /* System header to define __stub macros and hopefully few prototypes,
40841 which can conflict with char $ac_func (); below.
40842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40843 <limits.h> exists even on freestanding compilers. */
40844
40845 #ifdef __STDC__
40846 # include <limits.h>
40847 #else
40848 # include <assert.h>
40849 #endif
40850
40851 #undef $ac_func
40852
40853 /* Override any GCC internal prototype to avoid an error.
40854 Use char because int might match the return type of a GCC
40855 builtin and then its argument prototype would still apply. */
40856 #ifdef __cplusplus
40857 extern "C"
40858 #endif
40859 char $ac_func ();
40860 /* The GNU C library defines this for functions which it implements
40861 to always fail with ENOSYS. Some functions are actually named
40862 something starting with __ and the normal name is an alias. */
40863 #if defined __stub_$ac_func || defined __stub___$ac_func
40864 choke me
40865 #endif
40866
40867 int
40868 main ()
40869 {
40870 return $ac_func ();
40871 ;
40872 return 0;
40873 }
40874 _ACEOF
40875 rm -f conftest.$ac_objext conftest$ac_exeext
40876 if { (ac_try="$ac_link"
40877 case "(($ac_try" in
40878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40879 *) ac_try_echo=$ac_try;;
40880 esac
40881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40882 (eval "$ac_link") 2>conftest.er1
40883 ac_status=$?
40884 grep -v '^ *+' conftest.er1 >conftest.err
40885 rm -f conftest.er1
40886 cat conftest.err >&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && {
40889 test -z "$ac_c_werror_flag" ||
40890 test ! -s conftest.err
40891 } && test -s conftest$ac_exeext &&
40892 $as_test_x conftest$ac_exeext; then
40893 eval "$as_ac_var=yes"
40894 else
40895 echo "$as_me: failed program was:" >&5
40896 sed 's/^/| /' conftest.$ac_ext >&5
40897
40898 eval "$as_ac_var=no"
40899 fi
40900
40901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40902 conftest$ac_exeext conftest.$ac_ext
40903 fi
40904 ac_res=`eval echo '${'$as_ac_var'}'`
40905 { echo "$as_me:$LINENO: result: $ac_res" >&5
40906 echo "${ECHO_T}$ac_res" >&6; }
40907 if test `eval echo '${'$as_ac_var'}'` = yes; then
40908 cat >>confdefs.h <<_ACEOF
40909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40910 _ACEOF
40911
40912 cat >>confdefs.h <<\_ACEOF
40913 #define HAVE_SHL_LOAD 1
40914 _ACEOF
40915
40916 HAVE_SHL_FUNCS=1
40917
40918 else
40919
40920 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40921 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40922 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40923 echo $ECHO_N "(cached) $ECHO_C" >&6
40924 else
40925 ac_check_lib_save_LIBS=$LIBS
40926 LIBS="-lshl_load $LIBS"
40927 cat >conftest.$ac_ext <<_ACEOF
40928 /* confdefs.h. */
40929 _ACEOF
40930 cat confdefs.h >>conftest.$ac_ext
40931 cat >>conftest.$ac_ext <<_ACEOF
40932 /* end confdefs.h. */
40933
40934 /* Override any GCC internal prototype to avoid an error.
40935 Use char because int might match the return type of a GCC
40936 builtin and then its argument prototype would still apply. */
40937 #ifdef __cplusplus
40938 extern "C"
40939 #endif
40940 char dld ();
40941 int
40942 main ()
40943 {
40944 return dld ();
40945 ;
40946 return 0;
40947 }
40948 _ACEOF
40949 rm -f conftest.$ac_objext conftest$ac_exeext
40950 if { (ac_try="$ac_link"
40951 case "(($ac_try" in
40952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40953 *) ac_try_echo=$ac_try;;
40954 esac
40955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40956 (eval "$ac_link") 2>conftest.er1
40957 ac_status=$?
40958 grep -v '^ *+' conftest.er1 >conftest.err
40959 rm -f conftest.er1
40960 cat conftest.err >&5
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); } && {
40963 test -z "$ac_c_werror_flag" ||
40964 test ! -s conftest.err
40965 } && test -s conftest$ac_exeext &&
40966 $as_test_x conftest$ac_exeext; then
40967 ac_cv_lib_shl_load_dld=yes
40968 else
40969 echo "$as_me: failed program was:" >&5
40970 sed 's/^/| /' conftest.$ac_ext >&5
40971
40972 ac_cv_lib_shl_load_dld=no
40973 fi
40974
40975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40976 conftest$ac_exeext conftest.$ac_ext
40977 LIBS=$ac_check_lib_save_LIBS
40978 fi
40979 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40980 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40981 if test $ac_cv_lib_shl_load_dld = yes; then
40982
40983 HAVE_SHL_FUNCS=1
40984 DL_LINK=" -ldld$DL_LINK"
40985
40986 fi
40987
40988
40989 fi
40990 done
40991
40992
40993 fi
40994
40995
40996 fi
40997 done
40998
40999
41000 if test "$HAVE_DL_FUNCS" = 1; then
41001
41002 for ac_func in dlerror
41003 do
41004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41007 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41008 echo $ECHO_N "(cached) $ECHO_C" >&6
41009 else
41010 cat >conftest.$ac_ext <<_ACEOF
41011 /* confdefs.h. */
41012 _ACEOF
41013 cat confdefs.h >>conftest.$ac_ext
41014 cat >>conftest.$ac_ext <<_ACEOF
41015 /* end confdefs.h. */
41016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41018 #define $ac_func innocuous_$ac_func
41019
41020 /* System header to define __stub macros and hopefully few prototypes,
41021 which can conflict with char $ac_func (); below.
41022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41023 <limits.h> exists even on freestanding compilers. */
41024
41025 #ifdef __STDC__
41026 # include <limits.h>
41027 #else
41028 # include <assert.h>
41029 #endif
41030
41031 #undef $ac_func
41032
41033 /* Override any GCC internal prototype to avoid an error.
41034 Use char because int might match the return type of a GCC
41035 builtin and then its argument prototype would still apply. */
41036 #ifdef __cplusplus
41037 extern "C"
41038 #endif
41039 char $ac_func ();
41040 /* The GNU C library defines this for functions which it implements
41041 to always fail with ENOSYS. Some functions are actually named
41042 something starting with __ and the normal name is an alias. */
41043 #if defined __stub_$ac_func || defined __stub___$ac_func
41044 choke me
41045 #endif
41046
41047 int
41048 main ()
41049 {
41050 return $ac_func ();
41051 ;
41052 return 0;
41053 }
41054 _ACEOF
41055 rm -f conftest.$ac_objext conftest$ac_exeext
41056 if { (ac_try="$ac_link"
41057 case "(($ac_try" in
41058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41059 *) ac_try_echo=$ac_try;;
41060 esac
41061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41062 (eval "$ac_link") 2>conftest.er1
41063 ac_status=$?
41064 grep -v '^ *+' conftest.er1 >conftest.err
41065 rm -f conftest.er1
41066 cat conftest.err >&5
41067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41068 (exit $ac_status); } && {
41069 test -z "$ac_c_werror_flag" ||
41070 test ! -s conftest.err
41071 } && test -s conftest$ac_exeext &&
41072 $as_test_x conftest$ac_exeext; then
41073 eval "$as_ac_var=yes"
41074 else
41075 echo "$as_me: failed program was:" >&5
41076 sed 's/^/| /' conftest.$ac_ext >&5
41077
41078 eval "$as_ac_var=no"
41079 fi
41080
41081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41082 conftest$ac_exeext conftest.$ac_ext
41083 fi
41084 ac_res=`eval echo '${'$as_ac_var'}'`
41085 { echo "$as_me:$LINENO: result: $ac_res" >&5
41086 echo "${ECHO_T}$ac_res" >&6; }
41087 if test `eval echo '${'$as_ac_var'}'` = yes; then
41088 cat >>confdefs.h <<_ACEOF
41089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41090 _ACEOF
41091 cat >>confdefs.h <<\_ACEOF
41092 #define HAVE_DLERROR 1
41093 _ACEOF
41094
41095 else
41096
41097 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41098 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41099 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41101 else
41102 ac_check_lib_save_LIBS=$LIBS
41103 LIBS="-ldl $LIBS"
41104 cat >conftest.$ac_ext <<_ACEOF
41105 /* confdefs.h. */
41106 _ACEOF
41107 cat confdefs.h >>conftest.$ac_ext
41108 cat >>conftest.$ac_ext <<_ACEOF
41109 /* end confdefs.h. */
41110
41111 /* Override any GCC internal prototype to avoid an error.
41112 Use char because int might match the return type of a GCC
41113 builtin and then its argument prototype would still apply. */
41114 #ifdef __cplusplus
41115 extern "C"
41116 #endif
41117 char dlerror ();
41118 int
41119 main ()
41120 {
41121 return dlerror ();
41122 ;
41123 return 0;
41124 }
41125 _ACEOF
41126 rm -f conftest.$ac_objext conftest$ac_exeext
41127 if { (ac_try="$ac_link"
41128 case "(($ac_try" in
41129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41130 *) ac_try_echo=$ac_try;;
41131 esac
41132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41133 (eval "$ac_link") 2>conftest.er1
41134 ac_status=$?
41135 grep -v '^ *+' conftest.er1 >conftest.err
41136 rm -f conftest.er1
41137 cat conftest.err >&5
41138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41139 (exit $ac_status); } && {
41140 test -z "$ac_c_werror_flag" ||
41141 test ! -s conftest.err
41142 } && test -s conftest$ac_exeext &&
41143 $as_test_x conftest$ac_exeext; then
41144 ac_cv_lib_dl_dlerror=yes
41145 else
41146 echo "$as_me: failed program was:" >&5
41147 sed 's/^/| /' conftest.$ac_ext >&5
41148
41149 ac_cv_lib_dl_dlerror=no
41150 fi
41151
41152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41153 conftest$ac_exeext conftest.$ac_ext
41154 LIBS=$ac_check_lib_save_LIBS
41155 fi
41156 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41157 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41158 if test $ac_cv_lib_dl_dlerror = yes; then
41159 cat >>confdefs.h <<\_ACEOF
41160 #define HAVE_DLERROR 1
41161 _ACEOF
41162
41163 fi
41164
41165
41166
41167 fi
41168 done
41169
41170 fi
41171 fi
41172
41173 if test "$HAVE_DL_FUNCS" = 0; then
41174 if test "$HAVE_SHL_FUNCS" = 0; then
41175 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41176 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41177 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41178 wxUSE_DYNAMIC_LOADER=no
41179 wxUSE_DYNLIB_CLASS=no
41180 else
41181 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41182 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41183 fi
41184 fi
41185 fi
41186 fi
41187 fi
41188
41189 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41190 cat >>confdefs.h <<\_ACEOF
41191 #define wxUSE_DYNAMIC_LOADER 1
41192 _ACEOF
41193
41194 fi
41195 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41196 cat >>confdefs.h <<\_ACEOF
41197 #define wxUSE_DYNLIB_CLASS 1
41198 _ACEOF
41199
41200 fi
41201
41202
41203
41204 if test "$wxUSE_PLUGINS" = "yes" ; then
41205 if test "$wxUSE_SHARED" = "no" ; then
41206 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41207 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41208 wxUSE_PLUGINS=no
41209 fi
41210 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41211 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41212 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41213 wxUSE_PLUGINS=no
41214 fi
41215 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41216 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41217 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41218 wxUSE_PLUGINS=no
41219 fi
41220 if test "$wxUSE_PLUGINS" = "yes" ; then
41221 cat >>confdefs.h <<\_ACEOF
41222 #define wxUSE_PLUGINS 1
41223 _ACEOF
41224
41225 fi
41226 fi
41227
41228
41229 if test "$wxUSE_STL" = "yes"; then
41230 cat >>confdefs.h <<\_ACEOF
41231 #define wxUSE_STL 1
41232 _ACEOF
41233
41234 fi
41235
41236 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41237 cat >>confdefs.h <<\_ACEOF
41238 #define wxUSE_APPLE_IEEE 1
41239 _ACEOF
41240
41241 fi
41242
41243 if test "$wxUSE_TIMER" = "yes"; then
41244 cat >>confdefs.h <<\_ACEOF
41245 #define wxUSE_TIMER 1
41246 _ACEOF
41247
41248 fi
41249
41250 if test "$USE_UNIX" = "1" ; then
41251 if test "$wxUSE_MGL" != 1; then
41252 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41253 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41254 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41255 echo $ECHO_N "(cached) $ECHO_C" >&6
41256 else
41257
41258 cat >conftest.$ac_ext <<_ACEOF
41259 /* confdefs.h. */
41260 _ACEOF
41261 cat confdefs.h >>conftest.$ac_ext
41262 cat >>conftest.$ac_ext <<_ACEOF
41263 /* end confdefs.h. */
41264
41265 #include <sys/ioctl.h>
41266 #include <sys/soundcard.h>
41267
41268 int
41269 main ()
41270 {
41271
41272 ioctl(0, SNDCTL_DSP_SPEED, 0);
41273
41274 ;
41275 return 0;
41276 }
41277 _ACEOF
41278 rm -f conftest.$ac_objext conftest$ac_exeext
41279 if { (ac_try="$ac_link"
41280 case "(($ac_try" in
41281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41282 *) ac_try_echo=$ac_try;;
41283 esac
41284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41285 (eval "$ac_link") 2>conftest.er1
41286 ac_status=$?
41287 grep -v '^ *+' conftest.er1 >conftest.err
41288 rm -f conftest.er1
41289 cat conftest.err >&5
41290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291 (exit $ac_status); } && {
41292 test -z "$ac_c_werror_flag" ||
41293 test ! -s conftest.err
41294 } && test -s conftest$ac_exeext &&
41295 $as_test_x conftest$ac_exeext; then
41296 ac_cv_header_sys_soundcard=yes
41297 else
41298 echo "$as_me: failed program was:" >&5
41299 sed 's/^/| /' conftest.$ac_ext >&5
41300
41301
41302 saveLibs="$LIBS"
41303 LIBS="$saveLibs -lossaudio"
41304 cat >conftest.$ac_ext <<_ACEOF
41305 /* confdefs.h. */
41306 _ACEOF
41307 cat confdefs.h >>conftest.$ac_ext
41308 cat >>conftest.$ac_ext <<_ACEOF
41309 /* end confdefs.h. */
41310
41311 #include <sys/ioctl.h>
41312 #include <sys/soundcard.h>
41313
41314 int
41315 main ()
41316 {
41317
41318 ioctl(0, SNDCTL_DSP_SPEED, 0);
41319
41320 ;
41321 return 0;
41322 }
41323 _ACEOF
41324 rm -f conftest.$ac_objext conftest$ac_exeext
41325 if { (ac_try="$ac_link"
41326 case "(($ac_try" in
41327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41328 *) ac_try_echo=$ac_try;;
41329 esac
41330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41331 (eval "$ac_link") 2>conftest.er1
41332 ac_status=$?
41333 grep -v '^ *+' conftest.er1 >conftest.err
41334 rm -f conftest.er1
41335 cat conftest.err >&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); } && {
41338 test -z "$ac_c_werror_flag" ||
41339 test ! -s conftest.err
41340 } && test -s conftest$ac_exeext &&
41341 $as_test_x conftest$ac_exeext; then
41342 ac_cv_header_sys_soundcard=yes
41343 else
41344 echo "$as_me: failed program was:" >&5
41345 sed 's/^/| /' conftest.$ac_ext >&5
41346
41347
41348 LIBS="$saveLibs"
41349 ac_cv_header_sys_soundcard=no
41350
41351
41352 fi
41353
41354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41355 conftest$ac_exeext conftest.$ac_ext
41356
41357
41358 fi
41359
41360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41361 conftest$ac_exeext conftest.$ac_ext
41362
41363 fi
41364 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41365 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41366 fi
41367
41368 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41369 cat >>confdefs.h <<\_ACEOF
41370 #define HAVE_SYS_SOUNDCARD_H 1
41371 _ACEOF
41372
41373 else
41374 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41375 fi
41376 fi
41377
41378 WITH_PLUGIN_SDL=0
41379 if test "$wxUSE_SOUND" = "yes"; then
41380 if test "$USE_UNIX" = "1" ; then
41381 if test "$wxUSE_LIBSDL" != "no"; then
41382
41383 # Check whether --with-sdl-prefix was given.
41384 if test "${with_sdl_prefix+set}" = set; then
41385 withval=$with_sdl_prefix; sdl_prefix="$withval"
41386 else
41387 sdl_prefix=""
41388 fi
41389
41390
41391 # Check whether --with-sdl-exec-prefix was given.
41392 if test "${with_sdl_exec_prefix+set}" = set; then
41393 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41394 else
41395 sdl_exec_prefix=""
41396 fi
41397
41398 # Check whether --enable-sdltest was given.
41399 if test "${enable_sdltest+set}" = set; then
41400 enableval=$enable_sdltest;
41401 else
41402 enable_sdltest=yes
41403 fi
41404
41405
41406 if test x$sdl_exec_prefix != x ; then
41407 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41408 if test x${SDL_CONFIG+set} != xset ; then
41409 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41410 fi
41411 fi
41412 if test x$sdl_prefix != x ; then
41413 sdl_args="$sdl_args --prefix=$sdl_prefix"
41414 if test x${SDL_CONFIG+set} != xset ; then
41415 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41416 fi
41417 fi
41418
41419 if test "x$prefix" != xNONE; then
41420 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41421 fi
41422 # Extract the first word of "sdl-config", so it can be a program name with args.
41423 set dummy sdl-config; ac_word=$2
41424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41426 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41427 echo $ECHO_N "(cached) $ECHO_C" >&6
41428 else
41429 case $SDL_CONFIG in
41430 [\\/]* | ?:[\\/]*)
41431 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41432 ;;
41433 *)
41434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41435 for as_dir in $PATH
41436 do
41437 IFS=$as_save_IFS
41438 test -z "$as_dir" && as_dir=.
41439 for ac_exec_ext in '' $ac_executable_extensions; do
41440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41441 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41443 break 2
41444 fi
41445 done
41446 done
41447 IFS=$as_save_IFS
41448
41449 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41450 ;;
41451 esac
41452 fi
41453 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41454 if test -n "$SDL_CONFIG"; then
41455 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41456 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41457 else
41458 { echo "$as_me:$LINENO: result: no" >&5
41459 echo "${ECHO_T}no" >&6; }
41460 fi
41461
41462
41463 min_sdl_version=1.2.0
41464 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41465 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41466 no_sdl=""
41467 if test "$SDL_CONFIG" = "no" ; then
41468 no_sdl=yes
41469 else
41470 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41471 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41472
41473 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41475 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41477 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41478 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41479 if test "x$enable_sdltest" = "xyes" ; then
41480 ac_save_CFLAGS="$CFLAGS"
41481 ac_save_CXXFLAGS="$CXXFLAGS"
41482 ac_save_LIBS="$LIBS"
41483 CFLAGS="$CFLAGS $SDL_CFLAGS"
41484 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41485 LIBS="$LIBS $SDL_LIBS"
41486 rm -f conf.sdltest
41487 if test "$cross_compiling" = yes; then
41488 echo $ac_n "cross compiling; assumed OK... $ac_c"
41489 else
41490 cat >conftest.$ac_ext <<_ACEOF
41491 /* confdefs.h. */
41492 _ACEOF
41493 cat confdefs.h >>conftest.$ac_ext
41494 cat >>conftest.$ac_ext <<_ACEOF
41495 /* end confdefs.h. */
41496
41497 #include <stdio.h>
41498 #include <stdlib.h>
41499 #include <string.h>
41500 #include "SDL.h"
41501
41502 char*
41503 my_strdup (char *str)
41504 {
41505 char *new_str;
41506
41507 if (str)
41508 {
41509 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41510 strcpy (new_str, str);
41511 }
41512 else
41513 new_str = NULL;
41514
41515 return new_str;
41516 }
41517
41518 int main (int argc, char *argv[])
41519 {
41520 int major, minor, micro;
41521 char *tmp_version;
41522
41523 /* This hangs on some systems (?)
41524 system ("touch conf.sdltest");
41525 */
41526 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41527
41528 /* HP/UX 9 (%@#!) writes to sscanf strings */
41529 tmp_version = my_strdup("$min_sdl_version");
41530 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41531 printf("%s, bad version string\n", "$min_sdl_version");
41532 exit(1);
41533 }
41534
41535 if (($sdl_major_version > major) ||
41536 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41537 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41538 {
41539 return 0;
41540 }
41541 else
41542 {
41543 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41544 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41545 printf("*** best to upgrade to the required version.\n");
41546 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41547 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41548 printf("*** config.cache before re-running configure\n");
41549 return 1;
41550 }
41551 }
41552
41553
41554 _ACEOF
41555 rm -f conftest$ac_exeext
41556 if { (ac_try="$ac_link"
41557 case "(($ac_try" in
41558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41559 *) ac_try_echo=$ac_try;;
41560 esac
41561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41562 (eval "$ac_link") 2>&5
41563 ac_status=$?
41564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41566 { (case "(($ac_try" in
41567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41568 *) ac_try_echo=$ac_try;;
41569 esac
41570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41571 (eval "$ac_try") 2>&5
41572 ac_status=$?
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; }; then
41575 :
41576 else
41577 echo "$as_me: program exited with status $ac_status" >&5
41578 echo "$as_me: failed program was:" >&5
41579 sed 's/^/| /' conftest.$ac_ext >&5
41580
41581 ( exit $ac_status )
41582 no_sdl=yes
41583 fi
41584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41585 fi
41586
41587
41588 CFLAGS="$ac_save_CFLAGS"
41589 CXXFLAGS="$ac_save_CXXFLAGS"
41590 LIBS="$ac_save_LIBS"
41591 fi
41592 fi
41593 if test "x$no_sdl" = x ; then
41594 { echo "$as_me:$LINENO: result: yes" >&5
41595 echo "${ECHO_T}yes" >&6; }
41596
41597 EXTRALIBS_SDL="$SDL_LIBS"
41598 CFLAGS="$SDL_CFLAGS $CFLAGS"
41599 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41600 cat >>confdefs.h <<\_ACEOF
41601 #define wxUSE_LIBSDL 1
41602 _ACEOF
41603
41604
41605 else
41606 { echo "$as_me:$LINENO: result: no" >&5
41607 echo "${ECHO_T}no" >&6; }
41608 if test "$SDL_CONFIG" = "no" ; then
41609 echo "*** The sdl-config script installed by SDL could not be found"
41610 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41611 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41612 echo "*** full path to sdl-config."
41613 else
41614 if test -f conf.sdltest ; then
41615 :
41616 else
41617 echo "*** Could not run SDL test program, checking why..."
41618 CFLAGS="$CFLAGS $SDL_CFLAGS"
41619 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41620 LIBS="$LIBS $SDL_LIBS"
41621 cat >conftest.$ac_ext <<_ACEOF
41622 /* confdefs.h. */
41623 _ACEOF
41624 cat confdefs.h >>conftest.$ac_ext
41625 cat >>conftest.$ac_ext <<_ACEOF
41626 /* end confdefs.h. */
41627
41628 #include <stdio.h>
41629 #include "SDL.h"
41630
41631 int main(int argc, char *argv[])
41632 { return 0; }
41633 #undef main
41634 #define main K_and_R_C_main
41635
41636 int
41637 main ()
41638 {
41639 return 0;
41640 ;
41641 return 0;
41642 }
41643 _ACEOF
41644 rm -f conftest.$ac_objext conftest$ac_exeext
41645 if { (ac_try="$ac_link"
41646 case "(($ac_try" in
41647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41648 *) ac_try_echo=$ac_try;;
41649 esac
41650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41651 (eval "$ac_link") 2>conftest.er1
41652 ac_status=$?
41653 grep -v '^ *+' conftest.er1 >conftest.err
41654 rm -f conftest.er1
41655 cat conftest.err >&5
41656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41657 (exit $ac_status); } && {
41658 test -z "$ac_c_werror_flag" ||
41659 test ! -s conftest.err
41660 } && test -s conftest$ac_exeext &&
41661 $as_test_x conftest$ac_exeext; then
41662 echo "*** The test program compiled, but did not run. This usually means"
41663 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41664 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41665 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41666 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41667 echo "*** is required on your system"
41668 echo "***"
41669 echo "*** If you have an old version installed, it is best to remove it, although"
41670 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41671 else
41672 echo "$as_me: failed program was:" >&5
41673 sed 's/^/| /' conftest.$ac_ext >&5
41674
41675 echo "*** The test program failed to compile or link. See the file config.log for the"
41676 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41677 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41678 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41679 fi
41680
41681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41682 conftest$ac_exeext conftest.$ac_ext
41683 CFLAGS="$ac_save_CFLAGS"
41684 CXXFLAGS="$ac_save_CXXFLAGS"
41685 LIBS="$ac_save_LIBS"
41686 fi
41687 fi
41688 SDL_CFLAGS=""
41689 SDL_LIBS=""
41690 wxUSE_LIBSDL="no"
41691 fi
41692
41693
41694 rm -f conf.sdltest
41695
41696 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41697 WITH_PLUGIN_SDL=1
41698 fi
41699 fi
41700 else
41701 if test "$wxUSE_MGL" = 1; then
41702 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41703 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41704 wxUSE_SOUND="no"
41705 fi
41706 fi
41707 fi
41708
41709 if test "$wxUSE_SOUND" = "yes"; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_SOUND 1
41712 _ACEOF
41713
41714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41715 fi
41716
41717 if test "$WXGTK20" = 1; then
41718
41719
41720 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41721 if test -n "$ac_tool_prefix"; then
41722 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41723 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41726 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41727 echo $ECHO_N "(cached) $ECHO_C" >&6
41728 else
41729 case $PKG_CONFIG in
41730 [\\/]* | ?:[\\/]*)
41731 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41732 ;;
41733 *)
41734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41735 for as_dir in $PATH
41736 do
41737 IFS=$as_save_IFS
41738 test -z "$as_dir" && as_dir=.
41739 for ac_exec_ext in '' $ac_executable_extensions; do
41740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41741 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41743 break 2
41744 fi
41745 done
41746 done
41747 IFS=$as_save_IFS
41748
41749 ;;
41750 esac
41751 fi
41752 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41753 if test -n "$PKG_CONFIG"; then
41754 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41755 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41756 else
41757 { echo "$as_me:$LINENO: result: no" >&5
41758 echo "${ECHO_T}no" >&6; }
41759 fi
41760
41761
41762 fi
41763 if test -z "$ac_cv_path_PKG_CONFIG"; then
41764 ac_pt_PKG_CONFIG=$PKG_CONFIG
41765 # Extract the first word of "pkg-config", so it can be a program name with args.
41766 set dummy pkg-config; ac_word=$2
41767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41769 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41770 echo $ECHO_N "(cached) $ECHO_C" >&6
41771 else
41772 case $ac_pt_PKG_CONFIG in
41773 [\\/]* | ?:[\\/]*)
41774 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41775 ;;
41776 *)
41777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41778 for as_dir in $PATH
41779 do
41780 IFS=$as_save_IFS
41781 test -z "$as_dir" && as_dir=.
41782 for ac_exec_ext in '' $ac_executable_extensions; do
41783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41784 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41786 break 2
41787 fi
41788 done
41789 done
41790 IFS=$as_save_IFS
41791
41792 ;;
41793 esac
41794 fi
41795 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41796 if test -n "$ac_pt_PKG_CONFIG"; then
41797 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41798 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41799 else
41800 { echo "$as_me:$LINENO: result: no" >&5
41801 echo "${ECHO_T}no" >&6; }
41802 fi
41803
41804 if test "x$ac_pt_PKG_CONFIG" = x; then
41805 PKG_CONFIG=""
41806 else
41807 case $cross_compiling:$ac_tool_warned in
41808 yes:)
41809 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41810 whose name does not start with the host triplet. If you think this
41811 configuration is useful to you, please write to autoconf@gnu.org." >&5
41812 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41813 whose name does not start with the host triplet. If you think this
41814 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41815 ac_tool_warned=yes ;;
41816 esac
41817 PKG_CONFIG=$ac_pt_PKG_CONFIG
41818 fi
41819 else
41820 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41821 fi
41822
41823 fi
41824 if test -n "$PKG_CONFIG"; then
41825 _pkg_min_version=0.9.0
41826 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41827 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41828 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41829 { echo "$as_me:$LINENO: result: yes" >&5
41830 echo "${ECHO_T}yes" >&6; }
41831 else
41832 { echo "$as_me:$LINENO: result: no" >&5
41833 echo "${ECHO_T}no" >&6; }
41834 PKG_CONFIG=""
41835 fi
41836
41837 fi
41838
41839 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41840 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41841
41842
41843 pkg_failed=no
41844 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41845 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41846
41847 if test -n "$PKG_CONFIG"; then
41848 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41849 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41850 else
41851 if test -n "$PKG_CONFIG" && \
41852 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41853 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41854 ac_status=$?
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); }; then
41857 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41858 else
41859 pkg_failed=yes
41860 fi
41861 fi
41862 else
41863 pkg_failed=untried
41864 fi
41865 if test -n "$PKG_CONFIG"; then
41866 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41867 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41868 else
41869 if test -n "$PKG_CONFIG" && \
41870 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41871 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41872 ac_status=$?
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); }; then
41875 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41876 else
41877 pkg_failed=yes
41878 fi
41879 fi
41880 else
41881 pkg_failed=untried
41882 fi
41883
41884
41885
41886 if test $pkg_failed = yes; then
41887
41888 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41889 _pkg_short_errors_supported=yes
41890 else
41891 _pkg_short_errors_supported=no
41892 fi
41893 if test $_pkg_short_errors_supported = yes; then
41894 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41895 else
41896 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41897 fi
41898 # Put the nasty error message in config.log where it belongs
41899 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41900
41901
41902 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41903 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41904 wxUSE_LIBGNOMEPRINT="no"
41905
41906
41907 elif test $pkg_failed = untried; then
41908
41909 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41910 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41911 wxUSE_LIBGNOMEPRINT="no"
41912
41913
41914 else
41915 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41916 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41917 { echo "$as_me:$LINENO: result: yes" >&5
41918 echo "${ECHO_T}yes" >&6; }
41919
41920 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41921 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41922 cat >>confdefs.h <<\_ACEOF
41923 #define wxUSE_LIBGNOMEPRINT 1
41924 _ACEOF
41925
41926
41927 fi
41928 fi
41929 fi
41930
41931 if test "$wxUSE_MIMETYPE" = "yes" ; then
41932 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41933
41934
41935 pkg_failed=no
41936 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41937 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41938
41939 if test -n "$PKG_CONFIG"; then
41940 if test -n "$GNOMEVFS_CFLAGS"; then
41941 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41942 else
41943 if test -n "$PKG_CONFIG" && \
41944 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41945 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41946 ac_status=$?
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); }; then
41949 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41950 else
41951 pkg_failed=yes
41952 fi
41953 fi
41954 else
41955 pkg_failed=untried
41956 fi
41957 if test -n "$PKG_CONFIG"; then
41958 if test -n "$GNOMEVFS_LIBS"; then
41959 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41960 else
41961 if test -n "$PKG_CONFIG" && \
41962 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41963 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41964 ac_status=$?
41965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41966 (exit $ac_status); }; then
41967 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41968 else
41969 pkg_failed=yes
41970 fi
41971 fi
41972 else
41973 pkg_failed=untried
41974 fi
41975
41976
41977
41978 if test $pkg_failed = yes; then
41979
41980 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41981 _pkg_short_errors_supported=yes
41982 else
41983 _pkg_short_errors_supported=no
41984 fi
41985 if test $_pkg_short_errors_supported = yes; then
41986 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41987 else
41988 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41989 fi
41990 # Put the nasty error message in config.log where it belongs
41991 echo "$GNOMEVFS_PKG_ERRORS" >&5
41992
41993
41994 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41995 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41996 wxUSE_LIBGNOMEVFS="no"
41997
41998
41999 elif test $pkg_failed = untried; then
42000
42001 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42002 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42003 wxUSE_LIBGNOMEVFS="no"
42004
42005
42006 else
42007 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42008 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42009 { echo "$as_me:$LINENO: result: yes" >&5
42010 echo "${ECHO_T}yes" >&6; }
42011
42012 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42013 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42014 cat >>confdefs.h <<\_ACEOF
42015 #define wxUSE_LIBGNOMEVFS 1
42016 _ACEOF
42017
42018
42019 fi
42020 fi
42021 fi
42022
42023 if test "$wxUSE_LIBHILDON" = "yes" ; then
42024
42025 pkg_failed=no
42026 { echo "$as_me:$LINENO: checking for HILDON" >&5
42027 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42028
42029 if test -n "$PKG_CONFIG"; then
42030 if test -n "$HILDON_CFLAGS"; then
42031 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42032 else
42033 if test -n "$PKG_CONFIG" && \
42034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42035 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42036 ac_status=$?
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); }; then
42039 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42040 else
42041 pkg_failed=yes
42042 fi
42043 fi
42044 else
42045 pkg_failed=untried
42046 fi
42047 if test -n "$PKG_CONFIG"; then
42048 if test -n "$HILDON_LIBS"; then
42049 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42050 else
42051 if test -n "$PKG_CONFIG" && \
42052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42053 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42054 ac_status=$?
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); }; then
42057 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42058 else
42059 pkg_failed=yes
42060 fi
42061 fi
42062 else
42063 pkg_failed=untried
42064 fi
42065
42066
42067
42068 if test $pkg_failed = yes; then
42069
42070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42071 _pkg_short_errors_supported=yes
42072 else
42073 _pkg_short_errors_supported=no
42074 fi
42075 if test $_pkg_short_errors_supported = yes; then
42076 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42077 else
42078 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42079 fi
42080 # Put the nasty error message in config.log where it belongs
42081 echo "$HILDON_PKG_ERRORS" >&5
42082
42083
42084 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42085 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42086 wxUSE_LIBHILDON="no"
42087
42088
42089 elif test $pkg_failed = untried; then
42090
42091 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42092 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42093 wxUSE_LIBHILDON="no"
42094
42095
42096 else
42097 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42098 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42099 { echo "$as_me:$LINENO: result: yes" >&5
42100 echo "${ECHO_T}yes" >&6; }
42101
42102 EXTRALIBS_HILDON="$HILDON_LIBS"
42103 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42104 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42105 cat >>confdefs.h <<\_ACEOF
42106 #define wxUSE_LIBHILDON 1
42107 _ACEOF
42108
42109
42110 fi
42111 fi
42112 fi
42113
42114 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_CMDLINE_PARSER 1
42117 _ACEOF
42118
42119 fi
42120
42121 if test "$wxUSE_STOPWATCH" = "yes"; then
42122 cat >>confdefs.h <<\_ACEOF
42123 #define wxUSE_STOPWATCH 1
42124 _ACEOF
42125
42126 fi
42127
42128 if test "$wxUSE_DATETIME" = "yes"; then
42129 cat >>confdefs.h <<\_ACEOF
42130 #define wxUSE_DATETIME 1
42131 _ACEOF
42132
42133 fi
42134
42135 if test "$wxUSE_FILE" = "yes"; then
42136 cat >>confdefs.h <<\_ACEOF
42137 #define wxUSE_FILE 1
42138 _ACEOF
42139
42140 fi
42141
42142 if test "$wxUSE_FFILE" = "yes"; then
42143 cat >>confdefs.h <<\_ACEOF
42144 #define wxUSE_FFILE 1
42145 _ACEOF
42146
42147 fi
42148
42149 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42150 if test "$wxUSE_STREAMS" != yes; then
42151 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42152 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42153 wxUSE_ARCHIVE_STREAMS=no
42154 else
42155 cat >>confdefs.h <<\_ACEOF
42156 #define wxUSE_ARCHIVE_STREAMS 1
42157 _ACEOF
42158
42159 fi
42160 fi
42161
42162 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42163 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42164 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42165 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42166 elif test "$wxUSE_ZLIB" = "no"; then
42167 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42168 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42169 else
42170 cat >>confdefs.h <<\_ACEOF
42171 #define wxUSE_ZIPSTREAM 1
42172 _ACEOF
42173
42174 fi
42175 fi
42176
42177 if test "$wxUSE_TARSTREAM" = "yes"; then
42178 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42179 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42180 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42181 else
42182 cat >>confdefs.h <<\_ACEOF
42183 #define wxUSE_TARSTREAM 1
42184 _ACEOF
42185
42186 fi
42187 fi
42188
42189 if test "$wxUSE_FILESYSTEM" = "yes"; then
42190 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42191 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42192 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42193 wxUSE_FILESYSTEM=no
42194 else
42195 cat >>confdefs.h <<\_ACEOF
42196 #define wxUSE_FILESYSTEM 1
42197 _ACEOF
42198
42199 fi
42200 fi
42201
42202 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42203 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42204 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42205 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42206 else
42207 cat >>confdefs.h <<\_ACEOF
42208 #define wxUSE_FS_ARCHIVE 1
42209 _ACEOF
42210
42211 fi
42212 fi
42213
42214 if test "$wxUSE_FS_ZIP" = "yes"; then
42215 if test "$wxUSE_FS_ARCHIVE" != yes; then
42216 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42217 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42218 else
42219 cat >>confdefs.h <<\_ACEOF
42220 #define wxUSE_FS_ZIP 1
42221 _ACEOF
42222
42223 fi
42224 fi
42225
42226 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42227 if test "$USE_UNIX" != 1; then
42228 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42229 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42230 wxUSE_ON_FATAL_EXCEPTION=no
42231 else
42232 cat >>confdefs.h <<\_ACEOF
42233 #define wxUSE_ON_FATAL_EXCEPTION 1
42234 _ACEOF
42235
42236 fi
42237 fi
42238
42239 if test "$wxUSE_STACKWALKER" = "yes"; then
42240 cat >>confdefs.h <<\_ACEOF
42241 #define wxUSE_STACKWALKER 1
42242 _ACEOF
42243
42244 fi
42245
42246 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42247 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42248 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42249 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42250 wxUSE_DEBUGREPORT=no
42251 else
42252 cat >>confdefs.h <<\_ACEOF
42253 #define wxUSE_DEBUGREPORT 1
42254 _ACEOF
42255
42256 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42258 fi
42259 fi
42260 fi
42261
42262 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42263 cat >>confdefs.h <<\_ACEOF
42264 #define wxUSE_SNGLINST_CHECKER 1
42265 _ACEOF
42266
42267 fi
42268
42269 if test "$wxUSE_BUSYINFO" = "yes"; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define wxUSE_BUSYINFO 1
42272 _ACEOF
42273
42274 fi
42275
42276 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42277 cat >>confdefs.h <<\_ACEOF
42278 #define wxUSE_STD_IOSTREAM 1
42279 _ACEOF
42280
42281 fi
42282
42283 if test "$wxUSE_STD_STRING" = "yes"; then
42284 cat >>confdefs.h <<\_ACEOF
42285 #define wxUSE_STD_STRING 1
42286 _ACEOF
42287
42288 fi
42289
42290 if test "$wxUSE_STDPATHS" = "yes"; then
42291 cat >>confdefs.h <<\_ACEOF
42292 #define wxUSE_STDPATHS 1
42293 _ACEOF
42294
42295 fi
42296
42297 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42298 cat >>confdefs.h <<\_ACEOF
42299 #define wxUSE_TEXTBUFFER 1
42300 _ACEOF
42301
42302 fi
42303
42304 if test "$wxUSE_TEXTFILE" = "yes"; then
42305 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42306 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42307 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42308 else
42309 cat >>confdefs.h <<\_ACEOF
42310 #define wxUSE_TEXTFILE 1
42311 _ACEOF
42312
42313 fi
42314 fi
42315
42316 if test "$wxUSE_CONFIG" = "yes" ; then
42317 if test "$wxUSE_TEXTFILE" != "yes"; then
42318 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42319 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42320 else
42321 cat >>confdefs.h <<\_ACEOF
42322 #define wxUSE_CONFIG 1
42323 _ACEOF
42324
42325 cat >>confdefs.h <<\_ACEOF
42326 #define wxUSE_CONFIG_NATIVE 1
42327 _ACEOF
42328
42329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42330 fi
42331 fi
42332
42333 if test "$wxUSE_INTL" = "yes" ; then
42334 if test "$wxUSE_FILE" != "yes"; then
42335 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42336 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42337 else
42338 cat >>confdefs.h <<\_ACEOF
42339 #define wxUSE_INTL 1
42340 _ACEOF
42341
42342 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42343 GUIDIST="$GUIDIST INTL_DIST"
42344 fi
42345 fi
42346
42347 if test "$wxUSE_LOG" = "yes"; then
42348 cat >>confdefs.h <<\_ACEOF
42349 #define wxUSE_LOG 1
42350 _ACEOF
42351
42352
42353 if test "$wxUSE_LOGGUI" = "yes"; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define wxUSE_LOGGUI 1
42356 _ACEOF
42357
42358 fi
42359
42360 if test "$wxUSE_LOGWINDOW" = "yes"; then
42361 cat >>confdefs.h <<\_ACEOF
42362 #define wxUSE_LOGWINDOW 1
42363 _ACEOF
42364
42365 fi
42366
42367 if test "$wxUSE_LOGDIALOG" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define wxUSE_LOG_DIALOG 1
42370 _ACEOF
42371
42372 fi
42373
42374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42375 fi
42376
42377 if test "$wxUSE_LONGLONG" = "yes"; then
42378 cat >>confdefs.h <<\_ACEOF
42379 #define wxUSE_LONGLONG 1
42380 _ACEOF
42381
42382 fi
42383
42384 if test "$wxUSE_GEOMETRY" = "yes"; then
42385 cat >>confdefs.h <<\_ACEOF
42386 #define wxUSE_GEOMETRY 1
42387 _ACEOF
42388
42389 fi
42390
42391 if test "$wxUSE_STREAMS" = "yes" ; then
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_STREAMS 1
42394 _ACEOF
42395
42396 fi
42397
42398 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42399 cat >>confdefs.h <<\_ACEOF
42400 #define wxUSE_PRINTF_POS_PARAMS 1
42401 _ACEOF
42402
42403 fi
42404
42405
42406
42407 if test "$wxUSE_DATETIME" = "yes"; then
42408
42409 for ac_func in strptime
42410 do
42411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42416 else
42417 cat >conftest.$ac_ext <<_ACEOF
42418 /* confdefs.h. */
42419 _ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42425 #define $ac_func innocuous_$ac_func
42426
42427 /* System header to define __stub macros and hopefully few prototypes,
42428 which can conflict with char $ac_func (); below.
42429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42430 <limits.h> exists even on freestanding compilers. */
42431
42432 #ifdef __STDC__
42433 # include <limits.h>
42434 #else
42435 # include <assert.h>
42436 #endif
42437
42438 #undef $ac_func
42439
42440 /* Override any GCC internal prototype to avoid an error.
42441 Use char because int might match the return type of a GCC
42442 builtin and then its argument prototype would still apply. */
42443 #ifdef __cplusplus
42444 extern "C"
42445 #endif
42446 char $ac_func ();
42447 /* The GNU C library defines this for functions which it implements
42448 to always fail with ENOSYS. Some functions are actually named
42449 something starting with __ and the normal name is an alias. */
42450 #if defined __stub_$ac_func || defined __stub___$ac_func
42451 choke me
42452 #endif
42453
42454 int
42455 main ()
42456 {
42457 return $ac_func ();
42458 ;
42459 return 0;
42460 }
42461 _ACEOF
42462 rm -f conftest.$ac_objext conftest$ac_exeext
42463 if { (ac_try="$ac_link"
42464 case "(($ac_try" in
42465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42466 *) ac_try_echo=$ac_try;;
42467 esac
42468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42469 (eval "$ac_link") 2>conftest.er1
42470 ac_status=$?
42471 grep -v '^ *+' conftest.er1 >conftest.err
42472 rm -f conftest.er1
42473 cat conftest.err >&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } && {
42476 test -z "$ac_c_werror_flag" ||
42477 test ! -s conftest.err
42478 } && test -s conftest$ac_exeext &&
42479 $as_test_x conftest$ac_exeext; then
42480 eval "$as_ac_var=yes"
42481 else
42482 echo "$as_me: failed program was:" >&5
42483 sed 's/^/| /' conftest.$ac_ext >&5
42484
42485 eval "$as_ac_var=no"
42486 fi
42487
42488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42489 conftest$ac_exeext conftest.$ac_ext
42490 fi
42491 ac_res=`eval echo '${'$as_ac_var'}'`
42492 { echo "$as_me:$LINENO: result: $ac_res" >&5
42493 echo "${ECHO_T}$ac_res" >&6; }
42494 if test `eval echo '${'$as_ac_var'}'` = yes; then
42495 cat >>confdefs.h <<_ACEOF
42496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42497 _ACEOF
42498
42499 fi
42500 done
42501
42502 if test "$ac_cv_func_strptime" = "yes"; then
42503 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42504 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42505 if test "${wx_cv_func_strptime_decl+set}" = set; then
42506 echo $ECHO_N "(cached) $ECHO_C" >&6
42507 else
42508
42509 ac_ext=cpp
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42514
42515 cat >conftest.$ac_ext <<_ACEOF
42516 /* confdefs.h. */
42517 _ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h. */
42521
42522 #include <time.h>
42523
42524 int
42525 main ()
42526 {
42527
42528 struct tm t;
42529 strptime("foo", "bar", &t);
42530
42531 ;
42532 return 0;
42533 }
42534 _ACEOF
42535 rm -f conftest.$ac_objext
42536 if { (ac_try="$ac_compile"
42537 case "(($ac_try" in
42538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42539 *) ac_try_echo=$ac_try;;
42540 esac
42541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42542 (eval "$ac_compile") 2>conftest.er1
42543 ac_status=$?
42544 grep -v '^ *+' conftest.er1 >conftest.err
42545 rm -f conftest.er1
42546 cat conftest.err >&5
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); } && {
42549 test -z "$ac_cxx_werror_flag" ||
42550 test ! -s conftest.err
42551 } && test -s conftest.$ac_objext; then
42552 wx_cv_func_strptime_decl=yes
42553 else
42554 echo "$as_me: failed program was:" >&5
42555 sed 's/^/| /' conftest.$ac_ext >&5
42556
42557 wx_cv_func_strptime_decl=no
42558
42559 fi
42560
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42567
42568
42569
42570 fi
42571 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42572 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42573 fi
42574 if test "$wx_cv_func_strptime_decl" = "yes"; then
42575 cat >>confdefs.h <<\_ACEOF
42576 #define HAVE_STRPTIME_DECL 1
42577 _ACEOF
42578
42579 fi
42580
42581 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42582 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42583 if test "${wx_cv_var_timezone+set}" = set; then
42584 echo $ECHO_N "(cached) $ECHO_C" >&6
42585 else
42586
42587 ac_ext=cpp
42588 ac_cpp='$CXXCPP $CPPFLAGS'
42589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42592
42593 cat >conftest.$ac_ext <<_ACEOF
42594 /* confdefs.h. */
42595 _ACEOF
42596 cat confdefs.h >>conftest.$ac_ext
42597 cat >>conftest.$ac_ext <<_ACEOF
42598 /* end confdefs.h. */
42599
42600 #include <time.h>
42601
42602 int
42603 main ()
42604 {
42605
42606 int tz;
42607 tz = timezone;
42608
42609 ;
42610 return 0;
42611 }
42612 _ACEOF
42613 rm -f conftest.$ac_objext
42614 if { (ac_try="$ac_compile"
42615 case "(($ac_try" in
42616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42617 *) ac_try_echo=$ac_try;;
42618 esac
42619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42620 (eval "$ac_compile") 2>conftest.er1
42621 ac_status=$?
42622 grep -v '^ *+' conftest.er1 >conftest.err
42623 rm -f conftest.er1
42624 cat conftest.err >&5
42625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42626 (exit $ac_status); } && {
42627 test -z "$ac_cxx_werror_flag" ||
42628 test ! -s conftest.err
42629 } && test -s conftest.$ac_objext; then
42630
42631 wx_cv_var_timezone=timezone
42632
42633 else
42634 echo "$as_me: failed program was:" >&5
42635 sed 's/^/| /' conftest.$ac_ext >&5
42636
42637
42638 cat >conftest.$ac_ext <<_ACEOF
42639 /* confdefs.h. */
42640 _ACEOF
42641 cat confdefs.h >>conftest.$ac_ext
42642 cat >>conftest.$ac_ext <<_ACEOF
42643 /* end confdefs.h. */
42644
42645 #include <time.h>
42646
42647 int
42648 main ()
42649 {
42650
42651 int tz;
42652 tz = _timezone;
42653
42654 ;
42655 return 0;
42656 }
42657 _ACEOF
42658 rm -f conftest.$ac_objext
42659 if { (ac_try="$ac_compile"
42660 case "(($ac_try" in
42661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42662 *) ac_try_echo=$ac_try;;
42663 esac
42664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42665 (eval "$ac_compile") 2>conftest.er1
42666 ac_status=$?
42667 grep -v '^ *+' conftest.er1 >conftest.err
42668 rm -f conftest.er1
42669 cat conftest.err >&5
42670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42671 (exit $ac_status); } && {
42672 test -z "$ac_cxx_werror_flag" ||
42673 test ! -s conftest.err
42674 } && test -s conftest.$ac_objext; then
42675
42676 wx_cv_var_timezone=_timezone
42677
42678 else
42679 echo "$as_me: failed program was:" >&5
42680 sed 's/^/| /' conftest.$ac_ext >&5
42681
42682
42683 cat >conftest.$ac_ext <<_ACEOF
42684 /* confdefs.h. */
42685 _ACEOF
42686 cat confdefs.h >>conftest.$ac_ext
42687 cat >>conftest.$ac_ext <<_ACEOF
42688 /* end confdefs.h. */
42689
42690 #include <time.h>
42691
42692 int
42693 main ()
42694 {
42695
42696 int tz;
42697 tz = __timezone;
42698
42699 ;
42700 return 0;
42701 }
42702 _ACEOF
42703 rm -f conftest.$ac_objext
42704 if { (ac_try="$ac_compile"
42705 case "(($ac_try" in
42706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42707 *) ac_try_echo=$ac_try;;
42708 esac
42709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42710 (eval "$ac_compile") 2>conftest.er1
42711 ac_status=$?
42712 grep -v '^ *+' conftest.er1 >conftest.err
42713 rm -f conftest.er1
42714 cat conftest.err >&5
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); } && {
42717 test -z "$ac_cxx_werror_flag" ||
42718 test ! -s conftest.err
42719 } && test -s conftest.$ac_objext; then
42720
42721 wx_cv_var_timezone=__timezone
42722
42723 else
42724 echo "$as_me: failed program was:" >&5
42725 sed 's/^/| /' conftest.$ac_ext >&5
42726
42727
42728 if test "$USE_DOS" = 0 ; then
42729 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42730 echo "$as_me: WARNING: no timezone variable" >&2;}
42731 fi
42732
42733
42734 fi
42735
42736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42737
42738
42739 fi
42740
42741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42742
42743
42744 fi
42745
42746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42747 ac_ext=c
42748 ac_cpp='$CPP $CPPFLAGS'
42749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42752
42753
42754
42755 fi
42756 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42757 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42758
42759 if test "x$wx_cv_var_timezone" != x ; then
42760 cat >>confdefs.h <<_ACEOF
42761 #define WX_TIMEZONE $wx_cv_var_timezone
42762 _ACEOF
42763
42764 fi
42765
42766
42767 for ac_func in localtime
42768 do
42769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42773 echo $ECHO_N "(cached) $ECHO_C" >&6
42774 else
42775 cat >conftest.$ac_ext <<_ACEOF
42776 /* confdefs.h. */
42777 _ACEOF
42778 cat confdefs.h >>conftest.$ac_ext
42779 cat >>conftest.$ac_ext <<_ACEOF
42780 /* end confdefs.h. */
42781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42783 #define $ac_func innocuous_$ac_func
42784
42785 /* System header to define __stub macros and hopefully few prototypes,
42786 which can conflict with char $ac_func (); below.
42787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42788 <limits.h> exists even on freestanding compilers. */
42789
42790 #ifdef __STDC__
42791 # include <limits.h>
42792 #else
42793 # include <assert.h>
42794 #endif
42795
42796 #undef $ac_func
42797
42798 /* Override any GCC internal prototype to avoid an error.
42799 Use char because int might match the return type of a GCC
42800 builtin and then its argument prototype would still apply. */
42801 #ifdef __cplusplus
42802 extern "C"
42803 #endif
42804 char $ac_func ();
42805 /* The GNU C library defines this for functions which it implements
42806 to always fail with ENOSYS. Some functions are actually named
42807 something starting with __ and the normal name is an alias. */
42808 #if defined __stub_$ac_func || defined __stub___$ac_func
42809 choke me
42810 #endif
42811
42812 int
42813 main ()
42814 {
42815 return $ac_func ();
42816 ;
42817 return 0;
42818 }
42819 _ACEOF
42820 rm -f conftest.$ac_objext conftest$ac_exeext
42821 if { (ac_try="$ac_link"
42822 case "(($ac_try" in
42823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42824 *) ac_try_echo=$ac_try;;
42825 esac
42826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42827 (eval "$ac_link") 2>conftest.er1
42828 ac_status=$?
42829 grep -v '^ *+' conftest.er1 >conftest.err
42830 rm -f conftest.er1
42831 cat conftest.err >&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); } && {
42834 test -z "$ac_c_werror_flag" ||
42835 test ! -s conftest.err
42836 } && test -s conftest$ac_exeext &&
42837 $as_test_x conftest$ac_exeext; then
42838 eval "$as_ac_var=yes"
42839 else
42840 echo "$as_me: failed program was:" >&5
42841 sed 's/^/| /' conftest.$ac_ext >&5
42842
42843 eval "$as_ac_var=no"
42844 fi
42845
42846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42847 conftest$ac_exeext conftest.$ac_ext
42848 fi
42849 ac_res=`eval echo '${'$as_ac_var'}'`
42850 { echo "$as_me:$LINENO: result: $ac_res" >&5
42851 echo "${ECHO_T}$ac_res" >&6; }
42852 if test `eval echo '${'$as_ac_var'}'` = yes; then
42853 cat >>confdefs.h <<_ACEOF
42854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42855 _ACEOF
42856
42857 fi
42858 done
42859
42860
42861 if test "$ac_cv_func_localtime" = "yes"; then
42862 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42863 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42864 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42865 echo $ECHO_N "(cached) $ECHO_C" >&6
42866 else
42867
42868 cat >conftest.$ac_ext <<_ACEOF
42869 /* confdefs.h. */
42870 _ACEOF
42871 cat confdefs.h >>conftest.$ac_ext
42872 cat >>conftest.$ac_ext <<_ACEOF
42873 /* end confdefs.h. */
42874
42875 #include <time.h>
42876
42877 int
42878 main ()
42879 {
42880
42881 struct tm tm;
42882 tm.tm_gmtoff++;
42883
42884 ;
42885 return 0;
42886 }
42887 _ACEOF
42888 rm -f conftest.$ac_objext
42889 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
42905
42906 wx_cv_struct_tm_has_gmtoff=yes
42907
42908 else
42909 echo "$as_me: failed program was:" >&5
42910 sed 's/^/| /' conftest.$ac_ext >&5
42911
42912 wx_cv_struct_tm_has_gmtoff=no
42913
42914 fi
42915
42916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42917
42918 fi
42919 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42920 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42921 fi
42922
42923 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42924 cat >>confdefs.h <<\_ACEOF
42925 #define WX_GMTOFF_IN_TM 1
42926 _ACEOF
42927
42928 fi
42929
42930
42931
42932 for ac_func in gettimeofday ftime
42933 do
42934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42938 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 else
42940 cat >conftest.$ac_ext <<_ACEOF
42941 /* confdefs.h. */
42942 _ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42948 #define $ac_func innocuous_$ac_func
42949
42950 /* System header to define __stub macros and hopefully few prototypes,
42951 which can conflict with char $ac_func (); below.
42952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42953 <limits.h> exists even on freestanding compilers. */
42954
42955 #ifdef __STDC__
42956 # include <limits.h>
42957 #else
42958 # include <assert.h>
42959 #endif
42960
42961 #undef $ac_func
42962
42963 /* Override any GCC internal prototype to avoid an error.
42964 Use char because int might match the return type of a GCC
42965 builtin and then its argument prototype would still apply. */
42966 #ifdef __cplusplus
42967 extern "C"
42968 #endif
42969 char $ac_func ();
42970 /* The GNU C library defines this for functions which it implements
42971 to always fail with ENOSYS. Some functions are actually named
42972 something starting with __ and the normal name is an alias. */
42973 #if defined __stub_$ac_func || defined __stub___$ac_func
42974 choke me
42975 #endif
42976
42977 int
42978 main ()
42979 {
42980 return $ac_func ();
42981 ;
42982 return 0;
42983 }
42984 _ACEOF
42985 rm -f conftest.$ac_objext conftest$ac_exeext
42986 if { (ac_try="$ac_link"
42987 case "(($ac_try" in
42988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42989 *) ac_try_echo=$ac_try;;
42990 esac
42991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42992 (eval "$ac_link") 2>conftest.er1
42993 ac_status=$?
42994 grep -v '^ *+' conftest.er1 >conftest.err
42995 rm -f conftest.er1
42996 cat conftest.err >&5
42997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42998 (exit $ac_status); } && {
42999 test -z "$ac_c_werror_flag" ||
43000 test ! -s conftest.err
43001 } && test -s conftest$ac_exeext &&
43002 $as_test_x conftest$ac_exeext; then
43003 eval "$as_ac_var=yes"
43004 else
43005 echo "$as_me: failed program was:" >&5
43006 sed 's/^/| /' conftest.$ac_ext >&5
43007
43008 eval "$as_ac_var=no"
43009 fi
43010
43011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43012 conftest$ac_exeext conftest.$ac_ext
43013 fi
43014 ac_res=`eval echo '${'$as_ac_var'}'`
43015 { echo "$as_me:$LINENO: result: $ac_res" >&5
43016 echo "${ECHO_T}$ac_res" >&6; }
43017 if test `eval echo '${'$as_ac_var'}'` = yes; then
43018 cat >>confdefs.h <<_ACEOF
43019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43020 _ACEOF
43021 break
43022 fi
43023 done
43024
43025
43026 if test "$ac_cv_func_gettimeofday" = "yes"; then
43027 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43028 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43029 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43030 echo $ECHO_N "(cached) $ECHO_C" >&6
43031 else
43032
43033 cat >conftest.$ac_ext <<_ACEOF
43034 /* confdefs.h. */
43035 _ACEOF
43036 cat confdefs.h >>conftest.$ac_ext
43037 cat >>conftest.$ac_ext <<_ACEOF
43038 /* end confdefs.h. */
43039
43040 #include <sys/time.h>
43041 #include <unistd.h>
43042
43043 int
43044 main ()
43045 {
43046
43047 struct timeval tv;
43048 gettimeofday(&tv, NULL);
43049
43050 ;
43051 return 0;
43052 }
43053 _ACEOF
43054 rm -f conftest.$ac_objext
43055 if { (ac_try="$ac_compile"
43056 case "(($ac_try" in
43057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43058 *) ac_try_echo=$ac_try;;
43059 esac
43060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43061 (eval "$ac_compile") 2>conftest.er1
43062 ac_status=$?
43063 grep -v '^ *+' conftest.er1 >conftest.err
43064 rm -f conftest.er1
43065 cat conftest.err >&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); } && {
43068 test -z "$ac_c_werror_flag" ||
43069 test ! -s conftest.err
43070 } && test -s conftest.$ac_objext; then
43071 wx_cv_func_gettimeofday_has_2_args=yes
43072 else
43073 echo "$as_me: failed program was:" >&5
43074 sed 's/^/| /' conftest.$ac_ext >&5
43075
43076 cat >conftest.$ac_ext <<_ACEOF
43077 /* confdefs.h. */
43078 _ACEOF
43079 cat confdefs.h >>conftest.$ac_ext
43080 cat >>conftest.$ac_ext <<_ACEOF
43081 /* end confdefs.h. */
43082
43083 #include <sys/time.h>
43084 #include <unistd.h>
43085
43086 int
43087 main ()
43088 {
43089
43090 struct timeval tv;
43091 gettimeofday(&tv);
43092
43093 ;
43094 return 0;
43095 }
43096 _ACEOF
43097 rm -f conftest.$ac_objext
43098 if { (ac_try="$ac_compile"
43099 case "(($ac_try" in
43100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43101 *) ac_try_echo=$ac_try;;
43102 esac
43103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43104 (eval "$ac_compile") 2>conftest.er1
43105 ac_status=$?
43106 grep -v '^ *+' conftest.er1 >conftest.err
43107 rm -f conftest.er1
43108 cat conftest.err >&5
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); } && {
43111 test -z "$ac_c_werror_flag" ||
43112 test ! -s conftest.err
43113 } && test -s conftest.$ac_objext; then
43114 wx_cv_func_gettimeofday_has_2_args=no
43115 else
43116 echo "$as_me: failed program was:" >&5
43117 sed 's/^/| /' conftest.$ac_ext >&5
43118
43119
43120 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43121 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43122 wx_cv_func_gettimeofday_has_2_args=unknown
43123
43124
43125 fi
43126
43127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43128
43129 fi
43130
43131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43132
43133 fi
43134 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43135 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43136
43137 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43138 cat >>confdefs.h <<\_ACEOF
43139 #define WX_GETTIMEOFDAY_NO_TZ 1
43140 _ACEOF
43141
43142 fi
43143 fi
43144
43145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43146 fi
43147
43148
43149 if test "$wxUSE_SOCKETS" = "yes"; then
43150 if test "$wxUSE_MGL" = "1"; then
43151 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43152 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43153 wxUSE_SOCKETS="no"
43154 fi
43155 fi
43156
43157 if test "$wxUSE_SOCKETS" = "yes"; then
43158 if test "$TOOLKIT" != "MSW"; then
43159 { echo "$as_me:$LINENO: checking for socket" >&5
43160 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43161 if test "${ac_cv_func_socket+set}" = set; then
43162 echo $ECHO_N "(cached) $ECHO_C" >&6
43163 else
43164 cat >conftest.$ac_ext <<_ACEOF
43165 /* confdefs.h. */
43166 _ACEOF
43167 cat confdefs.h >>conftest.$ac_ext
43168 cat >>conftest.$ac_ext <<_ACEOF
43169 /* end confdefs.h. */
43170 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43172 #define socket innocuous_socket
43173
43174 /* System header to define __stub macros and hopefully few prototypes,
43175 which can conflict with char socket (); below.
43176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43177 <limits.h> exists even on freestanding compilers. */
43178
43179 #ifdef __STDC__
43180 # include <limits.h>
43181 #else
43182 # include <assert.h>
43183 #endif
43184
43185 #undef socket
43186
43187 /* Override any GCC internal prototype to avoid an error.
43188 Use char because int might match the return type of a GCC
43189 builtin and then its argument prototype would still apply. */
43190 #ifdef __cplusplus
43191 extern "C"
43192 #endif
43193 char socket ();
43194 /* The GNU C library defines this for functions which it implements
43195 to always fail with ENOSYS. Some functions are actually named
43196 something starting with __ and the normal name is an alias. */
43197 #if defined __stub_socket || defined __stub___socket
43198 choke me
43199 #endif
43200
43201 int
43202 main ()
43203 {
43204 return socket ();
43205 ;
43206 return 0;
43207 }
43208 _ACEOF
43209 rm -f conftest.$ac_objext conftest$ac_exeext
43210 if { (ac_try="$ac_link"
43211 case "(($ac_try" in
43212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43213 *) ac_try_echo=$ac_try;;
43214 esac
43215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43216 (eval "$ac_link") 2>conftest.er1
43217 ac_status=$?
43218 grep -v '^ *+' conftest.er1 >conftest.err
43219 rm -f conftest.er1
43220 cat conftest.err >&5
43221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43222 (exit $ac_status); } && {
43223 test -z "$ac_c_werror_flag" ||
43224 test ! -s conftest.err
43225 } && test -s conftest$ac_exeext &&
43226 $as_test_x conftest$ac_exeext; then
43227 ac_cv_func_socket=yes
43228 else
43229 echo "$as_me: failed program was:" >&5
43230 sed 's/^/| /' conftest.$ac_ext >&5
43231
43232 ac_cv_func_socket=no
43233 fi
43234
43235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43236 conftest$ac_exeext conftest.$ac_ext
43237 fi
43238 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43239 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43240 if test $ac_cv_func_socket = yes; then
43241 :
43242 else
43243
43244 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43245 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43246 if test "${ac_cv_lib_socket_socket+set}" = set; then
43247 echo $ECHO_N "(cached) $ECHO_C" >&6
43248 else
43249 ac_check_lib_save_LIBS=$LIBS
43250 LIBS="-lsocket $LIBS"
43251 cat >conftest.$ac_ext <<_ACEOF
43252 /* confdefs.h. */
43253 _ACEOF
43254 cat confdefs.h >>conftest.$ac_ext
43255 cat >>conftest.$ac_ext <<_ACEOF
43256 /* end confdefs.h. */
43257
43258 /* Override any GCC internal prototype to avoid an error.
43259 Use char because int might match the return type of a GCC
43260 builtin and then its argument prototype would still apply. */
43261 #ifdef __cplusplus
43262 extern "C"
43263 #endif
43264 char socket ();
43265 int
43266 main ()
43267 {
43268 return socket ();
43269 ;
43270 return 0;
43271 }
43272 _ACEOF
43273 rm -f conftest.$ac_objext conftest$ac_exeext
43274 if { (ac_try="$ac_link"
43275 case "(($ac_try" in
43276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43277 *) ac_try_echo=$ac_try;;
43278 esac
43279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43280 (eval "$ac_link") 2>conftest.er1
43281 ac_status=$?
43282 grep -v '^ *+' conftest.er1 >conftest.err
43283 rm -f conftest.er1
43284 cat conftest.err >&5
43285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43286 (exit $ac_status); } && {
43287 test -z "$ac_c_werror_flag" ||
43288 test ! -s conftest.err
43289 } && test -s conftest$ac_exeext &&
43290 $as_test_x conftest$ac_exeext; then
43291 ac_cv_lib_socket_socket=yes
43292 else
43293 echo "$as_me: failed program was:" >&5
43294 sed 's/^/| /' conftest.$ac_ext >&5
43295
43296 ac_cv_lib_socket_socket=no
43297 fi
43298
43299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43300 conftest$ac_exeext conftest.$ac_ext
43301 LIBS=$ac_check_lib_save_LIBS
43302 fi
43303 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43304 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43305 if test $ac_cv_lib_socket_socket = yes; then
43306 if test "$INET_LINK" != " -lsocket"; then
43307 INET_LINK="$INET_LINK -lsocket"
43308 fi
43309 else
43310
43311 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43312 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43313 wxUSE_SOCKETS=no
43314
43315
43316 fi
43317
43318
43319
43320 fi
43321
43322 fi
43323 fi
43324
43325 if test "$wxUSE_SOCKETS" = "yes" ; then
43326 if test "$TOOLKIT" != "MSW"; then
43327 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43328 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43329 if test "${wx_cv_type_getsockname3+set}" = set; then
43330 echo $ECHO_N "(cached) $ECHO_C" >&6
43331 else
43332
43333 ac_ext=cpp
43334 ac_cpp='$CXXCPP $CPPFLAGS'
43335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43338
43339 cat >conftest.$ac_ext <<_ACEOF
43340 /* confdefs.h. */
43341 _ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h. */
43345
43346 #include <sys/types.h>
43347 #include <sys/socket.h>
43348
43349 int
43350 main ()
43351 {
43352
43353 socklen_t len;
43354 getsockname(0, 0, &len);
43355
43356 ;
43357 return 0;
43358 }
43359 _ACEOF
43360 rm -f conftest.$ac_objext
43361 if { (ac_try="$ac_compile"
43362 case "(($ac_try" in
43363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43364 *) ac_try_echo=$ac_try;;
43365 esac
43366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43367 (eval "$ac_compile") 2>conftest.er1
43368 ac_status=$?
43369 grep -v '^ *+' conftest.er1 >conftest.err
43370 rm -f conftest.er1
43371 cat conftest.err >&5
43372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43373 (exit $ac_status); } && {
43374 test -z "$ac_cxx_werror_flag" ||
43375 test ! -s conftest.err
43376 } && test -s conftest.$ac_objext; then
43377 wx_cv_type_getsockname3=socklen_t
43378 else
43379 echo "$as_me: failed program was:" >&5
43380 sed 's/^/| /' conftest.$ac_ext >&5
43381
43382
43383 CFLAGS_OLD="$CFLAGS"
43384 if test "$GCC" = yes ; then
43385 CFLAGS="-Werror $CFLAGS"
43386 fi
43387
43388 cat >conftest.$ac_ext <<_ACEOF
43389 /* confdefs.h. */
43390 _ACEOF
43391 cat confdefs.h >>conftest.$ac_ext
43392 cat >>conftest.$ac_ext <<_ACEOF
43393 /* end confdefs.h. */
43394
43395 #include <sys/types.h>
43396 #include <sys/socket.h>
43397
43398 int
43399 main ()
43400 {
43401
43402 size_t len;
43403 getsockname(0, 0, &len);
43404
43405 ;
43406 return 0;
43407 }
43408 _ACEOF
43409 rm -f conftest.$ac_objext
43410 if { (ac_try="$ac_compile"
43411 case "(($ac_try" in
43412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43413 *) ac_try_echo=$ac_try;;
43414 esac
43415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43416 (eval "$ac_compile") 2>conftest.er1
43417 ac_status=$?
43418 grep -v '^ *+' conftest.er1 >conftest.err
43419 rm -f conftest.er1
43420 cat conftest.err >&5
43421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43422 (exit $ac_status); } && {
43423 test -z "$ac_cxx_werror_flag" ||
43424 test ! -s conftest.err
43425 } && test -s conftest.$ac_objext; then
43426 wx_cv_type_getsockname3=size_t
43427 else
43428 echo "$as_me: failed program was:" >&5
43429 sed 's/^/| /' conftest.$ac_ext >&5
43430
43431 cat >conftest.$ac_ext <<_ACEOF
43432 /* confdefs.h. */
43433 _ACEOF
43434 cat confdefs.h >>conftest.$ac_ext
43435 cat >>conftest.$ac_ext <<_ACEOF
43436 /* end confdefs.h. */
43437
43438 #include <sys/types.h>
43439 #include <sys/socket.h>
43440
43441 int
43442 main ()
43443 {
43444
43445 int len;
43446 getsockname(0, 0, &len);
43447
43448 ;
43449 return 0;
43450 }
43451 _ACEOF
43452 rm -f conftest.$ac_objext
43453 if { (ac_try="$ac_compile"
43454 case "(($ac_try" in
43455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43456 *) ac_try_echo=$ac_try;;
43457 esac
43458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43459 (eval "$ac_compile") 2>conftest.er1
43460 ac_status=$?
43461 grep -v '^ *+' conftest.er1 >conftest.err
43462 rm -f conftest.er1
43463 cat conftest.err >&5
43464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43465 (exit $ac_status); } && {
43466 test -z "$ac_cxx_werror_flag" ||
43467 test ! -s conftest.err
43468 } && test -s conftest.$ac_objext; then
43469 wx_cv_type_getsockname3=int
43470 else
43471 echo "$as_me: failed program was:" >&5
43472 sed 's/^/| /' conftest.$ac_ext >&5
43473
43474 wx_cv_type_getsockname3=unknown
43475
43476 fi
43477
43478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43479
43480 fi
43481
43482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43483
43484 CFLAGS="$CFLAGS_OLD"
43485
43486
43487 fi
43488
43489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43490 ac_ext=c
43491 ac_cpp='$CPP $CPPFLAGS'
43492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43495
43496
43497 fi
43498 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43499 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43500
43501 if test "$wx_cv_type_getsockname3" = "unknown"; then
43502 wxUSE_SOCKETS=no
43503 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43504 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43505 else
43506 cat >>confdefs.h <<_ACEOF
43507 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43508 _ACEOF
43509
43510 fi
43511 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43512 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43513 if test "${wx_cv_type_getsockopt5+set}" = set; then
43514 echo $ECHO_N "(cached) $ECHO_C" >&6
43515 else
43516
43517 cat >conftest.$ac_ext <<_ACEOF
43518 /* confdefs.h. */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523
43524 #include <sys/types.h>
43525 #include <sys/socket.h>
43526
43527 int
43528 main ()
43529 {
43530
43531 socklen_t len;
43532 getsockopt(0, 0, 0, 0, &len);
43533
43534 ;
43535 return 0;
43536 }
43537 _ACEOF
43538 rm -f conftest.$ac_objext
43539 if { (ac_try="$ac_compile"
43540 case "(($ac_try" in
43541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43542 *) ac_try_echo=$ac_try;;
43543 esac
43544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43545 (eval "$ac_compile") 2>conftest.er1
43546 ac_status=$?
43547 grep -v '^ *+' conftest.er1 >conftest.err
43548 rm -f conftest.er1
43549 cat conftest.err >&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); } && {
43552 test -z "$ac_c_werror_flag" ||
43553 test ! -s conftest.err
43554 } && test -s conftest.$ac_objext; then
43555 wx_cv_type_getsockopt5=socklen_t
43556 else
43557 echo "$as_me: failed program was:" >&5
43558 sed 's/^/| /' conftest.$ac_ext >&5
43559
43560
43561 ac_ext=cpp
43562 ac_cpp='$CXXCPP $CPPFLAGS'
43563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43566
43567 cat >conftest.$ac_ext <<_ACEOF
43568 /* confdefs.h. */
43569 _ACEOF
43570 cat confdefs.h >>conftest.$ac_ext
43571 cat >>conftest.$ac_ext <<_ACEOF
43572 /* end confdefs.h. */
43573
43574 #include <sys/types.h>
43575 #include <sys/socket.h>
43576
43577 int
43578 main ()
43579 {
43580
43581 size_t len;
43582 getsockopt(0, 0, 0, 0, &len);
43583
43584 ;
43585 return 0;
43586 }
43587 _ACEOF
43588 rm -f conftest.$ac_objext
43589 if { (ac_try="$ac_compile"
43590 case "(($ac_try" in
43591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43592 *) ac_try_echo=$ac_try;;
43593 esac
43594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43595 (eval "$ac_compile") 2>conftest.er1
43596 ac_status=$?
43597 grep -v '^ *+' conftest.er1 >conftest.err
43598 rm -f conftest.er1
43599 cat conftest.err >&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } && {
43602 test -z "$ac_cxx_werror_flag" ||
43603 test ! -s conftest.err
43604 } && test -s conftest.$ac_objext; then
43605 wx_cv_type_getsockopt5=size_t
43606 else
43607 echo "$as_me: failed program was:" >&5
43608 sed 's/^/| /' conftest.$ac_ext >&5
43609
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 #include <sys/types.h>
43618 #include <sys/socket.h>
43619
43620 int
43621 main ()
43622 {
43623
43624 int len;
43625 getsockopt(0, 0, 0, 0, &len);
43626
43627 ;
43628 return 0;
43629 }
43630 _ACEOF
43631 rm -f conftest.$ac_objext
43632 if { (ac_try="$ac_compile"
43633 case "(($ac_try" in
43634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43635 *) ac_try_echo=$ac_try;;
43636 esac
43637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43638 (eval "$ac_compile") 2>conftest.er1
43639 ac_status=$?
43640 grep -v '^ *+' conftest.er1 >conftest.err
43641 rm -f conftest.er1
43642 cat conftest.err >&5
43643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43644 (exit $ac_status); } && {
43645 test -z "$ac_cxx_werror_flag" ||
43646 test ! -s conftest.err
43647 } && test -s conftest.$ac_objext; then
43648 wx_cv_type_getsockopt5=int
43649 else
43650 echo "$as_me: failed program was:" >&5
43651 sed 's/^/| /' conftest.$ac_ext >&5
43652
43653 wx_cv_type_getsockopt5=unknown
43654
43655 fi
43656
43657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43658
43659 fi
43660
43661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43662 ac_ext=c
43663 ac_cpp='$CPP $CPPFLAGS'
43664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43667
43668
43669
43670 fi
43671
43672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43673
43674 fi
43675 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43676 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43677
43678 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43679 wxUSE_SOCKETS=no
43680 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43681 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43682 else
43683 cat >>confdefs.h <<_ACEOF
43684 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43685 _ACEOF
43686
43687 fi
43688 fi
43689 fi
43690
43691 if test "$wxUSE_SOCKETS" = "yes" ; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define wxUSE_SOCKETS 1
43694 _ACEOF
43695
43696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43697 fi
43698
43699 if test "$wxUSE_PROTOCOL" = "yes"; then
43700 if test "$wxUSE_SOCKETS" != "yes"; then
43701 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43702 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43703 wxUSE_PROTOCOL=no
43704 fi
43705 fi
43706
43707 if test "$wxUSE_PROTOCOL" = "yes"; then
43708 cat >>confdefs.h <<\_ACEOF
43709 #define wxUSE_PROTOCOL 1
43710 _ACEOF
43711
43712
43713 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43714 cat >>confdefs.h <<\_ACEOF
43715 #define wxUSE_PROTOCOL_HTTP 1
43716 _ACEOF
43717
43718 fi
43719 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43720 cat >>confdefs.h <<\_ACEOF
43721 #define wxUSE_PROTOCOL_FTP 1
43722 _ACEOF
43723
43724 fi
43725 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_PROTOCOL_FILE 1
43728 _ACEOF
43729
43730 fi
43731 else
43732 if test "$wxUSE_FS_INET" = "yes"; then
43733 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43734 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43735 wxUSE_FS_INET="no"
43736 fi
43737 fi
43738
43739 if test "$wxUSE_URL" = "yes"; then
43740 if test "$wxUSE_PROTOCOL" != "yes"; then
43741 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43742 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43743 wxUSE_URL=no
43744 fi
43745 if test "$wxUSE_URL" = "yes"; then
43746 cat >>confdefs.h <<\_ACEOF
43747 #define wxUSE_URL 1
43748 _ACEOF
43749
43750 fi
43751 fi
43752
43753 if test "$wxUSE_VARIANT" = "yes"; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_VARIANT 1
43756 _ACEOF
43757
43758 fi
43759
43760 if test "$wxUSE_FS_INET" = "yes"; then
43761 cat >>confdefs.h <<\_ACEOF
43762 #define wxUSE_FS_INET 1
43763 _ACEOF
43764
43765 fi
43766
43767
43768 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43769 wxUSE_JOYSTICK=no
43770
43771 if test "$TOOLKIT" = "MSW"; then
43772 wxUSE_JOYSTICK=yes
43773
43774 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43775 if test "$USE_DARWIN" = 1; then
43776 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43777 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43778 ac_ext=cpp
43779 ac_cpp='$CXXCPP $CPPFLAGS'
43780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43783
43784 cat >conftest.$ac_ext <<_ACEOF
43785 /* confdefs.h. */
43786 _ACEOF
43787 cat confdefs.h >>conftest.$ac_ext
43788 cat >>conftest.$ac_ext <<_ACEOF
43789 /* end confdefs.h. */
43790 #include <IOKit/hid/IOHIDLib.h>
43791 int
43792 main ()
43793 {
43794 IOHIDQueueInterface *qi = NULL;
43795 IOHIDCallbackFunction cb = NULL;
43796 qi->setEventCallout(NULL, cb, NULL, NULL);
43797 ;
43798 return 0;
43799 }
43800 _ACEOF
43801 rm -f conftest.$ac_objext
43802 if { (ac_try="$ac_compile"
43803 case "(($ac_try" in
43804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43805 *) ac_try_echo=$ac_try;;
43806 esac
43807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43808 (eval "$ac_compile") 2>conftest.er1
43809 ac_status=$?
43810 grep -v '^ *+' conftest.er1 >conftest.err
43811 rm -f conftest.er1
43812 cat conftest.err >&5
43813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43814 (exit $ac_status); } && {
43815 test -z "$ac_cxx_werror_flag" ||
43816 test ! -s conftest.err
43817 } && test -s conftest.$ac_objext; then
43818 wxUSE_JOYSTICK=yes
43819
43820 else
43821 echo "$as_me: failed program was:" >&5
43822 sed 's/^/| /' conftest.$ac_ext >&5
43823
43824
43825 fi
43826
43827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43828 ac_ext=c
43829 ac_cpp='$CPP $CPPFLAGS'
43830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43833
43834 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43835 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43836 fi
43837
43838 else
43839 if test "$wxUSE_MGL" != "1"; then
43840 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43841 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43842 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43843 echo $ECHO_N "(cached) $ECHO_C" >&6
43844 else
43845 cat >conftest.$ac_ext <<_ACEOF
43846 /* confdefs.h. */
43847 _ACEOF
43848 cat confdefs.h >>conftest.$ac_ext
43849 cat >>conftest.$ac_ext <<_ACEOF
43850 /* end confdefs.h. */
43851 $ac_includes_default
43852
43853 #include <linux/joystick.h>
43854 _ACEOF
43855 rm -f conftest.$ac_objext
43856 if { (ac_try="$ac_compile"
43857 case "(($ac_try" in
43858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43859 *) ac_try_echo=$ac_try;;
43860 esac
43861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43862 (eval "$ac_compile") 2>conftest.er1
43863 ac_status=$?
43864 grep -v '^ *+' conftest.er1 >conftest.err
43865 rm -f conftest.er1
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } && {
43869 test -z "$ac_c_werror_flag" ||
43870 test ! -s conftest.err
43871 } && test -s conftest.$ac_objext; then
43872 ac_cv_header_linux_joystick_h=yes
43873 else
43874 echo "$as_me: failed program was:" >&5
43875 sed 's/^/| /' conftest.$ac_ext >&5
43876
43877 ac_cv_header_linux_joystick_h=no
43878 fi
43879
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881 fi
43882 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43883 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43884 if test $ac_cv_header_linux_joystick_h = yes; then
43885 wxUSE_JOYSTICK=yes
43886 fi
43887
43888
43889 fi
43890 fi
43891
43892 if test "$wxUSE_JOYSTICK" = "yes"; then
43893 cat >>confdefs.h <<\_ACEOF
43894 #define wxUSE_JOYSTICK 1
43895 _ACEOF
43896
43897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43898 else
43899 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43900 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43901 fi
43902 fi
43903
43904
43905
43906 if test "$wxUSE_FONTMAP" = "yes" ; then
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_FONTMAP 1
43909 _ACEOF
43910
43911 fi
43912
43913 if test "$wxUSE_UNICODE" = "yes" ; then
43914 cat >>confdefs.h <<\_ACEOF
43915 #define wxUSE_UNICODE 1
43916 _ACEOF
43917
43918
43919 if test "$USE_WIN32" != 1; then
43920 wxUSE_UNICODE_MSLU=no
43921 fi
43922
43923 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43924 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43925 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43926 if test "${ac_cv_lib_unicows_main+set}" = set; then
43927 echo $ECHO_N "(cached) $ECHO_C" >&6
43928 else
43929 ac_check_lib_save_LIBS=$LIBS
43930 LIBS="-lunicows $LIBS"
43931 cat >conftest.$ac_ext <<_ACEOF
43932 /* confdefs.h. */
43933 _ACEOF
43934 cat confdefs.h >>conftest.$ac_ext
43935 cat >>conftest.$ac_ext <<_ACEOF
43936 /* end confdefs.h. */
43937
43938
43939 int
43940 main ()
43941 {
43942 return main ();
43943 ;
43944 return 0;
43945 }
43946 _ACEOF
43947 rm -f conftest.$ac_objext conftest$ac_exeext
43948 if { (ac_try="$ac_link"
43949 case "(($ac_try" in
43950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43951 *) ac_try_echo=$ac_try;;
43952 esac
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_link") 2>conftest.er1
43955 ac_status=$?
43956 grep -v '^ *+' conftest.er1 >conftest.err
43957 rm -f conftest.er1
43958 cat conftest.err >&5
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); } && {
43961 test -z "$ac_c_werror_flag" ||
43962 test ! -s conftest.err
43963 } && test -s conftest$ac_exeext &&
43964 $as_test_x conftest$ac_exeext; then
43965 ac_cv_lib_unicows_main=yes
43966 else
43967 echo "$as_me: failed program was:" >&5
43968 sed 's/^/| /' conftest.$ac_ext >&5
43969
43970 ac_cv_lib_unicows_main=no
43971 fi
43972
43973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43974 conftest$ac_exeext conftest.$ac_ext
43975 LIBS=$ac_check_lib_save_LIBS
43976 fi
43977 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43978 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43979 if test $ac_cv_lib_unicows_main = yes; then
43980
43981 cat >>confdefs.h <<\_ACEOF
43982 #define wxUSE_UNICODE_MSLU 1
43983 _ACEOF
43984
43985
43986 else
43987
43988 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43989 Applications will only run on Windows NT/2000/XP!" >&5
43990 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43991 Applications will only run on Windows NT/2000/XP!" >&2;}
43992 wxUSE_UNICODE_MSLU=no
43993
43994 fi
43995
43996 fi
43997 fi
43998
43999 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44000 cat >>confdefs.h <<\_ACEOF
44001 #define wxUSE_EXPERIMENTAL_PRINTF 1
44002 _ACEOF
44003
44004 fi
44005
44006
44007 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44008 cat >>confdefs.h <<\_ACEOF
44009 #define wxUSE_POSTSCRIPT 1
44010 _ACEOF
44011
44012 fi
44013
44014 cat >>confdefs.h <<\_ACEOF
44015 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44016 _ACEOF
44017
44018
44019 cat >>confdefs.h <<\_ACEOF
44020 #define wxUSE_NORMALIZED_PS_FONTS 1
44021 _ACEOF
44022
44023
44024
44025 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44026 cat >>confdefs.h <<\_ACEOF
44027 #define wxUSE_CONSTRAINTS 1
44028 _ACEOF
44029
44030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44031 fi
44032
44033 if test "$wxUSE_MDI" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_MDI 1
44036 _ACEOF
44037
44038
44039 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44040 cat >>confdefs.h <<\_ACEOF
44041 #define wxUSE_MDI_ARCHITECTURE 1
44042 _ACEOF
44043
44044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44045 fi
44046 fi
44047
44048 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44049 cat >>confdefs.h <<\_ACEOF
44050 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44051 _ACEOF
44052
44053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44054 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44056 fi
44057 fi
44058
44059 if test "$wxUSE_HELP" = "yes"; then
44060 cat >>confdefs.h <<\_ACEOF
44061 #define wxUSE_HELP 1
44062 _ACEOF
44063
44064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44065
44066 if test "$wxUSE_MSW" = 1; then
44067 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_MS_HTML_HELP 1
44070 _ACEOF
44071
44072 fi
44073 fi
44074
44075 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44076 if test "$wxUSE_HTML" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_WXHTML_HELP 1
44079 _ACEOF
44080
44081 else
44082 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44083 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44084 wxUSE_WXHTML_HELP=no
44085 fi
44086 fi
44087 fi
44088
44089 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44090 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44091 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44092 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44093 else
44094 cat >>confdefs.h <<\_ACEOF
44095 #define wxUSE_PRINTING_ARCHITECTURE 1
44096 _ACEOF
44097
44098 fi
44099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44100 fi
44101
44102 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44103 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44104 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44105 { (exit 1); exit 1; }; }
44106 fi
44107
44108
44109 if test "$wxUSE_METAFILE" = "yes"; then
44110 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44111 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44112 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44113 wxUSE_METAFILE=no
44114 fi
44115 fi
44116
44117
44118 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44119 -o "$wxUSE_CLIPBOARD" = "yes" \
44120 -o "$wxUSE_OLE" = "yes" \
44121 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44122 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44123 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44124 if test "${ac_cv_header_ole2_h+set}" = set; then
44125 echo $ECHO_N "(cached) $ECHO_C" >&6
44126 else
44127 cat >conftest.$ac_ext <<_ACEOF
44128 /* confdefs.h. */
44129 _ACEOF
44130 cat confdefs.h >>conftest.$ac_ext
44131 cat >>conftest.$ac_ext <<_ACEOF
44132 /* end confdefs.h. */
44133
44134
44135 #include <ole2.h>
44136 _ACEOF
44137 rm -f conftest.$ac_objext
44138 if { (ac_try="$ac_compile"
44139 case "(($ac_try" in
44140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44141 *) ac_try_echo=$ac_try;;
44142 esac
44143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44144 (eval "$ac_compile") 2>conftest.er1
44145 ac_status=$?
44146 grep -v '^ *+' conftest.er1 >conftest.err
44147 rm -f conftest.er1
44148 cat conftest.err >&5
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); } && {
44151 test -z "$ac_c_werror_flag" ||
44152 test ! -s conftest.err
44153 } && test -s conftest.$ac_objext; then
44154 ac_cv_header_ole2_h=yes
44155 else
44156 echo "$as_me: failed program was:" >&5
44157 sed 's/^/| /' conftest.$ac_ext >&5
44158
44159 ac_cv_header_ole2_h=no
44160 fi
44161
44162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44163 fi
44164 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44165 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44166
44167
44168
44169 if test "$ac_cv_header_ole2_h" = "yes" ; then
44170 if test "$GCC" = yes ; then
44171 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44172 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44173 cat >conftest.$ac_ext <<_ACEOF
44174 /* confdefs.h. */
44175 _ACEOF
44176 cat confdefs.h >>conftest.$ac_ext
44177 cat >>conftest.$ac_ext <<_ACEOF
44178 /* end confdefs.h. */
44179 #include <windows.h>
44180 #include <ole2.h>
44181 int
44182 main ()
44183 {
44184
44185 ;
44186 return 0;
44187 }
44188 _ACEOF
44189 rm -f conftest.$ac_objext
44190 if { (ac_try="$ac_compile"
44191 case "(($ac_try" in
44192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44193 *) ac_try_echo=$ac_try;;
44194 esac
44195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44196 (eval "$ac_compile") 2>conftest.er1
44197 ac_status=$?
44198 grep -v '^ *+' conftest.er1 >conftest.err
44199 rm -f conftest.er1
44200 cat conftest.err >&5
44201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44202 (exit $ac_status); } && {
44203 test -z "$ac_c_werror_flag" ||
44204 test ! -s conftest.err
44205 } && test -s conftest.$ac_objext; then
44206 { echo "$as_me:$LINENO: result: no" >&5
44207 echo "${ECHO_T}no" >&6; }
44208 else
44209 echo "$as_me: failed program was:" >&5
44210 sed 's/^/| /' conftest.$ac_ext >&5
44211
44212 { echo "$as_me:$LINENO: result: yes" >&5
44213 echo "${ECHO_T}yes" >&6; }
44214 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44215 fi
44216
44217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44218 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44219 if test "$wxUSE_OLE" = "yes" ; then
44220 cat >>confdefs.h <<\_ACEOF
44221 #define wxUSE_OLE 1
44222 _ACEOF
44223
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_OLE_AUTOMATION 1
44226 _ACEOF
44227
44228 cat >>confdefs.h <<\_ACEOF
44229 #define wxUSE_ACTIVEX 1
44230 _ACEOF
44231
44232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44233 fi
44234 fi
44235
44236 if test "$wxUSE_DATAOBJ" = "yes" ; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_DATAOBJ 1
44239 _ACEOF
44240
44241 fi
44242 else
44243 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44244 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44245
44246 wxUSE_CLIPBOARD=no
44247 wxUSE_DRAG_AND_DROP=no
44248 wxUSE_DATAOBJ=no
44249 wxUSE_OLE=no
44250 fi
44251
44252 if test "$wxUSE_METAFILE" = "yes"; then
44253 cat >>confdefs.h <<\_ACEOF
44254 #define wxUSE_METAFILE 1
44255 _ACEOF
44256
44257
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_ENH_METAFILE 1
44260 _ACEOF
44261
44262 fi
44263 fi
44264
44265 if test "$wxUSE_IPC" = "yes"; then
44266 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44267 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44268 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44269 wxUSE_IPC=no
44270 fi
44271
44272 if test "$wxUSE_IPC" = "yes"; then
44273 cat >>confdefs.h <<\_ACEOF
44274 #define wxUSE_IPC 1
44275 _ACEOF
44276
44277 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44278 fi
44279 fi
44280
44281 if test "$wxUSE_DATAOBJ" = "yes"; then
44282 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44283 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44284 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44285 wxUSE_DATAOBJ=no
44286 else
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_DATAOBJ 1
44289 _ACEOF
44290
44291 fi
44292 else
44293 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44294 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44295 wxUSE_CLIPBOARD=no
44296 wxUSE_DRAG_AND_DROP=no
44297 fi
44298
44299 if test "$wxUSE_CLIPBOARD" = "yes"; then
44300 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44301 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44302 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44303 wxUSE_CLIPBOARD=no
44304 fi
44305
44306 if test "$wxUSE_CLIPBOARD" = "yes"; then
44307 cat >>confdefs.h <<\_ACEOF
44308 #define wxUSE_CLIPBOARD 1
44309 _ACEOF
44310
44311 fi
44312 fi
44313
44314 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44315 if test "$wxUSE_GTK" = 1; then
44316 if test "$WXGTK12" != 1; then
44317 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44318 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44319 wxUSE_DRAG_AND_DROP=no
44320 fi
44321 fi
44322
44323 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44324 "$wxUSE_DFB" = 1; then
44325 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44326 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44327 wxUSE_DRAG_AND_DROP=no
44328 fi
44329
44330 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_DRAG_AND_DROP 1
44333 _ACEOF
44334
44335 fi
44336
44337 fi
44338
44339 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44341 fi
44342
44343 if test "$wxUSE_SPLINES" = "yes" ; then
44344 cat >>confdefs.h <<\_ACEOF
44345 #define wxUSE_SPLINES 1
44346 _ACEOF
44347
44348 fi
44349
44350 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44351 cat >>confdefs.h <<\_ACEOF
44352 #define wxUSE_MOUSEWHEEL 1
44353 _ACEOF
44354
44355 fi
44356
44357
44358 USES_CONTROLS=0
44359 if test "$wxUSE_CONTROLS" = "yes"; then
44360 USES_CONTROLS=1
44361 fi
44362
44363 if test "$wxUSE_ACCEL" = "yes"; then
44364 cat >>confdefs.h <<\_ACEOF
44365 #define wxUSE_ACCEL 1
44366 _ACEOF
44367
44368 USES_CONTROLS=1
44369 fi
44370
44371 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44372 cat >>confdefs.h <<\_ACEOF
44373 #define wxUSE_ANIMATIONCTRL 1
44374 _ACEOF
44375
44376 USES_CONTROLS=1
44377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44378 fi
44379
44380 if test "$wxUSE_BUTTON" = "yes"; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define wxUSE_BUTTON 1
44383 _ACEOF
44384
44385 USES_CONTROLS=1
44386 fi
44387
44388 if test "$wxUSE_BMPBUTTON" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_BMPBUTTON 1
44391 _ACEOF
44392
44393 USES_CONTROLS=1
44394 fi
44395
44396 if test "$wxUSE_CALCTRL" = "yes"; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_CALENDARCTRL 1
44399 _ACEOF
44400
44401 USES_CONTROLS=1
44402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44403 fi
44404
44405 if test "$wxUSE_CARET" = "yes"; then
44406 cat >>confdefs.h <<\_ACEOF
44407 #define wxUSE_CARET 1
44408 _ACEOF
44409
44410 USES_CONTROLS=1
44411 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44412 fi
44413
44414 if test "$wxUSE_COLLPANE" = "yes"; then
44415 cat >>confdefs.h <<\_ACEOF
44416 #define wxUSE_COLLPANE 1
44417 _ACEOF
44418
44419 USES_CONTROLS=1
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44421 fi
44422
44423 if test "$wxUSE_COMBOBOX" = "yes"; then
44424 cat >>confdefs.h <<\_ACEOF
44425 #define wxUSE_COMBOBOX 1
44426 _ACEOF
44427
44428 USES_CONTROLS=1
44429 fi
44430
44431 if test "$wxUSE_COMBOCTRL" = "yes"; then
44432 cat >>confdefs.h <<\_ACEOF
44433 #define wxUSE_COMBOCTRL 1
44434 _ACEOF
44435
44436 USES_CONTROLS=1
44437 fi
44438
44439 if test "$wxUSE_CHOICE" = "yes"; then
44440 cat >>confdefs.h <<\_ACEOF
44441 #define wxUSE_CHOICE 1
44442 _ACEOF
44443
44444 USES_CONTROLS=1
44445 fi
44446
44447 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44448 cat >>confdefs.h <<\_ACEOF
44449 #define wxUSE_CHOICEBOOK 1
44450 _ACEOF
44451
44452 USES_CONTROLS=1
44453 fi
44454
44455 if test "$wxUSE_CHECKBOX" = "yes"; then
44456 cat >>confdefs.h <<\_ACEOF
44457 #define wxUSE_CHECKBOX 1
44458 _ACEOF
44459
44460 USES_CONTROLS=1
44461 fi
44462
44463 if test "$wxUSE_CHECKLST" = "yes"; then
44464 cat >>confdefs.h <<\_ACEOF
44465 #define wxUSE_CHECKLISTBOX 1
44466 _ACEOF
44467
44468 USES_CONTROLS=1
44469 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44470 fi
44471
44472 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44473 cat >>confdefs.h <<\_ACEOF
44474 #define wxUSE_COLOURPICKERCTRL 1
44475 _ACEOF
44476
44477 USES_CONTROLS=1
44478 fi
44479
44480 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44481 cat >>confdefs.h <<\_ACEOF
44482 #define wxUSE_DATEPICKCTRL 1
44483 _ACEOF
44484
44485 USES_CONTROLS=1
44486 fi
44487
44488 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44489 cat >>confdefs.h <<\_ACEOF
44490 #define wxUSE_DIRPICKERCTRL 1
44491 _ACEOF
44492
44493 USES_CONTROLS=1
44494 fi
44495
44496 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44497 cat >>confdefs.h <<\_ACEOF
44498 #define wxUSE_FILEPICKERCTRL 1
44499 _ACEOF
44500
44501 USES_CONTROLS=1
44502 fi
44503
44504 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44505 cat >>confdefs.h <<\_ACEOF
44506 #define wxUSE_FONTPICKERCTRL 1
44507 _ACEOF
44508
44509 USES_CONTROLS=1
44510 fi
44511
44512 if test "$wxUSE_DISPLAY" = "yes"; then
44513 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44514 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44515 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44516 wxUSE_DISPLAY=no
44517 else
44518 cat >>confdefs.h <<\_ACEOF
44519 #define wxUSE_DISPLAY 1
44520 _ACEOF
44521
44522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44523 fi
44524 fi
44525
44526 if test "$wxUSE_DETECT_SM" = "yes"; then
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_DETECT_SM 1
44529 _ACEOF
44530
44531 fi
44532
44533 if test "$wxUSE_GAUGE" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_GAUGE 1
44536 _ACEOF
44537
44538 USES_CONTROLS=1
44539 fi
44540
44541 if test "$wxUSE_GRID" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_GRID 1
44544 _ACEOF
44545
44546 USES_CONTROLS=1
44547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44548 fi
44549
44550 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_HYPERLINKCTRL 1
44553 _ACEOF
44554
44555 USES_CONTROLS=1
44556 fi
44557
44558 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_BITMAPCOMBOBOX 1
44561 _ACEOF
44562
44563 USES_CONTROLS=1
44564 fi
44565
44566 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_DATAVIEWCTRL 1
44569 _ACEOF
44570
44571 USES_CONTROLS=1
44572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44573 fi
44574
44575 if test "$wxUSE_IMAGLIST" = "yes"; then
44576 cat >>confdefs.h <<\_ACEOF
44577 #define wxUSE_IMAGLIST 1
44578 _ACEOF
44579
44580 fi
44581
44582 if test "$wxUSE_LISTBOOK" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_LISTBOOK 1
44585 _ACEOF
44586
44587 USES_CONTROLS=1
44588 fi
44589
44590 if test "$wxUSE_LISTBOX" = "yes"; then
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_LISTBOX 1
44593 _ACEOF
44594
44595 USES_CONTROLS=1
44596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44597 fi
44598
44599 if test "$wxUSE_LISTCTRL" = "yes"; then
44600 if test "$wxUSE_IMAGLIST" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_LISTCTRL 1
44603 _ACEOF
44604
44605 USES_CONTROLS=1
44606 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44607 else
44608 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44609 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44610 fi
44611 fi
44612
44613 if test "$wxUSE_NOTEBOOK" = "yes"; then
44614 cat >>confdefs.h <<\_ACEOF
44615 #define wxUSE_NOTEBOOK 1
44616 _ACEOF
44617
44618 USES_CONTROLS=1
44619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44620 fi
44621
44622 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44623 cat >>confdefs.h <<\_ACEOF
44624 #define wxUSE_ODCOMBOBOX 1
44625 _ACEOF
44626
44627 USES_CONTROLS=1
44628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44629 fi
44630
44631
44632 if test "$wxUSE_RADIOBOX" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_RADIOBOX 1
44635 _ACEOF
44636
44637 USES_CONTROLS=1
44638 fi
44639
44640 if test "$wxUSE_RADIOBTN" = "yes"; then
44641 cat >>confdefs.h <<\_ACEOF
44642 #define wxUSE_RADIOBTN 1
44643 _ACEOF
44644
44645 USES_CONTROLS=1
44646 fi
44647
44648 if test "$wxUSE_SASH" = "yes"; then
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_SASH 1
44651 _ACEOF
44652
44653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44654 fi
44655
44656 if test "$wxUSE_SCROLLBAR" = "yes"; then
44657 cat >>confdefs.h <<\_ACEOF
44658 #define wxUSE_SCROLLBAR 1
44659 _ACEOF
44660
44661 USES_CONTROLS=1
44662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44663 fi
44664
44665 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44666 cat >>confdefs.h <<\_ACEOF
44667 #define wxUSE_SEARCHCTRL 1
44668 _ACEOF
44669
44670 USES_CONTROLS=1
44671 fi
44672
44673 if test "$wxUSE_SLIDER" = "yes"; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_SLIDER 1
44676 _ACEOF
44677
44678 USES_CONTROLS=1
44679 fi
44680
44681 if test "$wxUSE_SPINBTN" = "yes"; then
44682 cat >>confdefs.h <<\_ACEOF
44683 #define wxUSE_SPINBTN 1
44684 _ACEOF
44685
44686 USES_CONTROLS=1
44687 fi
44688
44689 if test "$wxUSE_SPINCTRL" = "yes"; then
44690 cat >>confdefs.h <<\_ACEOF
44691 #define wxUSE_SPINCTRL 1
44692 _ACEOF
44693
44694 USES_CONTROLS=1
44695 fi
44696
44697 if test "$wxUSE_SPLITTER" = "yes"; then
44698 cat >>confdefs.h <<\_ACEOF
44699 #define wxUSE_SPLITTER 1
44700 _ACEOF
44701
44702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44703 fi
44704
44705 if test "$wxUSE_STATBMP" = "yes"; then
44706 cat >>confdefs.h <<\_ACEOF
44707 #define wxUSE_STATBMP 1
44708 _ACEOF
44709
44710 USES_CONTROLS=1
44711 fi
44712
44713 if test "$wxUSE_STATBOX" = "yes"; then
44714 cat >>confdefs.h <<\_ACEOF
44715 #define wxUSE_STATBOX 1
44716 _ACEOF
44717
44718 USES_CONTROLS=1
44719 fi
44720
44721 if test "$wxUSE_STATTEXT" = "yes"; then
44722 cat >>confdefs.h <<\_ACEOF
44723 #define wxUSE_STATTEXT 1
44724 _ACEOF
44725
44726 USES_CONTROLS=1
44727 fi
44728
44729 if test "$wxUSE_STATLINE" = "yes"; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define wxUSE_STATLINE 1
44732 _ACEOF
44733
44734 USES_CONTROLS=1
44735 fi
44736
44737 if test "$wxUSE_STATUSBAR" = "yes"; then
44738 cat >>confdefs.h <<\_ACEOF
44739 #define wxUSE_NATIVE_STATUSBAR 1
44740 _ACEOF
44741
44742 cat >>confdefs.h <<\_ACEOF
44743 #define wxUSE_STATUSBAR 1
44744 _ACEOF
44745
44746 USES_CONTROLS=1
44747
44748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44749 fi
44750
44751 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_TAB_DIALOG 1
44754 _ACEOF
44755
44756 fi
44757
44758 if test "$wxUSE_TEXTCTRL" = "yes"; then
44759 cat >>confdefs.h <<\_ACEOF
44760 #define wxUSE_TEXTCTRL 1
44761 _ACEOF
44762
44763 USES_CONTROLS=1
44764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44765 fi
44766
44767 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44768 if test "$wxUSE_COCOA" = 1 ; then
44769 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44770 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44771 wxUSE_TOGGLEBTN=no
44772 fi
44773
44774 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_TOGGLEBTN 1
44777 _ACEOF
44778
44779 USES_CONTROLS=1
44780 fi
44781 fi
44782
44783 if test "$wxUSE_TOOLBAR" = "yes"; then
44784 cat >>confdefs.h <<\_ACEOF
44785 #define wxUSE_TOOLBAR 1
44786 _ACEOF
44787
44788 USES_CONTROLS=1
44789
44790 if test "$wxUSE_UNIVERSAL" = "yes"; then
44791 wxUSE_TOOLBAR_NATIVE="no"
44792 else
44793 wxUSE_TOOLBAR_NATIVE="yes"
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_TOOLBAR_NATIVE 1
44796 _ACEOF
44797
44798 fi
44799
44800 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44801 fi
44802
44803 if test "$wxUSE_TOOLTIPS" = "yes"; then
44804 if test "$wxUSE_MOTIF" = 1; then
44805 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44806 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44807 else
44808 if test "$wxUSE_UNIVERSAL" = "yes"; then
44809 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44810 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44811 else
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_TOOLTIPS 1
44814 _ACEOF
44815
44816 fi
44817 fi
44818 fi
44819
44820 if test "$wxUSE_TREEBOOK" = "yes"; then
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_TREEBOOK 1
44823 _ACEOF
44824
44825 USES_CONTROLS=1
44826 fi
44827
44828 if test "$wxUSE_TOOLBOOK" = "yes"; then
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_TOOLBOOK 1
44831 _ACEOF
44832
44833 USES_CONTROLS=1
44834 fi
44835
44836 if test "$wxUSE_TREECTRL" = "yes"; then
44837 if test "$wxUSE_IMAGLIST" = "yes"; then
44838 cat >>confdefs.h <<\_ACEOF
44839 #define wxUSE_TREECTRL 1
44840 _ACEOF
44841
44842 USES_CONTROLS=1
44843 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44844 else
44845 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44846 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44847 fi
44848 fi
44849
44850 if test "$wxUSE_POPUPWIN" = "yes"; then
44851 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44852 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44853 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44854 else
44855 if test "$wxUSE_PM" = 1; then
44856 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44857 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44858 else
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_POPUPWIN 1
44861 _ACEOF
44862
44863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44864
44865 USES_CONTROLS=1
44866 fi
44867 fi
44868 fi
44869
44870 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44871 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44872 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44873 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44874 else
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_DIALUP_MANAGER 1
44877 _ACEOF
44878
44879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44880 fi
44881 fi
44882
44883 if test "$wxUSE_TIPWINDOW" = "yes"; then
44884 if test "$wxUSE_PM" = 1; then
44885 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44886 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44887 else
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_TIPWINDOW 1
44890 _ACEOF
44891
44892 fi
44893 fi
44894
44895 if test "$USES_CONTROLS" = 1; then
44896 cat >>confdefs.h <<\_ACEOF
44897 #define wxUSE_CONTROLS 1
44898 _ACEOF
44899
44900 fi
44901
44902
44903 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_ACCESSIBILITY 1
44906 _ACEOF
44907
44908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44909 fi
44910
44911 if test "$wxUSE_DC_CACHEING" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_DC_CACHEING 1
44914 _ACEOF
44915
44916 fi
44917
44918 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_DRAGIMAGE 1
44921 _ACEOF
44922
44923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44924 fi
44925
44926 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44927 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44928 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44929 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44930 else
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_EXCEPTIONS 1
44933 _ACEOF
44934
44935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44936 fi
44937 fi
44938
44939 USE_HTML=0
44940 if test "$wxUSE_HTML" = "yes"; then
44941 cat >>confdefs.h <<\_ACEOF
44942 #define wxUSE_HTML 1
44943 _ACEOF
44944
44945 USE_HTML=1
44946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44947 if test "$wxUSE_MAC" = 1; then
44948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44949 fi
44950 fi
44951 if test "$wxUSE_WEBKIT" = "yes"; then
44952 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44953 old_CPPFLAGS="$CPPFLAGS"
44954 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44955 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44956 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44957 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44958 echo $ECHO_N "(cached) $ECHO_C" >&6
44959 else
44960 cat >conftest.$ac_ext <<_ACEOF
44961 /* confdefs.h. */
44962 _ACEOF
44963 cat confdefs.h >>conftest.$ac_ext
44964 cat >>conftest.$ac_ext <<_ACEOF
44965 /* end confdefs.h. */
44966
44967 #include <Carbon/Carbon.h>
44968 #include <WebKit/WebKit.h>
44969
44970
44971 #include <WebKit/HIWebView.h>
44972 _ACEOF
44973 rm -f conftest.$ac_objext
44974 if { (ac_try="$ac_compile"
44975 case "(($ac_try" in
44976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44977 *) ac_try_echo=$ac_try;;
44978 esac
44979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44980 (eval "$ac_compile") 2>conftest.er1
44981 ac_status=$?
44982 grep -v '^ *+' conftest.er1 >conftest.err
44983 rm -f conftest.er1
44984 cat conftest.err >&5
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); } && {
44987 test -z "$ac_c_werror_flag" ||
44988 test ! -s conftest.err
44989 } && test -s conftest.$ac_objext; then
44990 ac_cv_header_WebKit_HIWebView_h=yes
44991 else
44992 echo "$as_me: failed program was:" >&5
44993 sed 's/^/| /' conftest.$ac_ext >&5
44994
44995 ac_cv_header_WebKit_HIWebView_h=no
44996 fi
44997
44998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44999 fi
45000 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45001 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45002 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45003
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_WEBKIT 1
45006 _ACEOF
45007
45008 WEBKIT_LINK="-framework WebKit"
45009
45010 else
45011
45012 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45013 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45014 wxUSE_WEBKIT=no
45015
45016 fi
45017
45018
45019 CPPFLAGS="$old_CPPFLAGS"
45020 elif test "$wxUSE_COCOA" = 1; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_WEBKIT 1
45023 _ACEOF
45024
45025 else
45026 wxUSE_WEBKIT=no
45027 fi
45028 fi
45029
45030 USE_XRC=0
45031 if test "$wxUSE_XRC" = "yes"; then
45032 if test "$wxUSE_XML" != "yes"; then
45033 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45034 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45035 wxUSE_XRC=no
45036 else
45037 cat >>confdefs.h <<\_ACEOF
45038 #define wxUSE_XRC 1
45039 _ACEOF
45040
45041 USE_XRC=1
45042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45043 fi
45044 fi
45045
45046 USE_AUI=0
45047 if test "$wxUSE_AUI" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_AUI 1
45050 _ACEOF
45051
45052 USE_AUI=1
45053 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45054 fi
45055
45056 if test "$wxUSE_MENUS" = "yes"; then
45057 cat >>confdefs.h <<\_ACEOF
45058 #define wxUSE_MENUS 1
45059 _ACEOF
45060
45061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45062 fi
45063
45064 if test "$wxUSE_METAFILE" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_METAFILE 1
45067 _ACEOF
45068
45069 fi
45070
45071 if test "$wxUSE_MIMETYPE" = "yes"; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_MIMETYPE 1
45074 _ACEOF
45075
45076 fi
45077
45078 if test "$wxUSE_MINIFRAME" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_MINIFRAME 1
45081 _ACEOF
45082
45083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45084 fi
45085
45086 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_SYSTEM_OPTIONS 1
45089 _ACEOF
45090
45091 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45092 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45094 fi
45095 fi
45096
45097
45098 if test "$wxUSE_VALIDATORS" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_VALIDATORS 1
45101 _ACEOF
45102
45103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45104 fi
45105
45106 if test "$wxUSE_PALETTE" = "yes" ; then
45107 if test "$wxUSE_DFB" = 1; then
45108 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45109 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45110 wxUSE_PALETTE=no
45111 else
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_PALETTE 1
45114 _ACEOF
45115
45116 fi
45117 fi
45118
45119 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45120 LIBS=" -lunicows $LIBS"
45121 fi
45122
45123 USE_RICHTEXT=0
45124 if test "$wxUSE_RICHTEXT" = "yes"; then
45125 cat >>confdefs.h <<\_ACEOF
45126 #define wxUSE_RICHTEXT 1
45127 _ACEOF
45128
45129 USE_RICHTEXT=1
45130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45131 fi
45132
45133
45134 if test "$wxUSE_IMAGE" = "yes" ; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_IMAGE 1
45137 _ACEOF
45138
45139
45140 if test "$wxUSE_GIF" = "yes" ; then
45141 cat >>confdefs.h <<\_ACEOF
45142 #define wxUSE_GIF 1
45143 _ACEOF
45144
45145 fi
45146
45147 if test "$wxUSE_PCX" = "yes" ; then
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_PCX 1
45150 _ACEOF
45151
45152 fi
45153
45154 if test "$wxUSE_TGA" = "yes" ; then
45155 cat >>confdefs.h <<\_ACEOF
45156 #define wxUSE_TGA 1
45157 _ACEOF
45158
45159 fi
45160
45161 if test "$wxUSE_IFF" = "yes" ; then
45162 cat >>confdefs.h <<\_ACEOF
45163 #define wxUSE_IFF 1
45164 _ACEOF
45165
45166 fi
45167
45168 if test "$wxUSE_PNM" = "yes" ; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_PNM 1
45171 _ACEOF
45172
45173 fi
45174
45175 if test "$wxUSE_XPM" = "yes" ; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_XPM 1
45178 _ACEOF
45179
45180 fi
45181
45182 if test "$wxUSE_ICO_CUR" = "yes" ; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_ICO_CUR 1
45185 _ACEOF
45186
45187 fi
45188 fi
45189
45190
45191 if test "$wxUSE_ABOUTDLG" = "yes"; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_ABOUTDLG 1
45194 _ACEOF
45195
45196 fi
45197
45198 if test "$wxUSE_CHOICEDLG" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_CHOICEDLG 1
45201 _ACEOF
45202
45203 fi
45204
45205 if test "$wxUSE_COLOURDLG" = "yes"; then
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_COLOURDLG 1
45208 _ACEOF
45209
45210 fi
45211
45212 if test "$wxUSE_FILEDLG" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_FILEDLG 1
45215 _ACEOF
45216
45217 fi
45218
45219 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45220 cat >>confdefs.h <<\_ACEOF
45221 #define wxUSE_FINDREPLDLG 1
45222 _ACEOF
45223
45224 fi
45225
45226 if test "$wxUSE_FONTDLG" = "yes"; then
45227 cat >>confdefs.h <<\_ACEOF
45228 #define wxUSE_FONTDLG 1
45229 _ACEOF
45230
45231 fi
45232
45233 if test "$wxUSE_DIRDLG" = "yes"; then
45234 if test "$wxUSE_TREECTRL" != "yes"; then
45235 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45236 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45237 else
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_DIRDLG 1
45240 _ACEOF
45241
45242 fi
45243 fi
45244
45245 if test "$wxUSE_MSGDLG" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_MSGDLG 1
45248 _ACEOF
45249
45250 fi
45251
45252 if test "$wxUSE_NUMBERDLG" = "yes"; then
45253 cat >>confdefs.h <<\_ACEOF
45254 #define wxUSE_NUMBERDLG 1
45255 _ACEOF
45256
45257 fi
45258
45259 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45260 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45261 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45262 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45263 else
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_PROGRESSDLG 1
45266 _ACEOF
45267
45268 fi
45269 fi
45270
45271 if test "$wxUSE_SPLASH" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_SPLASH 1
45274 _ACEOF
45275
45276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45277 fi
45278
45279 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45280 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45281 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45282 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45283 else
45284 cat >>confdefs.h <<\_ACEOF
45285 #define wxUSE_STARTUP_TIPS 1
45286 _ACEOF
45287
45288 fi
45289 fi
45290
45291 if test "$wxUSE_TEXTDLG" = "yes"; then
45292 cat >>confdefs.h <<\_ACEOF
45293 #define wxUSE_TEXTDLG 1
45294 _ACEOF
45295
45296 fi
45297
45298 if test "$wxUSE_WIZARDDLG" = "yes"; then
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_WIZARDDLG 1
45301 _ACEOF
45302
45303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45304 fi
45305
45306
45307 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45308 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_GRAPHICS_CONTEXT 1
45311 _ACEOF
45312
45313 elif test "$wxUSE_GTK" != 1; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_GRAPHICS_CONTEXT 1
45316 _ACEOF
45317
45318 else
45319
45320 pkg_failed=no
45321 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45322 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45323
45324 if test -n "$PKG_CONFIG"; then
45325 if test -n "$CAIRO_CFLAGS"; then
45326 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45327 else
45328 if test -n "$PKG_CONFIG" && \
45329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45330 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45331 ac_status=$?
45332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45333 (exit $ac_status); }; then
45334 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45335 else
45336 pkg_failed=yes
45337 fi
45338 fi
45339 else
45340 pkg_failed=untried
45341 fi
45342 if test -n "$PKG_CONFIG"; then
45343 if test -n "$CAIRO_LIBS"; then
45344 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45345 else
45346 if test -n "$PKG_CONFIG" && \
45347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45348 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45349 ac_status=$?
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); }; then
45352 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45353 else
45354 pkg_failed=yes
45355 fi
45356 fi
45357 else
45358 pkg_failed=untried
45359 fi
45360
45361
45362
45363 if test $pkg_failed = yes; then
45364
45365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45366 _pkg_short_errors_supported=yes
45367 else
45368 _pkg_short_errors_supported=no
45369 fi
45370 if test $_pkg_short_errors_supported = yes; then
45371 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45372 else
45373 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45374 fi
45375 # Put the nasty error message in config.log where it belongs
45376 echo "$CAIRO_PKG_ERRORS" >&5
45377
45378 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45379 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45380
45381 elif test $pkg_failed = untried; then
45382 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45383 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45384
45385 else
45386 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45387 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45388 { echo "$as_me:$LINENO: result: yes" >&5
45389 echo "${ECHO_T}yes" >&6; }
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_GRAPHICS_CONTEXT 1
45392 _ACEOF
45393
45394 fi
45395 fi
45396 fi
45397
45398
45399 USE_MEDIA=0
45400
45401 if test "$wxUSE_MEDIACTRL" = "yes"; then
45402 USE_MEDIA=1
45403
45404 if test "$wxUSE_GTK" = 1; then
45405 wxUSE_GSTREAMER="no"
45406
45407 GST_VERSION_MAJOR=0
45408 GST_VERSION_MINOR=10
45409 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45410
45411 if test "$wxUSE_GSTREAMER8" = "no"; then
45412
45413 pkg_failed=no
45414 { echo "$as_me:$LINENO: checking for GST" >&5
45415 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45416
45417 if test -n "$PKG_CONFIG"; then
45418 if test -n "$GST_CFLAGS"; then
45419 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45420 else
45421 if test -n "$PKG_CONFIG" && \
45422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45423 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45424 ac_status=$?
45425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45426 (exit $ac_status); }; then
45427 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45428 else
45429 pkg_failed=yes
45430 fi
45431 fi
45432 else
45433 pkg_failed=untried
45434 fi
45435 if test -n "$PKG_CONFIG"; then
45436 if test -n "$GST_LIBS"; then
45437 pkg_cv_GST_LIBS="$GST_LIBS"
45438 else
45439 if test -n "$PKG_CONFIG" && \
45440 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45441 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45442 ac_status=$?
45443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444 (exit $ac_status); }; then
45445 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45446 else
45447 pkg_failed=yes
45448 fi
45449 fi
45450 else
45451 pkg_failed=untried
45452 fi
45453
45454
45455
45456 if test $pkg_failed = yes; then
45457
45458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45459 _pkg_short_errors_supported=yes
45460 else
45461 _pkg_short_errors_supported=no
45462 fi
45463 if test $_pkg_short_errors_supported = yes; then
45464 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45465 else
45466 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45467 fi
45468 # Put the nasty error message in config.log where it belongs
45469 echo "$GST_PKG_ERRORS" >&5
45470
45471
45472 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45473 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45474 GST_VERSION_MINOR=8
45475
45476
45477 elif test $pkg_failed = untried; then
45478
45479 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45480 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45481 GST_VERSION_MINOR=8
45482
45483
45484 else
45485 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45486 GST_LIBS=$pkg_cv_GST_LIBS
45487 { echo "$as_me:$LINENO: result: yes" >&5
45488 echo "${ECHO_T}yes" >&6; }
45489
45490 wxUSE_GSTREAMER="yes"
45491 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45492
45493 fi
45494 else
45495 GST_VERSION_MINOR=8
45496 fi
45497
45498 if test $GST_VERSION_MINOR = "8"; then
45499 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45500
45501 pkg_failed=no
45502 { echo "$as_me:$LINENO: checking for GST" >&5
45503 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45504
45505 if test -n "$PKG_CONFIG"; then
45506 if test -n "$GST_CFLAGS"; then
45507 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45508 else
45509 if test -n "$PKG_CONFIG" && \
45510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45511 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45512 ac_status=$?
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); }; then
45515 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45516 else
45517 pkg_failed=yes
45518 fi
45519 fi
45520 else
45521 pkg_failed=untried
45522 fi
45523 if test -n "$PKG_CONFIG"; then
45524 if test -n "$GST_LIBS"; then
45525 pkg_cv_GST_LIBS="$GST_LIBS"
45526 else
45527 if test -n "$PKG_CONFIG" && \
45528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45529 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45530 ac_status=$?
45531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45532 (exit $ac_status); }; then
45533 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45534 else
45535 pkg_failed=yes
45536 fi
45537 fi
45538 else
45539 pkg_failed=untried
45540 fi
45541
45542
45543
45544 if test $pkg_failed = yes; then
45545
45546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45547 _pkg_short_errors_supported=yes
45548 else
45549 _pkg_short_errors_supported=no
45550 fi
45551 if test $_pkg_short_errors_supported = yes; then
45552 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45553 else
45554 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45555 fi
45556 # Put the nasty error message in config.log where it belongs
45557 echo "$GST_PKG_ERRORS" >&5
45558
45559
45560 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45561 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45562
45563 elif test $pkg_failed = untried; then
45564
45565 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45566 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45567
45568 else
45569 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45570 GST_LIBS=$pkg_cv_GST_LIBS
45571 { echo "$as_me:$LINENO: result: yes" >&5
45572 echo "${ECHO_T}yes" >&6; }
45573 wxUSE_GSTREAMER="yes"
45574 fi
45575 fi
45576
45577
45578 if test "$wxUSE_GSTREAMER" = "yes"; then
45579 case "${host}" in
45580 *-*-solaris2* )
45581 if "$GCC" = yes; then
45582 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45583 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45584 fi
45585 esac
45586
45587 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45588 LIBS="$GST_LIBS $LIBS"
45589
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_GSTREAMER 1
45592 _ACEOF
45593
45594 else
45595 USE_MEDIA=0
45596 fi
45597 fi
45598
45599 if test $USE_MEDIA = 1; then
45600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_MEDIACTRL 1
45603 _ACEOF
45604
45605 fi
45606 fi
45607
45608
45609 if test "$cross_compiling" = "yes"; then
45610 OSINFO="\"$host\""
45611 else
45612 OSINFO=`uname -s -r -m`
45613 OSINFO="\"$OSINFO\""
45614 fi
45615
45616 cat >>confdefs.h <<_ACEOF
45617 #define WXWIN_OS_DESCRIPTION $OSINFO
45618 _ACEOF
45619
45620
45621
45622 if test "x$prefix" != "xNONE"; then
45623 wxPREFIX=$prefix
45624 else
45625 wxPREFIX=$ac_default_prefix
45626 fi
45627
45628 cat >>confdefs.h <<_ACEOF
45629 #define wxINSTALL_PREFIX "$wxPREFIX"
45630 _ACEOF
45631
45632
45633
45634
45635 CORE_BASE_LIBS="net base"
45636 CORE_GUI_LIBS="adv core"
45637
45638 if test "$wxUSE_XML" = "yes" ; then
45639 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45640 fi
45641 if test "$wxUSE_ODBC" != "no" ; then
45642 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45643 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45644 fi
45645 if test "$wxUSE_HTML" = "yes" ; then
45646 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45647 fi
45648 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45649 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45650 fi
45651 if test "$wxUSE_XRC" = "yes" ; then
45652 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45653 fi
45654 if test "$wxUSE_AUI" = "yes" ; then
45655 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45656 fi
45657
45658 if test "$wxUSE_GUI" != "yes"; then
45659 CORE_GUI_LIBS=""
45660 fi
45661
45662
45663
45664
45665
45666
45667 if test "$wxUSE_MAC" = 1 ; then
45668 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45669 if test "$USE_DARWIN" = 1; then
45670 LDFLAGS="$LDFLAGS -framework QuickTime"
45671 else
45672 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45673 fi
45674 fi
45675 if test "$USE_DARWIN" = 1; then
45676 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45677 else
45678 LDFLAGS="$LDFLAGS -lCarbonLib"
45679 fi
45680 fi
45681 if test "$wxUSE_COCOA" = 1 ; then
45682 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45683 if test "$wxUSE_MEDIACTRL" = "yes"; then
45684 LDFLAGS="$LDFLAGS -framework QuickTime"
45685 fi
45686 fi
45687 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45688 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45689 fi
45690
45691 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45692
45693 if test "$wxUSE_GUI" = "yes"; then
45694
45695
45696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45697 dynamic erase event exec font image minimal mobile \
45698 mobile/wxedit mobile/styles propsize render \
45699 rotate shaped vscroll widgets"
45700
45701 if test "$wxUSE_MONOLITHIC" != "yes"; then
45702 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45703 fi
45704 if test "$TOOLKIT" = "MSW"; then
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45706 if test "$wxUSE_UNIVERSAL" != "yes"; then
45707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45708 fi
45709 fi
45710 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45712 fi
45713 else
45714 SAMPLES_SUBDIRS="console"
45715 fi
45716
45717
45718 if test "x$INTELCC" = "xyes" ; then
45719 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45720 elif test "$GCC" = yes ; then
45721 CWARNINGS="-Wall -Wundef"
45722 fi
45723
45724 if test "x$INTELCXX" = "xyes" ; then
45725 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45726 elif test "$GXX" = yes ; then
45727 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45728 fi
45729
45730
45731 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45732 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45733
45734
45735 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45736 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45737 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45738 $CPPFLAGS `
45739
45740 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45741 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45742 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45743
45744 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45745
45746
45747 if test "x$MWCC" = "xyes"; then
45748
45749 CC="$CC -cwd source -I-"
45750 CXX="$CXX -cwd source -I-"
45751 fi
45752
45753
45754 LIBS=`echo $LIBS`
45755 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45756 EXTRALIBS_XML="$EXPAT_LINK"
45757 EXTRALIBS_HTML="$MSPACK_LINK"
45758 EXTRALIBS_ODBC="$ODBC_LINK"
45759 if test "$wxUSE_GUI" = "yes"; then
45760 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45761 fi
45762 if test "$wxUSE_OPENGL" = "yes"; then
45763 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45764 fi
45765
45766 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45767
45768 WXCONFIG_LIBS="$LIBS"
45769
45770 if test "$wxUSE_REGEX" = "builtin" ; then
45771 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45772 fi
45773 if test "$wxUSE_EXPAT" = "builtin" ; then
45774 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45775 fi
45776 if test "$wxUSE_ODBC" = "builtin" ; then
45777 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45778 fi
45779 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45780 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45781 fi
45782 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45783 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45784 fi
45785 if test "$wxUSE_LIBPNG" = "builtin" ; then
45786 wxconfig_3rdparty="png $wxconfig_3rdparty"
45787 fi
45788 if test "$wxUSE_ZLIB" = "builtin" ; then
45789 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45790 fi
45791
45792 for i in $wxconfig_3rdparty ; do
45793 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45794 done
45795
45796
45797 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45798 WXUNIV=1
45799
45800 case "$wxUNIV_THEMES" in
45801 ''|all)
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_ALL_THEMES 1
45804 _ACEOF
45805
45806 ;;
45807
45808 *)
45809 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45810 cat >>confdefs.h <<_ACEOF
45811 #define wxUSE_THEME_$t 1
45812 _ACEOF
45813
45814 done
45815 esac
45816 else
45817 WXUNIV=0
45818 fi
45819
45820
45821
45822
45823
45824
45825
45826
45827
45828 if test $wxUSE_MONOLITHIC = "yes" ; then
45829 MONOLITHIC=1
45830 else
45831 MONOLITHIC=0
45832 fi
45833
45834 if test $wxUSE_PLUGINS = "yes" ; then
45835 USE_PLUGINS=1
45836 else
45837 USE_PLUGINS=0
45838 fi
45839
45840 if test $wxUSE_ODBC != "no" ; then
45841 USE_ODBC=1
45842 else
45843 USE_ODBC=0
45844 fi
45845
45846 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45847 USE_QA=1
45848 else
45849 USE_QA=0
45850 fi
45851
45852 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45853 OFFICIAL_BUILD=1
45854 else
45855 OFFICIAL_BUILD=0
45856 fi
45857
45858
45859
45860
45861
45862
45863
45864
45865
45866
45867
45868
45869
45870
45871
45872
45873
45874
45875
45876
45877
45878
45879
45880
45881
45882 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45883
45884
45885
45886
45887
45888
45889
45890
45891 case "$TOOLKIT" in
45892 GTK)
45893 TOOLKIT_DESC="GTK+"
45894 if test "$WXGTK20" = 1; then
45895 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45896 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45897 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45898 fi
45899 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45900 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45901 fi
45902 if test "$wxUSE_LIBHILDON" = "yes"; then
45903 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45904 fi
45905
45906 if test "$TOOLKIT_EXTRA" != ""; then
45907 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45908 fi
45909 fi
45910 ;;
45911
45912 ?*)
45913 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45914 ;;
45915
45916 *)
45917 TOOLKIT_DESC="base only"
45918 ;;
45919 esac
45920
45921 if test "$wxUSE_WINE" = "yes"; then
45922 BAKEFILE_FORCE_PLATFORM=win32
45923 fi
45924
45925 if test "$wxUSE_MAC" = 1 ; then
45926 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45927 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45928 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45929 else
45930 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45931 fi
45932 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45933 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45934 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45935 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45936 bk_use_pch=no
45937 fi
45938 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45939 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45940 fi
45941
45942 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45943 then
45944 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45945 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45946 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45947 echo $ECHO_N "(cached) $ECHO_C" >&6
45948 else
45949
45950 echo '#include <stdio.h>
45951 const wchar_t test_var[] = L"awidetest";' > conftest.h
45952
45953 echo '#include "conftest.h"
45954 int main()
45955 {
45956 printf("%ls", test_var);
45957 return 0;
45958 }' > conftest.cpp
45959
45960 wx_cv_gcc_pch_bug="pch not supported"
45961
45962 if $CXX conftest.h >/dev/null 2>&1
45963 then
45964 wx_cv_gcc_pch_bug=
45965
45966 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45967 then
45968 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45969 grep awidetest >/dev/null
45970 then
45971 wx_cv_gcc_pch_bug=no
45972 else
45973 wx_cv_gcc_pch_bug=yes
45974 fi
45975 fi
45976 fi
45977
45978 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45979
45980 fi
45981 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45982 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45983
45984 if test "$wx_cv_gcc_pch_bug" = yes; then
45985 bk_use_pch=no
45986 fi
45987 fi
45988
45989
45990
45991
45992 if test "x$BAKEFILE_HOST" = "x"; then
45993 if test "x${host}" = "x" ; then
45994 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45995 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45996 { (exit 1); exit 1; }; }
45997 fi
45998
45999 BAKEFILE_HOST="${host}"
46000 fi
46001
46002 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46003
46004 if test -n "$ac_tool_prefix"; then
46005 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46006 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46009 if test "${ac_cv_prog_RANLIB+set}" = set; then
46010 echo $ECHO_N "(cached) $ECHO_C" >&6
46011 else
46012 if test -n "$RANLIB"; then
46013 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46014 else
46015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46016 for as_dir in $PATH
46017 do
46018 IFS=$as_save_IFS
46019 test -z "$as_dir" && as_dir=.
46020 for ac_exec_ext in '' $ac_executable_extensions; do
46021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46022 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46024 break 2
46025 fi
46026 done
46027 done
46028 IFS=$as_save_IFS
46029
46030 fi
46031 fi
46032 RANLIB=$ac_cv_prog_RANLIB
46033 if test -n "$RANLIB"; then
46034 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46035 echo "${ECHO_T}$RANLIB" >&6; }
46036 else
46037 { echo "$as_me:$LINENO: result: no" >&5
46038 echo "${ECHO_T}no" >&6; }
46039 fi
46040
46041
46042 fi
46043 if test -z "$ac_cv_prog_RANLIB"; then
46044 ac_ct_RANLIB=$RANLIB
46045 # Extract the first word of "ranlib", so it can be a program name with args.
46046 set dummy ranlib; ac_word=$2
46047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46049 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46051 else
46052 if test -n "$ac_ct_RANLIB"; then
46053 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46054 else
46055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46056 for as_dir in $PATH
46057 do
46058 IFS=$as_save_IFS
46059 test -z "$as_dir" && as_dir=.
46060 for ac_exec_ext in '' $ac_executable_extensions; do
46061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46062 ac_cv_prog_ac_ct_RANLIB="ranlib"
46063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46064 break 2
46065 fi
46066 done
46067 done
46068 IFS=$as_save_IFS
46069
46070 fi
46071 fi
46072 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46073 if test -n "$ac_ct_RANLIB"; then
46074 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46075 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46076 else
46077 { echo "$as_me:$LINENO: result: no" >&5
46078 echo "${ECHO_T}no" >&6; }
46079 fi
46080
46081 if test "x$ac_ct_RANLIB" = x; then
46082 RANLIB=":"
46083 else
46084 case $cross_compiling:$ac_tool_warned in
46085 yes:)
46086 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46087 whose name does not start with the host triplet. If you think this
46088 configuration is useful to you, please write to autoconf@gnu.org." >&5
46089 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46090 whose name does not start with the host triplet. If you think this
46091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46092 ac_tool_warned=yes ;;
46093 esac
46094 RANLIB=$ac_ct_RANLIB
46095 fi
46096 else
46097 RANLIB="$ac_cv_prog_RANLIB"
46098 fi
46099
46100 # Find a good install program. We prefer a C program (faster),
46101 # so one script is as good as another. But avoid the broken or
46102 # incompatible versions:
46103 # SysV /etc/install, /usr/sbin/install
46104 # SunOS /usr/etc/install
46105 # IRIX /sbin/install
46106 # AIX /bin/install
46107 # AmigaOS /C/install, which installs bootblocks on floppy discs
46108 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46109 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46110 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46111 # OS/2's system install, which has a completely different semantic
46112 # ./install, which can be erroneously created by make from ./install.sh.
46113 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46114 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46115 if test -z "$INSTALL"; then
46116 if test "${ac_cv_path_install+set}" = set; then
46117 echo $ECHO_N "(cached) $ECHO_C" >&6
46118 else
46119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46120 for as_dir in $PATH
46121 do
46122 IFS=$as_save_IFS
46123 test -z "$as_dir" && as_dir=.
46124 # Account for people who put trailing slashes in PATH elements.
46125 case $as_dir/ in
46126 ./ | .// | /cC/* | \
46127 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46128 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46129 /usr/ucb/* ) ;;
46130 *)
46131 # OSF1 and SCO ODT 3.0 have their own names for install.
46132 # Don't use installbsd from OSF since it installs stuff as root
46133 # by default.
46134 for ac_prog in ginstall scoinst install; do
46135 for ac_exec_ext in '' $ac_executable_extensions; do
46136 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46137 if test $ac_prog = install &&
46138 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46139 # AIX install. It has an incompatible calling convention.
46140 :
46141 elif test $ac_prog = install &&
46142 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46143 # program-specific install script used by HP pwplus--don't use.
46144 :
46145 else
46146 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46147 break 3
46148 fi
46149 fi
46150 done
46151 done
46152 ;;
46153 esac
46154 done
46155 IFS=$as_save_IFS
46156
46157
46158 fi
46159 if test "${ac_cv_path_install+set}" = set; then
46160 INSTALL=$ac_cv_path_install
46161 else
46162 # As a last resort, use the slow shell script. Don't cache a
46163 # value for INSTALL within a source directory, because that will
46164 # break other packages using the cache if that directory is
46165 # removed, or if the value is a relative name.
46166 INSTALL=$ac_install_sh
46167 fi
46168 fi
46169 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46170 echo "${ECHO_T}$INSTALL" >&6; }
46171
46172 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46173 # It thinks the first close brace ends the variable substitution.
46174 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46175
46176 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46177
46178 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46179
46180 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46181 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46182 LN_S=$as_ln_s
46183 if test "$LN_S" = "ln -s"; then
46184 { echo "$as_me:$LINENO: result: yes" >&5
46185 echo "${ECHO_T}yes" >&6; }
46186 else
46187 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46188 echo "${ECHO_T}no, using $LN_S" >&6; }
46189 fi
46190
46191
46192 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46193 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46194 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46195 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46196 echo $ECHO_N "(cached) $ECHO_C" >&6
46197 else
46198 cat >conftest.make <<\_ACEOF
46199 SHELL = /bin/sh
46200 all:
46201 @echo '@@@%%%=$(MAKE)=@@@%%%'
46202 _ACEOF
46203 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46204 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46205 *@@@%%%=?*=@@@%%%*)
46206 eval ac_cv_prog_make_${ac_make}_set=yes;;
46207 *)
46208 eval ac_cv_prog_make_${ac_make}_set=no;;
46209 esac
46210 rm -f conftest.make
46211 fi
46212 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46213 { echo "$as_me:$LINENO: result: yes" >&5
46214 echo "${ECHO_T}yes" >&6; }
46215 SET_MAKE=
46216 else
46217 { echo "$as_me:$LINENO: result: no" >&5
46218 echo "${ECHO_T}no" >&6; }
46219 SET_MAKE="MAKE=${MAKE-make}"
46220 fi
46221
46222
46223
46224 if test "x$SUNCXX" = "xyes"; then
46225 AR=$CXX
46226 AROPTIONS="-xar -o"
46227
46228 elif test "x$SGICC" = "xyes"; then
46229 AR=$CXX
46230 AROPTIONS="-ar -o"
46231
46232 else
46233 if test -n "$ac_tool_prefix"; then
46234 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46235 set dummy ${ac_tool_prefix}ar; ac_word=$2
46236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46238 if test "${ac_cv_prog_AR+set}" = set; then
46239 echo $ECHO_N "(cached) $ECHO_C" >&6
46240 else
46241 if test -n "$AR"; then
46242 ac_cv_prog_AR="$AR" # Let the user override the test.
46243 else
46244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46245 for as_dir in $PATH
46246 do
46247 IFS=$as_save_IFS
46248 test -z "$as_dir" && as_dir=.
46249 for ac_exec_ext in '' $ac_executable_extensions; do
46250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46251 ac_cv_prog_AR="${ac_tool_prefix}ar"
46252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46253 break 2
46254 fi
46255 done
46256 done
46257 IFS=$as_save_IFS
46258
46259 fi
46260 fi
46261 AR=$ac_cv_prog_AR
46262 if test -n "$AR"; then
46263 { echo "$as_me:$LINENO: result: $AR" >&5
46264 echo "${ECHO_T}$AR" >&6; }
46265 else
46266 { echo "$as_me:$LINENO: result: no" >&5
46267 echo "${ECHO_T}no" >&6; }
46268 fi
46269
46270
46271 fi
46272 if test -z "$ac_cv_prog_AR"; then
46273 ac_ct_AR=$AR
46274 # Extract the first word of "ar", so it can be a program name with args.
46275 set dummy ar; ac_word=$2
46276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46278 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 else
46281 if test -n "$ac_ct_AR"; then
46282 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46283 else
46284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46285 for as_dir in $PATH
46286 do
46287 IFS=$as_save_IFS
46288 test -z "$as_dir" && as_dir=.
46289 for ac_exec_ext in '' $ac_executable_extensions; do
46290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46291 ac_cv_prog_ac_ct_AR="ar"
46292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46293 break 2
46294 fi
46295 done
46296 done
46297 IFS=$as_save_IFS
46298
46299 fi
46300 fi
46301 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46302 if test -n "$ac_ct_AR"; then
46303 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46304 echo "${ECHO_T}$ac_ct_AR" >&6; }
46305 else
46306 { echo "$as_me:$LINENO: result: no" >&5
46307 echo "${ECHO_T}no" >&6; }
46308 fi
46309
46310 if test "x$ac_ct_AR" = x; then
46311 AR="ar"
46312 else
46313 case $cross_compiling:$ac_tool_warned in
46314 yes:)
46315 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46316 whose name does not start with the host triplet. If you think this
46317 configuration is useful to you, please write to autoconf@gnu.org." >&5
46318 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46319 whose name does not start with the host triplet. If you think this
46320 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46321 ac_tool_warned=yes ;;
46322 esac
46323 AR=$ac_ct_AR
46324 fi
46325 else
46326 AR="$ac_cv_prog_AR"
46327 fi
46328
46329 AROPTIONS=rcu
46330 fi
46331
46332
46333 if test -n "$ac_tool_prefix"; then
46334 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46335 set dummy ${ac_tool_prefix}strip; ac_word=$2
46336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46338 if test "${ac_cv_prog_STRIP+set}" = set; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46340 else
46341 if test -n "$STRIP"; then
46342 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46343 else
46344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46345 for as_dir in $PATH
46346 do
46347 IFS=$as_save_IFS
46348 test -z "$as_dir" && as_dir=.
46349 for ac_exec_ext in '' $ac_executable_extensions; do
46350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46351 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46353 break 2
46354 fi
46355 done
46356 done
46357 IFS=$as_save_IFS
46358
46359 fi
46360 fi
46361 STRIP=$ac_cv_prog_STRIP
46362 if test -n "$STRIP"; then
46363 { echo "$as_me:$LINENO: result: $STRIP" >&5
46364 echo "${ECHO_T}$STRIP" >&6; }
46365 else
46366 { echo "$as_me:$LINENO: result: no" >&5
46367 echo "${ECHO_T}no" >&6; }
46368 fi
46369
46370
46371 fi
46372 if test -z "$ac_cv_prog_STRIP"; then
46373 ac_ct_STRIP=$STRIP
46374 # Extract the first word of "strip", so it can be a program name with args.
46375 set dummy strip; ac_word=$2
46376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46378 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46379 echo $ECHO_N "(cached) $ECHO_C" >&6
46380 else
46381 if test -n "$ac_ct_STRIP"; then
46382 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46383 else
46384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46385 for as_dir in $PATH
46386 do
46387 IFS=$as_save_IFS
46388 test -z "$as_dir" && as_dir=.
46389 for ac_exec_ext in '' $ac_executable_extensions; do
46390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46391 ac_cv_prog_ac_ct_STRIP="strip"
46392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46393 break 2
46394 fi
46395 done
46396 done
46397 IFS=$as_save_IFS
46398
46399 fi
46400 fi
46401 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46402 if test -n "$ac_ct_STRIP"; then
46403 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46404 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46405 else
46406 { echo "$as_me:$LINENO: result: no" >&5
46407 echo "${ECHO_T}no" >&6; }
46408 fi
46409
46410 if test "x$ac_ct_STRIP" = x; then
46411 STRIP=":"
46412 else
46413 case $cross_compiling:$ac_tool_warned in
46414 yes:)
46415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46416 whose name does not start with the host triplet. If you think this
46417 configuration is useful to you, please write to autoconf@gnu.org." >&5
46418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46419 whose name does not start with the host triplet. If you think this
46420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46421 ac_tool_warned=yes ;;
46422 esac
46423 STRIP=$ac_ct_STRIP
46424 fi
46425 else
46426 STRIP="$ac_cv_prog_STRIP"
46427 fi
46428
46429 if test -n "$ac_tool_prefix"; then
46430 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46431 set dummy ${ac_tool_prefix}nm; ac_word=$2
46432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46434 if test "${ac_cv_prog_NM+set}" = set; then
46435 echo $ECHO_N "(cached) $ECHO_C" >&6
46436 else
46437 if test -n "$NM"; then
46438 ac_cv_prog_NM="$NM" # Let the user override the test.
46439 else
46440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46441 for as_dir in $PATH
46442 do
46443 IFS=$as_save_IFS
46444 test -z "$as_dir" && as_dir=.
46445 for ac_exec_ext in '' $ac_executable_extensions; do
46446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46447 ac_cv_prog_NM="${ac_tool_prefix}nm"
46448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46449 break 2
46450 fi
46451 done
46452 done
46453 IFS=$as_save_IFS
46454
46455 fi
46456 fi
46457 NM=$ac_cv_prog_NM
46458 if test -n "$NM"; then
46459 { echo "$as_me:$LINENO: result: $NM" >&5
46460 echo "${ECHO_T}$NM" >&6; }
46461 else
46462 { echo "$as_me:$LINENO: result: no" >&5
46463 echo "${ECHO_T}no" >&6; }
46464 fi
46465
46466
46467 fi
46468 if test -z "$ac_cv_prog_NM"; then
46469 ac_ct_NM=$NM
46470 # Extract the first word of "nm", so it can be a program name with args.
46471 set dummy nm; ac_word=$2
46472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46474 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46475 echo $ECHO_N "(cached) $ECHO_C" >&6
46476 else
46477 if test -n "$ac_ct_NM"; then
46478 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46479 else
46480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46481 for as_dir in $PATH
46482 do
46483 IFS=$as_save_IFS
46484 test -z "$as_dir" && as_dir=.
46485 for ac_exec_ext in '' $ac_executable_extensions; do
46486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46487 ac_cv_prog_ac_ct_NM="nm"
46488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46489 break 2
46490 fi
46491 done
46492 done
46493 IFS=$as_save_IFS
46494
46495 fi
46496 fi
46497 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46498 if test -n "$ac_ct_NM"; then
46499 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46500 echo "${ECHO_T}$ac_ct_NM" >&6; }
46501 else
46502 { echo "$as_me:$LINENO: result: no" >&5
46503 echo "${ECHO_T}no" >&6; }
46504 fi
46505
46506 if test "x$ac_ct_NM" = x; then
46507 NM=":"
46508 else
46509 case $cross_compiling:$ac_tool_warned in
46510 yes:)
46511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46512 whose name does not start with the host triplet. If you think this
46513 configuration is useful to you, please write to autoconf@gnu.org." >&5
46514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46515 whose name does not start with the host triplet. If you think this
46516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46517 ac_tool_warned=yes ;;
46518 esac
46519 NM=$ac_ct_NM
46520 fi
46521 else
46522 NM="$ac_cv_prog_NM"
46523 fi
46524
46525
46526 case ${BAKEFILE_HOST} in
46527 *-hp-hpux* )
46528 INSTALL_DIR="mkdir -p"
46529 ;;
46530 * )
46531 INSTALL_DIR='$(INSTALL) -d'
46532 ;;
46533 esac
46534
46535
46536 LDFLAGS_GUI=
46537 case ${BAKEFILE_HOST} in
46538 *-*-cygwin* | *-*-mingw32* )
46539 LDFLAGS_GUI="-mwindows"
46540 esac
46541
46542
46543 fi
46544
46545 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46546 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46547 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46548 echo $ECHO_N "(cached) $ECHO_C" >&6
46549 else
46550
46551 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46552 egrep -s GNU > /dev/null); then
46553 bakefile_cv_prog_makeisgnu="yes"
46554 else
46555 bakefile_cv_prog_makeisgnu="no"
46556 fi
46557
46558 fi
46559 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46560 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46561
46562 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46563 IF_GNU_MAKE=""
46564 else
46565 IF_GNU_MAKE="#"
46566 fi
46567
46568
46569
46570 PLATFORM_UNIX=0
46571 PLATFORM_WIN32=0
46572 PLATFORM_MSDOS=0
46573 PLATFORM_MAC=0
46574 PLATFORM_MACOS=0
46575 PLATFORM_MACOSX=0
46576 PLATFORM_OS2=0
46577 PLATFORM_BEOS=0
46578
46579 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46580 case "${BAKEFILE_HOST}" in
46581 *-*-mingw32* )
46582 PLATFORM_WIN32=1
46583 ;;
46584 *-pc-msdosdjgpp )
46585 PLATFORM_MSDOS=1
46586 ;;
46587 *-pc-os2_emx | *-pc-os2-emx )
46588 PLATFORM_OS2=1
46589 ;;
46590 *-*-darwin* )
46591 PLATFORM_MAC=1
46592 PLATFORM_MACOSX=1
46593 ;;
46594 *-*-beos* )
46595 PLATFORM_BEOS=1
46596 ;;
46597 powerpc-apple-macos* )
46598 PLATFORM_MAC=1
46599 PLATFORM_MACOS=1
46600 ;;
46601 * )
46602 PLATFORM_UNIX=1
46603 ;;
46604 esac
46605 else
46606 case "$BAKEFILE_FORCE_PLATFORM" in
46607 win32 )
46608 PLATFORM_WIN32=1
46609 ;;
46610 msdos )
46611 PLATFORM_MSDOS=1
46612 ;;
46613 os2 )
46614 PLATFORM_OS2=1
46615 ;;
46616 darwin )
46617 PLATFORM_MAC=1
46618 PLATFORM_MACOSX=1
46619 ;;
46620 unix )
46621 PLATFORM_UNIX=1
46622 ;;
46623 beos )
46624 PLATFORM_BEOS=1
46625 ;;
46626 * )
46627 ;;
46628 esac
46629 fi
46630
46631
46632
46633
46634
46635
46636
46637
46638
46639
46640
46641 # Check whether --enable-omf was given.
46642 if test "${enable_omf+set}" = set; then
46643 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46644 fi
46645
46646
46647 case "${BAKEFILE_HOST}" in
46648 *-*-darwin* )
46649 if test "x$GCC" = "xyes"; then
46650 CFLAGS="$CFLAGS -fno-common"
46651 CXXFLAGS="$CXXFLAGS -fno-common"
46652 fi
46653 if test "x$XLCC" = "xyes"; then
46654 CFLAGS="$CFLAGS -qnocommon"
46655 CXXFLAGS="$CXXFLAGS -qnocommon"
46656 fi
46657 ;;
46658
46659 *-pc-os2_emx | *-pc-os2-emx )
46660 if test "x$bk_os2_use_omf" = "xyes" ; then
46661 AR=emxomfar
46662 RANLIB=:
46663 LDFLAGS="-Zomf $LDFLAGS"
46664 CFLAGS="-Zomf $CFLAGS"
46665 CXXFLAGS="-Zomf $CXXFLAGS"
46666 OS2_LIBEXT="lib"
46667 else
46668 OS2_LIBEXT="a"
46669 fi
46670 ;;
46671
46672 i*86-*-beos* )
46673 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46674 ;;
46675 esac
46676
46677
46678 SO_SUFFIX="so"
46679 SO_SUFFIX_MODULE="so"
46680 EXEEXT=""
46681 LIBPREFIX="lib"
46682 LIBEXT=".a"
46683 DLLPREFIX="lib"
46684 DLLPREFIX_MODULE=""
46685 DLLIMP_SUFFIX=""
46686 dlldir="$libdir"
46687
46688 case "${BAKEFILE_HOST}" in
46689 *-hp-hpux* )
46690 SO_SUFFIX="sl"
46691 SO_SUFFIX_MODULE="sl"
46692 ;;
46693 *-*-aix* )
46694 SO_SUFFIX="a"
46695 SO_SUFFIX_MODULE="a"
46696 ;;
46697 *-*-cygwin* )
46698 SO_SUFFIX="dll"
46699 SO_SUFFIX_MODULE="dll"
46700 DLLIMP_SUFFIX="dll.a"
46701 EXEEXT=".exe"
46702 DLLPREFIX="cyg"
46703 dlldir="$bindir"
46704 ;;
46705 *-*-mingw32* )
46706 SO_SUFFIX="dll"
46707 SO_SUFFIX_MODULE="dll"
46708 DLLIMP_SUFFIX="dll.a"
46709 EXEEXT=".exe"
46710 DLLPREFIX=""
46711 dlldir="$bindir"
46712 ;;
46713 *-pc-msdosdjgpp )
46714 EXEEXT=".exe"
46715 DLLPREFIX=""
46716 dlldir="$bindir"
46717 ;;
46718 *-pc-os2_emx | *-pc-os2-emx )
46719 SO_SUFFIX="dll"
46720 SO_SUFFIX_MODULE="dll"
46721 DLLIMP_SUFFIX=$OS2_LIBEXT
46722 EXEEXT=".exe"
46723 DLLPREFIX=""
46724 LIBPREFIX=""
46725 LIBEXT=".$OS2_LIBEXT"
46726 dlldir="$bindir"
46727 ;;
46728 *-*-darwin* )
46729 SO_SUFFIX="dylib"
46730 SO_SUFFIX_MODULE="bundle"
46731 ;;
46732 esac
46733
46734 if test "x$DLLIMP_SUFFIX" = "x" ; then
46735 DLLIMP_SUFFIX="$SO_SUFFIX"
46736 fi
46737
46738
46739
46740
46741
46742
46743
46744
46745
46746
46747
46748
46749 PIC_FLAG=""
46750 if test "x$GCC" = "xyes"; then
46751 PIC_FLAG="-fPIC"
46752 fi
46753
46754 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46755 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46756 WINDOWS_IMPLIB=0
46757
46758 case "${BAKEFILE_HOST}" in
46759 *-hp-hpux* )
46760 if test "x$GCC" != "xyes"; then
46761 LDFLAGS="$LDFLAGS -L/usr/lib"
46762
46763 SHARED_LD_CC="${CC} -b -o"
46764 SHARED_LD_CXX="${CXX} -b -o"
46765 PIC_FLAG="+Z"
46766 fi
46767 ;;
46768
46769 *-*-linux* )
46770 if test "x$GCC" != "xyes"; then
46771 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46772 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46773 if test "${bakefile_cv_prog_icc+set}" = set; then
46774 echo $ECHO_N "(cached) $ECHO_C" >&6
46775 else
46776
46777 cat >conftest.$ac_ext <<_ACEOF
46778 /* confdefs.h. */
46779 _ACEOF
46780 cat confdefs.h >>conftest.$ac_ext
46781 cat >>conftest.$ac_ext <<_ACEOF
46782 /* end confdefs.h. */
46783
46784 int
46785 main ()
46786 {
46787
46788 #ifndef __INTEL_COMPILER
46789 This is not ICC
46790 #endif
46791
46792 ;
46793 return 0;
46794 }
46795 _ACEOF
46796 rm -f conftest.$ac_objext
46797 if { (ac_try="$ac_compile"
46798 case "(($ac_try" in
46799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46800 *) ac_try_echo=$ac_try;;
46801 esac
46802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46803 (eval "$ac_compile") 2>conftest.er1
46804 ac_status=$?
46805 grep -v '^ *+' conftest.er1 >conftest.err
46806 rm -f conftest.er1
46807 cat conftest.err >&5
46808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46809 (exit $ac_status); } && {
46810 test -z "$ac_c_werror_flag" ||
46811 test ! -s conftest.err
46812 } && test -s conftest.$ac_objext; then
46813 bakefile_cv_prog_icc=yes
46814 else
46815 echo "$as_me: failed program was:" >&5
46816 sed 's/^/| /' conftest.$ac_ext >&5
46817
46818 bakefile_cv_prog_icc=no
46819
46820 fi
46821
46822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46823
46824 fi
46825 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46826 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46827 if test "$bakefile_cv_prog_icc" = "yes"; then
46828 PIC_FLAG="-KPIC"
46829 fi
46830 fi
46831 ;;
46832
46833 *-*-solaris2* )
46834 if test "x$GCC" != xyes ; then
46835 SHARED_LD_CC="${CC} -G -o"
46836 SHARED_LD_CXX="${CXX} -G -o"
46837 PIC_FLAG="-KPIC"
46838 fi
46839 ;;
46840
46841 *-*-darwin* )
46842
46843 D='$'
46844 cat <<EOF >shared-ld-sh
46845 #!/bin/sh
46846 #-----------------------------------------------------------------------------
46847 #-- Name: distrib/mac/shared-ld-sh
46848 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46849 #-- Author: Gilles Depeyrot
46850 #-- Copyright: (c) 2002 Gilles Depeyrot
46851 #-- Licence: any use permitted
46852 #-----------------------------------------------------------------------------
46853
46854 verbose=0
46855 args=""
46856 objects=""
46857 linking_flag="-dynamiclib"
46858 ldargs="-r -keep_private_externs -nostdlib"
46859
46860 while test ${D}# -gt 0; do
46861 case ${D}1 in
46862
46863 -v)
46864 verbose=1
46865 ;;
46866
46867 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46868 # collect these options and values
46869 args="${D}{args} ${D}1 ${D}2"
46870 shift
46871 ;;
46872
46873 -s|-Wl,*)
46874 # collect these load args
46875 ldargs="${D}{ldargs} ${D}1"
46876 ;;
46877
46878 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46879 # collect these options
46880 args="${D}{args} ${D}1"
46881 ;;
46882
46883 -dynamiclib|-bundle)
46884 linking_flag="${D}1"
46885 ;;
46886
46887 -*)
46888 echo "shared-ld: unhandled option '${D}1'"
46889 exit 1
46890 ;;
46891
46892 *.o | *.a | *.dylib)
46893 # collect object files
46894 objects="${D}{objects} ${D}1"
46895 ;;
46896
46897 *)
46898 echo "shared-ld: unhandled argument '${D}1'"
46899 exit 1
46900 ;;
46901
46902 esac
46903 shift
46904 done
46905
46906 status=0
46907
46908 #
46909 # Link one module containing all the others
46910 #
46911 if test ${D}{verbose} = 1; then
46912 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46913 fi
46914 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46915 status=${D}?
46916
46917 #
46918 # Link the shared library from the single module created, but only if the
46919 # previous command didn't fail:
46920 #
46921 if test ${D}{status} = 0; then
46922 if test ${D}{verbose} = 1; then
46923 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46924 fi
46925 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46926 status=${D}?
46927 fi
46928
46929 #
46930 # Remove intermediate module
46931 #
46932 rm -f master.${D}${D}.o
46933
46934 exit ${D}status
46935 EOF
46936
46937 chmod +x shared-ld-sh
46938
46939 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46940 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46941
46942
46943 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46944 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46945 if test "${bakefile_cv_gcc31+set}" = set; then
46946 echo $ECHO_N "(cached) $ECHO_C" >&6
46947 else
46948
46949 cat >conftest.$ac_ext <<_ACEOF
46950 /* confdefs.h. */
46951 _ACEOF
46952 cat confdefs.h >>conftest.$ac_ext
46953 cat >>conftest.$ac_ext <<_ACEOF
46954 /* end confdefs.h. */
46955
46956 int
46957 main ()
46958 {
46959
46960 #if (__GNUC__ < 3) || \
46961 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46962 This is old gcc
46963 #endif
46964
46965 ;
46966 return 0;
46967 }
46968 _ACEOF
46969 rm -f conftest.$ac_objext
46970 if { (ac_try="$ac_compile"
46971 case "(($ac_try" in
46972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46973 *) ac_try_echo=$ac_try;;
46974 esac
46975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46976 (eval "$ac_compile") 2>conftest.er1
46977 ac_status=$?
46978 grep -v '^ *+' conftest.er1 >conftest.err
46979 rm -f conftest.er1
46980 cat conftest.err >&5
46981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46982 (exit $ac_status); } && {
46983 test -z "$ac_c_werror_flag" ||
46984 test ! -s conftest.err
46985 } && test -s conftest.$ac_objext; then
46986
46987 bakefile_cv_gcc31=yes
46988
46989 else
46990 echo "$as_me: failed program was:" >&5
46991 sed 's/^/| /' conftest.$ac_ext >&5
46992
46993
46994 bakefile_cv_gcc31=no
46995
46996
46997 fi
46998
46999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47000
47001 fi
47002 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47003 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47004 if test "$bakefile_cv_gcc31" = "no"; then
47005 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47006 SHARED_LD_CXX="$SHARED_LD_CC"
47007 else
47008 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47009 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47010 fi
47011
47012 if test "x$GCC" == "xyes"; then
47013 PIC_FLAG="-dynamic -fPIC"
47014 fi
47015 if test "x$XLCC" = "xyes"; then
47016 PIC_FLAG="-dynamic -DPIC"
47017 fi
47018 ;;
47019
47020 *-*-aix* )
47021 if test "x$GCC" = "xyes"; then
47022 PIC_FLAG=""
47023
47024 case "${BAKEFILE_HOST}" in
47025 *-*-aix5* )
47026 LD_EXPFULL="-Wl,-bexpfull"
47027 ;;
47028 esac
47029
47030 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47031 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47032 else
47033 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47034 set dummy makeC++SharedLib; ac_word=$2
47035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47037 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47038 echo $ECHO_N "(cached) $ECHO_C" >&6
47039 else
47040 if test -n "$AIX_CXX_LD"; then
47041 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47042 else
47043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47044 for as_dir in $PATH
47045 do
47046 IFS=$as_save_IFS
47047 test -z "$as_dir" && as_dir=.
47048 for ac_exec_ext in '' $ac_executable_extensions; do
47049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47050 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47052 break 2
47053 fi
47054 done
47055 done
47056 IFS=$as_save_IFS
47057
47058 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47059 fi
47060 fi
47061 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47062 if test -n "$AIX_CXX_LD"; then
47063 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47064 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47065 else
47066 { echo "$as_me:$LINENO: result: no" >&5
47067 echo "${ECHO_T}no" >&6; }
47068 fi
47069
47070
47071 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47072 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47073 fi
47074 ;;
47075
47076 *-*-beos* )
47077 SHARED_LD_CC="${LD} -nostart -o"
47078 SHARED_LD_CXX="${LD} -nostart -o"
47079 ;;
47080
47081 *-*-irix* )
47082 if test "x$GCC" != "xyes"; then
47083 PIC_FLAG="-KPIC"
47084 fi
47085 ;;
47086
47087 *-*-cygwin* | *-*-mingw32* )
47088 PIC_FLAG=""
47089 SHARED_LD_CC="\$(CC) -shared -o"
47090 SHARED_LD_CXX="\$(CXX) -shared -o"
47091 WINDOWS_IMPLIB=1
47092 ;;
47093
47094 *-pc-os2_emx | *-pc-os2-emx )
47095 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47096 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47097 PIC_FLAG=""
47098
47099 D='$'
47100 cat <<EOF >dllar.sh
47101 #!/bin/sh
47102 #
47103 # dllar - a tool to build both a .dll and an .a file
47104 # from a set of object (.o) files for EMX/OS2.
47105 #
47106 # Written by Andrew Zabolotny, bit@freya.etu.ru
47107 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47108 #
47109 # This script will accept a set of files on the command line.
47110 # All the public symbols from the .o files will be exported into
47111 # a .DEF file, then linker will be run (through gcc) against them to
47112 # build a shared library consisting of all given .o files. All libraries
47113 # (.a) will be first decompressed into component .o files then act as
47114 # described above. You can optionally give a description (-d "description")
47115 # which will be put into .DLL. To see the list of accepted options (as well
47116 # as command-line format) simply run this program without options. The .DLL
47117 # is built to be imported by name (there is no guarantee that new versions
47118 # of the library you build will have same ordinals for same symbols).
47119 #
47120 # dllar is free software; you can redistribute it and/or modify
47121 # it under the terms of the GNU General Public License as published by
47122 # the Free Software Foundation; either version 2, or (at your option)
47123 # any later version.
47124 #
47125 # dllar is distributed in the hope that it will be useful,
47126 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47127 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47128 # GNU General Public License for more details.
47129 #
47130 # You should have received a copy of the GNU General Public License
47131 # along with dllar; see the file COPYING. If not, write to the Free
47132 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47133 # 02111-1307, USA.
47134
47135 # To successfuly run this program you will need:
47136 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47137 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47138 # - gcc
47139 # (used to build the .dll)
47140 # - emxexp
47141 # (used to create .def file from .o files)
47142 # - emximp
47143 # (used to create .a file from .def file)
47144 # - GNU text utilites (cat, sort, uniq)
47145 # used to process emxexp output
47146 # - GNU file utilities (mv, rm)
47147 # - GNU sed
47148 # - lxlite (optional, see flag below)
47149 # (used for general .dll cleanup)
47150 #
47151
47152 flag_USE_LXLITE=1;
47153
47154 #
47155 # helper functions
47156 # basnam, variant of basename, which does _not_ remove the path, _iff_
47157 # second argument (suffix to remove) is given
47158 basnam(){
47159 case ${D}# in
47160 1)
47161 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47162 ;;
47163 2)
47164 echo ${D}1 | sed 's/'${D}2'${D}//'
47165 ;;
47166 *)
47167 echo "error in basnam ${D}*"
47168 exit 8
47169 ;;
47170 esac
47171 }
47172
47173 # Cleanup temporary files and output
47174 CleanUp() {
47175 cd ${D}curDir
47176 for i in ${D}inputFiles ; do
47177 case ${D}i in
47178 *!)
47179 rm -rf \`basnam ${D}i !\`
47180 ;;
47181 *)
47182 ;;
47183 esac
47184 done
47185
47186 # Kill result in case of failure as there is just to many stupid make/nmake
47187 # things out there which doesn't do this.
47188 if [ ${D}# -eq 0 ]; then
47189 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47190 fi
47191 }
47192
47193 # Print usage and exit script with rc=1.
47194 PrintHelp() {
47195 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47196 echo ' [-name-mangler-script script.sh]'
47197 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47198 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47199 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47200 echo ' [*.o] [*.a]'
47201 echo '*> "output_file" should have no extension.'
47202 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47203 echo ' The import library name is derived from this and is set to "name".a,'
47204 echo ' unless overridden by -import'
47205 echo '*> "importlib_name" should have no extension.'
47206 echo ' If it has the .o, or .a extension, it is automatically removed.'
47207 echo ' This name is used as the import library name and may be longer and'
47208 echo ' more descriptive than the DLL name which has to follow the old '
47209 echo ' 8.3 convention of FAT.'
47210 echo '*> "script.sh may be given to override the output_file name by a'
47211 echo ' different name. It is mainly useful if the regular make process'
47212 echo ' of some package does not take into account OS/2 restriction of'
47213 echo ' DLL name lengths. It takes the importlib name as input and is'
47214 echo ' supposed to procude a shorter name as output. The script should'
47215 echo ' expect to get importlib_name without extension and should produce'
47216 echo ' a (max.) 8 letter name without extension.'
47217 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47218 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47219 echo ' These flags will be put at the start of GCC command line.'
47220 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47221 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47222 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47223 echo ' If the last character of a symbol is "*", all symbols beginning'
47224 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47225 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47226 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47227 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47228 echo ' C runtime DLLs.'
47229 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47230 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47231 echo ' unchanged to GCC at the end of command line.'
47232 echo '*> If you create a DLL from a library and you do not specify -o,'
47233 echo ' the basename for DLL and import library will be set to library name,'
47234 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47235 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47236 echo ' library will be renamed into gcc_s.a.'
47237 echo '--------'
47238 echo 'Example:'
47239 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47240 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47241 CleanUp
47242 exit 1
47243 }
47244
47245 # Execute a command.
47246 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47247 # @Uses Whatever CleanUp() uses.
47248 doCommand() {
47249 echo "${D}*"
47250 eval ${D}*
47251 rcCmd=${D}?
47252
47253 if [ ${D}rcCmd -ne 0 ]; then
47254 echo "command failed, exit code="${D}rcCmd
47255 CleanUp
47256 exit ${D}rcCmd
47257 fi
47258 }
47259
47260 # main routine
47261 # setup globals
47262 cmdLine=${D}*
47263 outFile=""
47264 outimpFile=""
47265 inputFiles=""
47266 renameScript=""
47267 description=""
47268 CC=gcc.exe
47269 CFLAGS="-s -Zcrtdll"
47270 EXTRA_CFLAGS=""
47271 EXPORT_BY_ORDINALS=0
47272 exclude_symbols=""
47273 library_flags=""
47274 curDir=\`pwd\`
47275 curDirS=curDir
47276 case ${D}curDirS in
47277 */)
47278 ;;
47279 *)
47280 curDirS=${D}{curDirS}"/"
47281 ;;
47282 esac
47283 # Parse commandline
47284 libsToLink=0
47285 omfLinking=0
47286 while [ ${D}1 ]; do
47287 case ${D}1 in
47288 -ord*)
47289 EXPORT_BY_ORDINALS=1;
47290 ;;
47291 -o*)
47292 shift
47293 outFile=${D}1
47294 ;;
47295 -i*)
47296 shift
47297 outimpFile=${D}1
47298 ;;
47299 -name-mangler-script)
47300 shift
47301 renameScript=${D}1
47302 ;;
47303 -d*)
47304 shift
47305 description=${D}1
47306 ;;
47307 -f*)
47308 shift
47309 CFLAGS=${D}1
47310 ;;
47311 -c*)
47312 shift
47313 CC=${D}1
47314 ;;
47315 -h*)
47316 PrintHelp
47317 ;;
47318 -ex*)
47319 shift
47320 exclude_symbols=${D}{exclude_symbols}${D}1" "
47321 ;;
47322 -libf*)
47323 shift
47324 library_flags=${D}{library_flags}${D}1" "
47325 ;;
47326 -nocrt*)
47327 CFLAGS="-s"
47328 ;;
47329 -nolxl*)
47330 flag_USE_LXLITE=0
47331 ;;
47332 -* | /*)
47333 case ${D}1 in
47334 -L* | -l*)
47335 libsToLink=1
47336 ;;
47337 -Zomf)
47338 omfLinking=1
47339 ;;
47340 *)
47341 ;;
47342 esac
47343 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47344 ;;
47345 *.dll)
47346 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47347 if [ ${D}omfLinking -eq 1 ]; then
47348 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47349 else
47350 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47351 fi
47352 ;;
47353 *)
47354 found=0;
47355 if [ ${D}libsToLink -ne 0 ]; then
47356 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47357 else
47358 for file in ${D}1 ; do
47359 if [ -f ${D}file ]; then
47360 inputFiles="${D}{inputFiles} ${D}file"
47361 found=1
47362 fi
47363 done
47364 if [ ${D}found -eq 0 ]; then
47365 echo "ERROR: No file(s) found: "${D}1
47366 exit 8
47367 fi
47368 fi
47369 ;;
47370 esac
47371 shift
47372 done # iterate cmdline words
47373
47374 #
47375 if [ -z "${D}inputFiles" ]; then
47376 echo "dllar: no input files"
47377 PrintHelp
47378 fi
47379
47380 # Now extract all .o files from .a files
47381 newInputFiles=""
47382 for file in ${D}inputFiles ; do
47383 case ${D}file in
47384 *.a | *.lib)
47385 case ${D}file in
47386 *.a)
47387 suffix=".a"
47388 AR="ar"
47389 ;;
47390 *.lib)
47391 suffix=".lib"
47392 AR="emxomfar"
47393 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47394 ;;
47395 *)
47396 ;;
47397 esac
47398 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47399 mkdir ${D}dirname
47400 if [ ${D}? -ne 0 ]; then
47401 echo "Failed to create subdirectory ./${D}dirname"
47402 CleanUp
47403 exit 8;
47404 fi
47405 # Append '!' to indicate archive
47406 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47407 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47408 cd ${D}curDir
47409 found=0;
47410 for subfile in ${D}dirname/*.o* ; do
47411 if [ -f ${D}subfile ]; then
47412 found=1
47413 if [ -s ${D}subfile ]; then
47414 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47415 newInputFiles="${D}newInputFiles ${D}subfile"
47416 fi
47417 fi
47418 done
47419 if [ ${D}found -eq 0 ]; then
47420 echo "WARNING: there are no files in archive \\'${D}file\\'"
47421 fi
47422 ;;
47423 *)
47424 newInputFiles="${D}{newInputFiles} ${D}file"
47425 ;;
47426 esac
47427 done
47428 inputFiles="${D}newInputFiles"
47429
47430 # Output filename(s).
47431 do_backup=0;
47432 if [ -z ${D}outFile ]; then
47433 do_backup=1;
47434 set outFile ${D}inputFiles; outFile=${D}2
47435 fi
47436
47437 # If it is an archive, remove the '!' and the '_%' suffixes
47438 case ${D}outFile in
47439 *_%!)
47440 outFile=\`basnam ${D}outFile _%!\`
47441 ;;
47442 *)
47443 ;;
47444 esac
47445 case ${D}outFile in
47446 *.dll)
47447 outFile=\`basnam ${D}outFile .dll\`
47448 ;;
47449 *.DLL)
47450 outFile=\`basnam ${D}outFile .DLL\`
47451 ;;
47452 *.o)
47453 outFile=\`basnam ${D}outFile .o\`
47454 ;;
47455 *.obj)
47456 outFile=\`basnam ${D}outFile .obj\`
47457 ;;
47458 *.a)
47459 outFile=\`basnam ${D}outFile .a\`
47460 ;;
47461 *.lib)
47462 outFile=\`basnam ${D}outFile .lib\`
47463 ;;
47464 *)
47465 ;;
47466 esac
47467 case ${D}outimpFile in
47468 *.a)
47469 outimpFile=\`basnam ${D}outimpFile .a\`
47470 ;;
47471 *.lib)
47472 outimpFile=\`basnam ${D}outimpFile .lib\`
47473 ;;
47474 *)
47475 ;;
47476 esac
47477 if [ -z ${D}outimpFile ]; then
47478 outimpFile=${D}outFile
47479 fi
47480 defFile="${D}{outFile}.def"
47481 arcFile="${D}{outimpFile}.a"
47482 arcFile2="${D}{outimpFile}.lib"
47483
47484 #create ${D}dllFile as something matching 8.3 restrictions,
47485 if [ -z ${D}renameScript ] ; then
47486 dllFile="${D}outFile"
47487 else
47488 dllFile=\`${D}renameScript ${D}outimpFile\`
47489 fi
47490
47491 if [ ${D}do_backup -ne 0 ] ; then
47492 if [ -f ${D}arcFile ] ; then
47493 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47494 fi
47495 if [ -f ${D}arcFile2 ] ; then
47496 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47497 fi
47498 fi
47499
47500 # Extract public symbols from all the object files.
47501 tmpdefFile=${D}{defFile}_%
47502 rm -f ${D}tmpdefFile
47503 for file in ${D}inputFiles ; do
47504 case ${D}file in
47505 *!)
47506 ;;
47507 *)
47508 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47509 ;;
47510 esac
47511 done
47512
47513 # Create the def file.
47514 rm -f ${D}defFile
47515 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47516 dllFile="${D}{dllFile}.dll"
47517 if [ ! -z ${D}description ]; then
47518 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47519 fi
47520 echo "EXPORTS" >> ${D}defFile
47521
47522 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47523 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47524
47525 # Checks if the export is ok or not.
47526 for word in ${D}exclude_symbols; do
47527 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47528 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47529 done
47530
47531
47532 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47533 sed "=" < ${D}tmpdefFile | \\
47534 sed '
47535 N
47536 : loop
47537 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47538 t loop
47539 ' > ${D}{tmpdefFile}%
47540 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47541 else
47542 rm -f ${D}{tmpdefFile}%
47543 fi
47544 cat ${D}tmpdefFile >> ${D}defFile
47545 rm -f ${D}tmpdefFile
47546
47547 # Do linking, create implib, and apply lxlite.
47548 gccCmdl="";
47549 for file in ${D}inputFiles ; do
47550 case ${D}file in
47551 *!)
47552 ;;
47553 *)
47554 gccCmdl="${D}gccCmdl ${D}file"
47555 ;;
47556 esac
47557 done
47558 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47559 touch "${D}{outFile}.dll"
47560
47561 doCommand "emximp -o ${D}arcFile ${D}defFile"
47562 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47563 add_flags="";
47564 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47565 add_flags="-ynd"
47566 fi
47567 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47568 fi
47569 doCommand "emxomf -s -l ${D}arcFile"
47570
47571 # Successful exit.
47572 CleanUp 1
47573 exit 0
47574 EOF
47575
47576 chmod +x dllar.sh
47577 ;;
47578
47579 powerpc-apple-macos* | \
47580 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47581 *-*-mirbsd* | \
47582 *-*-sunos4* | \
47583 *-*-osf* | \
47584 *-*-dgux5* | \
47585 *-*-sysv5* | \
47586 *-pc-msdosdjgpp )
47587 ;;
47588
47589 *)
47590 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47591 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47592 { (exit 1); exit 1; }; }
47593 esac
47594
47595 if test "x$PIC_FLAG" != "x" ; then
47596 PIC_FLAG="$PIC_FLAG -DPIC"
47597 fi
47598
47599 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47600 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47601 fi
47602 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47603 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47604 fi
47605
47606
47607
47608
47609
47610
47611
47612
47613
47614 USE_SOVERSION=0
47615 USE_SOVERLINUX=0
47616 USE_SOVERSOLARIS=0
47617 USE_SOVERCYGWIN=0
47618 USE_SOSYMLINKS=0
47619 USE_MACVERSION=0
47620 SONAME_FLAG=
47621
47622 case "${BAKEFILE_HOST}" in
47623 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47624 SONAME_FLAG="-Wl,-soname,"
47625 USE_SOVERSION=1
47626 USE_SOVERLINUX=1
47627 USE_SOSYMLINKS=1
47628 ;;
47629
47630 *-*-solaris2* )
47631 SONAME_FLAG="-h "
47632 USE_SOVERSION=1
47633 USE_SOVERSOLARIS=1
47634 USE_SOSYMLINKS=1
47635 ;;
47636
47637 *-*-darwin* )
47638 USE_MACVERSION=1
47639 USE_SOVERSION=1
47640 USE_SOSYMLINKS=1
47641 ;;
47642
47643 *-*-cygwin* )
47644 USE_SOVERSION=1
47645 USE_SOVERCYGWIN=1
47646 ;;
47647 esac
47648
47649
47650
47651
47652
47653
47654
47655
47656
47657
47658 # Check whether --enable-dependency-tracking was given.
47659 if test "${enable_dependency_tracking+set}" = set; then
47660 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47661 fi
47662
47663
47664 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47665 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47666
47667 BK_DEPS=""
47668 if test "x$bk_use_trackdeps" = "xno" ; then
47669 DEPS_TRACKING=0
47670 { echo "$as_me:$LINENO: result: disabled" >&5
47671 echo "${ECHO_T}disabled" >&6; }
47672 else
47673 DEPS_TRACKING=1
47674
47675 if test "x$GCC" = "xyes"; then
47676 DEPSMODE=gcc
47677 case "${BAKEFILE_HOST}" in
47678 *-*-darwin* )
47679 DEPSFLAG="-no-cpp-precomp -MMD"
47680 ;;
47681 * )
47682 DEPSFLAG="-MMD"
47683 ;;
47684 esac
47685 { echo "$as_me:$LINENO: result: gcc" >&5
47686 echo "${ECHO_T}gcc" >&6; }
47687 elif test "x$MWCC" = "xyes"; then
47688 DEPSMODE=mwcc
47689 DEPSFLAG="-MM"
47690 { echo "$as_me:$LINENO: result: mwcc" >&5
47691 echo "${ECHO_T}mwcc" >&6; }
47692 elif test "x$SUNCC" = "xyes"; then
47693 DEPSMODE=unixcc
47694 DEPSFLAG="-xM1"
47695 { echo "$as_me:$LINENO: result: Sun cc" >&5
47696 echo "${ECHO_T}Sun cc" >&6; }
47697 elif test "x$SGICC" = "xyes"; then
47698 DEPSMODE=unixcc
47699 DEPSFLAG="-M"
47700 { echo "$as_me:$LINENO: result: SGI cc" >&5
47701 echo "${ECHO_T}SGI cc" >&6; }
47702 elif test "x$HPCC" = "xyes"; then
47703 DEPSMODE=unixcc
47704 DEPSFLAG="+make"
47705 { echo "$as_me:$LINENO: result: HP cc" >&5
47706 echo "${ECHO_T}HP cc" >&6; }
47707 elif test "x$COMPAQCC" = "xyes"; then
47708 DEPSMODE=gcc
47709 DEPSFLAG="-MD"
47710 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47711 echo "${ECHO_T}Compaq cc" >&6; }
47712 else
47713 DEPS_TRACKING=0
47714 { echo "$as_me:$LINENO: result: none" >&5
47715 echo "${ECHO_T}none" >&6; }
47716 fi
47717
47718 if test $DEPS_TRACKING = 1 ; then
47719
47720 D='$'
47721 cat <<EOF >bk-deps
47722 #!/bin/sh
47723
47724 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47725 # script. It is used to track C/C++ files dependencies in portable way.
47726 #
47727 # Permission is given to use this file in any way.
47728
47729 DEPSMODE=${DEPSMODE}
47730 DEPSDIR=.deps
47731 DEPSFLAG="${DEPSFLAG}"
47732
47733 mkdir -p ${D}DEPSDIR
47734
47735 if test ${D}DEPSMODE = gcc ; then
47736 ${D}* ${D}{DEPSFLAG}
47737 status=${D}?
47738 if test ${D}{status} != 0 ; then
47739 exit ${D}{status}
47740 fi
47741 # move created file to the location we want it in:
47742 while test ${D}# -gt 0; do
47743 case "${D}1" in
47744 -o )
47745 shift
47746 objfile=${D}1
47747 ;;
47748 -* )
47749 ;;
47750 * )
47751 srcfile=${D}1
47752 ;;
47753 esac
47754 shift
47755 done
47756 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47757 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47758 if test -f ${D}depfile ; then
47759 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47760 rm -f ${D}depfile
47761 else
47762 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47763 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47764 if test ! -f ${D}depfile ; then
47765 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47766 depfile="${D}objfile.d"
47767 fi
47768 if test -f ${D}depfile ; then
47769 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47770 rm -f ${D}depfile
47771 fi
47772 fi
47773 exit 0
47774 elif test ${D}DEPSMODE = mwcc ; then
47775 ${D}* || exit ${D}?
47776 # Run mwcc again with -MM and redirect into the dep file we want
47777 # NOTE: We can't use shift here because we need ${D}* to be valid
47778 prevarg=
47779 for arg in ${D}* ; do
47780 if test "${D}prevarg" = "-o"; then
47781 objfile=${D}arg
47782 else
47783 case "${D}arg" in
47784 -* )
47785 ;;
47786 * )
47787 srcfile=${D}arg
47788 ;;
47789 esac
47790 fi
47791 prevarg="${D}arg"
47792 done
47793 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47794 exit 0
47795 elif test ${D}DEPSMODE = unixcc; then
47796 ${D}* || exit ${D}?
47797 # Run compiler again with deps flag and redirect into the dep file.
47798 # It doesn't work if the '-o FILE' option is used, but without it the
47799 # dependency file will contain the wrong name for the object. So it is
47800 # removed from the command line, and the dep file is fixed with sed.
47801 cmd=""
47802 while test ${D}# -gt 0; do
47803 case "${D}1" in
47804 -o )
47805 shift
47806 objfile=${D}1
47807 ;;
47808 * )
47809 eval arg${D}#=\\${D}1
47810 cmd="${D}cmd \\${D}arg${D}#"
47811 ;;
47812 esac
47813 shift
47814 done
47815 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47816 exit 0
47817 else
47818 ${D}*
47819 exit ${D}?
47820 fi
47821 EOF
47822
47823 chmod +x bk-deps
47824 BK_DEPS="`pwd`/bk-deps"
47825 fi
47826 fi
47827
47828
47829
47830
47831
47832 case ${BAKEFILE_HOST} in
47833 *-*-cygwin* | *-*-mingw32* )
47834 if test -n "$ac_tool_prefix"; then
47835 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47836 set dummy ${ac_tool_prefix}windres; ac_word=$2
47837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47839 if test "${ac_cv_prog_WINDRES+set}" = set; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47841 else
47842 if test -n "$WINDRES"; then
47843 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47844 else
47845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47846 for as_dir in $PATH
47847 do
47848 IFS=$as_save_IFS
47849 test -z "$as_dir" && as_dir=.
47850 for ac_exec_ext in '' $ac_executable_extensions; do
47851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47852 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47854 break 2
47855 fi
47856 done
47857 done
47858 IFS=$as_save_IFS
47859
47860 fi
47861 fi
47862 WINDRES=$ac_cv_prog_WINDRES
47863 if test -n "$WINDRES"; then
47864 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47865 echo "${ECHO_T}$WINDRES" >&6; }
47866 else
47867 { echo "$as_me:$LINENO: result: no" >&5
47868 echo "${ECHO_T}no" >&6; }
47869 fi
47870
47871
47872 fi
47873 if test -z "$ac_cv_prog_WINDRES"; then
47874 ac_ct_WINDRES=$WINDRES
47875 # Extract the first word of "windres", so it can be a program name with args.
47876 set dummy windres; ac_word=$2
47877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47879 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47880 echo $ECHO_N "(cached) $ECHO_C" >&6
47881 else
47882 if test -n "$ac_ct_WINDRES"; then
47883 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47884 else
47885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47886 for as_dir in $PATH
47887 do
47888 IFS=$as_save_IFS
47889 test -z "$as_dir" && as_dir=.
47890 for ac_exec_ext in '' $ac_executable_extensions; do
47891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47892 ac_cv_prog_ac_ct_WINDRES="windres"
47893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47894 break 2
47895 fi
47896 done
47897 done
47898 IFS=$as_save_IFS
47899
47900 fi
47901 fi
47902 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47903 if test -n "$ac_ct_WINDRES"; then
47904 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47905 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47906 else
47907 { echo "$as_me:$LINENO: result: no" >&5
47908 echo "${ECHO_T}no" >&6; }
47909 fi
47910
47911 if test "x$ac_ct_WINDRES" = x; then
47912 WINDRES=""
47913 else
47914 case $cross_compiling:$ac_tool_warned in
47915 yes:)
47916 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47917 whose name does not start with the host triplet. If you think this
47918 configuration is useful to you, please write to autoconf@gnu.org." >&5
47919 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47920 whose name does not start with the host triplet. If you think this
47921 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47922 ac_tool_warned=yes ;;
47923 esac
47924 WINDRES=$ac_ct_WINDRES
47925 fi
47926 else
47927 WINDRES="$ac_cv_prog_WINDRES"
47928 fi
47929
47930 ;;
47931
47932 *-*-darwin* | powerpc-apple-macos* )
47933 # Extract the first word of "Rez", so it can be a program name with args.
47934 set dummy Rez; ac_word=$2
47935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47937 if test "${ac_cv_prog_REZ+set}" = set; then
47938 echo $ECHO_N "(cached) $ECHO_C" >&6
47939 else
47940 if test -n "$REZ"; then
47941 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47942 else
47943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47944 for as_dir in $PATH
47945 do
47946 IFS=$as_save_IFS
47947 test -z "$as_dir" && as_dir=.
47948 for ac_exec_ext in '' $ac_executable_extensions; do
47949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47950 ac_cv_prog_REZ="Rez"
47951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47952 break 2
47953 fi
47954 done
47955 done
47956 IFS=$as_save_IFS
47957
47958 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47959 fi
47960 fi
47961 REZ=$ac_cv_prog_REZ
47962 if test -n "$REZ"; then
47963 { echo "$as_me:$LINENO: result: $REZ" >&5
47964 echo "${ECHO_T}$REZ" >&6; }
47965 else
47966 { echo "$as_me:$LINENO: result: no" >&5
47967 echo "${ECHO_T}no" >&6; }
47968 fi
47969
47970
47971 # Extract the first word of "SetFile", so it can be a program name with args.
47972 set dummy SetFile; ac_word=$2
47973 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47975 if test "${ac_cv_prog_SETFILE+set}" = set; then
47976 echo $ECHO_N "(cached) $ECHO_C" >&6
47977 else
47978 if test -n "$SETFILE"; then
47979 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47980 else
47981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47982 for as_dir in $PATH
47983 do
47984 IFS=$as_save_IFS
47985 test -z "$as_dir" && as_dir=.
47986 for ac_exec_ext in '' $ac_executable_extensions; do
47987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47988 ac_cv_prog_SETFILE="SetFile"
47989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47990 break 2
47991 fi
47992 done
47993 done
47994 IFS=$as_save_IFS
47995
47996 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47997 fi
47998 fi
47999 SETFILE=$ac_cv_prog_SETFILE
48000 if test -n "$SETFILE"; then
48001 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48002 echo "${ECHO_T}$SETFILE" >&6; }
48003 else
48004 { echo "$as_me:$LINENO: result: no" >&5
48005 echo "${ECHO_T}no" >&6; }
48006 fi
48007
48008
48009 ;;
48010 esac
48011
48012
48013
48014
48015
48016
48017 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48018
48019
48020 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48021
48022
48023
48024 # Check whether --enable-precomp-headers was given.
48025 if test "${enable_precomp_headers+set}" = set; then
48026 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48027 fi
48028
48029
48030 GCC_PCH=0
48031 ICC_PCH=0
48032 USE_PCH=0
48033 BK_MAKE_PCH=""
48034
48035 case ${BAKEFILE_HOST} in
48036 *-*-cygwin* )
48037 bk_use_pch="no"
48038 ;;
48039 esac
48040
48041 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48042 if test "x$GCC" = "xyes"; then
48043 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48044 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48045 cat >conftest.$ac_ext <<_ACEOF
48046 /* confdefs.h. */
48047 _ACEOF
48048 cat confdefs.h >>conftest.$ac_ext
48049 cat >>conftest.$ac_ext <<_ACEOF
48050 /* end confdefs.h. */
48051
48052 int
48053 main ()
48054 {
48055
48056 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48057 There is no PCH support
48058 #endif
48059 #if (__GNUC__ < 3)
48060 There is no PCH support
48061 #endif
48062 #if (__GNUC__ == 3) && \
48063 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48064 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48065 ( defined(__INTEL_COMPILER) )
48066 There is no PCH support
48067 #endif
48068
48069 ;
48070 return 0;
48071 }
48072 _ACEOF
48073 rm -f conftest.$ac_objext
48074 if { (ac_try="$ac_compile"
48075 case "(($ac_try" in
48076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48077 *) ac_try_echo=$ac_try;;
48078 esac
48079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48080 (eval "$ac_compile") 2>conftest.er1
48081 ac_status=$?
48082 grep -v '^ *+' conftest.er1 >conftest.err
48083 rm -f conftest.er1
48084 cat conftest.err >&5
48085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48086 (exit $ac_status); } && {
48087 test -z "$ac_c_werror_flag" ||
48088 test ! -s conftest.err
48089 } && test -s conftest.$ac_objext; then
48090
48091 { echo "$as_me:$LINENO: result: yes" >&5
48092 echo "${ECHO_T}yes" >&6; }
48093 GCC_PCH=1
48094
48095 else
48096 echo "$as_me: failed program was:" >&5
48097 sed 's/^/| /' conftest.$ac_ext >&5
48098
48099
48100 cat >conftest.$ac_ext <<_ACEOF
48101 /* confdefs.h. */
48102 _ACEOF
48103 cat confdefs.h >>conftest.$ac_ext
48104 cat >>conftest.$ac_ext <<_ACEOF
48105 /* end confdefs.h. */
48106
48107 int
48108 main ()
48109 {
48110
48111 #if !defined(__INTEL_COMPILER) || \
48112 (__INTEL_COMPILER < 800)
48113 There is no PCH support
48114 #endif
48115
48116 ;
48117 return 0;
48118 }
48119 _ACEOF
48120 rm -f conftest.$ac_objext
48121 if { (ac_try="$ac_compile"
48122 case "(($ac_try" in
48123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48124 *) ac_try_echo=$ac_try;;
48125 esac
48126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48127 (eval "$ac_compile") 2>conftest.er1
48128 ac_status=$?
48129 grep -v '^ *+' conftest.er1 >conftest.err
48130 rm -f conftest.er1
48131 cat conftest.err >&5
48132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48133 (exit $ac_status); } && {
48134 test -z "$ac_c_werror_flag" ||
48135 test ! -s conftest.err
48136 } && test -s conftest.$ac_objext; then
48137
48138 { echo "$as_me:$LINENO: result: yes" >&5
48139 echo "${ECHO_T}yes" >&6; }
48140 ICC_PCH=1
48141
48142 else
48143 echo "$as_me: failed program was:" >&5
48144 sed 's/^/| /' conftest.$ac_ext >&5
48145
48146
48147 { echo "$as_me:$LINENO: result: no" >&5
48148 echo "${ECHO_T}no" >&6; }
48149
48150 fi
48151
48152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48153
48154 fi
48155
48156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48157 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48158 USE_PCH=1
48159
48160 D='$'
48161 cat <<EOF >bk-make-pch
48162 #!/bin/sh
48163
48164 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48165 # script. It is used to generated precompiled headers.
48166 #
48167 # Permission is given to use this file in any way.
48168
48169 outfile="${D}{1}"
48170 header="${D}{2}"
48171 shift
48172 shift
48173
48174 compiler=""
48175 headerfile=""
48176
48177 while test ${D}{#} -gt 0; do
48178 add_to_cmdline=1
48179 case "${D}{1}" in
48180 -I* )
48181 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48182 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48183 headerfile="${D}{incdir}/${D}{header}"
48184 fi
48185 ;;
48186 -use-pch|-use_pch )
48187 shift
48188 add_to_cmdline=0
48189 ;;
48190 esac
48191 if test ${D}add_to_cmdline = 1 ; then
48192 compiler="${D}{compiler} ${D}{1}"
48193 fi
48194 shift
48195 done
48196
48197 if test "x${D}{headerfile}" = "x" ; then
48198 echo "error: can't find header ${D}{header} in include paths" >&2
48199 else
48200 if test -f ${D}{outfile} ; then
48201 rm -f ${D}{outfile}
48202 else
48203 mkdir -p \`dirname ${D}{outfile}\`
48204 fi
48205 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48206 mkdir -p .deps
48207 if test "x${GCC_PCH}" = "x1" ; then
48208 # can do this because gcc is >= 3.4:
48209 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48210 elif test "x${ICC_PCH}" = "x1" ; then
48211 filename=pch_gen-${D}${D}
48212 file=${D}{filename}.c
48213 dfile=${D}{filename}.d
48214 cat > ${D}file <<EOT
48215 #include "${D}header"
48216 EOT
48217 # using -MF icc complains about differing command lines in creation/use
48218 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48219 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48220 rm -f ${D}file ${D}dfile ${D}{filename}.o
48221 fi
48222 exit ${D}{?}
48223 fi
48224 EOF
48225
48226 chmod +x bk-make-pch
48227 BK_MAKE_PCH="`pwd`/bk-make-pch"
48228 fi
48229 fi
48230 fi
48231
48232
48233
48234
48235
48236 COND_BUILD_DEBUG="#"
48237 if test "x$BUILD" = "xdebug" ; then
48238 COND_BUILD_DEBUG=""
48239 fi
48240
48241 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48242 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48243 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48244 fi
48245
48246 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48247 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48248 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48249 fi
48250
48251 COND_BUILD_DEBUG_UNICODE_0="#"
48252 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48253 COND_BUILD_DEBUG_UNICODE_0=""
48254 fi
48255
48256 COND_BUILD_DEBUG_UNICODE_1="#"
48257 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48258 COND_BUILD_DEBUG_UNICODE_1=""
48259 fi
48260
48261 COND_BUILD_RELEASE="#"
48262 if test "x$BUILD" = "xrelease" ; then
48263 COND_BUILD_RELEASE=""
48264 fi
48265
48266 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48267 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48268 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48269 fi
48270
48271 COND_BUILD_RELEASE_UNICODE_0="#"
48272 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48273 COND_BUILD_RELEASE_UNICODE_0=""
48274 fi
48275
48276 COND_BUILD_RELEASE_UNICODE_1="#"
48277 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48278 COND_BUILD_RELEASE_UNICODE_1=""
48279 fi
48280
48281 COND_DEBUG_FLAG_1="#"
48282 if test "x$DEBUG_FLAG" = "x1" ; then
48283 COND_DEBUG_FLAG_1=""
48284 fi
48285
48286 COND_DEBUG_INFO_0="#"
48287 if test "x$DEBUG_INFO" = "x0" ; then
48288 COND_DEBUG_INFO_0=""
48289 fi
48290
48291 COND_DEBUG_INFO_1="#"
48292 if test "x$DEBUG_INFO" = "x1" ; then
48293 COND_DEBUG_INFO_1=""
48294 fi
48295
48296 COND_DEPS_TRACKING_0="#"
48297 if test "x$DEPS_TRACKING" = "x0" ; then
48298 COND_DEPS_TRACKING_0=""
48299 fi
48300
48301 COND_DEPS_TRACKING_1="#"
48302 if test "x$DEPS_TRACKING" = "x1" ; then
48303 COND_DEPS_TRACKING_1=""
48304 fi
48305
48306 COND_GCC_PCH_1="#"
48307 if test "x$GCC_PCH" = "x1" ; then
48308 COND_GCC_PCH_1=""
48309 fi
48310
48311 COND_ICC_PCH_1="#"
48312 if test "x$ICC_PCH" = "x1" ; then
48313 COND_ICC_PCH_1=""
48314 fi
48315
48316 COND_MONOLITHIC_0="#"
48317 if test "x$MONOLITHIC" = "x0" ; then
48318 COND_MONOLITHIC_0=""
48319 fi
48320
48321 COND_MONOLITHIC_0_SHARED_0="#"
48322 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48323 COND_MONOLITHIC_0_SHARED_0=""
48324 fi
48325
48326 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48327 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48328 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48329 fi
48330
48331 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48332 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48333 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48334 fi
48335
48336 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48337 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48338 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48339 fi
48340
48341 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48342 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48343 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48344 fi
48345
48346 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48347 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48348 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48349 fi
48350
48351 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48352 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48353 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48354 fi
48355
48356 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48357 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48358 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48359 fi
48360
48361 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48362 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48363 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48364 fi
48365
48366 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48367 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48368 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48369 fi
48370
48371 COND_MONOLITHIC_0_SHARED_1="#"
48372 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48373 COND_MONOLITHIC_0_SHARED_1=""
48374 fi
48375
48376 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48377 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48378 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48379 fi
48380
48381 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48382 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48383 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48384 fi
48385
48386 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48387 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48388 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48389 fi
48390
48391 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48392 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48393 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48394 fi
48395
48396 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48398 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48399 fi
48400
48401 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48403 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48404 fi
48405
48406 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48408 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48409 fi
48410
48411 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48413 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48414 fi
48415
48416 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48418 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48419 fi
48420
48421 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48422 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48423 COND_MONOLITHIC_0_USE_MEDIA_1=""
48424 fi
48425
48426 COND_MONOLITHIC_0_USE_ODBC_1="#"
48427 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48428 COND_MONOLITHIC_0_USE_ODBC_1=""
48429 fi
48430
48431 COND_MONOLITHIC_1="#"
48432 if test "x$MONOLITHIC" = "x1" ; then
48433 COND_MONOLITHIC_1=""
48434 fi
48435
48436 COND_MONOLITHIC_1_SHARED_0="#"
48437 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48438 COND_MONOLITHIC_1_SHARED_0=""
48439 fi
48440
48441 COND_MONOLITHIC_1_SHARED_1="#"
48442 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48443 COND_MONOLITHIC_1_SHARED_1=""
48444 fi
48445
48446 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48447 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48448 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48449 fi
48450
48451 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48452 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48453 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48454 fi
48455
48456 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48457 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48458 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48459 fi
48460
48461 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48462 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48463 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48464 fi
48465
48466 COND_PLATFORM_MACOSX_1="#"
48467 if test "x$PLATFORM_MACOSX" = "x1" ; then
48468 COND_PLATFORM_MACOSX_1=""
48469 fi
48470
48471 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48473 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48474 fi
48475
48476 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48478 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48479 fi
48480
48481 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48483 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48484 fi
48485
48486 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48487 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48488 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48489 fi
48490
48491 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48492 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48493 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48494 fi
48495
48496 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48497 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48498 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48499 fi
48500
48501 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48502 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48503 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48504 fi
48505
48506 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48507 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48508 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48509 fi
48510
48511 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48512 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48513 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48514 fi
48515
48516 COND_PLATFORM_MACOS_1="#"
48517 if test "x$PLATFORM_MACOS" = "x1" ; then
48518 COND_PLATFORM_MACOS_1=""
48519 fi
48520
48521 COND_PLATFORM_MAC_1="#"
48522 if test "x$PLATFORM_MAC" = "x1" ; then
48523 COND_PLATFORM_MAC_1=""
48524 fi
48525
48526 COND_PLATFORM_MSDOS_0="#"
48527 if test "x$PLATFORM_MSDOS" = "x0" ; then
48528 COND_PLATFORM_MSDOS_0=""
48529 fi
48530
48531 COND_PLATFORM_MSDOS_1="#"
48532 if test "x$PLATFORM_MSDOS" = "x1" ; then
48533 COND_PLATFORM_MSDOS_1=""
48534 fi
48535
48536 COND_PLATFORM_OS2_1="#"
48537 if test "x$PLATFORM_OS2" = "x1" ; then
48538 COND_PLATFORM_OS2_1=""
48539 fi
48540
48541 COND_PLATFORM_UNIX_0="#"
48542 if test "x$PLATFORM_UNIX" = "x0" ; then
48543 COND_PLATFORM_UNIX_0=""
48544 fi
48545
48546 COND_PLATFORM_UNIX_1="#"
48547 if test "x$PLATFORM_UNIX" = "x1" ; then
48548 COND_PLATFORM_UNIX_1=""
48549 fi
48550
48551 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48552 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48553 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48554 fi
48555
48556 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48557 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48558 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48559 fi
48560
48561 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48562 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48563 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48564 fi
48565
48566 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48567 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48568 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48569 fi
48570
48571 COND_PLATFORM_WIN32_0="#"
48572 if test "x$PLATFORM_WIN32" = "x0" ; then
48573 COND_PLATFORM_WIN32_0=""
48574 fi
48575
48576 COND_PLATFORM_WIN32_1="#"
48577 if test "x$PLATFORM_WIN32" = "x1" ; then
48578 COND_PLATFORM_WIN32_1=""
48579 fi
48580
48581 COND_SHARED_0="#"
48582 if test "x$SHARED" = "x0" ; then
48583 COND_SHARED_0=""
48584 fi
48585
48586 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48587 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48588 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48589 fi
48590
48591 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48592 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48593 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48594 fi
48595
48596 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48597 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48598 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48599 fi
48600
48601 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48602 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48603 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48604 fi
48605
48606 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48607 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48608 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48609 fi
48610
48611 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48613 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48614 fi
48615
48616 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48617 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48618 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48619 fi
48620
48621 COND_SHARED_0_USE_XRC_1="#"
48622 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48623 COND_SHARED_0_USE_XRC_1=""
48624 fi
48625
48626 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48627 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48628 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48629 fi
48630
48631 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48632 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48633 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48634 fi
48635
48636 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48637 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48638 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48639 fi
48640
48641 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48642 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48643 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48644 fi
48645
48646 COND_SHARED_1="#"
48647 if test "x$SHARED" = "x1" ; then
48648 COND_SHARED_1=""
48649 fi
48650
48651 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48652 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48653 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48654 fi
48655
48656 COND_SHARED_1_USE_XRC_1="#"
48657 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48658 COND_SHARED_1_USE_XRC_1=""
48659 fi
48660
48661 COND_TOOLKIT_="#"
48662 if test "x$TOOLKIT" = "x" ; then
48663 COND_TOOLKIT_=""
48664 fi
48665
48666 COND_TOOLKIT_COCOA="#"
48667 if test "x$TOOLKIT" = "xCOCOA" ; then
48668 COND_TOOLKIT_COCOA=""
48669 fi
48670
48671 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48672 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48673 COND_TOOLKIT_COCOA_USE_GUI_1=""
48674 fi
48675
48676 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48677 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48679 fi
48680
48681 COND_TOOLKIT_DFB="#"
48682 if test "x$TOOLKIT" = "xDFB" ; then
48683 COND_TOOLKIT_DFB=""
48684 fi
48685
48686 COND_TOOLKIT_DFB_USE_GUI_1="#"
48687 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48688 COND_TOOLKIT_DFB_USE_GUI_1=""
48689 fi
48690
48691 COND_TOOLKIT_GTK="#"
48692 if test "x$TOOLKIT" = "xGTK" ; then
48693 COND_TOOLKIT_GTK=""
48694 fi
48695
48696 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48697 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48699 fi
48700
48701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48702 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48704 fi
48705
48706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48707 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48709 fi
48710
48711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48712 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48713 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48714 fi
48715
48716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48717 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48718 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48719 fi
48720
48721 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48722 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48723 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48724 fi
48725
48726 COND_TOOLKIT_GTK_USE_GUI_1="#"
48727 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48728 COND_TOOLKIT_GTK_USE_GUI_1=""
48729 fi
48730
48731 COND_TOOLKIT_MAC="#"
48732 if test "x$TOOLKIT" = "xMAC" ; then
48733 COND_TOOLKIT_MAC=""
48734 fi
48735
48736 COND_TOOLKIT_MAC_USE_GUI_1="#"
48737 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48738 COND_TOOLKIT_MAC_USE_GUI_1=""
48739 fi
48740
48741 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48742 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48743 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48744 fi
48745
48746 COND_TOOLKIT_MGL="#"
48747 if test "x$TOOLKIT" = "xMGL" ; then
48748 COND_TOOLKIT_MGL=""
48749 fi
48750
48751 COND_TOOLKIT_MGL_USE_GUI_1="#"
48752 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48753 COND_TOOLKIT_MGL_USE_GUI_1=""
48754 fi
48755
48756 COND_TOOLKIT_MOTIF="#"
48757 if test "x$TOOLKIT" = "xMOTIF" ; then
48758 COND_TOOLKIT_MOTIF=""
48759 fi
48760
48761 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48762 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48763 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48764 fi
48765
48766 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48767 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48768 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48769 fi
48770
48771 COND_TOOLKIT_MSW="#"
48772 if test "x$TOOLKIT" = "xMSW" ; then
48773 COND_TOOLKIT_MSW=""
48774 fi
48775
48776 COND_TOOLKIT_MSW_USE_GUI_1="#"
48777 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48778 COND_TOOLKIT_MSW_USE_GUI_1=""
48779 fi
48780
48781 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48782 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48783 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48784 fi
48785
48786 COND_TOOLKIT_MSW_WXUNIV_0="#"
48787 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48788 COND_TOOLKIT_MSW_WXUNIV_0=""
48789 fi
48790
48791 COND_TOOLKIT_PM="#"
48792 if test "x$TOOLKIT" = "xPM" ; then
48793 COND_TOOLKIT_PM=""
48794 fi
48795
48796 COND_TOOLKIT_PM_USE_GUI_1="#"
48797 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48798 COND_TOOLKIT_PM_USE_GUI_1=""
48799 fi
48800
48801 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48802 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48803 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48804 fi
48805
48806 COND_TOOLKIT_WINCE="#"
48807 if test "x$TOOLKIT" = "xWINCE" ; then
48808 COND_TOOLKIT_WINCE=""
48809 fi
48810
48811 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48812 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48813 COND_TOOLKIT_WINCE_USE_GUI_1=""
48814 fi
48815
48816 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48817 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48818 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48819 fi
48820
48821 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48822 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48823 COND_TOOLKIT_WINCE_WXUNIV_0=""
48824 fi
48825
48826 COND_TOOLKIT_X11="#"
48827 if test "x$TOOLKIT" = "xX11" ; then
48828 COND_TOOLKIT_X11=""
48829 fi
48830
48831 COND_TOOLKIT_X11_USE_GUI_1="#"
48832 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48833 COND_TOOLKIT_X11_USE_GUI_1=""
48834 fi
48835
48836 COND_UNICODE_1="#"
48837 if test "x$UNICODE" = "x1" ; then
48838 COND_UNICODE_1=""
48839 fi
48840
48841 COND_USE_EXCEPTIONS_0="#"
48842 if test "x$USE_EXCEPTIONS" = "x0" ; then
48843 COND_USE_EXCEPTIONS_0=""
48844 fi
48845
48846 COND_USE_EXCEPTIONS_1="#"
48847 if test "x$USE_EXCEPTIONS" = "x1" ; then
48848 COND_USE_EXCEPTIONS_1=""
48849 fi
48850
48851 COND_USE_GUI_0="#"
48852 if test "x$USE_GUI" = "x0" ; then
48853 COND_USE_GUI_0=""
48854 fi
48855
48856 COND_USE_GUI_1="#"
48857 if test "x$USE_GUI" = "x1" ; then
48858 COND_USE_GUI_1=""
48859 fi
48860
48861 COND_USE_GUI_1_WXUNIV_0="#"
48862 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48863 COND_USE_GUI_1_WXUNIV_0=""
48864 fi
48865
48866 COND_USE_GUI_1_WXUNIV_1="#"
48867 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48868 COND_USE_GUI_1_WXUNIV_1=""
48869 fi
48870
48871 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48872 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48873 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48874 fi
48875
48876 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48877 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48878 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48879 fi
48880
48881 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48882 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48883 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48884 fi
48885
48886 COND_USE_ODBC_1="#"
48887 if test "x$USE_ODBC" = "x1" ; then
48888 COND_USE_ODBC_1=""
48889 fi
48890
48891 COND_USE_OPENGL_1="#"
48892 if test "x$USE_OPENGL" = "x1" ; then
48893 COND_USE_OPENGL_1=""
48894 fi
48895
48896 COND_USE_PCH_1="#"
48897 if test "x$USE_PCH" = "x1" ; then
48898 COND_USE_PCH_1=""
48899 fi
48900
48901 COND_USE_PLUGINS_0="#"
48902 if test "x$USE_PLUGINS" = "x0" ; then
48903 COND_USE_PLUGINS_0=""
48904 fi
48905
48906 COND_USE_RTTI_0="#"
48907 if test "x$USE_RTTI" = "x0" ; then
48908 COND_USE_RTTI_0=""
48909 fi
48910
48911 COND_USE_RTTI_1="#"
48912 if test "x$USE_RTTI" = "x1" ; then
48913 COND_USE_RTTI_1=""
48914 fi
48915
48916 COND_USE_SOSYMLINKS_1="#"
48917 if test "x$USE_SOSYMLINKS" = "x1" ; then
48918 COND_USE_SOSYMLINKS_1=""
48919 fi
48920
48921 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48922 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48923 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48924 fi
48925
48926 COND_USE_SOVERLINUX_1="#"
48927 if test "x$USE_SOVERLINUX" = "x1" ; then
48928 COND_USE_SOVERLINUX_1=""
48929 fi
48930
48931 COND_USE_SOVERSION_0="#"
48932 if test "x$USE_SOVERSION" = "x0" ; then
48933 COND_USE_SOVERSION_0=""
48934 fi
48935
48936 COND_USE_SOVERSOLARIS_1="#"
48937 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48938 COND_USE_SOVERSOLARIS_1=""
48939 fi
48940
48941 COND_USE_THREADS_0="#"
48942 if test "x$USE_THREADS" = "x0" ; then
48943 COND_USE_THREADS_0=""
48944 fi
48945
48946 COND_USE_THREADS_1="#"
48947 if test "x$USE_THREADS" = "x1" ; then
48948 COND_USE_THREADS_1=""
48949 fi
48950
48951 COND_USE_XRC_1="#"
48952 if test "x$USE_XRC" = "x1" ; then
48953 COND_USE_XRC_1=""
48954 fi
48955
48956 COND_WINDOWS_IMPLIB_1="#"
48957 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48958 COND_WINDOWS_IMPLIB_1=""
48959 fi
48960
48961 COND_WITH_PLUGIN_SDL_1="#"
48962 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48963 COND_WITH_PLUGIN_SDL_1=""
48964 fi
48965
48966 COND_WXUNIV_0="#"
48967 if test "x$WXUNIV" = "x0" ; then
48968 COND_WXUNIV_0=""
48969 fi
48970
48971 COND_WXUNIV_1="#"
48972 if test "x$WXUNIV" = "x1" ; then
48973 COND_WXUNIV_1=""
48974 fi
48975
48976 COND_WXUSE_EXPAT_BUILTIN="#"
48977 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48978 COND_WXUSE_EXPAT_BUILTIN=""
48979 fi
48980
48981 COND_WXUSE_LIBJPEG_BUILTIN="#"
48982 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48983 COND_WXUSE_LIBJPEG_BUILTIN=""
48984 fi
48985
48986 COND_WXUSE_LIBPNG_BUILTIN="#"
48987 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48988 COND_WXUSE_LIBPNG_BUILTIN=""
48989 fi
48990
48991 COND_WXUSE_LIBTIFF_BUILTIN="#"
48992 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48993 COND_WXUSE_LIBTIFF_BUILTIN=""
48994 fi
48995
48996 COND_WXUSE_ODBC_BUILTIN="#"
48997 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48998 COND_WXUSE_ODBC_BUILTIN=""
48999 fi
49000
49001 COND_WXUSE_REGEX_BUILTIN="#"
49002 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49003 COND_WXUSE_REGEX_BUILTIN=""
49004 fi
49005
49006 COND_WXUSE_ZLIB_BUILTIN="#"
49007 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49008 COND_WXUSE_ZLIB_BUILTIN=""
49009 fi
49010
49011
49012
49013 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49014 { { 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
49015 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;}
49016 { (exit 1); exit 1; }; }
49017 fi
49018
49019 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49020 { { 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
49021 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;}
49022 { (exit 1); exit 1; }; }
49023 fi
49024
49025
49026 if test $GCC_PCH = 1
49027 then
49028 if test "$wx_cv_gcc_pch_bug" = yes; then
49029 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49030 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49031 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49032 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49033 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49034 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49035 fi
49036
49037 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49038 fi
49039
49040
49041 if test "$wxUSE_MAC" = 1 ; then
49042 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49043 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49044 mv temp bk-deps
49045 chmod +x bk-deps
49046 fi
49047 fi
49048
49049 if test "$wxUSE_SHARED" = "yes"; then
49050
49051 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49052 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49053
49054 case "${host}" in
49055 *-pc-os2_emx | *-pc-os2-emx )
49056 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49057 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49058 cp -p ${srcdir}/src/os2/dllnames.sh .
49059 cp -p ${srcdir}/src/os2/dllar.sh .
49060 ;;
49061 esac
49062 else
49063
49064 EXE_LINKER="$CXX -o"
49065
49066 fi
49067 if test "$wxUSE_OMF" = "yes"; then
49068 case "${host}" in
49069 *-pc-os2_emx | *-pc-os2-emx )
49070 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49071 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49072 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49073 ;;
49074 esac
49075 fi
49076
49077 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49078
49079 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49080
49081
49082
49083
49084
49085
49086
49087
49088
49089
49090
49091
49092
49093
49094
49095
49096
49097
49098
49099
49100
49101
49102
49103
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113
49114
49115
49116
49117
49118
49119
49120
49121
49122
49123
49124
49125
49126
49127
49128
49129
49130
49131
49132
49133
49134
49135
49136
49137
49138
49139
49140
49141 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49142 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49143 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49144 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49145 echo $ECHO_N "(cached) $ECHO_C" >&6
49146 else
49147 cat >conftest.make <<\_ACEOF
49148 SHELL = /bin/sh
49149 all:
49150 @echo '@@@%%%=$(MAKE)=@@@%%%'
49151 _ACEOF
49152 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49153 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49154 *@@@%%%=?*=@@@%%%*)
49155 eval ac_cv_prog_make_${ac_make}_set=yes;;
49156 *)
49157 eval ac_cv_prog_make_${ac_make}_set=no;;
49158 esac
49159 rm -f conftest.make
49160 fi
49161 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49162 { echo "$as_me:$LINENO: result: yes" >&5
49163 echo "${ECHO_T}yes" >&6; }
49164 SET_MAKE=
49165 else
49166 { echo "$as_me:$LINENO: result: no" >&5
49167 echo "${ECHO_T}no" >&6; }
49168 SET_MAKE="MAKE=${MAKE-make}"
49169 fi
49170
49171
49172
49173 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49174
49175
49176 if test "$USE_WIN32" = 1; then
49177 ac_config_commands="$ac_config_commands
49178 rcdefs.h
49179 "
49180
49181 fi
49182
49183 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49184
49185
49186 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49187
49188
49189 if test "$wx_cv_version_script" = "yes"; then
49190 ac_config_files="$ac_config_files version-script"
49191
49192 fi
49193 ac_config_files="$ac_config_files Makefile"
49194
49195
49196 ac_config_commands="$ac_config_commands wx-config"
49197
49198
49199
49200 if test "$wxWITH_SUBDIRS" != "no"; then
49201 if test "$wxUSE_GUI" = "yes"; then
49202 SUBDIRS="samples demos utils contrib"
49203 else SUBDIRS="samples utils"
49204 fi
49205
49206
49207
49208 # Check whether --with-cppunit-prefix was given.
49209 if test "${with_cppunit_prefix+set}" = set; then
49210 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49211 else
49212 cppunit_config_prefix=""
49213 fi
49214
49215
49216 # Check whether --with-cppunit-exec-prefix was given.
49217 if test "${with_cppunit_exec_prefix+set}" = set; then
49218 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49219 else
49220 cppunit_config_exec_prefix=""
49221 fi
49222
49223
49224 if test x$cppunit_config_exec_prefix != x ; then
49225 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49226 if test x${CPPUNIT_CONFIG+set} != xset ; then
49227 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49228 fi
49229 fi
49230 if test x$cppunit_config_prefix != x ; then
49231 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49232 if test x${CPPUNIT_CONFIG+set} != xset ; then
49233 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49234 fi
49235 fi
49236
49237 # Extract the first word of "cppunit-config", so it can be a program name with args.
49238 set dummy cppunit-config; ac_word=$2
49239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49241 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49242 echo $ECHO_N "(cached) $ECHO_C" >&6
49243 else
49244 case $CPPUNIT_CONFIG in
49245 [\\/]* | ?:[\\/]*)
49246 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49247 ;;
49248 *)
49249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49250 for as_dir in $PATH
49251 do
49252 IFS=$as_save_IFS
49253 test -z "$as_dir" && as_dir=.
49254 for ac_exec_ext in '' $ac_executable_extensions; do
49255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49256 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49258 break 2
49259 fi
49260 done
49261 done
49262 IFS=$as_save_IFS
49263
49264 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49265 ;;
49266 esac
49267 fi
49268 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49269 if test -n "$CPPUNIT_CONFIG"; then
49270 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49271 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49272 else
49273 { echo "$as_me:$LINENO: result: no" >&5
49274 echo "${ECHO_T}no" >&6; }
49275 fi
49276
49277
49278 cppunit_version_min=1.8.0
49279
49280 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49281 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49282 no_cppunit=""
49283 if test "$CPPUNIT_CONFIG" = "no" ; then
49284 { echo "$as_me:$LINENO: result: no" >&5
49285 echo "${ECHO_T}no" >&6; }
49286 no_cppunit=yes
49287 else
49288 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49289 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49290 cppunit_version=`$CPPUNIT_CONFIG --version`
49291
49292 cppunit_major_version=`echo $cppunit_version | \
49293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49294 cppunit_minor_version=`echo $cppunit_version | \
49295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49296 cppunit_micro_version=`echo $cppunit_version | \
49297 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49298
49299 cppunit_major_min=`echo $cppunit_version_min | \
49300 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49301 cppunit_minor_min=`echo $cppunit_version_min | \
49302 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49303 cppunit_micro_min=`echo $cppunit_version_min | \
49304 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49305
49306 cppunit_version_proper=`expr \
49307 $cppunit_major_version \> $cppunit_major_min \| \
49308 $cppunit_major_version \= $cppunit_major_min \& \
49309 $cppunit_minor_version \> $cppunit_minor_min \| \
49310 $cppunit_major_version \= $cppunit_major_min \& \
49311 $cppunit_minor_version \= $cppunit_minor_min \& \
49312 $cppunit_micro_version \>= $cppunit_micro_min `
49313
49314 if test "$cppunit_version_proper" = "1" ; then
49315 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49316 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49317 else
49318 { echo "$as_me:$LINENO: result: no" >&5
49319 echo "${ECHO_T}no" >&6; }
49320 no_cppunit=yes
49321 fi
49322 fi
49323
49324 if test "x$no_cppunit" = x ; then
49325 SUBDIRS="$SUBDIRS tests"
49326 else
49327 CPPUNIT_CFLAGS=""
49328 CPPUNIT_LIBS=""
49329 :
49330 fi
49331
49332
49333
49334
49335
49336 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49337 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
49338 fi
49339
49340 for subdir in `echo $SUBDIRS`; do
49341 if test -d ${srcdir}/${subdir} ; then
49342 if test "$wxUSE_GUI" = "yes"; then
49343 if test ${subdir} = "samples"; then
49344 makefiles="samples/Makefile.in $makefiles"
49345 for sample in `echo $SAMPLES_SUBDIRS`; do
49346 if test -d $srcdir/samples/$sample; then
49347 makefiles="samples/$sample/Makefile.in $makefiles"
49348 fi
49349 done
49350 else
49351 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49352 eval "disabled=\$$disabled_var"
49353 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49354 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49355 fi
49356 else if test ${subdir} = "samples"; then
49357 makefiles="samples/Makefile.in samples/console/Makefile.in"
49358 elif test ${subdir} = "utils"; then
49359 makefiles=""
49360 for util in HelpGen tex2rtf ; do
49361 if test -d $srcdir/utils/$util ; then
49362 makefiles="utils/$util/Makefile.in \
49363 utils/$util/src/Makefile.in \
49364 $makefiles"
49365 fi
49366 done
49367 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49368 fi
49369 fi
49370
49371 for mkin in $makefiles ; do
49372 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49373 ac_config_files="$ac_config_files $mk"
49374
49375 done
49376 fi
49377 done
49378 fi
49379 cat >confcache <<\_ACEOF
49380 # This file is a shell script that caches the results of configure
49381 # tests run on this system so they can be shared between configure
49382 # scripts and configure runs, see configure's option --config-cache.
49383 # It is not useful on other systems. If it contains results you don't
49384 # want to keep, you may remove or edit it.
49385 #
49386 # config.status only pays attention to the cache file if you give it
49387 # the --recheck option to rerun configure.
49388 #
49389 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49390 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49391 # following values.
49392
49393 _ACEOF
49394
49395 # The following way of writing the cache mishandles newlines in values,
49396 # but we know of no workaround that is simple, portable, and efficient.
49397 # So, we kill variables containing newlines.
49398 # Ultrix sh set writes to stderr and can't be redirected directly,
49399 # and sets the high bit in the cache file unless we assign to the vars.
49400 (
49401 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49402 eval ac_val=\$$ac_var
49403 case $ac_val in #(
49404 *${as_nl}*)
49405 case $ac_var in #(
49406 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49407 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49408 esac
49409 case $ac_var in #(
49410 _ | IFS | as_nl) ;; #(
49411 *) $as_unset $ac_var ;;
49412 esac ;;
49413 esac
49414 done
49415
49416 (set) 2>&1 |
49417 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49418 *${as_nl}ac_space=\ *)
49419 # `set' does not quote correctly, so add quotes (double-quote
49420 # substitution turns \\\\ into \\, and sed turns \\ into \).
49421 sed -n \
49422 "s/'/'\\\\''/g;
49423 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49424 ;; #(
49425 *)
49426 # `set' quotes correctly as required by POSIX, so do not add quotes.
49427 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49428 ;;
49429 esac |
49430 sort
49431 ) |
49432 sed '
49433 /^ac_cv_env_/b end
49434 t clear
49435 :clear
49436 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49437 t end
49438 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49439 :end' >>confcache
49440 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49441 if test -w "$cache_file"; then
49442 test "x$cache_file" != "x/dev/null" &&
49443 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49444 echo "$as_me: updating cache $cache_file" >&6;}
49445 cat confcache >$cache_file
49446 else
49447 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49448 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49449 fi
49450 fi
49451 rm -f confcache
49452
49453 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49454 # Let make expand exec_prefix.
49455 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49456
49457 DEFS=-DHAVE_CONFIG_H
49458
49459 ac_libobjs=
49460 ac_ltlibobjs=
49461 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49462 # 1. Remove the extension, and $U if already installed.
49463 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49464 ac_i=`echo "$ac_i" | sed "$ac_script"`
49465 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49466 # will be set to the directory where LIBOBJS objects are built.
49467 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49468 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49469 done
49470 LIBOBJS=$ac_libobjs
49471
49472 LTLIBOBJS=$ac_ltlibobjs
49473
49474
49475
49476 : ${CONFIG_STATUS=./config.status}
49477 ac_clean_files_save=$ac_clean_files
49478 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49479 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49480 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49481 cat >$CONFIG_STATUS <<_ACEOF
49482 #! $SHELL
49483 # Generated by $as_me.
49484 # Run this file to recreate the current configuration.
49485 # Compiler output produced by configure, useful for debugging
49486 # configure, is in config.log if it exists.
49487
49488 debug=false
49489 ac_cs_recheck=false
49490 ac_cs_silent=false
49491 SHELL=\${CONFIG_SHELL-$SHELL}
49492 _ACEOF
49493
49494 cat >>$CONFIG_STATUS <<\_ACEOF
49495 ## --------------------- ##
49496 ## M4sh Initialization. ##
49497 ## --------------------- ##
49498
49499 # Be more Bourne compatible
49500 DUALCASE=1; export DUALCASE # for MKS sh
49501 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49502 emulate sh
49503 NULLCMD=:
49504 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49505 # is contrary to our usage. Disable this feature.
49506 alias -g '${1+"$@"}'='"$@"'
49507 setopt NO_GLOB_SUBST
49508 else
49509 case `(set -o) 2>/dev/null` in
49510 *posix*) set -o posix ;;
49511 esac
49512
49513 fi
49514
49515
49516
49517
49518 # PATH needs CR
49519 # Avoid depending upon Character Ranges.
49520 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49521 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49522 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49523 as_cr_digits='0123456789'
49524 as_cr_alnum=$as_cr_Letters$as_cr_digits
49525
49526 # The user is always right.
49527 if test "${PATH_SEPARATOR+set}" != set; then
49528 echo "#! /bin/sh" >conf$$.sh
49529 echo "exit 0" >>conf$$.sh
49530 chmod +x conf$$.sh
49531 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49532 PATH_SEPARATOR=';'
49533 else
49534 PATH_SEPARATOR=:
49535 fi
49536 rm -f conf$$.sh
49537 fi
49538
49539 # Support unset when possible.
49540 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49541 as_unset=unset
49542 else
49543 as_unset=false
49544 fi
49545
49546
49547 # IFS
49548 # We need space, tab and new line, in precisely that order. Quoting is
49549 # there to prevent editors from complaining about space-tab.
49550 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49551 # splitting by setting IFS to empty value.)
49552 as_nl='
49553 '
49554 IFS=" "" $as_nl"
49555
49556 # Find who we are. Look in the path if we contain no directory separator.
49557 case $0 in
49558 *[\\/]* ) as_myself=$0 ;;
49559 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49560 for as_dir in $PATH
49561 do
49562 IFS=$as_save_IFS
49563 test -z "$as_dir" && as_dir=.
49564 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49565 done
49566 IFS=$as_save_IFS
49567
49568 ;;
49569 esac
49570 # We did not find ourselves, most probably we were run as `sh COMMAND'
49571 # in which case we are not to be found in the path.
49572 if test "x$as_myself" = x; then
49573 as_myself=$0
49574 fi
49575 if test ! -f "$as_myself"; then
49576 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49577 { (exit 1); exit 1; }
49578 fi
49579
49580 # Work around bugs in pre-3.0 UWIN ksh.
49581 for as_var in ENV MAIL MAILPATH
49582 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49583 done
49584 PS1='$ '
49585 PS2='> '
49586 PS4='+ '
49587
49588 # NLS nuisances.
49589 for as_var in \
49590 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49591 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49592 LC_TELEPHONE LC_TIME
49593 do
49594 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49595 eval $as_var=C; export $as_var
49596 else
49597 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49598 fi
49599 done
49600
49601 # Required to use basename.
49602 if expr a : '\(a\)' >/dev/null 2>&1 &&
49603 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49604 as_expr=expr
49605 else
49606 as_expr=false
49607 fi
49608
49609 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49610 as_basename=basename
49611 else
49612 as_basename=false
49613 fi
49614
49615
49616 # Name of the executable.
49617 as_me=`$as_basename -- "$0" ||
49618 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49619 X"$0" : 'X\(//\)$' \| \
49620 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49621 echo X/"$0" |
49622 sed '/^.*\/\([^/][^/]*\)\/*$/{
49623 s//\1/
49624 q
49625 }
49626 /^X\/\(\/\/\)$/{
49627 s//\1/
49628 q
49629 }
49630 /^X\/\(\/\).*/{
49631 s//\1/
49632 q
49633 }
49634 s/.*/./; q'`
49635
49636 # CDPATH.
49637 $as_unset CDPATH
49638
49639
49640
49641 as_lineno_1=$LINENO
49642 as_lineno_2=$LINENO
49643 test "x$as_lineno_1" != "x$as_lineno_2" &&
49644 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49645
49646 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49647 # uniformly replaced by the line number. The first 'sed' inserts a
49648 # line-number line after each line using $LINENO; the second 'sed'
49649 # does the real work. The second script uses 'N' to pair each
49650 # line-number line with the line containing $LINENO, and appends
49651 # trailing '-' during substitution so that $LINENO is not a special
49652 # case at line end.
49653 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49654 # scripts with optimization help from Paolo Bonzini. Blame Lee
49655 # E. McMahon (1931-1989) for sed's syntax. :-)
49656 sed -n '
49657 p
49658 /[$]LINENO/=
49659 ' <$as_myself |
49660 sed '
49661 s/[$]LINENO.*/&-/
49662 t lineno
49663 b
49664 :lineno
49665 N
49666 :loop
49667 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49668 t loop
49669 s/-\n.*//
49670 ' >$as_me.lineno &&
49671 chmod +x "$as_me.lineno" ||
49672 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49673 { (exit 1); exit 1; }; }
49674
49675 # Don't try to exec as it changes $[0], causing all sort of problems
49676 # (the dirname of $[0] is not the place where we might find the
49677 # original and so on. Autoconf is especially sensitive to this).
49678 . "./$as_me.lineno"
49679 # Exit status is that of the last command.
49680 exit
49681 }
49682
49683
49684 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49685 as_dirname=dirname
49686 else
49687 as_dirname=false
49688 fi
49689
49690 ECHO_C= ECHO_N= ECHO_T=
49691 case `echo -n x` in
49692 -n*)
49693 case `echo 'x\c'` in
49694 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49695 *) ECHO_C='\c';;
49696 esac;;
49697 *)
49698 ECHO_N='-n';;
49699 esac
49700
49701 if expr a : '\(a\)' >/dev/null 2>&1 &&
49702 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49703 as_expr=expr
49704 else
49705 as_expr=false
49706 fi
49707
49708 rm -f conf$$ conf$$.exe conf$$.file
49709 if test -d conf$$.dir; then
49710 rm -f conf$$.dir/conf$$.file
49711 else
49712 rm -f conf$$.dir
49713 mkdir conf$$.dir
49714 fi
49715 echo >conf$$.file
49716 if ln -s conf$$.file conf$$ 2>/dev/null; then
49717 as_ln_s='ln -s'
49718 # ... but there are two gotchas:
49719 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49720 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49721 # In both cases, we have to default to `cp -p'.
49722 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49723 as_ln_s='cp -p'
49724 elif ln conf$$.file conf$$ 2>/dev/null; then
49725 as_ln_s=ln
49726 else
49727 as_ln_s='cp -p'
49728 fi
49729 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49730 rmdir conf$$.dir 2>/dev/null
49731
49732 if mkdir -p . 2>/dev/null; then
49733 as_mkdir_p=:
49734 else
49735 test -d ./-p && rmdir ./-p
49736 as_mkdir_p=false
49737 fi
49738
49739 if test -x / >/dev/null 2>&1; then
49740 as_test_x='test -x'
49741 else
49742 if ls -dL / >/dev/null 2>&1; then
49743 as_ls_L_option=L
49744 else
49745 as_ls_L_option=
49746 fi
49747 as_test_x='
49748 eval sh -c '\''
49749 if test -d "$1"; then
49750 test -d "$1/.";
49751 else
49752 case $1 in
49753 -*)set "./$1";;
49754 esac;
49755 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49756 ???[sx]*):;;*)false;;esac;fi
49757 '\'' sh
49758 '
49759 fi
49760 as_executable_p=$as_test_x
49761
49762 # Sed expression to map a string onto a valid CPP name.
49763 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49764
49765 # Sed expression to map a string onto a valid variable name.
49766 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49767
49768
49769 exec 6>&1
49770
49771 # Save the log message, to keep $[0] and so on meaningful, and to
49772 # report actual input values of CONFIG_FILES etc. instead of their
49773 # values after options handling.
49774 ac_log="
49775 This file was extended by wxWidgets $as_me 2.9.0, which was
49776 generated by GNU Autoconf 2.61. Invocation command line was
49777
49778 CONFIG_FILES = $CONFIG_FILES
49779 CONFIG_HEADERS = $CONFIG_HEADERS
49780 CONFIG_LINKS = $CONFIG_LINKS
49781 CONFIG_COMMANDS = $CONFIG_COMMANDS
49782 $ $0 $@
49783
49784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49785 "
49786
49787 _ACEOF
49788
49789 cat >>$CONFIG_STATUS <<_ACEOF
49790 # Files that config.status was made for.
49791 config_files="$ac_config_files"
49792 config_headers="$ac_config_headers"
49793 config_commands="$ac_config_commands"
49794
49795 _ACEOF
49796
49797 cat >>$CONFIG_STATUS <<\_ACEOF
49798 ac_cs_usage="\
49799 \`$as_me' instantiates files from templates according to the
49800 current configuration.
49801
49802 Usage: $0 [OPTIONS] [FILE]...
49803
49804 -h, --help print this help, then exit
49805 -V, --version print version number and configuration settings, then exit
49806 -q, --quiet do not print progress messages
49807 -d, --debug don't remove temporary files
49808 --recheck update $as_me by reconfiguring in the same conditions
49809 --file=FILE[:TEMPLATE]
49810 instantiate the configuration file FILE
49811 --header=FILE[:TEMPLATE]
49812 instantiate the configuration header FILE
49813
49814 Configuration files:
49815 $config_files
49816
49817 Configuration headers:
49818 $config_headers
49819
49820 Configuration commands:
49821 $config_commands
49822
49823 Report bugs to <bug-autoconf@gnu.org>."
49824
49825 _ACEOF
49826 cat >>$CONFIG_STATUS <<_ACEOF
49827 ac_cs_version="\\
49828 wxWidgets config.status 2.9.0
49829 configured by $0, generated by GNU Autoconf 2.61,
49830 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49831
49832 Copyright (C) 2006 Free Software Foundation, Inc.
49833 This config.status script is free software; the Free Software Foundation
49834 gives unlimited permission to copy, distribute and modify it."
49835
49836 ac_pwd='$ac_pwd'
49837 srcdir='$srcdir'
49838 INSTALL='$INSTALL'
49839 _ACEOF
49840
49841 cat >>$CONFIG_STATUS <<\_ACEOF
49842 # If no file are specified by the user, then we need to provide default
49843 # value. By we need to know if files were specified by the user.
49844 ac_need_defaults=:
49845 while test $# != 0
49846 do
49847 case $1 in
49848 --*=*)
49849 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49850 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49851 ac_shift=:
49852 ;;
49853 *)
49854 ac_option=$1
49855 ac_optarg=$2
49856 ac_shift=shift
49857 ;;
49858 esac
49859
49860 case $ac_option in
49861 # Handling of the options.
49862 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49863 ac_cs_recheck=: ;;
49864 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49865 echo "$ac_cs_version"; exit ;;
49866 --debug | --debu | --deb | --de | --d | -d )
49867 debug=: ;;
49868 --file | --fil | --fi | --f )
49869 $ac_shift
49870 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49871 ac_need_defaults=false;;
49872 --header | --heade | --head | --hea )
49873 $ac_shift
49874 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49875 ac_need_defaults=false;;
49876 --he | --h)
49877 # Conflict between --help and --header
49878 { echo "$as_me: error: ambiguous option: $1
49879 Try \`$0 --help' for more information." >&2
49880 { (exit 1); exit 1; }; };;
49881 --help | --hel | -h )
49882 echo "$ac_cs_usage"; exit ;;
49883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49884 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49885 ac_cs_silent=: ;;
49886
49887 # This is an error.
49888 -*) { echo "$as_me: error: unrecognized option: $1
49889 Try \`$0 --help' for more information." >&2
49890 { (exit 1); exit 1; }; } ;;
49891
49892 *) ac_config_targets="$ac_config_targets $1"
49893 ac_need_defaults=false ;;
49894
49895 esac
49896 shift
49897 done
49898
49899 ac_configure_extra_args=
49900
49901 if $ac_cs_silent; then
49902 exec 6>/dev/null
49903 ac_configure_extra_args="$ac_configure_extra_args --silent"
49904 fi
49905
49906 _ACEOF
49907 cat >>$CONFIG_STATUS <<_ACEOF
49908 if \$ac_cs_recheck; then
49909 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49910 CONFIG_SHELL=$SHELL
49911 export CONFIG_SHELL
49912 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49913 fi
49914
49915 _ACEOF
49916 cat >>$CONFIG_STATUS <<\_ACEOF
49917 exec 5>>config.log
49918 {
49919 echo
49920 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49921 ## Running $as_me. ##
49922 _ASBOX
49923 echo "$ac_log"
49924 } >&5
49925
49926 _ACEOF
49927 cat >>$CONFIG_STATUS <<_ACEOF
49928 #
49929 # INIT-COMMANDS
49930 #
49931
49932 CPP="$CPP"
49933 infile="$srcdir/include/wx/msw/genrcdefs.h"
49934 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49935
49936
49937 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49938 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49939 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49940 LN_S="${LN_S}"
49941
49942
49943 _ACEOF
49944
49945 cat >>$CONFIG_STATUS <<\_ACEOF
49946
49947 # Handling of arguments.
49948 for ac_config_target in $ac_config_targets
49949 do
49950 case $ac_config_target in
49951 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49952 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49953 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49954 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49955 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49956 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49957 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49958 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49959
49960 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49961 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49962 { (exit 1); exit 1; }; };;
49963 esac
49964 done
49965
49966
49967 # If the user did not use the arguments to specify the items to instantiate,
49968 # then the envvar interface is used. Set only those that are not.
49969 # We use the long form for the default assignment because of an extremely
49970 # bizarre bug on SunOS 4.1.3.
49971 if $ac_need_defaults; then
49972 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49973 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49974 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49975 fi
49976
49977 # Have a temporary directory for convenience. Make it in the build tree
49978 # simply because there is no reason against having it here, and in addition,
49979 # creating and moving files from /tmp can sometimes cause problems.
49980 # Hook for its removal unless debugging.
49981 # Note that there is a small window in which the directory will not be cleaned:
49982 # after its creation but before its name has been assigned to `$tmp'.
49983 $debug ||
49984 {
49985 tmp=
49986 trap 'exit_status=$?
49987 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49988 ' 0
49989 trap '{ (exit 1); exit 1; }' 1 2 13 15
49990 }
49991 # Create a (secure) tmp directory for tmp files.
49992
49993 {
49994 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49995 test -n "$tmp" && test -d "$tmp"
49996 } ||
49997 {
49998 tmp=./conf$$-$RANDOM
49999 (umask 077 && mkdir "$tmp")
50000 } ||
50001 {
50002 echo "$me: cannot create a temporary directory in ." >&2
50003 { (exit 1); exit 1; }
50004 }
50005
50006 #
50007 # Set up the sed scripts for CONFIG_FILES section.
50008 #
50009
50010 # No need to generate the scripts if there are no CONFIG_FILES.
50011 # This happens for instance when ./config.status config.h
50012 if test -n "$CONFIG_FILES"; then
50013
50014 _ACEOF
50015
50016
50017
50018 ac_delim='%!_!# '
50019 for ac_last_try in false false false false false :; do
50020 cat >conf$$subs.sed <<_ACEOF
50021 SHELL!$SHELL$ac_delim
50022 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50023 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50024 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50025 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50026 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50027 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50028 exec_prefix!$exec_prefix$ac_delim
50029 prefix!$prefix$ac_delim
50030 program_transform_name!$program_transform_name$ac_delim
50031 bindir!$bindir$ac_delim
50032 sbindir!$sbindir$ac_delim
50033 libexecdir!$libexecdir$ac_delim
50034 datarootdir!$datarootdir$ac_delim
50035 datadir!$datadir$ac_delim
50036 sysconfdir!$sysconfdir$ac_delim
50037 sharedstatedir!$sharedstatedir$ac_delim
50038 localstatedir!$localstatedir$ac_delim
50039 includedir!$includedir$ac_delim
50040 oldincludedir!$oldincludedir$ac_delim
50041 docdir!$docdir$ac_delim
50042 infodir!$infodir$ac_delim
50043 htmldir!$htmldir$ac_delim
50044 dvidir!$dvidir$ac_delim
50045 pdfdir!$pdfdir$ac_delim
50046 psdir!$psdir$ac_delim
50047 libdir!$libdir$ac_delim
50048 localedir!$localedir$ac_delim
50049 mandir!$mandir$ac_delim
50050 DEFS!$DEFS$ac_delim
50051 ECHO_C!$ECHO_C$ac_delim
50052 ECHO_N!$ECHO_N$ac_delim
50053 ECHO_T!$ECHO_T$ac_delim
50054 LIBS!$LIBS$ac_delim
50055 build_alias!$build_alias$ac_delim
50056 host_alias!$host_alias$ac_delim
50057 target_alias!$target_alias$ac_delim
50058 build!$build$ac_delim
50059 build_cpu!$build_cpu$ac_delim
50060 build_vendor!$build_vendor$ac_delim
50061 build_os!$build_os$ac_delim
50062 host!$host$ac_delim
50063 host_cpu!$host_cpu$ac_delim
50064 host_vendor!$host_vendor$ac_delim
50065 host_os!$host_os$ac_delim
50066 target!$target$ac_delim
50067 target_cpu!$target_cpu$ac_delim
50068 target_vendor!$target_vendor$ac_delim
50069 target_os!$target_os$ac_delim
50070 wx_top_builddir!$wx_top_builddir$ac_delim
50071 CC!$CC$ac_delim
50072 CFLAGS!$CFLAGS$ac_delim
50073 LDFLAGS!$LDFLAGS$ac_delim
50074 CPPFLAGS!$CPPFLAGS$ac_delim
50075 ac_ct_CC!$ac_ct_CC$ac_delim
50076 EXEEXT!$EXEEXT$ac_delim
50077 OBJEXT!$OBJEXT$ac_delim
50078 CPP!$CPP$ac_delim
50079 GREP!$GREP$ac_delim
50080 EGREP!$EGREP$ac_delim
50081 CXX!$CXX$ac_delim
50082 CXXFLAGS!$CXXFLAGS$ac_delim
50083 ac_ct_CXX!$ac_ct_CXX$ac_delim
50084 RANLIB!$RANLIB$ac_delim
50085 AR!$AR$ac_delim
50086 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50087 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50088 INSTALL_DATA!$INSTALL_DATA$ac_delim
50089 STRIP!$STRIP$ac_delim
50090 WINDRES!$WINDRES$ac_delim
50091 DLLTOOL!$DLLTOOL$ac_delim
50092 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50093 LN_S!$LN_S$ac_delim
50094 subdirs!$subdirs$ac_delim
50095 PKG_CONFIG!$PKG_CONFIG$ac_delim
50096 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50097 GTK_LIBS!$GTK_LIBS$ac_delim
50098 GTK_CONFIG!$GTK_CONFIG$ac_delim
50099 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50100 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50101 XMKMF!$XMKMF$ac_delim
50102 X_CFLAGS!$X_CFLAGS$ac_delim
50103 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50104 X_LIBS!$X_LIBS$ac_delim
50105 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50106 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50107 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50108 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50109 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50110 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50111 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50112 REZ!$REZ$ac_delim
50113 DEREZ!$DEREZ$ac_delim
50114 SETFILE!$SETFILE$ac_delim
50115 LIBICONV!$LIBICONV$ac_delim
50116 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
50117 SDL_CONFIG!$SDL_CONFIG$ac_delim
50118 _ACEOF
50119
50120 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50121 break
50122 elif $ac_last_try; then
50123 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50124 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50125 { (exit 1); exit 1; }; }
50126 else
50127 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50128 fi
50129 done
50130
50131 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50132 if test -n "$ac_eof"; then
50133 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50134 ac_eof=`expr $ac_eof + 1`
50135 fi
50136
50137 cat >>$CONFIG_STATUS <<_ACEOF
50138 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50139 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50140 _ACEOF
50141 sed '
50142 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50143 s/^/s,@/; s/!/@,|#_!!_#|/
50144 :n
50145 t n
50146 s/'"$ac_delim"'$/,g/; t
50147 s/$/\\/; p
50148 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50149 ' >>$CONFIG_STATUS <conf$$subs.sed
50150 rm -f conf$$subs.sed
50151 cat >>$CONFIG_STATUS <<_ACEOF
50152 CEOF$ac_eof
50153 _ACEOF
50154
50155
50156 ac_delim='%!_!# '
50157 for ac_last_try in false false false false false :; do
50158 cat >conf$$subs.sed <<_ACEOF
50159 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50160 SDL_LIBS!$SDL_LIBS$ac_delim
50161 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50162 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50163 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50164 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50165 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50166 HILDON_LIBS!$HILDON_LIBS$ac_delim
50167 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50168 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50169 GST_CFLAGS!$GST_CFLAGS$ac_delim
50170 GST_LIBS!$GST_LIBS$ac_delim
50171 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50172 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50173 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50174 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50175 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50176 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50177 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50178 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50179 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50180 VENDOR!$VENDOR$ac_delim
50181 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50182 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50183 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50184 WXUNIV!$WXUNIV$ac_delim
50185 MONOLITHIC!$MONOLITHIC$ac_delim
50186 USE_PLUGINS!$USE_PLUGINS$ac_delim
50187 EXTRALIBS!$EXTRALIBS$ac_delim
50188 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50189 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50190 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50191 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50192 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50193 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50194 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50195 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50196 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50197 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50198 UNICODE!$UNICODE$ac_delim
50199 BUILD!$BUILD$ac_delim
50200 DEBUG_INFO!$DEBUG_INFO$ac_delim
50201 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50202 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50203 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50204 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50205 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50206 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50207 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50208 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50209 SET_MAKE!$SET_MAKE$ac_delim
50210 MAKE_SET!$MAKE_SET$ac_delim
50211 AROPTIONS!$AROPTIONS$ac_delim
50212 NM!$NM$ac_delim
50213 INSTALL_DIR!$INSTALL_DIR$ac_delim
50214 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50215 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50216 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50217 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50218 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50219 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50220 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50221 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50222 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50223 SO_SUFFIX!$SO_SUFFIX$ac_delim
50224 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50225 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50226 LIBPREFIX!$LIBPREFIX$ac_delim
50227 LIBEXT!$LIBEXT$ac_delim
50228 DLLPREFIX!$DLLPREFIX$ac_delim
50229 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50230 dlldir!$dlldir$ac_delim
50231 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50232 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50233 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50234 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50235 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50236 PIC_FLAG!$PIC_FLAG$ac_delim
50237 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50238 USE_SOVERSION!$USE_SOVERSION$ac_delim
50239 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50240 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50241 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50242 USE_MACVERSION!$USE_MACVERSION$ac_delim
50243 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50244 SONAME_FLAG!$SONAME_FLAG$ac_delim
50245 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50246 BK_DEPS!$BK_DEPS$ac_delim
50247 GCC_PCH!$GCC_PCH$ac_delim
50248 ICC_PCH!$ICC_PCH$ac_delim
50249 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50250 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50251 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50252 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50253 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50254 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50255 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50256 _ACEOF
50257
50258 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50259 break
50260 elif $ac_last_try; then
50261 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50262 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50263 { (exit 1); exit 1; }; }
50264 else
50265 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50266 fi
50267 done
50268
50269 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50270 if test -n "$ac_eof"; then
50271 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50272 ac_eof=`expr $ac_eof + 1`
50273 fi
50274
50275 cat >>$CONFIG_STATUS <<_ACEOF
50276 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50278 _ACEOF
50279 sed '
50280 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50281 s/^/s,@/; s/!/@,|#_!!_#|/
50282 :n
50283 t n
50284 s/'"$ac_delim"'$/,g/; t
50285 s/$/\\/; p
50286 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50287 ' >>$CONFIG_STATUS <conf$$subs.sed
50288 rm -f conf$$subs.sed
50289 cat >>$CONFIG_STATUS <<_ACEOF
50290 CEOF$ac_eof
50291 _ACEOF
50292
50293
50294 ac_delim='%!_!# '
50295 for ac_last_try in false false false false false :; do
50296 cat >conf$$subs.sed <<_ACEOF
50297 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50298 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50299 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50300 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50301 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50302 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50303 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50304 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50305 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50306 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50307 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50308 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50309 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50310 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50311 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50312 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50313 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50314 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50315 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50316 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50317 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50318 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50319 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50320 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50321 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50323 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50324 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50325 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50326 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50327 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50328 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50329 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50330 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50331 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50332 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50333 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50334 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50335 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50336 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50337 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50338 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50339 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50340 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50341 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50342 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50343 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50344 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50345 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50346 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50347 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50348 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50349 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50350 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50351 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50352 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50353 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50354 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50355 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50356 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50357 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50358 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50359 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50360 COND_SHARED_0!$COND_SHARED_0$ac_delim
50361 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50362 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50363 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50364 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50365 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50366 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50367 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50368 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50369 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50370 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50371 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50372 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50373 COND_SHARED_1!$COND_SHARED_1$ac_delim
50374 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50375 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50376 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50377 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50378 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50379 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50380 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50381 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50382 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50383 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50384 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50385 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50386 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50387 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50388 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50389 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50390 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50391 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50392 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50393 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50394 _ACEOF
50395
50396 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50397 break
50398 elif $ac_last_try; then
50399 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50400 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50401 { (exit 1); exit 1; }; }
50402 else
50403 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50404 fi
50405 done
50406
50407 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50408 if test -n "$ac_eof"; then
50409 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50410 ac_eof=`expr $ac_eof + 1`
50411 fi
50412
50413 cat >>$CONFIG_STATUS <<_ACEOF
50414 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50415 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50416 _ACEOF
50417 sed '
50418 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50419 s/^/s,@/; s/!/@,|#_!!_#|/
50420 :n
50421 t n
50422 s/'"$ac_delim"'$/,g/; t
50423 s/$/\\/; p
50424 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50425 ' >>$CONFIG_STATUS <conf$$subs.sed
50426 rm -f conf$$subs.sed
50427 cat >>$CONFIG_STATUS <<_ACEOF
50428 CEOF$ac_eof
50429 _ACEOF
50430
50431
50432 ac_delim='%!_!# '
50433 for ac_last_try in false false false false false :; do
50434 cat >conf$$subs.sed <<_ACEOF
50435 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50436 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50437 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50438 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50439 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50440 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50441 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50442 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50443 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50444 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50445 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50446 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50447 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50448 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50449 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50450 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50451 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50452 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50453 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50454 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50455 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50456 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50457 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50458 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50459 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50460 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50461 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50462 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50463 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50464 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50465 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50466 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50467 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50468 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50469 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50470 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50471 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50472 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50473 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50474 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50475 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50476 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50477 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50478 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50479 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50480 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50481 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50482 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50483 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50484 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50485 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50486 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50487 SHARED!$SHARED$ac_delim
50488 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50489 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50490 USE_GUI!$USE_GUI$ac_delim
50491 AFMINSTALL!$AFMINSTALL$ac_delim
50492 WIN32INSTALL!$WIN32INSTALL$ac_delim
50493 TOOLKIT!$TOOLKIT$ac_delim
50494 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50495 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50496 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50497 cross_compiling!$cross_compiling$ac_delim
50498 WIDGET_SET!$WIDGET_SET$ac_delim
50499 WX_RELEASE!$WX_RELEASE$ac_delim
50500 WX_VERSION!$WX_VERSION$ac_delim
50501 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50502 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50503 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50504 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50505 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50506 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50507 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50508 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50509 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50510 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50511 EXE_LINKER!$EXE_LINKER$ac_delim
50512 GUIDIST!$GUIDIST$ac_delim
50513 DISTDIR!$DISTDIR$ac_delim
50514 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50515 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50516 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50517 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50518 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50519 RESCOMP!$RESCOMP$ac_delim
50520 RESFLAGS!$RESFLAGS$ac_delim
50521 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50522 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50523 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50524 LIBWXMACRES!$LIBWXMACRES$ac_delim
50525 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50526 MACSETFILE!$MACSETFILE$ac_delim
50527 GCC!$GCC$ac_delim
50528 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50529 LIBOBJS!$LIBOBJS$ac_delim
50530 LTLIBOBJS!$LTLIBOBJS$ac_delim
50531 _ACEOF
50532
50533 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
50534 break
50535 elif $ac_last_try; then
50536 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50537 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50538 { (exit 1); exit 1; }; }
50539 else
50540 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50541 fi
50542 done
50543
50544 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50545 if test -n "$ac_eof"; then
50546 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50547 ac_eof=`expr $ac_eof + 1`
50548 fi
50549
50550 cat >>$CONFIG_STATUS <<_ACEOF
50551 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50553 _ACEOF
50554 sed '
50555 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50556 s/^/s,@/; s/!/@,|#_!!_#|/
50557 :n
50558 t n
50559 s/'"$ac_delim"'$/,g/; t
50560 s/$/\\/; p
50561 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50562 ' >>$CONFIG_STATUS <conf$$subs.sed
50563 rm -f conf$$subs.sed
50564 cat >>$CONFIG_STATUS <<_ACEOF
50565 CEOF$ac_eof
50566 _ACEOF
50567
50568
50569 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50570 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50571 # trailing colons and then remove the whole line if VPATH becomes empty
50572 # (actually we leave an empty line to preserve line numbers).
50573 if test "x$srcdir" = x.; then
50574 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50575 s/:*\$(srcdir):*/:/
50576 s/:*\${srcdir}:*/:/
50577 s/:*@srcdir@:*/:/
50578 s/^\([^=]*=[ ]*\):*/\1/
50579 s/:*$//
50580 s/^[^=]*=[ ]*$//
50581 }'
50582 fi
50583
50584 cat >>$CONFIG_STATUS <<\_ACEOF
50585 fi # test -n "$CONFIG_FILES"
50586
50587
50588 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50589 do
50590 case $ac_tag in
50591 :[FHLC]) ac_mode=$ac_tag; continue;;
50592 esac
50593 case $ac_mode$ac_tag in
50594 :[FHL]*:*);;
50595 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50596 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50597 { (exit 1); exit 1; }; };;
50598 :[FH]-) ac_tag=-:-;;
50599 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50600 esac
50601 ac_save_IFS=$IFS
50602 IFS=:
50603 set x $ac_tag
50604 IFS=$ac_save_IFS
50605 shift
50606 ac_file=$1
50607 shift
50608
50609 case $ac_mode in
50610 :L) ac_source=$1;;
50611 :[FH])
50612 ac_file_inputs=
50613 for ac_f
50614 do
50615 case $ac_f in
50616 -) ac_f="$tmp/stdin";;
50617 *) # Look for the file first in the build tree, then in the source tree
50618 # (if the path is not absolute). The absolute path cannot be DOS-style,
50619 # because $ac_f cannot contain `:'.
50620 test -f "$ac_f" ||
50621 case $ac_f in
50622 [\\/$]*) false;;
50623 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50624 esac ||
50625 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50626 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50627 { (exit 1); exit 1; }; };;
50628 esac
50629 ac_file_inputs="$ac_file_inputs $ac_f"
50630 done
50631
50632 # Let's still pretend it is `configure' which instantiates (i.e., don't
50633 # use $as_me), people would be surprised to read:
50634 # /* config.h. Generated by config.status. */
50635 configure_input="Generated from "`IFS=:
50636 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50637 if test x"$ac_file" != x-; then
50638 configure_input="$ac_file. $configure_input"
50639 { echo "$as_me:$LINENO: creating $ac_file" >&5
50640 echo "$as_me: creating $ac_file" >&6;}
50641 fi
50642
50643 case $ac_tag in
50644 *:-:* | *:-) cat >"$tmp/stdin";;
50645 esac
50646 ;;
50647 esac
50648
50649 ac_dir=`$as_dirname -- "$ac_file" ||
50650 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50651 X"$ac_file" : 'X\(//\)[^/]' \| \
50652 X"$ac_file" : 'X\(//\)$' \| \
50653 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50654 echo X"$ac_file" |
50655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50656 s//\1/
50657 q
50658 }
50659 /^X\(\/\/\)[^/].*/{
50660 s//\1/
50661 q
50662 }
50663 /^X\(\/\/\)$/{
50664 s//\1/
50665 q
50666 }
50667 /^X\(\/\).*/{
50668 s//\1/
50669 q
50670 }
50671 s/.*/./; q'`
50672 { as_dir="$ac_dir"
50673 case $as_dir in #(
50674 -*) as_dir=./$as_dir;;
50675 esac
50676 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50677 as_dirs=
50678 while :; do
50679 case $as_dir in #(
50680 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50681 *) as_qdir=$as_dir;;
50682 esac
50683 as_dirs="'$as_qdir' $as_dirs"
50684 as_dir=`$as_dirname -- "$as_dir" ||
50685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50686 X"$as_dir" : 'X\(//\)[^/]' \| \
50687 X"$as_dir" : 'X\(//\)$' \| \
50688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50689 echo X"$as_dir" |
50690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50691 s//\1/
50692 q
50693 }
50694 /^X\(\/\/\)[^/].*/{
50695 s//\1/
50696 q
50697 }
50698 /^X\(\/\/\)$/{
50699 s//\1/
50700 q
50701 }
50702 /^X\(\/\).*/{
50703 s//\1/
50704 q
50705 }
50706 s/.*/./; q'`
50707 test -d "$as_dir" && break
50708 done
50709 test -z "$as_dirs" || eval "mkdir $as_dirs"
50710 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50711 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50712 { (exit 1); exit 1; }; }; }
50713 ac_builddir=.
50714
50715 case "$ac_dir" in
50716 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50717 *)
50718 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50719 # A ".." for each directory in $ac_dir_suffix.
50720 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50721 case $ac_top_builddir_sub in
50722 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50723 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50724 esac ;;
50725 esac
50726 ac_abs_top_builddir=$ac_pwd
50727 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50728 # for backward compatibility:
50729 ac_top_builddir=$ac_top_build_prefix
50730
50731 case $srcdir in
50732 .) # We are building in place.
50733 ac_srcdir=.
50734 ac_top_srcdir=$ac_top_builddir_sub
50735 ac_abs_top_srcdir=$ac_pwd ;;
50736 [\\/]* | ?:[\\/]* ) # Absolute name.
50737 ac_srcdir=$srcdir$ac_dir_suffix;
50738 ac_top_srcdir=$srcdir
50739 ac_abs_top_srcdir=$srcdir ;;
50740 *) # Relative name.
50741 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50742 ac_top_srcdir=$ac_top_build_prefix$srcdir
50743 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50744 esac
50745 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50746
50747
50748 case $ac_mode in
50749 :F)
50750 #
50751 # CONFIG_FILE
50752 #
50753
50754 case $INSTALL in
50755 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50756 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50757 esac
50758 _ACEOF
50759
50760 cat >>$CONFIG_STATUS <<\_ACEOF
50761 # If the template does not know about datarootdir, expand it.
50762 # FIXME: This hack should be removed a few years after 2.60.
50763 ac_datarootdir_hack=; ac_datarootdir_seen=
50764
50765 case `sed -n '/datarootdir/ {
50766 p
50767 q
50768 }
50769 /@datadir@/p
50770 /@docdir@/p
50771 /@infodir@/p
50772 /@localedir@/p
50773 /@mandir@/p
50774 ' $ac_file_inputs` in
50775 *datarootdir*) ac_datarootdir_seen=yes;;
50776 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50777 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50778 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50779 _ACEOF
50780 cat >>$CONFIG_STATUS <<_ACEOF
50781 ac_datarootdir_hack='
50782 s&@datadir@&$datadir&g
50783 s&@docdir@&$docdir&g
50784 s&@infodir@&$infodir&g
50785 s&@localedir@&$localedir&g
50786 s&@mandir@&$mandir&g
50787 s&\\\${datarootdir}&$datarootdir&g' ;;
50788 esac
50789 _ACEOF
50790
50791 # Neutralize VPATH when `$srcdir' = `.'.
50792 # Shell code in configure.ac might set extrasub.
50793 # FIXME: do we really want to maintain this feature?
50794 cat >>$CONFIG_STATUS <<_ACEOF
50795 sed "$ac_vpsub
50796 $extrasub
50797 _ACEOF
50798 cat >>$CONFIG_STATUS <<\_ACEOF
50799 :t
50800 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50801 s&@configure_input@&$configure_input&;t t
50802 s&@top_builddir@&$ac_top_builddir_sub&;t t
50803 s&@srcdir@&$ac_srcdir&;t t
50804 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50805 s&@top_srcdir@&$ac_top_srcdir&;t t
50806 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50807 s&@builddir@&$ac_builddir&;t t
50808 s&@abs_builddir@&$ac_abs_builddir&;t t
50809 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50810 s&@INSTALL@&$ac_INSTALL&;t t
50811 $ac_datarootdir_hack
50812 " $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 's/|#_!!_#|//g' >$tmp/out
50813
50814 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50815 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50816 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50817 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50818 which seems to be undefined. Please make sure it is defined." >&5
50819 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50820 which seems to be undefined. Please make sure it is defined." >&2;}
50821
50822 rm -f "$tmp/stdin"
50823 case $ac_file in
50824 -) cat "$tmp/out"; rm -f "$tmp/out";;
50825 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50826 esac
50827 ;;
50828 :H)
50829 #
50830 # CONFIG_HEADER
50831 #
50832 _ACEOF
50833
50834 # Transform confdefs.h into a sed script `conftest.defines', that
50835 # substitutes the proper values into config.h.in to produce config.h.
50836 rm -f conftest.defines conftest.tail
50837 # First, append a space to every undef/define line, to ease matching.
50838 echo 's/$/ /' >conftest.defines
50839 # Then, protect against being on the right side of a sed subst, or in
50840 # an unquoted here document, in config.status. If some macros were
50841 # called several times there might be several #defines for the same
50842 # symbol, which is useless. But do not sort them, since the last
50843 # AC_DEFINE must be honored.
50844 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50845 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50846 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50847 # PARAMS is the parameter list in the macro definition--in most cases, it's
50848 # just an empty string.
50849 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50850 ac_dB='\\)[ (].*,\\1define\\2'
50851 ac_dC=' '
50852 ac_dD=' ,'
50853
50854 uniq confdefs.h |
50855 sed -n '
50856 t rset
50857 :rset
50858 s/^[ ]*#[ ]*define[ ][ ]*//
50859 t ok
50860 d
50861 :ok
50862 s/[\\&,]/\\&/g
50863 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50864 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50865 ' >>conftest.defines
50866
50867 # Remove the space that was appended to ease matching.
50868 # Then replace #undef with comments. This is necessary, for
50869 # example, in the case of _POSIX_SOURCE, which is predefined and required
50870 # on some systems where configure will not decide to define it.
50871 # (The regexp can be short, since the line contains either #define or #undef.)
50872 echo 's/ $//
50873 s,^[ #]*u.*,/* & */,' >>conftest.defines
50874
50875 # Break up conftest.defines:
50876 ac_max_sed_lines=50
50877
50878 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50879 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50880 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50881 # et cetera.
50882 ac_in='$ac_file_inputs'
50883 ac_out='"$tmp/out1"'
50884 ac_nxt='"$tmp/out2"'
50885
50886 while :
50887 do
50888 # Write a here document:
50889 cat >>$CONFIG_STATUS <<_ACEOF
50890 # First, check the format of the line:
50891 cat >"\$tmp/defines.sed" <<\\CEOF
50892 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50893 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50894 b
50895 :def
50896 _ACEOF
50897 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50898 echo 'CEOF
50899 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50900 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50901 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50902 grep . conftest.tail >/dev/null || break
50903 rm -f conftest.defines
50904 mv conftest.tail conftest.defines
50905 done
50906 rm -f conftest.defines conftest.tail
50907
50908 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50909 cat >>$CONFIG_STATUS <<\_ACEOF
50910 if test x"$ac_file" != x-; then
50911 echo "/* $configure_input */" >"$tmp/config.h"
50912 cat "$ac_result" >>"$tmp/config.h"
50913 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50914 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50915 echo "$as_me: $ac_file is unchanged" >&6;}
50916 else
50917 rm -f $ac_file
50918 mv "$tmp/config.h" $ac_file
50919 fi
50920 else
50921 echo "/* $configure_input */"
50922 cat "$ac_result"
50923 fi
50924 rm -f "$tmp/out12"
50925 ;;
50926
50927 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50928 echo "$as_me: executing $ac_file commands" >&6;}
50929 ;;
50930 esac
50931
50932
50933 case $ac_file$ac_mode in
50934 "rcdefs.h":C)
50935 mkdir -p $outdir &&
50936 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50937 ;;
50938 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50939 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50940 "wx-config":C) rm -f wx-config
50941 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50942 ;;
50943
50944 esac
50945 done # for ac_tag
50946
50947
50948 { (exit 0); exit 0; }
50949 _ACEOF
50950 chmod +x $CONFIG_STATUS
50951 ac_clean_files=$ac_clean_files_save
50952
50953
50954 # configure is writing to config.log, and then calls config.status.
50955 # config.status does its own redirection, appending to config.log.
50956 # Unfortunately, on DOS this fails, as config.log is still kept open
50957 # by configure, so config.status won't be able to write to it; its
50958 # output is simply discarded. So we exec the FD to /dev/null,
50959 # effectively closing config.log, so it can be properly (re)opened and
50960 # appended to by config.status. When coming back to configure, we
50961 # need to make the FD available again.
50962 if test "$no_create" != yes; then
50963 ac_cs_success=:
50964 ac_config_status_args=
50965 test "$silent" = yes &&
50966 ac_config_status_args="$ac_config_status_args --quiet"
50967 exec 5>/dev/null
50968 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50969 exec 5>>config.log
50970 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50971 # would make configure fail if this is the last instruction.
50972 $ac_cs_success || { (exit 1); exit 1; }
50973 fi
50974
50975 #
50976 # CONFIG_SUBDIRS section.
50977 #
50978 if test "$no_recursion" != yes; then
50979
50980 # Remove --cache-file and --srcdir arguments so they do not pile up.
50981 ac_sub_configure_args=
50982 ac_prev=
50983 eval "set x $ac_configure_args"
50984 shift
50985 for ac_arg
50986 do
50987 if test -n "$ac_prev"; then
50988 ac_prev=
50989 continue
50990 fi
50991 case $ac_arg in
50992 -cache-file | --cache-file | --cache-fil | --cache-fi \
50993 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50994 ac_prev=cache_file ;;
50995 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50996 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50997 | --c=*)
50998 ;;
50999 --config-cache | -C)
51000 ;;
51001 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51002 ac_prev=srcdir ;;
51003 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51004 ;;
51005 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51006 ac_prev=prefix ;;
51007 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51008 ;;
51009 *)
51010 case $ac_arg in
51011 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51012 esac
51013 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51014 esac
51015 done
51016
51017 # Always prepend --prefix to ensure using the same prefix
51018 # in subdir configurations.
51019 ac_arg="--prefix=$prefix"
51020 case $ac_arg in
51021 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51022 esac
51023 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51024
51025 # Pass --silent
51026 if test "$silent" = yes; then
51027 ac_sub_configure_args="--silent $ac_sub_configure_args"
51028 fi
51029
51030 ac_popdir=`pwd`
51031 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51032
51033 # Do not complain, so a configure script can configure whichever
51034 # parts of a large source tree are present.
51035 test -d "$srcdir/$ac_dir" || continue
51036
51037 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51038 echo "$as_me:$LINENO: $ac_msg" >&5
51039 echo "$ac_msg" >&6
51040 { as_dir="$ac_dir"
51041 case $as_dir in #(
51042 -*) as_dir=./$as_dir;;
51043 esac
51044 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51045 as_dirs=
51046 while :; do
51047 case $as_dir in #(
51048 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51049 *) as_qdir=$as_dir;;
51050 esac
51051 as_dirs="'$as_qdir' $as_dirs"
51052 as_dir=`$as_dirname -- "$as_dir" ||
51053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51054 X"$as_dir" : 'X\(//\)[^/]' \| \
51055 X"$as_dir" : 'X\(//\)$' \| \
51056 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51057 echo X"$as_dir" |
51058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51059 s//\1/
51060 q
51061 }
51062 /^X\(\/\/\)[^/].*/{
51063 s//\1/
51064 q
51065 }
51066 /^X\(\/\/\)$/{
51067 s//\1/
51068 q
51069 }
51070 /^X\(\/\).*/{
51071 s//\1/
51072 q
51073 }
51074 s/.*/./; q'`
51075 test -d "$as_dir" && break
51076 done
51077 test -z "$as_dirs" || eval "mkdir $as_dirs"
51078 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51079 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51080 { (exit 1); exit 1; }; }; }
51081 ac_builddir=.
51082
51083 case "$ac_dir" in
51084 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51085 *)
51086 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51087 # A ".." for each directory in $ac_dir_suffix.
51088 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51089 case $ac_top_builddir_sub in
51090 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51091 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51092 esac ;;
51093 esac
51094 ac_abs_top_builddir=$ac_pwd
51095 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51096 # for backward compatibility:
51097 ac_top_builddir=$ac_top_build_prefix
51098
51099 case $srcdir in
51100 .) # We are building in place.
51101 ac_srcdir=.
51102 ac_top_srcdir=$ac_top_builddir_sub
51103 ac_abs_top_srcdir=$ac_pwd ;;
51104 [\\/]* | ?:[\\/]* ) # Absolute name.
51105 ac_srcdir=$srcdir$ac_dir_suffix;
51106 ac_top_srcdir=$srcdir
51107 ac_abs_top_srcdir=$srcdir ;;
51108 *) # Relative name.
51109 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51110 ac_top_srcdir=$ac_top_build_prefix$srcdir
51111 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51112 esac
51113 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51114
51115
51116 cd "$ac_dir"
51117
51118 # Check for guested configure; otherwise get Cygnus style configure.
51119 if test -f "$ac_srcdir/configure.gnu"; then
51120 ac_sub_configure=$ac_srcdir/configure.gnu
51121 elif test -f "$ac_srcdir/configure"; then
51122 ac_sub_configure=$ac_srcdir/configure
51123 elif test -f "$ac_srcdir/configure.in"; then
51124 # This should be Cygnus configure.
51125 ac_sub_configure=$ac_aux_dir/configure
51126 else
51127 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51128 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51129 ac_sub_configure=
51130 fi
51131
51132 # The recursion is here.
51133 if test -n "$ac_sub_configure"; then
51134 # Make the cache file name correct relative to the subdirectory.
51135 case $cache_file in
51136 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51137 *) # Relative name.
51138 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51139 esac
51140
51141 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51142 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51143 # The eval makes quoting arguments work.
51144 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51145 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51146 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51147 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51148 { (exit 1); exit 1; }; }
51149 fi
51150
51151 cd "$ac_popdir"
51152 done
51153 fi
51154
51155
51156 echo
51157 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51158 echo ""
51159 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51160 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51161
51162 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51163 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51164 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51165
51166 echo " What level of wxWidgets compatibility should be enabled?"
51167 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51168 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51169
51170 echo " Which libraries should wxWidgets use?"
51171 echo " jpeg ${wxUSE_LIBJPEG-none}"
51172 echo " png ${wxUSE_LIBPNG-none}"
51173 echo " regex ${wxUSE_REGEX}"
51174 echo " tiff ${wxUSE_LIBTIFF-none}"
51175 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51176 echo " xpm ${wxUSE_LIBXPM-none}"
51177 fi
51178 echo " zlib ${wxUSE_ZLIB}"
51179 echo " odbc ${wxUSE_ODBC}"
51180 echo " expat ${wxUSE_EXPAT}"
51181 echo " libmspack ${wxUSE_LIBMSPACK}"
51182 echo " sdl ${wxUSE_LIBSDL}"
51183
51184 echo ""
51185